* inclhack.def (darwin_stdint_5, darwin_stdint_6,
[official-gcc.git] / libstdc++-v3 / configure
blob0f19ba59f5c0f1bb8999efaa3b8215ca1db0a74c
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.
40681 # Check whether --enable-tls or --disable-tls was given.
40682 if test "${enable_tls+set}" = set; then
40683 enableval="$enable_tls"
40685 case "$enableval" in
40686 yes|no) ;;
40687 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40688 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40689 { (exit 1); exit 1; }; } ;;
40690 esac
40692 else
40693 enable_tls=yes
40696 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
40697 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
40698 if test "${gcc_cv_have_tls+set}" = set; then
40699 echo $ECHO_N "(cached) $ECHO_C" >&6
40700 else
40702 if test "$cross_compiling" = yes; then
40703 if test x$gcc_no_link = xyes; then
40704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40706 { (exit 1); exit 1; }; }
40708 cat >conftest.$ac_ext <<_ACEOF
40709 __thread int a; int b; int main() { return a = b; }
40710 _ACEOF
40711 rm -f conftest.$ac_objext conftest$ac_exeext
40712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40713 (eval $ac_link) 2>conftest.er1
40714 ac_status=$?
40715 grep -v '^ *+' conftest.er1 >conftest.err
40716 rm -f conftest.er1
40717 cat conftest.err >&5
40718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40719 (exit $ac_status); } &&
40720 { ac_try='test -z "$ac_c_werror_flag"
40721 || test ! -s conftest.err'
40722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40723 (eval $ac_try) 2>&5
40724 ac_status=$?
40725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40726 (exit $ac_status); }; } &&
40727 { ac_try='test -s conftest$ac_exeext'
40728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40729 (eval $ac_try) 2>&5
40730 ac_status=$?
40731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40732 (exit $ac_status); }; }; then
40733 gcc_cv_have_tls=yes
40734 else
40735 echo "$as_me: failed program was:" >&5
40736 sed 's/^/| /' conftest.$ac_ext >&5
40738 gcc_cv_have_tls=no
40740 rm -f conftest.err conftest.$ac_objext \
40741 conftest$ac_exeext conftest.$ac_ext
40744 else
40745 cat >conftest.$ac_ext <<_ACEOF
40746 __thread int a; int b; int main() { return a = b; }
40747 _ACEOF
40748 rm -f conftest$ac_exeext
40749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40750 (eval $ac_link) 2>&5
40751 ac_status=$?
40752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40753 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40755 (eval $ac_try) 2>&5
40756 ac_status=$?
40757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40758 (exit $ac_status); }; }; then
40759 chktls_save_LDFLAGS="$LDFLAGS"
40760 LDFLAGS="-static $LDFLAGS"
40761 if test x$gcc_no_link = xyes; then
40762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40764 { (exit 1); exit 1; }; }
40766 cat >conftest.$ac_ext <<_ACEOF
40767 int main() { return 0; }
40768 _ACEOF
40769 rm -f conftest.$ac_objext conftest$ac_exeext
40770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40771 (eval $ac_link) 2>conftest.er1
40772 ac_status=$?
40773 grep -v '^ *+' conftest.er1 >conftest.err
40774 rm -f conftest.er1
40775 cat conftest.err >&5
40776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40777 (exit $ac_status); } &&
40778 { ac_try='test -z "$ac_c_werror_flag"
40779 || test ! -s conftest.err'
40780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40781 (eval $ac_try) 2>&5
40782 ac_status=$?
40783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40784 (exit $ac_status); }; } &&
40785 { ac_try='test -s conftest$ac_exeext'
40786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40787 (eval $ac_try) 2>&5
40788 ac_status=$?
40789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40790 (exit $ac_status); }; }; then
40791 if test "$cross_compiling" = yes; then
40792 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
40793 echo "$as_me: error: in \`$ac_pwd':" >&2;}
40794 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40795 See \`config.log' for more details." >&5
40796 echo "$as_me: error: cannot run test program while cross compiling
40797 See \`config.log' for more details." >&2;}
40798 { (exit 1); exit 1; }; }; }
40799 else
40800 cat >conftest.$ac_ext <<_ACEOF
40801 __thread int a; int b; int main() { return a = b; }
40802 _ACEOF
40803 rm -f conftest$ac_exeext
40804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40805 (eval $ac_link) 2>&5
40806 ac_status=$?
40807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40808 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40810 (eval $ac_try) 2>&5
40811 ac_status=$?
40812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40813 (exit $ac_status); }; }; then
40814 gcc_cv_have_tls=yes
40815 else
40816 echo "$as_me: program exited with status $ac_status" >&5
40817 echo "$as_me: failed program was:" >&5
40818 sed 's/^/| /' conftest.$ac_ext >&5
40820 ( exit $ac_status )
40821 gcc_cv_have_tls=no
40823 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40825 else
40826 echo "$as_me: failed program was:" >&5
40827 sed 's/^/| /' conftest.$ac_ext >&5
40829 gcc_cv_have_tls=yes
40831 rm -f conftest.err conftest.$ac_objext \
40832 conftest$ac_exeext conftest.$ac_ext
40833 LDFLAGS="$chktls_save_LDFLAGS"
40834 if test $gcc_cv_have_tls = yes; then
40835 chktls_save_CFLAGS="$CFLAGS"
40836 thread_CFLAGS=failed
40837 for flag in '' '-pthread' '-lpthread'; do
40838 CFLAGS="$flag $chktls_save_CFLAGS"
40839 if test x$gcc_no_link = xyes; then
40840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40842 { (exit 1); exit 1; }; }
40844 cat >conftest.$ac_ext <<_ACEOF
40845 /* confdefs.h. */
40846 _ACEOF
40847 cat confdefs.h >>conftest.$ac_ext
40848 cat >>conftest.$ac_ext <<_ACEOF
40849 /* end confdefs.h. */
40850 #include <pthread.h>
40851 void *g(void *d) { return NULL; }
40853 main ()
40855 pthread_t t; pthread_create(&t,NULL,g,NULL);
40857 return 0;
40859 _ACEOF
40860 rm -f conftest.$ac_objext conftest$ac_exeext
40861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40862 (eval $ac_link) 2>conftest.er1
40863 ac_status=$?
40864 grep -v '^ *+' conftest.er1 >conftest.err
40865 rm -f conftest.er1
40866 cat conftest.err >&5
40867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40868 (exit $ac_status); } &&
40869 { ac_try='test -z "$ac_c_werror_flag"
40870 || test ! -s conftest.err'
40871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40872 (eval $ac_try) 2>&5
40873 ac_status=$?
40874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40875 (exit $ac_status); }; } &&
40876 { ac_try='test -s conftest$ac_exeext'
40877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40878 (eval $ac_try) 2>&5
40879 ac_status=$?
40880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40881 (exit $ac_status); }; }; then
40882 thread_CFLAGS="$flag"
40883 else
40884 echo "$as_me: failed program was:" >&5
40885 sed 's/^/| /' conftest.$ac_ext >&5
40888 rm -f conftest.err conftest.$ac_objext \
40889 conftest$ac_exeext conftest.$ac_ext
40890 if test "X$thread_CFLAGS" != Xfailed; then
40891 break
40893 done
40894 CFLAGS="$chktls_save_CFLAGS"
40895 if test "X$thread_CFLAGS" != Xfailed; then
40896 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
40897 if test "$cross_compiling" = yes; then
40898 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
40899 echo "$as_me: error: in \`$ac_pwd':" >&2;}
40900 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40901 See \`config.log' for more details." >&5
40902 echo "$as_me: error: cannot run test program while cross compiling
40903 See \`config.log' for more details." >&2;}
40904 { (exit 1); exit 1; }; }; }
40905 else
40906 cat >conftest.$ac_ext <<_ACEOF
40907 /* confdefs.h. */
40908 _ACEOF
40909 cat confdefs.h >>conftest.$ac_ext
40910 cat >>conftest.$ac_ext <<_ACEOF
40911 /* end confdefs.h. */
40912 #include <pthread.h>
40913 __thread int a;
40914 static int *a_in_other_thread;
40915 static void *
40916 thread_func (void *arg)
40918 a_in_other_thread = &a;
40919 return (void *)0;
40922 main ()
40924 pthread_t thread;
40925 void *thread_retval;
40926 int *a_in_main_thread;
40927 if (pthread_create (&thread, (pthread_attr_t *)0,
40928 thread_func, (void *)0))
40929 return 0;
40930 a_in_main_thread = &a;
40931 if (pthread_join (thread, &thread_retval))
40932 return 0;
40933 return (a_in_other_thread == a_in_main_thread);
40935 return 0;
40937 _ACEOF
40938 rm -f conftest$ac_exeext
40939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40940 (eval $ac_link) 2>&5
40941 ac_status=$?
40942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40943 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40945 (eval $ac_try) 2>&5
40946 ac_status=$?
40947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40948 (exit $ac_status); }; }; then
40949 gcc_cv_have_tls=yes
40950 else
40951 echo "$as_me: program exited with status $ac_status" >&5
40952 echo "$as_me: failed program was:" >&5
40953 sed 's/^/| /' conftest.$ac_ext >&5
40955 ( exit $ac_status )
40956 gcc_cv_have_tls=no
40958 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40960 CFLAGS="$chktls_save_CFLAGS"
40963 else
40964 echo "$as_me: program exited with status $ac_status" >&5
40965 echo "$as_me: failed program was:" >&5
40966 sed 's/^/| /' conftest.$ac_ext >&5
40968 ( exit $ac_status )
40969 gcc_cv_have_tls=no
40971 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40974 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
40975 echo "${ECHO_T}$gcc_cv_have_tls" >&6
40976 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
40978 cat >>confdefs.h <<\_ACEOF
40979 #define HAVE_TLS 1
40980 _ACEOF
40984 # For iconv support.
40986 if test "X$prefix" = "XNONE"; then
40987 acl_final_prefix="$ac_default_prefix"
40988 else
40989 acl_final_prefix="$prefix"
40991 if test "X$exec_prefix" = "XNONE"; then
40992 acl_final_exec_prefix='${prefix}'
40993 else
40994 acl_final_exec_prefix="$exec_prefix"
40996 acl_save_prefix="$prefix"
40997 prefix="$acl_final_prefix"
40998 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
40999 prefix="$acl_save_prefix"
41002 # Check whether --with-gnu-ld or --without-gnu-ld was given.
41003 if test "${with_gnu_ld+set}" = set; then
41004 withval="$with_gnu_ld"
41005 test "$withval" = no || with_gnu_ld=yes
41006 else
41007 with_gnu_ld=no
41009 # Prepare PATH_SEPARATOR.
41010 # The user is always right.
41011 if test "${PATH_SEPARATOR+set}" != set; then
41012 echo "#! /bin/sh" >conf$$.sh
41013 echo "exit 0" >>conf$$.sh
41014 chmod +x conf$$.sh
41015 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41016 PATH_SEPARATOR=';'
41017 else
41018 PATH_SEPARATOR=:
41020 rm -f conf$$.sh
41022 ac_prog=ld
41023 if test "$GCC" = yes; then
41024 # Check if gcc -print-prog-name=ld gives a path.
41025 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
41026 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
41027 case $host in
41028 *-*-mingw*)
41029 # gcc leaves a trailing carriage return which upsets mingw
41030 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
41032 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
41033 esac
41034 case $ac_prog in
41035 # Accept absolute paths.
41036 [\\/]* | [A-Za-z]:[\\/]*)
41037 re_direlt='/[^/][^/]*/\.\./'
41038 # Canonicalize the path of ld
41039 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
41040 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
41041 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
41042 done
41043 test -z "$LD" && LD="$ac_prog"
41046 # If it fails, then pretend we aren't using GCC.
41047 ac_prog=ld
41050 # If it is relative, then search for the first ld in PATH.
41051 with_gnu_ld=unknown
41053 esac
41054 elif test "$with_gnu_ld" = yes; then
41055 echo "$as_me:$LINENO: checking for GNU ld" >&5
41056 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
41057 else
41058 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
41059 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
41061 if test "${acl_cv_path_LD+set}" = set; then
41062 echo $ECHO_N "(cached) $ECHO_C" >&6
41063 else
41064 if test -z "$LD"; then
41065 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
41066 for ac_dir in $PATH; do
41067 test -z "$ac_dir" && ac_dir=.
41068 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
41069 acl_cv_path_LD="$ac_dir/$ac_prog"
41070 # Check to see if the program is GNU ld. I'd rather use --version,
41071 # but apparently some GNU ld's only accept -v.
41072 # Break only if it was the GNU/non-GNU ld that we prefer.
41073 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
41074 test "$with_gnu_ld" != no && break
41075 else
41076 test "$with_gnu_ld" != yes && break
41079 done
41080 IFS="$ac_save_ifs"
41081 else
41082 acl_cv_path_LD="$LD" # Let the user override the test with a path.
41086 LD="$acl_cv_path_LD"
41087 if test -n "$LD"; then
41088 echo "$as_me:$LINENO: result: $LD" >&5
41089 echo "${ECHO_T}$LD" >&6
41090 else
41091 echo "$as_me:$LINENO: result: no" >&5
41092 echo "${ECHO_T}no" >&6
41094 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
41095 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
41096 { (exit 1); exit 1; }; }
41097 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
41098 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
41099 if test "${acl_cv_prog_gnu_ld+set}" = set; then
41100 echo $ECHO_N "(cached) $ECHO_C" >&6
41101 else
41102 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
41103 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
41104 acl_cv_prog_gnu_ld=yes
41105 else
41106 acl_cv_prog_gnu_ld=no
41109 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
41110 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
41111 with_gnu_ld=$acl_cv_prog_gnu_ld
41115 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
41116 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
41117 if test "${acl_cv_rpath+set}" = set; then
41118 echo $ECHO_N "(cached) $ECHO_C" >&6
41119 else
41121 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
41122 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
41123 . ./conftest.sh
41124 rm -f ./conftest.sh
41125 acl_cv_rpath=done
41128 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
41129 echo "${ECHO_T}$acl_cv_rpath" >&6
41130 wl="$acl_cv_wl"
41131 libext="$acl_cv_libext"
41132 shlibext="$acl_cv_shlibext"
41133 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
41134 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
41135 hardcode_direct="$acl_cv_hardcode_direct"
41136 hardcode_minus_L="$acl_cv_hardcode_minus_L"
41137 # Check whether --enable-rpath or --disable-rpath was given.
41138 if test "${enable_rpath+set}" = set; then
41139 enableval="$enable_rpath"
41141 else
41142 enable_rpath=yes
41151 use_additional=yes
41153 acl_save_prefix="$prefix"
41154 prefix="$acl_final_prefix"
41155 acl_save_exec_prefix="$exec_prefix"
41156 exec_prefix="$acl_final_exec_prefix"
41158 eval additional_includedir=\"$includedir\"
41159 eval additional_libdir=\"$libdir\"
41161 exec_prefix="$acl_save_exec_prefix"
41162 prefix="$acl_save_prefix"
41165 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
41166 if test "${with_libiconv_prefix+set}" = set; then
41167 withval="$with_libiconv_prefix"
41169 if test "X$withval" = "Xno"; then
41170 use_additional=no
41171 else
41172 if test "X$withval" = "X"; then
41174 acl_save_prefix="$prefix"
41175 prefix="$acl_final_prefix"
41176 acl_save_exec_prefix="$exec_prefix"
41177 exec_prefix="$acl_final_exec_prefix"
41179 eval additional_includedir=\"$includedir\"
41180 eval additional_libdir=\"$libdir\"
41182 exec_prefix="$acl_save_exec_prefix"
41183 prefix="$acl_save_prefix"
41185 else
41186 additional_includedir="$withval/include"
41187 additional_libdir="$withval/lib"
41192 LIBICONV=
41193 LTLIBICONV=
41194 INCICONV=
41195 rpathdirs=
41196 ltrpathdirs=
41197 names_already_handled=
41198 names_next_round='iconv '
41199 while test -n "$names_next_round"; do
41200 names_this_round="$names_next_round"
41201 names_next_round=
41202 for name in $names_this_round; do
41203 already_handled=
41204 for n in $names_already_handled; do
41205 if test "$n" = "$name"; then
41206 already_handled=yes
41207 break
41209 done
41210 if test -z "$already_handled"; then
41211 names_already_handled="$names_already_handled $name"
41212 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
41213 eval value=\"\$HAVE_LIB$uppername\"
41214 if test -n "$value"; then
41215 if test "$value" = yes; then
41216 eval value=\"\$LIB$uppername\"
41217 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
41218 eval value=\"\$LTLIB$uppername\"
41219 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
41220 else
41223 else
41224 found_dir=
41225 found_la=
41226 found_so=
41227 found_a=
41228 if test $use_additional = yes; then
41229 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
41230 found_dir="$additional_libdir"
41231 found_so="$additional_libdir/lib$name.$shlibext"
41232 if test -f "$additional_libdir/lib$name.la"; then
41233 found_la="$additional_libdir/lib$name.la"
41235 else
41236 if test -f "$additional_libdir/lib$name.$libext"; then
41237 found_dir="$additional_libdir"
41238 found_a="$additional_libdir/lib$name.$libext"
41239 if test -f "$additional_libdir/lib$name.la"; then
41240 found_la="$additional_libdir/lib$name.la"
41245 if test "X$found_dir" = "X"; then
41246 for x in $LDFLAGS $LTLIBICONV; do
41248 acl_save_prefix="$prefix"
41249 prefix="$acl_final_prefix"
41250 acl_save_exec_prefix="$exec_prefix"
41251 exec_prefix="$acl_final_exec_prefix"
41252 eval x=\"$x\"
41253 exec_prefix="$acl_save_exec_prefix"
41254 prefix="$acl_save_prefix"
41256 case "$x" in
41257 -L*)
41258 dir=`echo "X$x" | sed -e 's/^X-L//'`
41259 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
41260 found_dir="$dir"
41261 found_so="$dir/lib$name.$shlibext"
41262 if test -f "$dir/lib$name.la"; then
41263 found_la="$dir/lib$name.la"
41265 else
41266 if test -f "$dir/lib$name.$libext"; then
41267 found_dir="$dir"
41268 found_a="$dir/lib$name.$libext"
41269 if test -f "$dir/lib$name.la"; then
41270 found_la="$dir/lib$name.la"
41275 esac
41276 if test "X$found_dir" != "X"; then
41277 break
41279 done
41281 if test "X$found_dir" != "X"; then
41282 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
41283 if test "X$found_so" != "X"; then
41284 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
41285 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41286 else
41287 haveit=
41288 for x in $ltrpathdirs; do
41289 if test "X$x" = "X$found_dir"; then
41290 haveit=yes
41291 break
41293 done
41294 if test -z "$haveit"; then
41295 ltrpathdirs="$ltrpathdirs $found_dir"
41297 if test "$hardcode_direct" = yes; then
41298 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41299 else
41300 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
41301 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41302 haveit=
41303 for x in $rpathdirs; do
41304 if test "X$x" = "X$found_dir"; then
41305 haveit=yes
41306 break
41308 done
41309 if test -z "$haveit"; then
41310 rpathdirs="$rpathdirs $found_dir"
41312 else
41313 haveit=
41314 for x in $LDFLAGS $LIBICONV; do
41316 acl_save_prefix="$prefix"
41317 prefix="$acl_final_prefix"
41318 acl_save_exec_prefix="$exec_prefix"
41319 exec_prefix="$acl_final_exec_prefix"
41320 eval x=\"$x\"
41321 exec_prefix="$acl_save_exec_prefix"
41322 prefix="$acl_save_prefix"
41324 if test "X$x" = "X-L$found_dir"; then
41325 haveit=yes
41326 break
41328 done
41329 if test -z "$haveit"; then
41330 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
41332 if test "$hardcode_minus_L" != no; then
41333 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41334 else
41335 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41340 else
41341 if test "X$found_a" != "X"; then
41342 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
41343 else
41344 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
41347 additional_includedir=
41348 case "$found_dir" in
41349 */lib | */lib/)
41350 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
41351 additional_includedir="$basedir/include"
41353 esac
41354 if test "X$additional_includedir" != "X"; then
41355 if test "X$additional_includedir" != "X/usr/include"; then
41356 haveit=
41357 if test "X$additional_includedir" = "X/usr/local/include"; then
41358 if test -n "$GCC"; then
41359 case $host_os in
41360 linux*) haveit=yes;;
41361 esac
41364 if test -z "$haveit"; then
41365 for x in $CPPFLAGS $INCICONV; do
41367 acl_save_prefix="$prefix"
41368 prefix="$acl_final_prefix"
41369 acl_save_exec_prefix="$exec_prefix"
41370 exec_prefix="$acl_final_exec_prefix"
41371 eval x=\"$x\"
41372 exec_prefix="$acl_save_exec_prefix"
41373 prefix="$acl_save_prefix"
41375 if test "X$x" = "X-I$additional_includedir"; then
41376 haveit=yes
41377 break
41379 done
41380 if test -z "$haveit"; then
41381 if test -d "$additional_includedir"; then
41382 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
41388 if test -n "$found_la"; then
41389 save_libdir="$libdir"
41390 case "$found_la" in
41391 */* | *\\*) . "$found_la" ;;
41392 *) . "./$found_la" ;;
41393 esac
41394 libdir="$save_libdir"
41395 for dep in $dependency_libs; do
41396 case "$dep" in
41397 -L*)
41398 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
41399 if test "X$additional_libdir" != "X/usr/lib"; then
41400 haveit=
41401 if test "X$additional_libdir" = "X/usr/local/lib"; then
41402 if test -n "$GCC"; then
41403 case $host_os in
41404 linux*) haveit=yes;;
41405 esac
41408 if test -z "$haveit"; then
41409 haveit=
41410 for x in $LDFLAGS $LIBICONV; do
41412 acl_save_prefix="$prefix"
41413 prefix="$acl_final_prefix"
41414 acl_save_exec_prefix="$exec_prefix"
41415 exec_prefix="$acl_final_exec_prefix"
41416 eval x=\"$x\"
41417 exec_prefix="$acl_save_exec_prefix"
41418 prefix="$acl_save_prefix"
41420 if test "X$x" = "X-L$additional_libdir"; then
41421 haveit=yes
41422 break
41424 done
41425 if test -z "$haveit"; then
41426 if test -d "$additional_libdir"; then
41427 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
41430 haveit=
41431 for x in $LDFLAGS $LTLIBICONV; do
41433 acl_save_prefix="$prefix"
41434 prefix="$acl_final_prefix"
41435 acl_save_exec_prefix="$exec_prefix"
41436 exec_prefix="$acl_final_exec_prefix"
41437 eval x=\"$x\"
41438 exec_prefix="$acl_save_exec_prefix"
41439 prefix="$acl_save_prefix"
41441 if test "X$x" = "X-L$additional_libdir"; then
41442 haveit=yes
41443 break
41445 done
41446 if test -z "$haveit"; then
41447 if test -d "$additional_libdir"; then
41448 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
41454 -R*)
41455 dir=`echo "X$dep" | sed -e 's/^X-R//'`
41456 if test "$enable_rpath" != no; then
41457 haveit=
41458 for x in $rpathdirs; do
41459 if test "X$x" = "X$dir"; then
41460 haveit=yes
41461 break
41463 done
41464 if test -z "$haveit"; then
41465 rpathdirs="$rpathdirs $dir"
41467 haveit=
41468 for x in $ltrpathdirs; do
41469 if test "X$x" = "X$dir"; then
41470 haveit=yes
41471 break
41473 done
41474 if test -z "$haveit"; then
41475 ltrpathdirs="$ltrpathdirs $dir"
41479 -l*)
41480 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
41482 *.la)
41483 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
41486 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
41487 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
41489 esac
41490 done
41492 else
41493 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41494 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
41498 done
41499 done
41500 if test "X$rpathdirs" != "X"; then
41501 if test -n "$hardcode_libdir_separator"; then
41502 alldirs=
41503 for found_dir in $rpathdirs; do
41504 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
41505 done
41506 acl_save_libdir="$libdir"
41507 libdir="$alldirs"
41508 eval flag=\"$hardcode_libdir_flag_spec\"
41509 libdir="$acl_save_libdir"
41510 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41511 else
41512 for found_dir in $rpathdirs; do
41513 acl_save_libdir="$libdir"
41514 libdir="$found_dir"
41515 eval flag=\"$hardcode_libdir_flag_spec\"
41516 libdir="$acl_save_libdir"
41517 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41518 done
41521 if test "X$ltrpathdirs" != "X"; then
41522 for found_dir in $ltrpathdirs; do
41523 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
41524 done
41533 am_save_CPPFLAGS="$CPPFLAGS"
41535 for element in $INCICONV; do
41536 haveit=
41537 for x in $CPPFLAGS; do
41539 acl_save_prefix="$prefix"
41540 prefix="$acl_final_prefix"
41541 acl_save_exec_prefix="$exec_prefix"
41542 exec_prefix="$acl_final_exec_prefix"
41543 eval x=\"$x\"
41544 exec_prefix="$acl_save_exec_prefix"
41545 prefix="$acl_save_prefix"
41547 if test "X$x" = "X$element"; then
41548 haveit=yes
41549 break
41551 done
41552 if test -z "$haveit"; then
41553 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41555 done
41558 echo "$as_me:$LINENO: checking for iconv" >&5
41559 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
41560 if test "${am_cv_func_iconv+set}" = set; then
41561 echo $ECHO_N "(cached) $ECHO_C" >&6
41562 else
41564 am_cv_func_iconv="no, consider installing GNU libiconv"
41565 am_cv_lib_iconv=no
41566 if test x$gcc_no_link = xyes; then
41567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41569 { (exit 1); exit 1; }; }
41571 cat >conftest.$ac_ext <<_ACEOF
41572 /* confdefs.h. */
41573 _ACEOF
41574 cat confdefs.h >>conftest.$ac_ext
41575 cat >>conftest.$ac_ext <<_ACEOF
41576 /* end confdefs.h. */
41577 #include <stdlib.h>
41578 #include <iconv.h>
41580 main ()
41582 iconv_t cd = iconv_open("","");
41583 iconv(cd,NULL,NULL,NULL,NULL);
41584 iconv_close(cd);
41586 return 0;
41588 _ACEOF
41589 rm -f conftest.$ac_objext conftest$ac_exeext
41590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41591 (eval $ac_link) 2>conftest.er1
41592 ac_status=$?
41593 grep -v '^ *+' conftest.er1 >conftest.err
41594 rm -f conftest.er1
41595 cat conftest.err >&5
41596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41597 (exit $ac_status); } &&
41598 { ac_try='test -z "$ac_c_werror_flag"
41599 || test ! -s conftest.err'
41600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41601 (eval $ac_try) 2>&5
41602 ac_status=$?
41603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41604 (exit $ac_status); }; } &&
41605 { ac_try='test -s conftest$ac_exeext'
41606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41607 (eval $ac_try) 2>&5
41608 ac_status=$?
41609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41610 (exit $ac_status); }; }; then
41611 am_cv_func_iconv=yes
41612 else
41613 echo "$as_me: failed program was:" >&5
41614 sed 's/^/| /' conftest.$ac_ext >&5
41617 rm -f conftest.err conftest.$ac_objext \
41618 conftest$ac_exeext conftest.$ac_ext
41619 if test "$am_cv_func_iconv" != yes; then
41620 am_save_LIBS="$LIBS"
41621 LIBS="$LIBS $LIBICONV"
41622 if test x$gcc_no_link = xyes; then
41623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41625 { (exit 1); exit 1; }; }
41627 cat >conftest.$ac_ext <<_ACEOF
41628 /* confdefs.h. */
41629 _ACEOF
41630 cat confdefs.h >>conftest.$ac_ext
41631 cat >>conftest.$ac_ext <<_ACEOF
41632 /* end confdefs.h. */
41633 #include <stdlib.h>
41634 #include <iconv.h>
41636 main ()
41638 iconv_t cd = iconv_open("","");
41639 iconv(cd,NULL,NULL,NULL,NULL);
41640 iconv_close(cd);
41642 return 0;
41644 _ACEOF
41645 rm -f conftest.$ac_objext conftest$ac_exeext
41646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41647 (eval $ac_link) 2>conftest.er1
41648 ac_status=$?
41649 grep -v '^ *+' conftest.er1 >conftest.err
41650 rm -f conftest.er1
41651 cat conftest.err >&5
41652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41653 (exit $ac_status); } &&
41654 { ac_try='test -z "$ac_c_werror_flag"
41655 || test ! -s conftest.err'
41656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41657 (eval $ac_try) 2>&5
41658 ac_status=$?
41659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41660 (exit $ac_status); }; } &&
41661 { ac_try='test -s conftest$ac_exeext'
41662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41663 (eval $ac_try) 2>&5
41664 ac_status=$?
41665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41666 (exit $ac_status); }; }; then
41667 am_cv_lib_iconv=yes
41668 am_cv_func_iconv=yes
41669 else
41670 echo "$as_me: failed program was:" >&5
41671 sed 's/^/| /' conftest.$ac_ext >&5
41674 rm -f conftest.err conftest.$ac_objext \
41675 conftest$ac_exeext conftest.$ac_ext
41676 LIBS="$am_save_LIBS"
41680 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
41681 echo "${ECHO_T}$am_cv_func_iconv" >&6
41682 if test "$am_cv_func_iconv" = yes; then
41684 cat >>confdefs.h <<\_ACEOF
41685 #define HAVE_ICONV 1
41686 _ACEOF
41689 if test "$am_cv_lib_iconv" = yes; then
41690 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
41691 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
41692 echo "$as_me:$LINENO: result: $LIBICONV" >&5
41693 echo "${ECHO_T}$LIBICONV" >&6
41694 else
41695 CPPFLAGS="$am_save_CPPFLAGS"
41696 LIBICONV=
41697 LTLIBICONV=
41702 if test "$am_cv_func_iconv" = yes; then
41703 echo "$as_me:$LINENO: checking for iconv declaration" >&5
41704 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
41705 if test "${am_cv_proto_iconv+set}" = set; then
41706 echo $ECHO_N "(cached) $ECHO_C" >&6
41707 else
41709 cat >conftest.$ac_ext <<_ACEOF
41710 /* confdefs.h. */
41711 _ACEOF
41712 cat confdefs.h >>conftest.$ac_ext
41713 cat >>conftest.$ac_ext <<_ACEOF
41714 /* end confdefs.h. */
41716 #include <stdlib.h>
41717 #include <iconv.h>
41718 extern
41719 #ifdef __cplusplus
41721 #endif
41722 #if defined(__STDC__) || defined(__cplusplus)
41723 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41724 #else
41725 size_t iconv();
41726 #endif
41729 main ()
41733 return 0;
41735 _ACEOF
41736 rm -f conftest.$ac_objext
41737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41738 (eval $ac_compile) 2>conftest.er1
41739 ac_status=$?
41740 grep -v '^ *+' conftest.er1 >conftest.err
41741 rm -f conftest.er1
41742 cat conftest.err >&5
41743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41744 (exit $ac_status); } &&
41745 { ac_try='test -z "$ac_c_werror_flag"
41746 || test ! -s conftest.err'
41747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41748 (eval $ac_try) 2>&5
41749 ac_status=$?
41750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41751 (exit $ac_status); }; } &&
41752 { ac_try='test -s conftest.$ac_objext'
41753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41754 (eval $ac_try) 2>&5
41755 ac_status=$?
41756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41757 (exit $ac_status); }; }; then
41758 am_cv_proto_iconv_arg1=""
41759 else
41760 echo "$as_me: failed program was:" >&5
41761 sed 's/^/| /' conftest.$ac_ext >&5
41763 am_cv_proto_iconv_arg1="const"
41765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41766 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);"
41769 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41770 echo "$as_me:$LINENO: result: ${ac_t:-
41771 }$am_cv_proto_iconv" >&5
41772 echo "${ECHO_T}${ac_t:-
41773 }$am_cv_proto_iconv" >&6
41775 cat >>confdefs.h <<_ACEOF
41776 #define ICONV_CONST $am_cv_proto_iconv_arg1
41777 _ACEOF
41782 else
41784 # This lets us hard-code the functionality we know we'll have in the cross
41785 # target environment. "Let" is a sugar-coated word placed on an especially
41786 # dull and tedious hack, actually.
41788 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
41789 # that involve linking, can't be used:
41790 # "cannot open sim-crt0.o"
41791 # "cannot open crt0.o"
41792 # etc. All this is because there currently exists no unified, consistent
41793 # way for top level CC information to be passed down to target directories:
41794 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
41795 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
41796 # crosses can be removed.
41798 # If Canadian cross, then don't pick up tools from the build directory.
41799 # Used only in GLIBCXX_EXPORT_INCLUDES.
41800 if test -n "$with_cross_host" &&
41801 test x"$build_alias" != x"$with_cross_host" &&
41802 test x"$build" != x"$target";
41803 then
41804 CANADIAN=yes
41805 else
41806 CANADIAN=no
41809 # Construct crosses by hand, eliminating bits that need ld...
41810 # GLIBCXX_CHECK_MATH_SUPPORT
41812 # First, test for "known" system libraries. We may be using newlib even
41813 # on a hosted environment.
41814 if test "x${with_newlib}" = "xyes"; then
41815 os_include_dir="os/newlib"
41816 cat >>confdefs.h <<\_ACEOF
41817 #define HAVE_HYPOT 1
41818 _ACEOF
41821 # GLIBCXX_CHECK_STDLIB_SUPPORT
41822 cat >>confdefs.h <<\_ACEOF
41823 #define HAVE_STRTOF 1
41824 _ACEOF
41827 cat >>confdefs.h <<\_ACEOF
41828 #define HAVE_ACOSF 1
41829 _ACEOF
41831 cat >>confdefs.h <<\_ACEOF
41832 #define HAVE_ASINF 1
41833 _ACEOF
41835 cat >>confdefs.h <<\_ACEOF
41836 #define HAVE_ATAN2F 1
41837 _ACEOF
41839 cat >>confdefs.h <<\_ACEOF
41840 #define HAVE_ATANF 1
41841 _ACEOF
41843 cat >>confdefs.h <<\_ACEOF
41844 #define HAVE_CEILF 1
41845 _ACEOF
41847 cat >>confdefs.h <<\_ACEOF
41848 #define HAVE_COSF 1
41849 _ACEOF
41851 cat >>confdefs.h <<\_ACEOF
41852 #define HAVE_COSHF 1
41853 _ACEOF
41855 cat >>confdefs.h <<\_ACEOF
41856 #define HAVE_EXPF 1
41857 _ACEOF
41859 cat >>confdefs.h <<\_ACEOF
41860 #define HAVE_FABSF 1
41861 _ACEOF
41863 cat >>confdefs.h <<\_ACEOF
41864 #define HAVE_FLOORF 1
41865 _ACEOF
41867 cat >>confdefs.h <<\_ACEOF
41868 #define HAVE_FMODF 1
41869 _ACEOF
41871 cat >>confdefs.h <<\_ACEOF
41872 #define HAVE_FREXPF 1
41873 _ACEOF
41875 cat >>confdefs.h <<\_ACEOF
41876 #define HAVE_LDEXPF 1
41877 _ACEOF
41879 cat >>confdefs.h <<\_ACEOF
41880 #define HAVE_LOG10F 1
41881 _ACEOF
41883 cat >>confdefs.h <<\_ACEOF
41884 #define HAVE_LOGF 1
41885 _ACEOF
41887 cat >>confdefs.h <<\_ACEOF
41888 #define HAVE_MODFF 1
41889 _ACEOF
41891 cat >>confdefs.h <<\_ACEOF
41892 #define HAVE_POWF 1
41893 _ACEOF
41895 cat >>confdefs.h <<\_ACEOF
41896 #define HAVE_SINF 1
41897 _ACEOF
41899 cat >>confdefs.h <<\_ACEOF
41900 #define HAVE_SINHF 1
41901 _ACEOF
41903 cat >>confdefs.h <<\_ACEOF
41904 #define HAVE_SQRTF 1
41905 _ACEOF
41907 cat >>confdefs.h <<\_ACEOF
41908 #define HAVE_TANF 1
41909 _ACEOF
41911 cat >>confdefs.h <<\_ACEOF
41912 #define HAVE_TANHF 1
41913 _ACEOF
41916 cat >>confdefs.h <<\_ACEOF
41917 #define HAVE_ICONV 1
41918 _ACEOF
41920 else
41922 # Base decisions on target environment.
41923 case "${host}" in
41924 arm*-*-symbianelf*)
41925 # This is a freestanding configuration; there is nothing to do here.
41928 mips*-sde-elf*)
41929 # These definitions are for the SDE C library rather than newlib.
41930 SECTION_FLAGS='-ffunction-sections -fdata-sections'
41933 # All these tests are for C++; save the language and the compiler flags.
41934 # The CXXFLAGS thing is suspicious, but based on similar bits previously
41935 # found in GLIBCXX_CONFIGURE.
41938 ac_ext=cc
41939 ac_cpp='$CXXCPP $CPPFLAGS'
41940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41944 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41945 ac_save_CXXFLAGS="$CXXFLAGS"
41947 # Check for maintainer-mode bits.
41948 if test x"$USE_MAINTAINER_MODE" = xno; then
41949 WERROR=''
41950 else
41951 WERROR='-Werror'
41954 # Check for -ffunction-sections -fdata-sections
41955 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
41956 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
41957 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
41958 cat >conftest.$ac_ext <<_ACEOF
41959 /* confdefs.h. */
41960 _ACEOF
41961 cat confdefs.h >>conftest.$ac_ext
41962 cat >>conftest.$ac_ext <<_ACEOF
41963 /* end confdefs.h. */
41964 int foo; void bar() { };
41966 main ()
41970 return 0;
41972 _ACEOF
41973 rm -f conftest.$ac_objext
41974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41975 (eval $ac_compile) 2>conftest.er1
41976 ac_status=$?
41977 grep -v '^ *+' conftest.er1 >conftest.err
41978 rm -f conftest.er1
41979 cat conftest.err >&5
41980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41981 (exit $ac_status); } &&
41982 { ac_try='test -z "$ac_cxx_werror_flag"
41983 || test ! -s conftest.err'
41984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41985 (eval $ac_try) 2>&5
41986 ac_status=$?
41987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41988 (exit $ac_status); }; } &&
41989 { ac_try='test -s conftest.$ac_objext'
41990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41991 (eval $ac_try) 2>&5
41992 ac_status=$?
41993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41994 (exit $ac_status); }; }; then
41995 ac_fdsections=yes
41996 else
41997 echo "$as_me: failed program was:" >&5
41998 sed 's/^/| /' conftest.$ac_ext >&5
42000 ac_fdsections=no
42002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42003 if test "$ac_test_CXXFLAGS" = set; then
42004 CXXFLAGS="$ac_save_CXXFLAGS"
42005 else
42006 # this is the suspicious part
42007 CXXFLAGS=''
42009 if test x"$ac_fdsections" = x"yes"; then
42010 SECTION_FLAGS='-ffunction-sections -fdata-sections'
42012 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
42013 echo "${ECHO_T}$ac_fdsections" >&6
42015 ac_ext=c
42016 ac_cpp='$CPP $CPPFLAGS'
42017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42025 # If we're not using GNU ld, then there's no point in even trying these
42026 # tests. Check for that first. We should have already tested for gld
42027 # by now (in libtool), but require it now just to be safe...
42028 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
42029 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
42033 # The name set by libtool depends on the version of libtool. Shame on us
42034 # for depending on an impl detail, but c'est la vie. Older versions used
42035 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
42036 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
42037 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
42038 # set (hence we're using an older libtool), then set it.
42039 if test x${with_gnu_ld+set} != xset; then
42040 if test x${ac_cv_prog_gnu_ld+set} != xset; then
42041 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
42042 with_gnu_ld=no
42043 else
42044 with_gnu_ld=$ac_cv_prog_gnu_ld
42048 # Start by getting the version number. I think the libtool test already
42049 # does some of this, but throws away the result.
42050 glibcxx_ld_is_gold=no
42051 if test x"$with_gnu_ld" = x"yes"; then
42052 echo "$as_me:$LINENO: checking for ld version" >&5
42053 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
42055 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
42056 glibcxx_ld_is_gold=yes
42058 ldver=`$LD --version 2>/dev/null | head -1 | \
42059 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
42061 glibcxx_gnu_ld_version=`echo $ldver | \
42062 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
42063 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
42064 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
42067 # Set --gc-sections.
42068 glibcxx_have_gc_sections=no
42069 if test "$glibcxx_ld_is_gold" = "yes"; then
42070 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
42071 glibcxx_have_gc_sections=yes
42073 else
42074 glibcxx_gcsections_min_ld=21602
42075 if test x"$with_gnu_ld" = x"yes" &&
42076 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
42077 glibcxx_have_gc_sections=yes
42080 if test "$glibcxx_have_gc_sections" = "yes"; then
42081 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
42082 # NB: This flag only works reliably after 2.16.1. Configure tests
42083 # for this are difficult, so hard wire a value that should work.
42085 ac_test_CFLAGS="${CFLAGS+set}"
42086 ac_save_CFLAGS="$CFLAGS"
42087 CFLAGS='-Wl,--gc-sections'
42089 # Check for -Wl,--gc-sections
42090 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
42091 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
42092 if test x$gcc_no_link = xyes; then
42093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42095 { (exit 1); exit 1; }; }
42097 cat >conftest.$ac_ext <<_ACEOF
42098 /* confdefs.h. */
42099 _ACEOF
42100 cat confdefs.h >>conftest.$ac_ext
42101 cat >>conftest.$ac_ext <<_ACEOF
42102 /* end confdefs.h. */
42103 int one(void) { return 1; }
42104 int two(void) { return 2; }
42107 main ()
42109 two();
42111 return 0;
42113 _ACEOF
42114 rm -f conftest.$ac_objext conftest$ac_exeext
42115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42116 (eval $ac_link) 2>conftest.er1
42117 ac_status=$?
42118 grep -v '^ *+' conftest.er1 >conftest.err
42119 rm -f conftest.er1
42120 cat conftest.err >&5
42121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42122 (exit $ac_status); } &&
42123 { ac_try='test -z "$ac_c_werror_flag"
42124 || test ! -s conftest.err'
42125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42126 (eval $ac_try) 2>&5
42127 ac_status=$?
42128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42129 (exit $ac_status); }; } &&
42130 { ac_try='test -s conftest$ac_exeext'
42131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42132 (eval $ac_try) 2>&5
42133 ac_status=$?
42134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42135 (exit $ac_status); }; }; then
42136 ac_gcsections=yes
42137 else
42138 echo "$as_me: failed program was:" >&5
42139 sed 's/^/| /' conftest.$ac_ext >&5
42141 ac_gcsections=no
42143 rm -f conftest.err conftest.$ac_objext \
42144 conftest$ac_exeext conftest.$ac_ext
42145 if test "$ac_gcsections" = "yes"; then
42146 rm -f conftest.c
42147 touch conftest.c
42148 if $CC -c conftest.c; then
42149 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
42150 grep "Warning: gc-sections option ignored" > /dev/null; then
42151 ac_gcsections=no
42154 rm -f conftest.c conftest.o conftest
42156 if test "$ac_gcsections" = "yes"; then
42157 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
42159 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
42160 echo "${ECHO_T}$ac_gcsections" >&6
42162 if test "$ac_test_CFLAGS" = set; then
42163 CFLAGS="$ac_save_CFLAGS"
42164 else
42165 # this is the suspicious part
42166 CFLAGS=''
42170 # Set -z,relro.
42171 # Note this is only for shared objects.
42172 ac_ld_relro=no
42173 if test x"$with_gnu_ld" = x"yes"; then
42174 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
42175 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
42176 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
42177 if test -n "$cxx_z_relo"; then
42178 OPT_LDFLAGS="-Wl,-z,relro"
42179 ac_ld_relro=yes
42181 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
42182 echo "${ECHO_T}$ac_ld_relro" >&6
42185 # Set linker optimization flags.
42186 if test x"$with_gnu_ld" = x"yes"; then
42187 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
42194 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42195 ac_save_CXXFLAGS="$CXXFLAGS"
42196 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42198 echo "$as_me:$LINENO: checking for sin in -lm" >&5
42199 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
42200 if test "${ac_cv_lib_m_sin+set}" = set; then
42201 echo $ECHO_N "(cached) $ECHO_C" >&6
42202 else
42203 ac_check_lib_save_LIBS=$LIBS
42204 LIBS="-lm $LIBS"
42205 if test x$gcc_no_link = xyes; then
42206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42208 { (exit 1); exit 1; }; }
42210 cat >conftest.$ac_ext <<_ACEOF
42211 /* confdefs.h. */
42212 _ACEOF
42213 cat confdefs.h >>conftest.$ac_ext
42214 cat >>conftest.$ac_ext <<_ACEOF
42215 /* end confdefs.h. */
42217 /* Override any gcc2 internal prototype to avoid an error. */
42218 #ifdef __cplusplus
42219 extern "C"
42220 #endif
42221 /* We use char because int might match the return type of a gcc2
42222 builtin and then its argument prototype would still apply. */
42223 char sin ();
42225 main ()
42227 sin ();
42229 return 0;
42231 _ACEOF
42232 rm -f conftest.$ac_objext conftest$ac_exeext
42233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42234 (eval $ac_link) 2>conftest.er1
42235 ac_status=$?
42236 grep -v '^ *+' conftest.er1 >conftest.err
42237 rm -f conftest.er1
42238 cat conftest.err >&5
42239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42240 (exit $ac_status); } &&
42241 { ac_try='test -z "$ac_c_werror_flag"
42242 || test ! -s conftest.err'
42243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42244 (eval $ac_try) 2>&5
42245 ac_status=$?
42246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42247 (exit $ac_status); }; } &&
42248 { ac_try='test -s conftest$ac_exeext'
42249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42250 (eval $ac_try) 2>&5
42251 ac_status=$?
42252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42253 (exit $ac_status); }; }; then
42254 ac_cv_lib_m_sin=yes
42255 else
42256 echo "$as_me: failed program was:" >&5
42257 sed 's/^/| /' conftest.$ac_ext >&5
42259 ac_cv_lib_m_sin=no
42261 rm -f conftest.err conftest.$ac_objext \
42262 conftest$ac_exeext conftest.$ac_ext
42263 LIBS=$ac_check_lib_save_LIBS
42265 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
42266 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
42267 if test $ac_cv_lib_m_sin = yes; then
42268 libm="-lm"
42271 ac_save_LIBS="$LIBS"
42272 LIBS="$LIBS $libm"
42276 echo "$as_me:$LINENO: checking for isinf declaration" >&5
42277 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
42278 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
42279 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
42280 echo $ECHO_N "(cached) $ECHO_C" >&6
42281 else
42285 ac_ext=cc
42286 ac_cpp='$CXXCPP $CPPFLAGS'
42287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42291 cat >conftest.$ac_ext <<_ACEOF
42292 /* confdefs.h. */
42293 _ACEOF
42294 cat confdefs.h >>conftest.$ac_ext
42295 cat >>conftest.$ac_ext <<_ACEOF
42296 /* end confdefs.h. */
42297 #include <math.h>
42298 #ifdef HAVE_IEEEFP_H
42299 #include <ieeefp.h>
42300 #endif
42303 main ()
42305 isinf(0);
42307 return 0;
42309 _ACEOF
42310 rm -f conftest.$ac_objext
42311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42312 (eval $ac_compile) 2>conftest.er1
42313 ac_status=$?
42314 grep -v '^ *+' conftest.er1 >conftest.err
42315 rm -f conftest.er1
42316 cat conftest.err >&5
42317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42318 (exit $ac_status); } &&
42319 { ac_try='test -z "$ac_cxx_werror_flag"
42320 || test ! -s conftest.err'
42321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42322 (eval $ac_try) 2>&5
42323 ac_status=$?
42324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42325 (exit $ac_status); }; } &&
42326 { ac_try='test -s conftest.$ac_objext'
42327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42328 (eval $ac_try) 2>&5
42329 ac_status=$?
42330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42331 (exit $ac_status); }; }; then
42332 glibcxx_cv_func_isinf_use=yes
42333 else
42334 echo "$as_me: failed program was:" >&5
42335 sed 's/^/| /' conftest.$ac_ext >&5
42337 glibcxx_cv_func_isinf_use=no
42339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42340 ac_ext=c
42341 ac_cpp='$CPP $CPPFLAGS'
42342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42350 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
42351 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
42353 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
42355 for ac_func in isinf
42357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42358 echo "$as_me:$LINENO: checking for $ac_func" >&5
42359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42360 if eval "test \"\${$as_ac_var+set}\" = set"; then
42361 echo $ECHO_N "(cached) $ECHO_C" >&6
42362 else
42363 if test x$gcc_no_link = xyes; then
42364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42366 { (exit 1); exit 1; }; }
42368 cat >conftest.$ac_ext <<_ACEOF
42369 /* confdefs.h. */
42370 _ACEOF
42371 cat confdefs.h >>conftest.$ac_ext
42372 cat >>conftest.$ac_ext <<_ACEOF
42373 /* end confdefs.h. */
42374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42376 #define $ac_func innocuous_$ac_func
42378 /* System header to define __stub macros and hopefully few prototypes,
42379 which can conflict with char $ac_func (); below.
42380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42381 <limits.h> exists even on freestanding compilers. */
42383 #ifdef __STDC__
42384 # include <limits.h>
42385 #else
42386 # include <assert.h>
42387 #endif
42389 #undef $ac_func
42391 /* Override any gcc2 internal prototype to avoid an error. */
42392 #ifdef __cplusplus
42393 extern "C"
42395 #endif
42396 /* We use char because int might match the return type of a gcc2
42397 builtin and then its argument prototype would still apply. */
42398 char $ac_func ();
42399 /* The GNU C library defines this for functions which it implements
42400 to always fail with ENOSYS. Some functions are actually named
42401 something starting with __ and the normal name is an alias. */
42402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42403 choke me
42404 #else
42405 char (*f) () = $ac_func;
42406 #endif
42407 #ifdef __cplusplus
42409 #endif
42412 main ()
42414 return f != $ac_func;
42416 return 0;
42418 _ACEOF
42419 rm -f conftest.$ac_objext conftest$ac_exeext
42420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42421 (eval $ac_link) 2>conftest.er1
42422 ac_status=$?
42423 grep -v '^ *+' conftest.er1 >conftest.err
42424 rm -f conftest.er1
42425 cat conftest.err >&5
42426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42427 (exit $ac_status); } &&
42428 { ac_try='test -z "$ac_c_werror_flag"
42429 || test ! -s conftest.err'
42430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42431 (eval $ac_try) 2>&5
42432 ac_status=$?
42433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42434 (exit $ac_status); }; } &&
42435 { ac_try='test -s conftest$ac_exeext'
42436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42437 (eval $ac_try) 2>&5
42438 ac_status=$?
42439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42440 (exit $ac_status); }; }; then
42441 eval "$as_ac_var=yes"
42442 else
42443 echo "$as_me: failed program was:" >&5
42444 sed 's/^/| /' conftest.$ac_ext >&5
42446 eval "$as_ac_var=no"
42448 rm -f conftest.err conftest.$ac_objext \
42449 conftest$ac_exeext conftest.$ac_ext
42451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42453 if test `eval echo '${'$as_ac_var'}'` = yes; then
42454 cat >>confdefs.h <<_ACEOF
42455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42456 _ACEOF
42459 done
42461 else
42463 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
42464 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
42465 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
42466 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
42467 echo $ECHO_N "(cached) $ECHO_C" >&6
42468 else
42472 ac_ext=cc
42473 ac_cpp='$CXXCPP $CPPFLAGS'
42474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42478 cat >conftest.$ac_ext <<_ACEOF
42479 /* confdefs.h. */
42480 _ACEOF
42481 cat confdefs.h >>conftest.$ac_ext
42482 cat >>conftest.$ac_ext <<_ACEOF
42483 /* end confdefs.h. */
42484 #include <math.h>
42485 #ifdef HAVE_IEEEFP_H
42486 #include <ieeefp.h>
42487 #endif
42490 main ()
42492 _isinf(0);
42494 return 0;
42496 _ACEOF
42497 rm -f conftest.$ac_objext
42498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42499 (eval $ac_compile) 2>conftest.er1
42500 ac_status=$?
42501 grep -v '^ *+' conftest.er1 >conftest.err
42502 rm -f conftest.er1
42503 cat conftest.err >&5
42504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42505 (exit $ac_status); } &&
42506 { ac_try='test -z "$ac_cxx_werror_flag"
42507 || test ! -s conftest.err'
42508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42509 (eval $ac_try) 2>&5
42510 ac_status=$?
42511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42512 (exit $ac_status); }; } &&
42513 { ac_try='test -s conftest.$ac_objext'
42514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42515 (eval $ac_try) 2>&5
42516 ac_status=$?
42517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42518 (exit $ac_status); }; }; then
42519 glibcxx_cv_func__isinf_use=yes
42520 else
42521 echo "$as_me: failed program was:" >&5
42522 sed 's/^/| /' conftest.$ac_ext >&5
42524 glibcxx_cv_func__isinf_use=no
42526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42527 ac_ext=c
42528 ac_cpp='$CPP $CPPFLAGS'
42529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42537 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
42538 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
42540 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
42542 for ac_func in _isinf
42544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42545 echo "$as_me:$LINENO: checking for $ac_func" >&5
42546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42547 if eval "test \"\${$as_ac_var+set}\" = set"; then
42548 echo $ECHO_N "(cached) $ECHO_C" >&6
42549 else
42550 if test x$gcc_no_link = xyes; then
42551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42553 { (exit 1); exit 1; }; }
42555 cat >conftest.$ac_ext <<_ACEOF
42556 /* confdefs.h. */
42557 _ACEOF
42558 cat confdefs.h >>conftest.$ac_ext
42559 cat >>conftest.$ac_ext <<_ACEOF
42560 /* end confdefs.h. */
42561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42563 #define $ac_func innocuous_$ac_func
42565 /* System header to define __stub macros and hopefully few prototypes,
42566 which can conflict with char $ac_func (); below.
42567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42568 <limits.h> exists even on freestanding compilers. */
42570 #ifdef __STDC__
42571 # include <limits.h>
42572 #else
42573 # include <assert.h>
42574 #endif
42576 #undef $ac_func
42578 /* Override any gcc2 internal prototype to avoid an error. */
42579 #ifdef __cplusplus
42580 extern "C"
42582 #endif
42583 /* We use char because int might match the return type of a gcc2
42584 builtin and then its argument prototype would still apply. */
42585 char $ac_func ();
42586 /* The GNU C library defines this for functions which it implements
42587 to always fail with ENOSYS. Some functions are actually named
42588 something starting with __ and the normal name is an alias. */
42589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42590 choke me
42591 #else
42592 char (*f) () = $ac_func;
42593 #endif
42594 #ifdef __cplusplus
42596 #endif
42599 main ()
42601 return f != $ac_func;
42603 return 0;
42605 _ACEOF
42606 rm -f conftest.$ac_objext conftest$ac_exeext
42607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42608 (eval $ac_link) 2>conftest.er1
42609 ac_status=$?
42610 grep -v '^ *+' conftest.er1 >conftest.err
42611 rm -f conftest.er1
42612 cat conftest.err >&5
42613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42614 (exit $ac_status); } &&
42615 { ac_try='test -z "$ac_c_werror_flag"
42616 || test ! -s conftest.err'
42617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42618 (eval $ac_try) 2>&5
42619 ac_status=$?
42620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42621 (exit $ac_status); }; } &&
42622 { ac_try='test -s conftest$ac_exeext'
42623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42624 (eval $ac_try) 2>&5
42625 ac_status=$?
42626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42627 (exit $ac_status); }; }; then
42628 eval "$as_ac_var=yes"
42629 else
42630 echo "$as_me: failed program was:" >&5
42631 sed 's/^/| /' conftest.$ac_ext >&5
42633 eval "$as_ac_var=no"
42635 rm -f conftest.err conftest.$ac_objext \
42636 conftest$ac_exeext conftest.$ac_ext
42638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42640 if test `eval echo '${'$as_ac_var'}'` = yes; then
42641 cat >>confdefs.h <<_ACEOF
42642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42643 _ACEOF
42646 done
42656 echo "$as_me:$LINENO: checking for isnan declaration" >&5
42657 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
42658 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42659 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
42660 echo $ECHO_N "(cached) $ECHO_C" >&6
42661 else
42665 ac_ext=cc
42666 ac_cpp='$CXXCPP $CPPFLAGS'
42667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42671 cat >conftest.$ac_ext <<_ACEOF
42672 /* confdefs.h. */
42673 _ACEOF
42674 cat confdefs.h >>conftest.$ac_ext
42675 cat >>conftest.$ac_ext <<_ACEOF
42676 /* end confdefs.h. */
42677 #include <math.h>
42678 #ifdef HAVE_IEEEFP_H
42679 #include <ieeefp.h>
42680 #endif
42683 main ()
42685 isnan(0);
42687 return 0;
42689 _ACEOF
42690 rm -f conftest.$ac_objext
42691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42692 (eval $ac_compile) 2>conftest.er1
42693 ac_status=$?
42694 grep -v '^ *+' conftest.er1 >conftest.err
42695 rm -f conftest.er1
42696 cat conftest.err >&5
42697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42698 (exit $ac_status); } &&
42699 { ac_try='test -z "$ac_cxx_werror_flag"
42700 || test ! -s conftest.err'
42701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42702 (eval $ac_try) 2>&5
42703 ac_status=$?
42704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42705 (exit $ac_status); }; } &&
42706 { ac_try='test -s conftest.$ac_objext'
42707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42708 (eval $ac_try) 2>&5
42709 ac_status=$?
42710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42711 (exit $ac_status); }; }; then
42712 glibcxx_cv_func_isnan_use=yes
42713 else
42714 echo "$as_me: failed program was:" >&5
42715 sed 's/^/| /' conftest.$ac_ext >&5
42717 glibcxx_cv_func_isnan_use=no
42719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42720 ac_ext=c
42721 ac_cpp='$CPP $CPPFLAGS'
42722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42730 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
42731 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
42733 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42735 for ac_func in isnan
42737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42738 echo "$as_me:$LINENO: checking for $ac_func" >&5
42739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42740 if eval "test \"\${$as_ac_var+set}\" = set"; then
42741 echo $ECHO_N "(cached) $ECHO_C" >&6
42742 else
42743 if test x$gcc_no_link = xyes; then
42744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42746 { (exit 1); exit 1; }; }
42748 cat >conftest.$ac_ext <<_ACEOF
42749 /* confdefs.h. */
42750 _ACEOF
42751 cat confdefs.h >>conftest.$ac_ext
42752 cat >>conftest.$ac_ext <<_ACEOF
42753 /* end confdefs.h. */
42754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42756 #define $ac_func innocuous_$ac_func
42758 /* System header to define __stub macros and hopefully few prototypes,
42759 which can conflict with char $ac_func (); below.
42760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42761 <limits.h> exists even on freestanding compilers. */
42763 #ifdef __STDC__
42764 # include <limits.h>
42765 #else
42766 # include <assert.h>
42767 #endif
42769 #undef $ac_func
42771 /* Override any gcc2 internal prototype to avoid an error. */
42772 #ifdef __cplusplus
42773 extern "C"
42775 #endif
42776 /* We use char because int might match the return type of a gcc2
42777 builtin and then its argument prototype would still apply. */
42778 char $ac_func ();
42779 /* The GNU C library defines this for functions which it implements
42780 to always fail with ENOSYS. Some functions are actually named
42781 something starting with __ and the normal name is an alias. */
42782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42783 choke me
42784 #else
42785 char (*f) () = $ac_func;
42786 #endif
42787 #ifdef __cplusplus
42789 #endif
42792 main ()
42794 return f != $ac_func;
42796 return 0;
42798 _ACEOF
42799 rm -f conftest.$ac_objext conftest$ac_exeext
42800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42801 (eval $ac_link) 2>conftest.er1
42802 ac_status=$?
42803 grep -v '^ *+' conftest.er1 >conftest.err
42804 rm -f conftest.er1
42805 cat conftest.err >&5
42806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42807 (exit $ac_status); } &&
42808 { ac_try='test -z "$ac_c_werror_flag"
42809 || test ! -s conftest.err'
42810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42811 (eval $ac_try) 2>&5
42812 ac_status=$?
42813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42814 (exit $ac_status); }; } &&
42815 { ac_try='test -s conftest$ac_exeext'
42816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42817 (eval $ac_try) 2>&5
42818 ac_status=$?
42819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42820 (exit $ac_status); }; }; then
42821 eval "$as_ac_var=yes"
42822 else
42823 echo "$as_me: failed program was:" >&5
42824 sed 's/^/| /' conftest.$ac_ext >&5
42826 eval "$as_ac_var=no"
42828 rm -f conftest.err conftest.$ac_objext \
42829 conftest$ac_exeext conftest.$ac_ext
42831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42833 if test `eval echo '${'$as_ac_var'}'` = yes; then
42834 cat >>confdefs.h <<_ACEOF
42835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42836 _ACEOF
42839 done
42841 else
42843 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
42844 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
42845 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42846 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
42847 echo $ECHO_N "(cached) $ECHO_C" >&6
42848 else
42852 ac_ext=cc
42853 ac_cpp='$CXXCPP $CPPFLAGS'
42854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42858 cat >conftest.$ac_ext <<_ACEOF
42859 /* confdefs.h. */
42860 _ACEOF
42861 cat confdefs.h >>conftest.$ac_ext
42862 cat >>conftest.$ac_ext <<_ACEOF
42863 /* end confdefs.h. */
42864 #include <math.h>
42865 #ifdef HAVE_IEEEFP_H
42866 #include <ieeefp.h>
42867 #endif
42870 main ()
42872 _isnan(0);
42874 return 0;
42876 _ACEOF
42877 rm -f conftest.$ac_objext
42878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42879 (eval $ac_compile) 2>conftest.er1
42880 ac_status=$?
42881 grep -v '^ *+' conftest.er1 >conftest.err
42882 rm -f conftest.er1
42883 cat conftest.err >&5
42884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42885 (exit $ac_status); } &&
42886 { ac_try='test -z "$ac_cxx_werror_flag"
42887 || test ! -s conftest.err'
42888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42889 (eval $ac_try) 2>&5
42890 ac_status=$?
42891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42892 (exit $ac_status); }; } &&
42893 { ac_try='test -s conftest.$ac_objext'
42894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42895 (eval $ac_try) 2>&5
42896 ac_status=$?
42897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42898 (exit $ac_status); }; }; then
42899 glibcxx_cv_func__isnan_use=yes
42900 else
42901 echo "$as_me: failed program was:" >&5
42902 sed 's/^/| /' conftest.$ac_ext >&5
42904 glibcxx_cv_func__isnan_use=no
42906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42907 ac_ext=c
42908 ac_cpp='$CPP $CPPFLAGS'
42909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42917 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
42918 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
42920 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
42922 for ac_func in _isnan
42924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42925 echo "$as_me:$LINENO: checking for $ac_func" >&5
42926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42927 if eval "test \"\${$as_ac_var+set}\" = set"; then
42928 echo $ECHO_N "(cached) $ECHO_C" >&6
42929 else
42930 if test x$gcc_no_link = xyes; then
42931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42933 { (exit 1); exit 1; }; }
42935 cat >conftest.$ac_ext <<_ACEOF
42936 /* confdefs.h. */
42937 _ACEOF
42938 cat confdefs.h >>conftest.$ac_ext
42939 cat >>conftest.$ac_ext <<_ACEOF
42940 /* end confdefs.h. */
42941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42943 #define $ac_func innocuous_$ac_func
42945 /* System header to define __stub macros and hopefully few prototypes,
42946 which can conflict with char $ac_func (); below.
42947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42948 <limits.h> exists even on freestanding compilers. */
42950 #ifdef __STDC__
42951 # include <limits.h>
42952 #else
42953 # include <assert.h>
42954 #endif
42956 #undef $ac_func
42958 /* Override any gcc2 internal prototype to avoid an error. */
42959 #ifdef __cplusplus
42960 extern "C"
42962 #endif
42963 /* We use char because int might match the return type of a gcc2
42964 builtin and then its argument prototype would still apply. */
42965 char $ac_func ();
42966 /* The GNU C library defines this for functions which it implements
42967 to always fail with ENOSYS. Some functions are actually named
42968 something starting with __ and the normal name is an alias. */
42969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42970 choke me
42971 #else
42972 char (*f) () = $ac_func;
42973 #endif
42974 #ifdef __cplusplus
42976 #endif
42979 main ()
42981 return f != $ac_func;
42983 return 0;
42985 _ACEOF
42986 rm -f conftest.$ac_objext conftest$ac_exeext
42987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42988 (eval $ac_link) 2>conftest.er1
42989 ac_status=$?
42990 grep -v '^ *+' conftest.er1 >conftest.err
42991 rm -f conftest.er1
42992 cat conftest.err >&5
42993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42994 (exit $ac_status); } &&
42995 { ac_try='test -z "$ac_c_werror_flag"
42996 || test ! -s conftest.err'
42997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42998 (eval $ac_try) 2>&5
42999 ac_status=$?
43000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43001 (exit $ac_status); }; } &&
43002 { ac_try='test -s conftest$ac_exeext'
43003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43004 (eval $ac_try) 2>&5
43005 ac_status=$?
43006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43007 (exit $ac_status); }; }; then
43008 eval "$as_ac_var=yes"
43009 else
43010 echo "$as_me: failed program was:" >&5
43011 sed 's/^/| /' conftest.$ac_ext >&5
43013 eval "$as_ac_var=no"
43015 rm -f conftest.err conftest.$ac_objext \
43016 conftest$ac_exeext conftest.$ac_ext
43018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43020 if test `eval echo '${'$as_ac_var'}'` = yes; then
43021 cat >>confdefs.h <<_ACEOF
43022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43023 _ACEOF
43026 done
43036 echo "$as_me:$LINENO: checking for finite declaration" >&5
43037 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
43038 if test x${glibcxx_cv_func_finite_use+set} != xset; then
43039 if test "${glibcxx_cv_func_finite_use+set}" = set; then
43040 echo $ECHO_N "(cached) $ECHO_C" >&6
43041 else
43045 ac_ext=cc
43046 ac_cpp='$CXXCPP $CPPFLAGS'
43047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43051 cat >conftest.$ac_ext <<_ACEOF
43052 /* confdefs.h. */
43053 _ACEOF
43054 cat confdefs.h >>conftest.$ac_ext
43055 cat >>conftest.$ac_ext <<_ACEOF
43056 /* end confdefs.h. */
43057 #include <math.h>
43058 #ifdef HAVE_IEEEFP_H
43059 #include <ieeefp.h>
43060 #endif
43063 main ()
43065 finite(0);
43067 return 0;
43069 _ACEOF
43070 rm -f conftest.$ac_objext
43071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43072 (eval $ac_compile) 2>conftest.er1
43073 ac_status=$?
43074 grep -v '^ *+' conftest.er1 >conftest.err
43075 rm -f conftest.er1
43076 cat conftest.err >&5
43077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43078 (exit $ac_status); } &&
43079 { ac_try='test -z "$ac_cxx_werror_flag"
43080 || test ! -s conftest.err'
43081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43082 (eval $ac_try) 2>&5
43083 ac_status=$?
43084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43085 (exit $ac_status); }; } &&
43086 { ac_try='test -s conftest.$ac_objext'
43087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43088 (eval $ac_try) 2>&5
43089 ac_status=$?
43090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43091 (exit $ac_status); }; }; then
43092 glibcxx_cv_func_finite_use=yes
43093 else
43094 echo "$as_me: failed program was:" >&5
43095 sed 's/^/| /' conftest.$ac_ext >&5
43097 glibcxx_cv_func_finite_use=no
43099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43100 ac_ext=c
43101 ac_cpp='$CPP $CPPFLAGS'
43102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43110 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
43111 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
43113 if test x$glibcxx_cv_func_finite_use = x"yes"; then
43115 for ac_func in finite
43117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43118 echo "$as_me:$LINENO: checking for $ac_func" >&5
43119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43120 if eval "test \"\${$as_ac_var+set}\" = set"; then
43121 echo $ECHO_N "(cached) $ECHO_C" >&6
43122 else
43123 if test x$gcc_no_link = xyes; then
43124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43126 { (exit 1); exit 1; }; }
43128 cat >conftest.$ac_ext <<_ACEOF
43129 /* confdefs.h. */
43130 _ACEOF
43131 cat confdefs.h >>conftest.$ac_ext
43132 cat >>conftest.$ac_ext <<_ACEOF
43133 /* end confdefs.h. */
43134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43136 #define $ac_func innocuous_$ac_func
43138 /* System header to define __stub macros and hopefully few prototypes,
43139 which can conflict with char $ac_func (); below.
43140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43141 <limits.h> exists even on freestanding compilers. */
43143 #ifdef __STDC__
43144 # include <limits.h>
43145 #else
43146 # include <assert.h>
43147 #endif
43149 #undef $ac_func
43151 /* Override any gcc2 internal prototype to avoid an error. */
43152 #ifdef __cplusplus
43153 extern "C"
43155 #endif
43156 /* We use char because int might match the return type of a gcc2
43157 builtin and then its argument prototype would still apply. */
43158 char $ac_func ();
43159 /* The GNU C library defines this for functions which it implements
43160 to always fail with ENOSYS. Some functions are actually named
43161 something starting with __ and the normal name is an alias. */
43162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43163 choke me
43164 #else
43165 char (*f) () = $ac_func;
43166 #endif
43167 #ifdef __cplusplus
43169 #endif
43172 main ()
43174 return f != $ac_func;
43176 return 0;
43178 _ACEOF
43179 rm -f conftest.$ac_objext conftest$ac_exeext
43180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43181 (eval $ac_link) 2>conftest.er1
43182 ac_status=$?
43183 grep -v '^ *+' conftest.er1 >conftest.err
43184 rm -f conftest.er1
43185 cat conftest.err >&5
43186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43187 (exit $ac_status); } &&
43188 { ac_try='test -z "$ac_c_werror_flag"
43189 || test ! -s conftest.err'
43190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43191 (eval $ac_try) 2>&5
43192 ac_status=$?
43193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43194 (exit $ac_status); }; } &&
43195 { ac_try='test -s conftest$ac_exeext'
43196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43197 (eval $ac_try) 2>&5
43198 ac_status=$?
43199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43200 (exit $ac_status); }; }; then
43201 eval "$as_ac_var=yes"
43202 else
43203 echo "$as_me: failed program was:" >&5
43204 sed 's/^/| /' conftest.$ac_ext >&5
43206 eval "$as_ac_var=no"
43208 rm -f conftest.err conftest.$ac_objext \
43209 conftest$ac_exeext conftest.$ac_ext
43211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43213 if test `eval echo '${'$as_ac_var'}'` = yes; then
43214 cat >>confdefs.h <<_ACEOF
43215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43216 _ACEOF
43219 done
43221 else
43223 echo "$as_me:$LINENO: checking for _finite declaration" >&5
43224 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
43225 if test x${glibcxx_cv_func__finite_use+set} != xset; then
43226 if test "${glibcxx_cv_func__finite_use+set}" = set; then
43227 echo $ECHO_N "(cached) $ECHO_C" >&6
43228 else
43232 ac_ext=cc
43233 ac_cpp='$CXXCPP $CPPFLAGS'
43234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43238 cat >conftest.$ac_ext <<_ACEOF
43239 /* confdefs.h. */
43240 _ACEOF
43241 cat confdefs.h >>conftest.$ac_ext
43242 cat >>conftest.$ac_ext <<_ACEOF
43243 /* end confdefs.h. */
43244 #include <math.h>
43245 #ifdef HAVE_IEEEFP_H
43246 #include <ieeefp.h>
43247 #endif
43250 main ()
43252 _finite(0);
43254 return 0;
43256 _ACEOF
43257 rm -f conftest.$ac_objext
43258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43259 (eval $ac_compile) 2>conftest.er1
43260 ac_status=$?
43261 grep -v '^ *+' conftest.er1 >conftest.err
43262 rm -f conftest.er1
43263 cat conftest.err >&5
43264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43265 (exit $ac_status); } &&
43266 { ac_try='test -z "$ac_cxx_werror_flag"
43267 || test ! -s conftest.err'
43268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43269 (eval $ac_try) 2>&5
43270 ac_status=$?
43271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43272 (exit $ac_status); }; } &&
43273 { ac_try='test -s conftest.$ac_objext'
43274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43275 (eval $ac_try) 2>&5
43276 ac_status=$?
43277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43278 (exit $ac_status); }; }; then
43279 glibcxx_cv_func__finite_use=yes
43280 else
43281 echo "$as_me: failed program was:" >&5
43282 sed 's/^/| /' conftest.$ac_ext >&5
43284 glibcxx_cv_func__finite_use=no
43286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43287 ac_ext=c
43288 ac_cpp='$CPP $CPPFLAGS'
43289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43297 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
43298 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
43300 if test x$glibcxx_cv_func__finite_use = x"yes"; then
43302 for ac_func in _finite
43304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43305 echo "$as_me:$LINENO: checking for $ac_func" >&5
43306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43307 if eval "test \"\${$as_ac_var+set}\" = set"; then
43308 echo $ECHO_N "(cached) $ECHO_C" >&6
43309 else
43310 if test x$gcc_no_link = xyes; then
43311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43313 { (exit 1); exit 1; }; }
43315 cat >conftest.$ac_ext <<_ACEOF
43316 /* confdefs.h. */
43317 _ACEOF
43318 cat confdefs.h >>conftest.$ac_ext
43319 cat >>conftest.$ac_ext <<_ACEOF
43320 /* end confdefs.h. */
43321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43323 #define $ac_func innocuous_$ac_func
43325 /* System header to define __stub macros and hopefully few prototypes,
43326 which can conflict with char $ac_func (); below.
43327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43328 <limits.h> exists even on freestanding compilers. */
43330 #ifdef __STDC__
43331 # include <limits.h>
43332 #else
43333 # include <assert.h>
43334 #endif
43336 #undef $ac_func
43338 /* Override any gcc2 internal prototype to avoid an error. */
43339 #ifdef __cplusplus
43340 extern "C"
43342 #endif
43343 /* We use char because int might match the return type of a gcc2
43344 builtin and then its argument prototype would still apply. */
43345 char $ac_func ();
43346 /* The GNU C library defines this for functions which it implements
43347 to always fail with ENOSYS. Some functions are actually named
43348 something starting with __ and the normal name is an alias. */
43349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43350 choke me
43351 #else
43352 char (*f) () = $ac_func;
43353 #endif
43354 #ifdef __cplusplus
43356 #endif
43359 main ()
43361 return f != $ac_func;
43363 return 0;
43365 _ACEOF
43366 rm -f conftest.$ac_objext conftest$ac_exeext
43367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43368 (eval $ac_link) 2>conftest.er1
43369 ac_status=$?
43370 grep -v '^ *+' conftest.er1 >conftest.err
43371 rm -f conftest.er1
43372 cat conftest.err >&5
43373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43374 (exit $ac_status); } &&
43375 { ac_try='test -z "$ac_c_werror_flag"
43376 || test ! -s conftest.err'
43377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43378 (eval $ac_try) 2>&5
43379 ac_status=$?
43380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43381 (exit $ac_status); }; } &&
43382 { ac_try='test -s conftest$ac_exeext'
43383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43384 (eval $ac_try) 2>&5
43385 ac_status=$?
43386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43387 (exit $ac_status); }; }; then
43388 eval "$as_ac_var=yes"
43389 else
43390 echo "$as_me: failed program was:" >&5
43391 sed 's/^/| /' conftest.$ac_ext >&5
43393 eval "$as_ac_var=no"
43395 rm -f conftest.err conftest.$ac_objext \
43396 conftest$ac_exeext conftest.$ac_ext
43398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43400 if test `eval echo '${'$as_ac_var'}'` = yes; then
43401 cat >>confdefs.h <<_ACEOF
43402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43403 _ACEOF
43406 done
43416 echo "$as_me:$LINENO: checking for sincos declaration" >&5
43417 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
43418 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
43419 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
43420 echo $ECHO_N "(cached) $ECHO_C" >&6
43421 else
43425 ac_ext=cc
43426 ac_cpp='$CXXCPP $CPPFLAGS'
43427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43431 cat >conftest.$ac_ext <<_ACEOF
43432 /* confdefs.h. */
43433 _ACEOF
43434 cat confdefs.h >>conftest.$ac_ext
43435 cat >>conftest.$ac_ext <<_ACEOF
43436 /* end confdefs.h. */
43437 #include <math.h>
43439 main ()
43441 sincos(0, 0, 0);
43443 return 0;
43445 _ACEOF
43446 rm -f conftest.$ac_objext
43447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43448 (eval $ac_compile) 2>conftest.er1
43449 ac_status=$?
43450 grep -v '^ *+' conftest.er1 >conftest.err
43451 rm -f conftest.er1
43452 cat conftest.err >&5
43453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43454 (exit $ac_status); } &&
43455 { ac_try='test -z "$ac_cxx_werror_flag"
43456 || test ! -s conftest.err'
43457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43458 (eval $ac_try) 2>&5
43459 ac_status=$?
43460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43461 (exit $ac_status); }; } &&
43462 { ac_try='test -s conftest.$ac_objext'
43463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43464 (eval $ac_try) 2>&5
43465 ac_status=$?
43466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43467 (exit $ac_status); }; }; then
43468 glibcxx_cv_func_sincos_use=yes
43469 else
43470 echo "$as_me: failed program was:" >&5
43471 sed 's/^/| /' conftest.$ac_ext >&5
43473 glibcxx_cv_func_sincos_use=no
43475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43476 ac_ext=c
43477 ac_cpp='$CPP $CPPFLAGS'
43478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43486 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
43487 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
43489 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
43491 for ac_func in sincos
43493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43494 echo "$as_me:$LINENO: checking for $ac_func" >&5
43495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43496 if eval "test \"\${$as_ac_var+set}\" = set"; then
43497 echo $ECHO_N "(cached) $ECHO_C" >&6
43498 else
43499 if test x$gcc_no_link = xyes; then
43500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43502 { (exit 1); exit 1; }; }
43504 cat >conftest.$ac_ext <<_ACEOF
43505 /* confdefs.h. */
43506 _ACEOF
43507 cat confdefs.h >>conftest.$ac_ext
43508 cat >>conftest.$ac_ext <<_ACEOF
43509 /* end confdefs.h. */
43510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43512 #define $ac_func innocuous_$ac_func
43514 /* System header to define __stub macros and hopefully few prototypes,
43515 which can conflict with char $ac_func (); below.
43516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43517 <limits.h> exists even on freestanding compilers. */
43519 #ifdef __STDC__
43520 # include <limits.h>
43521 #else
43522 # include <assert.h>
43523 #endif
43525 #undef $ac_func
43527 /* Override any gcc2 internal prototype to avoid an error. */
43528 #ifdef __cplusplus
43529 extern "C"
43531 #endif
43532 /* We use char because int might match the return type of a gcc2
43533 builtin and then its argument prototype would still apply. */
43534 char $ac_func ();
43535 /* The GNU C library defines this for functions which it implements
43536 to always fail with ENOSYS. Some functions are actually named
43537 something starting with __ and the normal name is an alias. */
43538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43539 choke me
43540 #else
43541 char (*f) () = $ac_func;
43542 #endif
43543 #ifdef __cplusplus
43545 #endif
43548 main ()
43550 return f != $ac_func;
43552 return 0;
43554 _ACEOF
43555 rm -f conftest.$ac_objext conftest$ac_exeext
43556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43557 (eval $ac_link) 2>conftest.er1
43558 ac_status=$?
43559 grep -v '^ *+' conftest.er1 >conftest.err
43560 rm -f conftest.er1
43561 cat conftest.err >&5
43562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43563 (exit $ac_status); } &&
43564 { ac_try='test -z "$ac_c_werror_flag"
43565 || test ! -s conftest.err'
43566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43567 (eval $ac_try) 2>&5
43568 ac_status=$?
43569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43570 (exit $ac_status); }; } &&
43571 { ac_try='test -s conftest$ac_exeext'
43572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43573 (eval $ac_try) 2>&5
43574 ac_status=$?
43575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43576 (exit $ac_status); }; }; then
43577 eval "$as_ac_var=yes"
43578 else
43579 echo "$as_me: failed program was:" >&5
43580 sed 's/^/| /' conftest.$ac_ext >&5
43582 eval "$as_ac_var=no"
43584 rm -f conftest.err conftest.$ac_objext \
43585 conftest$ac_exeext conftest.$ac_ext
43587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43589 if test `eval echo '${'$as_ac_var'}'` = yes; then
43590 cat >>confdefs.h <<_ACEOF
43591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43592 _ACEOF
43595 done
43597 else
43599 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
43600 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
43601 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
43602 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
43603 echo $ECHO_N "(cached) $ECHO_C" >&6
43604 else
43608 ac_ext=cc
43609 ac_cpp='$CXXCPP $CPPFLAGS'
43610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43614 cat >conftest.$ac_ext <<_ACEOF
43615 /* confdefs.h. */
43616 _ACEOF
43617 cat confdefs.h >>conftest.$ac_ext
43618 cat >>conftest.$ac_ext <<_ACEOF
43619 /* end confdefs.h. */
43620 #include <math.h>
43622 main ()
43624 _sincos(0, 0, 0);
43626 return 0;
43628 _ACEOF
43629 rm -f conftest.$ac_objext
43630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43631 (eval $ac_compile) 2>conftest.er1
43632 ac_status=$?
43633 grep -v '^ *+' conftest.er1 >conftest.err
43634 rm -f conftest.er1
43635 cat conftest.err >&5
43636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43637 (exit $ac_status); } &&
43638 { ac_try='test -z "$ac_cxx_werror_flag"
43639 || test ! -s conftest.err'
43640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43641 (eval $ac_try) 2>&5
43642 ac_status=$?
43643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43644 (exit $ac_status); }; } &&
43645 { ac_try='test -s conftest.$ac_objext'
43646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43647 (eval $ac_try) 2>&5
43648 ac_status=$?
43649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43650 (exit $ac_status); }; }; then
43651 glibcxx_cv_func__sincos_use=yes
43652 else
43653 echo "$as_me: failed program was:" >&5
43654 sed 's/^/| /' conftest.$ac_ext >&5
43656 glibcxx_cv_func__sincos_use=no
43658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43659 ac_ext=c
43660 ac_cpp='$CPP $CPPFLAGS'
43661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43669 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
43670 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
43672 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
43674 for ac_func in _sincos
43676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43677 echo "$as_me:$LINENO: checking for $ac_func" >&5
43678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43679 if eval "test \"\${$as_ac_var+set}\" = set"; then
43680 echo $ECHO_N "(cached) $ECHO_C" >&6
43681 else
43682 if test x$gcc_no_link = xyes; then
43683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43685 { (exit 1); exit 1; }; }
43687 cat >conftest.$ac_ext <<_ACEOF
43688 /* confdefs.h. */
43689 _ACEOF
43690 cat confdefs.h >>conftest.$ac_ext
43691 cat >>conftest.$ac_ext <<_ACEOF
43692 /* end confdefs.h. */
43693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43695 #define $ac_func innocuous_$ac_func
43697 /* System header to define __stub macros and hopefully few prototypes,
43698 which can conflict with char $ac_func (); below.
43699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43700 <limits.h> exists even on freestanding compilers. */
43702 #ifdef __STDC__
43703 # include <limits.h>
43704 #else
43705 # include <assert.h>
43706 #endif
43708 #undef $ac_func
43710 /* Override any gcc2 internal prototype to avoid an error. */
43711 #ifdef __cplusplus
43712 extern "C"
43714 #endif
43715 /* We use char because int might match the return type of a gcc2
43716 builtin and then its argument prototype would still apply. */
43717 char $ac_func ();
43718 /* The GNU C library defines this for functions which it implements
43719 to always fail with ENOSYS. Some functions are actually named
43720 something starting with __ and the normal name is an alias. */
43721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43722 choke me
43723 #else
43724 char (*f) () = $ac_func;
43725 #endif
43726 #ifdef __cplusplus
43728 #endif
43731 main ()
43733 return f != $ac_func;
43735 return 0;
43737 _ACEOF
43738 rm -f conftest.$ac_objext conftest$ac_exeext
43739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43740 (eval $ac_link) 2>conftest.er1
43741 ac_status=$?
43742 grep -v '^ *+' conftest.er1 >conftest.err
43743 rm -f conftest.er1
43744 cat conftest.err >&5
43745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43746 (exit $ac_status); } &&
43747 { ac_try='test -z "$ac_c_werror_flag"
43748 || test ! -s conftest.err'
43749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43750 (eval $ac_try) 2>&5
43751 ac_status=$?
43752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43753 (exit $ac_status); }; } &&
43754 { ac_try='test -s conftest$ac_exeext'
43755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43756 (eval $ac_try) 2>&5
43757 ac_status=$?
43758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43759 (exit $ac_status); }; }; then
43760 eval "$as_ac_var=yes"
43761 else
43762 echo "$as_me: failed program was:" >&5
43763 sed 's/^/| /' conftest.$ac_ext >&5
43765 eval "$as_ac_var=no"
43767 rm -f conftest.err conftest.$ac_objext \
43768 conftest$ac_exeext conftest.$ac_ext
43770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43772 if test `eval echo '${'$as_ac_var'}'` = yes; then
43773 cat >>confdefs.h <<_ACEOF
43774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43775 _ACEOF
43778 done
43788 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
43789 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
43790 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
43791 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
43792 echo $ECHO_N "(cached) $ECHO_C" >&6
43793 else
43797 ac_ext=cc
43798 ac_cpp='$CXXCPP $CPPFLAGS'
43799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43803 cat >conftest.$ac_ext <<_ACEOF
43804 /* confdefs.h. */
43805 _ACEOF
43806 cat confdefs.h >>conftest.$ac_ext
43807 cat >>conftest.$ac_ext <<_ACEOF
43808 /* end confdefs.h. */
43809 #include <math.h>
43810 #ifdef HAVE_IEEEFP_H
43811 #include <ieeefp.h>
43812 #endif
43815 main ()
43817 fpclass(0);
43819 return 0;
43821 _ACEOF
43822 rm -f conftest.$ac_objext
43823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43824 (eval $ac_compile) 2>conftest.er1
43825 ac_status=$?
43826 grep -v '^ *+' conftest.er1 >conftest.err
43827 rm -f conftest.er1
43828 cat conftest.err >&5
43829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43830 (exit $ac_status); } &&
43831 { ac_try='test -z "$ac_cxx_werror_flag"
43832 || test ! -s conftest.err'
43833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43834 (eval $ac_try) 2>&5
43835 ac_status=$?
43836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43837 (exit $ac_status); }; } &&
43838 { ac_try='test -s conftest.$ac_objext'
43839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43840 (eval $ac_try) 2>&5
43841 ac_status=$?
43842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43843 (exit $ac_status); }; }; then
43844 glibcxx_cv_func_fpclass_use=yes
43845 else
43846 echo "$as_me: failed program was:" >&5
43847 sed 's/^/| /' conftest.$ac_ext >&5
43849 glibcxx_cv_func_fpclass_use=no
43851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43852 ac_ext=c
43853 ac_cpp='$CPP $CPPFLAGS'
43854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43862 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
43863 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
43865 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
43867 for ac_func in fpclass
43869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43870 echo "$as_me:$LINENO: checking for $ac_func" >&5
43871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43872 if eval "test \"\${$as_ac_var+set}\" = set"; then
43873 echo $ECHO_N "(cached) $ECHO_C" >&6
43874 else
43875 if test x$gcc_no_link = xyes; then
43876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43878 { (exit 1); exit 1; }; }
43880 cat >conftest.$ac_ext <<_ACEOF
43881 /* confdefs.h. */
43882 _ACEOF
43883 cat confdefs.h >>conftest.$ac_ext
43884 cat >>conftest.$ac_ext <<_ACEOF
43885 /* end confdefs.h. */
43886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43888 #define $ac_func innocuous_$ac_func
43890 /* System header to define __stub macros and hopefully few prototypes,
43891 which can conflict with char $ac_func (); below.
43892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43893 <limits.h> exists even on freestanding compilers. */
43895 #ifdef __STDC__
43896 # include <limits.h>
43897 #else
43898 # include <assert.h>
43899 #endif
43901 #undef $ac_func
43903 /* Override any gcc2 internal prototype to avoid an error. */
43904 #ifdef __cplusplus
43905 extern "C"
43907 #endif
43908 /* We use char because int might match the return type of a gcc2
43909 builtin and then its argument prototype would still apply. */
43910 char $ac_func ();
43911 /* The GNU C library defines this for functions which it implements
43912 to always fail with ENOSYS. Some functions are actually named
43913 something starting with __ and the normal name is an alias. */
43914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43915 choke me
43916 #else
43917 char (*f) () = $ac_func;
43918 #endif
43919 #ifdef __cplusplus
43921 #endif
43924 main ()
43926 return f != $ac_func;
43928 return 0;
43930 _ACEOF
43931 rm -f conftest.$ac_objext conftest$ac_exeext
43932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43933 (eval $ac_link) 2>conftest.er1
43934 ac_status=$?
43935 grep -v '^ *+' conftest.er1 >conftest.err
43936 rm -f conftest.er1
43937 cat conftest.err >&5
43938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43939 (exit $ac_status); } &&
43940 { ac_try='test -z "$ac_c_werror_flag"
43941 || test ! -s conftest.err'
43942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43943 (eval $ac_try) 2>&5
43944 ac_status=$?
43945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43946 (exit $ac_status); }; } &&
43947 { ac_try='test -s conftest$ac_exeext'
43948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43949 (eval $ac_try) 2>&5
43950 ac_status=$?
43951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43952 (exit $ac_status); }; }; then
43953 eval "$as_ac_var=yes"
43954 else
43955 echo "$as_me: failed program was:" >&5
43956 sed 's/^/| /' conftest.$ac_ext >&5
43958 eval "$as_ac_var=no"
43960 rm -f conftest.err conftest.$ac_objext \
43961 conftest$ac_exeext conftest.$ac_ext
43963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43965 if test `eval echo '${'$as_ac_var'}'` = yes; then
43966 cat >>confdefs.h <<_ACEOF
43967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43968 _ACEOF
43971 done
43973 else
43975 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
43976 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
43977 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
43978 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
43979 echo $ECHO_N "(cached) $ECHO_C" >&6
43980 else
43984 ac_ext=cc
43985 ac_cpp='$CXXCPP $CPPFLAGS'
43986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43990 cat >conftest.$ac_ext <<_ACEOF
43991 /* confdefs.h. */
43992 _ACEOF
43993 cat confdefs.h >>conftest.$ac_ext
43994 cat >>conftest.$ac_ext <<_ACEOF
43995 /* end confdefs.h. */
43996 #include <math.h>
43997 #ifdef HAVE_IEEEFP_H
43998 #include <ieeefp.h>
43999 #endif
44002 main ()
44004 _fpclass(0);
44006 return 0;
44008 _ACEOF
44009 rm -f conftest.$ac_objext
44010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44011 (eval $ac_compile) 2>conftest.er1
44012 ac_status=$?
44013 grep -v '^ *+' conftest.er1 >conftest.err
44014 rm -f conftest.er1
44015 cat conftest.err >&5
44016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44017 (exit $ac_status); } &&
44018 { ac_try='test -z "$ac_cxx_werror_flag"
44019 || test ! -s conftest.err'
44020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44021 (eval $ac_try) 2>&5
44022 ac_status=$?
44023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44024 (exit $ac_status); }; } &&
44025 { ac_try='test -s conftest.$ac_objext'
44026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44027 (eval $ac_try) 2>&5
44028 ac_status=$?
44029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44030 (exit $ac_status); }; }; then
44031 glibcxx_cv_func__fpclass_use=yes
44032 else
44033 echo "$as_me: failed program was:" >&5
44034 sed 's/^/| /' conftest.$ac_ext >&5
44036 glibcxx_cv_func__fpclass_use=no
44038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44039 ac_ext=c
44040 ac_cpp='$CPP $CPPFLAGS'
44041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44049 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
44050 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
44052 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
44054 for ac_func in _fpclass
44056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44057 echo "$as_me:$LINENO: checking for $ac_func" >&5
44058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44059 if eval "test \"\${$as_ac_var+set}\" = set"; then
44060 echo $ECHO_N "(cached) $ECHO_C" >&6
44061 else
44062 if test x$gcc_no_link = xyes; then
44063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44065 { (exit 1); exit 1; }; }
44067 cat >conftest.$ac_ext <<_ACEOF
44068 /* confdefs.h. */
44069 _ACEOF
44070 cat confdefs.h >>conftest.$ac_ext
44071 cat >>conftest.$ac_ext <<_ACEOF
44072 /* end confdefs.h. */
44073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44075 #define $ac_func innocuous_$ac_func
44077 /* System header to define __stub macros and hopefully few prototypes,
44078 which can conflict with char $ac_func (); below.
44079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44080 <limits.h> exists even on freestanding compilers. */
44082 #ifdef __STDC__
44083 # include <limits.h>
44084 #else
44085 # include <assert.h>
44086 #endif
44088 #undef $ac_func
44090 /* Override any gcc2 internal prototype to avoid an error. */
44091 #ifdef __cplusplus
44092 extern "C"
44094 #endif
44095 /* We use char because int might match the return type of a gcc2
44096 builtin and then its argument prototype would still apply. */
44097 char $ac_func ();
44098 /* The GNU C library defines this for functions which it implements
44099 to always fail with ENOSYS. Some functions are actually named
44100 something starting with __ and the normal name is an alias. */
44101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44102 choke me
44103 #else
44104 char (*f) () = $ac_func;
44105 #endif
44106 #ifdef __cplusplus
44108 #endif
44111 main ()
44113 return f != $ac_func;
44115 return 0;
44117 _ACEOF
44118 rm -f conftest.$ac_objext conftest$ac_exeext
44119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44120 (eval $ac_link) 2>conftest.er1
44121 ac_status=$?
44122 grep -v '^ *+' conftest.er1 >conftest.err
44123 rm -f conftest.er1
44124 cat conftest.err >&5
44125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44126 (exit $ac_status); } &&
44127 { ac_try='test -z "$ac_c_werror_flag"
44128 || test ! -s conftest.err'
44129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44130 (eval $ac_try) 2>&5
44131 ac_status=$?
44132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44133 (exit $ac_status); }; } &&
44134 { ac_try='test -s conftest$ac_exeext'
44135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44136 (eval $ac_try) 2>&5
44137 ac_status=$?
44138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44139 (exit $ac_status); }; }; then
44140 eval "$as_ac_var=yes"
44141 else
44142 echo "$as_me: failed program was:" >&5
44143 sed 's/^/| /' conftest.$ac_ext >&5
44145 eval "$as_ac_var=no"
44147 rm -f conftest.err conftest.$ac_objext \
44148 conftest$ac_exeext conftest.$ac_ext
44150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44152 if test `eval echo '${'$as_ac_var'}'` = yes; then
44153 cat >>confdefs.h <<_ACEOF
44154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44155 _ACEOF
44158 done
44168 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
44169 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
44170 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
44171 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
44172 echo $ECHO_N "(cached) $ECHO_C" >&6
44173 else
44177 ac_ext=cc
44178 ac_cpp='$CXXCPP $CPPFLAGS'
44179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44183 cat >conftest.$ac_ext <<_ACEOF
44184 /* confdefs.h. */
44185 _ACEOF
44186 cat confdefs.h >>conftest.$ac_ext
44187 cat >>conftest.$ac_ext <<_ACEOF
44188 /* end confdefs.h. */
44189 #include <math.h>
44190 #ifdef HAVE_IEEEFP_H
44191 #include <ieeefp.h>
44192 #endif
44195 main ()
44197 qfpclass(0);
44199 return 0;
44201 _ACEOF
44202 rm -f conftest.$ac_objext
44203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44204 (eval $ac_compile) 2>conftest.er1
44205 ac_status=$?
44206 grep -v '^ *+' conftest.er1 >conftest.err
44207 rm -f conftest.er1
44208 cat conftest.err >&5
44209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44210 (exit $ac_status); } &&
44211 { ac_try='test -z "$ac_cxx_werror_flag"
44212 || test ! -s conftest.err'
44213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44214 (eval $ac_try) 2>&5
44215 ac_status=$?
44216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44217 (exit $ac_status); }; } &&
44218 { ac_try='test -s conftest.$ac_objext'
44219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44220 (eval $ac_try) 2>&5
44221 ac_status=$?
44222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44223 (exit $ac_status); }; }; then
44224 glibcxx_cv_func_qfpclass_use=yes
44225 else
44226 echo "$as_me: failed program was:" >&5
44227 sed 's/^/| /' conftest.$ac_ext >&5
44229 glibcxx_cv_func_qfpclass_use=no
44231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44232 ac_ext=c
44233 ac_cpp='$CPP $CPPFLAGS'
44234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44242 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
44243 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
44245 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
44247 for ac_func in qfpclass
44249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44250 echo "$as_me:$LINENO: checking for $ac_func" >&5
44251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44252 if eval "test \"\${$as_ac_var+set}\" = set"; then
44253 echo $ECHO_N "(cached) $ECHO_C" >&6
44254 else
44255 if test x$gcc_no_link = xyes; then
44256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44258 { (exit 1); exit 1; }; }
44260 cat >conftest.$ac_ext <<_ACEOF
44261 /* confdefs.h. */
44262 _ACEOF
44263 cat confdefs.h >>conftest.$ac_ext
44264 cat >>conftest.$ac_ext <<_ACEOF
44265 /* end confdefs.h. */
44266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44268 #define $ac_func innocuous_$ac_func
44270 /* System header to define __stub macros and hopefully few prototypes,
44271 which can conflict with char $ac_func (); below.
44272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44273 <limits.h> exists even on freestanding compilers. */
44275 #ifdef __STDC__
44276 # include <limits.h>
44277 #else
44278 # include <assert.h>
44279 #endif
44281 #undef $ac_func
44283 /* Override any gcc2 internal prototype to avoid an error. */
44284 #ifdef __cplusplus
44285 extern "C"
44287 #endif
44288 /* We use char because int might match the return type of a gcc2
44289 builtin and then its argument prototype would still apply. */
44290 char $ac_func ();
44291 /* The GNU C library defines this for functions which it implements
44292 to always fail with ENOSYS. Some functions are actually named
44293 something starting with __ and the normal name is an alias. */
44294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44295 choke me
44296 #else
44297 char (*f) () = $ac_func;
44298 #endif
44299 #ifdef __cplusplus
44301 #endif
44304 main ()
44306 return f != $ac_func;
44308 return 0;
44310 _ACEOF
44311 rm -f conftest.$ac_objext conftest$ac_exeext
44312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44313 (eval $ac_link) 2>conftest.er1
44314 ac_status=$?
44315 grep -v '^ *+' conftest.er1 >conftest.err
44316 rm -f conftest.er1
44317 cat conftest.err >&5
44318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44319 (exit $ac_status); } &&
44320 { ac_try='test -z "$ac_c_werror_flag"
44321 || test ! -s conftest.err'
44322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44323 (eval $ac_try) 2>&5
44324 ac_status=$?
44325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44326 (exit $ac_status); }; } &&
44327 { ac_try='test -s conftest$ac_exeext'
44328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44329 (eval $ac_try) 2>&5
44330 ac_status=$?
44331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44332 (exit $ac_status); }; }; then
44333 eval "$as_ac_var=yes"
44334 else
44335 echo "$as_me: failed program was:" >&5
44336 sed 's/^/| /' conftest.$ac_ext >&5
44338 eval "$as_ac_var=no"
44340 rm -f conftest.err conftest.$ac_objext \
44341 conftest$ac_exeext conftest.$ac_ext
44343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44345 if test `eval echo '${'$as_ac_var'}'` = yes; then
44346 cat >>confdefs.h <<_ACEOF
44347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44348 _ACEOF
44351 done
44353 else
44355 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
44356 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
44357 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
44358 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
44359 echo $ECHO_N "(cached) $ECHO_C" >&6
44360 else
44364 ac_ext=cc
44365 ac_cpp='$CXXCPP $CPPFLAGS'
44366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44370 cat >conftest.$ac_ext <<_ACEOF
44371 /* confdefs.h. */
44372 _ACEOF
44373 cat confdefs.h >>conftest.$ac_ext
44374 cat >>conftest.$ac_ext <<_ACEOF
44375 /* end confdefs.h. */
44376 #include <math.h>
44377 #ifdef HAVE_IEEEFP_H
44378 #include <ieeefp.h>
44379 #endif
44382 main ()
44384 _qfpclass(0);
44386 return 0;
44388 _ACEOF
44389 rm -f conftest.$ac_objext
44390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44391 (eval $ac_compile) 2>conftest.er1
44392 ac_status=$?
44393 grep -v '^ *+' conftest.er1 >conftest.err
44394 rm -f conftest.er1
44395 cat conftest.err >&5
44396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44397 (exit $ac_status); } &&
44398 { ac_try='test -z "$ac_cxx_werror_flag"
44399 || test ! -s conftest.err'
44400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44401 (eval $ac_try) 2>&5
44402 ac_status=$?
44403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44404 (exit $ac_status); }; } &&
44405 { ac_try='test -s conftest.$ac_objext'
44406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44407 (eval $ac_try) 2>&5
44408 ac_status=$?
44409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44410 (exit $ac_status); }; }; then
44411 glibcxx_cv_func__qfpclass_use=yes
44412 else
44413 echo "$as_me: failed program was:" >&5
44414 sed 's/^/| /' conftest.$ac_ext >&5
44416 glibcxx_cv_func__qfpclass_use=no
44418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44419 ac_ext=c
44420 ac_cpp='$CPP $CPPFLAGS'
44421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44429 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
44430 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
44432 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
44434 for ac_func in _qfpclass
44436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44437 echo "$as_me:$LINENO: checking for $ac_func" >&5
44438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44439 if eval "test \"\${$as_ac_var+set}\" = set"; then
44440 echo $ECHO_N "(cached) $ECHO_C" >&6
44441 else
44442 if test x$gcc_no_link = xyes; then
44443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44445 { (exit 1); exit 1; }; }
44447 cat >conftest.$ac_ext <<_ACEOF
44448 /* confdefs.h. */
44449 _ACEOF
44450 cat confdefs.h >>conftest.$ac_ext
44451 cat >>conftest.$ac_ext <<_ACEOF
44452 /* end confdefs.h. */
44453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44455 #define $ac_func innocuous_$ac_func
44457 /* System header to define __stub macros and hopefully few prototypes,
44458 which can conflict with char $ac_func (); below.
44459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44460 <limits.h> exists even on freestanding compilers. */
44462 #ifdef __STDC__
44463 # include <limits.h>
44464 #else
44465 # include <assert.h>
44466 #endif
44468 #undef $ac_func
44470 /* Override any gcc2 internal prototype to avoid an error. */
44471 #ifdef __cplusplus
44472 extern "C"
44474 #endif
44475 /* We use char because int might match the return type of a gcc2
44476 builtin and then its argument prototype would still apply. */
44477 char $ac_func ();
44478 /* The GNU C library defines this for functions which it implements
44479 to always fail with ENOSYS. Some functions are actually named
44480 something starting with __ and the normal name is an alias. */
44481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44482 choke me
44483 #else
44484 char (*f) () = $ac_func;
44485 #endif
44486 #ifdef __cplusplus
44488 #endif
44491 main ()
44493 return f != $ac_func;
44495 return 0;
44497 _ACEOF
44498 rm -f conftest.$ac_objext conftest$ac_exeext
44499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44500 (eval $ac_link) 2>conftest.er1
44501 ac_status=$?
44502 grep -v '^ *+' conftest.er1 >conftest.err
44503 rm -f conftest.er1
44504 cat conftest.err >&5
44505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44506 (exit $ac_status); } &&
44507 { ac_try='test -z "$ac_c_werror_flag"
44508 || test ! -s conftest.err'
44509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44510 (eval $ac_try) 2>&5
44511 ac_status=$?
44512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44513 (exit $ac_status); }; } &&
44514 { ac_try='test -s conftest$ac_exeext'
44515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44516 (eval $ac_try) 2>&5
44517 ac_status=$?
44518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44519 (exit $ac_status); }; }; then
44520 eval "$as_ac_var=yes"
44521 else
44522 echo "$as_me: failed program was:" >&5
44523 sed 's/^/| /' conftest.$ac_ext >&5
44525 eval "$as_ac_var=no"
44527 rm -f conftest.err conftest.$ac_objext \
44528 conftest$ac_exeext conftest.$ac_ext
44530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44532 if test `eval echo '${'$as_ac_var'}'` = yes; then
44533 cat >>confdefs.h <<_ACEOF
44534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44535 _ACEOF
44538 done
44548 echo "$as_me:$LINENO: checking for hypot declaration" >&5
44549 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
44550 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
44551 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
44552 echo $ECHO_N "(cached) $ECHO_C" >&6
44553 else
44557 ac_ext=cc
44558 ac_cpp='$CXXCPP $CPPFLAGS'
44559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44563 cat >conftest.$ac_ext <<_ACEOF
44564 /* confdefs.h. */
44565 _ACEOF
44566 cat confdefs.h >>conftest.$ac_ext
44567 cat >>conftest.$ac_ext <<_ACEOF
44568 /* end confdefs.h. */
44569 #include <math.h>
44571 main ()
44573 hypot(0, 0);
44575 return 0;
44577 _ACEOF
44578 rm -f conftest.$ac_objext
44579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44580 (eval $ac_compile) 2>conftest.er1
44581 ac_status=$?
44582 grep -v '^ *+' conftest.er1 >conftest.err
44583 rm -f conftest.er1
44584 cat conftest.err >&5
44585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44586 (exit $ac_status); } &&
44587 { ac_try='test -z "$ac_cxx_werror_flag"
44588 || test ! -s conftest.err'
44589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44590 (eval $ac_try) 2>&5
44591 ac_status=$?
44592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44593 (exit $ac_status); }; } &&
44594 { ac_try='test -s conftest.$ac_objext'
44595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44596 (eval $ac_try) 2>&5
44597 ac_status=$?
44598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44599 (exit $ac_status); }; }; then
44600 glibcxx_cv_func_hypot_use=yes
44601 else
44602 echo "$as_me: failed program was:" >&5
44603 sed 's/^/| /' conftest.$ac_ext >&5
44605 glibcxx_cv_func_hypot_use=no
44607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44608 ac_ext=c
44609 ac_cpp='$CPP $CPPFLAGS'
44610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
44619 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
44621 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
44623 for ac_func in hypot
44625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44626 echo "$as_me:$LINENO: checking for $ac_func" >&5
44627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44628 if eval "test \"\${$as_ac_var+set}\" = set"; then
44629 echo $ECHO_N "(cached) $ECHO_C" >&6
44630 else
44631 if test x$gcc_no_link = xyes; then
44632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44634 { (exit 1); exit 1; }; }
44636 cat >conftest.$ac_ext <<_ACEOF
44637 /* confdefs.h. */
44638 _ACEOF
44639 cat confdefs.h >>conftest.$ac_ext
44640 cat >>conftest.$ac_ext <<_ACEOF
44641 /* end confdefs.h. */
44642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44644 #define $ac_func innocuous_$ac_func
44646 /* System header to define __stub macros and hopefully few prototypes,
44647 which can conflict with char $ac_func (); below.
44648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44649 <limits.h> exists even on freestanding compilers. */
44651 #ifdef __STDC__
44652 # include <limits.h>
44653 #else
44654 # include <assert.h>
44655 #endif
44657 #undef $ac_func
44659 /* Override any gcc2 internal prototype to avoid an error. */
44660 #ifdef __cplusplus
44661 extern "C"
44663 #endif
44664 /* We use char because int might match the return type of a gcc2
44665 builtin and then its argument prototype would still apply. */
44666 char $ac_func ();
44667 /* The GNU C library defines this for functions which it implements
44668 to always fail with ENOSYS. Some functions are actually named
44669 something starting with __ and the normal name is an alias. */
44670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44671 choke me
44672 #else
44673 char (*f) () = $ac_func;
44674 #endif
44675 #ifdef __cplusplus
44677 #endif
44680 main ()
44682 return f != $ac_func;
44684 return 0;
44686 _ACEOF
44687 rm -f conftest.$ac_objext conftest$ac_exeext
44688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44689 (eval $ac_link) 2>conftest.er1
44690 ac_status=$?
44691 grep -v '^ *+' conftest.er1 >conftest.err
44692 rm -f conftest.er1
44693 cat conftest.err >&5
44694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44695 (exit $ac_status); } &&
44696 { ac_try='test -z "$ac_c_werror_flag"
44697 || test ! -s conftest.err'
44698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44699 (eval $ac_try) 2>&5
44700 ac_status=$?
44701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44702 (exit $ac_status); }; } &&
44703 { ac_try='test -s conftest$ac_exeext'
44704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44705 (eval $ac_try) 2>&5
44706 ac_status=$?
44707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44708 (exit $ac_status); }; }; then
44709 eval "$as_ac_var=yes"
44710 else
44711 echo "$as_me: failed program was:" >&5
44712 sed 's/^/| /' conftest.$ac_ext >&5
44714 eval "$as_ac_var=no"
44716 rm -f conftest.err conftest.$ac_objext \
44717 conftest$ac_exeext conftest.$ac_ext
44719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44721 if test `eval echo '${'$as_ac_var'}'` = yes; then
44722 cat >>confdefs.h <<_ACEOF
44723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44724 _ACEOF
44727 done
44729 else
44731 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
44732 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
44733 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
44734 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
44735 echo $ECHO_N "(cached) $ECHO_C" >&6
44736 else
44740 ac_ext=cc
44741 ac_cpp='$CXXCPP $CPPFLAGS'
44742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44746 cat >conftest.$ac_ext <<_ACEOF
44747 /* confdefs.h. */
44748 _ACEOF
44749 cat confdefs.h >>conftest.$ac_ext
44750 cat >>conftest.$ac_ext <<_ACEOF
44751 /* end confdefs.h. */
44752 #include <math.h>
44754 main ()
44756 _hypot(0, 0);
44758 return 0;
44760 _ACEOF
44761 rm -f conftest.$ac_objext
44762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44763 (eval $ac_compile) 2>conftest.er1
44764 ac_status=$?
44765 grep -v '^ *+' conftest.er1 >conftest.err
44766 rm -f conftest.er1
44767 cat conftest.err >&5
44768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44769 (exit $ac_status); } &&
44770 { ac_try='test -z "$ac_cxx_werror_flag"
44771 || test ! -s conftest.err'
44772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44773 (eval $ac_try) 2>&5
44774 ac_status=$?
44775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44776 (exit $ac_status); }; } &&
44777 { ac_try='test -s conftest.$ac_objext'
44778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44779 (eval $ac_try) 2>&5
44780 ac_status=$?
44781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44782 (exit $ac_status); }; }; then
44783 glibcxx_cv_func__hypot_use=yes
44784 else
44785 echo "$as_me: failed program was:" >&5
44786 sed 's/^/| /' conftest.$ac_ext >&5
44788 glibcxx_cv_func__hypot_use=no
44790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44791 ac_ext=c
44792 ac_cpp='$CPP $CPPFLAGS'
44793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44801 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
44802 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
44804 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
44806 for ac_func in _hypot
44808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44809 echo "$as_me:$LINENO: checking for $ac_func" >&5
44810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44811 if eval "test \"\${$as_ac_var+set}\" = set"; then
44812 echo $ECHO_N "(cached) $ECHO_C" >&6
44813 else
44814 if test x$gcc_no_link = xyes; then
44815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44817 { (exit 1); exit 1; }; }
44819 cat >conftest.$ac_ext <<_ACEOF
44820 /* confdefs.h. */
44821 _ACEOF
44822 cat confdefs.h >>conftest.$ac_ext
44823 cat >>conftest.$ac_ext <<_ACEOF
44824 /* end confdefs.h. */
44825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44827 #define $ac_func innocuous_$ac_func
44829 /* System header to define __stub macros and hopefully few prototypes,
44830 which can conflict with char $ac_func (); below.
44831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44832 <limits.h> exists even on freestanding compilers. */
44834 #ifdef __STDC__
44835 # include <limits.h>
44836 #else
44837 # include <assert.h>
44838 #endif
44840 #undef $ac_func
44842 /* Override any gcc2 internal prototype to avoid an error. */
44843 #ifdef __cplusplus
44844 extern "C"
44846 #endif
44847 /* We use char because int might match the return type of a gcc2
44848 builtin and then its argument prototype would still apply. */
44849 char $ac_func ();
44850 /* The GNU C library defines this for functions which it implements
44851 to always fail with ENOSYS. Some functions are actually named
44852 something starting with __ and the normal name is an alias. */
44853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44854 choke me
44855 #else
44856 char (*f) () = $ac_func;
44857 #endif
44858 #ifdef __cplusplus
44860 #endif
44863 main ()
44865 return f != $ac_func;
44867 return 0;
44869 _ACEOF
44870 rm -f conftest.$ac_objext conftest$ac_exeext
44871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44872 (eval $ac_link) 2>conftest.er1
44873 ac_status=$?
44874 grep -v '^ *+' conftest.er1 >conftest.err
44875 rm -f conftest.er1
44876 cat conftest.err >&5
44877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44878 (exit $ac_status); } &&
44879 { ac_try='test -z "$ac_c_werror_flag"
44880 || test ! -s conftest.err'
44881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44882 (eval $ac_try) 2>&5
44883 ac_status=$?
44884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44885 (exit $ac_status); }; } &&
44886 { ac_try='test -s conftest$ac_exeext'
44887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44888 (eval $ac_try) 2>&5
44889 ac_status=$?
44890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44891 (exit $ac_status); }; }; then
44892 eval "$as_ac_var=yes"
44893 else
44894 echo "$as_me: failed program was:" >&5
44895 sed 's/^/| /' conftest.$ac_ext >&5
44897 eval "$as_ac_var=no"
44899 rm -f conftest.err conftest.$ac_objext \
44900 conftest$ac_exeext conftest.$ac_ext
44902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44904 if test `eval echo '${'$as_ac_var'}'` = yes; then
44905 cat >>confdefs.h <<_ACEOF
44906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44907 _ACEOF
44910 done
44920 echo "$as_me:$LINENO: checking for float trig functions" >&5
44921 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
44922 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
44923 echo $ECHO_N "(cached) $ECHO_C" >&6
44924 else
44928 ac_ext=cc
44929 ac_cpp='$CXXCPP $CPPFLAGS'
44930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44934 cat >conftest.$ac_ext <<_ACEOF
44935 /* confdefs.h. */
44936 _ACEOF
44937 cat confdefs.h >>conftest.$ac_ext
44938 cat >>conftest.$ac_ext <<_ACEOF
44939 /* end confdefs.h. */
44940 #include <math.h>
44942 main ()
44944 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
44946 return 0;
44948 _ACEOF
44949 rm -f conftest.$ac_objext
44950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44951 (eval $ac_compile) 2>conftest.er1
44952 ac_status=$?
44953 grep -v '^ *+' conftest.er1 >conftest.err
44954 rm -f conftest.er1
44955 cat conftest.err >&5
44956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44957 (exit $ac_status); } &&
44958 { ac_try='test -z "$ac_cxx_werror_flag"
44959 || test ! -s conftest.err'
44960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44961 (eval $ac_try) 2>&5
44962 ac_status=$?
44963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44964 (exit $ac_status); }; } &&
44965 { ac_try='test -s conftest.$ac_objext'
44966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44967 (eval $ac_try) 2>&5
44968 ac_status=$?
44969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44970 (exit $ac_status); }; }; then
44971 glibcxx_cv_func_float_trig_use=yes
44972 else
44973 echo "$as_me: failed program was:" >&5
44974 sed 's/^/| /' conftest.$ac_ext >&5
44976 glibcxx_cv_func_float_trig_use=no
44978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44979 ac_ext=c
44980 ac_cpp='$CPP $CPPFLAGS'
44981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44987 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
44988 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
44989 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
44999 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45002 echo "$as_me:$LINENO: checking for $ac_func" >&5
45003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45004 if eval "test \"\${$as_ac_var+set}\" = set"; then
45005 echo $ECHO_N "(cached) $ECHO_C" >&6
45006 else
45007 if test x$gcc_no_link = xyes; then
45008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45010 { (exit 1); exit 1; }; }
45012 cat >conftest.$ac_ext <<_ACEOF
45013 /* confdefs.h. */
45014 _ACEOF
45015 cat confdefs.h >>conftest.$ac_ext
45016 cat >>conftest.$ac_ext <<_ACEOF
45017 /* end confdefs.h. */
45018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45020 #define $ac_func innocuous_$ac_func
45022 /* System header to define __stub macros and hopefully few prototypes,
45023 which can conflict with char $ac_func (); below.
45024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45025 <limits.h> exists even on freestanding compilers. */
45027 #ifdef __STDC__
45028 # include <limits.h>
45029 #else
45030 # include <assert.h>
45031 #endif
45033 #undef $ac_func
45035 /* Override any gcc2 internal prototype to avoid an error. */
45036 #ifdef __cplusplus
45037 extern "C"
45039 #endif
45040 /* We use char because int might match the return type of a gcc2
45041 builtin and then its argument prototype would still apply. */
45042 char $ac_func ();
45043 /* The GNU C library defines this for functions which it implements
45044 to always fail with ENOSYS. Some functions are actually named
45045 something starting with __ and the normal name is an alias. */
45046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45047 choke me
45048 #else
45049 char (*f) () = $ac_func;
45050 #endif
45051 #ifdef __cplusplus
45053 #endif
45056 main ()
45058 return f != $ac_func;
45060 return 0;
45062 _ACEOF
45063 rm -f conftest.$ac_objext conftest$ac_exeext
45064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45065 (eval $ac_link) 2>conftest.er1
45066 ac_status=$?
45067 grep -v '^ *+' conftest.er1 >conftest.err
45068 rm -f conftest.er1
45069 cat conftest.err >&5
45070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45071 (exit $ac_status); } &&
45072 { ac_try='test -z "$ac_c_werror_flag"
45073 || test ! -s conftest.err'
45074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45075 (eval $ac_try) 2>&5
45076 ac_status=$?
45077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45078 (exit $ac_status); }; } &&
45079 { ac_try='test -s conftest$ac_exeext'
45080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45081 (eval $ac_try) 2>&5
45082 ac_status=$?
45083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45084 (exit $ac_status); }; }; then
45085 eval "$as_ac_var=yes"
45086 else
45087 echo "$as_me: failed program was:" >&5
45088 sed 's/^/| /' conftest.$ac_ext >&5
45090 eval "$as_ac_var=no"
45092 rm -f conftest.err conftest.$ac_objext \
45093 conftest$ac_exeext conftest.$ac_ext
45095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45097 if test `eval echo '${'$as_ac_var'}'` = yes; then
45098 cat >>confdefs.h <<_ACEOF
45099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45100 _ACEOF
45103 done
45105 else
45106 echo "$as_me:$LINENO: checking for _float trig functions" >&5
45107 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
45108 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
45109 echo $ECHO_N "(cached) $ECHO_C" >&6
45110 else
45114 ac_ext=cc
45115 ac_cpp='$CXXCPP $CPPFLAGS'
45116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45120 cat >conftest.$ac_ext <<_ACEOF
45121 /* confdefs.h. */
45122 _ACEOF
45123 cat confdefs.h >>conftest.$ac_ext
45124 cat >>conftest.$ac_ext <<_ACEOF
45125 /* end confdefs.h. */
45126 #include <math.h>
45128 main ()
45130 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45132 return 0;
45134 _ACEOF
45135 rm -f conftest.$ac_objext
45136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45137 (eval $ac_compile) 2>conftest.er1
45138 ac_status=$?
45139 grep -v '^ *+' conftest.er1 >conftest.err
45140 rm -f conftest.er1
45141 cat conftest.err >&5
45142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45143 (exit $ac_status); } &&
45144 { ac_try='test -z "$ac_cxx_werror_flag"
45145 || test ! -s conftest.err'
45146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45147 (eval $ac_try) 2>&5
45148 ac_status=$?
45149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45150 (exit $ac_status); }; } &&
45151 { ac_try='test -s conftest.$ac_objext'
45152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45153 (eval $ac_try) 2>&5
45154 ac_status=$?
45155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45156 (exit $ac_status); }; }; then
45157 glibcxx_cv_func__float_trig_use=yes
45158 else
45159 echo "$as_me: failed program was:" >&5
45160 sed 's/^/| /' conftest.$ac_ext >&5
45162 glibcxx_cv_func__float_trig_use=no
45164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45165 ac_ext=c
45166 ac_cpp='$CPP $CPPFLAGS'
45167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45173 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
45174 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
45175 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45185 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45188 echo "$as_me:$LINENO: checking for $ac_func" >&5
45189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45190 if eval "test \"\${$as_ac_var+set}\" = set"; then
45191 echo $ECHO_N "(cached) $ECHO_C" >&6
45192 else
45193 if test x$gcc_no_link = xyes; then
45194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45196 { (exit 1); exit 1; }; }
45198 cat >conftest.$ac_ext <<_ACEOF
45199 /* confdefs.h. */
45200 _ACEOF
45201 cat confdefs.h >>conftest.$ac_ext
45202 cat >>conftest.$ac_ext <<_ACEOF
45203 /* end confdefs.h. */
45204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45206 #define $ac_func innocuous_$ac_func
45208 /* System header to define __stub macros and hopefully few prototypes,
45209 which can conflict with char $ac_func (); below.
45210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45211 <limits.h> exists even on freestanding compilers. */
45213 #ifdef __STDC__
45214 # include <limits.h>
45215 #else
45216 # include <assert.h>
45217 #endif
45219 #undef $ac_func
45221 /* Override any gcc2 internal prototype to avoid an error. */
45222 #ifdef __cplusplus
45223 extern "C"
45225 #endif
45226 /* We use char because int might match the return type of a gcc2
45227 builtin and then its argument prototype would still apply. */
45228 char $ac_func ();
45229 /* The GNU C library defines this for functions which it implements
45230 to always fail with ENOSYS. Some functions are actually named
45231 something starting with __ and the normal name is an alias. */
45232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45233 choke me
45234 #else
45235 char (*f) () = $ac_func;
45236 #endif
45237 #ifdef __cplusplus
45239 #endif
45242 main ()
45244 return f != $ac_func;
45246 return 0;
45248 _ACEOF
45249 rm -f conftest.$ac_objext conftest$ac_exeext
45250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45251 (eval $ac_link) 2>conftest.er1
45252 ac_status=$?
45253 grep -v '^ *+' conftest.er1 >conftest.err
45254 rm -f conftest.er1
45255 cat conftest.err >&5
45256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45257 (exit $ac_status); } &&
45258 { ac_try='test -z "$ac_c_werror_flag"
45259 || test ! -s conftest.err'
45260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45261 (eval $ac_try) 2>&5
45262 ac_status=$?
45263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45264 (exit $ac_status); }; } &&
45265 { ac_try='test -s conftest$ac_exeext'
45266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45267 (eval $ac_try) 2>&5
45268 ac_status=$?
45269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45270 (exit $ac_status); }; }; then
45271 eval "$as_ac_var=yes"
45272 else
45273 echo "$as_me: failed program was:" >&5
45274 sed 's/^/| /' conftest.$ac_ext >&5
45276 eval "$as_ac_var=no"
45278 rm -f conftest.err conftest.$ac_objext \
45279 conftest$ac_exeext conftest.$ac_ext
45281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45283 if test `eval echo '${'$as_ac_var'}'` = yes; then
45284 cat >>confdefs.h <<_ACEOF
45285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45286 _ACEOF
45289 done
45307 echo "$as_me:$LINENO: checking for float round functions" >&5
45308 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
45309 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
45310 echo $ECHO_N "(cached) $ECHO_C" >&6
45311 else
45315 ac_ext=cc
45316 ac_cpp='$CXXCPP $CPPFLAGS'
45317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45321 cat >conftest.$ac_ext <<_ACEOF
45322 /* confdefs.h. */
45323 _ACEOF
45324 cat confdefs.h >>conftest.$ac_ext
45325 cat >>conftest.$ac_ext <<_ACEOF
45326 /* end confdefs.h. */
45327 #include <math.h>
45329 main ()
45331 ceilf (0); floorf (0);
45333 return 0;
45335 _ACEOF
45336 rm -f conftest.$ac_objext
45337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45338 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_float_round_use=yes
45359 else
45360 echo "$as_me: failed program was:" >&5
45361 sed 's/^/| /' conftest.$ac_ext >&5
45363 glibcxx_cv_func_float_round_use=no
45365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45366 ac_ext=c
45367 ac_cpp='$CPP $CPPFLAGS'
45368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45374 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
45375 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
45376 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45379 for ac_func in ceilf floorf
45381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45382 echo "$as_me:$LINENO: checking for $ac_func" >&5
45383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45384 if eval "test \"\${$as_ac_var+set}\" = set"; then
45385 echo $ECHO_N "(cached) $ECHO_C" >&6
45386 else
45387 if test x$gcc_no_link = xyes; then
45388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45390 { (exit 1); exit 1; }; }
45392 cat >conftest.$ac_ext <<_ACEOF
45393 /* confdefs.h. */
45394 _ACEOF
45395 cat confdefs.h >>conftest.$ac_ext
45396 cat >>conftest.$ac_ext <<_ACEOF
45397 /* end confdefs.h. */
45398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45400 #define $ac_func innocuous_$ac_func
45402 /* System header to define __stub macros and hopefully few prototypes,
45403 which can conflict with char $ac_func (); below.
45404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45405 <limits.h> exists even on freestanding compilers. */
45407 #ifdef __STDC__
45408 # include <limits.h>
45409 #else
45410 # include <assert.h>
45411 #endif
45413 #undef $ac_func
45415 /* Override any gcc2 internal prototype to avoid an error. */
45416 #ifdef __cplusplus
45417 extern "C"
45419 #endif
45420 /* We use char because int might match the return type of a gcc2
45421 builtin and then its argument prototype would still apply. */
45422 char $ac_func ();
45423 /* The GNU C library defines this for functions which it implements
45424 to always fail with ENOSYS. Some functions are actually named
45425 something starting with __ and the normal name is an alias. */
45426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45427 choke me
45428 #else
45429 char (*f) () = $ac_func;
45430 #endif
45431 #ifdef __cplusplus
45433 #endif
45436 main ()
45438 return f != $ac_func;
45440 return 0;
45442 _ACEOF
45443 rm -f conftest.$ac_objext conftest$ac_exeext
45444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45445 (eval $ac_link) 2>conftest.er1
45446 ac_status=$?
45447 grep -v '^ *+' conftest.er1 >conftest.err
45448 rm -f conftest.er1
45449 cat conftest.err >&5
45450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45451 (exit $ac_status); } &&
45452 { ac_try='test -z "$ac_c_werror_flag"
45453 || test ! -s conftest.err'
45454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45455 (eval $ac_try) 2>&5
45456 ac_status=$?
45457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45458 (exit $ac_status); }; } &&
45459 { ac_try='test -s conftest$ac_exeext'
45460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45461 (eval $ac_try) 2>&5
45462 ac_status=$?
45463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45464 (exit $ac_status); }; }; then
45465 eval "$as_ac_var=yes"
45466 else
45467 echo "$as_me: failed program was:" >&5
45468 sed 's/^/| /' conftest.$ac_ext >&5
45470 eval "$as_ac_var=no"
45472 rm -f conftest.err conftest.$ac_objext \
45473 conftest$ac_exeext conftest.$ac_ext
45475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45477 if test `eval echo '${'$as_ac_var'}'` = yes; then
45478 cat >>confdefs.h <<_ACEOF
45479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45480 _ACEOF
45483 done
45485 else
45486 echo "$as_me:$LINENO: checking for _float round functions" >&5
45487 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
45488 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
45489 echo $ECHO_N "(cached) $ECHO_C" >&6
45490 else
45494 ac_ext=cc
45495 ac_cpp='$CXXCPP $CPPFLAGS'
45496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45500 cat >conftest.$ac_ext <<_ACEOF
45501 /* confdefs.h. */
45502 _ACEOF
45503 cat confdefs.h >>conftest.$ac_ext
45504 cat >>conftest.$ac_ext <<_ACEOF
45505 /* end confdefs.h. */
45506 #include <math.h>
45508 main ()
45510 _ceilf (0); _floorf (0);
45512 return 0;
45514 _ACEOF
45515 rm -f conftest.$ac_objext
45516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45517 (eval $ac_compile) 2>conftest.er1
45518 ac_status=$?
45519 grep -v '^ *+' conftest.er1 >conftest.err
45520 rm -f conftest.er1
45521 cat conftest.err >&5
45522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45523 (exit $ac_status); } &&
45524 { ac_try='test -z "$ac_cxx_werror_flag"
45525 || test ! -s conftest.err'
45526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45527 (eval $ac_try) 2>&5
45528 ac_status=$?
45529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45530 (exit $ac_status); }; } &&
45531 { ac_try='test -s conftest.$ac_objext'
45532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45533 (eval $ac_try) 2>&5
45534 ac_status=$?
45535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45536 (exit $ac_status); }; }; then
45537 glibcxx_cv_func__float_round_use=yes
45538 else
45539 echo "$as_me: failed program was:" >&5
45540 sed 's/^/| /' conftest.$ac_ext >&5
45542 glibcxx_cv_func__float_round_use=no
45544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45545 ac_ext=c
45546 ac_cpp='$CPP $CPPFLAGS'
45547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45553 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
45554 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
45555 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45558 for ac_func in _ceilf _floorf
45560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45561 echo "$as_me:$LINENO: checking for $ac_func" >&5
45562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45563 if eval "test \"\${$as_ac_var+set}\" = set"; then
45564 echo $ECHO_N "(cached) $ECHO_C" >&6
45565 else
45566 if test x$gcc_no_link = xyes; then
45567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45569 { (exit 1); exit 1; }; }
45571 cat >conftest.$ac_ext <<_ACEOF
45572 /* confdefs.h. */
45573 _ACEOF
45574 cat confdefs.h >>conftest.$ac_ext
45575 cat >>conftest.$ac_ext <<_ACEOF
45576 /* end confdefs.h. */
45577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45579 #define $ac_func innocuous_$ac_func
45581 /* System header to define __stub macros and hopefully few prototypes,
45582 which can conflict with char $ac_func (); below.
45583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45584 <limits.h> exists even on freestanding compilers. */
45586 #ifdef __STDC__
45587 # include <limits.h>
45588 #else
45589 # include <assert.h>
45590 #endif
45592 #undef $ac_func
45594 /* Override any gcc2 internal prototype to avoid an error. */
45595 #ifdef __cplusplus
45596 extern "C"
45598 #endif
45599 /* We use char because int might match the return type of a gcc2
45600 builtin and then its argument prototype would still apply. */
45601 char $ac_func ();
45602 /* The GNU C library defines this for functions which it implements
45603 to always fail with ENOSYS. Some functions are actually named
45604 something starting with __ and the normal name is an alias. */
45605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45606 choke me
45607 #else
45608 char (*f) () = $ac_func;
45609 #endif
45610 #ifdef __cplusplus
45612 #endif
45615 main ()
45617 return f != $ac_func;
45619 return 0;
45621 _ACEOF
45622 rm -f conftest.$ac_objext conftest$ac_exeext
45623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45624 (eval $ac_link) 2>conftest.er1
45625 ac_status=$?
45626 grep -v '^ *+' conftest.er1 >conftest.err
45627 rm -f conftest.er1
45628 cat conftest.err >&5
45629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45630 (exit $ac_status); } &&
45631 { ac_try='test -z "$ac_c_werror_flag"
45632 || test ! -s conftest.err'
45633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45634 (eval $ac_try) 2>&5
45635 ac_status=$?
45636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637 (exit $ac_status); }; } &&
45638 { ac_try='test -s conftest$ac_exeext'
45639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45640 (eval $ac_try) 2>&5
45641 ac_status=$?
45642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45643 (exit $ac_status); }; }; then
45644 eval "$as_ac_var=yes"
45645 else
45646 echo "$as_me: failed program was:" >&5
45647 sed 's/^/| /' conftest.$ac_ext >&5
45649 eval "$as_ac_var=no"
45651 rm -f conftest.err conftest.$ac_objext \
45652 conftest$ac_exeext conftest.$ac_ext
45654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45656 if test `eval echo '${'$as_ac_var'}'` = yes; then
45657 cat >>confdefs.h <<_ACEOF
45658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45659 _ACEOF
45662 done
45674 echo "$as_me:$LINENO: checking for expf declaration" >&5
45675 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
45676 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45677 if test "${glibcxx_cv_func_expf_use+set}" = set; then
45678 echo $ECHO_N "(cached) $ECHO_C" >&6
45679 else
45683 ac_ext=cc
45684 ac_cpp='$CXXCPP $CPPFLAGS'
45685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45689 cat >conftest.$ac_ext <<_ACEOF
45690 /* confdefs.h. */
45691 _ACEOF
45692 cat confdefs.h >>conftest.$ac_ext
45693 cat >>conftest.$ac_ext <<_ACEOF
45694 /* end confdefs.h. */
45695 #include <math.h>
45696 #ifdef HAVE_IEEEFP_H
45697 #include <ieeefp.h>
45698 #endif
45701 main ()
45703 expf(0);
45705 return 0;
45707 _ACEOF
45708 rm -f conftest.$ac_objext
45709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45710 (eval $ac_compile) 2>conftest.er1
45711 ac_status=$?
45712 grep -v '^ *+' conftest.er1 >conftest.err
45713 rm -f conftest.er1
45714 cat conftest.err >&5
45715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45716 (exit $ac_status); } &&
45717 { ac_try='test -z "$ac_cxx_werror_flag"
45718 || test ! -s conftest.err'
45719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45720 (eval $ac_try) 2>&5
45721 ac_status=$?
45722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45723 (exit $ac_status); }; } &&
45724 { ac_try='test -s conftest.$ac_objext'
45725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45726 (eval $ac_try) 2>&5
45727 ac_status=$?
45728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45729 (exit $ac_status); }; }; then
45730 glibcxx_cv_func_expf_use=yes
45731 else
45732 echo "$as_me: failed program was:" >&5
45733 sed 's/^/| /' conftest.$ac_ext >&5
45735 glibcxx_cv_func_expf_use=no
45737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45738 ac_ext=c
45739 ac_cpp='$CPP $CPPFLAGS'
45740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45748 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
45749 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
45751 if test x$glibcxx_cv_func_expf_use = x"yes"; then
45753 for ac_func in expf
45755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45756 echo "$as_me:$LINENO: checking for $ac_func" >&5
45757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45758 if eval "test \"\${$as_ac_var+set}\" = set"; then
45759 echo $ECHO_N "(cached) $ECHO_C" >&6
45760 else
45761 if test x$gcc_no_link = xyes; then
45762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45764 { (exit 1); exit 1; }; }
45766 cat >conftest.$ac_ext <<_ACEOF
45767 /* confdefs.h. */
45768 _ACEOF
45769 cat confdefs.h >>conftest.$ac_ext
45770 cat >>conftest.$ac_ext <<_ACEOF
45771 /* end confdefs.h. */
45772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45774 #define $ac_func innocuous_$ac_func
45776 /* System header to define __stub macros and hopefully few prototypes,
45777 which can conflict with char $ac_func (); below.
45778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45779 <limits.h> exists even on freestanding compilers. */
45781 #ifdef __STDC__
45782 # include <limits.h>
45783 #else
45784 # include <assert.h>
45785 #endif
45787 #undef $ac_func
45789 /* Override any gcc2 internal prototype to avoid an error. */
45790 #ifdef __cplusplus
45791 extern "C"
45793 #endif
45794 /* We use char because int might match the return type of a gcc2
45795 builtin and then its argument prototype would still apply. */
45796 char $ac_func ();
45797 /* The GNU C library defines this for functions which it implements
45798 to always fail with ENOSYS. Some functions are actually named
45799 something starting with __ and the normal name is an alias. */
45800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45801 choke me
45802 #else
45803 char (*f) () = $ac_func;
45804 #endif
45805 #ifdef __cplusplus
45807 #endif
45810 main ()
45812 return f != $ac_func;
45814 return 0;
45816 _ACEOF
45817 rm -f conftest.$ac_objext conftest$ac_exeext
45818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45819 (eval $ac_link) 2>conftest.er1
45820 ac_status=$?
45821 grep -v '^ *+' conftest.er1 >conftest.err
45822 rm -f conftest.er1
45823 cat conftest.err >&5
45824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45825 (exit $ac_status); } &&
45826 { ac_try='test -z "$ac_c_werror_flag"
45827 || test ! -s conftest.err'
45828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45829 (eval $ac_try) 2>&5
45830 ac_status=$?
45831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45832 (exit $ac_status); }; } &&
45833 { ac_try='test -s conftest$ac_exeext'
45834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45835 (eval $ac_try) 2>&5
45836 ac_status=$?
45837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45838 (exit $ac_status); }; }; then
45839 eval "$as_ac_var=yes"
45840 else
45841 echo "$as_me: failed program was:" >&5
45842 sed 's/^/| /' conftest.$ac_ext >&5
45844 eval "$as_ac_var=no"
45846 rm -f conftest.err conftest.$ac_objext \
45847 conftest$ac_exeext conftest.$ac_ext
45849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45851 if test `eval echo '${'$as_ac_var'}'` = yes; then
45852 cat >>confdefs.h <<_ACEOF
45853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45854 _ACEOF
45857 done
45859 else
45861 echo "$as_me:$LINENO: checking for _expf declaration" >&5
45862 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
45863 if test x${glibcxx_cv_func__expf_use+set} != xset; then
45864 if test "${glibcxx_cv_func__expf_use+set}" = set; then
45865 echo $ECHO_N "(cached) $ECHO_C" >&6
45866 else
45870 ac_ext=cc
45871 ac_cpp='$CXXCPP $CPPFLAGS'
45872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45876 cat >conftest.$ac_ext <<_ACEOF
45877 /* confdefs.h. */
45878 _ACEOF
45879 cat confdefs.h >>conftest.$ac_ext
45880 cat >>conftest.$ac_ext <<_ACEOF
45881 /* end confdefs.h. */
45882 #include <math.h>
45883 #ifdef HAVE_IEEEFP_H
45884 #include <ieeefp.h>
45885 #endif
45888 main ()
45890 _expf(0);
45892 return 0;
45894 _ACEOF
45895 rm -f conftest.$ac_objext
45896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45897 (eval $ac_compile) 2>conftest.er1
45898 ac_status=$?
45899 grep -v '^ *+' conftest.er1 >conftest.err
45900 rm -f conftest.er1
45901 cat conftest.err >&5
45902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45903 (exit $ac_status); } &&
45904 { ac_try='test -z "$ac_cxx_werror_flag"
45905 || test ! -s conftest.err'
45906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45907 (eval $ac_try) 2>&5
45908 ac_status=$?
45909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45910 (exit $ac_status); }; } &&
45911 { ac_try='test -s conftest.$ac_objext'
45912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45913 (eval $ac_try) 2>&5
45914 ac_status=$?
45915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45916 (exit $ac_status); }; }; then
45917 glibcxx_cv_func__expf_use=yes
45918 else
45919 echo "$as_me: failed program was:" >&5
45920 sed 's/^/| /' conftest.$ac_ext >&5
45922 glibcxx_cv_func__expf_use=no
45924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45925 ac_ext=c
45926 ac_cpp='$CPP $CPPFLAGS'
45927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45935 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
45936 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
45938 if test x$glibcxx_cv_func__expf_use = x"yes"; then
45940 for ac_func in _expf
45942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45943 echo "$as_me:$LINENO: checking for $ac_func" >&5
45944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45945 if eval "test \"\${$as_ac_var+set}\" = set"; then
45946 echo $ECHO_N "(cached) $ECHO_C" >&6
45947 else
45948 if test x$gcc_no_link = xyes; then
45949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45951 { (exit 1); exit 1; }; }
45953 cat >conftest.$ac_ext <<_ACEOF
45954 /* confdefs.h. */
45955 _ACEOF
45956 cat confdefs.h >>conftest.$ac_ext
45957 cat >>conftest.$ac_ext <<_ACEOF
45958 /* end confdefs.h. */
45959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45961 #define $ac_func innocuous_$ac_func
45963 /* System header to define __stub macros and hopefully few prototypes,
45964 which can conflict with char $ac_func (); below.
45965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45966 <limits.h> exists even on freestanding compilers. */
45968 #ifdef __STDC__
45969 # include <limits.h>
45970 #else
45971 # include <assert.h>
45972 #endif
45974 #undef $ac_func
45976 /* Override any gcc2 internal prototype to avoid an error. */
45977 #ifdef __cplusplus
45978 extern "C"
45980 #endif
45981 /* We use char because int might match the return type of a gcc2
45982 builtin and then its argument prototype would still apply. */
45983 char $ac_func ();
45984 /* The GNU C library defines this for functions which it implements
45985 to always fail with ENOSYS. Some functions are actually named
45986 something starting with __ and the normal name is an alias. */
45987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45988 choke me
45989 #else
45990 char (*f) () = $ac_func;
45991 #endif
45992 #ifdef __cplusplus
45994 #endif
45997 main ()
45999 return f != $ac_func;
46001 return 0;
46003 _ACEOF
46004 rm -f conftest.$ac_objext conftest$ac_exeext
46005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46006 (eval $ac_link) 2>conftest.er1
46007 ac_status=$?
46008 grep -v '^ *+' conftest.er1 >conftest.err
46009 rm -f conftest.er1
46010 cat conftest.err >&5
46011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46012 (exit $ac_status); } &&
46013 { ac_try='test -z "$ac_c_werror_flag"
46014 || test ! -s conftest.err'
46015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46016 (eval $ac_try) 2>&5
46017 ac_status=$?
46018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46019 (exit $ac_status); }; } &&
46020 { ac_try='test -s conftest$ac_exeext'
46021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46022 (eval $ac_try) 2>&5
46023 ac_status=$?
46024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46025 (exit $ac_status); }; }; then
46026 eval "$as_ac_var=yes"
46027 else
46028 echo "$as_me: failed program was:" >&5
46029 sed 's/^/| /' conftest.$ac_ext >&5
46031 eval "$as_ac_var=no"
46033 rm -f conftest.err conftest.$ac_objext \
46034 conftest$ac_exeext conftest.$ac_ext
46036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46038 if test `eval echo '${'$as_ac_var'}'` = yes; then
46039 cat >>confdefs.h <<_ACEOF
46040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46041 _ACEOF
46044 done
46054 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
46055 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
46056 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46057 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
46058 echo $ECHO_N "(cached) $ECHO_C" >&6
46059 else
46063 ac_ext=cc
46064 ac_cpp='$CXXCPP $CPPFLAGS'
46065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46069 cat >conftest.$ac_ext <<_ACEOF
46070 /* confdefs.h. */
46071 _ACEOF
46072 cat confdefs.h >>conftest.$ac_ext
46073 cat >>conftest.$ac_ext <<_ACEOF
46074 /* end confdefs.h. */
46075 #include <math.h>
46076 #ifdef HAVE_IEEEFP_H
46077 #include <ieeefp.h>
46078 #endif
46081 main ()
46083 isnanf(0);
46085 return 0;
46087 _ACEOF
46088 rm -f conftest.$ac_objext
46089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46090 (eval $ac_compile) 2>conftest.er1
46091 ac_status=$?
46092 grep -v '^ *+' conftest.er1 >conftest.err
46093 rm -f conftest.er1
46094 cat conftest.err >&5
46095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46096 (exit $ac_status); } &&
46097 { ac_try='test -z "$ac_cxx_werror_flag"
46098 || test ! -s conftest.err'
46099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46100 (eval $ac_try) 2>&5
46101 ac_status=$?
46102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46103 (exit $ac_status); }; } &&
46104 { ac_try='test -s conftest.$ac_objext'
46105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46106 (eval $ac_try) 2>&5
46107 ac_status=$?
46108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46109 (exit $ac_status); }; }; then
46110 glibcxx_cv_func_isnanf_use=yes
46111 else
46112 echo "$as_me: failed program was:" >&5
46113 sed 's/^/| /' conftest.$ac_ext >&5
46115 glibcxx_cv_func_isnanf_use=no
46117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46118 ac_ext=c
46119 ac_cpp='$CPP $CPPFLAGS'
46120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46128 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
46129 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
46131 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46133 for ac_func in isnanf
46135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46136 echo "$as_me:$LINENO: checking for $ac_func" >&5
46137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46138 if eval "test \"\${$as_ac_var+set}\" = set"; then
46139 echo $ECHO_N "(cached) $ECHO_C" >&6
46140 else
46141 if test x$gcc_no_link = xyes; then
46142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46144 { (exit 1); exit 1; }; }
46146 cat >conftest.$ac_ext <<_ACEOF
46147 /* confdefs.h. */
46148 _ACEOF
46149 cat confdefs.h >>conftest.$ac_ext
46150 cat >>conftest.$ac_ext <<_ACEOF
46151 /* end confdefs.h. */
46152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46154 #define $ac_func innocuous_$ac_func
46156 /* System header to define __stub macros and hopefully few prototypes,
46157 which can conflict with char $ac_func (); below.
46158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46159 <limits.h> exists even on freestanding compilers. */
46161 #ifdef __STDC__
46162 # include <limits.h>
46163 #else
46164 # include <assert.h>
46165 #endif
46167 #undef $ac_func
46169 /* Override any gcc2 internal prototype to avoid an error. */
46170 #ifdef __cplusplus
46171 extern "C"
46173 #endif
46174 /* We use char because int might match the return type of a gcc2
46175 builtin and then its argument prototype would still apply. */
46176 char $ac_func ();
46177 /* The GNU C library defines this for functions which it implements
46178 to always fail with ENOSYS. Some functions are actually named
46179 something starting with __ and the normal name is an alias. */
46180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46181 choke me
46182 #else
46183 char (*f) () = $ac_func;
46184 #endif
46185 #ifdef __cplusplus
46187 #endif
46190 main ()
46192 return f != $ac_func;
46194 return 0;
46196 _ACEOF
46197 rm -f conftest.$ac_objext conftest$ac_exeext
46198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46199 (eval $ac_link) 2>conftest.er1
46200 ac_status=$?
46201 grep -v '^ *+' conftest.er1 >conftest.err
46202 rm -f conftest.er1
46203 cat conftest.err >&5
46204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46205 (exit $ac_status); } &&
46206 { ac_try='test -z "$ac_c_werror_flag"
46207 || test ! -s conftest.err'
46208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46209 (eval $ac_try) 2>&5
46210 ac_status=$?
46211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46212 (exit $ac_status); }; } &&
46213 { ac_try='test -s conftest$ac_exeext'
46214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46215 (eval $ac_try) 2>&5
46216 ac_status=$?
46217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46218 (exit $ac_status); }; }; then
46219 eval "$as_ac_var=yes"
46220 else
46221 echo "$as_me: failed program was:" >&5
46222 sed 's/^/| /' conftest.$ac_ext >&5
46224 eval "$as_ac_var=no"
46226 rm -f conftest.err conftest.$ac_objext \
46227 conftest$ac_exeext conftest.$ac_ext
46229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46231 if test `eval echo '${'$as_ac_var'}'` = yes; then
46232 cat >>confdefs.h <<_ACEOF
46233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46234 _ACEOF
46237 done
46239 else
46241 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
46242 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
46243 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46244 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
46245 echo $ECHO_N "(cached) $ECHO_C" >&6
46246 else
46250 ac_ext=cc
46251 ac_cpp='$CXXCPP $CPPFLAGS'
46252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46256 cat >conftest.$ac_ext <<_ACEOF
46257 /* confdefs.h. */
46258 _ACEOF
46259 cat confdefs.h >>conftest.$ac_ext
46260 cat >>conftest.$ac_ext <<_ACEOF
46261 /* end confdefs.h. */
46262 #include <math.h>
46263 #ifdef HAVE_IEEEFP_H
46264 #include <ieeefp.h>
46265 #endif
46268 main ()
46270 _isnanf(0);
46272 return 0;
46274 _ACEOF
46275 rm -f conftest.$ac_objext
46276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46277 (eval $ac_compile) 2>conftest.er1
46278 ac_status=$?
46279 grep -v '^ *+' conftest.er1 >conftest.err
46280 rm -f conftest.er1
46281 cat conftest.err >&5
46282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46283 (exit $ac_status); } &&
46284 { ac_try='test -z "$ac_cxx_werror_flag"
46285 || test ! -s conftest.err'
46286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46287 (eval $ac_try) 2>&5
46288 ac_status=$?
46289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46290 (exit $ac_status); }; } &&
46291 { ac_try='test -s conftest.$ac_objext'
46292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46293 (eval $ac_try) 2>&5
46294 ac_status=$?
46295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46296 (exit $ac_status); }; }; then
46297 glibcxx_cv_func__isnanf_use=yes
46298 else
46299 echo "$as_me: failed program was:" >&5
46300 sed 's/^/| /' conftest.$ac_ext >&5
46302 glibcxx_cv_func__isnanf_use=no
46304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46305 ac_ext=c
46306 ac_cpp='$CPP $CPPFLAGS'
46307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46315 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
46316 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
46318 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46320 for ac_func in _isnanf
46322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46323 echo "$as_me:$LINENO: checking for $ac_func" >&5
46324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46325 if eval "test \"\${$as_ac_var+set}\" = set"; then
46326 echo $ECHO_N "(cached) $ECHO_C" >&6
46327 else
46328 if test x$gcc_no_link = xyes; then
46329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46331 { (exit 1); exit 1; }; }
46333 cat >conftest.$ac_ext <<_ACEOF
46334 /* confdefs.h. */
46335 _ACEOF
46336 cat confdefs.h >>conftest.$ac_ext
46337 cat >>conftest.$ac_ext <<_ACEOF
46338 /* end confdefs.h. */
46339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46341 #define $ac_func innocuous_$ac_func
46343 /* System header to define __stub macros and hopefully few prototypes,
46344 which can conflict with char $ac_func (); below.
46345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46346 <limits.h> exists even on freestanding compilers. */
46348 #ifdef __STDC__
46349 # include <limits.h>
46350 #else
46351 # include <assert.h>
46352 #endif
46354 #undef $ac_func
46356 /* Override any gcc2 internal prototype to avoid an error. */
46357 #ifdef __cplusplus
46358 extern "C"
46360 #endif
46361 /* We use char because int might match the return type of a gcc2
46362 builtin and then its argument prototype would still apply. */
46363 char $ac_func ();
46364 /* The GNU C library defines this for functions which it implements
46365 to always fail with ENOSYS. Some functions are actually named
46366 something starting with __ and the normal name is an alias. */
46367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46368 choke me
46369 #else
46370 char (*f) () = $ac_func;
46371 #endif
46372 #ifdef __cplusplus
46374 #endif
46377 main ()
46379 return f != $ac_func;
46381 return 0;
46383 _ACEOF
46384 rm -f conftest.$ac_objext conftest$ac_exeext
46385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46386 (eval $ac_link) 2>conftest.er1
46387 ac_status=$?
46388 grep -v '^ *+' conftest.er1 >conftest.err
46389 rm -f conftest.er1
46390 cat conftest.err >&5
46391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46392 (exit $ac_status); } &&
46393 { ac_try='test -z "$ac_c_werror_flag"
46394 || test ! -s conftest.err'
46395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46396 (eval $ac_try) 2>&5
46397 ac_status=$?
46398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46399 (exit $ac_status); }; } &&
46400 { ac_try='test -s conftest$ac_exeext'
46401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46402 (eval $ac_try) 2>&5
46403 ac_status=$?
46404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46405 (exit $ac_status); }; }; then
46406 eval "$as_ac_var=yes"
46407 else
46408 echo "$as_me: failed program was:" >&5
46409 sed 's/^/| /' conftest.$ac_ext >&5
46411 eval "$as_ac_var=no"
46413 rm -f conftest.err conftest.$ac_objext \
46414 conftest$ac_exeext conftest.$ac_ext
46416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46418 if test `eval echo '${'$as_ac_var'}'` = yes; then
46419 cat >>confdefs.h <<_ACEOF
46420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46421 _ACEOF
46424 done
46434 echo "$as_me:$LINENO: checking for isinff declaration" >&5
46435 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
46436 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46437 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
46438 echo $ECHO_N "(cached) $ECHO_C" >&6
46439 else
46443 ac_ext=cc
46444 ac_cpp='$CXXCPP $CPPFLAGS'
46445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46449 cat >conftest.$ac_ext <<_ACEOF
46450 /* confdefs.h. */
46451 _ACEOF
46452 cat confdefs.h >>conftest.$ac_ext
46453 cat >>conftest.$ac_ext <<_ACEOF
46454 /* end confdefs.h. */
46455 #include <math.h>
46456 #ifdef HAVE_IEEEFP_H
46457 #include <ieeefp.h>
46458 #endif
46461 main ()
46463 isinff(0);
46465 return 0;
46467 _ACEOF
46468 rm -f conftest.$ac_objext
46469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46470 (eval $ac_compile) 2>conftest.er1
46471 ac_status=$?
46472 grep -v '^ *+' conftest.er1 >conftest.err
46473 rm -f conftest.er1
46474 cat conftest.err >&5
46475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46476 (exit $ac_status); } &&
46477 { ac_try='test -z "$ac_cxx_werror_flag"
46478 || test ! -s conftest.err'
46479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46480 (eval $ac_try) 2>&5
46481 ac_status=$?
46482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46483 (exit $ac_status); }; } &&
46484 { ac_try='test -s conftest.$ac_objext'
46485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46486 (eval $ac_try) 2>&5
46487 ac_status=$?
46488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46489 (exit $ac_status); }; }; then
46490 glibcxx_cv_func_isinff_use=yes
46491 else
46492 echo "$as_me: failed program was:" >&5
46493 sed 's/^/| /' conftest.$ac_ext >&5
46495 glibcxx_cv_func_isinff_use=no
46497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46498 ac_ext=c
46499 ac_cpp='$CPP $CPPFLAGS'
46500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46508 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
46509 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
46511 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46513 for ac_func in isinff
46515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46516 echo "$as_me:$LINENO: checking for $ac_func" >&5
46517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46518 if eval "test \"\${$as_ac_var+set}\" = set"; then
46519 echo $ECHO_N "(cached) $ECHO_C" >&6
46520 else
46521 if test x$gcc_no_link = xyes; then
46522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46524 { (exit 1); exit 1; }; }
46526 cat >conftest.$ac_ext <<_ACEOF
46527 /* confdefs.h. */
46528 _ACEOF
46529 cat confdefs.h >>conftest.$ac_ext
46530 cat >>conftest.$ac_ext <<_ACEOF
46531 /* end confdefs.h. */
46532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46534 #define $ac_func innocuous_$ac_func
46536 /* System header to define __stub macros and hopefully few prototypes,
46537 which can conflict with char $ac_func (); below.
46538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46539 <limits.h> exists even on freestanding compilers. */
46541 #ifdef __STDC__
46542 # include <limits.h>
46543 #else
46544 # include <assert.h>
46545 #endif
46547 #undef $ac_func
46549 /* Override any gcc2 internal prototype to avoid an error. */
46550 #ifdef __cplusplus
46551 extern "C"
46553 #endif
46554 /* We use char because int might match the return type of a gcc2
46555 builtin and then its argument prototype would still apply. */
46556 char $ac_func ();
46557 /* The GNU C library defines this for functions which it implements
46558 to always fail with ENOSYS. Some functions are actually named
46559 something starting with __ and the normal name is an alias. */
46560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46561 choke me
46562 #else
46563 char (*f) () = $ac_func;
46564 #endif
46565 #ifdef __cplusplus
46567 #endif
46570 main ()
46572 return f != $ac_func;
46574 return 0;
46576 _ACEOF
46577 rm -f conftest.$ac_objext conftest$ac_exeext
46578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46579 (eval $ac_link) 2>conftest.er1
46580 ac_status=$?
46581 grep -v '^ *+' conftest.er1 >conftest.err
46582 rm -f conftest.er1
46583 cat conftest.err >&5
46584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46585 (exit $ac_status); } &&
46586 { ac_try='test -z "$ac_c_werror_flag"
46587 || test ! -s conftest.err'
46588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46589 (eval $ac_try) 2>&5
46590 ac_status=$?
46591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46592 (exit $ac_status); }; } &&
46593 { ac_try='test -s conftest$ac_exeext'
46594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46595 (eval $ac_try) 2>&5
46596 ac_status=$?
46597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46598 (exit $ac_status); }; }; then
46599 eval "$as_ac_var=yes"
46600 else
46601 echo "$as_me: failed program was:" >&5
46602 sed 's/^/| /' conftest.$ac_ext >&5
46604 eval "$as_ac_var=no"
46606 rm -f conftest.err conftest.$ac_objext \
46607 conftest$ac_exeext conftest.$ac_ext
46609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46611 if test `eval echo '${'$as_ac_var'}'` = yes; then
46612 cat >>confdefs.h <<_ACEOF
46613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46614 _ACEOF
46617 done
46619 else
46621 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
46622 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
46623 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46624 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
46625 echo $ECHO_N "(cached) $ECHO_C" >&6
46626 else
46630 ac_ext=cc
46631 ac_cpp='$CXXCPP $CPPFLAGS'
46632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46636 cat >conftest.$ac_ext <<_ACEOF
46637 /* confdefs.h. */
46638 _ACEOF
46639 cat confdefs.h >>conftest.$ac_ext
46640 cat >>conftest.$ac_ext <<_ACEOF
46641 /* end confdefs.h. */
46642 #include <math.h>
46643 #ifdef HAVE_IEEEFP_H
46644 #include <ieeefp.h>
46645 #endif
46648 main ()
46650 _isinff(0);
46652 return 0;
46654 _ACEOF
46655 rm -f conftest.$ac_objext
46656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46657 (eval $ac_compile) 2>conftest.er1
46658 ac_status=$?
46659 grep -v '^ *+' conftest.er1 >conftest.err
46660 rm -f conftest.er1
46661 cat conftest.err >&5
46662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46663 (exit $ac_status); } &&
46664 { ac_try='test -z "$ac_cxx_werror_flag"
46665 || test ! -s conftest.err'
46666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46667 (eval $ac_try) 2>&5
46668 ac_status=$?
46669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46670 (exit $ac_status); }; } &&
46671 { ac_try='test -s conftest.$ac_objext'
46672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46673 (eval $ac_try) 2>&5
46674 ac_status=$?
46675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46676 (exit $ac_status); }; }; then
46677 glibcxx_cv_func__isinff_use=yes
46678 else
46679 echo "$as_me: failed program was:" >&5
46680 sed 's/^/| /' conftest.$ac_ext >&5
46682 glibcxx_cv_func__isinff_use=no
46684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46685 ac_ext=c
46686 ac_cpp='$CPP $CPPFLAGS'
46687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46695 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
46696 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
46698 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46700 for ac_func in _isinff
46702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46703 echo "$as_me:$LINENO: checking for $ac_func" >&5
46704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46705 if eval "test \"\${$as_ac_var+set}\" = set"; then
46706 echo $ECHO_N "(cached) $ECHO_C" >&6
46707 else
46708 if test x$gcc_no_link = xyes; then
46709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46711 { (exit 1); exit 1; }; }
46713 cat >conftest.$ac_ext <<_ACEOF
46714 /* confdefs.h. */
46715 _ACEOF
46716 cat confdefs.h >>conftest.$ac_ext
46717 cat >>conftest.$ac_ext <<_ACEOF
46718 /* end confdefs.h. */
46719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46721 #define $ac_func innocuous_$ac_func
46723 /* System header to define __stub macros and hopefully few prototypes,
46724 which can conflict with char $ac_func (); below.
46725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46726 <limits.h> exists even on freestanding compilers. */
46728 #ifdef __STDC__
46729 # include <limits.h>
46730 #else
46731 # include <assert.h>
46732 #endif
46734 #undef $ac_func
46736 /* Override any gcc2 internal prototype to avoid an error. */
46737 #ifdef __cplusplus
46738 extern "C"
46740 #endif
46741 /* We use char because int might match the return type of a gcc2
46742 builtin and then its argument prototype would still apply. */
46743 char $ac_func ();
46744 /* The GNU C library defines this for functions which it implements
46745 to always fail with ENOSYS. Some functions are actually named
46746 something starting with __ and the normal name is an alias. */
46747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46748 choke me
46749 #else
46750 char (*f) () = $ac_func;
46751 #endif
46752 #ifdef __cplusplus
46754 #endif
46757 main ()
46759 return f != $ac_func;
46761 return 0;
46763 _ACEOF
46764 rm -f conftest.$ac_objext conftest$ac_exeext
46765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46766 (eval $ac_link) 2>conftest.er1
46767 ac_status=$?
46768 grep -v '^ *+' conftest.er1 >conftest.err
46769 rm -f conftest.er1
46770 cat conftest.err >&5
46771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46772 (exit $ac_status); } &&
46773 { ac_try='test -z "$ac_c_werror_flag"
46774 || test ! -s conftest.err'
46775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46776 (eval $ac_try) 2>&5
46777 ac_status=$?
46778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46779 (exit $ac_status); }; } &&
46780 { ac_try='test -s conftest$ac_exeext'
46781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46782 (eval $ac_try) 2>&5
46783 ac_status=$?
46784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46785 (exit $ac_status); }; }; then
46786 eval "$as_ac_var=yes"
46787 else
46788 echo "$as_me: failed program was:" >&5
46789 sed 's/^/| /' conftest.$ac_ext >&5
46791 eval "$as_ac_var=no"
46793 rm -f conftest.err conftest.$ac_objext \
46794 conftest$ac_exeext conftest.$ac_ext
46796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46798 if test `eval echo '${'$as_ac_var'}'` = yes; then
46799 cat >>confdefs.h <<_ACEOF
46800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46801 _ACEOF
46804 done
46814 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
46815 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
46816 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46817 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
46818 echo $ECHO_N "(cached) $ECHO_C" >&6
46819 else
46823 ac_ext=cc
46824 ac_cpp='$CXXCPP $CPPFLAGS'
46825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46829 cat >conftest.$ac_ext <<_ACEOF
46830 /* confdefs.h. */
46831 _ACEOF
46832 cat confdefs.h >>conftest.$ac_ext
46833 cat >>conftest.$ac_ext <<_ACEOF
46834 /* end confdefs.h. */
46835 #include <math.h>
46837 main ()
46839 atan2f(0, 0);
46841 return 0;
46843 _ACEOF
46844 rm -f conftest.$ac_objext
46845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46846 (eval $ac_compile) 2>conftest.er1
46847 ac_status=$?
46848 grep -v '^ *+' conftest.er1 >conftest.err
46849 rm -f conftest.er1
46850 cat conftest.err >&5
46851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46852 (exit $ac_status); } &&
46853 { ac_try='test -z "$ac_cxx_werror_flag"
46854 || test ! -s conftest.err'
46855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46856 (eval $ac_try) 2>&5
46857 ac_status=$?
46858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46859 (exit $ac_status); }; } &&
46860 { ac_try='test -s conftest.$ac_objext'
46861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46862 (eval $ac_try) 2>&5
46863 ac_status=$?
46864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46865 (exit $ac_status); }; }; then
46866 glibcxx_cv_func_atan2f_use=yes
46867 else
46868 echo "$as_me: failed program was:" >&5
46869 sed 's/^/| /' conftest.$ac_ext >&5
46871 glibcxx_cv_func_atan2f_use=no
46873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46874 ac_ext=c
46875 ac_cpp='$CPP $CPPFLAGS'
46876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46884 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
46885 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
46887 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46889 for ac_func in atan2f
46891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46892 echo "$as_me:$LINENO: checking for $ac_func" >&5
46893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46894 if eval "test \"\${$as_ac_var+set}\" = set"; then
46895 echo $ECHO_N "(cached) $ECHO_C" >&6
46896 else
46897 if test x$gcc_no_link = xyes; then
46898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46900 { (exit 1); exit 1; }; }
46902 cat >conftest.$ac_ext <<_ACEOF
46903 /* confdefs.h. */
46904 _ACEOF
46905 cat confdefs.h >>conftest.$ac_ext
46906 cat >>conftest.$ac_ext <<_ACEOF
46907 /* end confdefs.h. */
46908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46910 #define $ac_func innocuous_$ac_func
46912 /* System header to define __stub macros and hopefully few prototypes,
46913 which can conflict with char $ac_func (); below.
46914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46915 <limits.h> exists even on freestanding compilers. */
46917 #ifdef __STDC__
46918 # include <limits.h>
46919 #else
46920 # include <assert.h>
46921 #endif
46923 #undef $ac_func
46925 /* Override any gcc2 internal prototype to avoid an error. */
46926 #ifdef __cplusplus
46927 extern "C"
46929 #endif
46930 /* We use char because int might match the return type of a gcc2
46931 builtin and then its argument prototype would still apply. */
46932 char $ac_func ();
46933 /* The GNU C library defines this for functions which it implements
46934 to always fail with ENOSYS. Some functions are actually named
46935 something starting with __ and the normal name is an alias. */
46936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46937 choke me
46938 #else
46939 char (*f) () = $ac_func;
46940 #endif
46941 #ifdef __cplusplus
46943 #endif
46946 main ()
46948 return f != $ac_func;
46950 return 0;
46952 _ACEOF
46953 rm -f conftest.$ac_objext conftest$ac_exeext
46954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46955 (eval $ac_link) 2>conftest.er1
46956 ac_status=$?
46957 grep -v '^ *+' conftest.er1 >conftest.err
46958 rm -f conftest.er1
46959 cat conftest.err >&5
46960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46961 (exit $ac_status); } &&
46962 { ac_try='test -z "$ac_c_werror_flag"
46963 || test ! -s conftest.err'
46964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46965 (eval $ac_try) 2>&5
46966 ac_status=$?
46967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46968 (exit $ac_status); }; } &&
46969 { ac_try='test -s conftest$ac_exeext'
46970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46971 (eval $ac_try) 2>&5
46972 ac_status=$?
46973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46974 (exit $ac_status); }; }; then
46975 eval "$as_ac_var=yes"
46976 else
46977 echo "$as_me: failed program was:" >&5
46978 sed 's/^/| /' conftest.$ac_ext >&5
46980 eval "$as_ac_var=no"
46982 rm -f conftest.err conftest.$ac_objext \
46983 conftest$ac_exeext conftest.$ac_ext
46985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46987 if test `eval echo '${'$as_ac_var'}'` = yes; then
46988 cat >>confdefs.h <<_ACEOF
46989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46990 _ACEOF
46993 done
46995 else
46997 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
46998 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
46999 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47000 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
47001 echo $ECHO_N "(cached) $ECHO_C" >&6
47002 else
47006 ac_ext=cc
47007 ac_cpp='$CXXCPP $CPPFLAGS'
47008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47012 cat >conftest.$ac_ext <<_ACEOF
47013 /* confdefs.h. */
47014 _ACEOF
47015 cat confdefs.h >>conftest.$ac_ext
47016 cat >>conftest.$ac_ext <<_ACEOF
47017 /* end confdefs.h. */
47018 #include <math.h>
47020 main ()
47022 _atan2f(0, 0);
47024 return 0;
47026 _ACEOF
47027 rm -f conftest.$ac_objext
47028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47029 (eval $ac_compile) 2>conftest.er1
47030 ac_status=$?
47031 grep -v '^ *+' conftest.er1 >conftest.err
47032 rm -f conftest.er1
47033 cat conftest.err >&5
47034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47035 (exit $ac_status); } &&
47036 { ac_try='test -z "$ac_cxx_werror_flag"
47037 || test ! -s conftest.err'
47038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47039 (eval $ac_try) 2>&5
47040 ac_status=$?
47041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47042 (exit $ac_status); }; } &&
47043 { ac_try='test -s conftest.$ac_objext'
47044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47045 (eval $ac_try) 2>&5
47046 ac_status=$?
47047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47048 (exit $ac_status); }; }; then
47049 glibcxx_cv_func__atan2f_use=yes
47050 else
47051 echo "$as_me: failed program was:" >&5
47052 sed 's/^/| /' conftest.$ac_ext >&5
47054 glibcxx_cv_func__atan2f_use=no
47056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47057 ac_ext=c
47058 ac_cpp='$CPP $CPPFLAGS'
47059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47067 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
47068 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
47070 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47072 for ac_func in _atan2f
47074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47075 echo "$as_me:$LINENO: checking for $ac_func" >&5
47076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47077 if eval "test \"\${$as_ac_var+set}\" = set"; then
47078 echo $ECHO_N "(cached) $ECHO_C" >&6
47079 else
47080 if test x$gcc_no_link = xyes; then
47081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47083 { (exit 1); exit 1; }; }
47085 cat >conftest.$ac_ext <<_ACEOF
47086 /* confdefs.h. */
47087 _ACEOF
47088 cat confdefs.h >>conftest.$ac_ext
47089 cat >>conftest.$ac_ext <<_ACEOF
47090 /* end confdefs.h. */
47091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47093 #define $ac_func innocuous_$ac_func
47095 /* System header to define __stub macros and hopefully few prototypes,
47096 which can conflict with char $ac_func (); below.
47097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47098 <limits.h> exists even on freestanding compilers. */
47100 #ifdef __STDC__
47101 # include <limits.h>
47102 #else
47103 # include <assert.h>
47104 #endif
47106 #undef $ac_func
47108 /* Override any gcc2 internal prototype to avoid an error. */
47109 #ifdef __cplusplus
47110 extern "C"
47112 #endif
47113 /* We use char because int might match the return type of a gcc2
47114 builtin and then its argument prototype would still apply. */
47115 char $ac_func ();
47116 /* The GNU C library defines this for functions which it implements
47117 to always fail with ENOSYS. Some functions are actually named
47118 something starting with __ and the normal name is an alias. */
47119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47120 choke me
47121 #else
47122 char (*f) () = $ac_func;
47123 #endif
47124 #ifdef __cplusplus
47126 #endif
47129 main ()
47131 return f != $ac_func;
47133 return 0;
47135 _ACEOF
47136 rm -f conftest.$ac_objext conftest$ac_exeext
47137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47138 (eval $ac_link) 2>conftest.er1
47139 ac_status=$?
47140 grep -v '^ *+' conftest.er1 >conftest.err
47141 rm -f conftest.er1
47142 cat conftest.err >&5
47143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47144 (exit $ac_status); } &&
47145 { ac_try='test -z "$ac_c_werror_flag"
47146 || test ! -s conftest.err'
47147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47148 (eval $ac_try) 2>&5
47149 ac_status=$?
47150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47151 (exit $ac_status); }; } &&
47152 { ac_try='test -s conftest$ac_exeext'
47153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47154 (eval $ac_try) 2>&5
47155 ac_status=$?
47156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47157 (exit $ac_status); }; }; then
47158 eval "$as_ac_var=yes"
47159 else
47160 echo "$as_me: failed program was:" >&5
47161 sed 's/^/| /' conftest.$ac_ext >&5
47163 eval "$as_ac_var=no"
47165 rm -f conftest.err conftest.$ac_objext \
47166 conftest$ac_exeext conftest.$ac_ext
47168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47170 if test `eval echo '${'$as_ac_var'}'` = yes; then
47171 cat >>confdefs.h <<_ACEOF
47172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47173 _ACEOF
47176 done
47186 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
47187 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
47188 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47189 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
47190 echo $ECHO_N "(cached) $ECHO_C" >&6
47191 else
47195 ac_ext=cc
47196 ac_cpp='$CXXCPP $CPPFLAGS'
47197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47201 cat >conftest.$ac_ext <<_ACEOF
47202 /* confdefs.h. */
47203 _ACEOF
47204 cat confdefs.h >>conftest.$ac_ext
47205 cat >>conftest.$ac_ext <<_ACEOF
47206 /* end confdefs.h. */
47207 #include <math.h>
47208 #ifdef HAVE_IEEEFP_H
47209 #include <ieeefp.h>
47210 #endif
47213 main ()
47215 fabsf(0);
47217 return 0;
47219 _ACEOF
47220 rm -f conftest.$ac_objext
47221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47222 (eval $ac_compile) 2>conftest.er1
47223 ac_status=$?
47224 grep -v '^ *+' conftest.er1 >conftest.err
47225 rm -f conftest.er1
47226 cat conftest.err >&5
47227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47228 (exit $ac_status); } &&
47229 { ac_try='test -z "$ac_cxx_werror_flag"
47230 || test ! -s conftest.err'
47231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47232 (eval $ac_try) 2>&5
47233 ac_status=$?
47234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47235 (exit $ac_status); }; } &&
47236 { ac_try='test -s conftest.$ac_objext'
47237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47238 (eval $ac_try) 2>&5
47239 ac_status=$?
47240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47241 (exit $ac_status); }; }; then
47242 glibcxx_cv_func_fabsf_use=yes
47243 else
47244 echo "$as_me: failed program was:" >&5
47245 sed 's/^/| /' conftest.$ac_ext >&5
47247 glibcxx_cv_func_fabsf_use=no
47249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47250 ac_ext=c
47251 ac_cpp='$CPP $CPPFLAGS'
47252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47260 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
47261 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
47263 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47265 for ac_func in fabsf
47267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47268 echo "$as_me:$LINENO: checking for $ac_func" >&5
47269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47270 if eval "test \"\${$as_ac_var+set}\" = set"; then
47271 echo $ECHO_N "(cached) $ECHO_C" >&6
47272 else
47273 if test x$gcc_no_link = xyes; then
47274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47276 { (exit 1); exit 1; }; }
47278 cat >conftest.$ac_ext <<_ACEOF
47279 /* confdefs.h. */
47280 _ACEOF
47281 cat confdefs.h >>conftest.$ac_ext
47282 cat >>conftest.$ac_ext <<_ACEOF
47283 /* end confdefs.h. */
47284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47286 #define $ac_func innocuous_$ac_func
47288 /* System header to define __stub macros and hopefully few prototypes,
47289 which can conflict with char $ac_func (); below.
47290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47291 <limits.h> exists even on freestanding compilers. */
47293 #ifdef __STDC__
47294 # include <limits.h>
47295 #else
47296 # include <assert.h>
47297 #endif
47299 #undef $ac_func
47301 /* Override any gcc2 internal prototype to avoid an error. */
47302 #ifdef __cplusplus
47303 extern "C"
47305 #endif
47306 /* We use char because int might match the return type of a gcc2
47307 builtin and then its argument prototype would still apply. */
47308 char $ac_func ();
47309 /* The GNU C library defines this for functions which it implements
47310 to always fail with ENOSYS. Some functions are actually named
47311 something starting with __ and the normal name is an alias. */
47312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47313 choke me
47314 #else
47315 char (*f) () = $ac_func;
47316 #endif
47317 #ifdef __cplusplus
47319 #endif
47322 main ()
47324 return f != $ac_func;
47326 return 0;
47328 _ACEOF
47329 rm -f conftest.$ac_objext conftest$ac_exeext
47330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47331 (eval $ac_link) 2>conftest.er1
47332 ac_status=$?
47333 grep -v '^ *+' conftest.er1 >conftest.err
47334 rm -f conftest.er1
47335 cat conftest.err >&5
47336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47337 (exit $ac_status); } &&
47338 { ac_try='test -z "$ac_c_werror_flag"
47339 || test ! -s conftest.err'
47340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47341 (eval $ac_try) 2>&5
47342 ac_status=$?
47343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47344 (exit $ac_status); }; } &&
47345 { ac_try='test -s conftest$ac_exeext'
47346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47347 (eval $ac_try) 2>&5
47348 ac_status=$?
47349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47350 (exit $ac_status); }; }; then
47351 eval "$as_ac_var=yes"
47352 else
47353 echo "$as_me: failed program was:" >&5
47354 sed 's/^/| /' conftest.$ac_ext >&5
47356 eval "$as_ac_var=no"
47358 rm -f conftest.err conftest.$ac_objext \
47359 conftest$ac_exeext conftest.$ac_ext
47361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47363 if test `eval echo '${'$as_ac_var'}'` = yes; then
47364 cat >>confdefs.h <<_ACEOF
47365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47366 _ACEOF
47369 done
47371 else
47373 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
47374 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
47375 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47376 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
47377 echo $ECHO_N "(cached) $ECHO_C" >&6
47378 else
47382 ac_ext=cc
47383 ac_cpp='$CXXCPP $CPPFLAGS'
47384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47388 cat >conftest.$ac_ext <<_ACEOF
47389 /* confdefs.h. */
47390 _ACEOF
47391 cat confdefs.h >>conftest.$ac_ext
47392 cat >>conftest.$ac_ext <<_ACEOF
47393 /* end confdefs.h. */
47394 #include <math.h>
47395 #ifdef HAVE_IEEEFP_H
47396 #include <ieeefp.h>
47397 #endif
47400 main ()
47402 _fabsf(0);
47404 return 0;
47406 _ACEOF
47407 rm -f conftest.$ac_objext
47408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47409 (eval $ac_compile) 2>conftest.er1
47410 ac_status=$?
47411 grep -v '^ *+' conftest.er1 >conftest.err
47412 rm -f conftest.er1
47413 cat conftest.err >&5
47414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47415 (exit $ac_status); } &&
47416 { ac_try='test -z "$ac_cxx_werror_flag"
47417 || test ! -s conftest.err'
47418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47419 (eval $ac_try) 2>&5
47420 ac_status=$?
47421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47422 (exit $ac_status); }; } &&
47423 { ac_try='test -s conftest.$ac_objext'
47424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47425 (eval $ac_try) 2>&5
47426 ac_status=$?
47427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47428 (exit $ac_status); }; }; then
47429 glibcxx_cv_func__fabsf_use=yes
47430 else
47431 echo "$as_me: failed program was:" >&5
47432 sed 's/^/| /' conftest.$ac_ext >&5
47434 glibcxx_cv_func__fabsf_use=no
47436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47437 ac_ext=c
47438 ac_cpp='$CPP $CPPFLAGS'
47439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47447 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
47448 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
47450 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47452 for ac_func in _fabsf
47454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47455 echo "$as_me:$LINENO: checking for $ac_func" >&5
47456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47457 if eval "test \"\${$as_ac_var+set}\" = set"; then
47458 echo $ECHO_N "(cached) $ECHO_C" >&6
47459 else
47460 if test x$gcc_no_link = xyes; then
47461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47463 { (exit 1); exit 1; }; }
47465 cat >conftest.$ac_ext <<_ACEOF
47466 /* confdefs.h. */
47467 _ACEOF
47468 cat confdefs.h >>conftest.$ac_ext
47469 cat >>conftest.$ac_ext <<_ACEOF
47470 /* end confdefs.h. */
47471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47473 #define $ac_func innocuous_$ac_func
47475 /* System header to define __stub macros and hopefully few prototypes,
47476 which can conflict with char $ac_func (); below.
47477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47478 <limits.h> exists even on freestanding compilers. */
47480 #ifdef __STDC__
47481 # include <limits.h>
47482 #else
47483 # include <assert.h>
47484 #endif
47486 #undef $ac_func
47488 /* Override any gcc2 internal prototype to avoid an error. */
47489 #ifdef __cplusplus
47490 extern "C"
47492 #endif
47493 /* We use char because int might match the return type of a gcc2
47494 builtin and then its argument prototype would still apply. */
47495 char $ac_func ();
47496 /* The GNU C library defines this for functions which it implements
47497 to always fail with ENOSYS. Some functions are actually named
47498 something starting with __ and the normal name is an alias. */
47499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47500 choke me
47501 #else
47502 char (*f) () = $ac_func;
47503 #endif
47504 #ifdef __cplusplus
47506 #endif
47509 main ()
47511 return f != $ac_func;
47513 return 0;
47515 _ACEOF
47516 rm -f conftest.$ac_objext conftest$ac_exeext
47517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47518 (eval $ac_link) 2>conftest.er1
47519 ac_status=$?
47520 grep -v '^ *+' conftest.er1 >conftest.err
47521 rm -f conftest.er1
47522 cat conftest.err >&5
47523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47524 (exit $ac_status); } &&
47525 { ac_try='test -z "$ac_c_werror_flag"
47526 || test ! -s conftest.err'
47527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47528 (eval $ac_try) 2>&5
47529 ac_status=$?
47530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47531 (exit $ac_status); }; } &&
47532 { ac_try='test -s conftest$ac_exeext'
47533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47534 (eval $ac_try) 2>&5
47535 ac_status=$?
47536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47537 (exit $ac_status); }; }; then
47538 eval "$as_ac_var=yes"
47539 else
47540 echo "$as_me: failed program was:" >&5
47541 sed 's/^/| /' conftest.$ac_ext >&5
47543 eval "$as_ac_var=no"
47545 rm -f conftest.err conftest.$ac_objext \
47546 conftest$ac_exeext conftest.$ac_ext
47548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47550 if test `eval echo '${'$as_ac_var'}'` = yes; then
47551 cat >>confdefs.h <<_ACEOF
47552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47553 _ACEOF
47556 done
47566 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
47567 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
47568 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47569 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
47570 echo $ECHO_N "(cached) $ECHO_C" >&6
47571 else
47575 ac_ext=cc
47576 ac_cpp='$CXXCPP $CPPFLAGS'
47577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47581 cat >conftest.$ac_ext <<_ACEOF
47582 /* confdefs.h. */
47583 _ACEOF
47584 cat confdefs.h >>conftest.$ac_ext
47585 cat >>conftest.$ac_ext <<_ACEOF
47586 /* end confdefs.h. */
47587 #include <math.h>
47589 main ()
47591 fmodf(0, 0);
47593 return 0;
47595 _ACEOF
47596 rm -f conftest.$ac_objext
47597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47598 (eval $ac_compile) 2>conftest.er1
47599 ac_status=$?
47600 grep -v '^ *+' conftest.er1 >conftest.err
47601 rm -f conftest.er1
47602 cat conftest.err >&5
47603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47604 (exit $ac_status); } &&
47605 { ac_try='test -z "$ac_cxx_werror_flag"
47606 || test ! -s conftest.err'
47607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47608 (eval $ac_try) 2>&5
47609 ac_status=$?
47610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47611 (exit $ac_status); }; } &&
47612 { ac_try='test -s conftest.$ac_objext'
47613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47614 (eval $ac_try) 2>&5
47615 ac_status=$?
47616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47617 (exit $ac_status); }; }; then
47618 glibcxx_cv_func_fmodf_use=yes
47619 else
47620 echo "$as_me: failed program was:" >&5
47621 sed 's/^/| /' conftest.$ac_ext >&5
47623 glibcxx_cv_func_fmodf_use=no
47625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47626 ac_ext=c
47627 ac_cpp='$CPP $CPPFLAGS'
47628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47636 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
47637 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
47639 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47641 for ac_func in fmodf
47643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47644 echo "$as_me:$LINENO: checking for $ac_func" >&5
47645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47646 if eval "test \"\${$as_ac_var+set}\" = set"; then
47647 echo $ECHO_N "(cached) $ECHO_C" >&6
47648 else
47649 if test x$gcc_no_link = xyes; then
47650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47652 { (exit 1); exit 1; }; }
47654 cat >conftest.$ac_ext <<_ACEOF
47655 /* confdefs.h. */
47656 _ACEOF
47657 cat confdefs.h >>conftest.$ac_ext
47658 cat >>conftest.$ac_ext <<_ACEOF
47659 /* end confdefs.h. */
47660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47662 #define $ac_func innocuous_$ac_func
47664 /* System header to define __stub macros and hopefully few prototypes,
47665 which can conflict with char $ac_func (); below.
47666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47667 <limits.h> exists even on freestanding compilers. */
47669 #ifdef __STDC__
47670 # include <limits.h>
47671 #else
47672 # include <assert.h>
47673 #endif
47675 #undef $ac_func
47677 /* Override any gcc2 internal prototype to avoid an error. */
47678 #ifdef __cplusplus
47679 extern "C"
47681 #endif
47682 /* We use char because int might match the return type of a gcc2
47683 builtin and then its argument prototype would still apply. */
47684 char $ac_func ();
47685 /* The GNU C library defines this for functions which it implements
47686 to always fail with ENOSYS. Some functions are actually named
47687 something starting with __ and the normal name is an alias. */
47688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47689 choke me
47690 #else
47691 char (*f) () = $ac_func;
47692 #endif
47693 #ifdef __cplusplus
47695 #endif
47698 main ()
47700 return f != $ac_func;
47702 return 0;
47704 _ACEOF
47705 rm -f conftest.$ac_objext conftest$ac_exeext
47706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47707 (eval $ac_link) 2>conftest.er1
47708 ac_status=$?
47709 grep -v '^ *+' conftest.er1 >conftest.err
47710 rm -f conftest.er1
47711 cat conftest.err >&5
47712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47713 (exit $ac_status); } &&
47714 { ac_try='test -z "$ac_c_werror_flag"
47715 || test ! -s conftest.err'
47716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47717 (eval $ac_try) 2>&5
47718 ac_status=$?
47719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47720 (exit $ac_status); }; } &&
47721 { ac_try='test -s conftest$ac_exeext'
47722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47723 (eval $ac_try) 2>&5
47724 ac_status=$?
47725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47726 (exit $ac_status); }; }; then
47727 eval "$as_ac_var=yes"
47728 else
47729 echo "$as_me: failed program was:" >&5
47730 sed 's/^/| /' conftest.$ac_ext >&5
47732 eval "$as_ac_var=no"
47734 rm -f conftest.err conftest.$ac_objext \
47735 conftest$ac_exeext conftest.$ac_ext
47737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47739 if test `eval echo '${'$as_ac_var'}'` = yes; then
47740 cat >>confdefs.h <<_ACEOF
47741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47742 _ACEOF
47745 done
47747 else
47749 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
47750 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
47751 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47752 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
47753 echo $ECHO_N "(cached) $ECHO_C" >&6
47754 else
47758 ac_ext=cc
47759 ac_cpp='$CXXCPP $CPPFLAGS'
47760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47764 cat >conftest.$ac_ext <<_ACEOF
47765 /* confdefs.h. */
47766 _ACEOF
47767 cat confdefs.h >>conftest.$ac_ext
47768 cat >>conftest.$ac_ext <<_ACEOF
47769 /* end confdefs.h. */
47770 #include <math.h>
47772 main ()
47774 _fmodf(0, 0);
47776 return 0;
47778 _ACEOF
47779 rm -f conftest.$ac_objext
47780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47781 (eval $ac_compile) 2>conftest.er1
47782 ac_status=$?
47783 grep -v '^ *+' conftest.er1 >conftest.err
47784 rm -f conftest.er1
47785 cat conftest.err >&5
47786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47787 (exit $ac_status); } &&
47788 { ac_try='test -z "$ac_cxx_werror_flag"
47789 || test ! -s conftest.err'
47790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47791 (eval $ac_try) 2>&5
47792 ac_status=$?
47793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47794 (exit $ac_status); }; } &&
47795 { ac_try='test -s conftest.$ac_objext'
47796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47797 (eval $ac_try) 2>&5
47798 ac_status=$?
47799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47800 (exit $ac_status); }; }; then
47801 glibcxx_cv_func__fmodf_use=yes
47802 else
47803 echo "$as_me: failed program was:" >&5
47804 sed 's/^/| /' conftest.$ac_ext >&5
47806 glibcxx_cv_func__fmodf_use=no
47808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47809 ac_ext=c
47810 ac_cpp='$CPP $CPPFLAGS'
47811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47819 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
47820 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
47822 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47824 for ac_func in _fmodf
47826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47827 echo "$as_me:$LINENO: checking for $ac_func" >&5
47828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47829 if eval "test \"\${$as_ac_var+set}\" = set"; then
47830 echo $ECHO_N "(cached) $ECHO_C" >&6
47831 else
47832 if test x$gcc_no_link = xyes; then
47833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47835 { (exit 1); exit 1; }; }
47837 cat >conftest.$ac_ext <<_ACEOF
47838 /* confdefs.h. */
47839 _ACEOF
47840 cat confdefs.h >>conftest.$ac_ext
47841 cat >>conftest.$ac_ext <<_ACEOF
47842 /* end confdefs.h. */
47843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47845 #define $ac_func innocuous_$ac_func
47847 /* System header to define __stub macros and hopefully few prototypes,
47848 which can conflict with char $ac_func (); below.
47849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47850 <limits.h> exists even on freestanding compilers. */
47852 #ifdef __STDC__
47853 # include <limits.h>
47854 #else
47855 # include <assert.h>
47856 #endif
47858 #undef $ac_func
47860 /* Override any gcc2 internal prototype to avoid an error. */
47861 #ifdef __cplusplus
47862 extern "C"
47864 #endif
47865 /* We use char because int might match the return type of a gcc2
47866 builtin and then its argument prototype would still apply. */
47867 char $ac_func ();
47868 /* The GNU C library defines this for functions which it implements
47869 to always fail with ENOSYS. Some functions are actually named
47870 something starting with __ and the normal name is an alias. */
47871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47872 choke me
47873 #else
47874 char (*f) () = $ac_func;
47875 #endif
47876 #ifdef __cplusplus
47878 #endif
47881 main ()
47883 return f != $ac_func;
47885 return 0;
47887 _ACEOF
47888 rm -f conftest.$ac_objext conftest$ac_exeext
47889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47890 (eval $ac_link) 2>conftest.er1
47891 ac_status=$?
47892 grep -v '^ *+' conftest.er1 >conftest.err
47893 rm -f conftest.er1
47894 cat conftest.err >&5
47895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47896 (exit $ac_status); } &&
47897 { ac_try='test -z "$ac_c_werror_flag"
47898 || test ! -s conftest.err'
47899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47900 (eval $ac_try) 2>&5
47901 ac_status=$?
47902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47903 (exit $ac_status); }; } &&
47904 { ac_try='test -s conftest$ac_exeext'
47905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47906 (eval $ac_try) 2>&5
47907 ac_status=$?
47908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47909 (exit $ac_status); }; }; then
47910 eval "$as_ac_var=yes"
47911 else
47912 echo "$as_me: failed program was:" >&5
47913 sed 's/^/| /' conftest.$ac_ext >&5
47915 eval "$as_ac_var=no"
47917 rm -f conftest.err conftest.$ac_objext \
47918 conftest$ac_exeext conftest.$ac_ext
47920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47922 if test `eval echo '${'$as_ac_var'}'` = yes; then
47923 cat >>confdefs.h <<_ACEOF
47924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47925 _ACEOF
47928 done
47938 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
47939 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
47940 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47941 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
47942 echo $ECHO_N "(cached) $ECHO_C" >&6
47943 else
47947 ac_ext=cc
47948 ac_cpp='$CXXCPP $CPPFLAGS'
47949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47953 cat >conftest.$ac_ext <<_ACEOF
47954 /* confdefs.h. */
47955 _ACEOF
47956 cat confdefs.h >>conftest.$ac_ext
47957 cat >>conftest.$ac_ext <<_ACEOF
47958 /* end confdefs.h. */
47959 #include <math.h>
47961 main ()
47963 frexpf(0, 0);
47965 return 0;
47967 _ACEOF
47968 rm -f conftest.$ac_objext
47969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47970 (eval $ac_compile) 2>conftest.er1
47971 ac_status=$?
47972 grep -v '^ *+' conftest.er1 >conftest.err
47973 rm -f conftest.er1
47974 cat conftest.err >&5
47975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47976 (exit $ac_status); } &&
47977 { ac_try='test -z "$ac_cxx_werror_flag"
47978 || test ! -s conftest.err'
47979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47980 (eval $ac_try) 2>&5
47981 ac_status=$?
47982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47983 (exit $ac_status); }; } &&
47984 { ac_try='test -s conftest.$ac_objext'
47985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47986 (eval $ac_try) 2>&5
47987 ac_status=$?
47988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47989 (exit $ac_status); }; }; then
47990 glibcxx_cv_func_frexpf_use=yes
47991 else
47992 echo "$as_me: failed program was:" >&5
47993 sed 's/^/| /' conftest.$ac_ext >&5
47995 glibcxx_cv_func_frexpf_use=no
47997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47998 ac_ext=c
47999 ac_cpp='$CPP $CPPFLAGS'
48000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48008 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
48009 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
48011 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48013 for ac_func in frexpf
48015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48016 echo "$as_me:$LINENO: checking for $ac_func" >&5
48017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48018 if eval "test \"\${$as_ac_var+set}\" = set"; then
48019 echo $ECHO_N "(cached) $ECHO_C" >&6
48020 else
48021 if test x$gcc_no_link = xyes; then
48022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48024 { (exit 1); exit 1; }; }
48026 cat >conftest.$ac_ext <<_ACEOF
48027 /* confdefs.h. */
48028 _ACEOF
48029 cat confdefs.h >>conftest.$ac_ext
48030 cat >>conftest.$ac_ext <<_ACEOF
48031 /* end confdefs.h. */
48032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48034 #define $ac_func innocuous_$ac_func
48036 /* System header to define __stub macros and hopefully few prototypes,
48037 which can conflict with char $ac_func (); below.
48038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48039 <limits.h> exists even on freestanding compilers. */
48041 #ifdef __STDC__
48042 # include <limits.h>
48043 #else
48044 # include <assert.h>
48045 #endif
48047 #undef $ac_func
48049 /* Override any gcc2 internal prototype to avoid an error. */
48050 #ifdef __cplusplus
48051 extern "C"
48053 #endif
48054 /* We use char because int might match the return type of a gcc2
48055 builtin and then its argument prototype would still apply. */
48056 char $ac_func ();
48057 /* The GNU C library defines this for functions which it implements
48058 to always fail with ENOSYS. Some functions are actually named
48059 something starting with __ and the normal name is an alias. */
48060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48061 choke me
48062 #else
48063 char (*f) () = $ac_func;
48064 #endif
48065 #ifdef __cplusplus
48067 #endif
48070 main ()
48072 return f != $ac_func;
48074 return 0;
48076 _ACEOF
48077 rm -f conftest.$ac_objext conftest$ac_exeext
48078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48079 (eval $ac_link) 2>conftest.er1
48080 ac_status=$?
48081 grep -v '^ *+' conftest.er1 >conftest.err
48082 rm -f conftest.er1
48083 cat conftest.err >&5
48084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48085 (exit $ac_status); } &&
48086 { ac_try='test -z "$ac_c_werror_flag"
48087 || test ! -s conftest.err'
48088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48089 (eval $ac_try) 2>&5
48090 ac_status=$?
48091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48092 (exit $ac_status); }; } &&
48093 { ac_try='test -s conftest$ac_exeext'
48094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48095 (eval $ac_try) 2>&5
48096 ac_status=$?
48097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48098 (exit $ac_status); }; }; then
48099 eval "$as_ac_var=yes"
48100 else
48101 echo "$as_me: failed program was:" >&5
48102 sed 's/^/| /' conftest.$ac_ext >&5
48104 eval "$as_ac_var=no"
48106 rm -f conftest.err conftest.$ac_objext \
48107 conftest$ac_exeext conftest.$ac_ext
48109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48111 if test `eval echo '${'$as_ac_var'}'` = yes; then
48112 cat >>confdefs.h <<_ACEOF
48113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48114 _ACEOF
48117 done
48119 else
48121 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
48122 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
48123 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48124 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
48125 echo $ECHO_N "(cached) $ECHO_C" >&6
48126 else
48130 ac_ext=cc
48131 ac_cpp='$CXXCPP $CPPFLAGS'
48132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48136 cat >conftest.$ac_ext <<_ACEOF
48137 /* confdefs.h. */
48138 _ACEOF
48139 cat confdefs.h >>conftest.$ac_ext
48140 cat >>conftest.$ac_ext <<_ACEOF
48141 /* end confdefs.h. */
48142 #include <math.h>
48144 main ()
48146 _frexpf(0, 0);
48148 return 0;
48150 _ACEOF
48151 rm -f conftest.$ac_objext
48152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48153 (eval $ac_compile) 2>conftest.er1
48154 ac_status=$?
48155 grep -v '^ *+' conftest.er1 >conftest.err
48156 rm -f conftest.er1
48157 cat conftest.err >&5
48158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48159 (exit $ac_status); } &&
48160 { ac_try='test -z "$ac_cxx_werror_flag"
48161 || test ! -s conftest.err'
48162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48163 (eval $ac_try) 2>&5
48164 ac_status=$?
48165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48166 (exit $ac_status); }; } &&
48167 { ac_try='test -s conftest.$ac_objext'
48168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48169 (eval $ac_try) 2>&5
48170 ac_status=$?
48171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48172 (exit $ac_status); }; }; then
48173 glibcxx_cv_func__frexpf_use=yes
48174 else
48175 echo "$as_me: failed program was:" >&5
48176 sed 's/^/| /' conftest.$ac_ext >&5
48178 glibcxx_cv_func__frexpf_use=no
48180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48181 ac_ext=c
48182 ac_cpp='$CPP $CPPFLAGS'
48183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48191 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
48192 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
48194 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48196 for ac_func in _frexpf
48198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48199 echo "$as_me:$LINENO: checking for $ac_func" >&5
48200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48201 if eval "test \"\${$as_ac_var+set}\" = set"; then
48202 echo $ECHO_N "(cached) $ECHO_C" >&6
48203 else
48204 if test x$gcc_no_link = xyes; then
48205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48207 { (exit 1); exit 1; }; }
48209 cat >conftest.$ac_ext <<_ACEOF
48210 /* confdefs.h. */
48211 _ACEOF
48212 cat confdefs.h >>conftest.$ac_ext
48213 cat >>conftest.$ac_ext <<_ACEOF
48214 /* end confdefs.h. */
48215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48217 #define $ac_func innocuous_$ac_func
48219 /* System header to define __stub macros and hopefully few prototypes,
48220 which can conflict with char $ac_func (); below.
48221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48222 <limits.h> exists even on freestanding compilers. */
48224 #ifdef __STDC__
48225 # include <limits.h>
48226 #else
48227 # include <assert.h>
48228 #endif
48230 #undef $ac_func
48232 /* Override any gcc2 internal prototype to avoid an error. */
48233 #ifdef __cplusplus
48234 extern "C"
48236 #endif
48237 /* We use char because int might match the return type of a gcc2
48238 builtin and then its argument prototype would still apply. */
48239 char $ac_func ();
48240 /* The GNU C library defines this for functions which it implements
48241 to always fail with ENOSYS. Some functions are actually named
48242 something starting with __ and the normal name is an alias. */
48243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48244 choke me
48245 #else
48246 char (*f) () = $ac_func;
48247 #endif
48248 #ifdef __cplusplus
48250 #endif
48253 main ()
48255 return f != $ac_func;
48257 return 0;
48259 _ACEOF
48260 rm -f conftest.$ac_objext conftest$ac_exeext
48261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48262 (eval $ac_link) 2>conftest.er1
48263 ac_status=$?
48264 grep -v '^ *+' conftest.er1 >conftest.err
48265 rm -f conftest.er1
48266 cat conftest.err >&5
48267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48268 (exit $ac_status); } &&
48269 { ac_try='test -z "$ac_c_werror_flag"
48270 || test ! -s conftest.err'
48271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48272 (eval $ac_try) 2>&5
48273 ac_status=$?
48274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48275 (exit $ac_status); }; } &&
48276 { ac_try='test -s conftest$ac_exeext'
48277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48278 (eval $ac_try) 2>&5
48279 ac_status=$?
48280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48281 (exit $ac_status); }; }; then
48282 eval "$as_ac_var=yes"
48283 else
48284 echo "$as_me: failed program was:" >&5
48285 sed 's/^/| /' conftest.$ac_ext >&5
48287 eval "$as_ac_var=no"
48289 rm -f conftest.err conftest.$ac_objext \
48290 conftest$ac_exeext conftest.$ac_ext
48292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48294 if test `eval echo '${'$as_ac_var'}'` = yes; then
48295 cat >>confdefs.h <<_ACEOF
48296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48297 _ACEOF
48300 done
48310 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
48311 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
48312 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48313 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
48314 echo $ECHO_N "(cached) $ECHO_C" >&6
48315 else
48319 ac_ext=cc
48320 ac_cpp='$CXXCPP $CPPFLAGS'
48321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48325 cat >conftest.$ac_ext <<_ACEOF
48326 /* confdefs.h. */
48327 _ACEOF
48328 cat confdefs.h >>conftest.$ac_ext
48329 cat >>conftest.$ac_ext <<_ACEOF
48330 /* end confdefs.h. */
48331 #include <math.h>
48333 main ()
48335 hypotf(0, 0);
48337 return 0;
48339 _ACEOF
48340 rm -f conftest.$ac_objext
48341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48342 (eval $ac_compile) 2>conftest.er1
48343 ac_status=$?
48344 grep -v '^ *+' conftest.er1 >conftest.err
48345 rm -f conftest.er1
48346 cat conftest.err >&5
48347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48348 (exit $ac_status); } &&
48349 { ac_try='test -z "$ac_cxx_werror_flag"
48350 || test ! -s conftest.err'
48351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48352 (eval $ac_try) 2>&5
48353 ac_status=$?
48354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48355 (exit $ac_status); }; } &&
48356 { ac_try='test -s conftest.$ac_objext'
48357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48358 (eval $ac_try) 2>&5
48359 ac_status=$?
48360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48361 (exit $ac_status); }; }; then
48362 glibcxx_cv_func_hypotf_use=yes
48363 else
48364 echo "$as_me: failed program was:" >&5
48365 sed 's/^/| /' conftest.$ac_ext >&5
48367 glibcxx_cv_func_hypotf_use=no
48369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48370 ac_ext=c
48371 ac_cpp='$CPP $CPPFLAGS'
48372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48380 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
48381 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
48383 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48385 for ac_func in hypotf
48387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48388 echo "$as_me:$LINENO: checking for $ac_func" >&5
48389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48390 if eval "test \"\${$as_ac_var+set}\" = set"; then
48391 echo $ECHO_N "(cached) $ECHO_C" >&6
48392 else
48393 if test x$gcc_no_link = xyes; then
48394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48396 { (exit 1); exit 1; }; }
48398 cat >conftest.$ac_ext <<_ACEOF
48399 /* confdefs.h. */
48400 _ACEOF
48401 cat confdefs.h >>conftest.$ac_ext
48402 cat >>conftest.$ac_ext <<_ACEOF
48403 /* end confdefs.h. */
48404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48406 #define $ac_func innocuous_$ac_func
48408 /* System header to define __stub macros and hopefully few prototypes,
48409 which can conflict with char $ac_func (); below.
48410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48411 <limits.h> exists even on freestanding compilers. */
48413 #ifdef __STDC__
48414 # include <limits.h>
48415 #else
48416 # include <assert.h>
48417 #endif
48419 #undef $ac_func
48421 /* Override any gcc2 internal prototype to avoid an error. */
48422 #ifdef __cplusplus
48423 extern "C"
48425 #endif
48426 /* We use char because int might match the return type of a gcc2
48427 builtin and then its argument prototype would still apply. */
48428 char $ac_func ();
48429 /* The GNU C library defines this for functions which it implements
48430 to always fail with ENOSYS. Some functions are actually named
48431 something starting with __ and the normal name is an alias. */
48432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48433 choke me
48434 #else
48435 char (*f) () = $ac_func;
48436 #endif
48437 #ifdef __cplusplus
48439 #endif
48442 main ()
48444 return f != $ac_func;
48446 return 0;
48448 _ACEOF
48449 rm -f conftest.$ac_objext conftest$ac_exeext
48450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48451 (eval $ac_link) 2>conftest.er1
48452 ac_status=$?
48453 grep -v '^ *+' conftest.er1 >conftest.err
48454 rm -f conftest.er1
48455 cat conftest.err >&5
48456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48457 (exit $ac_status); } &&
48458 { ac_try='test -z "$ac_c_werror_flag"
48459 || test ! -s conftest.err'
48460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48461 (eval $ac_try) 2>&5
48462 ac_status=$?
48463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48464 (exit $ac_status); }; } &&
48465 { ac_try='test -s conftest$ac_exeext'
48466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48467 (eval $ac_try) 2>&5
48468 ac_status=$?
48469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48470 (exit $ac_status); }; }; then
48471 eval "$as_ac_var=yes"
48472 else
48473 echo "$as_me: failed program was:" >&5
48474 sed 's/^/| /' conftest.$ac_ext >&5
48476 eval "$as_ac_var=no"
48478 rm -f conftest.err conftest.$ac_objext \
48479 conftest$ac_exeext conftest.$ac_ext
48481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48483 if test `eval echo '${'$as_ac_var'}'` = yes; then
48484 cat >>confdefs.h <<_ACEOF
48485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48486 _ACEOF
48489 done
48491 else
48493 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
48494 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
48495 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48496 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
48497 echo $ECHO_N "(cached) $ECHO_C" >&6
48498 else
48502 ac_ext=cc
48503 ac_cpp='$CXXCPP $CPPFLAGS'
48504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48508 cat >conftest.$ac_ext <<_ACEOF
48509 /* confdefs.h. */
48510 _ACEOF
48511 cat confdefs.h >>conftest.$ac_ext
48512 cat >>conftest.$ac_ext <<_ACEOF
48513 /* end confdefs.h. */
48514 #include <math.h>
48516 main ()
48518 _hypotf(0, 0);
48520 return 0;
48522 _ACEOF
48523 rm -f conftest.$ac_objext
48524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48525 (eval $ac_compile) 2>conftest.er1
48526 ac_status=$?
48527 grep -v '^ *+' conftest.er1 >conftest.err
48528 rm -f conftest.er1
48529 cat conftest.err >&5
48530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48531 (exit $ac_status); } &&
48532 { ac_try='test -z "$ac_cxx_werror_flag"
48533 || test ! -s conftest.err'
48534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48535 (eval $ac_try) 2>&5
48536 ac_status=$?
48537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48538 (exit $ac_status); }; } &&
48539 { ac_try='test -s conftest.$ac_objext'
48540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48541 (eval $ac_try) 2>&5
48542 ac_status=$?
48543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48544 (exit $ac_status); }; }; then
48545 glibcxx_cv_func__hypotf_use=yes
48546 else
48547 echo "$as_me: failed program was:" >&5
48548 sed 's/^/| /' conftest.$ac_ext >&5
48550 glibcxx_cv_func__hypotf_use=no
48552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48553 ac_ext=c
48554 ac_cpp='$CPP $CPPFLAGS'
48555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48563 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
48564 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
48566 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48568 for ac_func in _hypotf
48570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48571 echo "$as_me:$LINENO: checking for $ac_func" >&5
48572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48573 if eval "test \"\${$as_ac_var+set}\" = set"; then
48574 echo $ECHO_N "(cached) $ECHO_C" >&6
48575 else
48576 if test x$gcc_no_link = xyes; then
48577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48579 { (exit 1); exit 1; }; }
48581 cat >conftest.$ac_ext <<_ACEOF
48582 /* confdefs.h. */
48583 _ACEOF
48584 cat confdefs.h >>conftest.$ac_ext
48585 cat >>conftest.$ac_ext <<_ACEOF
48586 /* end confdefs.h. */
48587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48589 #define $ac_func innocuous_$ac_func
48591 /* System header to define __stub macros and hopefully few prototypes,
48592 which can conflict with char $ac_func (); below.
48593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48594 <limits.h> exists even on freestanding compilers. */
48596 #ifdef __STDC__
48597 # include <limits.h>
48598 #else
48599 # include <assert.h>
48600 #endif
48602 #undef $ac_func
48604 /* Override any gcc2 internal prototype to avoid an error. */
48605 #ifdef __cplusplus
48606 extern "C"
48608 #endif
48609 /* We use char because int might match the return type of a gcc2
48610 builtin and then its argument prototype would still apply. */
48611 char $ac_func ();
48612 /* The GNU C library defines this for functions which it implements
48613 to always fail with ENOSYS. Some functions are actually named
48614 something starting with __ and the normal name is an alias. */
48615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48616 choke me
48617 #else
48618 char (*f) () = $ac_func;
48619 #endif
48620 #ifdef __cplusplus
48622 #endif
48625 main ()
48627 return f != $ac_func;
48629 return 0;
48631 _ACEOF
48632 rm -f conftest.$ac_objext conftest$ac_exeext
48633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48634 (eval $ac_link) 2>conftest.er1
48635 ac_status=$?
48636 grep -v '^ *+' conftest.er1 >conftest.err
48637 rm -f conftest.er1
48638 cat conftest.err >&5
48639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48640 (exit $ac_status); } &&
48641 { ac_try='test -z "$ac_c_werror_flag"
48642 || test ! -s conftest.err'
48643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48644 (eval $ac_try) 2>&5
48645 ac_status=$?
48646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48647 (exit $ac_status); }; } &&
48648 { ac_try='test -s conftest$ac_exeext'
48649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48650 (eval $ac_try) 2>&5
48651 ac_status=$?
48652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48653 (exit $ac_status); }; }; then
48654 eval "$as_ac_var=yes"
48655 else
48656 echo "$as_me: failed program was:" >&5
48657 sed 's/^/| /' conftest.$ac_ext >&5
48659 eval "$as_ac_var=no"
48661 rm -f conftest.err conftest.$ac_objext \
48662 conftest$ac_exeext conftest.$ac_ext
48664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48666 if test `eval echo '${'$as_ac_var'}'` = yes; then
48667 cat >>confdefs.h <<_ACEOF
48668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48669 _ACEOF
48672 done
48682 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
48683 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
48684 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48685 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
48686 echo $ECHO_N "(cached) $ECHO_C" >&6
48687 else
48691 ac_ext=cc
48692 ac_cpp='$CXXCPP $CPPFLAGS'
48693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48697 cat >conftest.$ac_ext <<_ACEOF
48698 /* confdefs.h. */
48699 _ACEOF
48700 cat confdefs.h >>conftest.$ac_ext
48701 cat >>conftest.$ac_ext <<_ACEOF
48702 /* end confdefs.h. */
48703 #include <math.h>
48705 main ()
48707 ldexpf(0, 0);
48709 return 0;
48711 _ACEOF
48712 rm -f conftest.$ac_objext
48713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48714 (eval $ac_compile) 2>conftest.er1
48715 ac_status=$?
48716 grep -v '^ *+' conftest.er1 >conftest.err
48717 rm -f conftest.er1
48718 cat conftest.err >&5
48719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48720 (exit $ac_status); } &&
48721 { ac_try='test -z "$ac_cxx_werror_flag"
48722 || test ! -s conftest.err'
48723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48724 (eval $ac_try) 2>&5
48725 ac_status=$?
48726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48727 (exit $ac_status); }; } &&
48728 { ac_try='test -s conftest.$ac_objext'
48729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48730 (eval $ac_try) 2>&5
48731 ac_status=$?
48732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48733 (exit $ac_status); }; }; then
48734 glibcxx_cv_func_ldexpf_use=yes
48735 else
48736 echo "$as_me: failed program was:" >&5
48737 sed 's/^/| /' conftest.$ac_ext >&5
48739 glibcxx_cv_func_ldexpf_use=no
48741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48742 ac_ext=c
48743 ac_cpp='$CPP $CPPFLAGS'
48744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48752 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
48753 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
48755 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48757 for ac_func in ldexpf
48759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48760 echo "$as_me:$LINENO: checking for $ac_func" >&5
48761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48762 if eval "test \"\${$as_ac_var+set}\" = set"; then
48763 echo $ECHO_N "(cached) $ECHO_C" >&6
48764 else
48765 if test x$gcc_no_link = xyes; then
48766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48768 { (exit 1); exit 1; }; }
48770 cat >conftest.$ac_ext <<_ACEOF
48771 /* confdefs.h. */
48772 _ACEOF
48773 cat confdefs.h >>conftest.$ac_ext
48774 cat >>conftest.$ac_ext <<_ACEOF
48775 /* end confdefs.h. */
48776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48778 #define $ac_func innocuous_$ac_func
48780 /* System header to define __stub macros and hopefully few prototypes,
48781 which can conflict with char $ac_func (); below.
48782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48783 <limits.h> exists even on freestanding compilers. */
48785 #ifdef __STDC__
48786 # include <limits.h>
48787 #else
48788 # include <assert.h>
48789 #endif
48791 #undef $ac_func
48793 /* Override any gcc2 internal prototype to avoid an error. */
48794 #ifdef __cplusplus
48795 extern "C"
48797 #endif
48798 /* We use char because int might match the return type of a gcc2
48799 builtin and then its argument prototype would still apply. */
48800 char $ac_func ();
48801 /* The GNU C library defines this for functions which it implements
48802 to always fail with ENOSYS. Some functions are actually named
48803 something starting with __ and the normal name is an alias. */
48804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48805 choke me
48806 #else
48807 char (*f) () = $ac_func;
48808 #endif
48809 #ifdef __cplusplus
48811 #endif
48814 main ()
48816 return f != $ac_func;
48818 return 0;
48820 _ACEOF
48821 rm -f conftest.$ac_objext conftest$ac_exeext
48822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48823 (eval $ac_link) 2>conftest.er1
48824 ac_status=$?
48825 grep -v '^ *+' conftest.er1 >conftest.err
48826 rm -f conftest.er1
48827 cat conftest.err >&5
48828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48829 (exit $ac_status); } &&
48830 { ac_try='test -z "$ac_c_werror_flag"
48831 || test ! -s conftest.err'
48832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48833 (eval $ac_try) 2>&5
48834 ac_status=$?
48835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48836 (exit $ac_status); }; } &&
48837 { ac_try='test -s conftest$ac_exeext'
48838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48839 (eval $ac_try) 2>&5
48840 ac_status=$?
48841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48842 (exit $ac_status); }; }; then
48843 eval "$as_ac_var=yes"
48844 else
48845 echo "$as_me: failed program was:" >&5
48846 sed 's/^/| /' conftest.$ac_ext >&5
48848 eval "$as_ac_var=no"
48850 rm -f conftest.err conftest.$ac_objext \
48851 conftest$ac_exeext conftest.$ac_ext
48853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48855 if test `eval echo '${'$as_ac_var'}'` = yes; then
48856 cat >>confdefs.h <<_ACEOF
48857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48858 _ACEOF
48861 done
48863 else
48865 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
48866 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
48867 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48868 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
48869 echo $ECHO_N "(cached) $ECHO_C" >&6
48870 else
48874 ac_ext=cc
48875 ac_cpp='$CXXCPP $CPPFLAGS'
48876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48880 cat >conftest.$ac_ext <<_ACEOF
48881 /* confdefs.h. */
48882 _ACEOF
48883 cat confdefs.h >>conftest.$ac_ext
48884 cat >>conftest.$ac_ext <<_ACEOF
48885 /* end confdefs.h. */
48886 #include <math.h>
48888 main ()
48890 _ldexpf(0, 0);
48892 return 0;
48894 _ACEOF
48895 rm -f conftest.$ac_objext
48896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48897 (eval $ac_compile) 2>conftest.er1
48898 ac_status=$?
48899 grep -v '^ *+' conftest.er1 >conftest.err
48900 rm -f conftest.er1
48901 cat conftest.err >&5
48902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48903 (exit $ac_status); } &&
48904 { ac_try='test -z "$ac_cxx_werror_flag"
48905 || test ! -s conftest.err'
48906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48907 (eval $ac_try) 2>&5
48908 ac_status=$?
48909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48910 (exit $ac_status); }; } &&
48911 { ac_try='test -s conftest.$ac_objext'
48912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48913 (eval $ac_try) 2>&5
48914 ac_status=$?
48915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48916 (exit $ac_status); }; }; then
48917 glibcxx_cv_func__ldexpf_use=yes
48918 else
48919 echo "$as_me: failed program was:" >&5
48920 sed 's/^/| /' conftest.$ac_ext >&5
48922 glibcxx_cv_func__ldexpf_use=no
48924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48925 ac_ext=c
48926 ac_cpp='$CPP $CPPFLAGS'
48927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48935 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
48936 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
48938 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48940 for ac_func in _ldexpf
48942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48943 echo "$as_me:$LINENO: checking for $ac_func" >&5
48944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48945 if eval "test \"\${$as_ac_var+set}\" = set"; then
48946 echo $ECHO_N "(cached) $ECHO_C" >&6
48947 else
48948 if test x$gcc_no_link = xyes; then
48949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48951 { (exit 1); exit 1; }; }
48953 cat >conftest.$ac_ext <<_ACEOF
48954 /* confdefs.h. */
48955 _ACEOF
48956 cat confdefs.h >>conftest.$ac_ext
48957 cat >>conftest.$ac_ext <<_ACEOF
48958 /* end confdefs.h. */
48959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48961 #define $ac_func innocuous_$ac_func
48963 /* System header to define __stub macros and hopefully few prototypes,
48964 which can conflict with char $ac_func (); below.
48965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48966 <limits.h> exists even on freestanding compilers. */
48968 #ifdef __STDC__
48969 # include <limits.h>
48970 #else
48971 # include <assert.h>
48972 #endif
48974 #undef $ac_func
48976 /* Override any gcc2 internal prototype to avoid an error. */
48977 #ifdef __cplusplus
48978 extern "C"
48980 #endif
48981 /* We use char because int might match the return type of a gcc2
48982 builtin and then its argument prototype would still apply. */
48983 char $ac_func ();
48984 /* The GNU C library defines this for functions which it implements
48985 to always fail with ENOSYS. Some functions are actually named
48986 something starting with __ and the normal name is an alias. */
48987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48988 choke me
48989 #else
48990 char (*f) () = $ac_func;
48991 #endif
48992 #ifdef __cplusplus
48994 #endif
48997 main ()
48999 return f != $ac_func;
49001 return 0;
49003 _ACEOF
49004 rm -f conftest.$ac_objext conftest$ac_exeext
49005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49006 (eval $ac_link) 2>conftest.er1
49007 ac_status=$?
49008 grep -v '^ *+' conftest.er1 >conftest.err
49009 rm -f conftest.er1
49010 cat conftest.err >&5
49011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49012 (exit $ac_status); } &&
49013 { ac_try='test -z "$ac_c_werror_flag"
49014 || test ! -s conftest.err'
49015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49016 (eval $ac_try) 2>&5
49017 ac_status=$?
49018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49019 (exit $ac_status); }; } &&
49020 { ac_try='test -s conftest$ac_exeext'
49021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49022 (eval $ac_try) 2>&5
49023 ac_status=$?
49024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49025 (exit $ac_status); }; }; then
49026 eval "$as_ac_var=yes"
49027 else
49028 echo "$as_me: failed program was:" >&5
49029 sed 's/^/| /' conftest.$ac_ext >&5
49031 eval "$as_ac_var=no"
49033 rm -f conftest.err conftest.$ac_objext \
49034 conftest$ac_exeext conftest.$ac_ext
49036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49038 if test `eval echo '${'$as_ac_var'}'` = yes; then
49039 cat >>confdefs.h <<_ACEOF
49040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49041 _ACEOF
49044 done
49054 echo "$as_me:$LINENO: checking for logf declaration" >&5
49055 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
49056 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49057 if test "${glibcxx_cv_func_logf_use+set}" = set; then
49058 echo $ECHO_N "(cached) $ECHO_C" >&6
49059 else
49063 ac_ext=cc
49064 ac_cpp='$CXXCPP $CPPFLAGS'
49065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49069 cat >conftest.$ac_ext <<_ACEOF
49070 /* confdefs.h. */
49071 _ACEOF
49072 cat confdefs.h >>conftest.$ac_ext
49073 cat >>conftest.$ac_ext <<_ACEOF
49074 /* end confdefs.h. */
49075 #include <math.h>
49076 #ifdef HAVE_IEEEFP_H
49077 #include <ieeefp.h>
49078 #endif
49081 main ()
49083 logf(0);
49085 return 0;
49087 _ACEOF
49088 rm -f conftest.$ac_objext
49089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49090 (eval $ac_compile) 2>conftest.er1
49091 ac_status=$?
49092 grep -v '^ *+' conftest.er1 >conftest.err
49093 rm -f conftest.er1
49094 cat conftest.err >&5
49095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49096 (exit $ac_status); } &&
49097 { ac_try='test -z "$ac_cxx_werror_flag"
49098 || test ! -s conftest.err'
49099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49100 (eval $ac_try) 2>&5
49101 ac_status=$?
49102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49103 (exit $ac_status); }; } &&
49104 { ac_try='test -s conftest.$ac_objext'
49105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49106 (eval $ac_try) 2>&5
49107 ac_status=$?
49108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49109 (exit $ac_status); }; }; then
49110 glibcxx_cv_func_logf_use=yes
49111 else
49112 echo "$as_me: failed program was:" >&5
49113 sed 's/^/| /' conftest.$ac_ext >&5
49115 glibcxx_cv_func_logf_use=no
49117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49118 ac_ext=c
49119 ac_cpp='$CPP $CPPFLAGS'
49120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49128 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
49129 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
49131 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49133 for ac_func in logf
49135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49136 echo "$as_me:$LINENO: checking for $ac_func" >&5
49137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49138 if eval "test \"\${$as_ac_var+set}\" = set"; then
49139 echo $ECHO_N "(cached) $ECHO_C" >&6
49140 else
49141 if test x$gcc_no_link = xyes; then
49142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49144 { (exit 1); exit 1; }; }
49146 cat >conftest.$ac_ext <<_ACEOF
49147 /* confdefs.h. */
49148 _ACEOF
49149 cat confdefs.h >>conftest.$ac_ext
49150 cat >>conftest.$ac_ext <<_ACEOF
49151 /* end confdefs.h. */
49152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49154 #define $ac_func innocuous_$ac_func
49156 /* System header to define __stub macros and hopefully few prototypes,
49157 which can conflict with char $ac_func (); below.
49158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49159 <limits.h> exists even on freestanding compilers. */
49161 #ifdef __STDC__
49162 # include <limits.h>
49163 #else
49164 # include <assert.h>
49165 #endif
49167 #undef $ac_func
49169 /* Override any gcc2 internal prototype to avoid an error. */
49170 #ifdef __cplusplus
49171 extern "C"
49173 #endif
49174 /* We use char because int might match the return type of a gcc2
49175 builtin and then its argument prototype would still apply. */
49176 char $ac_func ();
49177 /* The GNU C library defines this for functions which it implements
49178 to always fail with ENOSYS. Some functions are actually named
49179 something starting with __ and the normal name is an alias. */
49180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49181 choke me
49182 #else
49183 char (*f) () = $ac_func;
49184 #endif
49185 #ifdef __cplusplus
49187 #endif
49190 main ()
49192 return f != $ac_func;
49194 return 0;
49196 _ACEOF
49197 rm -f conftest.$ac_objext conftest$ac_exeext
49198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49199 (eval $ac_link) 2>conftest.er1
49200 ac_status=$?
49201 grep -v '^ *+' conftest.er1 >conftest.err
49202 rm -f conftest.er1
49203 cat conftest.err >&5
49204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49205 (exit $ac_status); } &&
49206 { ac_try='test -z "$ac_c_werror_flag"
49207 || test ! -s conftest.err'
49208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49209 (eval $ac_try) 2>&5
49210 ac_status=$?
49211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49212 (exit $ac_status); }; } &&
49213 { ac_try='test -s conftest$ac_exeext'
49214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49215 (eval $ac_try) 2>&5
49216 ac_status=$?
49217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49218 (exit $ac_status); }; }; then
49219 eval "$as_ac_var=yes"
49220 else
49221 echo "$as_me: failed program was:" >&5
49222 sed 's/^/| /' conftest.$ac_ext >&5
49224 eval "$as_ac_var=no"
49226 rm -f conftest.err conftest.$ac_objext \
49227 conftest$ac_exeext conftest.$ac_ext
49229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49231 if test `eval echo '${'$as_ac_var'}'` = yes; then
49232 cat >>confdefs.h <<_ACEOF
49233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49234 _ACEOF
49237 done
49239 else
49241 echo "$as_me:$LINENO: checking for _logf declaration" >&5
49242 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
49243 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49244 if test "${glibcxx_cv_func__logf_use+set}" = set; then
49245 echo $ECHO_N "(cached) $ECHO_C" >&6
49246 else
49250 ac_ext=cc
49251 ac_cpp='$CXXCPP $CPPFLAGS'
49252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49256 cat >conftest.$ac_ext <<_ACEOF
49257 /* confdefs.h. */
49258 _ACEOF
49259 cat confdefs.h >>conftest.$ac_ext
49260 cat >>conftest.$ac_ext <<_ACEOF
49261 /* end confdefs.h. */
49262 #include <math.h>
49263 #ifdef HAVE_IEEEFP_H
49264 #include <ieeefp.h>
49265 #endif
49268 main ()
49270 _logf(0);
49272 return 0;
49274 _ACEOF
49275 rm -f conftest.$ac_objext
49276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49277 (eval $ac_compile) 2>conftest.er1
49278 ac_status=$?
49279 grep -v '^ *+' conftest.er1 >conftest.err
49280 rm -f conftest.er1
49281 cat conftest.err >&5
49282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49283 (exit $ac_status); } &&
49284 { ac_try='test -z "$ac_cxx_werror_flag"
49285 || test ! -s conftest.err'
49286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49287 (eval $ac_try) 2>&5
49288 ac_status=$?
49289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49290 (exit $ac_status); }; } &&
49291 { ac_try='test -s conftest.$ac_objext'
49292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49293 (eval $ac_try) 2>&5
49294 ac_status=$?
49295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49296 (exit $ac_status); }; }; then
49297 glibcxx_cv_func__logf_use=yes
49298 else
49299 echo "$as_me: failed program was:" >&5
49300 sed 's/^/| /' conftest.$ac_ext >&5
49302 glibcxx_cv_func__logf_use=no
49304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49305 ac_ext=c
49306 ac_cpp='$CPP $CPPFLAGS'
49307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49315 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
49316 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
49318 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49320 for ac_func in _logf
49322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49323 echo "$as_me:$LINENO: checking for $ac_func" >&5
49324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49325 if eval "test \"\${$as_ac_var+set}\" = set"; then
49326 echo $ECHO_N "(cached) $ECHO_C" >&6
49327 else
49328 if test x$gcc_no_link = xyes; then
49329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49331 { (exit 1); exit 1; }; }
49333 cat >conftest.$ac_ext <<_ACEOF
49334 /* confdefs.h. */
49335 _ACEOF
49336 cat confdefs.h >>conftest.$ac_ext
49337 cat >>conftest.$ac_ext <<_ACEOF
49338 /* end confdefs.h. */
49339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49341 #define $ac_func innocuous_$ac_func
49343 /* System header to define __stub macros and hopefully few prototypes,
49344 which can conflict with char $ac_func (); below.
49345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49346 <limits.h> exists even on freestanding compilers. */
49348 #ifdef __STDC__
49349 # include <limits.h>
49350 #else
49351 # include <assert.h>
49352 #endif
49354 #undef $ac_func
49356 /* Override any gcc2 internal prototype to avoid an error. */
49357 #ifdef __cplusplus
49358 extern "C"
49360 #endif
49361 /* We use char because int might match the return type of a gcc2
49362 builtin and then its argument prototype would still apply. */
49363 char $ac_func ();
49364 /* The GNU C library defines this for functions which it implements
49365 to always fail with ENOSYS. Some functions are actually named
49366 something starting with __ and the normal name is an alias. */
49367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49368 choke me
49369 #else
49370 char (*f) () = $ac_func;
49371 #endif
49372 #ifdef __cplusplus
49374 #endif
49377 main ()
49379 return f != $ac_func;
49381 return 0;
49383 _ACEOF
49384 rm -f conftest.$ac_objext conftest$ac_exeext
49385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49386 (eval $ac_link) 2>conftest.er1
49387 ac_status=$?
49388 grep -v '^ *+' conftest.er1 >conftest.err
49389 rm -f conftest.er1
49390 cat conftest.err >&5
49391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49392 (exit $ac_status); } &&
49393 { ac_try='test -z "$ac_c_werror_flag"
49394 || test ! -s conftest.err'
49395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49396 (eval $ac_try) 2>&5
49397 ac_status=$?
49398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49399 (exit $ac_status); }; } &&
49400 { ac_try='test -s conftest$ac_exeext'
49401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49402 (eval $ac_try) 2>&5
49403 ac_status=$?
49404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49405 (exit $ac_status); }; }; then
49406 eval "$as_ac_var=yes"
49407 else
49408 echo "$as_me: failed program was:" >&5
49409 sed 's/^/| /' conftest.$ac_ext >&5
49411 eval "$as_ac_var=no"
49413 rm -f conftest.err conftest.$ac_objext \
49414 conftest$ac_exeext conftest.$ac_ext
49416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49418 if test `eval echo '${'$as_ac_var'}'` = yes; then
49419 cat >>confdefs.h <<_ACEOF
49420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49421 _ACEOF
49424 done
49434 echo "$as_me:$LINENO: checking for log10f declaration" >&5
49435 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
49436 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49437 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
49438 echo $ECHO_N "(cached) $ECHO_C" >&6
49439 else
49443 ac_ext=cc
49444 ac_cpp='$CXXCPP $CPPFLAGS'
49445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49449 cat >conftest.$ac_ext <<_ACEOF
49450 /* confdefs.h. */
49451 _ACEOF
49452 cat confdefs.h >>conftest.$ac_ext
49453 cat >>conftest.$ac_ext <<_ACEOF
49454 /* end confdefs.h. */
49455 #include <math.h>
49456 #ifdef HAVE_IEEEFP_H
49457 #include <ieeefp.h>
49458 #endif
49461 main ()
49463 log10f(0);
49465 return 0;
49467 _ACEOF
49468 rm -f conftest.$ac_objext
49469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49470 (eval $ac_compile) 2>conftest.er1
49471 ac_status=$?
49472 grep -v '^ *+' conftest.er1 >conftest.err
49473 rm -f conftest.er1
49474 cat conftest.err >&5
49475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49476 (exit $ac_status); } &&
49477 { ac_try='test -z "$ac_cxx_werror_flag"
49478 || test ! -s conftest.err'
49479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49480 (eval $ac_try) 2>&5
49481 ac_status=$?
49482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49483 (exit $ac_status); }; } &&
49484 { ac_try='test -s conftest.$ac_objext'
49485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49486 (eval $ac_try) 2>&5
49487 ac_status=$?
49488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49489 (exit $ac_status); }; }; then
49490 glibcxx_cv_func_log10f_use=yes
49491 else
49492 echo "$as_me: failed program was:" >&5
49493 sed 's/^/| /' conftest.$ac_ext >&5
49495 glibcxx_cv_func_log10f_use=no
49497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49498 ac_ext=c
49499 ac_cpp='$CPP $CPPFLAGS'
49500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49508 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
49509 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
49511 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49513 for ac_func in log10f
49515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49516 echo "$as_me:$LINENO: checking for $ac_func" >&5
49517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49518 if eval "test \"\${$as_ac_var+set}\" = set"; then
49519 echo $ECHO_N "(cached) $ECHO_C" >&6
49520 else
49521 if test x$gcc_no_link = xyes; then
49522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49524 { (exit 1); exit 1; }; }
49526 cat >conftest.$ac_ext <<_ACEOF
49527 /* confdefs.h. */
49528 _ACEOF
49529 cat confdefs.h >>conftest.$ac_ext
49530 cat >>conftest.$ac_ext <<_ACEOF
49531 /* end confdefs.h. */
49532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49534 #define $ac_func innocuous_$ac_func
49536 /* System header to define __stub macros and hopefully few prototypes,
49537 which can conflict with char $ac_func (); below.
49538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49539 <limits.h> exists even on freestanding compilers. */
49541 #ifdef __STDC__
49542 # include <limits.h>
49543 #else
49544 # include <assert.h>
49545 #endif
49547 #undef $ac_func
49549 /* Override any gcc2 internal prototype to avoid an error. */
49550 #ifdef __cplusplus
49551 extern "C"
49553 #endif
49554 /* We use char because int might match the return type of a gcc2
49555 builtin and then its argument prototype would still apply. */
49556 char $ac_func ();
49557 /* The GNU C library defines this for functions which it implements
49558 to always fail with ENOSYS. Some functions are actually named
49559 something starting with __ and the normal name is an alias. */
49560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49561 choke me
49562 #else
49563 char (*f) () = $ac_func;
49564 #endif
49565 #ifdef __cplusplus
49567 #endif
49570 main ()
49572 return f != $ac_func;
49574 return 0;
49576 _ACEOF
49577 rm -f conftest.$ac_objext conftest$ac_exeext
49578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49579 (eval $ac_link) 2>conftest.er1
49580 ac_status=$?
49581 grep -v '^ *+' conftest.er1 >conftest.err
49582 rm -f conftest.er1
49583 cat conftest.err >&5
49584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49585 (exit $ac_status); } &&
49586 { ac_try='test -z "$ac_c_werror_flag"
49587 || test ! -s conftest.err'
49588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49589 (eval $ac_try) 2>&5
49590 ac_status=$?
49591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49592 (exit $ac_status); }; } &&
49593 { ac_try='test -s conftest$ac_exeext'
49594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49595 (eval $ac_try) 2>&5
49596 ac_status=$?
49597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49598 (exit $ac_status); }; }; then
49599 eval "$as_ac_var=yes"
49600 else
49601 echo "$as_me: failed program was:" >&5
49602 sed 's/^/| /' conftest.$ac_ext >&5
49604 eval "$as_ac_var=no"
49606 rm -f conftest.err conftest.$ac_objext \
49607 conftest$ac_exeext conftest.$ac_ext
49609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49611 if test `eval echo '${'$as_ac_var'}'` = yes; then
49612 cat >>confdefs.h <<_ACEOF
49613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49614 _ACEOF
49617 done
49619 else
49621 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
49622 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
49623 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49624 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
49625 echo $ECHO_N "(cached) $ECHO_C" >&6
49626 else
49630 ac_ext=cc
49631 ac_cpp='$CXXCPP $CPPFLAGS'
49632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49636 cat >conftest.$ac_ext <<_ACEOF
49637 /* confdefs.h. */
49638 _ACEOF
49639 cat confdefs.h >>conftest.$ac_ext
49640 cat >>conftest.$ac_ext <<_ACEOF
49641 /* end confdefs.h. */
49642 #include <math.h>
49643 #ifdef HAVE_IEEEFP_H
49644 #include <ieeefp.h>
49645 #endif
49648 main ()
49650 _log10f(0);
49652 return 0;
49654 _ACEOF
49655 rm -f conftest.$ac_objext
49656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49657 (eval $ac_compile) 2>conftest.er1
49658 ac_status=$?
49659 grep -v '^ *+' conftest.er1 >conftest.err
49660 rm -f conftest.er1
49661 cat conftest.err >&5
49662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49663 (exit $ac_status); } &&
49664 { ac_try='test -z "$ac_cxx_werror_flag"
49665 || test ! -s conftest.err'
49666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49667 (eval $ac_try) 2>&5
49668 ac_status=$?
49669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49670 (exit $ac_status); }; } &&
49671 { ac_try='test -s conftest.$ac_objext'
49672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49673 (eval $ac_try) 2>&5
49674 ac_status=$?
49675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49676 (exit $ac_status); }; }; then
49677 glibcxx_cv_func__log10f_use=yes
49678 else
49679 echo "$as_me: failed program was:" >&5
49680 sed 's/^/| /' conftest.$ac_ext >&5
49682 glibcxx_cv_func__log10f_use=no
49684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49685 ac_ext=c
49686 ac_cpp='$CPP $CPPFLAGS'
49687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49695 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
49696 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
49698 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49700 for ac_func in _log10f
49702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49703 echo "$as_me:$LINENO: checking for $ac_func" >&5
49704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49705 if eval "test \"\${$as_ac_var+set}\" = set"; then
49706 echo $ECHO_N "(cached) $ECHO_C" >&6
49707 else
49708 if test x$gcc_no_link = xyes; then
49709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49711 { (exit 1); exit 1; }; }
49713 cat >conftest.$ac_ext <<_ACEOF
49714 /* confdefs.h. */
49715 _ACEOF
49716 cat confdefs.h >>conftest.$ac_ext
49717 cat >>conftest.$ac_ext <<_ACEOF
49718 /* end confdefs.h. */
49719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49721 #define $ac_func innocuous_$ac_func
49723 /* System header to define __stub macros and hopefully few prototypes,
49724 which can conflict with char $ac_func (); below.
49725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49726 <limits.h> exists even on freestanding compilers. */
49728 #ifdef __STDC__
49729 # include <limits.h>
49730 #else
49731 # include <assert.h>
49732 #endif
49734 #undef $ac_func
49736 /* Override any gcc2 internal prototype to avoid an error. */
49737 #ifdef __cplusplus
49738 extern "C"
49740 #endif
49741 /* We use char because int might match the return type of a gcc2
49742 builtin and then its argument prototype would still apply. */
49743 char $ac_func ();
49744 /* The GNU C library defines this for functions which it implements
49745 to always fail with ENOSYS. Some functions are actually named
49746 something starting with __ and the normal name is an alias. */
49747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49748 choke me
49749 #else
49750 char (*f) () = $ac_func;
49751 #endif
49752 #ifdef __cplusplus
49754 #endif
49757 main ()
49759 return f != $ac_func;
49761 return 0;
49763 _ACEOF
49764 rm -f conftest.$ac_objext conftest$ac_exeext
49765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49766 (eval $ac_link) 2>conftest.er1
49767 ac_status=$?
49768 grep -v '^ *+' conftest.er1 >conftest.err
49769 rm -f conftest.er1
49770 cat conftest.err >&5
49771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49772 (exit $ac_status); } &&
49773 { ac_try='test -z "$ac_c_werror_flag"
49774 || test ! -s conftest.err'
49775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49776 (eval $ac_try) 2>&5
49777 ac_status=$?
49778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49779 (exit $ac_status); }; } &&
49780 { ac_try='test -s conftest$ac_exeext'
49781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49782 (eval $ac_try) 2>&5
49783 ac_status=$?
49784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49785 (exit $ac_status); }; }; then
49786 eval "$as_ac_var=yes"
49787 else
49788 echo "$as_me: failed program was:" >&5
49789 sed 's/^/| /' conftest.$ac_ext >&5
49791 eval "$as_ac_var=no"
49793 rm -f conftest.err conftest.$ac_objext \
49794 conftest$ac_exeext conftest.$ac_ext
49796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49798 if test `eval echo '${'$as_ac_var'}'` = yes; then
49799 cat >>confdefs.h <<_ACEOF
49800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49801 _ACEOF
49804 done
49814 echo "$as_me:$LINENO: checking for modff declaration" >&5
49815 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
49816 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49817 if test "${glibcxx_cv_func_modff_use+set}" = set; then
49818 echo $ECHO_N "(cached) $ECHO_C" >&6
49819 else
49823 ac_ext=cc
49824 ac_cpp='$CXXCPP $CPPFLAGS'
49825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49829 cat >conftest.$ac_ext <<_ACEOF
49830 /* confdefs.h. */
49831 _ACEOF
49832 cat confdefs.h >>conftest.$ac_ext
49833 cat >>conftest.$ac_ext <<_ACEOF
49834 /* end confdefs.h. */
49835 #include <math.h>
49837 main ()
49839 modff(0, 0);
49841 return 0;
49843 _ACEOF
49844 rm -f conftest.$ac_objext
49845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49846 (eval $ac_compile) 2>conftest.er1
49847 ac_status=$?
49848 grep -v '^ *+' conftest.er1 >conftest.err
49849 rm -f conftest.er1
49850 cat conftest.err >&5
49851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49852 (exit $ac_status); } &&
49853 { ac_try='test -z "$ac_cxx_werror_flag"
49854 || test ! -s conftest.err'
49855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49856 (eval $ac_try) 2>&5
49857 ac_status=$?
49858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49859 (exit $ac_status); }; } &&
49860 { ac_try='test -s conftest.$ac_objext'
49861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49862 (eval $ac_try) 2>&5
49863 ac_status=$?
49864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49865 (exit $ac_status); }; }; then
49866 glibcxx_cv_func_modff_use=yes
49867 else
49868 echo "$as_me: failed program was:" >&5
49869 sed 's/^/| /' conftest.$ac_ext >&5
49871 glibcxx_cv_func_modff_use=no
49873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49874 ac_ext=c
49875 ac_cpp='$CPP $CPPFLAGS'
49876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49884 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
49885 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
49887 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49889 for ac_func in modff
49891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49892 echo "$as_me:$LINENO: checking for $ac_func" >&5
49893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49894 if eval "test \"\${$as_ac_var+set}\" = set"; then
49895 echo $ECHO_N "(cached) $ECHO_C" >&6
49896 else
49897 if test x$gcc_no_link = xyes; then
49898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49900 { (exit 1); exit 1; }; }
49902 cat >conftest.$ac_ext <<_ACEOF
49903 /* confdefs.h. */
49904 _ACEOF
49905 cat confdefs.h >>conftest.$ac_ext
49906 cat >>conftest.$ac_ext <<_ACEOF
49907 /* end confdefs.h. */
49908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49910 #define $ac_func innocuous_$ac_func
49912 /* System header to define __stub macros and hopefully few prototypes,
49913 which can conflict with char $ac_func (); below.
49914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49915 <limits.h> exists even on freestanding compilers. */
49917 #ifdef __STDC__
49918 # include <limits.h>
49919 #else
49920 # include <assert.h>
49921 #endif
49923 #undef $ac_func
49925 /* Override any gcc2 internal prototype to avoid an error. */
49926 #ifdef __cplusplus
49927 extern "C"
49929 #endif
49930 /* We use char because int might match the return type of a gcc2
49931 builtin and then its argument prototype would still apply. */
49932 char $ac_func ();
49933 /* The GNU C library defines this for functions which it implements
49934 to always fail with ENOSYS. Some functions are actually named
49935 something starting with __ and the normal name is an alias. */
49936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49937 choke me
49938 #else
49939 char (*f) () = $ac_func;
49940 #endif
49941 #ifdef __cplusplus
49943 #endif
49946 main ()
49948 return f != $ac_func;
49950 return 0;
49952 _ACEOF
49953 rm -f conftest.$ac_objext conftest$ac_exeext
49954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49955 (eval $ac_link) 2>conftest.er1
49956 ac_status=$?
49957 grep -v '^ *+' conftest.er1 >conftest.err
49958 rm -f conftest.er1
49959 cat conftest.err >&5
49960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49961 (exit $ac_status); } &&
49962 { ac_try='test -z "$ac_c_werror_flag"
49963 || test ! -s conftest.err'
49964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49965 (eval $ac_try) 2>&5
49966 ac_status=$?
49967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49968 (exit $ac_status); }; } &&
49969 { ac_try='test -s conftest$ac_exeext'
49970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49971 (eval $ac_try) 2>&5
49972 ac_status=$?
49973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49974 (exit $ac_status); }; }; then
49975 eval "$as_ac_var=yes"
49976 else
49977 echo "$as_me: failed program was:" >&5
49978 sed 's/^/| /' conftest.$ac_ext >&5
49980 eval "$as_ac_var=no"
49982 rm -f conftest.err conftest.$ac_objext \
49983 conftest$ac_exeext conftest.$ac_ext
49985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49987 if test `eval echo '${'$as_ac_var'}'` = yes; then
49988 cat >>confdefs.h <<_ACEOF
49989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49990 _ACEOF
49993 done
49995 else
49997 echo "$as_me:$LINENO: checking for _modff declaration" >&5
49998 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
49999 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50000 if test "${glibcxx_cv_func__modff_use+set}" = set; then
50001 echo $ECHO_N "(cached) $ECHO_C" >&6
50002 else
50006 ac_ext=cc
50007 ac_cpp='$CXXCPP $CPPFLAGS'
50008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50012 cat >conftest.$ac_ext <<_ACEOF
50013 /* confdefs.h. */
50014 _ACEOF
50015 cat confdefs.h >>conftest.$ac_ext
50016 cat >>conftest.$ac_ext <<_ACEOF
50017 /* end confdefs.h. */
50018 #include <math.h>
50020 main ()
50022 _modff(0, 0);
50024 return 0;
50026 _ACEOF
50027 rm -f conftest.$ac_objext
50028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50029 (eval $ac_compile) 2>conftest.er1
50030 ac_status=$?
50031 grep -v '^ *+' conftest.er1 >conftest.err
50032 rm -f conftest.er1
50033 cat conftest.err >&5
50034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50035 (exit $ac_status); } &&
50036 { ac_try='test -z "$ac_cxx_werror_flag"
50037 || test ! -s conftest.err'
50038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50039 (eval $ac_try) 2>&5
50040 ac_status=$?
50041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50042 (exit $ac_status); }; } &&
50043 { ac_try='test -s conftest.$ac_objext'
50044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50045 (eval $ac_try) 2>&5
50046 ac_status=$?
50047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50048 (exit $ac_status); }; }; then
50049 glibcxx_cv_func__modff_use=yes
50050 else
50051 echo "$as_me: failed program was:" >&5
50052 sed 's/^/| /' conftest.$ac_ext >&5
50054 glibcxx_cv_func__modff_use=no
50056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50057 ac_ext=c
50058 ac_cpp='$CPP $CPPFLAGS'
50059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50067 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
50068 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
50070 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50072 for ac_func in _modff
50074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50075 echo "$as_me:$LINENO: checking for $ac_func" >&5
50076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50077 if eval "test \"\${$as_ac_var+set}\" = set"; then
50078 echo $ECHO_N "(cached) $ECHO_C" >&6
50079 else
50080 if test x$gcc_no_link = xyes; then
50081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50083 { (exit 1); exit 1; }; }
50085 cat >conftest.$ac_ext <<_ACEOF
50086 /* confdefs.h. */
50087 _ACEOF
50088 cat confdefs.h >>conftest.$ac_ext
50089 cat >>conftest.$ac_ext <<_ACEOF
50090 /* end confdefs.h. */
50091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50093 #define $ac_func innocuous_$ac_func
50095 /* System header to define __stub macros and hopefully few prototypes,
50096 which can conflict with char $ac_func (); below.
50097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50098 <limits.h> exists even on freestanding compilers. */
50100 #ifdef __STDC__
50101 # include <limits.h>
50102 #else
50103 # include <assert.h>
50104 #endif
50106 #undef $ac_func
50108 /* Override any gcc2 internal prototype to avoid an error. */
50109 #ifdef __cplusplus
50110 extern "C"
50112 #endif
50113 /* We use char because int might match the return type of a gcc2
50114 builtin and then its argument prototype would still apply. */
50115 char $ac_func ();
50116 /* The GNU C library defines this for functions which it implements
50117 to always fail with ENOSYS. Some functions are actually named
50118 something starting with __ and the normal name is an alias. */
50119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50120 choke me
50121 #else
50122 char (*f) () = $ac_func;
50123 #endif
50124 #ifdef __cplusplus
50126 #endif
50129 main ()
50131 return f != $ac_func;
50133 return 0;
50135 _ACEOF
50136 rm -f conftest.$ac_objext conftest$ac_exeext
50137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50138 (eval $ac_link) 2>conftest.er1
50139 ac_status=$?
50140 grep -v '^ *+' conftest.er1 >conftest.err
50141 rm -f conftest.er1
50142 cat conftest.err >&5
50143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50144 (exit $ac_status); } &&
50145 { ac_try='test -z "$ac_c_werror_flag"
50146 || test ! -s conftest.err'
50147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50148 (eval $ac_try) 2>&5
50149 ac_status=$?
50150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50151 (exit $ac_status); }; } &&
50152 { ac_try='test -s conftest$ac_exeext'
50153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50154 (eval $ac_try) 2>&5
50155 ac_status=$?
50156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50157 (exit $ac_status); }; }; then
50158 eval "$as_ac_var=yes"
50159 else
50160 echo "$as_me: failed program was:" >&5
50161 sed 's/^/| /' conftest.$ac_ext >&5
50163 eval "$as_ac_var=no"
50165 rm -f conftest.err conftest.$ac_objext \
50166 conftest$ac_exeext conftest.$ac_ext
50168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50170 if test `eval echo '${'$as_ac_var'}'` = yes; then
50171 cat >>confdefs.h <<_ACEOF
50172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50173 _ACEOF
50176 done
50186 echo "$as_me:$LINENO: checking for modf declaration" >&5
50187 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
50188 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50189 if test "${glibcxx_cv_func_modf_use+set}" = set; then
50190 echo $ECHO_N "(cached) $ECHO_C" >&6
50191 else
50195 ac_ext=cc
50196 ac_cpp='$CXXCPP $CPPFLAGS'
50197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50201 cat >conftest.$ac_ext <<_ACEOF
50202 /* confdefs.h. */
50203 _ACEOF
50204 cat confdefs.h >>conftest.$ac_ext
50205 cat >>conftest.$ac_ext <<_ACEOF
50206 /* end confdefs.h. */
50207 #include <math.h>
50209 main ()
50211 modf(0, 0);
50213 return 0;
50215 _ACEOF
50216 rm -f conftest.$ac_objext
50217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50218 (eval $ac_compile) 2>conftest.er1
50219 ac_status=$?
50220 grep -v '^ *+' conftest.er1 >conftest.err
50221 rm -f conftest.er1
50222 cat conftest.err >&5
50223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50224 (exit $ac_status); } &&
50225 { ac_try='test -z "$ac_cxx_werror_flag"
50226 || test ! -s conftest.err'
50227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50228 (eval $ac_try) 2>&5
50229 ac_status=$?
50230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50231 (exit $ac_status); }; } &&
50232 { ac_try='test -s conftest.$ac_objext'
50233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50234 (eval $ac_try) 2>&5
50235 ac_status=$?
50236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50237 (exit $ac_status); }; }; then
50238 glibcxx_cv_func_modf_use=yes
50239 else
50240 echo "$as_me: failed program was:" >&5
50241 sed 's/^/| /' conftest.$ac_ext >&5
50243 glibcxx_cv_func_modf_use=no
50245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50246 ac_ext=c
50247 ac_cpp='$CPP $CPPFLAGS'
50248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50256 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
50257 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
50259 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50261 for ac_func in modf
50263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50264 echo "$as_me:$LINENO: checking for $ac_func" >&5
50265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50266 if eval "test \"\${$as_ac_var+set}\" = set"; then
50267 echo $ECHO_N "(cached) $ECHO_C" >&6
50268 else
50269 if test x$gcc_no_link = xyes; then
50270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50272 { (exit 1); exit 1; }; }
50274 cat >conftest.$ac_ext <<_ACEOF
50275 /* confdefs.h. */
50276 _ACEOF
50277 cat confdefs.h >>conftest.$ac_ext
50278 cat >>conftest.$ac_ext <<_ACEOF
50279 /* end confdefs.h. */
50280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50282 #define $ac_func innocuous_$ac_func
50284 /* System header to define __stub macros and hopefully few prototypes,
50285 which can conflict with char $ac_func (); below.
50286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50287 <limits.h> exists even on freestanding compilers. */
50289 #ifdef __STDC__
50290 # include <limits.h>
50291 #else
50292 # include <assert.h>
50293 #endif
50295 #undef $ac_func
50297 /* Override any gcc2 internal prototype to avoid an error. */
50298 #ifdef __cplusplus
50299 extern "C"
50301 #endif
50302 /* We use char because int might match the return type of a gcc2
50303 builtin and then its argument prototype would still apply. */
50304 char $ac_func ();
50305 /* The GNU C library defines this for functions which it implements
50306 to always fail with ENOSYS. Some functions are actually named
50307 something starting with __ and the normal name is an alias. */
50308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50309 choke me
50310 #else
50311 char (*f) () = $ac_func;
50312 #endif
50313 #ifdef __cplusplus
50315 #endif
50318 main ()
50320 return f != $ac_func;
50322 return 0;
50324 _ACEOF
50325 rm -f conftest.$ac_objext conftest$ac_exeext
50326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50327 (eval $ac_link) 2>conftest.er1
50328 ac_status=$?
50329 grep -v '^ *+' conftest.er1 >conftest.err
50330 rm -f conftest.er1
50331 cat conftest.err >&5
50332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50333 (exit $ac_status); } &&
50334 { ac_try='test -z "$ac_c_werror_flag"
50335 || test ! -s conftest.err'
50336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50337 (eval $ac_try) 2>&5
50338 ac_status=$?
50339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50340 (exit $ac_status); }; } &&
50341 { ac_try='test -s conftest$ac_exeext'
50342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50343 (eval $ac_try) 2>&5
50344 ac_status=$?
50345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50346 (exit $ac_status); }; }; then
50347 eval "$as_ac_var=yes"
50348 else
50349 echo "$as_me: failed program was:" >&5
50350 sed 's/^/| /' conftest.$ac_ext >&5
50352 eval "$as_ac_var=no"
50354 rm -f conftest.err conftest.$ac_objext \
50355 conftest$ac_exeext conftest.$ac_ext
50357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50359 if test `eval echo '${'$as_ac_var'}'` = yes; then
50360 cat >>confdefs.h <<_ACEOF
50361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50362 _ACEOF
50365 done
50367 else
50369 echo "$as_me:$LINENO: checking for _modf declaration" >&5
50370 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
50371 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50372 if test "${glibcxx_cv_func__modf_use+set}" = set; then
50373 echo $ECHO_N "(cached) $ECHO_C" >&6
50374 else
50378 ac_ext=cc
50379 ac_cpp='$CXXCPP $CPPFLAGS'
50380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50384 cat >conftest.$ac_ext <<_ACEOF
50385 /* confdefs.h. */
50386 _ACEOF
50387 cat confdefs.h >>conftest.$ac_ext
50388 cat >>conftest.$ac_ext <<_ACEOF
50389 /* end confdefs.h. */
50390 #include <math.h>
50392 main ()
50394 _modf(0, 0);
50396 return 0;
50398 _ACEOF
50399 rm -f conftest.$ac_objext
50400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50401 (eval $ac_compile) 2>conftest.er1
50402 ac_status=$?
50403 grep -v '^ *+' conftest.er1 >conftest.err
50404 rm -f conftest.er1
50405 cat conftest.err >&5
50406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50407 (exit $ac_status); } &&
50408 { ac_try='test -z "$ac_cxx_werror_flag"
50409 || test ! -s conftest.err'
50410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50411 (eval $ac_try) 2>&5
50412 ac_status=$?
50413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50414 (exit $ac_status); }; } &&
50415 { ac_try='test -s conftest.$ac_objext'
50416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50417 (eval $ac_try) 2>&5
50418 ac_status=$?
50419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50420 (exit $ac_status); }; }; then
50421 glibcxx_cv_func__modf_use=yes
50422 else
50423 echo "$as_me: failed program was:" >&5
50424 sed 's/^/| /' conftest.$ac_ext >&5
50426 glibcxx_cv_func__modf_use=no
50428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50429 ac_ext=c
50430 ac_cpp='$CPP $CPPFLAGS'
50431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50439 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
50440 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
50442 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50444 for ac_func in _modf
50446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50447 echo "$as_me:$LINENO: checking for $ac_func" >&5
50448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50449 if eval "test \"\${$as_ac_var+set}\" = set"; then
50450 echo $ECHO_N "(cached) $ECHO_C" >&6
50451 else
50452 if test x$gcc_no_link = xyes; then
50453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50455 { (exit 1); exit 1; }; }
50457 cat >conftest.$ac_ext <<_ACEOF
50458 /* confdefs.h. */
50459 _ACEOF
50460 cat confdefs.h >>conftest.$ac_ext
50461 cat >>conftest.$ac_ext <<_ACEOF
50462 /* end confdefs.h. */
50463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50465 #define $ac_func innocuous_$ac_func
50467 /* System header to define __stub macros and hopefully few prototypes,
50468 which can conflict with char $ac_func (); below.
50469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50470 <limits.h> exists even on freestanding compilers. */
50472 #ifdef __STDC__
50473 # include <limits.h>
50474 #else
50475 # include <assert.h>
50476 #endif
50478 #undef $ac_func
50480 /* Override any gcc2 internal prototype to avoid an error. */
50481 #ifdef __cplusplus
50482 extern "C"
50484 #endif
50485 /* We use char because int might match the return type of a gcc2
50486 builtin and then its argument prototype would still apply. */
50487 char $ac_func ();
50488 /* The GNU C library defines this for functions which it implements
50489 to always fail with ENOSYS. Some functions are actually named
50490 something starting with __ and the normal name is an alias. */
50491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50492 choke me
50493 #else
50494 char (*f) () = $ac_func;
50495 #endif
50496 #ifdef __cplusplus
50498 #endif
50501 main ()
50503 return f != $ac_func;
50505 return 0;
50507 _ACEOF
50508 rm -f conftest.$ac_objext conftest$ac_exeext
50509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50510 (eval $ac_link) 2>conftest.er1
50511 ac_status=$?
50512 grep -v '^ *+' conftest.er1 >conftest.err
50513 rm -f conftest.er1
50514 cat conftest.err >&5
50515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50516 (exit $ac_status); } &&
50517 { ac_try='test -z "$ac_c_werror_flag"
50518 || test ! -s conftest.err'
50519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50520 (eval $ac_try) 2>&5
50521 ac_status=$?
50522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50523 (exit $ac_status); }; } &&
50524 { ac_try='test -s conftest$ac_exeext'
50525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50526 (eval $ac_try) 2>&5
50527 ac_status=$?
50528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50529 (exit $ac_status); }; }; then
50530 eval "$as_ac_var=yes"
50531 else
50532 echo "$as_me: failed program was:" >&5
50533 sed 's/^/| /' conftest.$ac_ext >&5
50535 eval "$as_ac_var=no"
50537 rm -f conftest.err conftest.$ac_objext \
50538 conftest$ac_exeext conftest.$ac_ext
50540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50542 if test `eval echo '${'$as_ac_var'}'` = yes; then
50543 cat >>confdefs.h <<_ACEOF
50544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50545 _ACEOF
50548 done
50558 echo "$as_me:$LINENO: checking for powf declaration" >&5
50559 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
50560 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50561 if test "${glibcxx_cv_func_powf_use+set}" = set; then
50562 echo $ECHO_N "(cached) $ECHO_C" >&6
50563 else
50567 ac_ext=cc
50568 ac_cpp='$CXXCPP $CPPFLAGS'
50569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50573 cat >conftest.$ac_ext <<_ACEOF
50574 /* confdefs.h. */
50575 _ACEOF
50576 cat confdefs.h >>conftest.$ac_ext
50577 cat >>conftest.$ac_ext <<_ACEOF
50578 /* end confdefs.h. */
50579 #include <math.h>
50581 main ()
50583 powf(0, 0);
50585 return 0;
50587 _ACEOF
50588 rm -f conftest.$ac_objext
50589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50590 (eval $ac_compile) 2>conftest.er1
50591 ac_status=$?
50592 grep -v '^ *+' conftest.er1 >conftest.err
50593 rm -f conftest.er1
50594 cat conftest.err >&5
50595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50596 (exit $ac_status); } &&
50597 { ac_try='test -z "$ac_cxx_werror_flag"
50598 || test ! -s conftest.err'
50599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50600 (eval $ac_try) 2>&5
50601 ac_status=$?
50602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50603 (exit $ac_status); }; } &&
50604 { ac_try='test -s conftest.$ac_objext'
50605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50606 (eval $ac_try) 2>&5
50607 ac_status=$?
50608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50609 (exit $ac_status); }; }; then
50610 glibcxx_cv_func_powf_use=yes
50611 else
50612 echo "$as_me: failed program was:" >&5
50613 sed 's/^/| /' conftest.$ac_ext >&5
50615 glibcxx_cv_func_powf_use=no
50617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50618 ac_ext=c
50619 ac_cpp='$CPP $CPPFLAGS'
50620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50628 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
50629 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
50631 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50633 for ac_func in powf
50635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50636 echo "$as_me:$LINENO: checking for $ac_func" >&5
50637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50638 if eval "test \"\${$as_ac_var+set}\" = set"; then
50639 echo $ECHO_N "(cached) $ECHO_C" >&6
50640 else
50641 if test x$gcc_no_link = xyes; then
50642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50644 { (exit 1); exit 1; }; }
50646 cat >conftest.$ac_ext <<_ACEOF
50647 /* confdefs.h. */
50648 _ACEOF
50649 cat confdefs.h >>conftest.$ac_ext
50650 cat >>conftest.$ac_ext <<_ACEOF
50651 /* end confdefs.h. */
50652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50654 #define $ac_func innocuous_$ac_func
50656 /* System header to define __stub macros and hopefully few prototypes,
50657 which can conflict with char $ac_func (); below.
50658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50659 <limits.h> exists even on freestanding compilers. */
50661 #ifdef __STDC__
50662 # include <limits.h>
50663 #else
50664 # include <assert.h>
50665 #endif
50667 #undef $ac_func
50669 /* Override any gcc2 internal prototype to avoid an error. */
50670 #ifdef __cplusplus
50671 extern "C"
50673 #endif
50674 /* We use char because int might match the return type of a gcc2
50675 builtin and then its argument prototype would still apply. */
50676 char $ac_func ();
50677 /* The GNU C library defines this for functions which it implements
50678 to always fail with ENOSYS. Some functions are actually named
50679 something starting with __ and the normal name is an alias. */
50680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50681 choke me
50682 #else
50683 char (*f) () = $ac_func;
50684 #endif
50685 #ifdef __cplusplus
50687 #endif
50690 main ()
50692 return f != $ac_func;
50694 return 0;
50696 _ACEOF
50697 rm -f conftest.$ac_objext conftest$ac_exeext
50698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50699 (eval $ac_link) 2>conftest.er1
50700 ac_status=$?
50701 grep -v '^ *+' conftest.er1 >conftest.err
50702 rm -f conftest.er1
50703 cat conftest.err >&5
50704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50705 (exit $ac_status); } &&
50706 { ac_try='test -z "$ac_c_werror_flag"
50707 || test ! -s conftest.err'
50708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50709 (eval $ac_try) 2>&5
50710 ac_status=$?
50711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50712 (exit $ac_status); }; } &&
50713 { ac_try='test -s conftest$ac_exeext'
50714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50715 (eval $ac_try) 2>&5
50716 ac_status=$?
50717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50718 (exit $ac_status); }; }; then
50719 eval "$as_ac_var=yes"
50720 else
50721 echo "$as_me: failed program was:" >&5
50722 sed 's/^/| /' conftest.$ac_ext >&5
50724 eval "$as_ac_var=no"
50726 rm -f conftest.err conftest.$ac_objext \
50727 conftest$ac_exeext conftest.$ac_ext
50729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50731 if test `eval echo '${'$as_ac_var'}'` = yes; then
50732 cat >>confdefs.h <<_ACEOF
50733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50734 _ACEOF
50737 done
50739 else
50741 echo "$as_me:$LINENO: checking for _powf declaration" >&5
50742 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
50743 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50744 if test "${glibcxx_cv_func__powf_use+set}" = set; then
50745 echo $ECHO_N "(cached) $ECHO_C" >&6
50746 else
50750 ac_ext=cc
50751 ac_cpp='$CXXCPP $CPPFLAGS'
50752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50756 cat >conftest.$ac_ext <<_ACEOF
50757 /* confdefs.h. */
50758 _ACEOF
50759 cat confdefs.h >>conftest.$ac_ext
50760 cat >>conftest.$ac_ext <<_ACEOF
50761 /* end confdefs.h. */
50762 #include <math.h>
50764 main ()
50766 _powf(0, 0);
50768 return 0;
50770 _ACEOF
50771 rm -f conftest.$ac_objext
50772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50773 (eval $ac_compile) 2>conftest.er1
50774 ac_status=$?
50775 grep -v '^ *+' conftest.er1 >conftest.err
50776 rm -f conftest.er1
50777 cat conftest.err >&5
50778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50779 (exit $ac_status); } &&
50780 { ac_try='test -z "$ac_cxx_werror_flag"
50781 || test ! -s conftest.err'
50782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50783 (eval $ac_try) 2>&5
50784 ac_status=$?
50785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50786 (exit $ac_status); }; } &&
50787 { ac_try='test -s conftest.$ac_objext'
50788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50789 (eval $ac_try) 2>&5
50790 ac_status=$?
50791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50792 (exit $ac_status); }; }; then
50793 glibcxx_cv_func__powf_use=yes
50794 else
50795 echo "$as_me: failed program was:" >&5
50796 sed 's/^/| /' conftest.$ac_ext >&5
50798 glibcxx_cv_func__powf_use=no
50800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50801 ac_ext=c
50802 ac_cpp='$CPP $CPPFLAGS'
50803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50811 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
50812 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
50814 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50816 for ac_func in _powf
50818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50819 echo "$as_me:$LINENO: checking for $ac_func" >&5
50820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50821 if eval "test \"\${$as_ac_var+set}\" = set"; then
50822 echo $ECHO_N "(cached) $ECHO_C" >&6
50823 else
50824 if test x$gcc_no_link = xyes; then
50825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50827 { (exit 1); exit 1; }; }
50829 cat >conftest.$ac_ext <<_ACEOF
50830 /* confdefs.h. */
50831 _ACEOF
50832 cat confdefs.h >>conftest.$ac_ext
50833 cat >>conftest.$ac_ext <<_ACEOF
50834 /* end confdefs.h. */
50835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50837 #define $ac_func innocuous_$ac_func
50839 /* System header to define __stub macros and hopefully few prototypes,
50840 which can conflict with char $ac_func (); below.
50841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50842 <limits.h> exists even on freestanding compilers. */
50844 #ifdef __STDC__
50845 # include <limits.h>
50846 #else
50847 # include <assert.h>
50848 #endif
50850 #undef $ac_func
50852 /* Override any gcc2 internal prototype to avoid an error. */
50853 #ifdef __cplusplus
50854 extern "C"
50856 #endif
50857 /* We use char because int might match the return type of a gcc2
50858 builtin and then its argument prototype would still apply. */
50859 char $ac_func ();
50860 /* The GNU C library defines this for functions which it implements
50861 to always fail with ENOSYS. Some functions are actually named
50862 something starting with __ and the normal name is an alias. */
50863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50864 choke me
50865 #else
50866 char (*f) () = $ac_func;
50867 #endif
50868 #ifdef __cplusplus
50870 #endif
50873 main ()
50875 return f != $ac_func;
50877 return 0;
50879 _ACEOF
50880 rm -f conftest.$ac_objext conftest$ac_exeext
50881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50882 (eval $ac_link) 2>conftest.er1
50883 ac_status=$?
50884 grep -v '^ *+' conftest.er1 >conftest.err
50885 rm -f conftest.er1
50886 cat conftest.err >&5
50887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50888 (exit $ac_status); } &&
50889 { ac_try='test -z "$ac_c_werror_flag"
50890 || test ! -s conftest.err'
50891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50892 (eval $ac_try) 2>&5
50893 ac_status=$?
50894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50895 (exit $ac_status); }; } &&
50896 { ac_try='test -s conftest$ac_exeext'
50897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50898 (eval $ac_try) 2>&5
50899 ac_status=$?
50900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50901 (exit $ac_status); }; }; then
50902 eval "$as_ac_var=yes"
50903 else
50904 echo "$as_me: failed program was:" >&5
50905 sed 's/^/| /' conftest.$ac_ext >&5
50907 eval "$as_ac_var=no"
50909 rm -f conftest.err conftest.$ac_objext \
50910 conftest$ac_exeext conftest.$ac_ext
50912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50914 if test `eval echo '${'$as_ac_var'}'` = yes; then
50915 cat >>confdefs.h <<_ACEOF
50916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50917 _ACEOF
50920 done
50930 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
50931 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
50932 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50933 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
50934 echo $ECHO_N "(cached) $ECHO_C" >&6
50935 else
50939 ac_ext=cc
50940 ac_cpp='$CXXCPP $CPPFLAGS'
50941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50945 cat >conftest.$ac_ext <<_ACEOF
50946 /* confdefs.h. */
50947 _ACEOF
50948 cat confdefs.h >>conftest.$ac_ext
50949 cat >>conftest.$ac_ext <<_ACEOF
50950 /* end confdefs.h. */
50951 #include <math.h>
50952 #ifdef HAVE_IEEEFP_H
50953 #include <ieeefp.h>
50954 #endif
50957 main ()
50959 sqrtf(0);
50961 return 0;
50963 _ACEOF
50964 rm -f conftest.$ac_objext
50965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50966 (eval $ac_compile) 2>conftest.er1
50967 ac_status=$?
50968 grep -v '^ *+' conftest.er1 >conftest.err
50969 rm -f conftest.er1
50970 cat conftest.err >&5
50971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50972 (exit $ac_status); } &&
50973 { ac_try='test -z "$ac_cxx_werror_flag"
50974 || test ! -s conftest.err'
50975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50976 (eval $ac_try) 2>&5
50977 ac_status=$?
50978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50979 (exit $ac_status); }; } &&
50980 { ac_try='test -s conftest.$ac_objext'
50981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50982 (eval $ac_try) 2>&5
50983 ac_status=$?
50984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50985 (exit $ac_status); }; }; then
50986 glibcxx_cv_func_sqrtf_use=yes
50987 else
50988 echo "$as_me: failed program was:" >&5
50989 sed 's/^/| /' conftest.$ac_ext >&5
50991 glibcxx_cv_func_sqrtf_use=no
50993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50994 ac_ext=c
50995 ac_cpp='$CPP $CPPFLAGS'
50996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51004 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
51005 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
51007 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51009 for ac_func in sqrtf
51011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51012 echo "$as_me:$LINENO: checking for $ac_func" >&5
51013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51014 if eval "test \"\${$as_ac_var+set}\" = set"; then
51015 echo $ECHO_N "(cached) $ECHO_C" >&6
51016 else
51017 if test x$gcc_no_link = xyes; then
51018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51020 { (exit 1); exit 1; }; }
51022 cat >conftest.$ac_ext <<_ACEOF
51023 /* confdefs.h. */
51024 _ACEOF
51025 cat confdefs.h >>conftest.$ac_ext
51026 cat >>conftest.$ac_ext <<_ACEOF
51027 /* end confdefs.h. */
51028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51030 #define $ac_func innocuous_$ac_func
51032 /* System header to define __stub macros and hopefully few prototypes,
51033 which can conflict with char $ac_func (); below.
51034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51035 <limits.h> exists even on freestanding compilers. */
51037 #ifdef __STDC__
51038 # include <limits.h>
51039 #else
51040 # include <assert.h>
51041 #endif
51043 #undef $ac_func
51045 /* Override any gcc2 internal prototype to avoid an error. */
51046 #ifdef __cplusplus
51047 extern "C"
51049 #endif
51050 /* We use char because int might match the return type of a gcc2
51051 builtin and then its argument prototype would still apply. */
51052 char $ac_func ();
51053 /* The GNU C library defines this for functions which it implements
51054 to always fail with ENOSYS. Some functions are actually named
51055 something starting with __ and the normal name is an alias. */
51056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51057 choke me
51058 #else
51059 char (*f) () = $ac_func;
51060 #endif
51061 #ifdef __cplusplus
51063 #endif
51066 main ()
51068 return f != $ac_func;
51070 return 0;
51072 _ACEOF
51073 rm -f conftest.$ac_objext conftest$ac_exeext
51074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51075 (eval $ac_link) 2>conftest.er1
51076 ac_status=$?
51077 grep -v '^ *+' conftest.er1 >conftest.err
51078 rm -f conftest.er1
51079 cat conftest.err >&5
51080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51081 (exit $ac_status); } &&
51082 { ac_try='test -z "$ac_c_werror_flag"
51083 || test ! -s conftest.err'
51084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51085 (eval $ac_try) 2>&5
51086 ac_status=$?
51087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51088 (exit $ac_status); }; } &&
51089 { ac_try='test -s conftest$ac_exeext'
51090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51091 (eval $ac_try) 2>&5
51092 ac_status=$?
51093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51094 (exit $ac_status); }; }; then
51095 eval "$as_ac_var=yes"
51096 else
51097 echo "$as_me: failed program was:" >&5
51098 sed 's/^/| /' conftest.$ac_ext >&5
51100 eval "$as_ac_var=no"
51102 rm -f conftest.err conftest.$ac_objext \
51103 conftest$ac_exeext conftest.$ac_ext
51105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51107 if test `eval echo '${'$as_ac_var'}'` = yes; then
51108 cat >>confdefs.h <<_ACEOF
51109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51110 _ACEOF
51113 done
51115 else
51117 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
51118 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
51119 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51120 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
51121 echo $ECHO_N "(cached) $ECHO_C" >&6
51122 else
51126 ac_ext=cc
51127 ac_cpp='$CXXCPP $CPPFLAGS'
51128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51132 cat >conftest.$ac_ext <<_ACEOF
51133 /* confdefs.h. */
51134 _ACEOF
51135 cat confdefs.h >>conftest.$ac_ext
51136 cat >>conftest.$ac_ext <<_ACEOF
51137 /* end confdefs.h. */
51138 #include <math.h>
51139 #ifdef HAVE_IEEEFP_H
51140 #include <ieeefp.h>
51141 #endif
51144 main ()
51146 _sqrtf(0);
51148 return 0;
51150 _ACEOF
51151 rm -f conftest.$ac_objext
51152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51153 (eval $ac_compile) 2>conftest.er1
51154 ac_status=$?
51155 grep -v '^ *+' conftest.er1 >conftest.err
51156 rm -f conftest.er1
51157 cat conftest.err >&5
51158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51159 (exit $ac_status); } &&
51160 { ac_try='test -z "$ac_cxx_werror_flag"
51161 || test ! -s conftest.err'
51162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51163 (eval $ac_try) 2>&5
51164 ac_status=$?
51165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51166 (exit $ac_status); }; } &&
51167 { ac_try='test -s conftest.$ac_objext'
51168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51169 (eval $ac_try) 2>&5
51170 ac_status=$?
51171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51172 (exit $ac_status); }; }; then
51173 glibcxx_cv_func__sqrtf_use=yes
51174 else
51175 echo "$as_me: failed program was:" >&5
51176 sed 's/^/| /' conftest.$ac_ext >&5
51178 glibcxx_cv_func__sqrtf_use=no
51180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51181 ac_ext=c
51182 ac_cpp='$CPP $CPPFLAGS'
51183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51191 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
51192 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
51194 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51196 for ac_func in _sqrtf
51198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51199 echo "$as_me:$LINENO: checking for $ac_func" >&5
51200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51201 if eval "test \"\${$as_ac_var+set}\" = set"; then
51202 echo $ECHO_N "(cached) $ECHO_C" >&6
51203 else
51204 if test x$gcc_no_link = xyes; then
51205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51207 { (exit 1); exit 1; }; }
51209 cat >conftest.$ac_ext <<_ACEOF
51210 /* confdefs.h. */
51211 _ACEOF
51212 cat confdefs.h >>conftest.$ac_ext
51213 cat >>conftest.$ac_ext <<_ACEOF
51214 /* end confdefs.h. */
51215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51217 #define $ac_func innocuous_$ac_func
51219 /* System header to define __stub macros and hopefully few prototypes,
51220 which can conflict with char $ac_func (); below.
51221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51222 <limits.h> exists even on freestanding compilers. */
51224 #ifdef __STDC__
51225 # include <limits.h>
51226 #else
51227 # include <assert.h>
51228 #endif
51230 #undef $ac_func
51232 /* Override any gcc2 internal prototype to avoid an error. */
51233 #ifdef __cplusplus
51234 extern "C"
51236 #endif
51237 /* We use char because int might match the return type of a gcc2
51238 builtin and then its argument prototype would still apply. */
51239 char $ac_func ();
51240 /* The GNU C library defines this for functions which it implements
51241 to always fail with ENOSYS. Some functions are actually named
51242 something starting with __ and the normal name is an alias. */
51243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51244 choke me
51245 #else
51246 char (*f) () = $ac_func;
51247 #endif
51248 #ifdef __cplusplus
51250 #endif
51253 main ()
51255 return f != $ac_func;
51257 return 0;
51259 _ACEOF
51260 rm -f conftest.$ac_objext conftest$ac_exeext
51261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51262 (eval $ac_link) 2>conftest.er1
51263 ac_status=$?
51264 grep -v '^ *+' conftest.er1 >conftest.err
51265 rm -f conftest.er1
51266 cat conftest.err >&5
51267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51268 (exit $ac_status); } &&
51269 { ac_try='test -z "$ac_c_werror_flag"
51270 || test ! -s conftest.err'
51271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51272 (eval $ac_try) 2>&5
51273 ac_status=$?
51274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51275 (exit $ac_status); }; } &&
51276 { ac_try='test -s conftest$ac_exeext'
51277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51278 (eval $ac_try) 2>&5
51279 ac_status=$?
51280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51281 (exit $ac_status); }; }; then
51282 eval "$as_ac_var=yes"
51283 else
51284 echo "$as_me: failed program was:" >&5
51285 sed 's/^/| /' conftest.$ac_ext >&5
51287 eval "$as_ac_var=no"
51289 rm -f conftest.err conftest.$ac_objext \
51290 conftest$ac_exeext conftest.$ac_ext
51292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51294 if test `eval echo '${'$as_ac_var'}'` = yes; then
51295 cat >>confdefs.h <<_ACEOF
51296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51297 _ACEOF
51300 done
51310 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
51311 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
51312 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51313 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
51314 echo $ECHO_N "(cached) $ECHO_C" >&6
51315 else
51319 ac_ext=cc
51320 ac_cpp='$CXXCPP $CPPFLAGS'
51321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51325 cat >conftest.$ac_ext <<_ACEOF
51326 /* confdefs.h. */
51327 _ACEOF
51328 cat confdefs.h >>conftest.$ac_ext
51329 cat >>conftest.$ac_ext <<_ACEOF
51330 /* end confdefs.h. */
51331 #include <math.h>
51333 main ()
51335 sincosf(0, 0, 0);
51337 return 0;
51339 _ACEOF
51340 rm -f conftest.$ac_objext
51341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51342 (eval $ac_compile) 2>conftest.er1
51343 ac_status=$?
51344 grep -v '^ *+' conftest.er1 >conftest.err
51345 rm -f conftest.er1
51346 cat conftest.err >&5
51347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51348 (exit $ac_status); } &&
51349 { ac_try='test -z "$ac_cxx_werror_flag"
51350 || test ! -s conftest.err'
51351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51352 (eval $ac_try) 2>&5
51353 ac_status=$?
51354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51355 (exit $ac_status); }; } &&
51356 { ac_try='test -s conftest.$ac_objext'
51357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51358 (eval $ac_try) 2>&5
51359 ac_status=$?
51360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51361 (exit $ac_status); }; }; then
51362 glibcxx_cv_func_sincosf_use=yes
51363 else
51364 echo "$as_me: failed program was:" >&5
51365 sed 's/^/| /' conftest.$ac_ext >&5
51367 glibcxx_cv_func_sincosf_use=no
51369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51370 ac_ext=c
51371 ac_cpp='$CPP $CPPFLAGS'
51372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51380 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
51381 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
51383 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51385 for ac_func in sincosf
51387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51388 echo "$as_me:$LINENO: checking for $ac_func" >&5
51389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51390 if eval "test \"\${$as_ac_var+set}\" = set"; then
51391 echo $ECHO_N "(cached) $ECHO_C" >&6
51392 else
51393 if test x$gcc_no_link = xyes; then
51394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51396 { (exit 1); exit 1; }; }
51398 cat >conftest.$ac_ext <<_ACEOF
51399 /* confdefs.h. */
51400 _ACEOF
51401 cat confdefs.h >>conftest.$ac_ext
51402 cat >>conftest.$ac_ext <<_ACEOF
51403 /* end confdefs.h. */
51404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51406 #define $ac_func innocuous_$ac_func
51408 /* System header to define __stub macros and hopefully few prototypes,
51409 which can conflict with char $ac_func (); below.
51410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51411 <limits.h> exists even on freestanding compilers. */
51413 #ifdef __STDC__
51414 # include <limits.h>
51415 #else
51416 # include <assert.h>
51417 #endif
51419 #undef $ac_func
51421 /* Override any gcc2 internal prototype to avoid an error. */
51422 #ifdef __cplusplus
51423 extern "C"
51425 #endif
51426 /* We use char because int might match the return type of a gcc2
51427 builtin and then its argument prototype would still apply. */
51428 char $ac_func ();
51429 /* The GNU C library defines this for functions which it implements
51430 to always fail with ENOSYS. Some functions are actually named
51431 something starting with __ and the normal name is an alias. */
51432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51433 choke me
51434 #else
51435 char (*f) () = $ac_func;
51436 #endif
51437 #ifdef __cplusplus
51439 #endif
51442 main ()
51444 return f != $ac_func;
51446 return 0;
51448 _ACEOF
51449 rm -f conftest.$ac_objext conftest$ac_exeext
51450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51451 (eval $ac_link) 2>conftest.er1
51452 ac_status=$?
51453 grep -v '^ *+' conftest.er1 >conftest.err
51454 rm -f conftest.er1
51455 cat conftest.err >&5
51456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51457 (exit $ac_status); } &&
51458 { ac_try='test -z "$ac_c_werror_flag"
51459 || test ! -s conftest.err'
51460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51461 (eval $ac_try) 2>&5
51462 ac_status=$?
51463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51464 (exit $ac_status); }; } &&
51465 { ac_try='test -s conftest$ac_exeext'
51466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51467 (eval $ac_try) 2>&5
51468 ac_status=$?
51469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51470 (exit $ac_status); }; }; then
51471 eval "$as_ac_var=yes"
51472 else
51473 echo "$as_me: failed program was:" >&5
51474 sed 's/^/| /' conftest.$ac_ext >&5
51476 eval "$as_ac_var=no"
51478 rm -f conftest.err conftest.$ac_objext \
51479 conftest$ac_exeext conftest.$ac_ext
51481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51483 if test `eval echo '${'$as_ac_var'}'` = yes; then
51484 cat >>confdefs.h <<_ACEOF
51485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51486 _ACEOF
51489 done
51491 else
51493 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
51494 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
51495 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51496 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
51497 echo $ECHO_N "(cached) $ECHO_C" >&6
51498 else
51502 ac_ext=cc
51503 ac_cpp='$CXXCPP $CPPFLAGS'
51504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51508 cat >conftest.$ac_ext <<_ACEOF
51509 /* confdefs.h. */
51510 _ACEOF
51511 cat confdefs.h >>conftest.$ac_ext
51512 cat >>conftest.$ac_ext <<_ACEOF
51513 /* end confdefs.h. */
51514 #include <math.h>
51516 main ()
51518 _sincosf(0, 0, 0);
51520 return 0;
51522 _ACEOF
51523 rm -f conftest.$ac_objext
51524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51525 (eval $ac_compile) 2>conftest.er1
51526 ac_status=$?
51527 grep -v '^ *+' conftest.er1 >conftest.err
51528 rm -f conftest.er1
51529 cat conftest.err >&5
51530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51531 (exit $ac_status); } &&
51532 { ac_try='test -z "$ac_cxx_werror_flag"
51533 || test ! -s conftest.err'
51534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51535 (eval $ac_try) 2>&5
51536 ac_status=$?
51537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51538 (exit $ac_status); }; } &&
51539 { ac_try='test -s conftest.$ac_objext'
51540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51541 (eval $ac_try) 2>&5
51542 ac_status=$?
51543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51544 (exit $ac_status); }; }; then
51545 glibcxx_cv_func__sincosf_use=yes
51546 else
51547 echo "$as_me: failed program was:" >&5
51548 sed 's/^/| /' conftest.$ac_ext >&5
51550 glibcxx_cv_func__sincosf_use=no
51552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51553 ac_ext=c
51554 ac_cpp='$CPP $CPPFLAGS'
51555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51563 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
51564 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
51566 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51568 for ac_func in _sincosf
51570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51571 echo "$as_me:$LINENO: checking for $ac_func" >&5
51572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51573 if eval "test \"\${$as_ac_var+set}\" = set"; then
51574 echo $ECHO_N "(cached) $ECHO_C" >&6
51575 else
51576 if test x$gcc_no_link = xyes; then
51577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51579 { (exit 1); exit 1; }; }
51581 cat >conftest.$ac_ext <<_ACEOF
51582 /* confdefs.h. */
51583 _ACEOF
51584 cat confdefs.h >>conftest.$ac_ext
51585 cat >>conftest.$ac_ext <<_ACEOF
51586 /* end confdefs.h. */
51587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51589 #define $ac_func innocuous_$ac_func
51591 /* System header to define __stub macros and hopefully few prototypes,
51592 which can conflict with char $ac_func (); below.
51593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51594 <limits.h> exists even on freestanding compilers. */
51596 #ifdef __STDC__
51597 # include <limits.h>
51598 #else
51599 # include <assert.h>
51600 #endif
51602 #undef $ac_func
51604 /* Override any gcc2 internal prototype to avoid an error. */
51605 #ifdef __cplusplus
51606 extern "C"
51608 #endif
51609 /* We use char because int might match the return type of a gcc2
51610 builtin and then its argument prototype would still apply. */
51611 char $ac_func ();
51612 /* The GNU C library defines this for functions which it implements
51613 to always fail with ENOSYS. Some functions are actually named
51614 something starting with __ and the normal name is an alias. */
51615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51616 choke me
51617 #else
51618 char (*f) () = $ac_func;
51619 #endif
51620 #ifdef __cplusplus
51622 #endif
51625 main ()
51627 return f != $ac_func;
51629 return 0;
51631 _ACEOF
51632 rm -f conftest.$ac_objext conftest$ac_exeext
51633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51634 (eval $ac_link) 2>conftest.er1
51635 ac_status=$?
51636 grep -v '^ *+' conftest.er1 >conftest.err
51637 rm -f conftest.er1
51638 cat conftest.err >&5
51639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51640 (exit $ac_status); } &&
51641 { ac_try='test -z "$ac_c_werror_flag"
51642 || test ! -s conftest.err'
51643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51644 (eval $ac_try) 2>&5
51645 ac_status=$?
51646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51647 (exit $ac_status); }; } &&
51648 { ac_try='test -s conftest$ac_exeext'
51649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51650 (eval $ac_try) 2>&5
51651 ac_status=$?
51652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51653 (exit $ac_status); }; }; then
51654 eval "$as_ac_var=yes"
51655 else
51656 echo "$as_me: failed program was:" >&5
51657 sed 's/^/| /' conftest.$ac_ext >&5
51659 eval "$as_ac_var=no"
51661 rm -f conftest.err conftest.$ac_objext \
51662 conftest$ac_exeext conftest.$ac_ext
51664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51666 if test `eval echo '${'$as_ac_var'}'` = yes; then
51667 cat >>confdefs.h <<_ACEOF
51668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51669 _ACEOF
51672 done
51682 echo "$as_me:$LINENO: checking for finitef declaration" >&5
51683 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
51684 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51685 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
51686 echo $ECHO_N "(cached) $ECHO_C" >&6
51687 else
51691 ac_ext=cc
51692 ac_cpp='$CXXCPP $CPPFLAGS'
51693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51697 cat >conftest.$ac_ext <<_ACEOF
51698 /* confdefs.h. */
51699 _ACEOF
51700 cat confdefs.h >>conftest.$ac_ext
51701 cat >>conftest.$ac_ext <<_ACEOF
51702 /* end confdefs.h. */
51703 #include <math.h>
51704 #ifdef HAVE_IEEEFP_H
51705 #include <ieeefp.h>
51706 #endif
51709 main ()
51711 finitef(0);
51713 return 0;
51715 _ACEOF
51716 rm -f conftest.$ac_objext
51717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51718 (eval $ac_compile) 2>conftest.er1
51719 ac_status=$?
51720 grep -v '^ *+' conftest.er1 >conftest.err
51721 rm -f conftest.er1
51722 cat conftest.err >&5
51723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51724 (exit $ac_status); } &&
51725 { ac_try='test -z "$ac_cxx_werror_flag"
51726 || test ! -s conftest.err'
51727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51728 (eval $ac_try) 2>&5
51729 ac_status=$?
51730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51731 (exit $ac_status); }; } &&
51732 { ac_try='test -s conftest.$ac_objext'
51733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51734 (eval $ac_try) 2>&5
51735 ac_status=$?
51736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51737 (exit $ac_status); }; }; then
51738 glibcxx_cv_func_finitef_use=yes
51739 else
51740 echo "$as_me: failed program was:" >&5
51741 sed 's/^/| /' conftest.$ac_ext >&5
51743 glibcxx_cv_func_finitef_use=no
51745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51746 ac_ext=c
51747 ac_cpp='$CPP $CPPFLAGS'
51748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51756 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
51757 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
51759 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51761 for ac_func in finitef
51763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51764 echo "$as_me:$LINENO: checking for $ac_func" >&5
51765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51766 if eval "test \"\${$as_ac_var+set}\" = set"; then
51767 echo $ECHO_N "(cached) $ECHO_C" >&6
51768 else
51769 if test x$gcc_no_link = xyes; then
51770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51772 { (exit 1); exit 1; }; }
51774 cat >conftest.$ac_ext <<_ACEOF
51775 /* confdefs.h. */
51776 _ACEOF
51777 cat confdefs.h >>conftest.$ac_ext
51778 cat >>conftest.$ac_ext <<_ACEOF
51779 /* end confdefs.h. */
51780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51782 #define $ac_func innocuous_$ac_func
51784 /* System header to define __stub macros and hopefully few prototypes,
51785 which can conflict with char $ac_func (); below.
51786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51787 <limits.h> exists even on freestanding compilers. */
51789 #ifdef __STDC__
51790 # include <limits.h>
51791 #else
51792 # include <assert.h>
51793 #endif
51795 #undef $ac_func
51797 /* Override any gcc2 internal prototype to avoid an error. */
51798 #ifdef __cplusplus
51799 extern "C"
51801 #endif
51802 /* We use char because int might match the return type of a gcc2
51803 builtin and then its argument prototype would still apply. */
51804 char $ac_func ();
51805 /* The GNU C library defines this for functions which it implements
51806 to always fail with ENOSYS. Some functions are actually named
51807 something starting with __ and the normal name is an alias. */
51808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51809 choke me
51810 #else
51811 char (*f) () = $ac_func;
51812 #endif
51813 #ifdef __cplusplus
51815 #endif
51818 main ()
51820 return f != $ac_func;
51822 return 0;
51824 _ACEOF
51825 rm -f conftest.$ac_objext conftest$ac_exeext
51826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51827 (eval $ac_link) 2>conftest.er1
51828 ac_status=$?
51829 grep -v '^ *+' conftest.er1 >conftest.err
51830 rm -f conftest.er1
51831 cat conftest.err >&5
51832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51833 (exit $ac_status); } &&
51834 { ac_try='test -z "$ac_c_werror_flag"
51835 || test ! -s conftest.err'
51836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51837 (eval $ac_try) 2>&5
51838 ac_status=$?
51839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51840 (exit $ac_status); }; } &&
51841 { ac_try='test -s conftest$ac_exeext'
51842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51843 (eval $ac_try) 2>&5
51844 ac_status=$?
51845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51846 (exit $ac_status); }; }; then
51847 eval "$as_ac_var=yes"
51848 else
51849 echo "$as_me: failed program was:" >&5
51850 sed 's/^/| /' conftest.$ac_ext >&5
51852 eval "$as_ac_var=no"
51854 rm -f conftest.err conftest.$ac_objext \
51855 conftest$ac_exeext conftest.$ac_ext
51857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51859 if test `eval echo '${'$as_ac_var'}'` = yes; then
51860 cat >>confdefs.h <<_ACEOF
51861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51862 _ACEOF
51865 done
51867 else
51869 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
51870 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
51871 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51872 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
51873 echo $ECHO_N "(cached) $ECHO_C" >&6
51874 else
51878 ac_ext=cc
51879 ac_cpp='$CXXCPP $CPPFLAGS'
51880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51884 cat >conftest.$ac_ext <<_ACEOF
51885 /* confdefs.h. */
51886 _ACEOF
51887 cat confdefs.h >>conftest.$ac_ext
51888 cat >>conftest.$ac_ext <<_ACEOF
51889 /* end confdefs.h. */
51890 #include <math.h>
51891 #ifdef HAVE_IEEEFP_H
51892 #include <ieeefp.h>
51893 #endif
51896 main ()
51898 _finitef(0);
51900 return 0;
51902 _ACEOF
51903 rm -f conftest.$ac_objext
51904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51905 (eval $ac_compile) 2>conftest.er1
51906 ac_status=$?
51907 grep -v '^ *+' conftest.er1 >conftest.err
51908 rm -f conftest.er1
51909 cat conftest.err >&5
51910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51911 (exit $ac_status); } &&
51912 { ac_try='test -z "$ac_cxx_werror_flag"
51913 || test ! -s conftest.err'
51914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51915 (eval $ac_try) 2>&5
51916 ac_status=$?
51917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51918 (exit $ac_status); }; } &&
51919 { ac_try='test -s conftest.$ac_objext'
51920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51921 (eval $ac_try) 2>&5
51922 ac_status=$?
51923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51924 (exit $ac_status); }; }; then
51925 glibcxx_cv_func__finitef_use=yes
51926 else
51927 echo "$as_me: failed program was:" >&5
51928 sed 's/^/| /' conftest.$ac_ext >&5
51930 glibcxx_cv_func__finitef_use=no
51932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51933 ac_ext=c
51934 ac_cpp='$CPP $CPPFLAGS'
51935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51943 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
51944 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
51946 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51948 for ac_func in _finitef
51950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51951 echo "$as_me:$LINENO: checking for $ac_func" >&5
51952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51953 if eval "test \"\${$as_ac_var+set}\" = set"; then
51954 echo $ECHO_N "(cached) $ECHO_C" >&6
51955 else
51956 if test x$gcc_no_link = xyes; then
51957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51959 { (exit 1); exit 1; }; }
51961 cat >conftest.$ac_ext <<_ACEOF
51962 /* confdefs.h. */
51963 _ACEOF
51964 cat confdefs.h >>conftest.$ac_ext
51965 cat >>conftest.$ac_ext <<_ACEOF
51966 /* end confdefs.h. */
51967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51969 #define $ac_func innocuous_$ac_func
51971 /* System header to define __stub macros and hopefully few prototypes,
51972 which can conflict with char $ac_func (); below.
51973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51974 <limits.h> exists even on freestanding compilers. */
51976 #ifdef __STDC__
51977 # include <limits.h>
51978 #else
51979 # include <assert.h>
51980 #endif
51982 #undef $ac_func
51984 /* Override any gcc2 internal prototype to avoid an error. */
51985 #ifdef __cplusplus
51986 extern "C"
51988 #endif
51989 /* We use char because int might match the return type of a gcc2
51990 builtin and then its argument prototype would still apply. */
51991 char $ac_func ();
51992 /* The GNU C library defines this for functions which it implements
51993 to always fail with ENOSYS. Some functions are actually named
51994 something starting with __ and the normal name is an alias. */
51995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51996 choke me
51997 #else
51998 char (*f) () = $ac_func;
51999 #endif
52000 #ifdef __cplusplus
52002 #endif
52005 main ()
52007 return f != $ac_func;
52009 return 0;
52011 _ACEOF
52012 rm -f conftest.$ac_objext conftest$ac_exeext
52013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52014 (eval $ac_link) 2>conftest.er1
52015 ac_status=$?
52016 grep -v '^ *+' conftest.er1 >conftest.err
52017 rm -f conftest.er1
52018 cat conftest.err >&5
52019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52020 (exit $ac_status); } &&
52021 { ac_try='test -z "$ac_c_werror_flag"
52022 || test ! -s conftest.err'
52023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52024 (eval $ac_try) 2>&5
52025 ac_status=$?
52026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52027 (exit $ac_status); }; } &&
52028 { ac_try='test -s conftest$ac_exeext'
52029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52030 (eval $ac_try) 2>&5
52031 ac_status=$?
52032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52033 (exit $ac_status); }; }; then
52034 eval "$as_ac_var=yes"
52035 else
52036 echo "$as_me: failed program was:" >&5
52037 sed 's/^/| /' conftest.$ac_ext >&5
52039 eval "$as_ac_var=no"
52041 rm -f conftest.err conftest.$ac_objext \
52042 conftest$ac_exeext conftest.$ac_ext
52044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52046 if test `eval echo '${'$as_ac_var'}'` = yes; then
52047 cat >>confdefs.h <<_ACEOF
52048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52049 _ACEOF
52052 done
52062 echo "$as_me:$LINENO: checking for long double trig functions" >&5
52063 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
52064 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
52065 echo $ECHO_N "(cached) $ECHO_C" >&6
52066 else
52070 ac_ext=cc
52071 ac_cpp='$CXXCPP $CPPFLAGS'
52072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52076 cat >conftest.$ac_ext <<_ACEOF
52077 /* confdefs.h. */
52078 _ACEOF
52079 cat confdefs.h >>conftest.$ac_ext
52080 cat >>conftest.$ac_ext <<_ACEOF
52081 /* end confdefs.h. */
52082 #include <math.h>
52084 main ()
52086 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
52088 return 0;
52090 _ACEOF
52091 rm -f conftest.$ac_objext
52092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52093 (eval $ac_compile) 2>conftest.er1
52094 ac_status=$?
52095 grep -v '^ *+' conftest.er1 >conftest.err
52096 rm -f conftest.er1
52097 cat conftest.err >&5
52098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52099 (exit $ac_status); } &&
52100 { ac_try='test -z "$ac_cxx_werror_flag"
52101 || test ! -s conftest.err'
52102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52103 (eval $ac_try) 2>&5
52104 ac_status=$?
52105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52106 (exit $ac_status); }; } &&
52107 { ac_try='test -s conftest.$ac_objext'
52108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52109 (eval $ac_try) 2>&5
52110 ac_status=$?
52111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52112 (exit $ac_status); }; }; then
52113 glibcxx_cv_func_long_double_trig_use=yes
52114 else
52115 echo "$as_me: failed program was:" >&5
52116 sed 's/^/| /' conftest.$ac_ext >&5
52118 glibcxx_cv_func_long_double_trig_use=no
52120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52121 ac_ext=c
52122 ac_cpp='$CPP $CPPFLAGS'
52123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52129 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
52130 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
52131 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
52141 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
52143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52144 echo "$as_me:$LINENO: checking for $ac_func" >&5
52145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52146 if eval "test \"\${$as_ac_var+set}\" = set"; then
52147 echo $ECHO_N "(cached) $ECHO_C" >&6
52148 else
52149 if test x$gcc_no_link = xyes; then
52150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52152 { (exit 1); exit 1; }; }
52154 cat >conftest.$ac_ext <<_ACEOF
52155 /* confdefs.h. */
52156 _ACEOF
52157 cat confdefs.h >>conftest.$ac_ext
52158 cat >>conftest.$ac_ext <<_ACEOF
52159 /* end confdefs.h. */
52160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52162 #define $ac_func innocuous_$ac_func
52164 /* System header to define __stub macros and hopefully few prototypes,
52165 which can conflict with char $ac_func (); below.
52166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52167 <limits.h> exists even on freestanding compilers. */
52169 #ifdef __STDC__
52170 # include <limits.h>
52171 #else
52172 # include <assert.h>
52173 #endif
52175 #undef $ac_func
52177 /* Override any gcc2 internal prototype to avoid an error. */
52178 #ifdef __cplusplus
52179 extern "C"
52181 #endif
52182 /* We use char because int might match the return type of a gcc2
52183 builtin and then its argument prototype would still apply. */
52184 char $ac_func ();
52185 /* The GNU C library defines this for functions which it implements
52186 to always fail with ENOSYS. Some functions are actually named
52187 something starting with __ and the normal name is an alias. */
52188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52189 choke me
52190 #else
52191 char (*f) () = $ac_func;
52192 #endif
52193 #ifdef __cplusplus
52195 #endif
52198 main ()
52200 return f != $ac_func;
52202 return 0;
52204 _ACEOF
52205 rm -f conftest.$ac_objext conftest$ac_exeext
52206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52207 (eval $ac_link) 2>conftest.er1
52208 ac_status=$?
52209 grep -v '^ *+' conftest.er1 >conftest.err
52210 rm -f conftest.er1
52211 cat conftest.err >&5
52212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52213 (exit $ac_status); } &&
52214 { ac_try='test -z "$ac_c_werror_flag"
52215 || test ! -s conftest.err'
52216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52217 (eval $ac_try) 2>&5
52218 ac_status=$?
52219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52220 (exit $ac_status); }; } &&
52221 { ac_try='test -s conftest$ac_exeext'
52222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52223 (eval $ac_try) 2>&5
52224 ac_status=$?
52225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52226 (exit $ac_status); }; }; then
52227 eval "$as_ac_var=yes"
52228 else
52229 echo "$as_me: failed program was:" >&5
52230 sed 's/^/| /' conftest.$ac_ext >&5
52232 eval "$as_ac_var=no"
52234 rm -f conftest.err conftest.$ac_objext \
52235 conftest$ac_exeext conftest.$ac_ext
52237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52239 if test `eval echo '${'$as_ac_var'}'` = yes; then
52240 cat >>confdefs.h <<_ACEOF
52241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52242 _ACEOF
52245 done
52247 else
52248 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
52249 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
52250 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
52251 echo $ECHO_N "(cached) $ECHO_C" >&6
52252 else
52256 ac_ext=cc
52257 ac_cpp='$CXXCPP $CPPFLAGS'
52258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52262 cat >conftest.$ac_ext <<_ACEOF
52263 /* confdefs.h. */
52264 _ACEOF
52265 cat confdefs.h >>conftest.$ac_ext
52266 cat >>conftest.$ac_ext <<_ACEOF
52267 /* end confdefs.h. */
52268 #include <math.h>
52270 main ()
52272 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
52274 return 0;
52276 _ACEOF
52277 rm -f conftest.$ac_objext
52278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52279 (eval $ac_compile) 2>conftest.er1
52280 ac_status=$?
52281 grep -v '^ *+' conftest.er1 >conftest.err
52282 rm -f conftest.er1
52283 cat conftest.err >&5
52284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52285 (exit $ac_status); } &&
52286 { ac_try='test -z "$ac_cxx_werror_flag"
52287 || test ! -s conftest.err'
52288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52289 (eval $ac_try) 2>&5
52290 ac_status=$?
52291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52292 (exit $ac_status); }; } &&
52293 { ac_try='test -s conftest.$ac_objext'
52294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52295 (eval $ac_try) 2>&5
52296 ac_status=$?
52297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52298 (exit $ac_status); }; }; then
52299 glibcxx_cv_func__long_double_trig_use=yes
52300 else
52301 echo "$as_me: failed program was:" >&5
52302 sed 's/^/| /' conftest.$ac_ext >&5
52304 glibcxx_cv_func__long_double_trig_use=no
52306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52307 ac_ext=c
52308 ac_cpp='$CPP $CPPFLAGS'
52309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52315 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
52316 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
52317 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
52327 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
52329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52330 echo "$as_me:$LINENO: checking for $ac_func" >&5
52331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52332 if eval "test \"\${$as_ac_var+set}\" = set"; then
52333 echo $ECHO_N "(cached) $ECHO_C" >&6
52334 else
52335 if test x$gcc_no_link = xyes; then
52336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52338 { (exit 1); exit 1; }; }
52340 cat >conftest.$ac_ext <<_ACEOF
52341 /* confdefs.h. */
52342 _ACEOF
52343 cat confdefs.h >>conftest.$ac_ext
52344 cat >>conftest.$ac_ext <<_ACEOF
52345 /* end confdefs.h. */
52346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52348 #define $ac_func innocuous_$ac_func
52350 /* System header to define __stub macros and hopefully few prototypes,
52351 which can conflict with char $ac_func (); below.
52352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52353 <limits.h> exists even on freestanding compilers. */
52355 #ifdef __STDC__
52356 # include <limits.h>
52357 #else
52358 # include <assert.h>
52359 #endif
52361 #undef $ac_func
52363 /* Override any gcc2 internal prototype to avoid an error. */
52364 #ifdef __cplusplus
52365 extern "C"
52367 #endif
52368 /* We use char because int might match the return type of a gcc2
52369 builtin and then its argument prototype would still apply. */
52370 char $ac_func ();
52371 /* The GNU C library defines this for functions which it implements
52372 to always fail with ENOSYS. Some functions are actually named
52373 something starting with __ and the normal name is an alias. */
52374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52375 choke me
52376 #else
52377 char (*f) () = $ac_func;
52378 #endif
52379 #ifdef __cplusplus
52381 #endif
52384 main ()
52386 return f != $ac_func;
52388 return 0;
52390 _ACEOF
52391 rm -f conftest.$ac_objext conftest$ac_exeext
52392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52393 (eval $ac_link) 2>conftest.er1
52394 ac_status=$?
52395 grep -v '^ *+' conftest.er1 >conftest.err
52396 rm -f conftest.er1
52397 cat conftest.err >&5
52398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52399 (exit $ac_status); } &&
52400 { ac_try='test -z "$ac_c_werror_flag"
52401 || test ! -s conftest.err'
52402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52403 (eval $ac_try) 2>&5
52404 ac_status=$?
52405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52406 (exit $ac_status); }; } &&
52407 { ac_try='test -s conftest$ac_exeext'
52408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52409 (eval $ac_try) 2>&5
52410 ac_status=$?
52411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52412 (exit $ac_status); }; }; then
52413 eval "$as_ac_var=yes"
52414 else
52415 echo "$as_me: failed program was:" >&5
52416 sed 's/^/| /' conftest.$ac_ext >&5
52418 eval "$as_ac_var=no"
52420 rm -f conftest.err conftest.$ac_objext \
52421 conftest$ac_exeext conftest.$ac_ext
52423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52425 if test `eval echo '${'$as_ac_var'}'` = yes; then
52426 cat >>confdefs.h <<_ACEOF
52427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52428 _ACEOF
52431 done
52449 echo "$as_me:$LINENO: checking for long double round functions" >&5
52450 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
52451 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
52452 echo $ECHO_N "(cached) $ECHO_C" >&6
52453 else
52457 ac_ext=cc
52458 ac_cpp='$CXXCPP $CPPFLAGS'
52459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52463 cat >conftest.$ac_ext <<_ACEOF
52464 /* confdefs.h. */
52465 _ACEOF
52466 cat confdefs.h >>conftest.$ac_ext
52467 cat >>conftest.$ac_ext <<_ACEOF
52468 /* end confdefs.h. */
52469 #include <math.h>
52471 main ()
52473 ceill (0); floorl (0);
52475 return 0;
52477 _ACEOF
52478 rm -f conftest.$ac_objext
52479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52480 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_long_double_round_use=yes
52501 else
52502 echo "$as_me: failed program was:" >&5
52503 sed 's/^/| /' conftest.$ac_ext >&5
52505 glibcxx_cv_func_long_double_round_use=no
52507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52508 ac_ext=c
52509 ac_cpp='$CPP $CPPFLAGS'
52510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52516 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
52517 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
52518 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
52521 for ac_func in ceill floorl
52523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52524 echo "$as_me:$LINENO: checking for $ac_func" >&5
52525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52526 if eval "test \"\${$as_ac_var+set}\" = set"; then
52527 echo $ECHO_N "(cached) $ECHO_C" >&6
52528 else
52529 if test x$gcc_no_link = xyes; then
52530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52532 { (exit 1); exit 1; }; }
52534 cat >conftest.$ac_ext <<_ACEOF
52535 /* confdefs.h. */
52536 _ACEOF
52537 cat confdefs.h >>conftest.$ac_ext
52538 cat >>conftest.$ac_ext <<_ACEOF
52539 /* end confdefs.h. */
52540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52542 #define $ac_func innocuous_$ac_func
52544 /* System header to define __stub macros and hopefully few prototypes,
52545 which can conflict with char $ac_func (); below.
52546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52547 <limits.h> exists even on freestanding compilers. */
52549 #ifdef __STDC__
52550 # include <limits.h>
52551 #else
52552 # include <assert.h>
52553 #endif
52555 #undef $ac_func
52557 /* Override any gcc2 internal prototype to avoid an error. */
52558 #ifdef __cplusplus
52559 extern "C"
52561 #endif
52562 /* We use char because int might match the return type of a gcc2
52563 builtin and then its argument prototype would still apply. */
52564 char $ac_func ();
52565 /* The GNU C library defines this for functions which it implements
52566 to always fail with ENOSYS. Some functions are actually named
52567 something starting with __ and the normal name is an alias. */
52568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52569 choke me
52570 #else
52571 char (*f) () = $ac_func;
52572 #endif
52573 #ifdef __cplusplus
52575 #endif
52578 main ()
52580 return f != $ac_func;
52582 return 0;
52584 _ACEOF
52585 rm -f conftest.$ac_objext conftest$ac_exeext
52586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52587 (eval $ac_link) 2>conftest.er1
52588 ac_status=$?
52589 grep -v '^ *+' conftest.er1 >conftest.err
52590 rm -f conftest.er1
52591 cat conftest.err >&5
52592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52593 (exit $ac_status); } &&
52594 { ac_try='test -z "$ac_c_werror_flag"
52595 || test ! -s conftest.err'
52596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52597 (eval $ac_try) 2>&5
52598 ac_status=$?
52599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52600 (exit $ac_status); }; } &&
52601 { ac_try='test -s conftest$ac_exeext'
52602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52603 (eval $ac_try) 2>&5
52604 ac_status=$?
52605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52606 (exit $ac_status); }; }; then
52607 eval "$as_ac_var=yes"
52608 else
52609 echo "$as_me: failed program was:" >&5
52610 sed 's/^/| /' conftest.$ac_ext >&5
52612 eval "$as_ac_var=no"
52614 rm -f conftest.err conftest.$ac_objext \
52615 conftest$ac_exeext conftest.$ac_ext
52617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52619 if test `eval echo '${'$as_ac_var'}'` = yes; then
52620 cat >>confdefs.h <<_ACEOF
52621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52622 _ACEOF
52625 done
52627 else
52628 echo "$as_me:$LINENO: checking for _long double round functions" >&5
52629 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
52630 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
52631 echo $ECHO_N "(cached) $ECHO_C" >&6
52632 else
52636 ac_ext=cc
52637 ac_cpp='$CXXCPP $CPPFLAGS'
52638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52642 cat >conftest.$ac_ext <<_ACEOF
52643 /* confdefs.h. */
52644 _ACEOF
52645 cat confdefs.h >>conftest.$ac_ext
52646 cat >>conftest.$ac_ext <<_ACEOF
52647 /* end confdefs.h. */
52648 #include <math.h>
52650 main ()
52652 _ceill (0); _floorl (0);
52654 return 0;
52656 _ACEOF
52657 rm -f conftest.$ac_objext
52658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52659 (eval $ac_compile) 2>conftest.er1
52660 ac_status=$?
52661 grep -v '^ *+' conftest.er1 >conftest.err
52662 rm -f conftest.er1
52663 cat conftest.err >&5
52664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52665 (exit $ac_status); } &&
52666 { ac_try='test -z "$ac_cxx_werror_flag"
52667 || test ! -s conftest.err'
52668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52669 (eval $ac_try) 2>&5
52670 ac_status=$?
52671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52672 (exit $ac_status); }; } &&
52673 { ac_try='test -s conftest.$ac_objext'
52674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52675 (eval $ac_try) 2>&5
52676 ac_status=$?
52677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52678 (exit $ac_status); }; }; then
52679 glibcxx_cv_func__long_double_round_use=yes
52680 else
52681 echo "$as_me: failed program was:" >&5
52682 sed 's/^/| /' conftest.$ac_ext >&5
52684 glibcxx_cv_func__long_double_round_use=no
52686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52687 ac_ext=c
52688 ac_cpp='$CPP $CPPFLAGS'
52689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52695 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
52696 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
52697 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
52700 for ac_func in _ceill _floorl
52702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52703 echo "$as_me:$LINENO: checking for $ac_func" >&5
52704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52705 if eval "test \"\${$as_ac_var+set}\" = set"; then
52706 echo $ECHO_N "(cached) $ECHO_C" >&6
52707 else
52708 if test x$gcc_no_link = xyes; then
52709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52711 { (exit 1); exit 1; }; }
52713 cat >conftest.$ac_ext <<_ACEOF
52714 /* confdefs.h. */
52715 _ACEOF
52716 cat confdefs.h >>conftest.$ac_ext
52717 cat >>conftest.$ac_ext <<_ACEOF
52718 /* end confdefs.h. */
52719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52721 #define $ac_func innocuous_$ac_func
52723 /* System header to define __stub macros and hopefully few prototypes,
52724 which can conflict with char $ac_func (); below.
52725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52726 <limits.h> exists even on freestanding compilers. */
52728 #ifdef __STDC__
52729 # include <limits.h>
52730 #else
52731 # include <assert.h>
52732 #endif
52734 #undef $ac_func
52736 /* Override any gcc2 internal prototype to avoid an error. */
52737 #ifdef __cplusplus
52738 extern "C"
52740 #endif
52741 /* We use char because int might match the return type of a gcc2
52742 builtin and then its argument prototype would still apply. */
52743 char $ac_func ();
52744 /* The GNU C library defines this for functions which it implements
52745 to always fail with ENOSYS. Some functions are actually named
52746 something starting with __ and the normal name is an alias. */
52747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52748 choke me
52749 #else
52750 char (*f) () = $ac_func;
52751 #endif
52752 #ifdef __cplusplus
52754 #endif
52757 main ()
52759 return f != $ac_func;
52761 return 0;
52763 _ACEOF
52764 rm -f conftest.$ac_objext conftest$ac_exeext
52765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52766 (eval $ac_link) 2>conftest.er1
52767 ac_status=$?
52768 grep -v '^ *+' conftest.er1 >conftest.err
52769 rm -f conftest.er1
52770 cat conftest.err >&5
52771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52772 (exit $ac_status); } &&
52773 { ac_try='test -z "$ac_c_werror_flag"
52774 || test ! -s conftest.err'
52775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52776 (eval $ac_try) 2>&5
52777 ac_status=$?
52778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52779 (exit $ac_status); }; } &&
52780 { ac_try='test -s conftest$ac_exeext'
52781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52782 (eval $ac_try) 2>&5
52783 ac_status=$?
52784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52785 (exit $ac_status); }; }; then
52786 eval "$as_ac_var=yes"
52787 else
52788 echo "$as_me: failed program was:" >&5
52789 sed 's/^/| /' conftest.$ac_ext >&5
52791 eval "$as_ac_var=no"
52793 rm -f conftest.err conftest.$ac_objext \
52794 conftest$ac_exeext conftest.$ac_ext
52796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52798 if test `eval echo '${'$as_ac_var'}'` = yes; then
52799 cat >>confdefs.h <<_ACEOF
52800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52801 _ACEOF
52804 done
52816 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
52817 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
52818 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
52819 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
52820 echo $ECHO_N "(cached) $ECHO_C" >&6
52821 else
52825 ac_ext=cc
52826 ac_cpp='$CXXCPP $CPPFLAGS'
52827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52831 cat >conftest.$ac_ext <<_ACEOF
52832 /* confdefs.h. */
52833 _ACEOF
52834 cat confdefs.h >>conftest.$ac_ext
52835 cat >>conftest.$ac_ext <<_ACEOF
52836 /* end confdefs.h. */
52837 #include <math.h>
52838 #ifdef HAVE_IEEEFP_H
52839 #include <ieeefp.h>
52840 #endif
52843 main ()
52845 isnanl(0);
52847 return 0;
52849 _ACEOF
52850 rm -f conftest.$ac_objext
52851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52852 (eval $ac_compile) 2>conftest.er1
52853 ac_status=$?
52854 grep -v '^ *+' conftest.er1 >conftest.err
52855 rm -f conftest.er1
52856 cat conftest.err >&5
52857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52858 (exit $ac_status); } &&
52859 { ac_try='test -z "$ac_cxx_werror_flag"
52860 || test ! -s conftest.err'
52861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52862 (eval $ac_try) 2>&5
52863 ac_status=$?
52864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52865 (exit $ac_status); }; } &&
52866 { ac_try='test -s conftest.$ac_objext'
52867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52868 (eval $ac_try) 2>&5
52869 ac_status=$?
52870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52871 (exit $ac_status); }; }; then
52872 glibcxx_cv_func_isnanl_use=yes
52873 else
52874 echo "$as_me: failed program was:" >&5
52875 sed 's/^/| /' conftest.$ac_ext >&5
52877 glibcxx_cv_func_isnanl_use=no
52879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52880 ac_ext=c
52881 ac_cpp='$CPP $CPPFLAGS'
52882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52890 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
52891 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
52893 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
52895 for ac_func in isnanl
52897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52898 echo "$as_me:$LINENO: checking for $ac_func" >&5
52899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52900 if eval "test \"\${$as_ac_var+set}\" = set"; then
52901 echo $ECHO_N "(cached) $ECHO_C" >&6
52902 else
52903 if test x$gcc_no_link = xyes; then
52904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52906 { (exit 1); exit 1; }; }
52908 cat >conftest.$ac_ext <<_ACEOF
52909 /* confdefs.h. */
52910 _ACEOF
52911 cat confdefs.h >>conftest.$ac_ext
52912 cat >>conftest.$ac_ext <<_ACEOF
52913 /* end confdefs.h. */
52914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52916 #define $ac_func innocuous_$ac_func
52918 /* System header to define __stub macros and hopefully few prototypes,
52919 which can conflict with char $ac_func (); below.
52920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52921 <limits.h> exists even on freestanding compilers. */
52923 #ifdef __STDC__
52924 # include <limits.h>
52925 #else
52926 # include <assert.h>
52927 #endif
52929 #undef $ac_func
52931 /* Override any gcc2 internal prototype to avoid an error. */
52932 #ifdef __cplusplus
52933 extern "C"
52935 #endif
52936 /* We use char because int might match the return type of a gcc2
52937 builtin and then its argument prototype would still apply. */
52938 char $ac_func ();
52939 /* The GNU C library defines this for functions which it implements
52940 to always fail with ENOSYS. Some functions are actually named
52941 something starting with __ and the normal name is an alias. */
52942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52943 choke me
52944 #else
52945 char (*f) () = $ac_func;
52946 #endif
52947 #ifdef __cplusplus
52949 #endif
52952 main ()
52954 return f != $ac_func;
52956 return 0;
52958 _ACEOF
52959 rm -f conftest.$ac_objext conftest$ac_exeext
52960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52961 (eval $ac_link) 2>conftest.er1
52962 ac_status=$?
52963 grep -v '^ *+' conftest.er1 >conftest.err
52964 rm -f conftest.er1
52965 cat conftest.err >&5
52966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52967 (exit $ac_status); } &&
52968 { ac_try='test -z "$ac_c_werror_flag"
52969 || test ! -s conftest.err'
52970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52971 (eval $ac_try) 2>&5
52972 ac_status=$?
52973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52974 (exit $ac_status); }; } &&
52975 { ac_try='test -s conftest$ac_exeext'
52976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52977 (eval $ac_try) 2>&5
52978 ac_status=$?
52979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52980 (exit $ac_status); }; }; then
52981 eval "$as_ac_var=yes"
52982 else
52983 echo "$as_me: failed program was:" >&5
52984 sed 's/^/| /' conftest.$ac_ext >&5
52986 eval "$as_ac_var=no"
52988 rm -f conftest.err conftest.$ac_objext \
52989 conftest$ac_exeext conftest.$ac_ext
52991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52993 if test `eval echo '${'$as_ac_var'}'` = yes; then
52994 cat >>confdefs.h <<_ACEOF
52995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52996 _ACEOF
52999 done
53001 else
53003 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
53004 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
53005 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
53006 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
53007 echo $ECHO_N "(cached) $ECHO_C" >&6
53008 else
53012 ac_ext=cc
53013 ac_cpp='$CXXCPP $CPPFLAGS'
53014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53018 cat >conftest.$ac_ext <<_ACEOF
53019 /* confdefs.h. */
53020 _ACEOF
53021 cat confdefs.h >>conftest.$ac_ext
53022 cat >>conftest.$ac_ext <<_ACEOF
53023 /* end confdefs.h. */
53024 #include <math.h>
53025 #ifdef HAVE_IEEEFP_H
53026 #include <ieeefp.h>
53027 #endif
53030 main ()
53032 _isnanl(0);
53034 return 0;
53036 _ACEOF
53037 rm -f conftest.$ac_objext
53038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53039 (eval $ac_compile) 2>conftest.er1
53040 ac_status=$?
53041 grep -v '^ *+' conftest.er1 >conftest.err
53042 rm -f conftest.er1
53043 cat conftest.err >&5
53044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53045 (exit $ac_status); } &&
53046 { ac_try='test -z "$ac_cxx_werror_flag"
53047 || test ! -s conftest.err'
53048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53049 (eval $ac_try) 2>&5
53050 ac_status=$?
53051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53052 (exit $ac_status); }; } &&
53053 { ac_try='test -s conftest.$ac_objext'
53054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53055 (eval $ac_try) 2>&5
53056 ac_status=$?
53057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53058 (exit $ac_status); }; }; then
53059 glibcxx_cv_func__isnanl_use=yes
53060 else
53061 echo "$as_me: failed program was:" >&5
53062 sed 's/^/| /' conftest.$ac_ext >&5
53064 glibcxx_cv_func__isnanl_use=no
53066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53067 ac_ext=c
53068 ac_cpp='$CPP $CPPFLAGS'
53069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53077 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
53078 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
53080 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
53082 for ac_func in _isnanl
53084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53085 echo "$as_me:$LINENO: checking for $ac_func" >&5
53086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53087 if eval "test \"\${$as_ac_var+set}\" = set"; then
53088 echo $ECHO_N "(cached) $ECHO_C" >&6
53089 else
53090 if test x$gcc_no_link = xyes; then
53091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53093 { (exit 1); exit 1; }; }
53095 cat >conftest.$ac_ext <<_ACEOF
53096 /* confdefs.h. */
53097 _ACEOF
53098 cat confdefs.h >>conftest.$ac_ext
53099 cat >>conftest.$ac_ext <<_ACEOF
53100 /* end confdefs.h. */
53101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53103 #define $ac_func innocuous_$ac_func
53105 /* System header to define __stub macros and hopefully few prototypes,
53106 which can conflict with char $ac_func (); below.
53107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53108 <limits.h> exists even on freestanding compilers. */
53110 #ifdef __STDC__
53111 # include <limits.h>
53112 #else
53113 # include <assert.h>
53114 #endif
53116 #undef $ac_func
53118 /* Override any gcc2 internal prototype to avoid an error. */
53119 #ifdef __cplusplus
53120 extern "C"
53122 #endif
53123 /* We use char because int might match the return type of a gcc2
53124 builtin and then its argument prototype would still apply. */
53125 char $ac_func ();
53126 /* The GNU C library defines this for functions which it implements
53127 to always fail with ENOSYS. Some functions are actually named
53128 something starting with __ and the normal name is an alias. */
53129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53130 choke me
53131 #else
53132 char (*f) () = $ac_func;
53133 #endif
53134 #ifdef __cplusplus
53136 #endif
53139 main ()
53141 return f != $ac_func;
53143 return 0;
53145 _ACEOF
53146 rm -f conftest.$ac_objext conftest$ac_exeext
53147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53148 (eval $ac_link) 2>conftest.er1
53149 ac_status=$?
53150 grep -v '^ *+' conftest.er1 >conftest.err
53151 rm -f conftest.er1
53152 cat conftest.err >&5
53153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53154 (exit $ac_status); } &&
53155 { ac_try='test -z "$ac_c_werror_flag"
53156 || test ! -s conftest.err'
53157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53158 (eval $ac_try) 2>&5
53159 ac_status=$?
53160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53161 (exit $ac_status); }; } &&
53162 { ac_try='test -s conftest$ac_exeext'
53163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53164 (eval $ac_try) 2>&5
53165 ac_status=$?
53166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53167 (exit $ac_status); }; }; then
53168 eval "$as_ac_var=yes"
53169 else
53170 echo "$as_me: failed program was:" >&5
53171 sed 's/^/| /' conftest.$ac_ext >&5
53173 eval "$as_ac_var=no"
53175 rm -f conftest.err conftest.$ac_objext \
53176 conftest$ac_exeext conftest.$ac_ext
53178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53180 if test `eval echo '${'$as_ac_var'}'` = yes; then
53181 cat >>confdefs.h <<_ACEOF
53182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53183 _ACEOF
53186 done
53196 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
53197 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
53198 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
53199 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
53200 echo $ECHO_N "(cached) $ECHO_C" >&6
53201 else
53205 ac_ext=cc
53206 ac_cpp='$CXXCPP $CPPFLAGS'
53207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53211 cat >conftest.$ac_ext <<_ACEOF
53212 /* confdefs.h. */
53213 _ACEOF
53214 cat confdefs.h >>conftest.$ac_ext
53215 cat >>conftest.$ac_ext <<_ACEOF
53216 /* end confdefs.h. */
53217 #include <math.h>
53218 #ifdef HAVE_IEEEFP_H
53219 #include <ieeefp.h>
53220 #endif
53223 main ()
53225 isinfl(0);
53227 return 0;
53229 _ACEOF
53230 rm -f conftest.$ac_objext
53231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53232 (eval $ac_compile) 2>conftest.er1
53233 ac_status=$?
53234 grep -v '^ *+' conftest.er1 >conftest.err
53235 rm -f conftest.er1
53236 cat conftest.err >&5
53237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53238 (exit $ac_status); } &&
53239 { ac_try='test -z "$ac_cxx_werror_flag"
53240 || test ! -s conftest.err'
53241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53242 (eval $ac_try) 2>&5
53243 ac_status=$?
53244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53245 (exit $ac_status); }; } &&
53246 { ac_try='test -s conftest.$ac_objext'
53247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53248 (eval $ac_try) 2>&5
53249 ac_status=$?
53250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53251 (exit $ac_status); }; }; then
53252 glibcxx_cv_func_isinfl_use=yes
53253 else
53254 echo "$as_me: failed program was:" >&5
53255 sed 's/^/| /' conftest.$ac_ext >&5
53257 glibcxx_cv_func_isinfl_use=no
53259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53260 ac_ext=c
53261 ac_cpp='$CPP $CPPFLAGS'
53262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53270 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
53271 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
53273 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
53275 for ac_func in isinfl
53277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53278 echo "$as_me:$LINENO: checking for $ac_func" >&5
53279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53280 if eval "test \"\${$as_ac_var+set}\" = set"; then
53281 echo $ECHO_N "(cached) $ECHO_C" >&6
53282 else
53283 if test x$gcc_no_link = xyes; then
53284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53286 { (exit 1); exit 1; }; }
53288 cat >conftest.$ac_ext <<_ACEOF
53289 /* confdefs.h. */
53290 _ACEOF
53291 cat confdefs.h >>conftest.$ac_ext
53292 cat >>conftest.$ac_ext <<_ACEOF
53293 /* end confdefs.h. */
53294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53296 #define $ac_func innocuous_$ac_func
53298 /* System header to define __stub macros and hopefully few prototypes,
53299 which can conflict with char $ac_func (); below.
53300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53301 <limits.h> exists even on freestanding compilers. */
53303 #ifdef __STDC__
53304 # include <limits.h>
53305 #else
53306 # include <assert.h>
53307 #endif
53309 #undef $ac_func
53311 /* Override any gcc2 internal prototype to avoid an error. */
53312 #ifdef __cplusplus
53313 extern "C"
53315 #endif
53316 /* We use char because int might match the return type of a gcc2
53317 builtin and then its argument prototype would still apply. */
53318 char $ac_func ();
53319 /* The GNU C library defines this for functions which it implements
53320 to always fail with ENOSYS. Some functions are actually named
53321 something starting with __ and the normal name is an alias. */
53322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53323 choke me
53324 #else
53325 char (*f) () = $ac_func;
53326 #endif
53327 #ifdef __cplusplus
53329 #endif
53332 main ()
53334 return f != $ac_func;
53336 return 0;
53338 _ACEOF
53339 rm -f conftest.$ac_objext conftest$ac_exeext
53340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53341 (eval $ac_link) 2>conftest.er1
53342 ac_status=$?
53343 grep -v '^ *+' conftest.er1 >conftest.err
53344 rm -f conftest.er1
53345 cat conftest.err >&5
53346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53347 (exit $ac_status); } &&
53348 { ac_try='test -z "$ac_c_werror_flag"
53349 || test ! -s conftest.err'
53350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53351 (eval $ac_try) 2>&5
53352 ac_status=$?
53353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53354 (exit $ac_status); }; } &&
53355 { ac_try='test -s conftest$ac_exeext'
53356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53357 (eval $ac_try) 2>&5
53358 ac_status=$?
53359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53360 (exit $ac_status); }; }; then
53361 eval "$as_ac_var=yes"
53362 else
53363 echo "$as_me: failed program was:" >&5
53364 sed 's/^/| /' conftest.$ac_ext >&5
53366 eval "$as_ac_var=no"
53368 rm -f conftest.err conftest.$ac_objext \
53369 conftest$ac_exeext conftest.$ac_ext
53371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53373 if test `eval echo '${'$as_ac_var'}'` = yes; then
53374 cat >>confdefs.h <<_ACEOF
53375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53376 _ACEOF
53379 done
53381 else
53383 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
53384 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
53385 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
53386 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
53387 echo $ECHO_N "(cached) $ECHO_C" >&6
53388 else
53392 ac_ext=cc
53393 ac_cpp='$CXXCPP $CPPFLAGS'
53394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53398 cat >conftest.$ac_ext <<_ACEOF
53399 /* confdefs.h. */
53400 _ACEOF
53401 cat confdefs.h >>conftest.$ac_ext
53402 cat >>conftest.$ac_ext <<_ACEOF
53403 /* end confdefs.h. */
53404 #include <math.h>
53405 #ifdef HAVE_IEEEFP_H
53406 #include <ieeefp.h>
53407 #endif
53410 main ()
53412 _isinfl(0);
53414 return 0;
53416 _ACEOF
53417 rm -f conftest.$ac_objext
53418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53419 (eval $ac_compile) 2>conftest.er1
53420 ac_status=$?
53421 grep -v '^ *+' conftest.er1 >conftest.err
53422 rm -f conftest.er1
53423 cat conftest.err >&5
53424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53425 (exit $ac_status); } &&
53426 { ac_try='test -z "$ac_cxx_werror_flag"
53427 || test ! -s conftest.err'
53428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53429 (eval $ac_try) 2>&5
53430 ac_status=$?
53431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53432 (exit $ac_status); }; } &&
53433 { ac_try='test -s conftest.$ac_objext'
53434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53435 (eval $ac_try) 2>&5
53436 ac_status=$?
53437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53438 (exit $ac_status); }; }; then
53439 glibcxx_cv_func__isinfl_use=yes
53440 else
53441 echo "$as_me: failed program was:" >&5
53442 sed 's/^/| /' conftest.$ac_ext >&5
53444 glibcxx_cv_func__isinfl_use=no
53446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53447 ac_ext=c
53448 ac_cpp='$CPP $CPPFLAGS'
53449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53457 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
53458 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
53460 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
53462 for ac_func in _isinfl
53464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53465 echo "$as_me:$LINENO: checking for $ac_func" >&5
53466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53467 if eval "test \"\${$as_ac_var+set}\" = set"; then
53468 echo $ECHO_N "(cached) $ECHO_C" >&6
53469 else
53470 if test x$gcc_no_link = xyes; then
53471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53473 { (exit 1); exit 1; }; }
53475 cat >conftest.$ac_ext <<_ACEOF
53476 /* confdefs.h. */
53477 _ACEOF
53478 cat confdefs.h >>conftest.$ac_ext
53479 cat >>conftest.$ac_ext <<_ACEOF
53480 /* end confdefs.h. */
53481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53483 #define $ac_func innocuous_$ac_func
53485 /* System header to define __stub macros and hopefully few prototypes,
53486 which can conflict with char $ac_func (); below.
53487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53488 <limits.h> exists even on freestanding compilers. */
53490 #ifdef __STDC__
53491 # include <limits.h>
53492 #else
53493 # include <assert.h>
53494 #endif
53496 #undef $ac_func
53498 /* Override any gcc2 internal prototype to avoid an error. */
53499 #ifdef __cplusplus
53500 extern "C"
53502 #endif
53503 /* We use char because int might match the return type of a gcc2
53504 builtin and then its argument prototype would still apply. */
53505 char $ac_func ();
53506 /* The GNU C library defines this for functions which it implements
53507 to always fail with ENOSYS. Some functions are actually named
53508 something starting with __ and the normal name is an alias. */
53509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53510 choke me
53511 #else
53512 char (*f) () = $ac_func;
53513 #endif
53514 #ifdef __cplusplus
53516 #endif
53519 main ()
53521 return f != $ac_func;
53523 return 0;
53525 _ACEOF
53526 rm -f conftest.$ac_objext conftest$ac_exeext
53527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53528 (eval $ac_link) 2>conftest.er1
53529 ac_status=$?
53530 grep -v '^ *+' conftest.er1 >conftest.err
53531 rm -f conftest.er1
53532 cat conftest.err >&5
53533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53534 (exit $ac_status); } &&
53535 { ac_try='test -z "$ac_c_werror_flag"
53536 || test ! -s conftest.err'
53537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53538 (eval $ac_try) 2>&5
53539 ac_status=$?
53540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53541 (exit $ac_status); }; } &&
53542 { ac_try='test -s conftest$ac_exeext'
53543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53544 (eval $ac_try) 2>&5
53545 ac_status=$?
53546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53547 (exit $ac_status); }; }; then
53548 eval "$as_ac_var=yes"
53549 else
53550 echo "$as_me: failed program was:" >&5
53551 sed 's/^/| /' conftest.$ac_ext >&5
53553 eval "$as_ac_var=no"
53555 rm -f conftest.err conftest.$ac_objext \
53556 conftest$ac_exeext conftest.$ac_ext
53558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53560 if test `eval echo '${'$as_ac_var'}'` = yes; then
53561 cat >>confdefs.h <<_ACEOF
53562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53563 _ACEOF
53566 done
53576 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
53577 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
53578 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
53579 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
53580 echo $ECHO_N "(cached) $ECHO_C" >&6
53581 else
53585 ac_ext=cc
53586 ac_cpp='$CXXCPP $CPPFLAGS'
53587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53591 cat >conftest.$ac_ext <<_ACEOF
53592 /* confdefs.h. */
53593 _ACEOF
53594 cat confdefs.h >>conftest.$ac_ext
53595 cat >>conftest.$ac_ext <<_ACEOF
53596 /* end confdefs.h. */
53597 #include <math.h>
53599 main ()
53601 atan2l(0, 0);
53603 return 0;
53605 _ACEOF
53606 rm -f conftest.$ac_objext
53607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53608 (eval $ac_compile) 2>conftest.er1
53609 ac_status=$?
53610 grep -v '^ *+' conftest.er1 >conftest.err
53611 rm -f conftest.er1
53612 cat conftest.err >&5
53613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53614 (exit $ac_status); } &&
53615 { ac_try='test -z "$ac_cxx_werror_flag"
53616 || test ! -s conftest.err'
53617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53618 (eval $ac_try) 2>&5
53619 ac_status=$?
53620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53621 (exit $ac_status); }; } &&
53622 { ac_try='test -s conftest.$ac_objext'
53623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53624 (eval $ac_try) 2>&5
53625 ac_status=$?
53626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53627 (exit $ac_status); }; }; then
53628 glibcxx_cv_func_atan2l_use=yes
53629 else
53630 echo "$as_me: failed program was:" >&5
53631 sed 's/^/| /' conftest.$ac_ext >&5
53633 glibcxx_cv_func_atan2l_use=no
53635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53636 ac_ext=c
53637 ac_cpp='$CPP $CPPFLAGS'
53638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53646 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
53647 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
53649 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
53651 for ac_func in atan2l
53653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53654 echo "$as_me:$LINENO: checking for $ac_func" >&5
53655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53656 if eval "test \"\${$as_ac_var+set}\" = set"; then
53657 echo $ECHO_N "(cached) $ECHO_C" >&6
53658 else
53659 if test x$gcc_no_link = xyes; then
53660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53662 { (exit 1); exit 1; }; }
53664 cat >conftest.$ac_ext <<_ACEOF
53665 /* confdefs.h. */
53666 _ACEOF
53667 cat confdefs.h >>conftest.$ac_ext
53668 cat >>conftest.$ac_ext <<_ACEOF
53669 /* end confdefs.h. */
53670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53672 #define $ac_func innocuous_$ac_func
53674 /* System header to define __stub macros and hopefully few prototypes,
53675 which can conflict with char $ac_func (); below.
53676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53677 <limits.h> exists even on freestanding compilers. */
53679 #ifdef __STDC__
53680 # include <limits.h>
53681 #else
53682 # include <assert.h>
53683 #endif
53685 #undef $ac_func
53687 /* Override any gcc2 internal prototype to avoid an error. */
53688 #ifdef __cplusplus
53689 extern "C"
53691 #endif
53692 /* We use char because int might match the return type of a gcc2
53693 builtin and then its argument prototype would still apply. */
53694 char $ac_func ();
53695 /* The GNU C library defines this for functions which it implements
53696 to always fail with ENOSYS. Some functions are actually named
53697 something starting with __ and the normal name is an alias. */
53698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53699 choke me
53700 #else
53701 char (*f) () = $ac_func;
53702 #endif
53703 #ifdef __cplusplus
53705 #endif
53708 main ()
53710 return f != $ac_func;
53712 return 0;
53714 _ACEOF
53715 rm -f conftest.$ac_objext conftest$ac_exeext
53716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53717 (eval $ac_link) 2>conftest.er1
53718 ac_status=$?
53719 grep -v '^ *+' conftest.er1 >conftest.err
53720 rm -f conftest.er1
53721 cat conftest.err >&5
53722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53723 (exit $ac_status); } &&
53724 { ac_try='test -z "$ac_c_werror_flag"
53725 || test ! -s conftest.err'
53726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53727 (eval $ac_try) 2>&5
53728 ac_status=$?
53729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53730 (exit $ac_status); }; } &&
53731 { ac_try='test -s conftest$ac_exeext'
53732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53733 (eval $ac_try) 2>&5
53734 ac_status=$?
53735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53736 (exit $ac_status); }; }; then
53737 eval "$as_ac_var=yes"
53738 else
53739 echo "$as_me: failed program was:" >&5
53740 sed 's/^/| /' conftest.$ac_ext >&5
53742 eval "$as_ac_var=no"
53744 rm -f conftest.err conftest.$ac_objext \
53745 conftest$ac_exeext conftest.$ac_ext
53747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53749 if test `eval echo '${'$as_ac_var'}'` = yes; then
53750 cat >>confdefs.h <<_ACEOF
53751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53752 _ACEOF
53755 done
53757 else
53759 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
53760 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
53761 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
53762 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
53763 echo $ECHO_N "(cached) $ECHO_C" >&6
53764 else
53768 ac_ext=cc
53769 ac_cpp='$CXXCPP $CPPFLAGS'
53770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53774 cat >conftest.$ac_ext <<_ACEOF
53775 /* confdefs.h. */
53776 _ACEOF
53777 cat confdefs.h >>conftest.$ac_ext
53778 cat >>conftest.$ac_ext <<_ACEOF
53779 /* end confdefs.h. */
53780 #include <math.h>
53782 main ()
53784 _atan2l(0, 0);
53786 return 0;
53788 _ACEOF
53789 rm -f conftest.$ac_objext
53790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53791 (eval $ac_compile) 2>conftest.er1
53792 ac_status=$?
53793 grep -v '^ *+' conftest.er1 >conftest.err
53794 rm -f conftest.er1
53795 cat conftest.err >&5
53796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53797 (exit $ac_status); } &&
53798 { ac_try='test -z "$ac_cxx_werror_flag"
53799 || test ! -s conftest.err'
53800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53801 (eval $ac_try) 2>&5
53802 ac_status=$?
53803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53804 (exit $ac_status); }; } &&
53805 { ac_try='test -s conftest.$ac_objext'
53806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53807 (eval $ac_try) 2>&5
53808 ac_status=$?
53809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53810 (exit $ac_status); }; }; then
53811 glibcxx_cv_func__atan2l_use=yes
53812 else
53813 echo "$as_me: failed program was:" >&5
53814 sed 's/^/| /' conftest.$ac_ext >&5
53816 glibcxx_cv_func__atan2l_use=no
53818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53819 ac_ext=c
53820 ac_cpp='$CPP $CPPFLAGS'
53821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53829 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
53830 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
53832 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
53834 for ac_func in _atan2l
53836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53837 echo "$as_me:$LINENO: checking for $ac_func" >&5
53838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53839 if eval "test \"\${$as_ac_var+set}\" = set"; then
53840 echo $ECHO_N "(cached) $ECHO_C" >&6
53841 else
53842 if test x$gcc_no_link = xyes; then
53843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53845 { (exit 1); exit 1; }; }
53847 cat >conftest.$ac_ext <<_ACEOF
53848 /* confdefs.h. */
53849 _ACEOF
53850 cat confdefs.h >>conftest.$ac_ext
53851 cat >>conftest.$ac_ext <<_ACEOF
53852 /* end confdefs.h. */
53853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53855 #define $ac_func innocuous_$ac_func
53857 /* System header to define __stub macros and hopefully few prototypes,
53858 which can conflict with char $ac_func (); below.
53859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53860 <limits.h> exists even on freestanding compilers. */
53862 #ifdef __STDC__
53863 # include <limits.h>
53864 #else
53865 # include <assert.h>
53866 #endif
53868 #undef $ac_func
53870 /* Override any gcc2 internal prototype to avoid an error. */
53871 #ifdef __cplusplus
53872 extern "C"
53874 #endif
53875 /* We use char because int might match the return type of a gcc2
53876 builtin and then its argument prototype would still apply. */
53877 char $ac_func ();
53878 /* The GNU C library defines this for functions which it implements
53879 to always fail with ENOSYS. Some functions are actually named
53880 something starting with __ and the normal name is an alias. */
53881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53882 choke me
53883 #else
53884 char (*f) () = $ac_func;
53885 #endif
53886 #ifdef __cplusplus
53888 #endif
53891 main ()
53893 return f != $ac_func;
53895 return 0;
53897 _ACEOF
53898 rm -f conftest.$ac_objext conftest$ac_exeext
53899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53900 (eval $ac_link) 2>conftest.er1
53901 ac_status=$?
53902 grep -v '^ *+' conftest.er1 >conftest.err
53903 rm -f conftest.er1
53904 cat conftest.err >&5
53905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53906 (exit $ac_status); } &&
53907 { ac_try='test -z "$ac_c_werror_flag"
53908 || test ! -s conftest.err'
53909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53910 (eval $ac_try) 2>&5
53911 ac_status=$?
53912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53913 (exit $ac_status); }; } &&
53914 { ac_try='test -s conftest$ac_exeext'
53915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53916 (eval $ac_try) 2>&5
53917 ac_status=$?
53918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53919 (exit $ac_status); }; }; then
53920 eval "$as_ac_var=yes"
53921 else
53922 echo "$as_me: failed program was:" >&5
53923 sed 's/^/| /' conftest.$ac_ext >&5
53925 eval "$as_ac_var=no"
53927 rm -f conftest.err conftest.$ac_objext \
53928 conftest$ac_exeext conftest.$ac_ext
53930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53932 if test `eval echo '${'$as_ac_var'}'` = yes; then
53933 cat >>confdefs.h <<_ACEOF
53934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53935 _ACEOF
53938 done
53948 echo "$as_me:$LINENO: checking for expl declaration" >&5
53949 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
53950 if test x${glibcxx_cv_func_expl_use+set} != xset; then
53951 if test "${glibcxx_cv_func_expl_use+set}" = set; then
53952 echo $ECHO_N "(cached) $ECHO_C" >&6
53953 else
53957 ac_ext=cc
53958 ac_cpp='$CXXCPP $CPPFLAGS'
53959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53963 cat >conftest.$ac_ext <<_ACEOF
53964 /* confdefs.h. */
53965 _ACEOF
53966 cat confdefs.h >>conftest.$ac_ext
53967 cat >>conftest.$ac_ext <<_ACEOF
53968 /* end confdefs.h. */
53969 #include <math.h>
53970 #ifdef HAVE_IEEEFP_H
53971 #include <ieeefp.h>
53972 #endif
53975 main ()
53977 expl(0);
53979 return 0;
53981 _ACEOF
53982 rm -f conftest.$ac_objext
53983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53984 (eval $ac_compile) 2>conftest.er1
53985 ac_status=$?
53986 grep -v '^ *+' conftest.er1 >conftest.err
53987 rm -f conftest.er1
53988 cat conftest.err >&5
53989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53990 (exit $ac_status); } &&
53991 { ac_try='test -z "$ac_cxx_werror_flag"
53992 || test ! -s conftest.err'
53993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53994 (eval $ac_try) 2>&5
53995 ac_status=$?
53996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53997 (exit $ac_status); }; } &&
53998 { ac_try='test -s conftest.$ac_objext'
53999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54000 (eval $ac_try) 2>&5
54001 ac_status=$?
54002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54003 (exit $ac_status); }; }; then
54004 glibcxx_cv_func_expl_use=yes
54005 else
54006 echo "$as_me: failed program was:" >&5
54007 sed 's/^/| /' conftest.$ac_ext >&5
54009 glibcxx_cv_func_expl_use=no
54011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54012 ac_ext=c
54013 ac_cpp='$CPP $CPPFLAGS'
54014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54022 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
54023 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
54025 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54027 for ac_func in expl
54029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54030 echo "$as_me:$LINENO: checking for $ac_func" >&5
54031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54032 if eval "test \"\${$as_ac_var+set}\" = set"; then
54033 echo $ECHO_N "(cached) $ECHO_C" >&6
54034 else
54035 if test x$gcc_no_link = xyes; then
54036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54038 { (exit 1); exit 1; }; }
54040 cat >conftest.$ac_ext <<_ACEOF
54041 /* confdefs.h. */
54042 _ACEOF
54043 cat confdefs.h >>conftest.$ac_ext
54044 cat >>conftest.$ac_ext <<_ACEOF
54045 /* end confdefs.h. */
54046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54048 #define $ac_func innocuous_$ac_func
54050 /* System header to define __stub macros and hopefully few prototypes,
54051 which can conflict with char $ac_func (); below.
54052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54053 <limits.h> exists even on freestanding compilers. */
54055 #ifdef __STDC__
54056 # include <limits.h>
54057 #else
54058 # include <assert.h>
54059 #endif
54061 #undef $ac_func
54063 /* Override any gcc2 internal prototype to avoid an error. */
54064 #ifdef __cplusplus
54065 extern "C"
54067 #endif
54068 /* We use char because int might match the return type of a gcc2
54069 builtin and then its argument prototype would still apply. */
54070 char $ac_func ();
54071 /* The GNU C library defines this for functions which it implements
54072 to always fail with ENOSYS. Some functions are actually named
54073 something starting with __ and the normal name is an alias. */
54074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54075 choke me
54076 #else
54077 char (*f) () = $ac_func;
54078 #endif
54079 #ifdef __cplusplus
54081 #endif
54084 main ()
54086 return f != $ac_func;
54088 return 0;
54090 _ACEOF
54091 rm -f conftest.$ac_objext conftest$ac_exeext
54092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54093 (eval $ac_link) 2>conftest.er1
54094 ac_status=$?
54095 grep -v '^ *+' conftest.er1 >conftest.err
54096 rm -f conftest.er1
54097 cat conftest.err >&5
54098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54099 (exit $ac_status); } &&
54100 { ac_try='test -z "$ac_c_werror_flag"
54101 || test ! -s conftest.err'
54102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54103 (eval $ac_try) 2>&5
54104 ac_status=$?
54105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54106 (exit $ac_status); }; } &&
54107 { ac_try='test -s conftest$ac_exeext'
54108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54109 (eval $ac_try) 2>&5
54110 ac_status=$?
54111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54112 (exit $ac_status); }; }; then
54113 eval "$as_ac_var=yes"
54114 else
54115 echo "$as_me: failed program was:" >&5
54116 sed 's/^/| /' conftest.$ac_ext >&5
54118 eval "$as_ac_var=no"
54120 rm -f conftest.err conftest.$ac_objext \
54121 conftest$ac_exeext conftest.$ac_ext
54123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54125 if test `eval echo '${'$as_ac_var'}'` = yes; then
54126 cat >>confdefs.h <<_ACEOF
54127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54128 _ACEOF
54131 done
54133 else
54135 echo "$as_me:$LINENO: checking for _expl declaration" >&5
54136 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
54137 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54138 if test "${glibcxx_cv_func__expl_use+set}" = set; then
54139 echo $ECHO_N "(cached) $ECHO_C" >&6
54140 else
54144 ac_ext=cc
54145 ac_cpp='$CXXCPP $CPPFLAGS'
54146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54150 cat >conftest.$ac_ext <<_ACEOF
54151 /* confdefs.h. */
54152 _ACEOF
54153 cat confdefs.h >>conftest.$ac_ext
54154 cat >>conftest.$ac_ext <<_ACEOF
54155 /* end confdefs.h. */
54156 #include <math.h>
54157 #ifdef HAVE_IEEEFP_H
54158 #include <ieeefp.h>
54159 #endif
54162 main ()
54164 _expl(0);
54166 return 0;
54168 _ACEOF
54169 rm -f conftest.$ac_objext
54170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54171 (eval $ac_compile) 2>conftest.er1
54172 ac_status=$?
54173 grep -v '^ *+' conftest.er1 >conftest.err
54174 rm -f conftest.er1
54175 cat conftest.err >&5
54176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54177 (exit $ac_status); } &&
54178 { ac_try='test -z "$ac_cxx_werror_flag"
54179 || test ! -s conftest.err'
54180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54181 (eval $ac_try) 2>&5
54182 ac_status=$?
54183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54184 (exit $ac_status); }; } &&
54185 { ac_try='test -s conftest.$ac_objext'
54186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54187 (eval $ac_try) 2>&5
54188 ac_status=$?
54189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54190 (exit $ac_status); }; }; then
54191 glibcxx_cv_func__expl_use=yes
54192 else
54193 echo "$as_me: failed program was:" >&5
54194 sed 's/^/| /' conftest.$ac_ext >&5
54196 glibcxx_cv_func__expl_use=no
54198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54199 ac_ext=c
54200 ac_cpp='$CPP $CPPFLAGS'
54201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54209 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
54210 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
54212 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54214 for ac_func in _expl
54216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54217 echo "$as_me:$LINENO: checking for $ac_func" >&5
54218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54219 if eval "test \"\${$as_ac_var+set}\" = set"; then
54220 echo $ECHO_N "(cached) $ECHO_C" >&6
54221 else
54222 if test x$gcc_no_link = xyes; then
54223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54225 { (exit 1); exit 1; }; }
54227 cat >conftest.$ac_ext <<_ACEOF
54228 /* confdefs.h. */
54229 _ACEOF
54230 cat confdefs.h >>conftest.$ac_ext
54231 cat >>conftest.$ac_ext <<_ACEOF
54232 /* end confdefs.h. */
54233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54235 #define $ac_func innocuous_$ac_func
54237 /* System header to define __stub macros and hopefully few prototypes,
54238 which can conflict with char $ac_func (); below.
54239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54240 <limits.h> exists even on freestanding compilers. */
54242 #ifdef __STDC__
54243 # include <limits.h>
54244 #else
54245 # include <assert.h>
54246 #endif
54248 #undef $ac_func
54250 /* Override any gcc2 internal prototype to avoid an error. */
54251 #ifdef __cplusplus
54252 extern "C"
54254 #endif
54255 /* We use char because int might match the return type of a gcc2
54256 builtin and then its argument prototype would still apply. */
54257 char $ac_func ();
54258 /* The GNU C library defines this for functions which it implements
54259 to always fail with ENOSYS. Some functions are actually named
54260 something starting with __ and the normal name is an alias. */
54261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54262 choke me
54263 #else
54264 char (*f) () = $ac_func;
54265 #endif
54266 #ifdef __cplusplus
54268 #endif
54271 main ()
54273 return f != $ac_func;
54275 return 0;
54277 _ACEOF
54278 rm -f conftest.$ac_objext conftest$ac_exeext
54279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54280 (eval $ac_link) 2>conftest.er1
54281 ac_status=$?
54282 grep -v '^ *+' conftest.er1 >conftest.err
54283 rm -f conftest.er1
54284 cat conftest.err >&5
54285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54286 (exit $ac_status); } &&
54287 { ac_try='test -z "$ac_c_werror_flag"
54288 || test ! -s conftest.err'
54289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54290 (eval $ac_try) 2>&5
54291 ac_status=$?
54292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54293 (exit $ac_status); }; } &&
54294 { ac_try='test -s conftest$ac_exeext'
54295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54296 (eval $ac_try) 2>&5
54297 ac_status=$?
54298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54299 (exit $ac_status); }; }; then
54300 eval "$as_ac_var=yes"
54301 else
54302 echo "$as_me: failed program was:" >&5
54303 sed 's/^/| /' conftest.$ac_ext >&5
54305 eval "$as_ac_var=no"
54307 rm -f conftest.err conftest.$ac_objext \
54308 conftest$ac_exeext conftest.$ac_ext
54310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54312 if test `eval echo '${'$as_ac_var'}'` = yes; then
54313 cat >>confdefs.h <<_ACEOF
54314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54315 _ACEOF
54318 done
54328 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
54329 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
54330 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54331 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
54332 echo $ECHO_N "(cached) $ECHO_C" >&6
54333 else
54337 ac_ext=cc
54338 ac_cpp='$CXXCPP $CPPFLAGS'
54339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54343 cat >conftest.$ac_ext <<_ACEOF
54344 /* confdefs.h. */
54345 _ACEOF
54346 cat confdefs.h >>conftest.$ac_ext
54347 cat >>conftest.$ac_ext <<_ACEOF
54348 /* end confdefs.h. */
54349 #include <math.h>
54350 #ifdef HAVE_IEEEFP_H
54351 #include <ieeefp.h>
54352 #endif
54355 main ()
54357 fabsl(0);
54359 return 0;
54361 _ACEOF
54362 rm -f conftest.$ac_objext
54363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54364 (eval $ac_compile) 2>conftest.er1
54365 ac_status=$?
54366 grep -v '^ *+' conftest.er1 >conftest.err
54367 rm -f conftest.er1
54368 cat conftest.err >&5
54369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54370 (exit $ac_status); } &&
54371 { ac_try='test -z "$ac_cxx_werror_flag"
54372 || test ! -s conftest.err'
54373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54374 (eval $ac_try) 2>&5
54375 ac_status=$?
54376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54377 (exit $ac_status); }; } &&
54378 { ac_try='test -s conftest.$ac_objext'
54379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54380 (eval $ac_try) 2>&5
54381 ac_status=$?
54382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54383 (exit $ac_status); }; }; then
54384 glibcxx_cv_func_fabsl_use=yes
54385 else
54386 echo "$as_me: failed program was:" >&5
54387 sed 's/^/| /' conftest.$ac_ext >&5
54389 glibcxx_cv_func_fabsl_use=no
54391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54392 ac_ext=c
54393 ac_cpp='$CPP $CPPFLAGS'
54394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54402 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
54403 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
54405 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
54407 for ac_func in fabsl
54409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54410 echo "$as_me:$LINENO: checking for $ac_func" >&5
54411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54412 if eval "test \"\${$as_ac_var+set}\" = set"; then
54413 echo $ECHO_N "(cached) $ECHO_C" >&6
54414 else
54415 if test x$gcc_no_link = xyes; then
54416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54418 { (exit 1); exit 1; }; }
54420 cat >conftest.$ac_ext <<_ACEOF
54421 /* confdefs.h. */
54422 _ACEOF
54423 cat confdefs.h >>conftest.$ac_ext
54424 cat >>conftest.$ac_ext <<_ACEOF
54425 /* end confdefs.h. */
54426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54428 #define $ac_func innocuous_$ac_func
54430 /* System header to define __stub macros and hopefully few prototypes,
54431 which can conflict with char $ac_func (); below.
54432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54433 <limits.h> exists even on freestanding compilers. */
54435 #ifdef __STDC__
54436 # include <limits.h>
54437 #else
54438 # include <assert.h>
54439 #endif
54441 #undef $ac_func
54443 /* Override any gcc2 internal prototype to avoid an error. */
54444 #ifdef __cplusplus
54445 extern "C"
54447 #endif
54448 /* We use char because int might match the return type of a gcc2
54449 builtin and then its argument prototype would still apply. */
54450 char $ac_func ();
54451 /* The GNU C library defines this for functions which it implements
54452 to always fail with ENOSYS. Some functions are actually named
54453 something starting with __ and the normal name is an alias. */
54454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54455 choke me
54456 #else
54457 char (*f) () = $ac_func;
54458 #endif
54459 #ifdef __cplusplus
54461 #endif
54464 main ()
54466 return f != $ac_func;
54468 return 0;
54470 _ACEOF
54471 rm -f conftest.$ac_objext conftest$ac_exeext
54472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54473 (eval $ac_link) 2>conftest.er1
54474 ac_status=$?
54475 grep -v '^ *+' conftest.er1 >conftest.err
54476 rm -f conftest.er1
54477 cat conftest.err >&5
54478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54479 (exit $ac_status); } &&
54480 { ac_try='test -z "$ac_c_werror_flag"
54481 || test ! -s conftest.err'
54482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54483 (eval $ac_try) 2>&5
54484 ac_status=$?
54485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54486 (exit $ac_status); }; } &&
54487 { ac_try='test -s conftest$ac_exeext'
54488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54489 (eval $ac_try) 2>&5
54490 ac_status=$?
54491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54492 (exit $ac_status); }; }; then
54493 eval "$as_ac_var=yes"
54494 else
54495 echo "$as_me: failed program was:" >&5
54496 sed 's/^/| /' conftest.$ac_ext >&5
54498 eval "$as_ac_var=no"
54500 rm -f conftest.err conftest.$ac_objext \
54501 conftest$ac_exeext conftest.$ac_ext
54503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54505 if test `eval echo '${'$as_ac_var'}'` = yes; then
54506 cat >>confdefs.h <<_ACEOF
54507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54508 _ACEOF
54511 done
54513 else
54515 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
54516 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
54517 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
54518 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
54519 echo $ECHO_N "(cached) $ECHO_C" >&6
54520 else
54524 ac_ext=cc
54525 ac_cpp='$CXXCPP $CPPFLAGS'
54526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54530 cat >conftest.$ac_ext <<_ACEOF
54531 /* confdefs.h. */
54532 _ACEOF
54533 cat confdefs.h >>conftest.$ac_ext
54534 cat >>conftest.$ac_ext <<_ACEOF
54535 /* end confdefs.h. */
54536 #include <math.h>
54537 #ifdef HAVE_IEEEFP_H
54538 #include <ieeefp.h>
54539 #endif
54542 main ()
54544 _fabsl(0);
54546 return 0;
54548 _ACEOF
54549 rm -f conftest.$ac_objext
54550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54551 (eval $ac_compile) 2>conftest.er1
54552 ac_status=$?
54553 grep -v '^ *+' conftest.er1 >conftest.err
54554 rm -f conftest.er1
54555 cat conftest.err >&5
54556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54557 (exit $ac_status); } &&
54558 { ac_try='test -z "$ac_cxx_werror_flag"
54559 || test ! -s conftest.err'
54560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54561 (eval $ac_try) 2>&5
54562 ac_status=$?
54563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54564 (exit $ac_status); }; } &&
54565 { ac_try='test -s conftest.$ac_objext'
54566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54567 (eval $ac_try) 2>&5
54568 ac_status=$?
54569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54570 (exit $ac_status); }; }; then
54571 glibcxx_cv_func__fabsl_use=yes
54572 else
54573 echo "$as_me: failed program was:" >&5
54574 sed 's/^/| /' conftest.$ac_ext >&5
54576 glibcxx_cv_func__fabsl_use=no
54578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54579 ac_ext=c
54580 ac_cpp='$CPP $CPPFLAGS'
54581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54589 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
54590 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
54592 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
54594 for ac_func in _fabsl
54596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54597 echo "$as_me:$LINENO: checking for $ac_func" >&5
54598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54599 if eval "test \"\${$as_ac_var+set}\" = set"; then
54600 echo $ECHO_N "(cached) $ECHO_C" >&6
54601 else
54602 if test x$gcc_no_link = xyes; then
54603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54605 { (exit 1); exit 1; }; }
54607 cat >conftest.$ac_ext <<_ACEOF
54608 /* confdefs.h. */
54609 _ACEOF
54610 cat confdefs.h >>conftest.$ac_ext
54611 cat >>conftest.$ac_ext <<_ACEOF
54612 /* end confdefs.h. */
54613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54615 #define $ac_func innocuous_$ac_func
54617 /* System header to define __stub macros and hopefully few prototypes,
54618 which can conflict with char $ac_func (); below.
54619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54620 <limits.h> exists even on freestanding compilers. */
54622 #ifdef __STDC__
54623 # include <limits.h>
54624 #else
54625 # include <assert.h>
54626 #endif
54628 #undef $ac_func
54630 /* Override any gcc2 internal prototype to avoid an error. */
54631 #ifdef __cplusplus
54632 extern "C"
54634 #endif
54635 /* We use char because int might match the return type of a gcc2
54636 builtin and then its argument prototype would still apply. */
54637 char $ac_func ();
54638 /* The GNU C library defines this for functions which it implements
54639 to always fail with ENOSYS. Some functions are actually named
54640 something starting with __ and the normal name is an alias. */
54641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54642 choke me
54643 #else
54644 char (*f) () = $ac_func;
54645 #endif
54646 #ifdef __cplusplus
54648 #endif
54651 main ()
54653 return f != $ac_func;
54655 return 0;
54657 _ACEOF
54658 rm -f conftest.$ac_objext conftest$ac_exeext
54659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54660 (eval $ac_link) 2>conftest.er1
54661 ac_status=$?
54662 grep -v '^ *+' conftest.er1 >conftest.err
54663 rm -f conftest.er1
54664 cat conftest.err >&5
54665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54666 (exit $ac_status); } &&
54667 { ac_try='test -z "$ac_c_werror_flag"
54668 || test ! -s conftest.err'
54669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54670 (eval $ac_try) 2>&5
54671 ac_status=$?
54672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54673 (exit $ac_status); }; } &&
54674 { ac_try='test -s conftest$ac_exeext'
54675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54676 (eval $ac_try) 2>&5
54677 ac_status=$?
54678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54679 (exit $ac_status); }; }; then
54680 eval "$as_ac_var=yes"
54681 else
54682 echo "$as_me: failed program was:" >&5
54683 sed 's/^/| /' conftest.$ac_ext >&5
54685 eval "$as_ac_var=no"
54687 rm -f conftest.err conftest.$ac_objext \
54688 conftest$ac_exeext conftest.$ac_ext
54690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54692 if test `eval echo '${'$as_ac_var'}'` = yes; then
54693 cat >>confdefs.h <<_ACEOF
54694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54695 _ACEOF
54698 done
54708 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
54709 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
54710 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
54711 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
54712 echo $ECHO_N "(cached) $ECHO_C" >&6
54713 else
54717 ac_ext=cc
54718 ac_cpp='$CXXCPP $CPPFLAGS'
54719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54723 cat >conftest.$ac_ext <<_ACEOF
54724 /* confdefs.h. */
54725 _ACEOF
54726 cat confdefs.h >>conftest.$ac_ext
54727 cat >>conftest.$ac_ext <<_ACEOF
54728 /* end confdefs.h. */
54729 #include <math.h>
54731 main ()
54733 fmodl(0, 0);
54735 return 0;
54737 _ACEOF
54738 rm -f conftest.$ac_objext
54739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54740 (eval $ac_compile) 2>conftest.er1
54741 ac_status=$?
54742 grep -v '^ *+' conftest.er1 >conftest.err
54743 rm -f conftest.er1
54744 cat conftest.err >&5
54745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54746 (exit $ac_status); } &&
54747 { ac_try='test -z "$ac_cxx_werror_flag"
54748 || test ! -s conftest.err'
54749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54750 (eval $ac_try) 2>&5
54751 ac_status=$?
54752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54753 (exit $ac_status); }; } &&
54754 { ac_try='test -s conftest.$ac_objext'
54755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54756 (eval $ac_try) 2>&5
54757 ac_status=$?
54758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54759 (exit $ac_status); }; }; then
54760 glibcxx_cv_func_fmodl_use=yes
54761 else
54762 echo "$as_me: failed program was:" >&5
54763 sed 's/^/| /' conftest.$ac_ext >&5
54765 glibcxx_cv_func_fmodl_use=no
54767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54768 ac_ext=c
54769 ac_cpp='$CPP $CPPFLAGS'
54770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
54779 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
54781 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
54783 for ac_func in fmodl
54785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54786 echo "$as_me:$LINENO: checking for $ac_func" >&5
54787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54788 if eval "test \"\${$as_ac_var+set}\" = set"; then
54789 echo $ECHO_N "(cached) $ECHO_C" >&6
54790 else
54791 if test x$gcc_no_link = xyes; then
54792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54794 { (exit 1); exit 1; }; }
54796 cat >conftest.$ac_ext <<_ACEOF
54797 /* confdefs.h. */
54798 _ACEOF
54799 cat confdefs.h >>conftest.$ac_ext
54800 cat >>conftest.$ac_ext <<_ACEOF
54801 /* end confdefs.h. */
54802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54804 #define $ac_func innocuous_$ac_func
54806 /* System header to define __stub macros and hopefully few prototypes,
54807 which can conflict with char $ac_func (); below.
54808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54809 <limits.h> exists even on freestanding compilers. */
54811 #ifdef __STDC__
54812 # include <limits.h>
54813 #else
54814 # include <assert.h>
54815 #endif
54817 #undef $ac_func
54819 /* Override any gcc2 internal prototype to avoid an error. */
54820 #ifdef __cplusplus
54821 extern "C"
54823 #endif
54824 /* We use char because int might match the return type of a gcc2
54825 builtin and then its argument prototype would still apply. */
54826 char $ac_func ();
54827 /* The GNU C library defines this for functions which it implements
54828 to always fail with ENOSYS. Some functions are actually named
54829 something starting with __ and the normal name is an alias. */
54830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54831 choke me
54832 #else
54833 char (*f) () = $ac_func;
54834 #endif
54835 #ifdef __cplusplus
54837 #endif
54840 main ()
54842 return f != $ac_func;
54844 return 0;
54846 _ACEOF
54847 rm -f conftest.$ac_objext conftest$ac_exeext
54848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54849 (eval $ac_link) 2>conftest.er1
54850 ac_status=$?
54851 grep -v '^ *+' conftest.er1 >conftest.err
54852 rm -f conftest.er1
54853 cat conftest.err >&5
54854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54855 (exit $ac_status); } &&
54856 { ac_try='test -z "$ac_c_werror_flag"
54857 || test ! -s conftest.err'
54858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54859 (eval $ac_try) 2>&5
54860 ac_status=$?
54861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54862 (exit $ac_status); }; } &&
54863 { ac_try='test -s conftest$ac_exeext'
54864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54865 (eval $ac_try) 2>&5
54866 ac_status=$?
54867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54868 (exit $ac_status); }; }; then
54869 eval "$as_ac_var=yes"
54870 else
54871 echo "$as_me: failed program was:" >&5
54872 sed 's/^/| /' conftest.$ac_ext >&5
54874 eval "$as_ac_var=no"
54876 rm -f conftest.err conftest.$ac_objext \
54877 conftest$ac_exeext conftest.$ac_ext
54879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54881 if test `eval echo '${'$as_ac_var'}'` = yes; then
54882 cat >>confdefs.h <<_ACEOF
54883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54884 _ACEOF
54887 done
54889 else
54891 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
54892 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
54893 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
54894 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
54895 echo $ECHO_N "(cached) $ECHO_C" >&6
54896 else
54900 ac_ext=cc
54901 ac_cpp='$CXXCPP $CPPFLAGS'
54902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54906 cat >conftest.$ac_ext <<_ACEOF
54907 /* confdefs.h. */
54908 _ACEOF
54909 cat confdefs.h >>conftest.$ac_ext
54910 cat >>conftest.$ac_ext <<_ACEOF
54911 /* end confdefs.h. */
54912 #include <math.h>
54914 main ()
54916 _fmodl(0, 0);
54918 return 0;
54920 _ACEOF
54921 rm -f conftest.$ac_objext
54922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54923 (eval $ac_compile) 2>conftest.er1
54924 ac_status=$?
54925 grep -v '^ *+' conftest.er1 >conftest.err
54926 rm -f conftest.er1
54927 cat conftest.err >&5
54928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54929 (exit $ac_status); } &&
54930 { ac_try='test -z "$ac_cxx_werror_flag"
54931 || test ! -s conftest.err'
54932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54933 (eval $ac_try) 2>&5
54934 ac_status=$?
54935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54936 (exit $ac_status); }; } &&
54937 { ac_try='test -s conftest.$ac_objext'
54938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54939 (eval $ac_try) 2>&5
54940 ac_status=$?
54941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54942 (exit $ac_status); }; }; then
54943 glibcxx_cv_func__fmodl_use=yes
54944 else
54945 echo "$as_me: failed program was:" >&5
54946 sed 's/^/| /' conftest.$ac_ext >&5
54948 glibcxx_cv_func__fmodl_use=no
54950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54951 ac_ext=c
54952 ac_cpp='$CPP $CPPFLAGS'
54953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54961 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
54962 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
54964 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
54966 for ac_func in _fmodl
54968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54969 echo "$as_me:$LINENO: checking for $ac_func" >&5
54970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54971 if eval "test \"\${$as_ac_var+set}\" = set"; then
54972 echo $ECHO_N "(cached) $ECHO_C" >&6
54973 else
54974 if test x$gcc_no_link = xyes; then
54975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54977 { (exit 1); exit 1; }; }
54979 cat >conftest.$ac_ext <<_ACEOF
54980 /* confdefs.h. */
54981 _ACEOF
54982 cat confdefs.h >>conftest.$ac_ext
54983 cat >>conftest.$ac_ext <<_ACEOF
54984 /* end confdefs.h. */
54985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54987 #define $ac_func innocuous_$ac_func
54989 /* System header to define __stub macros and hopefully few prototypes,
54990 which can conflict with char $ac_func (); below.
54991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54992 <limits.h> exists even on freestanding compilers. */
54994 #ifdef __STDC__
54995 # include <limits.h>
54996 #else
54997 # include <assert.h>
54998 #endif
55000 #undef $ac_func
55002 /* Override any gcc2 internal prototype to avoid an error. */
55003 #ifdef __cplusplus
55004 extern "C"
55006 #endif
55007 /* We use char because int might match the return type of a gcc2
55008 builtin and then its argument prototype would still apply. */
55009 char $ac_func ();
55010 /* The GNU C library defines this for functions which it implements
55011 to always fail with ENOSYS. Some functions are actually named
55012 something starting with __ and the normal name is an alias. */
55013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55014 choke me
55015 #else
55016 char (*f) () = $ac_func;
55017 #endif
55018 #ifdef __cplusplus
55020 #endif
55023 main ()
55025 return f != $ac_func;
55027 return 0;
55029 _ACEOF
55030 rm -f conftest.$ac_objext conftest$ac_exeext
55031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55032 (eval $ac_link) 2>conftest.er1
55033 ac_status=$?
55034 grep -v '^ *+' conftest.er1 >conftest.err
55035 rm -f conftest.er1
55036 cat conftest.err >&5
55037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55038 (exit $ac_status); } &&
55039 { ac_try='test -z "$ac_c_werror_flag"
55040 || test ! -s conftest.err'
55041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55042 (eval $ac_try) 2>&5
55043 ac_status=$?
55044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55045 (exit $ac_status); }; } &&
55046 { ac_try='test -s conftest$ac_exeext'
55047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55048 (eval $ac_try) 2>&5
55049 ac_status=$?
55050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55051 (exit $ac_status); }; }; then
55052 eval "$as_ac_var=yes"
55053 else
55054 echo "$as_me: failed program was:" >&5
55055 sed 's/^/| /' conftest.$ac_ext >&5
55057 eval "$as_ac_var=no"
55059 rm -f conftest.err conftest.$ac_objext \
55060 conftest$ac_exeext conftest.$ac_ext
55062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55064 if test `eval echo '${'$as_ac_var'}'` = yes; then
55065 cat >>confdefs.h <<_ACEOF
55066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55067 _ACEOF
55070 done
55080 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
55081 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
55082 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55083 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
55084 echo $ECHO_N "(cached) $ECHO_C" >&6
55085 else
55089 ac_ext=cc
55090 ac_cpp='$CXXCPP $CPPFLAGS'
55091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55095 cat >conftest.$ac_ext <<_ACEOF
55096 /* confdefs.h. */
55097 _ACEOF
55098 cat confdefs.h >>conftest.$ac_ext
55099 cat >>conftest.$ac_ext <<_ACEOF
55100 /* end confdefs.h. */
55101 #include <math.h>
55103 main ()
55105 frexpl(0, 0);
55107 return 0;
55109 _ACEOF
55110 rm -f conftest.$ac_objext
55111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55112 (eval $ac_compile) 2>conftest.er1
55113 ac_status=$?
55114 grep -v '^ *+' conftest.er1 >conftest.err
55115 rm -f conftest.er1
55116 cat conftest.err >&5
55117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55118 (exit $ac_status); } &&
55119 { ac_try='test -z "$ac_cxx_werror_flag"
55120 || test ! -s conftest.err'
55121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55122 (eval $ac_try) 2>&5
55123 ac_status=$?
55124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55125 (exit $ac_status); }; } &&
55126 { ac_try='test -s conftest.$ac_objext'
55127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55128 (eval $ac_try) 2>&5
55129 ac_status=$?
55130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55131 (exit $ac_status); }; }; then
55132 glibcxx_cv_func_frexpl_use=yes
55133 else
55134 echo "$as_me: failed program was:" >&5
55135 sed 's/^/| /' conftest.$ac_ext >&5
55137 glibcxx_cv_func_frexpl_use=no
55139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55140 ac_ext=c
55141 ac_cpp='$CPP $CPPFLAGS'
55142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55150 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
55151 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
55153 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55155 for ac_func in frexpl
55157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55158 echo "$as_me:$LINENO: checking for $ac_func" >&5
55159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55160 if eval "test \"\${$as_ac_var+set}\" = set"; then
55161 echo $ECHO_N "(cached) $ECHO_C" >&6
55162 else
55163 if test x$gcc_no_link = xyes; then
55164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55166 { (exit 1); exit 1; }; }
55168 cat >conftest.$ac_ext <<_ACEOF
55169 /* confdefs.h. */
55170 _ACEOF
55171 cat confdefs.h >>conftest.$ac_ext
55172 cat >>conftest.$ac_ext <<_ACEOF
55173 /* end confdefs.h. */
55174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55176 #define $ac_func innocuous_$ac_func
55178 /* System header to define __stub macros and hopefully few prototypes,
55179 which can conflict with char $ac_func (); below.
55180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55181 <limits.h> exists even on freestanding compilers. */
55183 #ifdef __STDC__
55184 # include <limits.h>
55185 #else
55186 # include <assert.h>
55187 #endif
55189 #undef $ac_func
55191 /* Override any gcc2 internal prototype to avoid an error. */
55192 #ifdef __cplusplus
55193 extern "C"
55195 #endif
55196 /* We use char because int might match the return type of a gcc2
55197 builtin and then its argument prototype would still apply. */
55198 char $ac_func ();
55199 /* The GNU C library defines this for functions which it implements
55200 to always fail with ENOSYS. Some functions are actually named
55201 something starting with __ and the normal name is an alias. */
55202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55203 choke me
55204 #else
55205 char (*f) () = $ac_func;
55206 #endif
55207 #ifdef __cplusplus
55209 #endif
55212 main ()
55214 return f != $ac_func;
55216 return 0;
55218 _ACEOF
55219 rm -f conftest.$ac_objext conftest$ac_exeext
55220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55221 (eval $ac_link) 2>conftest.er1
55222 ac_status=$?
55223 grep -v '^ *+' conftest.er1 >conftest.err
55224 rm -f conftest.er1
55225 cat conftest.err >&5
55226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55227 (exit $ac_status); } &&
55228 { ac_try='test -z "$ac_c_werror_flag"
55229 || test ! -s conftest.err'
55230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55231 (eval $ac_try) 2>&5
55232 ac_status=$?
55233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55234 (exit $ac_status); }; } &&
55235 { ac_try='test -s conftest$ac_exeext'
55236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55237 (eval $ac_try) 2>&5
55238 ac_status=$?
55239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55240 (exit $ac_status); }; }; then
55241 eval "$as_ac_var=yes"
55242 else
55243 echo "$as_me: failed program was:" >&5
55244 sed 's/^/| /' conftest.$ac_ext >&5
55246 eval "$as_ac_var=no"
55248 rm -f conftest.err conftest.$ac_objext \
55249 conftest$ac_exeext conftest.$ac_ext
55251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55253 if test `eval echo '${'$as_ac_var'}'` = yes; then
55254 cat >>confdefs.h <<_ACEOF
55255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55256 _ACEOF
55259 done
55261 else
55263 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
55264 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
55265 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55266 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
55267 echo $ECHO_N "(cached) $ECHO_C" >&6
55268 else
55272 ac_ext=cc
55273 ac_cpp='$CXXCPP $CPPFLAGS'
55274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55278 cat >conftest.$ac_ext <<_ACEOF
55279 /* confdefs.h. */
55280 _ACEOF
55281 cat confdefs.h >>conftest.$ac_ext
55282 cat >>conftest.$ac_ext <<_ACEOF
55283 /* end confdefs.h. */
55284 #include <math.h>
55286 main ()
55288 _frexpl(0, 0);
55290 return 0;
55292 _ACEOF
55293 rm -f conftest.$ac_objext
55294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55295 (eval $ac_compile) 2>conftest.er1
55296 ac_status=$?
55297 grep -v '^ *+' conftest.er1 >conftest.err
55298 rm -f conftest.er1
55299 cat conftest.err >&5
55300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55301 (exit $ac_status); } &&
55302 { ac_try='test -z "$ac_cxx_werror_flag"
55303 || test ! -s conftest.err'
55304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55305 (eval $ac_try) 2>&5
55306 ac_status=$?
55307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55308 (exit $ac_status); }; } &&
55309 { ac_try='test -s conftest.$ac_objext'
55310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55311 (eval $ac_try) 2>&5
55312 ac_status=$?
55313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55314 (exit $ac_status); }; }; then
55315 glibcxx_cv_func__frexpl_use=yes
55316 else
55317 echo "$as_me: failed program was:" >&5
55318 sed 's/^/| /' conftest.$ac_ext >&5
55320 glibcxx_cv_func__frexpl_use=no
55322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55323 ac_ext=c
55324 ac_cpp='$CPP $CPPFLAGS'
55325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55333 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
55334 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
55336 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55338 for ac_func in _frexpl
55340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55341 echo "$as_me:$LINENO: checking for $ac_func" >&5
55342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55343 if eval "test \"\${$as_ac_var+set}\" = set"; then
55344 echo $ECHO_N "(cached) $ECHO_C" >&6
55345 else
55346 if test x$gcc_no_link = xyes; then
55347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55349 { (exit 1); exit 1; }; }
55351 cat >conftest.$ac_ext <<_ACEOF
55352 /* confdefs.h. */
55353 _ACEOF
55354 cat confdefs.h >>conftest.$ac_ext
55355 cat >>conftest.$ac_ext <<_ACEOF
55356 /* end confdefs.h. */
55357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55359 #define $ac_func innocuous_$ac_func
55361 /* System header to define __stub macros and hopefully few prototypes,
55362 which can conflict with char $ac_func (); below.
55363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55364 <limits.h> exists even on freestanding compilers. */
55366 #ifdef __STDC__
55367 # include <limits.h>
55368 #else
55369 # include <assert.h>
55370 #endif
55372 #undef $ac_func
55374 /* Override any gcc2 internal prototype to avoid an error. */
55375 #ifdef __cplusplus
55376 extern "C"
55378 #endif
55379 /* We use char because int might match the return type of a gcc2
55380 builtin and then its argument prototype would still apply. */
55381 char $ac_func ();
55382 /* The GNU C library defines this for functions which it implements
55383 to always fail with ENOSYS. Some functions are actually named
55384 something starting with __ and the normal name is an alias. */
55385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55386 choke me
55387 #else
55388 char (*f) () = $ac_func;
55389 #endif
55390 #ifdef __cplusplus
55392 #endif
55395 main ()
55397 return f != $ac_func;
55399 return 0;
55401 _ACEOF
55402 rm -f conftest.$ac_objext conftest$ac_exeext
55403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55404 (eval $ac_link) 2>conftest.er1
55405 ac_status=$?
55406 grep -v '^ *+' conftest.er1 >conftest.err
55407 rm -f conftest.er1
55408 cat conftest.err >&5
55409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55410 (exit $ac_status); } &&
55411 { ac_try='test -z "$ac_c_werror_flag"
55412 || test ! -s conftest.err'
55413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55414 (eval $ac_try) 2>&5
55415 ac_status=$?
55416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55417 (exit $ac_status); }; } &&
55418 { ac_try='test -s conftest$ac_exeext'
55419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55420 (eval $ac_try) 2>&5
55421 ac_status=$?
55422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55423 (exit $ac_status); }; }; then
55424 eval "$as_ac_var=yes"
55425 else
55426 echo "$as_me: failed program was:" >&5
55427 sed 's/^/| /' conftest.$ac_ext >&5
55429 eval "$as_ac_var=no"
55431 rm -f conftest.err conftest.$ac_objext \
55432 conftest$ac_exeext conftest.$ac_ext
55434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55436 if test `eval echo '${'$as_ac_var'}'` = yes; then
55437 cat >>confdefs.h <<_ACEOF
55438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55439 _ACEOF
55442 done
55452 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
55453 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
55454 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55455 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
55456 echo $ECHO_N "(cached) $ECHO_C" >&6
55457 else
55461 ac_ext=cc
55462 ac_cpp='$CXXCPP $CPPFLAGS'
55463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55467 cat >conftest.$ac_ext <<_ACEOF
55468 /* confdefs.h. */
55469 _ACEOF
55470 cat confdefs.h >>conftest.$ac_ext
55471 cat >>conftest.$ac_ext <<_ACEOF
55472 /* end confdefs.h. */
55473 #include <math.h>
55475 main ()
55477 hypotl(0, 0);
55479 return 0;
55481 _ACEOF
55482 rm -f conftest.$ac_objext
55483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55484 (eval $ac_compile) 2>conftest.er1
55485 ac_status=$?
55486 grep -v '^ *+' conftest.er1 >conftest.err
55487 rm -f conftest.er1
55488 cat conftest.err >&5
55489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55490 (exit $ac_status); } &&
55491 { ac_try='test -z "$ac_cxx_werror_flag"
55492 || test ! -s conftest.err'
55493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55494 (eval $ac_try) 2>&5
55495 ac_status=$?
55496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55497 (exit $ac_status); }; } &&
55498 { ac_try='test -s conftest.$ac_objext'
55499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55500 (eval $ac_try) 2>&5
55501 ac_status=$?
55502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55503 (exit $ac_status); }; }; then
55504 glibcxx_cv_func_hypotl_use=yes
55505 else
55506 echo "$as_me: failed program was:" >&5
55507 sed 's/^/| /' conftest.$ac_ext >&5
55509 glibcxx_cv_func_hypotl_use=no
55511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55512 ac_ext=c
55513 ac_cpp='$CPP $CPPFLAGS'
55514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55522 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
55523 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
55525 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55527 for ac_func in hypotl
55529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55530 echo "$as_me:$LINENO: checking for $ac_func" >&5
55531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55532 if eval "test \"\${$as_ac_var+set}\" = set"; then
55533 echo $ECHO_N "(cached) $ECHO_C" >&6
55534 else
55535 if test x$gcc_no_link = xyes; then
55536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55538 { (exit 1); exit 1; }; }
55540 cat >conftest.$ac_ext <<_ACEOF
55541 /* confdefs.h. */
55542 _ACEOF
55543 cat confdefs.h >>conftest.$ac_ext
55544 cat >>conftest.$ac_ext <<_ACEOF
55545 /* end confdefs.h. */
55546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55548 #define $ac_func innocuous_$ac_func
55550 /* System header to define __stub macros and hopefully few prototypes,
55551 which can conflict with char $ac_func (); below.
55552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55553 <limits.h> exists even on freestanding compilers. */
55555 #ifdef __STDC__
55556 # include <limits.h>
55557 #else
55558 # include <assert.h>
55559 #endif
55561 #undef $ac_func
55563 /* Override any gcc2 internal prototype to avoid an error. */
55564 #ifdef __cplusplus
55565 extern "C"
55567 #endif
55568 /* We use char because int might match the return type of a gcc2
55569 builtin and then its argument prototype would still apply. */
55570 char $ac_func ();
55571 /* The GNU C library defines this for functions which it implements
55572 to always fail with ENOSYS. Some functions are actually named
55573 something starting with __ and the normal name is an alias. */
55574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55575 choke me
55576 #else
55577 char (*f) () = $ac_func;
55578 #endif
55579 #ifdef __cplusplus
55581 #endif
55584 main ()
55586 return f != $ac_func;
55588 return 0;
55590 _ACEOF
55591 rm -f conftest.$ac_objext conftest$ac_exeext
55592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55593 (eval $ac_link) 2>conftest.er1
55594 ac_status=$?
55595 grep -v '^ *+' conftest.er1 >conftest.err
55596 rm -f conftest.er1
55597 cat conftest.err >&5
55598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55599 (exit $ac_status); } &&
55600 { ac_try='test -z "$ac_c_werror_flag"
55601 || test ! -s conftest.err'
55602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55603 (eval $ac_try) 2>&5
55604 ac_status=$?
55605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55606 (exit $ac_status); }; } &&
55607 { ac_try='test -s conftest$ac_exeext'
55608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55609 (eval $ac_try) 2>&5
55610 ac_status=$?
55611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55612 (exit $ac_status); }; }; then
55613 eval "$as_ac_var=yes"
55614 else
55615 echo "$as_me: failed program was:" >&5
55616 sed 's/^/| /' conftest.$ac_ext >&5
55618 eval "$as_ac_var=no"
55620 rm -f conftest.err conftest.$ac_objext \
55621 conftest$ac_exeext conftest.$ac_ext
55623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55625 if test `eval echo '${'$as_ac_var'}'` = yes; then
55626 cat >>confdefs.h <<_ACEOF
55627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55628 _ACEOF
55631 done
55633 else
55635 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
55636 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
55637 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55638 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
55639 echo $ECHO_N "(cached) $ECHO_C" >&6
55640 else
55644 ac_ext=cc
55645 ac_cpp='$CXXCPP $CPPFLAGS'
55646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55650 cat >conftest.$ac_ext <<_ACEOF
55651 /* confdefs.h. */
55652 _ACEOF
55653 cat confdefs.h >>conftest.$ac_ext
55654 cat >>conftest.$ac_ext <<_ACEOF
55655 /* end confdefs.h. */
55656 #include <math.h>
55658 main ()
55660 _hypotl(0, 0);
55662 return 0;
55664 _ACEOF
55665 rm -f conftest.$ac_objext
55666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55667 (eval $ac_compile) 2>conftest.er1
55668 ac_status=$?
55669 grep -v '^ *+' conftest.er1 >conftest.err
55670 rm -f conftest.er1
55671 cat conftest.err >&5
55672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55673 (exit $ac_status); } &&
55674 { ac_try='test -z "$ac_cxx_werror_flag"
55675 || test ! -s conftest.err'
55676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55677 (eval $ac_try) 2>&5
55678 ac_status=$?
55679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55680 (exit $ac_status); }; } &&
55681 { ac_try='test -s conftest.$ac_objext'
55682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55683 (eval $ac_try) 2>&5
55684 ac_status=$?
55685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55686 (exit $ac_status); }; }; then
55687 glibcxx_cv_func__hypotl_use=yes
55688 else
55689 echo "$as_me: failed program was:" >&5
55690 sed 's/^/| /' conftest.$ac_ext >&5
55692 glibcxx_cv_func__hypotl_use=no
55694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55695 ac_ext=c
55696 ac_cpp='$CPP $CPPFLAGS'
55697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55705 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
55706 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
55708 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55710 for ac_func in _hypotl
55712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55713 echo "$as_me:$LINENO: checking for $ac_func" >&5
55714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55715 if eval "test \"\${$as_ac_var+set}\" = set"; then
55716 echo $ECHO_N "(cached) $ECHO_C" >&6
55717 else
55718 if test x$gcc_no_link = xyes; then
55719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55721 { (exit 1); exit 1; }; }
55723 cat >conftest.$ac_ext <<_ACEOF
55724 /* confdefs.h. */
55725 _ACEOF
55726 cat confdefs.h >>conftest.$ac_ext
55727 cat >>conftest.$ac_ext <<_ACEOF
55728 /* end confdefs.h. */
55729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55731 #define $ac_func innocuous_$ac_func
55733 /* System header to define __stub macros and hopefully few prototypes,
55734 which can conflict with char $ac_func (); below.
55735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55736 <limits.h> exists even on freestanding compilers. */
55738 #ifdef __STDC__
55739 # include <limits.h>
55740 #else
55741 # include <assert.h>
55742 #endif
55744 #undef $ac_func
55746 /* Override any gcc2 internal prototype to avoid an error. */
55747 #ifdef __cplusplus
55748 extern "C"
55750 #endif
55751 /* We use char because int might match the return type of a gcc2
55752 builtin and then its argument prototype would still apply. */
55753 char $ac_func ();
55754 /* The GNU C library defines this for functions which it implements
55755 to always fail with ENOSYS. Some functions are actually named
55756 something starting with __ and the normal name is an alias. */
55757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55758 choke me
55759 #else
55760 char (*f) () = $ac_func;
55761 #endif
55762 #ifdef __cplusplus
55764 #endif
55767 main ()
55769 return f != $ac_func;
55771 return 0;
55773 _ACEOF
55774 rm -f conftest.$ac_objext conftest$ac_exeext
55775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55776 (eval $ac_link) 2>conftest.er1
55777 ac_status=$?
55778 grep -v '^ *+' conftest.er1 >conftest.err
55779 rm -f conftest.er1
55780 cat conftest.err >&5
55781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55782 (exit $ac_status); } &&
55783 { ac_try='test -z "$ac_c_werror_flag"
55784 || test ! -s conftest.err'
55785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55786 (eval $ac_try) 2>&5
55787 ac_status=$?
55788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55789 (exit $ac_status); }; } &&
55790 { ac_try='test -s conftest$ac_exeext'
55791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55792 (eval $ac_try) 2>&5
55793 ac_status=$?
55794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55795 (exit $ac_status); }; }; then
55796 eval "$as_ac_var=yes"
55797 else
55798 echo "$as_me: failed program was:" >&5
55799 sed 's/^/| /' conftest.$ac_ext >&5
55801 eval "$as_ac_var=no"
55803 rm -f conftest.err conftest.$ac_objext \
55804 conftest$ac_exeext conftest.$ac_ext
55806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55808 if test `eval echo '${'$as_ac_var'}'` = yes; then
55809 cat >>confdefs.h <<_ACEOF
55810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55811 _ACEOF
55814 done
55824 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
55825 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
55826 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55827 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
55828 echo $ECHO_N "(cached) $ECHO_C" >&6
55829 else
55833 ac_ext=cc
55834 ac_cpp='$CXXCPP $CPPFLAGS'
55835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55839 cat >conftest.$ac_ext <<_ACEOF
55840 /* confdefs.h. */
55841 _ACEOF
55842 cat confdefs.h >>conftest.$ac_ext
55843 cat >>conftest.$ac_ext <<_ACEOF
55844 /* end confdefs.h. */
55845 #include <math.h>
55847 main ()
55849 ldexpl(0, 0);
55851 return 0;
55853 _ACEOF
55854 rm -f conftest.$ac_objext
55855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55856 (eval $ac_compile) 2>conftest.er1
55857 ac_status=$?
55858 grep -v '^ *+' conftest.er1 >conftest.err
55859 rm -f conftest.er1
55860 cat conftest.err >&5
55861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55862 (exit $ac_status); } &&
55863 { ac_try='test -z "$ac_cxx_werror_flag"
55864 || test ! -s conftest.err'
55865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55866 (eval $ac_try) 2>&5
55867 ac_status=$?
55868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55869 (exit $ac_status); }; } &&
55870 { ac_try='test -s conftest.$ac_objext'
55871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55872 (eval $ac_try) 2>&5
55873 ac_status=$?
55874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55875 (exit $ac_status); }; }; then
55876 glibcxx_cv_func_ldexpl_use=yes
55877 else
55878 echo "$as_me: failed program was:" >&5
55879 sed 's/^/| /' conftest.$ac_ext >&5
55881 glibcxx_cv_func_ldexpl_use=no
55883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55884 ac_ext=c
55885 ac_cpp='$CPP $CPPFLAGS'
55886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55894 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
55895 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
55897 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55899 for ac_func in ldexpl
55901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55902 echo "$as_me:$LINENO: checking for $ac_func" >&5
55903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55904 if eval "test \"\${$as_ac_var+set}\" = set"; then
55905 echo $ECHO_N "(cached) $ECHO_C" >&6
55906 else
55907 if test x$gcc_no_link = xyes; then
55908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55910 { (exit 1); exit 1; }; }
55912 cat >conftest.$ac_ext <<_ACEOF
55913 /* confdefs.h. */
55914 _ACEOF
55915 cat confdefs.h >>conftest.$ac_ext
55916 cat >>conftest.$ac_ext <<_ACEOF
55917 /* end confdefs.h. */
55918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55920 #define $ac_func innocuous_$ac_func
55922 /* System header to define __stub macros and hopefully few prototypes,
55923 which can conflict with char $ac_func (); below.
55924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55925 <limits.h> exists even on freestanding compilers. */
55927 #ifdef __STDC__
55928 # include <limits.h>
55929 #else
55930 # include <assert.h>
55931 #endif
55933 #undef $ac_func
55935 /* Override any gcc2 internal prototype to avoid an error. */
55936 #ifdef __cplusplus
55937 extern "C"
55939 #endif
55940 /* We use char because int might match the return type of a gcc2
55941 builtin and then its argument prototype would still apply. */
55942 char $ac_func ();
55943 /* The GNU C library defines this for functions which it implements
55944 to always fail with ENOSYS. Some functions are actually named
55945 something starting with __ and the normal name is an alias. */
55946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55947 choke me
55948 #else
55949 char (*f) () = $ac_func;
55950 #endif
55951 #ifdef __cplusplus
55953 #endif
55956 main ()
55958 return f != $ac_func;
55960 return 0;
55962 _ACEOF
55963 rm -f conftest.$ac_objext conftest$ac_exeext
55964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55965 (eval $ac_link) 2>conftest.er1
55966 ac_status=$?
55967 grep -v '^ *+' conftest.er1 >conftest.err
55968 rm -f conftest.er1
55969 cat conftest.err >&5
55970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55971 (exit $ac_status); } &&
55972 { ac_try='test -z "$ac_c_werror_flag"
55973 || test ! -s conftest.err'
55974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55975 (eval $ac_try) 2>&5
55976 ac_status=$?
55977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55978 (exit $ac_status); }; } &&
55979 { ac_try='test -s conftest$ac_exeext'
55980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55981 (eval $ac_try) 2>&5
55982 ac_status=$?
55983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55984 (exit $ac_status); }; }; then
55985 eval "$as_ac_var=yes"
55986 else
55987 echo "$as_me: failed program was:" >&5
55988 sed 's/^/| /' conftest.$ac_ext >&5
55990 eval "$as_ac_var=no"
55992 rm -f conftest.err conftest.$ac_objext \
55993 conftest$ac_exeext conftest.$ac_ext
55995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55997 if test `eval echo '${'$as_ac_var'}'` = yes; then
55998 cat >>confdefs.h <<_ACEOF
55999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56000 _ACEOF
56003 done
56005 else
56007 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
56008 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
56009 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56010 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
56011 echo $ECHO_N "(cached) $ECHO_C" >&6
56012 else
56016 ac_ext=cc
56017 ac_cpp='$CXXCPP $CPPFLAGS'
56018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56022 cat >conftest.$ac_ext <<_ACEOF
56023 /* confdefs.h. */
56024 _ACEOF
56025 cat confdefs.h >>conftest.$ac_ext
56026 cat >>conftest.$ac_ext <<_ACEOF
56027 /* end confdefs.h. */
56028 #include <math.h>
56030 main ()
56032 _ldexpl(0, 0);
56034 return 0;
56036 _ACEOF
56037 rm -f conftest.$ac_objext
56038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56039 (eval $ac_compile) 2>conftest.er1
56040 ac_status=$?
56041 grep -v '^ *+' conftest.er1 >conftest.err
56042 rm -f conftest.er1
56043 cat conftest.err >&5
56044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56045 (exit $ac_status); } &&
56046 { ac_try='test -z "$ac_cxx_werror_flag"
56047 || test ! -s conftest.err'
56048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56049 (eval $ac_try) 2>&5
56050 ac_status=$?
56051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56052 (exit $ac_status); }; } &&
56053 { ac_try='test -s conftest.$ac_objext'
56054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56055 (eval $ac_try) 2>&5
56056 ac_status=$?
56057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56058 (exit $ac_status); }; }; then
56059 glibcxx_cv_func__ldexpl_use=yes
56060 else
56061 echo "$as_me: failed program was:" >&5
56062 sed 's/^/| /' conftest.$ac_ext >&5
56064 glibcxx_cv_func__ldexpl_use=no
56066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56067 ac_ext=c
56068 ac_cpp='$CPP $CPPFLAGS'
56069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56077 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
56078 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
56080 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56082 for ac_func in _ldexpl
56084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56085 echo "$as_me:$LINENO: checking for $ac_func" >&5
56086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56087 if eval "test \"\${$as_ac_var+set}\" = set"; then
56088 echo $ECHO_N "(cached) $ECHO_C" >&6
56089 else
56090 if test x$gcc_no_link = xyes; then
56091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56093 { (exit 1); exit 1; }; }
56095 cat >conftest.$ac_ext <<_ACEOF
56096 /* confdefs.h. */
56097 _ACEOF
56098 cat confdefs.h >>conftest.$ac_ext
56099 cat >>conftest.$ac_ext <<_ACEOF
56100 /* end confdefs.h. */
56101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56103 #define $ac_func innocuous_$ac_func
56105 /* System header to define __stub macros and hopefully few prototypes,
56106 which can conflict with char $ac_func (); below.
56107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56108 <limits.h> exists even on freestanding compilers. */
56110 #ifdef __STDC__
56111 # include <limits.h>
56112 #else
56113 # include <assert.h>
56114 #endif
56116 #undef $ac_func
56118 /* Override any gcc2 internal prototype to avoid an error. */
56119 #ifdef __cplusplus
56120 extern "C"
56122 #endif
56123 /* We use char because int might match the return type of a gcc2
56124 builtin and then its argument prototype would still apply. */
56125 char $ac_func ();
56126 /* The GNU C library defines this for functions which it implements
56127 to always fail with ENOSYS. Some functions are actually named
56128 something starting with __ and the normal name is an alias. */
56129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56130 choke me
56131 #else
56132 char (*f) () = $ac_func;
56133 #endif
56134 #ifdef __cplusplus
56136 #endif
56139 main ()
56141 return f != $ac_func;
56143 return 0;
56145 _ACEOF
56146 rm -f conftest.$ac_objext conftest$ac_exeext
56147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56148 (eval $ac_link) 2>conftest.er1
56149 ac_status=$?
56150 grep -v '^ *+' conftest.er1 >conftest.err
56151 rm -f conftest.er1
56152 cat conftest.err >&5
56153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56154 (exit $ac_status); } &&
56155 { ac_try='test -z "$ac_c_werror_flag"
56156 || test ! -s conftest.err'
56157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56158 (eval $ac_try) 2>&5
56159 ac_status=$?
56160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56161 (exit $ac_status); }; } &&
56162 { ac_try='test -s conftest$ac_exeext'
56163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56164 (eval $ac_try) 2>&5
56165 ac_status=$?
56166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56167 (exit $ac_status); }; }; then
56168 eval "$as_ac_var=yes"
56169 else
56170 echo "$as_me: failed program was:" >&5
56171 sed 's/^/| /' conftest.$ac_ext >&5
56173 eval "$as_ac_var=no"
56175 rm -f conftest.err conftest.$ac_objext \
56176 conftest$ac_exeext conftest.$ac_ext
56178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56180 if test `eval echo '${'$as_ac_var'}'` = yes; then
56181 cat >>confdefs.h <<_ACEOF
56182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56183 _ACEOF
56186 done
56196 echo "$as_me:$LINENO: checking for logl declaration" >&5
56197 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
56198 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56199 if test "${glibcxx_cv_func_logl_use+set}" = set; then
56200 echo $ECHO_N "(cached) $ECHO_C" >&6
56201 else
56205 ac_ext=cc
56206 ac_cpp='$CXXCPP $CPPFLAGS'
56207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56211 cat >conftest.$ac_ext <<_ACEOF
56212 /* confdefs.h. */
56213 _ACEOF
56214 cat confdefs.h >>conftest.$ac_ext
56215 cat >>conftest.$ac_ext <<_ACEOF
56216 /* end confdefs.h. */
56217 #include <math.h>
56218 #ifdef HAVE_IEEEFP_H
56219 #include <ieeefp.h>
56220 #endif
56223 main ()
56225 logl(0);
56227 return 0;
56229 _ACEOF
56230 rm -f conftest.$ac_objext
56231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56232 (eval $ac_compile) 2>conftest.er1
56233 ac_status=$?
56234 grep -v '^ *+' conftest.er1 >conftest.err
56235 rm -f conftest.er1
56236 cat conftest.err >&5
56237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56238 (exit $ac_status); } &&
56239 { ac_try='test -z "$ac_cxx_werror_flag"
56240 || test ! -s conftest.err'
56241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56242 (eval $ac_try) 2>&5
56243 ac_status=$?
56244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56245 (exit $ac_status); }; } &&
56246 { ac_try='test -s conftest.$ac_objext'
56247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56248 (eval $ac_try) 2>&5
56249 ac_status=$?
56250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56251 (exit $ac_status); }; }; then
56252 glibcxx_cv_func_logl_use=yes
56253 else
56254 echo "$as_me: failed program was:" >&5
56255 sed 's/^/| /' conftest.$ac_ext >&5
56257 glibcxx_cv_func_logl_use=no
56259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56260 ac_ext=c
56261 ac_cpp='$CPP $CPPFLAGS'
56262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56270 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
56271 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
56273 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56275 for ac_func in logl
56277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56278 echo "$as_me:$LINENO: checking for $ac_func" >&5
56279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56280 if eval "test \"\${$as_ac_var+set}\" = set"; then
56281 echo $ECHO_N "(cached) $ECHO_C" >&6
56282 else
56283 if test x$gcc_no_link = xyes; then
56284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56286 { (exit 1); exit 1; }; }
56288 cat >conftest.$ac_ext <<_ACEOF
56289 /* confdefs.h. */
56290 _ACEOF
56291 cat confdefs.h >>conftest.$ac_ext
56292 cat >>conftest.$ac_ext <<_ACEOF
56293 /* end confdefs.h. */
56294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56296 #define $ac_func innocuous_$ac_func
56298 /* System header to define __stub macros and hopefully few prototypes,
56299 which can conflict with char $ac_func (); below.
56300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56301 <limits.h> exists even on freestanding compilers. */
56303 #ifdef __STDC__
56304 # include <limits.h>
56305 #else
56306 # include <assert.h>
56307 #endif
56309 #undef $ac_func
56311 /* Override any gcc2 internal prototype to avoid an error. */
56312 #ifdef __cplusplus
56313 extern "C"
56315 #endif
56316 /* We use char because int might match the return type of a gcc2
56317 builtin and then its argument prototype would still apply. */
56318 char $ac_func ();
56319 /* The GNU C library defines this for functions which it implements
56320 to always fail with ENOSYS. Some functions are actually named
56321 something starting with __ and the normal name is an alias. */
56322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56323 choke me
56324 #else
56325 char (*f) () = $ac_func;
56326 #endif
56327 #ifdef __cplusplus
56329 #endif
56332 main ()
56334 return f != $ac_func;
56336 return 0;
56338 _ACEOF
56339 rm -f conftest.$ac_objext conftest$ac_exeext
56340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56341 (eval $ac_link) 2>conftest.er1
56342 ac_status=$?
56343 grep -v '^ *+' conftest.er1 >conftest.err
56344 rm -f conftest.er1
56345 cat conftest.err >&5
56346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56347 (exit $ac_status); } &&
56348 { ac_try='test -z "$ac_c_werror_flag"
56349 || test ! -s conftest.err'
56350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56351 (eval $ac_try) 2>&5
56352 ac_status=$?
56353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56354 (exit $ac_status); }; } &&
56355 { ac_try='test -s conftest$ac_exeext'
56356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56357 (eval $ac_try) 2>&5
56358 ac_status=$?
56359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56360 (exit $ac_status); }; }; then
56361 eval "$as_ac_var=yes"
56362 else
56363 echo "$as_me: failed program was:" >&5
56364 sed 's/^/| /' conftest.$ac_ext >&5
56366 eval "$as_ac_var=no"
56368 rm -f conftest.err conftest.$ac_objext \
56369 conftest$ac_exeext conftest.$ac_ext
56371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56373 if test `eval echo '${'$as_ac_var'}'` = yes; then
56374 cat >>confdefs.h <<_ACEOF
56375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56376 _ACEOF
56379 done
56381 else
56383 echo "$as_me:$LINENO: checking for _logl declaration" >&5
56384 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
56385 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56386 if test "${glibcxx_cv_func__logl_use+set}" = set; then
56387 echo $ECHO_N "(cached) $ECHO_C" >&6
56388 else
56392 ac_ext=cc
56393 ac_cpp='$CXXCPP $CPPFLAGS'
56394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56398 cat >conftest.$ac_ext <<_ACEOF
56399 /* confdefs.h. */
56400 _ACEOF
56401 cat confdefs.h >>conftest.$ac_ext
56402 cat >>conftest.$ac_ext <<_ACEOF
56403 /* end confdefs.h. */
56404 #include <math.h>
56405 #ifdef HAVE_IEEEFP_H
56406 #include <ieeefp.h>
56407 #endif
56410 main ()
56412 _logl(0);
56414 return 0;
56416 _ACEOF
56417 rm -f conftest.$ac_objext
56418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56419 (eval $ac_compile) 2>conftest.er1
56420 ac_status=$?
56421 grep -v '^ *+' conftest.er1 >conftest.err
56422 rm -f conftest.er1
56423 cat conftest.err >&5
56424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56425 (exit $ac_status); } &&
56426 { ac_try='test -z "$ac_cxx_werror_flag"
56427 || test ! -s conftest.err'
56428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56429 (eval $ac_try) 2>&5
56430 ac_status=$?
56431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56432 (exit $ac_status); }; } &&
56433 { ac_try='test -s conftest.$ac_objext'
56434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56435 (eval $ac_try) 2>&5
56436 ac_status=$?
56437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56438 (exit $ac_status); }; }; then
56439 glibcxx_cv_func__logl_use=yes
56440 else
56441 echo "$as_me: failed program was:" >&5
56442 sed 's/^/| /' conftest.$ac_ext >&5
56444 glibcxx_cv_func__logl_use=no
56446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56447 ac_ext=c
56448 ac_cpp='$CPP $CPPFLAGS'
56449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56457 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
56458 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
56460 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56462 for ac_func in _logl
56464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56465 echo "$as_me:$LINENO: checking for $ac_func" >&5
56466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56467 if eval "test \"\${$as_ac_var+set}\" = set"; then
56468 echo $ECHO_N "(cached) $ECHO_C" >&6
56469 else
56470 if test x$gcc_no_link = xyes; then
56471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56473 { (exit 1); exit 1; }; }
56475 cat >conftest.$ac_ext <<_ACEOF
56476 /* confdefs.h. */
56477 _ACEOF
56478 cat confdefs.h >>conftest.$ac_ext
56479 cat >>conftest.$ac_ext <<_ACEOF
56480 /* end confdefs.h. */
56481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56483 #define $ac_func innocuous_$ac_func
56485 /* System header to define __stub macros and hopefully few prototypes,
56486 which can conflict with char $ac_func (); below.
56487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56488 <limits.h> exists even on freestanding compilers. */
56490 #ifdef __STDC__
56491 # include <limits.h>
56492 #else
56493 # include <assert.h>
56494 #endif
56496 #undef $ac_func
56498 /* Override any gcc2 internal prototype to avoid an error. */
56499 #ifdef __cplusplus
56500 extern "C"
56502 #endif
56503 /* We use char because int might match the return type of a gcc2
56504 builtin and then its argument prototype would still apply. */
56505 char $ac_func ();
56506 /* The GNU C library defines this for functions which it implements
56507 to always fail with ENOSYS. Some functions are actually named
56508 something starting with __ and the normal name is an alias. */
56509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56510 choke me
56511 #else
56512 char (*f) () = $ac_func;
56513 #endif
56514 #ifdef __cplusplus
56516 #endif
56519 main ()
56521 return f != $ac_func;
56523 return 0;
56525 _ACEOF
56526 rm -f conftest.$ac_objext conftest$ac_exeext
56527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56528 (eval $ac_link) 2>conftest.er1
56529 ac_status=$?
56530 grep -v '^ *+' conftest.er1 >conftest.err
56531 rm -f conftest.er1
56532 cat conftest.err >&5
56533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56534 (exit $ac_status); } &&
56535 { ac_try='test -z "$ac_c_werror_flag"
56536 || test ! -s conftest.err'
56537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56538 (eval $ac_try) 2>&5
56539 ac_status=$?
56540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56541 (exit $ac_status); }; } &&
56542 { ac_try='test -s conftest$ac_exeext'
56543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56544 (eval $ac_try) 2>&5
56545 ac_status=$?
56546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56547 (exit $ac_status); }; }; then
56548 eval "$as_ac_var=yes"
56549 else
56550 echo "$as_me: failed program was:" >&5
56551 sed 's/^/| /' conftest.$ac_ext >&5
56553 eval "$as_ac_var=no"
56555 rm -f conftest.err conftest.$ac_objext \
56556 conftest$ac_exeext conftest.$ac_ext
56558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56560 if test `eval echo '${'$as_ac_var'}'` = yes; then
56561 cat >>confdefs.h <<_ACEOF
56562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56563 _ACEOF
56566 done
56576 echo "$as_me:$LINENO: checking for log10l declaration" >&5
56577 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
56578 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56579 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
56580 echo $ECHO_N "(cached) $ECHO_C" >&6
56581 else
56585 ac_ext=cc
56586 ac_cpp='$CXXCPP $CPPFLAGS'
56587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56591 cat >conftest.$ac_ext <<_ACEOF
56592 /* confdefs.h. */
56593 _ACEOF
56594 cat confdefs.h >>conftest.$ac_ext
56595 cat >>conftest.$ac_ext <<_ACEOF
56596 /* end confdefs.h. */
56597 #include <math.h>
56598 #ifdef HAVE_IEEEFP_H
56599 #include <ieeefp.h>
56600 #endif
56603 main ()
56605 log10l(0);
56607 return 0;
56609 _ACEOF
56610 rm -f conftest.$ac_objext
56611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56612 (eval $ac_compile) 2>conftest.er1
56613 ac_status=$?
56614 grep -v '^ *+' conftest.er1 >conftest.err
56615 rm -f conftest.er1
56616 cat conftest.err >&5
56617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56618 (exit $ac_status); } &&
56619 { ac_try='test -z "$ac_cxx_werror_flag"
56620 || test ! -s conftest.err'
56621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56622 (eval $ac_try) 2>&5
56623 ac_status=$?
56624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56625 (exit $ac_status); }; } &&
56626 { ac_try='test -s conftest.$ac_objext'
56627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56628 (eval $ac_try) 2>&5
56629 ac_status=$?
56630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56631 (exit $ac_status); }; }; then
56632 glibcxx_cv_func_log10l_use=yes
56633 else
56634 echo "$as_me: failed program was:" >&5
56635 sed 's/^/| /' conftest.$ac_ext >&5
56637 glibcxx_cv_func_log10l_use=no
56639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56640 ac_ext=c
56641 ac_cpp='$CPP $CPPFLAGS'
56642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56650 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
56651 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
56653 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56655 for ac_func in log10l
56657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56658 echo "$as_me:$LINENO: checking for $ac_func" >&5
56659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56660 if eval "test \"\${$as_ac_var+set}\" = set"; then
56661 echo $ECHO_N "(cached) $ECHO_C" >&6
56662 else
56663 if test x$gcc_no_link = xyes; then
56664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56666 { (exit 1); exit 1; }; }
56668 cat >conftest.$ac_ext <<_ACEOF
56669 /* confdefs.h. */
56670 _ACEOF
56671 cat confdefs.h >>conftest.$ac_ext
56672 cat >>conftest.$ac_ext <<_ACEOF
56673 /* end confdefs.h. */
56674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56676 #define $ac_func innocuous_$ac_func
56678 /* System header to define __stub macros and hopefully few prototypes,
56679 which can conflict with char $ac_func (); below.
56680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56681 <limits.h> exists even on freestanding compilers. */
56683 #ifdef __STDC__
56684 # include <limits.h>
56685 #else
56686 # include <assert.h>
56687 #endif
56689 #undef $ac_func
56691 /* Override any gcc2 internal prototype to avoid an error. */
56692 #ifdef __cplusplus
56693 extern "C"
56695 #endif
56696 /* We use char because int might match the return type of a gcc2
56697 builtin and then its argument prototype would still apply. */
56698 char $ac_func ();
56699 /* The GNU C library defines this for functions which it implements
56700 to always fail with ENOSYS. Some functions are actually named
56701 something starting with __ and the normal name is an alias. */
56702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56703 choke me
56704 #else
56705 char (*f) () = $ac_func;
56706 #endif
56707 #ifdef __cplusplus
56709 #endif
56712 main ()
56714 return f != $ac_func;
56716 return 0;
56718 _ACEOF
56719 rm -f conftest.$ac_objext conftest$ac_exeext
56720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56721 (eval $ac_link) 2>conftest.er1
56722 ac_status=$?
56723 grep -v '^ *+' conftest.er1 >conftest.err
56724 rm -f conftest.er1
56725 cat conftest.err >&5
56726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56727 (exit $ac_status); } &&
56728 { ac_try='test -z "$ac_c_werror_flag"
56729 || test ! -s conftest.err'
56730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56731 (eval $ac_try) 2>&5
56732 ac_status=$?
56733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56734 (exit $ac_status); }; } &&
56735 { ac_try='test -s conftest$ac_exeext'
56736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56737 (eval $ac_try) 2>&5
56738 ac_status=$?
56739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56740 (exit $ac_status); }; }; then
56741 eval "$as_ac_var=yes"
56742 else
56743 echo "$as_me: failed program was:" >&5
56744 sed 's/^/| /' conftest.$ac_ext >&5
56746 eval "$as_ac_var=no"
56748 rm -f conftest.err conftest.$ac_objext \
56749 conftest$ac_exeext conftest.$ac_ext
56751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56753 if test `eval echo '${'$as_ac_var'}'` = yes; then
56754 cat >>confdefs.h <<_ACEOF
56755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56756 _ACEOF
56759 done
56761 else
56763 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
56764 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
56765 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56766 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
56767 echo $ECHO_N "(cached) $ECHO_C" >&6
56768 else
56772 ac_ext=cc
56773 ac_cpp='$CXXCPP $CPPFLAGS'
56774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56778 cat >conftest.$ac_ext <<_ACEOF
56779 /* confdefs.h. */
56780 _ACEOF
56781 cat confdefs.h >>conftest.$ac_ext
56782 cat >>conftest.$ac_ext <<_ACEOF
56783 /* end confdefs.h. */
56784 #include <math.h>
56785 #ifdef HAVE_IEEEFP_H
56786 #include <ieeefp.h>
56787 #endif
56790 main ()
56792 _log10l(0);
56794 return 0;
56796 _ACEOF
56797 rm -f conftest.$ac_objext
56798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56799 (eval $ac_compile) 2>conftest.er1
56800 ac_status=$?
56801 grep -v '^ *+' conftest.er1 >conftest.err
56802 rm -f conftest.er1
56803 cat conftest.err >&5
56804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56805 (exit $ac_status); } &&
56806 { ac_try='test -z "$ac_cxx_werror_flag"
56807 || test ! -s conftest.err'
56808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56809 (eval $ac_try) 2>&5
56810 ac_status=$?
56811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56812 (exit $ac_status); }; } &&
56813 { ac_try='test -s conftest.$ac_objext'
56814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56815 (eval $ac_try) 2>&5
56816 ac_status=$?
56817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56818 (exit $ac_status); }; }; then
56819 glibcxx_cv_func__log10l_use=yes
56820 else
56821 echo "$as_me: failed program was:" >&5
56822 sed 's/^/| /' conftest.$ac_ext >&5
56824 glibcxx_cv_func__log10l_use=no
56826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56827 ac_ext=c
56828 ac_cpp='$CPP $CPPFLAGS'
56829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56837 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
56838 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
56840 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56842 for ac_func in _log10l
56844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56845 echo "$as_me:$LINENO: checking for $ac_func" >&5
56846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56847 if eval "test \"\${$as_ac_var+set}\" = set"; then
56848 echo $ECHO_N "(cached) $ECHO_C" >&6
56849 else
56850 if test x$gcc_no_link = xyes; then
56851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56853 { (exit 1); exit 1; }; }
56855 cat >conftest.$ac_ext <<_ACEOF
56856 /* confdefs.h. */
56857 _ACEOF
56858 cat confdefs.h >>conftest.$ac_ext
56859 cat >>conftest.$ac_ext <<_ACEOF
56860 /* end confdefs.h. */
56861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56863 #define $ac_func innocuous_$ac_func
56865 /* System header to define __stub macros and hopefully few prototypes,
56866 which can conflict with char $ac_func (); below.
56867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56868 <limits.h> exists even on freestanding compilers. */
56870 #ifdef __STDC__
56871 # include <limits.h>
56872 #else
56873 # include <assert.h>
56874 #endif
56876 #undef $ac_func
56878 /* Override any gcc2 internal prototype to avoid an error. */
56879 #ifdef __cplusplus
56880 extern "C"
56882 #endif
56883 /* We use char because int might match the return type of a gcc2
56884 builtin and then its argument prototype would still apply. */
56885 char $ac_func ();
56886 /* The GNU C library defines this for functions which it implements
56887 to always fail with ENOSYS. Some functions are actually named
56888 something starting with __ and the normal name is an alias. */
56889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56890 choke me
56891 #else
56892 char (*f) () = $ac_func;
56893 #endif
56894 #ifdef __cplusplus
56896 #endif
56899 main ()
56901 return f != $ac_func;
56903 return 0;
56905 _ACEOF
56906 rm -f conftest.$ac_objext conftest$ac_exeext
56907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56908 (eval $ac_link) 2>conftest.er1
56909 ac_status=$?
56910 grep -v '^ *+' conftest.er1 >conftest.err
56911 rm -f conftest.er1
56912 cat conftest.err >&5
56913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56914 (exit $ac_status); } &&
56915 { ac_try='test -z "$ac_c_werror_flag"
56916 || test ! -s conftest.err'
56917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56918 (eval $ac_try) 2>&5
56919 ac_status=$?
56920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56921 (exit $ac_status); }; } &&
56922 { ac_try='test -s conftest$ac_exeext'
56923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56924 (eval $ac_try) 2>&5
56925 ac_status=$?
56926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56927 (exit $ac_status); }; }; then
56928 eval "$as_ac_var=yes"
56929 else
56930 echo "$as_me: failed program was:" >&5
56931 sed 's/^/| /' conftest.$ac_ext >&5
56933 eval "$as_ac_var=no"
56935 rm -f conftest.err conftest.$ac_objext \
56936 conftest$ac_exeext conftest.$ac_ext
56938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56940 if test `eval echo '${'$as_ac_var'}'` = yes; then
56941 cat >>confdefs.h <<_ACEOF
56942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56943 _ACEOF
56946 done
56956 echo "$as_me:$LINENO: checking for modfl declaration" >&5
56957 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
56958 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56959 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
56960 echo $ECHO_N "(cached) $ECHO_C" >&6
56961 else
56965 ac_ext=cc
56966 ac_cpp='$CXXCPP $CPPFLAGS'
56967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56971 cat >conftest.$ac_ext <<_ACEOF
56972 /* confdefs.h. */
56973 _ACEOF
56974 cat confdefs.h >>conftest.$ac_ext
56975 cat >>conftest.$ac_ext <<_ACEOF
56976 /* end confdefs.h. */
56977 #include <math.h>
56979 main ()
56981 modfl(0, 0);
56983 return 0;
56985 _ACEOF
56986 rm -f conftest.$ac_objext
56987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56988 (eval $ac_compile) 2>conftest.er1
56989 ac_status=$?
56990 grep -v '^ *+' conftest.er1 >conftest.err
56991 rm -f conftest.er1
56992 cat conftest.err >&5
56993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56994 (exit $ac_status); } &&
56995 { ac_try='test -z "$ac_cxx_werror_flag"
56996 || test ! -s conftest.err'
56997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56998 (eval $ac_try) 2>&5
56999 ac_status=$?
57000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57001 (exit $ac_status); }; } &&
57002 { ac_try='test -s conftest.$ac_objext'
57003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57004 (eval $ac_try) 2>&5
57005 ac_status=$?
57006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57007 (exit $ac_status); }; }; then
57008 glibcxx_cv_func_modfl_use=yes
57009 else
57010 echo "$as_me: failed program was:" >&5
57011 sed 's/^/| /' conftest.$ac_ext >&5
57013 glibcxx_cv_func_modfl_use=no
57015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57016 ac_ext=c
57017 ac_cpp='$CPP $CPPFLAGS'
57018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57026 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
57027 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
57029 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57031 for ac_func in modfl
57033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57034 echo "$as_me:$LINENO: checking for $ac_func" >&5
57035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57036 if eval "test \"\${$as_ac_var+set}\" = set"; then
57037 echo $ECHO_N "(cached) $ECHO_C" >&6
57038 else
57039 if test x$gcc_no_link = xyes; then
57040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57042 { (exit 1); exit 1; }; }
57044 cat >conftest.$ac_ext <<_ACEOF
57045 /* confdefs.h. */
57046 _ACEOF
57047 cat confdefs.h >>conftest.$ac_ext
57048 cat >>conftest.$ac_ext <<_ACEOF
57049 /* end confdefs.h. */
57050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57052 #define $ac_func innocuous_$ac_func
57054 /* System header to define __stub macros and hopefully few prototypes,
57055 which can conflict with char $ac_func (); below.
57056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57057 <limits.h> exists even on freestanding compilers. */
57059 #ifdef __STDC__
57060 # include <limits.h>
57061 #else
57062 # include <assert.h>
57063 #endif
57065 #undef $ac_func
57067 /* Override any gcc2 internal prototype to avoid an error. */
57068 #ifdef __cplusplus
57069 extern "C"
57071 #endif
57072 /* We use char because int might match the return type of a gcc2
57073 builtin and then its argument prototype would still apply. */
57074 char $ac_func ();
57075 /* The GNU C library defines this for functions which it implements
57076 to always fail with ENOSYS. Some functions are actually named
57077 something starting with __ and the normal name is an alias. */
57078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57079 choke me
57080 #else
57081 char (*f) () = $ac_func;
57082 #endif
57083 #ifdef __cplusplus
57085 #endif
57088 main ()
57090 return f != $ac_func;
57092 return 0;
57094 _ACEOF
57095 rm -f conftest.$ac_objext conftest$ac_exeext
57096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57097 (eval $ac_link) 2>conftest.er1
57098 ac_status=$?
57099 grep -v '^ *+' conftest.er1 >conftest.err
57100 rm -f conftest.er1
57101 cat conftest.err >&5
57102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57103 (exit $ac_status); } &&
57104 { ac_try='test -z "$ac_c_werror_flag"
57105 || test ! -s conftest.err'
57106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57107 (eval $ac_try) 2>&5
57108 ac_status=$?
57109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57110 (exit $ac_status); }; } &&
57111 { ac_try='test -s conftest$ac_exeext'
57112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57113 (eval $ac_try) 2>&5
57114 ac_status=$?
57115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57116 (exit $ac_status); }; }; then
57117 eval "$as_ac_var=yes"
57118 else
57119 echo "$as_me: failed program was:" >&5
57120 sed 's/^/| /' conftest.$ac_ext >&5
57122 eval "$as_ac_var=no"
57124 rm -f conftest.err conftest.$ac_objext \
57125 conftest$ac_exeext conftest.$ac_ext
57127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57129 if test `eval echo '${'$as_ac_var'}'` = yes; then
57130 cat >>confdefs.h <<_ACEOF
57131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57132 _ACEOF
57135 done
57137 else
57139 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
57140 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
57141 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57142 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
57143 echo $ECHO_N "(cached) $ECHO_C" >&6
57144 else
57148 ac_ext=cc
57149 ac_cpp='$CXXCPP $CPPFLAGS'
57150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57154 cat >conftest.$ac_ext <<_ACEOF
57155 /* confdefs.h. */
57156 _ACEOF
57157 cat confdefs.h >>conftest.$ac_ext
57158 cat >>conftest.$ac_ext <<_ACEOF
57159 /* end confdefs.h. */
57160 #include <math.h>
57162 main ()
57164 _modfl(0, 0);
57166 return 0;
57168 _ACEOF
57169 rm -f conftest.$ac_objext
57170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57171 (eval $ac_compile) 2>conftest.er1
57172 ac_status=$?
57173 grep -v '^ *+' conftest.er1 >conftest.err
57174 rm -f conftest.er1
57175 cat conftest.err >&5
57176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57177 (exit $ac_status); } &&
57178 { ac_try='test -z "$ac_cxx_werror_flag"
57179 || test ! -s conftest.err'
57180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57181 (eval $ac_try) 2>&5
57182 ac_status=$?
57183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57184 (exit $ac_status); }; } &&
57185 { ac_try='test -s conftest.$ac_objext'
57186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57187 (eval $ac_try) 2>&5
57188 ac_status=$?
57189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57190 (exit $ac_status); }; }; then
57191 glibcxx_cv_func__modfl_use=yes
57192 else
57193 echo "$as_me: failed program was:" >&5
57194 sed 's/^/| /' conftest.$ac_ext >&5
57196 glibcxx_cv_func__modfl_use=no
57198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57199 ac_ext=c
57200 ac_cpp='$CPP $CPPFLAGS'
57201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57209 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
57210 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
57212 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57214 for ac_func in _modfl
57216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57217 echo "$as_me:$LINENO: checking for $ac_func" >&5
57218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57219 if eval "test \"\${$as_ac_var+set}\" = set"; then
57220 echo $ECHO_N "(cached) $ECHO_C" >&6
57221 else
57222 if test x$gcc_no_link = xyes; then
57223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57225 { (exit 1); exit 1; }; }
57227 cat >conftest.$ac_ext <<_ACEOF
57228 /* confdefs.h. */
57229 _ACEOF
57230 cat confdefs.h >>conftest.$ac_ext
57231 cat >>conftest.$ac_ext <<_ACEOF
57232 /* end confdefs.h. */
57233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57235 #define $ac_func innocuous_$ac_func
57237 /* System header to define __stub macros and hopefully few prototypes,
57238 which can conflict with char $ac_func (); below.
57239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57240 <limits.h> exists even on freestanding compilers. */
57242 #ifdef __STDC__
57243 # include <limits.h>
57244 #else
57245 # include <assert.h>
57246 #endif
57248 #undef $ac_func
57250 /* Override any gcc2 internal prototype to avoid an error. */
57251 #ifdef __cplusplus
57252 extern "C"
57254 #endif
57255 /* We use char because int might match the return type of a gcc2
57256 builtin and then its argument prototype would still apply. */
57257 char $ac_func ();
57258 /* The GNU C library defines this for functions which it implements
57259 to always fail with ENOSYS. Some functions are actually named
57260 something starting with __ and the normal name is an alias. */
57261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57262 choke me
57263 #else
57264 char (*f) () = $ac_func;
57265 #endif
57266 #ifdef __cplusplus
57268 #endif
57271 main ()
57273 return f != $ac_func;
57275 return 0;
57277 _ACEOF
57278 rm -f conftest.$ac_objext conftest$ac_exeext
57279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57280 (eval $ac_link) 2>conftest.er1
57281 ac_status=$?
57282 grep -v '^ *+' conftest.er1 >conftest.err
57283 rm -f conftest.er1
57284 cat conftest.err >&5
57285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57286 (exit $ac_status); } &&
57287 { ac_try='test -z "$ac_c_werror_flag"
57288 || test ! -s conftest.err'
57289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57290 (eval $ac_try) 2>&5
57291 ac_status=$?
57292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57293 (exit $ac_status); }; } &&
57294 { ac_try='test -s conftest$ac_exeext'
57295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57296 (eval $ac_try) 2>&5
57297 ac_status=$?
57298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57299 (exit $ac_status); }; }; then
57300 eval "$as_ac_var=yes"
57301 else
57302 echo "$as_me: failed program was:" >&5
57303 sed 's/^/| /' conftest.$ac_ext >&5
57305 eval "$as_ac_var=no"
57307 rm -f conftest.err conftest.$ac_objext \
57308 conftest$ac_exeext conftest.$ac_ext
57310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57312 if test `eval echo '${'$as_ac_var'}'` = yes; then
57313 cat >>confdefs.h <<_ACEOF
57314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57315 _ACEOF
57318 done
57328 echo "$as_me:$LINENO: checking for powl declaration" >&5
57329 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
57330 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57331 if test "${glibcxx_cv_func_powl_use+set}" = set; then
57332 echo $ECHO_N "(cached) $ECHO_C" >&6
57333 else
57337 ac_ext=cc
57338 ac_cpp='$CXXCPP $CPPFLAGS'
57339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57343 cat >conftest.$ac_ext <<_ACEOF
57344 /* confdefs.h. */
57345 _ACEOF
57346 cat confdefs.h >>conftest.$ac_ext
57347 cat >>conftest.$ac_ext <<_ACEOF
57348 /* end confdefs.h. */
57349 #include <math.h>
57351 main ()
57353 powl(0, 0);
57355 return 0;
57357 _ACEOF
57358 rm -f conftest.$ac_objext
57359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57360 (eval $ac_compile) 2>conftest.er1
57361 ac_status=$?
57362 grep -v '^ *+' conftest.er1 >conftest.err
57363 rm -f conftest.er1
57364 cat conftest.err >&5
57365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57366 (exit $ac_status); } &&
57367 { ac_try='test -z "$ac_cxx_werror_flag"
57368 || test ! -s conftest.err'
57369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57370 (eval $ac_try) 2>&5
57371 ac_status=$?
57372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57373 (exit $ac_status); }; } &&
57374 { ac_try='test -s conftest.$ac_objext'
57375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57376 (eval $ac_try) 2>&5
57377 ac_status=$?
57378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57379 (exit $ac_status); }; }; then
57380 glibcxx_cv_func_powl_use=yes
57381 else
57382 echo "$as_me: failed program was:" >&5
57383 sed 's/^/| /' conftest.$ac_ext >&5
57385 glibcxx_cv_func_powl_use=no
57387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57388 ac_ext=c
57389 ac_cpp='$CPP $CPPFLAGS'
57390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57398 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
57399 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
57401 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57403 for ac_func in powl
57405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57406 echo "$as_me:$LINENO: checking for $ac_func" >&5
57407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57408 if eval "test \"\${$as_ac_var+set}\" = set"; then
57409 echo $ECHO_N "(cached) $ECHO_C" >&6
57410 else
57411 if test x$gcc_no_link = xyes; then
57412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57414 { (exit 1); exit 1; }; }
57416 cat >conftest.$ac_ext <<_ACEOF
57417 /* confdefs.h. */
57418 _ACEOF
57419 cat confdefs.h >>conftest.$ac_ext
57420 cat >>conftest.$ac_ext <<_ACEOF
57421 /* end confdefs.h. */
57422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57424 #define $ac_func innocuous_$ac_func
57426 /* System header to define __stub macros and hopefully few prototypes,
57427 which can conflict with char $ac_func (); below.
57428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57429 <limits.h> exists even on freestanding compilers. */
57431 #ifdef __STDC__
57432 # include <limits.h>
57433 #else
57434 # include <assert.h>
57435 #endif
57437 #undef $ac_func
57439 /* Override any gcc2 internal prototype to avoid an error. */
57440 #ifdef __cplusplus
57441 extern "C"
57443 #endif
57444 /* We use char because int might match the return type of a gcc2
57445 builtin and then its argument prototype would still apply. */
57446 char $ac_func ();
57447 /* The GNU C library defines this for functions which it implements
57448 to always fail with ENOSYS. Some functions are actually named
57449 something starting with __ and the normal name is an alias. */
57450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57451 choke me
57452 #else
57453 char (*f) () = $ac_func;
57454 #endif
57455 #ifdef __cplusplus
57457 #endif
57460 main ()
57462 return f != $ac_func;
57464 return 0;
57466 _ACEOF
57467 rm -f conftest.$ac_objext conftest$ac_exeext
57468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57469 (eval $ac_link) 2>conftest.er1
57470 ac_status=$?
57471 grep -v '^ *+' conftest.er1 >conftest.err
57472 rm -f conftest.er1
57473 cat conftest.err >&5
57474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57475 (exit $ac_status); } &&
57476 { ac_try='test -z "$ac_c_werror_flag"
57477 || test ! -s conftest.err'
57478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57479 (eval $ac_try) 2>&5
57480 ac_status=$?
57481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57482 (exit $ac_status); }; } &&
57483 { ac_try='test -s conftest$ac_exeext'
57484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57485 (eval $ac_try) 2>&5
57486 ac_status=$?
57487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57488 (exit $ac_status); }; }; then
57489 eval "$as_ac_var=yes"
57490 else
57491 echo "$as_me: failed program was:" >&5
57492 sed 's/^/| /' conftest.$ac_ext >&5
57494 eval "$as_ac_var=no"
57496 rm -f conftest.err conftest.$ac_objext \
57497 conftest$ac_exeext conftest.$ac_ext
57499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57501 if test `eval echo '${'$as_ac_var'}'` = yes; then
57502 cat >>confdefs.h <<_ACEOF
57503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57504 _ACEOF
57507 done
57509 else
57511 echo "$as_me:$LINENO: checking for _powl declaration" >&5
57512 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
57513 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57514 if test "${glibcxx_cv_func__powl_use+set}" = set; then
57515 echo $ECHO_N "(cached) $ECHO_C" >&6
57516 else
57520 ac_ext=cc
57521 ac_cpp='$CXXCPP $CPPFLAGS'
57522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57526 cat >conftest.$ac_ext <<_ACEOF
57527 /* confdefs.h. */
57528 _ACEOF
57529 cat confdefs.h >>conftest.$ac_ext
57530 cat >>conftest.$ac_ext <<_ACEOF
57531 /* end confdefs.h. */
57532 #include <math.h>
57534 main ()
57536 _powl(0, 0);
57538 return 0;
57540 _ACEOF
57541 rm -f conftest.$ac_objext
57542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57543 (eval $ac_compile) 2>conftest.er1
57544 ac_status=$?
57545 grep -v '^ *+' conftest.er1 >conftest.err
57546 rm -f conftest.er1
57547 cat conftest.err >&5
57548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57549 (exit $ac_status); } &&
57550 { ac_try='test -z "$ac_cxx_werror_flag"
57551 || test ! -s conftest.err'
57552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57553 (eval $ac_try) 2>&5
57554 ac_status=$?
57555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57556 (exit $ac_status); }; } &&
57557 { ac_try='test -s conftest.$ac_objext'
57558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57559 (eval $ac_try) 2>&5
57560 ac_status=$?
57561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57562 (exit $ac_status); }; }; then
57563 glibcxx_cv_func__powl_use=yes
57564 else
57565 echo "$as_me: failed program was:" >&5
57566 sed 's/^/| /' conftest.$ac_ext >&5
57568 glibcxx_cv_func__powl_use=no
57570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57571 ac_ext=c
57572 ac_cpp='$CPP $CPPFLAGS'
57573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57581 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
57582 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
57584 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57586 for ac_func in _powl
57588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57589 echo "$as_me:$LINENO: checking for $ac_func" >&5
57590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57591 if eval "test \"\${$as_ac_var+set}\" = set"; then
57592 echo $ECHO_N "(cached) $ECHO_C" >&6
57593 else
57594 if test x$gcc_no_link = xyes; then
57595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57597 { (exit 1); exit 1; }; }
57599 cat >conftest.$ac_ext <<_ACEOF
57600 /* confdefs.h. */
57601 _ACEOF
57602 cat confdefs.h >>conftest.$ac_ext
57603 cat >>conftest.$ac_ext <<_ACEOF
57604 /* end confdefs.h. */
57605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57607 #define $ac_func innocuous_$ac_func
57609 /* System header to define __stub macros and hopefully few prototypes,
57610 which can conflict with char $ac_func (); below.
57611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57612 <limits.h> exists even on freestanding compilers. */
57614 #ifdef __STDC__
57615 # include <limits.h>
57616 #else
57617 # include <assert.h>
57618 #endif
57620 #undef $ac_func
57622 /* Override any gcc2 internal prototype to avoid an error. */
57623 #ifdef __cplusplus
57624 extern "C"
57626 #endif
57627 /* We use char because int might match the return type of a gcc2
57628 builtin and then its argument prototype would still apply. */
57629 char $ac_func ();
57630 /* The GNU C library defines this for functions which it implements
57631 to always fail with ENOSYS. Some functions are actually named
57632 something starting with __ and the normal name is an alias. */
57633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57634 choke me
57635 #else
57636 char (*f) () = $ac_func;
57637 #endif
57638 #ifdef __cplusplus
57640 #endif
57643 main ()
57645 return f != $ac_func;
57647 return 0;
57649 _ACEOF
57650 rm -f conftest.$ac_objext conftest$ac_exeext
57651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57652 (eval $ac_link) 2>conftest.er1
57653 ac_status=$?
57654 grep -v '^ *+' conftest.er1 >conftest.err
57655 rm -f conftest.er1
57656 cat conftest.err >&5
57657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57658 (exit $ac_status); } &&
57659 { ac_try='test -z "$ac_c_werror_flag"
57660 || test ! -s conftest.err'
57661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57662 (eval $ac_try) 2>&5
57663 ac_status=$?
57664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57665 (exit $ac_status); }; } &&
57666 { ac_try='test -s conftest$ac_exeext'
57667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57668 (eval $ac_try) 2>&5
57669 ac_status=$?
57670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57671 (exit $ac_status); }; }; then
57672 eval "$as_ac_var=yes"
57673 else
57674 echo "$as_me: failed program was:" >&5
57675 sed 's/^/| /' conftest.$ac_ext >&5
57677 eval "$as_ac_var=no"
57679 rm -f conftest.err conftest.$ac_objext \
57680 conftest$ac_exeext conftest.$ac_ext
57682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57684 if test `eval echo '${'$as_ac_var'}'` = yes; then
57685 cat >>confdefs.h <<_ACEOF
57686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57687 _ACEOF
57690 done
57700 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
57701 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
57702 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57703 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
57704 echo $ECHO_N "(cached) $ECHO_C" >&6
57705 else
57709 ac_ext=cc
57710 ac_cpp='$CXXCPP $CPPFLAGS'
57711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57715 cat >conftest.$ac_ext <<_ACEOF
57716 /* confdefs.h. */
57717 _ACEOF
57718 cat confdefs.h >>conftest.$ac_ext
57719 cat >>conftest.$ac_ext <<_ACEOF
57720 /* end confdefs.h. */
57721 #include <math.h>
57722 #ifdef HAVE_IEEEFP_H
57723 #include <ieeefp.h>
57724 #endif
57727 main ()
57729 sqrtl(0);
57731 return 0;
57733 _ACEOF
57734 rm -f conftest.$ac_objext
57735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57736 (eval $ac_compile) 2>conftest.er1
57737 ac_status=$?
57738 grep -v '^ *+' conftest.er1 >conftest.err
57739 rm -f conftest.er1
57740 cat conftest.err >&5
57741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57742 (exit $ac_status); } &&
57743 { ac_try='test -z "$ac_cxx_werror_flag"
57744 || test ! -s conftest.err'
57745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57746 (eval $ac_try) 2>&5
57747 ac_status=$?
57748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57749 (exit $ac_status); }; } &&
57750 { ac_try='test -s conftest.$ac_objext'
57751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57752 (eval $ac_try) 2>&5
57753 ac_status=$?
57754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57755 (exit $ac_status); }; }; then
57756 glibcxx_cv_func_sqrtl_use=yes
57757 else
57758 echo "$as_me: failed program was:" >&5
57759 sed 's/^/| /' conftest.$ac_ext >&5
57761 glibcxx_cv_func_sqrtl_use=no
57763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57764 ac_ext=c
57765 ac_cpp='$CPP $CPPFLAGS'
57766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57774 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
57775 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
57777 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57779 for ac_func in sqrtl
57781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57782 echo "$as_me:$LINENO: checking for $ac_func" >&5
57783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57784 if eval "test \"\${$as_ac_var+set}\" = set"; then
57785 echo $ECHO_N "(cached) $ECHO_C" >&6
57786 else
57787 if test x$gcc_no_link = xyes; then
57788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57790 { (exit 1); exit 1; }; }
57792 cat >conftest.$ac_ext <<_ACEOF
57793 /* confdefs.h. */
57794 _ACEOF
57795 cat confdefs.h >>conftest.$ac_ext
57796 cat >>conftest.$ac_ext <<_ACEOF
57797 /* end confdefs.h. */
57798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57800 #define $ac_func innocuous_$ac_func
57802 /* System header to define __stub macros and hopefully few prototypes,
57803 which can conflict with char $ac_func (); below.
57804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57805 <limits.h> exists even on freestanding compilers. */
57807 #ifdef __STDC__
57808 # include <limits.h>
57809 #else
57810 # include <assert.h>
57811 #endif
57813 #undef $ac_func
57815 /* Override any gcc2 internal prototype to avoid an error. */
57816 #ifdef __cplusplus
57817 extern "C"
57819 #endif
57820 /* We use char because int might match the return type of a gcc2
57821 builtin and then its argument prototype would still apply. */
57822 char $ac_func ();
57823 /* The GNU C library defines this for functions which it implements
57824 to always fail with ENOSYS. Some functions are actually named
57825 something starting with __ and the normal name is an alias. */
57826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57827 choke me
57828 #else
57829 char (*f) () = $ac_func;
57830 #endif
57831 #ifdef __cplusplus
57833 #endif
57836 main ()
57838 return f != $ac_func;
57840 return 0;
57842 _ACEOF
57843 rm -f conftest.$ac_objext conftest$ac_exeext
57844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57845 (eval $ac_link) 2>conftest.er1
57846 ac_status=$?
57847 grep -v '^ *+' conftest.er1 >conftest.err
57848 rm -f conftest.er1
57849 cat conftest.err >&5
57850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57851 (exit $ac_status); } &&
57852 { ac_try='test -z "$ac_c_werror_flag"
57853 || test ! -s conftest.err'
57854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57855 (eval $ac_try) 2>&5
57856 ac_status=$?
57857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57858 (exit $ac_status); }; } &&
57859 { ac_try='test -s conftest$ac_exeext'
57860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57861 (eval $ac_try) 2>&5
57862 ac_status=$?
57863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57864 (exit $ac_status); }; }; then
57865 eval "$as_ac_var=yes"
57866 else
57867 echo "$as_me: failed program was:" >&5
57868 sed 's/^/| /' conftest.$ac_ext >&5
57870 eval "$as_ac_var=no"
57872 rm -f conftest.err conftest.$ac_objext \
57873 conftest$ac_exeext conftest.$ac_ext
57875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57877 if test `eval echo '${'$as_ac_var'}'` = yes; then
57878 cat >>confdefs.h <<_ACEOF
57879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57880 _ACEOF
57883 done
57885 else
57887 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
57888 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
57889 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57890 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
57891 echo $ECHO_N "(cached) $ECHO_C" >&6
57892 else
57896 ac_ext=cc
57897 ac_cpp='$CXXCPP $CPPFLAGS'
57898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57902 cat >conftest.$ac_ext <<_ACEOF
57903 /* confdefs.h. */
57904 _ACEOF
57905 cat confdefs.h >>conftest.$ac_ext
57906 cat >>conftest.$ac_ext <<_ACEOF
57907 /* end confdefs.h. */
57908 #include <math.h>
57909 #ifdef HAVE_IEEEFP_H
57910 #include <ieeefp.h>
57911 #endif
57914 main ()
57916 _sqrtl(0);
57918 return 0;
57920 _ACEOF
57921 rm -f conftest.$ac_objext
57922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57923 (eval $ac_compile) 2>conftest.er1
57924 ac_status=$?
57925 grep -v '^ *+' conftest.er1 >conftest.err
57926 rm -f conftest.er1
57927 cat conftest.err >&5
57928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57929 (exit $ac_status); } &&
57930 { ac_try='test -z "$ac_cxx_werror_flag"
57931 || test ! -s conftest.err'
57932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57933 (eval $ac_try) 2>&5
57934 ac_status=$?
57935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57936 (exit $ac_status); }; } &&
57937 { ac_try='test -s conftest.$ac_objext'
57938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57939 (eval $ac_try) 2>&5
57940 ac_status=$?
57941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57942 (exit $ac_status); }; }; then
57943 glibcxx_cv_func__sqrtl_use=yes
57944 else
57945 echo "$as_me: failed program was:" >&5
57946 sed 's/^/| /' conftest.$ac_ext >&5
57948 glibcxx_cv_func__sqrtl_use=no
57950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57951 ac_ext=c
57952 ac_cpp='$CPP $CPPFLAGS'
57953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57961 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
57962 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
57964 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57966 for ac_func in _sqrtl
57968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57969 echo "$as_me:$LINENO: checking for $ac_func" >&5
57970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57971 if eval "test \"\${$as_ac_var+set}\" = set"; then
57972 echo $ECHO_N "(cached) $ECHO_C" >&6
57973 else
57974 if test x$gcc_no_link = xyes; then
57975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57977 { (exit 1); exit 1; }; }
57979 cat >conftest.$ac_ext <<_ACEOF
57980 /* confdefs.h. */
57981 _ACEOF
57982 cat confdefs.h >>conftest.$ac_ext
57983 cat >>conftest.$ac_ext <<_ACEOF
57984 /* end confdefs.h. */
57985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57987 #define $ac_func innocuous_$ac_func
57989 /* System header to define __stub macros and hopefully few prototypes,
57990 which can conflict with char $ac_func (); below.
57991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57992 <limits.h> exists even on freestanding compilers. */
57994 #ifdef __STDC__
57995 # include <limits.h>
57996 #else
57997 # include <assert.h>
57998 #endif
58000 #undef $ac_func
58002 /* Override any gcc2 internal prototype to avoid an error. */
58003 #ifdef __cplusplus
58004 extern "C"
58006 #endif
58007 /* We use char because int might match the return type of a gcc2
58008 builtin and then its argument prototype would still apply. */
58009 char $ac_func ();
58010 /* The GNU C library defines this for functions which it implements
58011 to always fail with ENOSYS. Some functions are actually named
58012 something starting with __ and the normal name is an alias. */
58013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58014 choke me
58015 #else
58016 char (*f) () = $ac_func;
58017 #endif
58018 #ifdef __cplusplus
58020 #endif
58023 main ()
58025 return f != $ac_func;
58027 return 0;
58029 _ACEOF
58030 rm -f conftest.$ac_objext conftest$ac_exeext
58031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58032 (eval $ac_link) 2>conftest.er1
58033 ac_status=$?
58034 grep -v '^ *+' conftest.er1 >conftest.err
58035 rm -f conftest.er1
58036 cat conftest.err >&5
58037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58038 (exit $ac_status); } &&
58039 { ac_try='test -z "$ac_c_werror_flag"
58040 || test ! -s conftest.err'
58041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58042 (eval $ac_try) 2>&5
58043 ac_status=$?
58044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58045 (exit $ac_status); }; } &&
58046 { ac_try='test -s conftest$ac_exeext'
58047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58048 (eval $ac_try) 2>&5
58049 ac_status=$?
58050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58051 (exit $ac_status); }; }; then
58052 eval "$as_ac_var=yes"
58053 else
58054 echo "$as_me: failed program was:" >&5
58055 sed 's/^/| /' conftest.$ac_ext >&5
58057 eval "$as_ac_var=no"
58059 rm -f conftest.err conftest.$ac_objext \
58060 conftest$ac_exeext conftest.$ac_ext
58062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58064 if test `eval echo '${'$as_ac_var'}'` = yes; then
58065 cat >>confdefs.h <<_ACEOF
58066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58067 _ACEOF
58070 done
58080 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
58081 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
58082 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58083 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
58084 echo $ECHO_N "(cached) $ECHO_C" >&6
58085 else
58089 ac_ext=cc
58090 ac_cpp='$CXXCPP $CPPFLAGS'
58091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58095 cat >conftest.$ac_ext <<_ACEOF
58096 /* confdefs.h. */
58097 _ACEOF
58098 cat confdefs.h >>conftest.$ac_ext
58099 cat >>conftest.$ac_ext <<_ACEOF
58100 /* end confdefs.h. */
58101 #include <math.h>
58103 main ()
58105 sincosl(0, 0, 0);
58107 return 0;
58109 _ACEOF
58110 rm -f conftest.$ac_objext
58111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58112 (eval $ac_compile) 2>conftest.er1
58113 ac_status=$?
58114 grep -v '^ *+' conftest.er1 >conftest.err
58115 rm -f conftest.er1
58116 cat conftest.err >&5
58117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58118 (exit $ac_status); } &&
58119 { ac_try='test -z "$ac_cxx_werror_flag"
58120 || test ! -s conftest.err'
58121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58122 (eval $ac_try) 2>&5
58123 ac_status=$?
58124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58125 (exit $ac_status); }; } &&
58126 { ac_try='test -s conftest.$ac_objext'
58127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58128 (eval $ac_try) 2>&5
58129 ac_status=$?
58130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58131 (exit $ac_status); }; }; then
58132 glibcxx_cv_func_sincosl_use=yes
58133 else
58134 echo "$as_me: failed program was:" >&5
58135 sed 's/^/| /' conftest.$ac_ext >&5
58137 glibcxx_cv_func_sincosl_use=no
58139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58140 ac_ext=c
58141 ac_cpp='$CPP $CPPFLAGS'
58142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58150 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
58151 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
58153 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58155 for ac_func in sincosl
58157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58158 echo "$as_me:$LINENO: checking for $ac_func" >&5
58159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58160 if eval "test \"\${$as_ac_var+set}\" = set"; then
58161 echo $ECHO_N "(cached) $ECHO_C" >&6
58162 else
58163 if test x$gcc_no_link = xyes; then
58164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58166 { (exit 1); exit 1; }; }
58168 cat >conftest.$ac_ext <<_ACEOF
58169 /* confdefs.h. */
58170 _ACEOF
58171 cat confdefs.h >>conftest.$ac_ext
58172 cat >>conftest.$ac_ext <<_ACEOF
58173 /* end confdefs.h. */
58174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58176 #define $ac_func innocuous_$ac_func
58178 /* System header to define __stub macros and hopefully few prototypes,
58179 which can conflict with char $ac_func (); below.
58180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58181 <limits.h> exists even on freestanding compilers. */
58183 #ifdef __STDC__
58184 # include <limits.h>
58185 #else
58186 # include <assert.h>
58187 #endif
58189 #undef $ac_func
58191 /* Override any gcc2 internal prototype to avoid an error. */
58192 #ifdef __cplusplus
58193 extern "C"
58195 #endif
58196 /* We use char because int might match the return type of a gcc2
58197 builtin and then its argument prototype would still apply. */
58198 char $ac_func ();
58199 /* The GNU C library defines this for functions which it implements
58200 to always fail with ENOSYS. Some functions are actually named
58201 something starting with __ and the normal name is an alias. */
58202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58203 choke me
58204 #else
58205 char (*f) () = $ac_func;
58206 #endif
58207 #ifdef __cplusplus
58209 #endif
58212 main ()
58214 return f != $ac_func;
58216 return 0;
58218 _ACEOF
58219 rm -f conftest.$ac_objext conftest$ac_exeext
58220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58221 (eval $ac_link) 2>conftest.er1
58222 ac_status=$?
58223 grep -v '^ *+' conftest.er1 >conftest.err
58224 rm -f conftest.er1
58225 cat conftest.err >&5
58226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58227 (exit $ac_status); } &&
58228 { ac_try='test -z "$ac_c_werror_flag"
58229 || test ! -s conftest.err'
58230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58231 (eval $ac_try) 2>&5
58232 ac_status=$?
58233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58234 (exit $ac_status); }; } &&
58235 { ac_try='test -s conftest$ac_exeext'
58236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58237 (eval $ac_try) 2>&5
58238 ac_status=$?
58239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58240 (exit $ac_status); }; }; then
58241 eval "$as_ac_var=yes"
58242 else
58243 echo "$as_me: failed program was:" >&5
58244 sed 's/^/| /' conftest.$ac_ext >&5
58246 eval "$as_ac_var=no"
58248 rm -f conftest.err conftest.$ac_objext \
58249 conftest$ac_exeext conftest.$ac_ext
58251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58253 if test `eval echo '${'$as_ac_var'}'` = yes; then
58254 cat >>confdefs.h <<_ACEOF
58255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58256 _ACEOF
58259 done
58261 else
58263 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
58264 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
58265 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58266 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
58267 echo $ECHO_N "(cached) $ECHO_C" >&6
58268 else
58272 ac_ext=cc
58273 ac_cpp='$CXXCPP $CPPFLAGS'
58274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58278 cat >conftest.$ac_ext <<_ACEOF
58279 /* confdefs.h. */
58280 _ACEOF
58281 cat confdefs.h >>conftest.$ac_ext
58282 cat >>conftest.$ac_ext <<_ACEOF
58283 /* end confdefs.h. */
58284 #include <math.h>
58286 main ()
58288 _sincosl(0, 0, 0);
58290 return 0;
58292 _ACEOF
58293 rm -f conftest.$ac_objext
58294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58295 (eval $ac_compile) 2>conftest.er1
58296 ac_status=$?
58297 grep -v '^ *+' conftest.er1 >conftest.err
58298 rm -f conftest.er1
58299 cat conftest.err >&5
58300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58301 (exit $ac_status); } &&
58302 { ac_try='test -z "$ac_cxx_werror_flag"
58303 || test ! -s conftest.err'
58304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58305 (eval $ac_try) 2>&5
58306 ac_status=$?
58307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58308 (exit $ac_status); }; } &&
58309 { ac_try='test -s conftest.$ac_objext'
58310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58311 (eval $ac_try) 2>&5
58312 ac_status=$?
58313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58314 (exit $ac_status); }; }; then
58315 glibcxx_cv_func__sincosl_use=yes
58316 else
58317 echo "$as_me: failed program was:" >&5
58318 sed 's/^/| /' conftest.$ac_ext >&5
58320 glibcxx_cv_func__sincosl_use=no
58322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58323 ac_ext=c
58324 ac_cpp='$CPP $CPPFLAGS'
58325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58333 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
58334 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
58336 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58338 for ac_func in _sincosl
58340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58341 echo "$as_me:$LINENO: checking for $ac_func" >&5
58342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58343 if eval "test \"\${$as_ac_var+set}\" = set"; then
58344 echo $ECHO_N "(cached) $ECHO_C" >&6
58345 else
58346 if test x$gcc_no_link = xyes; then
58347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58349 { (exit 1); exit 1; }; }
58351 cat >conftest.$ac_ext <<_ACEOF
58352 /* confdefs.h. */
58353 _ACEOF
58354 cat confdefs.h >>conftest.$ac_ext
58355 cat >>conftest.$ac_ext <<_ACEOF
58356 /* end confdefs.h. */
58357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58359 #define $ac_func innocuous_$ac_func
58361 /* System header to define __stub macros and hopefully few prototypes,
58362 which can conflict with char $ac_func (); below.
58363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58364 <limits.h> exists even on freestanding compilers. */
58366 #ifdef __STDC__
58367 # include <limits.h>
58368 #else
58369 # include <assert.h>
58370 #endif
58372 #undef $ac_func
58374 /* Override any gcc2 internal prototype to avoid an error. */
58375 #ifdef __cplusplus
58376 extern "C"
58378 #endif
58379 /* We use char because int might match the return type of a gcc2
58380 builtin and then its argument prototype would still apply. */
58381 char $ac_func ();
58382 /* The GNU C library defines this for functions which it implements
58383 to always fail with ENOSYS. Some functions are actually named
58384 something starting with __ and the normal name is an alias. */
58385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58386 choke me
58387 #else
58388 char (*f) () = $ac_func;
58389 #endif
58390 #ifdef __cplusplus
58392 #endif
58395 main ()
58397 return f != $ac_func;
58399 return 0;
58401 _ACEOF
58402 rm -f conftest.$ac_objext conftest$ac_exeext
58403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58404 (eval $ac_link) 2>conftest.er1
58405 ac_status=$?
58406 grep -v '^ *+' conftest.er1 >conftest.err
58407 rm -f conftest.er1
58408 cat conftest.err >&5
58409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58410 (exit $ac_status); } &&
58411 { ac_try='test -z "$ac_c_werror_flag"
58412 || test ! -s conftest.err'
58413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58414 (eval $ac_try) 2>&5
58415 ac_status=$?
58416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58417 (exit $ac_status); }; } &&
58418 { ac_try='test -s conftest$ac_exeext'
58419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58420 (eval $ac_try) 2>&5
58421 ac_status=$?
58422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58423 (exit $ac_status); }; }; then
58424 eval "$as_ac_var=yes"
58425 else
58426 echo "$as_me: failed program was:" >&5
58427 sed 's/^/| /' conftest.$ac_ext >&5
58429 eval "$as_ac_var=no"
58431 rm -f conftest.err conftest.$ac_objext \
58432 conftest$ac_exeext conftest.$ac_ext
58434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58436 if test `eval echo '${'$as_ac_var'}'` = yes; then
58437 cat >>confdefs.h <<_ACEOF
58438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58439 _ACEOF
58442 done
58452 echo "$as_me:$LINENO: checking for finitel declaration" >&5
58453 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
58454 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58455 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
58456 echo $ECHO_N "(cached) $ECHO_C" >&6
58457 else
58461 ac_ext=cc
58462 ac_cpp='$CXXCPP $CPPFLAGS'
58463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58467 cat >conftest.$ac_ext <<_ACEOF
58468 /* confdefs.h. */
58469 _ACEOF
58470 cat confdefs.h >>conftest.$ac_ext
58471 cat >>conftest.$ac_ext <<_ACEOF
58472 /* end confdefs.h. */
58473 #include <math.h>
58474 #ifdef HAVE_IEEEFP_H
58475 #include <ieeefp.h>
58476 #endif
58479 main ()
58481 finitel(0);
58483 return 0;
58485 _ACEOF
58486 rm -f conftest.$ac_objext
58487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58488 (eval $ac_compile) 2>conftest.er1
58489 ac_status=$?
58490 grep -v '^ *+' conftest.er1 >conftest.err
58491 rm -f conftest.er1
58492 cat conftest.err >&5
58493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58494 (exit $ac_status); } &&
58495 { ac_try='test -z "$ac_cxx_werror_flag"
58496 || test ! -s conftest.err'
58497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58498 (eval $ac_try) 2>&5
58499 ac_status=$?
58500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58501 (exit $ac_status); }; } &&
58502 { ac_try='test -s conftest.$ac_objext'
58503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58504 (eval $ac_try) 2>&5
58505 ac_status=$?
58506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58507 (exit $ac_status); }; }; then
58508 glibcxx_cv_func_finitel_use=yes
58509 else
58510 echo "$as_me: failed program was:" >&5
58511 sed 's/^/| /' conftest.$ac_ext >&5
58513 glibcxx_cv_func_finitel_use=no
58515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58516 ac_ext=c
58517 ac_cpp='$CPP $CPPFLAGS'
58518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58526 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
58527 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
58529 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58531 for ac_func in finitel
58533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58534 echo "$as_me:$LINENO: checking for $ac_func" >&5
58535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58536 if eval "test \"\${$as_ac_var+set}\" = set"; then
58537 echo $ECHO_N "(cached) $ECHO_C" >&6
58538 else
58539 if test x$gcc_no_link = xyes; then
58540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58542 { (exit 1); exit 1; }; }
58544 cat >conftest.$ac_ext <<_ACEOF
58545 /* confdefs.h. */
58546 _ACEOF
58547 cat confdefs.h >>conftest.$ac_ext
58548 cat >>conftest.$ac_ext <<_ACEOF
58549 /* end confdefs.h. */
58550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58552 #define $ac_func innocuous_$ac_func
58554 /* System header to define __stub macros and hopefully few prototypes,
58555 which can conflict with char $ac_func (); below.
58556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58557 <limits.h> exists even on freestanding compilers. */
58559 #ifdef __STDC__
58560 # include <limits.h>
58561 #else
58562 # include <assert.h>
58563 #endif
58565 #undef $ac_func
58567 /* Override any gcc2 internal prototype to avoid an error. */
58568 #ifdef __cplusplus
58569 extern "C"
58571 #endif
58572 /* We use char because int might match the return type of a gcc2
58573 builtin and then its argument prototype would still apply. */
58574 char $ac_func ();
58575 /* The GNU C library defines this for functions which it implements
58576 to always fail with ENOSYS. Some functions are actually named
58577 something starting with __ and the normal name is an alias. */
58578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58579 choke me
58580 #else
58581 char (*f) () = $ac_func;
58582 #endif
58583 #ifdef __cplusplus
58585 #endif
58588 main ()
58590 return f != $ac_func;
58592 return 0;
58594 _ACEOF
58595 rm -f conftest.$ac_objext conftest$ac_exeext
58596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58597 (eval $ac_link) 2>conftest.er1
58598 ac_status=$?
58599 grep -v '^ *+' conftest.er1 >conftest.err
58600 rm -f conftest.er1
58601 cat conftest.err >&5
58602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58603 (exit $ac_status); } &&
58604 { ac_try='test -z "$ac_c_werror_flag"
58605 || test ! -s conftest.err'
58606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58607 (eval $ac_try) 2>&5
58608 ac_status=$?
58609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58610 (exit $ac_status); }; } &&
58611 { ac_try='test -s conftest$ac_exeext'
58612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58613 (eval $ac_try) 2>&5
58614 ac_status=$?
58615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58616 (exit $ac_status); }; }; then
58617 eval "$as_ac_var=yes"
58618 else
58619 echo "$as_me: failed program was:" >&5
58620 sed 's/^/| /' conftest.$ac_ext >&5
58622 eval "$as_ac_var=no"
58624 rm -f conftest.err conftest.$ac_objext \
58625 conftest$ac_exeext conftest.$ac_ext
58627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58629 if test `eval echo '${'$as_ac_var'}'` = yes; then
58630 cat >>confdefs.h <<_ACEOF
58631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58632 _ACEOF
58635 done
58637 else
58639 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
58640 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
58641 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58642 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
58643 echo $ECHO_N "(cached) $ECHO_C" >&6
58644 else
58648 ac_ext=cc
58649 ac_cpp='$CXXCPP $CPPFLAGS'
58650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58654 cat >conftest.$ac_ext <<_ACEOF
58655 /* confdefs.h. */
58656 _ACEOF
58657 cat confdefs.h >>conftest.$ac_ext
58658 cat >>conftest.$ac_ext <<_ACEOF
58659 /* end confdefs.h. */
58660 #include <math.h>
58661 #ifdef HAVE_IEEEFP_H
58662 #include <ieeefp.h>
58663 #endif
58666 main ()
58668 _finitel(0);
58670 return 0;
58672 _ACEOF
58673 rm -f conftest.$ac_objext
58674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58675 (eval $ac_compile) 2>conftest.er1
58676 ac_status=$?
58677 grep -v '^ *+' conftest.er1 >conftest.err
58678 rm -f conftest.er1
58679 cat conftest.err >&5
58680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58681 (exit $ac_status); } &&
58682 { ac_try='test -z "$ac_cxx_werror_flag"
58683 || test ! -s conftest.err'
58684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58685 (eval $ac_try) 2>&5
58686 ac_status=$?
58687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58688 (exit $ac_status); }; } &&
58689 { ac_try='test -s conftest.$ac_objext'
58690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58691 (eval $ac_try) 2>&5
58692 ac_status=$?
58693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58694 (exit $ac_status); }; }; then
58695 glibcxx_cv_func__finitel_use=yes
58696 else
58697 echo "$as_me: failed program was:" >&5
58698 sed 's/^/| /' conftest.$ac_ext >&5
58700 glibcxx_cv_func__finitel_use=no
58702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58703 ac_ext=c
58704 ac_cpp='$CPP $CPPFLAGS'
58705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58713 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
58714 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
58716 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58718 for ac_func in _finitel
58720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58721 echo "$as_me:$LINENO: checking for $ac_func" >&5
58722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58723 if eval "test \"\${$as_ac_var+set}\" = set"; then
58724 echo $ECHO_N "(cached) $ECHO_C" >&6
58725 else
58726 if test x$gcc_no_link = xyes; then
58727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58729 { (exit 1); exit 1; }; }
58731 cat >conftest.$ac_ext <<_ACEOF
58732 /* confdefs.h. */
58733 _ACEOF
58734 cat confdefs.h >>conftest.$ac_ext
58735 cat >>conftest.$ac_ext <<_ACEOF
58736 /* end confdefs.h. */
58737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58739 #define $ac_func innocuous_$ac_func
58741 /* System header to define __stub macros and hopefully few prototypes,
58742 which can conflict with char $ac_func (); below.
58743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58744 <limits.h> exists even on freestanding compilers. */
58746 #ifdef __STDC__
58747 # include <limits.h>
58748 #else
58749 # include <assert.h>
58750 #endif
58752 #undef $ac_func
58754 /* Override any gcc2 internal prototype to avoid an error. */
58755 #ifdef __cplusplus
58756 extern "C"
58758 #endif
58759 /* We use char because int might match the return type of a gcc2
58760 builtin and then its argument prototype would still apply. */
58761 char $ac_func ();
58762 /* The GNU C library defines this for functions which it implements
58763 to always fail with ENOSYS. Some functions are actually named
58764 something starting with __ and the normal name is an alias. */
58765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58766 choke me
58767 #else
58768 char (*f) () = $ac_func;
58769 #endif
58770 #ifdef __cplusplus
58772 #endif
58775 main ()
58777 return f != $ac_func;
58779 return 0;
58781 _ACEOF
58782 rm -f conftest.$ac_objext conftest$ac_exeext
58783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58784 (eval $ac_link) 2>conftest.er1
58785 ac_status=$?
58786 grep -v '^ *+' conftest.er1 >conftest.err
58787 rm -f conftest.er1
58788 cat conftest.err >&5
58789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58790 (exit $ac_status); } &&
58791 { ac_try='test -z "$ac_c_werror_flag"
58792 || test ! -s conftest.err'
58793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58794 (eval $ac_try) 2>&5
58795 ac_status=$?
58796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58797 (exit $ac_status); }; } &&
58798 { ac_try='test -s conftest$ac_exeext'
58799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58800 (eval $ac_try) 2>&5
58801 ac_status=$?
58802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58803 (exit $ac_status); }; }; then
58804 eval "$as_ac_var=yes"
58805 else
58806 echo "$as_me: failed program was:" >&5
58807 sed 's/^/| /' conftest.$ac_ext >&5
58809 eval "$as_ac_var=no"
58811 rm -f conftest.err conftest.$ac_objext \
58812 conftest$ac_exeext conftest.$ac_ext
58814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58816 if test `eval echo '${'$as_ac_var'}'` = yes; then
58817 cat >>confdefs.h <<_ACEOF
58818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58819 _ACEOF
58822 done
58831 LIBS="$ac_save_LIBS"
58832 CXXFLAGS="$ac_save_CXXFLAGS"
58835 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58836 ac_save_CXXFLAGS="$CXXFLAGS"
58837 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58840 echo "$as_me:$LINENO: checking for strtold declaration" >&5
58841 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
58842 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58843 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
58844 echo $ECHO_N "(cached) $ECHO_C" >&6
58845 else
58849 ac_ext=cc
58850 ac_cpp='$CXXCPP $CPPFLAGS'
58851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58855 cat >conftest.$ac_ext <<_ACEOF
58856 /* confdefs.h. */
58857 _ACEOF
58858 cat confdefs.h >>conftest.$ac_ext
58859 cat >>conftest.$ac_ext <<_ACEOF
58860 /* end confdefs.h. */
58861 #include <stdlib.h>
58863 main ()
58865 strtold(0, 0);
58867 return 0;
58869 _ACEOF
58870 rm -f conftest.$ac_objext
58871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58872 (eval $ac_compile) 2>conftest.er1
58873 ac_status=$?
58874 grep -v '^ *+' conftest.er1 >conftest.err
58875 rm -f conftest.er1
58876 cat conftest.err >&5
58877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58878 (exit $ac_status); } &&
58879 { ac_try='test -z "$ac_cxx_werror_flag"
58880 || test ! -s conftest.err'
58881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58882 (eval $ac_try) 2>&5
58883 ac_status=$?
58884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58885 (exit $ac_status); }; } &&
58886 { ac_try='test -s conftest.$ac_objext'
58887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58888 (eval $ac_try) 2>&5
58889 ac_status=$?
58890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58891 (exit $ac_status); }; }; then
58892 glibcxx_cv_func_strtold_use=yes
58893 else
58894 echo "$as_me: failed program was:" >&5
58895 sed 's/^/| /' conftest.$ac_ext >&5
58897 glibcxx_cv_func_strtold_use=no
58899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58900 ac_ext=c
58901 ac_cpp='$CPP $CPPFLAGS'
58902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58910 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
58911 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
58912 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58914 for ac_func in strtold
58916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58917 echo "$as_me:$LINENO: checking for $ac_func" >&5
58918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58919 if eval "test \"\${$as_ac_var+set}\" = set"; then
58920 echo $ECHO_N "(cached) $ECHO_C" >&6
58921 else
58922 if test x$gcc_no_link = xyes; then
58923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58925 { (exit 1); exit 1; }; }
58927 cat >conftest.$ac_ext <<_ACEOF
58928 /* confdefs.h. */
58929 _ACEOF
58930 cat confdefs.h >>conftest.$ac_ext
58931 cat >>conftest.$ac_ext <<_ACEOF
58932 /* end confdefs.h. */
58933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58935 #define $ac_func innocuous_$ac_func
58937 /* System header to define __stub macros and hopefully few prototypes,
58938 which can conflict with char $ac_func (); below.
58939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58940 <limits.h> exists even on freestanding compilers. */
58942 #ifdef __STDC__
58943 # include <limits.h>
58944 #else
58945 # include <assert.h>
58946 #endif
58948 #undef $ac_func
58950 /* Override any gcc2 internal prototype to avoid an error. */
58951 #ifdef __cplusplus
58952 extern "C"
58954 #endif
58955 /* We use char because int might match the return type of a gcc2
58956 builtin and then its argument prototype would still apply. */
58957 char $ac_func ();
58958 /* The GNU C library defines this for functions which it implements
58959 to always fail with ENOSYS. Some functions are actually named
58960 something starting with __ and the normal name is an alias. */
58961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58962 choke me
58963 #else
58964 char (*f) () = $ac_func;
58965 #endif
58966 #ifdef __cplusplus
58968 #endif
58971 main ()
58973 return f != $ac_func;
58975 return 0;
58977 _ACEOF
58978 rm -f conftest.$ac_objext conftest$ac_exeext
58979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58980 (eval $ac_link) 2>conftest.er1
58981 ac_status=$?
58982 grep -v '^ *+' conftest.er1 >conftest.err
58983 rm -f conftest.er1
58984 cat conftest.err >&5
58985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58986 (exit $ac_status); } &&
58987 { ac_try='test -z "$ac_c_werror_flag"
58988 || test ! -s conftest.err'
58989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58990 (eval $ac_try) 2>&5
58991 ac_status=$?
58992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58993 (exit $ac_status); }; } &&
58994 { ac_try='test -s conftest$ac_exeext'
58995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58996 (eval $ac_try) 2>&5
58997 ac_status=$?
58998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58999 (exit $ac_status); }; }; then
59000 eval "$as_ac_var=yes"
59001 else
59002 echo "$as_me: failed program was:" >&5
59003 sed 's/^/| /' conftest.$ac_ext >&5
59005 eval "$as_ac_var=no"
59007 rm -f conftest.err conftest.$ac_objext \
59008 conftest$ac_exeext conftest.$ac_ext
59010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59012 if test `eval echo '${'$as_ac_var'}'` = yes; then
59013 cat >>confdefs.h <<_ACEOF
59014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59015 _ACEOF
59018 done
59026 echo "$as_me:$LINENO: checking for strtof declaration" >&5
59027 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
59028 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59029 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
59030 echo $ECHO_N "(cached) $ECHO_C" >&6
59031 else
59035 ac_ext=cc
59036 ac_cpp='$CXXCPP $CPPFLAGS'
59037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59041 cat >conftest.$ac_ext <<_ACEOF
59042 /* confdefs.h. */
59043 _ACEOF
59044 cat confdefs.h >>conftest.$ac_ext
59045 cat >>conftest.$ac_ext <<_ACEOF
59046 /* end confdefs.h. */
59047 #include <stdlib.h>
59049 main ()
59051 strtof(0, 0);
59053 return 0;
59055 _ACEOF
59056 rm -f conftest.$ac_objext
59057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59058 (eval $ac_compile) 2>conftest.er1
59059 ac_status=$?
59060 grep -v '^ *+' conftest.er1 >conftest.err
59061 rm -f conftest.er1
59062 cat conftest.err >&5
59063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59064 (exit $ac_status); } &&
59065 { ac_try='test -z "$ac_cxx_werror_flag"
59066 || test ! -s conftest.err'
59067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59068 (eval $ac_try) 2>&5
59069 ac_status=$?
59070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59071 (exit $ac_status); }; } &&
59072 { ac_try='test -s conftest.$ac_objext'
59073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59074 (eval $ac_try) 2>&5
59075 ac_status=$?
59076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59077 (exit $ac_status); }; }; then
59078 glibcxx_cv_func_strtof_use=yes
59079 else
59080 echo "$as_me: failed program was:" >&5
59081 sed 's/^/| /' conftest.$ac_ext >&5
59083 glibcxx_cv_func_strtof_use=no
59085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59086 ac_ext=c
59087 ac_cpp='$CPP $CPPFLAGS'
59088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59096 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
59097 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
59098 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59100 for ac_func in strtof
59102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59103 echo "$as_me:$LINENO: checking for $ac_func" >&5
59104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59105 if eval "test \"\${$as_ac_var+set}\" = set"; then
59106 echo $ECHO_N "(cached) $ECHO_C" >&6
59107 else
59108 if test x$gcc_no_link = xyes; then
59109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59111 { (exit 1); exit 1; }; }
59113 cat >conftest.$ac_ext <<_ACEOF
59114 /* confdefs.h. */
59115 _ACEOF
59116 cat confdefs.h >>conftest.$ac_ext
59117 cat >>conftest.$ac_ext <<_ACEOF
59118 /* end confdefs.h. */
59119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59121 #define $ac_func innocuous_$ac_func
59123 /* System header to define __stub macros and hopefully few prototypes,
59124 which can conflict with char $ac_func (); below.
59125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59126 <limits.h> exists even on freestanding compilers. */
59128 #ifdef __STDC__
59129 # include <limits.h>
59130 #else
59131 # include <assert.h>
59132 #endif
59134 #undef $ac_func
59136 /* Override any gcc2 internal prototype to avoid an error. */
59137 #ifdef __cplusplus
59138 extern "C"
59140 #endif
59141 /* We use char because int might match the return type of a gcc2
59142 builtin and then its argument prototype would still apply. */
59143 char $ac_func ();
59144 /* The GNU C library defines this for functions which it implements
59145 to always fail with ENOSYS. Some functions are actually named
59146 something starting with __ and the normal name is an alias. */
59147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59148 choke me
59149 #else
59150 char (*f) () = $ac_func;
59151 #endif
59152 #ifdef __cplusplus
59154 #endif
59157 main ()
59159 return f != $ac_func;
59161 return 0;
59163 _ACEOF
59164 rm -f conftest.$ac_objext conftest$ac_exeext
59165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59166 (eval $ac_link) 2>conftest.er1
59167 ac_status=$?
59168 grep -v '^ *+' conftest.er1 >conftest.err
59169 rm -f conftest.er1
59170 cat conftest.err >&5
59171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59172 (exit $ac_status); } &&
59173 { ac_try='test -z "$ac_c_werror_flag"
59174 || test ! -s conftest.err'
59175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59176 (eval $ac_try) 2>&5
59177 ac_status=$?
59178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59179 (exit $ac_status); }; } &&
59180 { ac_try='test -s conftest$ac_exeext'
59181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59182 (eval $ac_try) 2>&5
59183 ac_status=$?
59184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59185 (exit $ac_status); }; }; then
59186 eval "$as_ac_var=yes"
59187 else
59188 echo "$as_me: failed program was:" >&5
59189 sed 's/^/| /' conftest.$ac_ext >&5
59191 eval "$as_ac_var=no"
59193 rm -f conftest.err conftest.$ac_objext \
59194 conftest$ac_exeext conftest.$ac_ext
59196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59198 if test `eval echo '${'$as_ac_var'}'` = yes; then
59199 cat >>confdefs.h <<_ACEOF
59200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59201 _ACEOF
59204 done
59212 CXXFLAGS="$ac_save_CXXFLAGS"
59215 cat >>confdefs.h <<\_ACEOF
59216 #define HAVE_FINITE 1
59217 _ACEOF
59219 cat >>confdefs.h <<\_ACEOF
59220 #define HAVE_HYPOT 1
59221 _ACEOF
59223 cat >>confdefs.h <<\_ACEOF
59224 #define HAVE_ISNAN 1
59225 _ACEOF
59227 cat >>confdefs.h <<\_ACEOF
59228 #define HAVE_ISINF 1
59229 _ACEOF
59232 cat >>confdefs.h <<\_ACEOF
59233 #define HAVE_LDEXPF 1
59234 _ACEOF
59236 cat >>confdefs.h <<\_ACEOF
59237 #define HAVE_MODF 1
59238 _ACEOF
59240 cat >>confdefs.h <<\_ACEOF
59241 #define HAVE_SQRTF 1
59242 _ACEOF
59246 *-aix*)
59248 # If we're not using GNU ld, then there's no point in even trying these
59249 # tests. Check for that first. We should have already tested for gld
59250 # by now (in libtool), but require it now just to be safe...
59251 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
59252 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
59256 # The name set by libtool depends on the version of libtool. Shame on us
59257 # for depending on an impl detail, but c'est la vie. Older versions used
59258 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59259 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59260 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
59261 # set (hence we're using an older libtool), then set it.
59262 if test x${with_gnu_ld+set} != xset; then
59263 if test x${ac_cv_prog_gnu_ld+set} != xset; then
59264 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
59265 with_gnu_ld=no
59266 else
59267 with_gnu_ld=$ac_cv_prog_gnu_ld
59271 # Start by getting the version number. I think the libtool test already
59272 # does some of this, but throws away the result.
59273 glibcxx_ld_is_gold=no
59274 if test x"$with_gnu_ld" = x"yes"; then
59275 echo "$as_me:$LINENO: checking for ld version" >&5
59276 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
59278 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
59279 glibcxx_ld_is_gold=yes
59281 ldver=`$LD --version 2>/dev/null | head -1 | \
59282 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
59284 glibcxx_gnu_ld_version=`echo $ldver | \
59285 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
59286 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
59287 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
59290 # Set --gc-sections.
59291 glibcxx_have_gc_sections=no
59292 if test "$glibcxx_ld_is_gold" = "yes"; then
59293 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
59294 glibcxx_have_gc_sections=yes
59296 else
59297 glibcxx_gcsections_min_ld=21602
59298 if test x"$with_gnu_ld" = x"yes" &&
59299 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
59300 glibcxx_have_gc_sections=yes
59303 if test "$glibcxx_have_gc_sections" = "yes"; then
59304 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
59305 # NB: This flag only works reliably after 2.16.1. Configure tests
59306 # for this are difficult, so hard wire a value that should work.
59308 ac_test_CFLAGS="${CFLAGS+set}"
59309 ac_save_CFLAGS="$CFLAGS"
59310 CFLAGS='-Wl,--gc-sections'
59312 # Check for -Wl,--gc-sections
59313 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
59314 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
59315 if test x$gcc_no_link = xyes; then
59316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59318 { (exit 1); exit 1; }; }
59320 cat >conftest.$ac_ext <<_ACEOF
59321 /* confdefs.h. */
59322 _ACEOF
59323 cat confdefs.h >>conftest.$ac_ext
59324 cat >>conftest.$ac_ext <<_ACEOF
59325 /* end confdefs.h. */
59326 int one(void) { return 1; }
59327 int two(void) { return 2; }
59330 main ()
59332 two();
59334 return 0;
59336 _ACEOF
59337 rm -f conftest.$ac_objext conftest$ac_exeext
59338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59339 (eval $ac_link) 2>conftest.er1
59340 ac_status=$?
59341 grep -v '^ *+' conftest.er1 >conftest.err
59342 rm -f conftest.er1
59343 cat conftest.err >&5
59344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59345 (exit $ac_status); } &&
59346 { ac_try='test -z "$ac_c_werror_flag"
59347 || test ! -s conftest.err'
59348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59349 (eval $ac_try) 2>&5
59350 ac_status=$?
59351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59352 (exit $ac_status); }; } &&
59353 { ac_try='test -s conftest$ac_exeext'
59354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59355 (eval $ac_try) 2>&5
59356 ac_status=$?
59357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59358 (exit $ac_status); }; }; then
59359 ac_gcsections=yes
59360 else
59361 echo "$as_me: failed program was:" >&5
59362 sed 's/^/| /' conftest.$ac_ext >&5
59364 ac_gcsections=no
59366 rm -f conftest.err conftest.$ac_objext \
59367 conftest$ac_exeext conftest.$ac_ext
59368 if test "$ac_gcsections" = "yes"; then
59369 rm -f conftest.c
59370 touch conftest.c
59371 if $CC -c conftest.c; then
59372 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
59373 grep "Warning: gc-sections option ignored" > /dev/null; then
59374 ac_gcsections=no
59377 rm -f conftest.c conftest.o conftest
59379 if test "$ac_gcsections" = "yes"; then
59380 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
59382 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
59383 echo "${ECHO_T}$ac_gcsections" >&6
59385 if test "$ac_test_CFLAGS" = set; then
59386 CFLAGS="$ac_save_CFLAGS"
59387 else
59388 # this is the suspicious part
59389 CFLAGS=''
59393 # Set -z,relro.
59394 # Note this is only for shared objects.
59395 ac_ld_relro=no
59396 if test x"$with_gnu_ld" = x"yes"; then
59397 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
59398 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
59399 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59400 if test -n "$cxx_z_relo"; then
59401 OPT_LDFLAGS="-Wl,-z,relro"
59402 ac_ld_relro=yes
59404 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
59405 echo "${ECHO_T}$ac_ld_relro" >&6
59408 # Set linker optimization flags.
59409 if test x"$with_gnu_ld" = x"yes"; then
59410 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59417 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59418 ac_save_CXXFLAGS="$CXXFLAGS"
59419 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59421 echo "$as_me:$LINENO: checking for sin in -lm" >&5
59422 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
59423 if test "${ac_cv_lib_m_sin+set}" = set; then
59424 echo $ECHO_N "(cached) $ECHO_C" >&6
59425 else
59426 ac_check_lib_save_LIBS=$LIBS
59427 LIBS="-lm $LIBS"
59428 if test x$gcc_no_link = xyes; then
59429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59431 { (exit 1); exit 1; }; }
59433 cat >conftest.$ac_ext <<_ACEOF
59434 /* confdefs.h. */
59435 _ACEOF
59436 cat confdefs.h >>conftest.$ac_ext
59437 cat >>conftest.$ac_ext <<_ACEOF
59438 /* end confdefs.h. */
59440 /* Override any gcc2 internal prototype to avoid an error. */
59441 #ifdef __cplusplus
59442 extern "C"
59443 #endif
59444 /* We use char because int might match the return type of a gcc2
59445 builtin and then its argument prototype would still apply. */
59446 char sin ();
59448 main ()
59450 sin ();
59452 return 0;
59454 _ACEOF
59455 rm -f conftest.$ac_objext conftest$ac_exeext
59456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59457 (eval $ac_link) 2>conftest.er1
59458 ac_status=$?
59459 grep -v '^ *+' conftest.er1 >conftest.err
59460 rm -f conftest.er1
59461 cat conftest.err >&5
59462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59463 (exit $ac_status); } &&
59464 { ac_try='test -z "$ac_c_werror_flag"
59465 || test ! -s conftest.err'
59466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59467 (eval $ac_try) 2>&5
59468 ac_status=$?
59469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59470 (exit $ac_status); }; } &&
59471 { ac_try='test -s conftest$ac_exeext'
59472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59473 (eval $ac_try) 2>&5
59474 ac_status=$?
59475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59476 (exit $ac_status); }; }; then
59477 ac_cv_lib_m_sin=yes
59478 else
59479 echo "$as_me: failed program was:" >&5
59480 sed 's/^/| /' conftest.$ac_ext >&5
59482 ac_cv_lib_m_sin=no
59484 rm -f conftest.err conftest.$ac_objext \
59485 conftest$ac_exeext conftest.$ac_ext
59486 LIBS=$ac_check_lib_save_LIBS
59488 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
59489 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
59490 if test $ac_cv_lib_m_sin = yes; then
59491 libm="-lm"
59494 ac_save_LIBS="$LIBS"
59495 LIBS="$LIBS $libm"
59499 echo "$as_me:$LINENO: checking for isinf declaration" >&5
59500 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
59501 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59502 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
59503 echo $ECHO_N "(cached) $ECHO_C" >&6
59504 else
59508 ac_ext=cc
59509 ac_cpp='$CXXCPP $CPPFLAGS'
59510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59514 cat >conftest.$ac_ext <<_ACEOF
59515 /* confdefs.h. */
59516 _ACEOF
59517 cat confdefs.h >>conftest.$ac_ext
59518 cat >>conftest.$ac_ext <<_ACEOF
59519 /* end confdefs.h. */
59520 #include <math.h>
59521 #ifdef HAVE_IEEEFP_H
59522 #include <ieeefp.h>
59523 #endif
59526 main ()
59528 isinf(0);
59530 return 0;
59532 _ACEOF
59533 rm -f conftest.$ac_objext
59534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59535 (eval $ac_compile) 2>conftest.er1
59536 ac_status=$?
59537 grep -v '^ *+' conftest.er1 >conftest.err
59538 rm -f conftest.er1
59539 cat conftest.err >&5
59540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59541 (exit $ac_status); } &&
59542 { ac_try='test -z "$ac_cxx_werror_flag"
59543 || test ! -s conftest.err'
59544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59545 (eval $ac_try) 2>&5
59546 ac_status=$?
59547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59548 (exit $ac_status); }; } &&
59549 { ac_try='test -s conftest.$ac_objext'
59550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59551 (eval $ac_try) 2>&5
59552 ac_status=$?
59553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59554 (exit $ac_status); }; }; then
59555 glibcxx_cv_func_isinf_use=yes
59556 else
59557 echo "$as_me: failed program was:" >&5
59558 sed 's/^/| /' conftest.$ac_ext >&5
59560 glibcxx_cv_func_isinf_use=no
59562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59563 ac_ext=c
59564 ac_cpp='$CPP $CPPFLAGS'
59565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59573 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
59574 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
59576 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59578 for ac_func in isinf
59580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59581 echo "$as_me:$LINENO: checking for $ac_func" >&5
59582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59583 if eval "test \"\${$as_ac_var+set}\" = set"; then
59584 echo $ECHO_N "(cached) $ECHO_C" >&6
59585 else
59586 if test x$gcc_no_link = xyes; then
59587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59589 { (exit 1); exit 1; }; }
59591 cat >conftest.$ac_ext <<_ACEOF
59592 /* confdefs.h. */
59593 _ACEOF
59594 cat confdefs.h >>conftest.$ac_ext
59595 cat >>conftest.$ac_ext <<_ACEOF
59596 /* end confdefs.h. */
59597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59599 #define $ac_func innocuous_$ac_func
59601 /* System header to define __stub macros and hopefully few prototypes,
59602 which can conflict with char $ac_func (); below.
59603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59604 <limits.h> exists even on freestanding compilers. */
59606 #ifdef __STDC__
59607 # include <limits.h>
59608 #else
59609 # include <assert.h>
59610 #endif
59612 #undef $ac_func
59614 /* Override any gcc2 internal prototype to avoid an error. */
59615 #ifdef __cplusplus
59616 extern "C"
59618 #endif
59619 /* We use char because int might match the return type of a gcc2
59620 builtin and then its argument prototype would still apply. */
59621 char $ac_func ();
59622 /* The GNU C library defines this for functions which it implements
59623 to always fail with ENOSYS. Some functions are actually named
59624 something starting with __ and the normal name is an alias. */
59625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59626 choke me
59627 #else
59628 char (*f) () = $ac_func;
59629 #endif
59630 #ifdef __cplusplus
59632 #endif
59635 main ()
59637 return f != $ac_func;
59639 return 0;
59641 _ACEOF
59642 rm -f conftest.$ac_objext conftest$ac_exeext
59643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59644 (eval $ac_link) 2>conftest.er1
59645 ac_status=$?
59646 grep -v '^ *+' conftest.er1 >conftest.err
59647 rm -f conftest.er1
59648 cat conftest.err >&5
59649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59650 (exit $ac_status); } &&
59651 { ac_try='test -z "$ac_c_werror_flag"
59652 || test ! -s conftest.err'
59653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59654 (eval $ac_try) 2>&5
59655 ac_status=$?
59656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59657 (exit $ac_status); }; } &&
59658 { ac_try='test -s conftest$ac_exeext'
59659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59660 (eval $ac_try) 2>&5
59661 ac_status=$?
59662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59663 (exit $ac_status); }; }; then
59664 eval "$as_ac_var=yes"
59665 else
59666 echo "$as_me: failed program was:" >&5
59667 sed 's/^/| /' conftest.$ac_ext >&5
59669 eval "$as_ac_var=no"
59671 rm -f conftest.err conftest.$ac_objext \
59672 conftest$ac_exeext conftest.$ac_ext
59674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59676 if test `eval echo '${'$as_ac_var'}'` = yes; then
59677 cat >>confdefs.h <<_ACEOF
59678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59679 _ACEOF
59682 done
59684 else
59686 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
59687 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
59688 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59689 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
59690 echo $ECHO_N "(cached) $ECHO_C" >&6
59691 else
59695 ac_ext=cc
59696 ac_cpp='$CXXCPP $CPPFLAGS'
59697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59701 cat >conftest.$ac_ext <<_ACEOF
59702 /* confdefs.h. */
59703 _ACEOF
59704 cat confdefs.h >>conftest.$ac_ext
59705 cat >>conftest.$ac_ext <<_ACEOF
59706 /* end confdefs.h. */
59707 #include <math.h>
59708 #ifdef HAVE_IEEEFP_H
59709 #include <ieeefp.h>
59710 #endif
59713 main ()
59715 _isinf(0);
59717 return 0;
59719 _ACEOF
59720 rm -f conftest.$ac_objext
59721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59722 (eval $ac_compile) 2>conftest.er1
59723 ac_status=$?
59724 grep -v '^ *+' conftest.er1 >conftest.err
59725 rm -f conftest.er1
59726 cat conftest.err >&5
59727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59728 (exit $ac_status); } &&
59729 { ac_try='test -z "$ac_cxx_werror_flag"
59730 || test ! -s conftest.err'
59731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59732 (eval $ac_try) 2>&5
59733 ac_status=$?
59734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59735 (exit $ac_status); }; } &&
59736 { ac_try='test -s conftest.$ac_objext'
59737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59738 (eval $ac_try) 2>&5
59739 ac_status=$?
59740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59741 (exit $ac_status); }; }; then
59742 glibcxx_cv_func__isinf_use=yes
59743 else
59744 echo "$as_me: failed program was:" >&5
59745 sed 's/^/| /' conftest.$ac_ext >&5
59747 glibcxx_cv_func__isinf_use=no
59749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59750 ac_ext=c
59751 ac_cpp='$CPP $CPPFLAGS'
59752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59760 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
59761 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
59763 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59765 for ac_func in _isinf
59767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59768 echo "$as_me:$LINENO: checking for $ac_func" >&5
59769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59770 if eval "test \"\${$as_ac_var+set}\" = set"; then
59771 echo $ECHO_N "(cached) $ECHO_C" >&6
59772 else
59773 if test x$gcc_no_link = xyes; then
59774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59776 { (exit 1); exit 1; }; }
59778 cat >conftest.$ac_ext <<_ACEOF
59779 /* confdefs.h. */
59780 _ACEOF
59781 cat confdefs.h >>conftest.$ac_ext
59782 cat >>conftest.$ac_ext <<_ACEOF
59783 /* end confdefs.h. */
59784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59786 #define $ac_func innocuous_$ac_func
59788 /* System header to define __stub macros and hopefully few prototypes,
59789 which can conflict with char $ac_func (); below.
59790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59791 <limits.h> exists even on freestanding compilers. */
59793 #ifdef __STDC__
59794 # include <limits.h>
59795 #else
59796 # include <assert.h>
59797 #endif
59799 #undef $ac_func
59801 /* Override any gcc2 internal prototype to avoid an error. */
59802 #ifdef __cplusplus
59803 extern "C"
59805 #endif
59806 /* We use char because int might match the return type of a gcc2
59807 builtin and then its argument prototype would still apply. */
59808 char $ac_func ();
59809 /* The GNU C library defines this for functions which it implements
59810 to always fail with ENOSYS. Some functions are actually named
59811 something starting with __ and the normal name is an alias. */
59812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59813 choke me
59814 #else
59815 char (*f) () = $ac_func;
59816 #endif
59817 #ifdef __cplusplus
59819 #endif
59822 main ()
59824 return f != $ac_func;
59826 return 0;
59828 _ACEOF
59829 rm -f conftest.$ac_objext conftest$ac_exeext
59830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59831 (eval $ac_link) 2>conftest.er1
59832 ac_status=$?
59833 grep -v '^ *+' conftest.er1 >conftest.err
59834 rm -f conftest.er1
59835 cat conftest.err >&5
59836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59837 (exit $ac_status); } &&
59838 { ac_try='test -z "$ac_c_werror_flag"
59839 || test ! -s conftest.err'
59840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59841 (eval $ac_try) 2>&5
59842 ac_status=$?
59843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59844 (exit $ac_status); }; } &&
59845 { ac_try='test -s conftest$ac_exeext'
59846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59847 (eval $ac_try) 2>&5
59848 ac_status=$?
59849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59850 (exit $ac_status); }; }; then
59851 eval "$as_ac_var=yes"
59852 else
59853 echo "$as_me: failed program was:" >&5
59854 sed 's/^/| /' conftest.$ac_ext >&5
59856 eval "$as_ac_var=no"
59858 rm -f conftest.err conftest.$ac_objext \
59859 conftest$ac_exeext conftest.$ac_ext
59861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59863 if test `eval echo '${'$as_ac_var'}'` = yes; then
59864 cat >>confdefs.h <<_ACEOF
59865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59866 _ACEOF
59869 done
59879 echo "$as_me:$LINENO: checking for isnan declaration" >&5
59880 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
59881 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59882 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
59883 echo $ECHO_N "(cached) $ECHO_C" >&6
59884 else
59888 ac_ext=cc
59889 ac_cpp='$CXXCPP $CPPFLAGS'
59890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59894 cat >conftest.$ac_ext <<_ACEOF
59895 /* confdefs.h. */
59896 _ACEOF
59897 cat confdefs.h >>conftest.$ac_ext
59898 cat >>conftest.$ac_ext <<_ACEOF
59899 /* end confdefs.h. */
59900 #include <math.h>
59901 #ifdef HAVE_IEEEFP_H
59902 #include <ieeefp.h>
59903 #endif
59906 main ()
59908 isnan(0);
59910 return 0;
59912 _ACEOF
59913 rm -f conftest.$ac_objext
59914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59915 (eval $ac_compile) 2>conftest.er1
59916 ac_status=$?
59917 grep -v '^ *+' conftest.er1 >conftest.err
59918 rm -f conftest.er1
59919 cat conftest.err >&5
59920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59921 (exit $ac_status); } &&
59922 { ac_try='test -z "$ac_cxx_werror_flag"
59923 || test ! -s conftest.err'
59924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59925 (eval $ac_try) 2>&5
59926 ac_status=$?
59927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59928 (exit $ac_status); }; } &&
59929 { ac_try='test -s conftest.$ac_objext'
59930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59931 (eval $ac_try) 2>&5
59932 ac_status=$?
59933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59934 (exit $ac_status); }; }; then
59935 glibcxx_cv_func_isnan_use=yes
59936 else
59937 echo "$as_me: failed program was:" >&5
59938 sed 's/^/| /' conftest.$ac_ext >&5
59940 glibcxx_cv_func_isnan_use=no
59942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59943 ac_ext=c
59944 ac_cpp='$CPP $CPPFLAGS'
59945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59953 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
59954 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
59956 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59958 for ac_func in isnan
59960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59961 echo "$as_me:$LINENO: checking for $ac_func" >&5
59962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59963 if eval "test \"\${$as_ac_var+set}\" = set"; then
59964 echo $ECHO_N "(cached) $ECHO_C" >&6
59965 else
59966 if test x$gcc_no_link = xyes; then
59967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59969 { (exit 1); exit 1; }; }
59971 cat >conftest.$ac_ext <<_ACEOF
59972 /* confdefs.h. */
59973 _ACEOF
59974 cat confdefs.h >>conftest.$ac_ext
59975 cat >>conftest.$ac_ext <<_ACEOF
59976 /* end confdefs.h. */
59977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59979 #define $ac_func innocuous_$ac_func
59981 /* System header to define __stub macros and hopefully few prototypes,
59982 which can conflict with char $ac_func (); below.
59983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59984 <limits.h> exists even on freestanding compilers. */
59986 #ifdef __STDC__
59987 # include <limits.h>
59988 #else
59989 # include <assert.h>
59990 #endif
59992 #undef $ac_func
59994 /* Override any gcc2 internal prototype to avoid an error. */
59995 #ifdef __cplusplus
59996 extern "C"
59998 #endif
59999 /* We use char because int might match the return type of a gcc2
60000 builtin and then its argument prototype would still apply. */
60001 char $ac_func ();
60002 /* The GNU C library defines this for functions which it implements
60003 to always fail with ENOSYS. Some functions are actually named
60004 something starting with __ and the normal name is an alias. */
60005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60006 choke me
60007 #else
60008 char (*f) () = $ac_func;
60009 #endif
60010 #ifdef __cplusplus
60012 #endif
60015 main ()
60017 return f != $ac_func;
60019 return 0;
60021 _ACEOF
60022 rm -f conftest.$ac_objext conftest$ac_exeext
60023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60024 (eval $ac_link) 2>conftest.er1
60025 ac_status=$?
60026 grep -v '^ *+' conftest.er1 >conftest.err
60027 rm -f conftest.er1
60028 cat conftest.err >&5
60029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60030 (exit $ac_status); } &&
60031 { ac_try='test -z "$ac_c_werror_flag"
60032 || test ! -s conftest.err'
60033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60034 (eval $ac_try) 2>&5
60035 ac_status=$?
60036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60037 (exit $ac_status); }; } &&
60038 { ac_try='test -s conftest$ac_exeext'
60039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60040 (eval $ac_try) 2>&5
60041 ac_status=$?
60042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60043 (exit $ac_status); }; }; then
60044 eval "$as_ac_var=yes"
60045 else
60046 echo "$as_me: failed program was:" >&5
60047 sed 's/^/| /' conftest.$ac_ext >&5
60049 eval "$as_ac_var=no"
60051 rm -f conftest.err conftest.$ac_objext \
60052 conftest$ac_exeext conftest.$ac_ext
60054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60056 if test `eval echo '${'$as_ac_var'}'` = yes; then
60057 cat >>confdefs.h <<_ACEOF
60058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60059 _ACEOF
60062 done
60064 else
60066 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
60067 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
60068 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60069 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
60070 echo $ECHO_N "(cached) $ECHO_C" >&6
60071 else
60075 ac_ext=cc
60076 ac_cpp='$CXXCPP $CPPFLAGS'
60077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60081 cat >conftest.$ac_ext <<_ACEOF
60082 /* confdefs.h. */
60083 _ACEOF
60084 cat confdefs.h >>conftest.$ac_ext
60085 cat >>conftest.$ac_ext <<_ACEOF
60086 /* end confdefs.h. */
60087 #include <math.h>
60088 #ifdef HAVE_IEEEFP_H
60089 #include <ieeefp.h>
60090 #endif
60093 main ()
60095 _isnan(0);
60097 return 0;
60099 _ACEOF
60100 rm -f conftest.$ac_objext
60101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60102 (eval $ac_compile) 2>conftest.er1
60103 ac_status=$?
60104 grep -v '^ *+' conftest.er1 >conftest.err
60105 rm -f conftest.er1
60106 cat conftest.err >&5
60107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60108 (exit $ac_status); } &&
60109 { ac_try='test -z "$ac_cxx_werror_flag"
60110 || test ! -s conftest.err'
60111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60112 (eval $ac_try) 2>&5
60113 ac_status=$?
60114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60115 (exit $ac_status); }; } &&
60116 { ac_try='test -s conftest.$ac_objext'
60117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60118 (eval $ac_try) 2>&5
60119 ac_status=$?
60120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60121 (exit $ac_status); }; }; then
60122 glibcxx_cv_func__isnan_use=yes
60123 else
60124 echo "$as_me: failed program was:" >&5
60125 sed 's/^/| /' conftest.$ac_ext >&5
60127 glibcxx_cv_func__isnan_use=no
60129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60130 ac_ext=c
60131 ac_cpp='$CPP $CPPFLAGS'
60132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60140 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
60141 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
60143 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60145 for ac_func in _isnan
60147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60148 echo "$as_me:$LINENO: checking for $ac_func" >&5
60149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60150 if eval "test \"\${$as_ac_var+set}\" = set"; then
60151 echo $ECHO_N "(cached) $ECHO_C" >&6
60152 else
60153 if test x$gcc_no_link = xyes; then
60154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60156 { (exit 1); exit 1; }; }
60158 cat >conftest.$ac_ext <<_ACEOF
60159 /* confdefs.h. */
60160 _ACEOF
60161 cat confdefs.h >>conftest.$ac_ext
60162 cat >>conftest.$ac_ext <<_ACEOF
60163 /* end confdefs.h. */
60164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60166 #define $ac_func innocuous_$ac_func
60168 /* System header to define __stub macros and hopefully few prototypes,
60169 which can conflict with char $ac_func (); below.
60170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60171 <limits.h> exists even on freestanding compilers. */
60173 #ifdef __STDC__
60174 # include <limits.h>
60175 #else
60176 # include <assert.h>
60177 #endif
60179 #undef $ac_func
60181 /* Override any gcc2 internal prototype to avoid an error. */
60182 #ifdef __cplusplus
60183 extern "C"
60185 #endif
60186 /* We use char because int might match the return type of a gcc2
60187 builtin and then its argument prototype would still apply. */
60188 char $ac_func ();
60189 /* The GNU C library defines this for functions which it implements
60190 to always fail with ENOSYS. Some functions are actually named
60191 something starting with __ and the normal name is an alias. */
60192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60193 choke me
60194 #else
60195 char (*f) () = $ac_func;
60196 #endif
60197 #ifdef __cplusplus
60199 #endif
60202 main ()
60204 return f != $ac_func;
60206 return 0;
60208 _ACEOF
60209 rm -f conftest.$ac_objext conftest$ac_exeext
60210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60211 (eval $ac_link) 2>conftest.er1
60212 ac_status=$?
60213 grep -v '^ *+' conftest.er1 >conftest.err
60214 rm -f conftest.er1
60215 cat conftest.err >&5
60216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60217 (exit $ac_status); } &&
60218 { ac_try='test -z "$ac_c_werror_flag"
60219 || test ! -s conftest.err'
60220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60221 (eval $ac_try) 2>&5
60222 ac_status=$?
60223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60224 (exit $ac_status); }; } &&
60225 { ac_try='test -s conftest$ac_exeext'
60226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60227 (eval $ac_try) 2>&5
60228 ac_status=$?
60229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60230 (exit $ac_status); }; }; then
60231 eval "$as_ac_var=yes"
60232 else
60233 echo "$as_me: failed program was:" >&5
60234 sed 's/^/| /' conftest.$ac_ext >&5
60236 eval "$as_ac_var=no"
60238 rm -f conftest.err conftest.$ac_objext \
60239 conftest$ac_exeext conftest.$ac_ext
60241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60243 if test `eval echo '${'$as_ac_var'}'` = yes; then
60244 cat >>confdefs.h <<_ACEOF
60245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60246 _ACEOF
60249 done
60259 echo "$as_me:$LINENO: checking for finite declaration" >&5
60260 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
60261 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60262 if test "${glibcxx_cv_func_finite_use+set}" = set; then
60263 echo $ECHO_N "(cached) $ECHO_C" >&6
60264 else
60268 ac_ext=cc
60269 ac_cpp='$CXXCPP $CPPFLAGS'
60270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60274 cat >conftest.$ac_ext <<_ACEOF
60275 /* confdefs.h. */
60276 _ACEOF
60277 cat confdefs.h >>conftest.$ac_ext
60278 cat >>conftest.$ac_ext <<_ACEOF
60279 /* end confdefs.h. */
60280 #include <math.h>
60281 #ifdef HAVE_IEEEFP_H
60282 #include <ieeefp.h>
60283 #endif
60286 main ()
60288 finite(0);
60290 return 0;
60292 _ACEOF
60293 rm -f conftest.$ac_objext
60294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60295 (eval $ac_compile) 2>conftest.er1
60296 ac_status=$?
60297 grep -v '^ *+' conftest.er1 >conftest.err
60298 rm -f conftest.er1
60299 cat conftest.err >&5
60300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60301 (exit $ac_status); } &&
60302 { ac_try='test -z "$ac_cxx_werror_flag"
60303 || test ! -s conftest.err'
60304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60305 (eval $ac_try) 2>&5
60306 ac_status=$?
60307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60308 (exit $ac_status); }; } &&
60309 { ac_try='test -s conftest.$ac_objext'
60310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60311 (eval $ac_try) 2>&5
60312 ac_status=$?
60313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60314 (exit $ac_status); }; }; then
60315 glibcxx_cv_func_finite_use=yes
60316 else
60317 echo "$as_me: failed program was:" >&5
60318 sed 's/^/| /' conftest.$ac_ext >&5
60320 glibcxx_cv_func_finite_use=no
60322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60323 ac_ext=c
60324 ac_cpp='$CPP $CPPFLAGS'
60325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60333 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
60334 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
60336 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60338 for ac_func in finite
60340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60341 echo "$as_me:$LINENO: checking for $ac_func" >&5
60342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60343 if eval "test \"\${$as_ac_var+set}\" = set"; then
60344 echo $ECHO_N "(cached) $ECHO_C" >&6
60345 else
60346 if test x$gcc_no_link = xyes; then
60347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60349 { (exit 1); exit 1; }; }
60351 cat >conftest.$ac_ext <<_ACEOF
60352 /* confdefs.h. */
60353 _ACEOF
60354 cat confdefs.h >>conftest.$ac_ext
60355 cat >>conftest.$ac_ext <<_ACEOF
60356 /* end confdefs.h. */
60357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60359 #define $ac_func innocuous_$ac_func
60361 /* System header to define __stub macros and hopefully few prototypes,
60362 which can conflict with char $ac_func (); below.
60363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60364 <limits.h> exists even on freestanding compilers. */
60366 #ifdef __STDC__
60367 # include <limits.h>
60368 #else
60369 # include <assert.h>
60370 #endif
60372 #undef $ac_func
60374 /* Override any gcc2 internal prototype to avoid an error. */
60375 #ifdef __cplusplus
60376 extern "C"
60378 #endif
60379 /* We use char because int might match the return type of a gcc2
60380 builtin and then its argument prototype would still apply. */
60381 char $ac_func ();
60382 /* The GNU C library defines this for functions which it implements
60383 to always fail with ENOSYS. Some functions are actually named
60384 something starting with __ and the normal name is an alias. */
60385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60386 choke me
60387 #else
60388 char (*f) () = $ac_func;
60389 #endif
60390 #ifdef __cplusplus
60392 #endif
60395 main ()
60397 return f != $ac_func;
60399 return 0;
60401 _ACEOF
60402 rm -f conftest.$ac_objext conftest$ac_exeext
60403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60404 (eval $ac_link) 2>conftest.er1
60405 ac_status=$?
60406 grep -v '^ *+' conftest.er1 >conftest.err
60407 rm -f conftest.er1
60408 cat conftest.err >&5
60409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60410 (exit $ac_status); } &&
60411 { ac_try='test -z "$ac_c_werror_flag"
60412 || test ! -s conftest.err'
60413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60414 (eval $ac_try) 2>&5
60415 ac_status=$?
60416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60417 (exit $ac_status); }; } &&
60418 { ac_try='test -s conftest$ac_exeext'
60419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60420 (eval $ac_try) 2>&5
60421 ac_status=$?
60422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60423 (exit $ac_status); }; }; then
60424 eval "$as_ac_var=yes"
60425 else
60426 echo "$as_me: failed program was:" >&5
60427 sed 's/^/| /' conftest.$ac_ext >&5
60429 eval "$as_ac_var=no"
60431 rm -f conftest.err conftest.$ac_objext \
60432 conftest$ac_exeext conftest.$ac_ext
60434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60436 if test `eval echo '${'$as_ac_var'}'` = yes; then
60437 cat >>confdefs.h <<_ACEOF
60438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60439 _ACEOF
60442 done
60444 else
60446 echo "$as_me:$LINENO: checking for _finite declaration" >&5
60447 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
60448 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60449 if test "${glibcxx_cv_func__finite_use+set}" = set; then
60450 echo $ECHO_N "(cached) $ECHO_C" >&6
60451 else
60455 ac_ext=cc
60456 ac_cpp='$CXXCPP $CPPFLAGS'
60457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60461 cat >conftest.$ac_ext <<_ACEOF
60462 /* confdefs.h. */
60463 _ACEOF
60464 cat confdefs.h >>conftest.$ac_ext
60465 cat >>conftest.$ac_ext <<_ACEOF
60466 /* end confdefs.h. */
60467 #include <math.h>
60468 #ifdef HAVE_IEEEFP_H
60469 #include <ieeefp.h>
60470 #endif
60473 main ()
60475 _finite(0);
60477 return 0;
60479 _ACEOF
60480 rm -f conftest.$ac_objext
60481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60482 (eval $ac_compile) 2>conftest.er1
60483 ac_status=$?
60484 grep -v '^ *+' conftest.er1 >conftest.err
60485 rm -f conftest.er1
60486 cat conftest.err >&5
60487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60488 (exit $ac_status); } &&
60489 { ac_try='test -z "$ac_cxx_werror_flag"
60490 || test ! -s conftest.err'
60491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60492 (eval $ac_try) 2>&5
60493 ac_status=$?
60494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60495 (exit $ac_status); }; } &&
60496 { ac_try='test -s conftest.$ac_objext'
60497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60498 (eval $ac_try) 2>&5
60499 ac_status=$?
60500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60501 (exit $ac_status); }; }; then
60502 glibcxx_cv_func__finite_use=yes
60503 else
60504 echo "$as_me: failed program was:" >&5
60505 sed 's/^/| /' conftest.$ac_ext >&5
60507 glibcxx_cv_func__finite_use=no
60509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60510 ac_ext=c
60511 ac_cpp='$CPP $CPPFLAGS'
60512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60520 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
60521 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
60523 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60525 for ac_func in _finite
60527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60528 echo "$as_me:$LINENO: checking for $ac_func" >&5
60529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60530 if eval "test \"\${$as_ac_var+set}\" = set"; then
60531 echo $ECHO_N "(cached) $ECHO_C" >&6
60532 else
60533 if test x$gcc_no_link = xyes; then
60534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60536 { (exit 1); exit 1; }; }
60538 cat >conftest.$ac_ext <<_ACEOF
60539 /* confdefs.h. */
60540 _ACEOF
60541 cat confdefs.h >>conftest.$ac_ext
60542 cat >>conftest.$ac_ext <<_ACEOF
60543 /* end confdefs.h. */
60544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60546 #define $ac_func innocuous_$ac_func
60548 /* System header to define __stub macros and hopefully few prototypes,
60549 which can conflict with char $ac_func (); below.
60550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60551 <limits.h> exists even on freestanding compilers. */
60553 #ifdef __STDC__
60554 # include <limits.h>
60555 #else
60556 # include <assert.h>
60557 #endif
60559 #undef $ac_func
60561 /* Override any gcc2 internal prototype to avoid an error. */
60562 #ifdef __cplusplus
60563 extern "C"
60565 #endif
60566 /* We use char because int might match the return type of a gcc2
60567 builtin and then its argument prototype would still apply. */
60568 char $ac_func ();
60569 /* The GNU C library defines this for functions which it implements
60570 to always fail with ENOSYS. Some functions are actually named
60571 something starting with __ and the normal name is an alias. */
60572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60573 choke me
60574 #else
60575 char (*f) () = $ac_func;
60576 #endif
60577 #ifdef __cplusplus
60579 #endif
60582 main ()
60584 return f != $ac_func;
60586 return 0;
60588 _ACEOF
60589 rm -f conftest.$ac_objext conftest$ac_exeext
60590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60591 (eval $ac_link) 2>conftest.er1
60592 ac_status=$?
60593 grep -v '^ *+' conftest.er1 >conftest.err
60594 rm -f conftest.er1
60595 cat conftest.err >&5
60596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60597 (exit $ac_status); } &&
60598 { ac_try='test -z "$ac_c_werror_flag"
60599 || test ! -s conftest.err'
60600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60601 (eval $ac_try) 2>&5
60602 ac_status=$?
60603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60604 (exit $ac_status); }; } &&
60605 { ac_try='test -s conftest$ac_exeext'
60606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60607 (eval $ac_try) 2>&5
60608 ac_status=$?
60609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60610 (exit $ac_status); }; }; then
60611 eval "$as_ac_var=yes"
60612 else
60613 echo "$as_me: failed program was:" >&5
60614 sed 's/^/| /' conftest.$ac_ext >&5
60616 eval "$as_ac_var=no"
60618 rm -f conftest.err conftest.$ac_objext \
60619 conftest$ac_exeext conftest.$ac_ext
60621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60623 if test `eval echo '${'$as_ac_var'}'` = yes; then
60624 cat >>confdefs.h <<_ACEOF
60625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60626 _ACEOF
60629 done
60639 echo "$as_me:$LINENO: checking for sincos declaration" >&5
60640 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
60641 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60642 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
60643 echo $ECHO_N "(cached) $ECHO_C" >&6
60644 else
60648 ac_ext=cc
60649 ac_cpp='$CXXCPP $CPPFLAGS'
60650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60654 cat >conftest.$ac_ext <<_ACEOF
60655 /* confdefs.h. */
60656 _ACEOF
60657 cat confdefs.h >>conftest.$ac_ext
60658 cat >>conftest.$ac_ext <<_ACEOF
60659 /* end confdefs.h. */
60660 #include <math.h>
60662 main ()
60664 sincos(0, 0, 0);
60666 return 0;
60668 _ACEOF
60669 rm -f conftest.$ac_objext
60670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60671 (eval $ac_compile) 2>conftest.er1
60672 ac_status=$?
60673 grep -v '^ *+' conftest.er1 >conftest.err
60674 rm -f conftest.er1
60675 cat conftest.err >&5
60676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60677 (exit $ac_status); } &&
60678 { ac_try='test -z "$ac_cxx_werror_flag"
60679 || test ! -s conftest.err'
60680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60681 (eval $ac_try) 2>&5
60682 ac_status=$?
60683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60684 (exit $ac_status); }; } &&
60685 { ac_try='test -s conftest.$ac_objext'
60686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60687 (eval $ac_try) 2>&5
60688 ac_status=$?
60689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60690 (exit $ac_status); }; }; then
60691 glibcxx_cv_func_sincos_use=yes
60692 else
60693 echo "$as_me: failed program was:" >&5
60694 sed 's/^/| /' conftest.$ac_ext >&5
60696 glibcxx_cv_func_sincos_use=no
60698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60699 ac_ext=c
60700 ac_cpp='$CPP $CPPFLAGS'
60701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
60710 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
60712 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60714 for ac_func in sincos
60716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60717 echo "$as_me:$LINENO: checking for $ac_func" >&5
60718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60719 if eval "test \"\${$as_ac_var+set}\" = set"; then
60720 echo $ECHO_N "(cached) $ECHO_C" >&6
60721 else
60722 if test x$gcc_no_link = xyes; then
60723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60725 { (exit 1); exit 1; }; }
60727 cat >conftest.$ac_ext <<_ACEOF
60728 /* confdefs.h. */
60729 _ACEOF
60730 cat confdefs.h >>conftest.$ac_ext
60731 cat >>conftest.$ac_ext <<_ACEOF
60732 /* end confdefs.h. */
60733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60735 #define $ac_func innocuous_$ac_func
60737 /* System header to define __stub macros and hopefully few prototypes,
60738 which can conflict with char $ac_func (); below.
60739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60740 <limits.h> exists even on freestanding compilers. */
60742 #ifdef __STDC__
60743 # include <limits.h>
60744 #else
60745 # include <assert.h>
60746 #endif
60748 #undef $ac_func
60750 /* Override any gcc2 internal prototype to avoid an error. */
60751 #ifdef __cplusplus
60752 extern "C"
60754 #endif
60755 /* We use char because int might match the return type of a gcc2
60756 builtin and then its argument prototype would still apply. */
60757 char $ac_func ();
60758 /* The GNU C library defines this for functions which it implements
60759 to always fail with ENOSYS. Some functions are actually named
60760 something starting with __ and the normal name is an alias. */
60761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60762 choke me
60763 #else
60764 char (*f) () = $ac_func;
60765 #endif
60766 #ifdef __cplusplus
60768 #endif
60771 main ()
60773 return f != $ac_func;
60775 return 0;
60777 _ACEOF
60778 rm -f conftest.$ac_objext conftest$ac_exeext
60779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60780 (eval $ac_link) 2>conftest.er1
60781 ac_status=$?
60782 grep -v '^ *+' conftest.er1 >conftest.err
60783 rm -f conftest.er1
60784 cat conftest.err >&5
60785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60786 (exit $ac_status); } &&
60787 { ac_try='test -z "$ac_c_werror_flag"
60788 || test ! -s conftest.err'
60789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60790 (eval $ac_try) 2>&5
60791 ac_status=$?
60792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60793 (exit $ac_status); }; } &&
60794 { ac_try='test -s conftest$ac_exeext'
60795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60796 (eval $ac_try) 2>&5
60797 ac_status=$?
60798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60799 (exit $ac_status); }; }; then
60800 eval "$as_ac_var=yes"
60801 else
60802 echo "$as_me: failed program was:" >&5
60803 sed 's/^/| /' conftest.$ac_ext >&5
60805 eval "$as_ac_var=no"
60807 rm -f conftest.err conftest.$ac_objext \
60808 conftest$ac_exeext conftest.$ac_ext
60810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60812 if test `eval echo '${'$as_ac_var'}'` = yes; then
60813 cat >>confdefs.h <<_ACEOF
60814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60815 _ACEOF
60818 done
60820 else
60822 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
60823 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
60824 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60825 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
60826 echo $ECHO_N "(cached) $ECHO_C" >&6
60827 else
60831 ac_ext=cc
60832 ac_cpp='$CXXCPP $CPPFLAGS'
60833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60837 cat >conftest.$ac_ext <<_ACEOF
60838 /* confdefs.h. */
60839 _ACEOF
60840 cat confdefs.h >>conftest.$ac_ext
60841 cat >>conftest.$ac_ext <<_ACEOF
60842 /* end confdefs.h. */
60843 #include <math.h>
60845 main ()
60847 _sincos(0, 0, 0);
60849 return 0;
60851 _ACEOF
60852 rm -f conftest.$ac_objext
60853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60854 (eval $ac_compile) 2>conftest.er1
60855 ac_status=$?
60856 grep -v '^ *+' conftest.er1 >conftest.err
60857 rm -f conftest.er1
60858 cat conftest.err >&5
60859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60860 (exit $ac_status); } &&
60861 { ac_try='test -z "$ac_cxx_werror_flag"
60862 || test ! -s conftest.err'
60863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60864 (eval $ac_try) 2>&5
60865 ac_status=$?
60866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60867 (exit $ac_status); }; } &&
60868 { ac_try='test -s conftest.$ac_objext'
60869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60870 (eval $ac_try) 2>&5
60871 ac_status=$?
60872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60873 (exit $ac_status); }; }; then
60874 glibcxx_cv_func__sincos_use=yes
60875 else
60876 echo "$as_me: failed program was:" >&5
60877 sed 's/^/| /' conftest.$ac_ext >&5
60879 glibcxx_cv_func__sincos_use=no
60881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60882 ac_ext=c
60883 ac_cpp='$CPP $CPPFLAGS'
60884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60892 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
60893 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
60895 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60897 for ac_func in _sincos
60899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60900 echo "$as_me:$LINENO: checking for $ac_func" >&5
60901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60902 if eval "test \"\${$as_ac_var+set}\" = set"; then
60903 echo $ECHO_N "(cached) $ECHO_C" >&6
60904 else
60905 if test x$gcc_no_link = xyes; then
60906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60908 { (exit 1); exit 1; }; }
60910 cat >conftest.$ac_ext <<_ACEOF
60911 /* confdefs.h. */
60912 _ACEOF
60913 cat confdefs.h >>conftest.$ac_ext
60914 cat >>conftest.$ac_ext <<_ACEOF
60915 /* end confdefs.h. */
60916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60918 #define $ac_func innocuous_$ac_func
60920 /* System header to define __stub macros and hopefully few prototypes,
60921 which can conflict with char $ac_func (); below.
60922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60923 <limits.h> exists even on freestanding compilers. */
60925 #ifdef __STDC__
60926 # include <limits.h>
60927 #else
60928 # include <assert.h>
60929 #endif
60931 #undef $ac_func
60933 /* Override any gcc2 internal prototype to avoid an error. */
60934 #ifdef __cplusplus
60935 extern "C"
60937 #endif
60938 /* We use char because int might match the return type of a gcc2
60939 builtin and then its argument prototype would still apply. */
60940 char $ac_func ();
60941 /* The GNU C library defines this for functions which it implements
60942 to always fail with ENOSYS. Some functions are actually named
60943 something starting with __ and the normal name is an alias. */
60944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60945 choke me
60946 #else
60947 char (*f) () = $ac_func;
60948 #endif
60949 #ifdef __cplusplus
60951 #endif
60954 main ()
60956 return f != $ac_func;
60958 return 0;
60960 _ACEOF
60961 rm -f conftest.$ac_objext conftest$ac_exeext
60962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60963 (eval $ac_link) 2>conftest.er1
60964 ac_status=$?
60965 grep -v '^ *+' conftest.er1 >conftest.err
60966 rm -f conftest.er1
60967 cat conftest.err >&5
60968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60969 (exit $ac_status); } &&
60970 { ac_try='test -z "$ac_c_werror_flag"
60971 || test ! -s conftest.err'
60972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60973 (eval $ac_try) 2>&5
60974 ac_status=$?
60975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60976 (exit $ac_status); }; } &&
60977 { ac_try='test -s conftest$ac_exeext'
60978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60979 (eval $ac_try) 2>&5
60980 ac_status=$?
60981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60982 (exit $ac_status); }; }; then
60983 eval "$as_ac_var=yes"
60984 else
60985 echo "$as_me: failed program was:" >&5
60986 sed 's/^/| /' conftest.$ac_ext >&5
60988 eval "$as_ac_var=no"
60990 rm -f conftest.err conftest.$ac_objext \
60991 conftest$ac_exeext conftest.$ac_ext
60993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60995 if test `eval echo '${'$as_ac_var'}'` = yes; then
60996 cat >>confdefs.h <<_ACEOF
60997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60998 _ACEOF
61001 done
61011 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
61012 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
61013 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61014 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
61015 echo $ECHO_N "(cached) $ECHO_C" >&6
61016 else
61020 ac_ext=cc
61021 ac_cpp='$CXXCPP $CPPFLAGS'
61022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61026 cat >conftest.$ac_ext <<_ACEOF
61027 /* confdefs.h. */
61028 _ACEOF
61029 cat confdefs.h >>conftest.$ac_ext
61030 cat >>conftest.$ac_ext <<_ACEOF
61031 /* end confdefs.h. */
61032 #include <math.h>
61033 #ifdef HAVE_IEEEFP_H
61034 #include <ieeefp.h>
61035 #endif
61038 main ()
61040 fpclass(0);
61042 return 0;
61044 _ACEOF
61045 rm -f conftest.$ac_objext
61046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61047 (eval $ac_compile) 2>conftest.er1
61048 ac_status=$?
61049 grep -v '^ *+' conftest.er1 >conftest.err
61050 rm -f conftest.er1
61051 cat conftest.err >&5
61052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61053 (exit $ac_status); } &&
61054 { ac_try='test -z "$ac_cxx_werror_flag"
61055 || test ! -s conftest.err'
61056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61057 (eval $ac_try) 2>&5
61058 ac_status=$?
61059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61060 (exit $ac_status); }; } &&
61061 { ac_try='test -s conftest.$ac_objext'
61062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61063 (eval $ac_try) 2>&5
61064 ac_status=$?
61065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61066 (exit $ac_status); }; }; then
61067 glibcxx_cv_func_fpclass_use=yes
61068 else
61069 echo "$as_me: failed program was:" >&5
61070 sed 's/^/| /' conftest.$ac_ext >&5
61072 glibcxx_cv_func_fpclass_use=no
61074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61075 ac_ext=c
61076 ac_cpp='$CPP $CPPFLAGS'
61077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
61086 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
61088 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61090 for ac_func in fpclass
61092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61093 echo "$as_me:$LINENO: checking for $ac_func" >&5
61094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61095 if eval "test \"\${$as_ac_var+set}\" = set"; then
61096 echo $ECHO_N "(cached) $ECHO_C" >&6
61097 else
61098 if test x$gcc_no_link = xyes; then
61099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61101 { (exit 1); exit 1; }; }
61103 cat >conftest.$ac_ext <<_ACEOF
61104 /* confdefs.h. */
61105 _ACEOF
61106 cat confdefs.h >>conftest.$ac_ext
61107 cat >>conftest.$ac_ext <<_ACEOF
61108 /* end confdefs.h. */
61109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61111 #define $ac_func innocuous_$ac_func
61113 /* System header to define __stub macros and hopefully few prototypes,
61114 which can conflict with char $ac_func (); below.
61115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61116 <limits.h> exists even on freestanding compilers. */
61118 #ifdef __STDC__
61119 # include <limits.h>
61120 #else
61121 # include <assert.h>
61122 #endif
61124 #undef $ac_func
61126 /* Override any gcc2 internal prototype to avoid an error. */
61127 #ifdef __cplusplus
61128 extern "C"
61130 #endif
61131 /* We use char because int might match the return type of a gcc2
61132 builtin and then its argument prototype would still apply. */
61133 char $ac_func ();
61134 /* The GNU C library defines this for functions which it implements
61135 to always fail with ENOSYS. Some functions are actually named
61136 something starting with __ and the normal name is an alias. */
61137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61138 choke me
61139 #else
61140 char (*f) () = $ac_func;
61141 #endif
61142 #ifdef __cplusplus
61144 #endif
61147 main ()
61149 return f != $ac_func;
61151 return 0;
61153 _ACEOF
61154 rm -f conftest.$ac_objext conftest$ac_exeext
61155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61156 (eval $ac_link) 2>conftest.er1
61157 ac_status=$?
61158 grep -v '^ *+' conftest.er1 >conftest.err
61159 rm -f conftest.er1
61160 cat conftest.err >&5
61161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61162 (exit $ac_status); } &&
61163 { ac_try='test -z "$ac_c_werror_flag"
61164 || test ! -s conftest.err'
61165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61166 (eval $ac_try) 2>&5
61167 ac_status=$?
61168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61169 (exit $ac_status); }; } &&
61170 { ac_try='test -s conftest$ac_exeext'
61171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61172 (eval $ac_try) 2>&5
61173 ac_status=$?
61174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61175 (exit $ac_status); }; }; then
61176 eval "$as_ac_var=yes"
61177 else
61178 echo "$as_me: failed program was:" >&5
61179 sed 's/^/| /' conftest.$ac_ext >&5
61181 eval "$as_ac_var=no"
61183 rm -f conftest.err conftest.$ac_objext \
61184 conftest$ac_exeext conftest.$ac_ext
61186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61188 if test `eval echo '${'$as_ac_var'}'` = yes; then
61189 cat >>confdefs.h <<_ACEOF
61190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61191 _ACEOF
61194 done
61196 else
61198 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
61199 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
61200 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61201 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
61202 echo $ECHO_N "(cached) $ECHO_C" >&6
61203 else
61207 ac_ext=cc
61208 ac_cpp='$CXXCPP $CPPFLAGS'
61209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61213 cat >conftest.$ac_ext <<_ACEOF
61214 /* confdefs.h. */
61215 _ACEOF
61216 cat confdefs.h >>conftest.$ac_ext
61217 cat >>conftest.$ac_ext <<_ACEOF
61218 /* end confdefs.h. */
61219 #include <math.h>
61220 #ifdef HAVE_IEEEFP_H
61221 #include <ieeefp.h>
61222 #endif
61225 main ()
61227 _fpclass(0);
61229 return 0;
61231 _ACEOF
61232 rm -f conftest.$ac_objext
61233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61234 (eval $ac_compile) 2>conftest.er1
61235 ac_status=$?
61236 grep -v '^ *+' conftest.er1 >conftest.err
61237 rm -f conftest.er1
61238 cat conftest.err >&5
61239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61240 (exit $ac_status); } &&
61241 { ac_try='test -z "$ac_cxx_werror_flag"
61242 || test ! -s conftest.err'
61243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61244 (eval $ac_try) 2>&5
61245 ac_status=$?
61246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61247 (exit $ac_status); }; } &&
61248 { ac_try='test -s conftest.$ac_objext'
61249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61250 (eval $ac_try) 2>&5
61251 ac_status=$?
61252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61253 (exit $ac_status); }; }; then
61254 glibcxx_cv_func__fpclass_use=yes
61255 else
61256 echo "$as_me: failed program was:" >&5
61257 sed 's/^/| /' conftest.$ac_ext >&5
61259 glibcxx_cv_func__fpclass_use=no
61261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61262 ac_ext=c
61263 ac_cpp='$CPP $CPPFLAGS'
61264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61272 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
61273 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
61275 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61277 for ac_func in _fpclass
61279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61280 echo "$as_me:$LINENO: checking for $ac_func" >&5
61281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61282 if eval "test \"\${$as_ac_var+set}\" = set"; then
61283 echo $ECHO_N "(cached) $ECHO_C" >&6
61284 else
61285 if test x$gcc_no_link = xyes; then
61286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61288 { (exit 1); exit 1; }; }
61290 cat >conftest.$ac_ext <<_ACEOF
61291 /* confdefs.h. */
61292 _ACEOF
61293 cat confdefs.h >>conftest.$ac_ext
61294 cat >>conftest.$ac_ext <<_ACEOF
61295 /* end confdefs.h. */
61296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61298 #define $ac_func innocuous_$ac_func
61300 /* System header to define __stub macros and hopefully few prototypes,
61301 which can conflict with char $ac_func (); below.
61302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61303 <limits.h> exists even on freestanding compilers. */
61305 #ifdef __STDC__
61306 # include <limits.h>
61307 #else
61308 # include <assert.h>
61309 #endif
61311 #undef $ac_func
61313 /* Override any gcc2 internal prototype to avoid an error. */
61314 #ifdef __cplusplus
61315 extern "C"
61317 #endif
61318 /* We use char because int might match the return type of a gcc2
61319 builtin and then its argument prototype would still apply. */
61320 char $ac_func ();
61321 /* The GNU C library defines this for functions which it implements
61322 to always fail with ENOSYS. Some functions are actually named
61323 something starting with __ and the normal name is an alias. */
61324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61325 choke me
61326 #else
61327 char (*f) () = $ac_func;
61328 #endif
61329 #ifdef __cplusplus
61331 #endif
61334 main ()
61336 return f != $ac_func;
61338 return 0;
61340 _ACEOF
61341 rm -f conftest.$ac_objext conftest$ac_exeext
61342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61343 (eval $ac_link) 2>conftest.er1
61344 ac_status=$?
61345 grep -v '^ *+' conftest.er1 >conftest.err
61346 rm -f conftest.er1
61347 cat conftest.err >&5
61348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61349 (exit $ac_status); } &&
61350 { ac_try='test -z "$ac_c_werror_flag"
61351 || test ! -s conftest.err'
61352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61353 (eval $ac_try) 2>&5
61354 ac_status=$?
61355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61356 (exit $ac_status); }; } &&
61357 { ac_try='test -s conftest$ac_exeext'
61358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61359 (eval $ac_try) 2>&5
61360 ac_status=$?
61361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61362 (exit $ac_status); }; }; then
61363 eval "$as_ac_var=yes"
61364 else
61365 echo "$as_me: failed program was:" >&5
61366 sed 's/^/| /' conftest.$ac_ext >&5
61368 eval "$as_ac_var=no"
61370 rm -f conftest.err conftest.$ac_objext \
61371 conftest$ac_exeext conftest.$ac_ext
61373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61375 if test `eval echo '${'$as_ac_var'}'` = yes; then
61376 cat >>confdefs.h <<_ACEOF
61377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61378 _ACEOF
61381 done
61391 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
61392 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
61393 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61394 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
61395 echo $ECHO_N "(cached) $ECHO_C" >&6
61396 else
61400 ac_ext=cc
61401 ac_cpp='$CXXCPP $CPPFLAGS'
61402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61406 cat >conftest.$ac_ext <<_ACEOF
61407 /* confdefs.h. */
61408 _ACEOF
61409 cat confdefs.h >>conftest.$ac_ext
61410 cat >>conftest.$ac_ext <<_ACEOF
61411 /* end confdefs.h. */
61412 #include <math.h>
61413 #ifdef HAVE_IEEEFP_H
61414 #include <ieeefp.h>
61415 #endif
61418 main ()
61420 qfpclass(0);
61422 return 0;
61424 _ACEOF
61425 rm -f conftest.$ac_objext
61426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61427 (eval $ac_compile) 2>conftest.er1
61428 ac_status=$?
61429 grep -v '^ *+' conftest.er1 >conftest.err
61430 rm -f conftest.er1
61431 cat conftest.err >&5
61432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61433 (exit $ac_status); } &&
61434 { ac_try='test -z "$ac_cxx_werror_flag"
61435 || test ! -s conftest.err'
61436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61437 (eval $ac_try) 2>&5
61438 ac_status=$?
61439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61440 (exit $ac_status); }; } &&
61441 { ac_try='test -s conftest.$ac_objext'
61442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61443 (eval $ac_try) 2>&5
61444 ac_status=$?
61445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61446 (exit $ac_status); }; }; then
61447 glibcxx_cv_func_qfpclass_use=yes
61448 else
61449 echo "$as_me: failed program was:" >&5
61450 sed 's/^/| /' conftest.$ac_ext >&5
61452 glibcxx_cv_func_qfpclass_use=no
61454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61455 ac_ext=c
61456 ac_cpp='$CPP $CPPFLAGS'
61457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61465 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
61466 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
61468 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61470 for ac_func in qfpclass
61472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61473 echo "$as_me:$LINENO: checking for $ac_func" >&5
61474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61475 if eval "test \"\${$as_ac_var+set}\" = set"; then
61476 echo $ECHO_N "(cached) $ECHO_C" >&6
61477 else
61478 if test x$gcc_no_link = xyes; then
61479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61481 { (exit 1); exit 1; }; }
61483 cat >conftest.$ac_ext <<_ACEOF
61484 /* confdefs.h. */
61485 _ACEOF
61486 cat confdefs.h >>conftest.$ac_ext
61487 cat >>conftest.$ac_ext <<_ACEOF
61488 /* end confdefs.h. */
61489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61491 #define $ac_func innocuous_$ac_func
61493 /* System header to define __stub macros and hopefully few prototypes,
61494 which can conflict with char $ac_func (); below.
61495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61496 <limits.h> exists even on freestanding compilers. */
61498 #ifdef __STDC__
61499 # include <limits.h>
61500 #else
61501 # include <assert.h>
61502 #endif
61504 #undef $ac_func
61506 /* Override any gcc2 internal prototype to avoid an error. */
61507 #ifdef __cplusplus
61508 extern "C"
61510 #endif
61511 /* We use char because int might match the return type of a gcc2
61512 builtin and then its argument prototype would still apply. */
61513 char $ac_func ();
61514 /* The GNU C library defines this for functions which it implements
61515 to always fail with ENOSYS. Some functions are actually named
61516 something starting with __ and the normal name is an alias. */
61517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61518 choke me
61519 #else
61520 char (*f) () = $ac_func;
61521 #endif
61522 #ifdef __cplusplus
61524 #endif
61527 main ()
61529 return f != $ac_func;
61531 return 0;
61533 _ACEOF
61534 rm -f conftest.$ac_objext conftest$ac_exeext
61535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61536 (eval $ac_link) 2>conftest.er1
61537 ac_status=$?
61538 grep -v '^ *+' conftest.er1 >conftest.err
61539 rm -f conftest.er1
61540 cat conftest.err >&5
61541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61542 (exit $ac_status); } &&
61543 { ac_try='test -z "$ac_c_werror_flag"
61544 || test ! -s conftest.err'
61545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61546 (eval $ac_try) 2>&5
61547 ac_status=$?
61548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61549 (exit $ac_status); }; } &&
61550 { ac_try='test -s conftest$ac_exeext'
61551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61552 (eval $ac_try) 2>&5
61553 ac_status=$?
61554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61555 (exit $ac_status); }; }; then
61556 eval "$as_ac_var=yes"
61557 else
61558 echo "$as_me: failed program was:" >&5
61559 sed 's/^/| /' conftest.$ac_ext >&5
61561 eval "$as_ac_var=no"
61563 rm -f conftest.err conftest.$ac_objext \
61564 conftest$ac_exeext conftest.$ac_ext
61566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61568 if test `eval echo '${'$as_ac_var'}'` = yes; then
61569 cat >>confdefs.h <<_ACEOF
61570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61571 _ACEOF
61574 done
61576 else
61578 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
61579 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
61580 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61581 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
61582 echo $ECHO_N "(cached) $ECHO_C" >&6
61583 else
61587 ac_ext=cc
61588 ac_cpp='$CXXCPP $CPPFLAGS'
61589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61593 cat >conftest.$ac_ext <<_ACEOF
61594 /* confdefs.h. */
61595 _ACEOF
61596 cat confdefs.h >>conftest.$ac_ext
61597 cat >>conftest.$ac_ext <<_ACEOF
61598 /* end confdefs.h. */
61599 #include <math.h>
61600 #ifdef HAVE_IEEEFP_H
61601 #include <ieeefp.h>
61602 #endif
61605 main ()
61607 _qfpclass(0);
61609 return 0;
61611 _ACEOF
61612 rm -f conftest.$ac_objext
61613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61614 (eval $ac_compile) 2>conftest.er1
61615 ac_status=$?
61616 grep -v '^ *+' conftest.er1 >conftest.err
61617 rm -f conftest.er1
61618 cat conftest.err >&5
61619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61620 (exit $ac_status); } &&
61621 { ac_try='test -z "$ac_cxx_werror_flag"
61622 || test ! -s conftest.err'
61623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61624 (eval $ac_try) 2>&5
61625 ac_status=$?
61626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61627 (exit $ac_status); }; } &&
61628 { ac_try='test -s conftest.$ac_objext'
61629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61630 (eval $ac_try) 2>&5
61631 ac_status=$?
61632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61633 (exit $ac_status); }; }; then
61634 glibcxx_cv_func__qfpclass_use=yes
61635 else
61636 echo "$as_me: failed program was:" >&5
61637 sed 's/^/| /' conftest.$ac_ext >&5
61639 glibcxx_cv_func__qfpclass_use=no
61641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61642 ac_ext=c
61643 ac_cpp='$CPP $CPPFLAGS'
61644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61652 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
61653 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
61655 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61657 for ac_func in _qfpclass
61659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61660 echo "$as_me:$LINENO: checking for $ac_func" >&5
61661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61662 if eval "test \"\${$as_ac_var+set}\" = set"; then
61663 echo $ECHO_N "(cached) $ECHO_C" >&6
61664 else
61665 if test x$gcc_no_link = xyes; then
61666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61668 { (exit 1); exit 1; }; }
61670 cat >conftest.$ac_ext <<_ACEOF
61671 /* confdefs.h. */
61672 _ACEOF
61673 cat confdefs.h >>conftest.$ac_ext
61674 cat >>conftest.$ac_ext <<_ACEOF
61675 /* end confdefs.h. */
61676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61678 #define $ac_func innocuous_$ac_func
61680 /* System header to define __stub macros and hopefully few prototypes,
61681 which can conflict with char $ac_func (); below.
61682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61683 <limits.h> exists even on freestanding compilers. */
61685 #ifdef __STDC__
61686 # include <limits.h>
61687 #else
61688 # include <assert.h>
61689 #endif
61691 #undef $ac_func
61693 /* Override any gcc2 internal prototype to avoid an error. */
61694 #ifdef __cplusplus
61695 extern "C"
61697 #endif
61698 /* We use char because int might match the return type of a gcc2
61699 builtin and then its argument prototype would still apply. */
61700 char $ac_func ();
61701 /* The GNU C library defines this for functions which it implements
61702 to always fail with ENOSYS. Some functions are actually named
61703 something starting with __ and the normal name is an alias. */
61704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61705 choke me
61706 #else
61707 char (*f) () = $ac_func;
61708 #endif
61709 #ifdef __cplusplus
61711 #endif
61714 main ()
61716 return f != $ac_func;
61718 return 0;
61720 _ACEOF
61721 rm -f conftest.$ac_objext conftest$ac_exeext
61722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61723 (eval $ac_link) 2>conftest.er1
61724 ac_status=$?
61725 grep -v '^ *+' conftest.er1 >conftest.err
61726 rm -f conftest.er1
61727 cat conftest.err >&5
61728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61729 (exit $ac_status); } &&
61730 { ac_try='test -z "$ac_c_werror_flag"
61731 || test ! -s conftest.err'
61732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61733 (eval $ac_try) 2>&5
61734 ac_status=$?
61735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61736 (exit $ac_status); }; } &&
61737 { ac_try='test -s conftest$ac_exeext'
61738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61739 (eval $ac_try) 2>&5
61740 ac_status=$?
61741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61742 (exit $ac_status); }; }; then
61743 eval "$as_ac_var=yes"
61744 else
61745 echo "$as_me: failed program was:" >&5
61746 sed 's/^/| /' conftest.$ac_ext >&5
61748 eval "$as_ac_var=no"
61750 rm -f conftest.err conftest.$ac_objext \
61751 conftest$ac_exeext conftest.$ac_ext
61753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61755 if test `eval echo '${'$as_ac_var'}'` = yes; then
61756 cat >>confdefs.h <<_ACEOF
61757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61758 _ACEOF
61761 done
61771 echo "$as_me:$LINENO: checking for hypot declaration" >&5
61772 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
61773 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61774 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
61775 echo $ECHO_N "(cached) $ECHO_C" >&6
61776 else
61780 ac_ext=cc
61781 ac_cpp='$CXXCPP $CPPFLAGS'
61782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61786 cat >conftest.$ac_ext <<_ACEOF
61787 /* confdefs.h. */
61788 _ACEOF
61789 cat confdefs.h >>conftest.$ac_ext
61790 cat >>conftest.$ac_ext <<_ACEOF
61791 /* end confdefs.h. */
61792 #include <math.h>
61794 main ()
61796 hypot(0, 0);
61798 return 0;
61800 _ACEOF
61801 rm -f conftest.$ac_objext
61802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61803 (eval $ac_compile) 2>conftest.er1
61804 ac_status=$?
61805 grep -v '^ *+' conftest.er1 >conftest.err
61806 rm -f conftest.er1
61807 cat conftest.err >&5
61808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61809 (exit $ac_status); } &&
61810 { ac_try='test -z "$ac_cxx_werror_flag"
61811 || test ! -s conftest.err'
61812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61813 (eval $ac_try) 2>&5
61814 ac_status=$?
61815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61816 (exit $ac_status); }; } &&
61817 { ac_try='test -s conftest.$ac_objext'
61818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61819 (eval $ac_try) 2>&5
61820 ac_status=$?
61821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61822 (exit $ac_status); }; }; then
61823 glibcxx_cv_func_hypot_use=yes
61824 else
61825 echo "$as_me: failed program was:" >&5
61826 sed 's/^/| /' conftest.$ac_ext >&5
61828 glibcxx_cv_func_hypot_use=no
61830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61831 ac_ext=c
61832 ac_cpp='$CPP $CPPFLAGS'
61833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61841 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
61842 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
61844 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61846 for ac_func in hypot
61848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61849 echo "$as_me:$LINENO: checking for $ac_func" >&5
61850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61851 if eval "test \"\${$as_ac_var+set}\" = set"; then
61852 echo $ECHO_N "(cached) $ECHO_C" >&6
61853 else
61854 if test x$gcc_no_link = xyes; then
61855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61857 { (exit 1); exit 1; }; }
61859 cat >conftest.$ac_ext <<_ACEOF
61860 /* confdefs.h. */
61861 _ACEOF
61862 cat confdefs.h >>conftest.$ac_ext
61863 cat >>conftest.$ac_ext <<_ACEOF
61864 /* end confdefs.h. */
61865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61867 #define $ac_func innocuous_$ac_func
61869 /* System header to define __stub macros and hopefully few prototypes,
61870 which can conflict with char $ac_func (); below.
61871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61872 <limits.h> exists even on freestanding compilers. */
61874 #ifdef __STDC__
61875 # include <limits.h>
61876 #else
61877 # include <assert.h>
61878 #endif
61880 #undef $ac_func
61882 /* Override any gcc2 internal prototype to avoid an error. */
61883 #ifdef __cplusplus
61884 extern "C"
61886 #endif
61887 /* We use char because int might match the return type of a gcc2
61888 builtin and then its argument prototype would still apply. */
61889 char $ac_func ();
61890 /* The GNU C library defines this for functions which it implements
61891 to always fail with ENOSYS. Some functions are actually named
61892 something starting with __ and the normal name is an alias. */
61893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61894 choke me
61895 #else
61896 char (*f) () = $ac_func;
61897 #endif
61898 #ifdef __cplusplus
61900 #endif
61903 main ()
61905 return f != $ac_func;
61907 return 0;
61909 _ACEOF
61910 rm -f conftest.$ac_objext conftest$ac_exeext
61911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61912 (eval $ac_link) 2>conftest.er1
61913 ac_status=$?
61914 grep -v '^ *+' conftest.er1 >conftest.err
61915 rm -f conftest.er1
61916 cat conftest.err >&5
61917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61918 (exit $ac_status); } &&
61919 { ac_try='test -z "$ac_c_werror_flag"
61920 || test ! -s conftest.err'
61921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61922 (eval $ac_try) 2>&5
61923 ac_status=$?
61924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61925 (exit $ac_status); }; } &&
61926 { ac_try='test -s conftest$ac_exeext'
61927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61928 (eval $ac_try) 2>&5
61929 ac_status=$?
61930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61931 (exit $ac_status); }; }; then
61932 eval "$as_ac_var=yes"
61933 else
61934 echo "$as_me: failed program was:" >&5
61935 sed 's/^/| /' conftest.$ac_ext >&5
61937 eval "$as_ac_var=no"
61939 rm -f conftest.err conftest.$ac_objext \
61940 conftest$ac_exeext conftest.$ac_ext
61942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61944 if test `eval echo '${'$as_ac_var'}'` = yes; then
61945 cat >>confdefs.h <<_ACEOF
61946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61947 _ACEOF
61950 done
61952 else
61954 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
61955 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
61956 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61957 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
61958 echo $ECHO_N "(cached) $ECHO_C" >&6
61959 else
61963 ac_ext=cc
61964 ac_cpp='$CXXCPP $CPPFLAGS'
61965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61969 cat >conftest.$ac_ext <<_ACEOF
61970 /* confdefs.h. */
61971 _ACEOF
61972 cat confdefs.h >>conftest.$ac_ext
61973 cat >>conftest.$ac_ext <<_ACEOF
61974 /* end confdefs.h. */
61975 #include <math.h>
61977 main ()
61979 _hypot(0, 0);
61981 return 0;
61983 _ACEOF
61984 rm -f conftest.$ac_objext
61985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61986 (eval $ac_compile) 2>conftest.er1
61987 ac_status=$?
61988 grep -v '^ *+' conftest.er1 >conftest.err
61989 rm -f conftest.er1
61990 cat conftest.err >&5
61991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61992 (exit $ac_status); } &&
61993 { ac_try='test -z "$ac_cxx_werror_flag"
61994 || test ! -s conftest.err'
61995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61996 (eval $ac_try) 2>&5
61997 ac_status=$?
61998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61999 (exit $ac_status); }; } &&
62000 { ac_try='test -s conftest.$ac_objext'
62001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62002 (eval $ac_try) 2>&5
62003 ac_status=$?
62004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62005 (exit $ac_status); }; }; then
62006 glibcxx_cv_func__hypot_use=yes
62007 else
62008 echo "$as_me: failed program was:" >&5
62009 sed 's/^/| /' conftest.$ac_ext >&5
62011 glibcxx_cv_func__hypot_use=no
62013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62014 ac_ext=c
62015 ac_cpp='$CPP $CPPFLAGS'
62016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62024 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
62025 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
62027 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
62029 for ac_func in _hypot
62031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62032 echo "$as_me:$LINENO: checking for $ac_func" >&5
62033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62034 if eval "test \"\${$as_ac_var+set}\" = set"; then
62035 echo $ECHO_N "(cached) $ECHO_C" >&6
62036 else
62037 if test x$gcc_no_link = xyes; then
62038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62040 { (exit 1); exit 1; }; }
62042 cat >conftest.$ac_ext <<_ACEOF
62043 /* confdefs.h. */
62044 _ACEOF
62045 cat confdefs.h >>conftest.$ac_ext
62046 cat >>conftest.$ac_ext <<_ACEOF
62047 /* end confdefs.h. */
62048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62050 #define $ac_func innocuous_$ac_func
62052 /* System header to define __stub macros and hopefully few prototypes,
62053 which can conflict with char $ac_func (); below.
62054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62055 <limits.h> exists even on freestanding compilers. */
62057 #ifdef __STDC__
62058 # include <limits.h>
62059 #else
62060 # include <assert.h>
62061 #endif
62063 #undef $ac_func
62065 /* Override any gcc2 internal prototype to avoid an error. */
62066 #ifdef __cplusplus
62067 extern "C"
62069 #endif
62070 /* We use char because int might match the return type of a gcc2
62071 builtin and then its argument prototype would still apply. */
62072 char $ac_func ();
62073 /* The GNU C library defines this for functions which it implements
62074 to always fail with ENOSYS. Some functions are actually named
62075 something starting with __ and the normal name is an alias. */
62076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62077 choke me
62078 #else
62079 char (*f) () = $ac_func;
62080 #endif
62081 #ifdef __cplusplus
62083 #endif
62086 main ()
62088 return f != $ac_func;
62090 return 0;
62092 _ACEOF
62093 rm -f conftest.$ac_objext conftest$ac_exeext
62094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62095 (eval $ac_link) 2>conftest.er1
62096 ac_status=$?
62097 grep -v '^ *+' conftest.er1 >conftest.err
62098 rm -f conftest.er1
62099 cat conftest.err >&5
62100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62101 (exit $ac_status); } &&
62102 { ac_try='test -z "$ac_c_werror_flag"
62103 || test ! -s conftest.err'
62104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62105 (eval $ac_try) 2>&5
62106 ac_status=$?
62107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62108 (exit $ac_status); }; } &&
62109 { ac_try='test -s conftest$ac_exeext'
62110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62111 (eval $ac_try) 2>&5
62112 ac_status=$?
62113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62114 (exit $ac_status); }; }; then
62115 eval "$as_ac_var=yes"
62116 else
62117 echo "$as_me: failed program was:" >&5
62118 sed 's/^/| /' conftest.$ac_ext >&5
62120 eval "$as_ac_var=no"
62122 rm -f conftest.err conftest.$ac_objext \
62123 conftest$ac_exeext conftest.$ac_ext
62125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62127 if test `eval echo '${'$as_ac_var'}'` = yes; then
62128 cat >>confdefs.h <<_ACEOF
62129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62130 _ACEOF
62133 done
62143 echo "$as_me:$LINENO: checking for float trig functions" >&5
62144 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
62145 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
62146 echo $ECHO_N "(cached) $ECHO_C" >&6
62147 else
62151 ac_ext=cc
62152 ac_cpp='$CXXCPP $CPPFLAGS'
62153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62157 cat >conftest.$ac_ext <<_ACEOF
62158 /* confdefs.h. */
62159 _ACEOF
62160 cat confdefs.h >>conftest.$ac_ext
62161 cat >>conftest.$ac_ext <<_ACEOF
62162 /* end confdefs.h. */
62163 #include <math.h>
62165 main ()
62167 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
62169 return 0;
62171 _ACEOF
62172 rm -f conftest.$ac_objext
62173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62174 (eval $ac_compile) 2>conftest.er1
62175 ac_status=$?
62176 grep -v '^ *+' conftest.er1 >conftest.err
62177 rm -f conftest.er1
62178 cat conftest.err >&5
62179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62180 (exit $ac_status); } &&
62181 { ac_try='test -z "$ac_cxx_werror_flag"
62182 || test ! -s conftest.err'
62183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62184 (eval $ac_try) 2>&5
62185 ac_status=$?
62186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62187 (exit $ac_status); }; } &&
62188 { ac_try='test -s conftest.$ac_objext'
62189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62190 (eval $ac_try) 2>&5
62191 ac_status=$?
62192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62193 (exit $ac_status); }; }; then
62194 glibcxx_cv_func_float_trig_use=yes
62195 else
62196 echo "$as_me: failed program was:" >&5
62197 sed 's/^/| /' conftest.$ac_ext >&5
62199 glibcxx_cv_func_float_trig_use=no
62201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62202 ac_ext=c
62203 ac_cpp='$CPP $CPPFLAGS'
62204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62210 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
62211 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
62212 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
62222 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
62224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62225 echo "$as_me:$LINENO: checking for $ac_func" >&5
62226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62227 if eval "test \"\${$as_ac_var+set}\" = set"; then
62228 echo $ECHO_N "(cached) $ECHO_C" >&6
62229 else
62230 if test x$gcc_no_link = xyes; then
62231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62233 { (exit 1); exit 1; }; }
62235 cat >conftest.$ac_ext <<_ACEOF
62236 /* confdefs.h. */
62237 _ACEOF
62238 cat confdefs.h >>conftest.$ac_ext
62239 cat >>conftest.$ac_ext <<_ACEOF
62240 /* end confdefs.h. */
62241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62243 #define $ac_func innocuous_$ac_func
62245 /* System header to define __stub macros and hopefully few prototypes,
62246 which can conflict with char $ac_func (); below.
62247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62248 <limits.h> exists even on freestanding compilers. */
62250 #ifdef __STDC__
62251 # include <limits.h>
62252 #else
62253 # include <assert.h>
62254 #endif
62256 #undef $ac_func
62258 /* Override any gcc2 internal prototype to avoid an error. */
62259 #ifdef __cplusplus
62260 extern "C"
62262 #endif
62263 /* We use char because int might match the return type of a gcc2
62264 builtin and then its argument prototype would still apply. */
62265 char $ac_func ();
62266 /* The GNU C library defines this for functions which it implements
62267 to always fail with ENOSYS. Some functions are actually named
62268 something starting with __ and the normal name is an alias. */
62269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62270 choke me
62271 #else
62272 char (*f) () = $ac_func;
62273 #endif
62274 #ifdef __cplusplus
62276 #endif
62279 main ()
62281 return f != $ac_func;
62283 return 0;
62285 _ACEOF
62286 rm -f conftest.$ac_objext conftest$ac_exeext
62287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62288 (eval $ac_link) 2>conftest.er1
62289 ac_status=$?
62290 grep -v '^ *+' conftest.er1 >conftest.err
62291 rm -f conftest.er1
62292 cat conftest.err >&5
62293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62294 (exit $ac_status); } &&
62295 { ac_try='test -z "$ac_c_werror_flag"
62296 || test ! -s conftest.err'
62297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62298 (eval $ac_try) 2>&5
62299 ac_status=$?
62300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62301 (exit $ac_status); }; } &&
62302 { ac_try='test -s conftest$ac_exeext'
62303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62304 (eval $ac_try) 2>&5
62305 ac_status=$?
62306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62307 (exit $ac_status); }; }; then
62308 eval "$as_ac_var=yes"
62309 else
62310 echo "$as_me: failed program was:" >&5
62311 sed 's/^/| /' conftest.$ac_ext >&5
62313 eval "$as_ac_var=no"
62315 rm -f conftest.err conftest.$ac_objext \
62316 conftest$ac_exeext conftest.$ac_ext
62318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62320 if test `eval echo '${'$as_ac_var'}'` = yes; then
62321 cat >>confdefs.h <<_ACEOF
62322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62323 _ACEOF
62326 done
62328 else
62329 echo "$as_me:$LINENO: checking for _float trig functions" >&5
62330 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
62331 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
62332 echo $ECHO_N "(cached) $ECHO_C" >&6
62333 else
62337 ac_ext=cc
62338 ac_cpp='$CXXCPP $CPPFLAGS'
62339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62343 cat >conftest.$ac_ext <<_ACEOF
62344 /* confdefs.h. */
62345 _ACEOF
62346 cat confdefs.h >>conftest.$ac_ext
62347 cat >>conftest.$ac_ext <<_ACEOF
62348 /* end confdefs.h. */
62349 #include <math.h>
62351 main ()
62353 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62355 return 0;
62357 _ACEOF
62358 rm -f conftest.$ac_objext
62359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62360 (eval $ac_compile) 2>conftest.er1
62361 ac_status=$?
62362 grep -v '^ *+' conftest.er1 >conftest.err
62363 rm -f conftest.er1
62364 cat conftest.err >&5
62365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62366 (exit $ac_status); } &&
62367 { ac_try='test -z "$ac_cxx_werror_flag"
62368 || test ! -s conftest.err'
62369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62370 (eval $ac_try) 2>&5
62371 ac_status=$?
62372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62373 (exit $ac_status); }; } &&
62374 { ac_try='test -s conftest.$ac_objext'
62375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62376 (eval $ac_try) 2>&5
62377 ac_status=$?
62378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62379 (exit $ac_status); }; }; then
62380 glibcxx_cv_func__float_trig_use=yes
62381 else
62382 echo "$as_me: failed program was:" >&5
62383 sed 's/^/| /' conftest.$ac_ext >&5
62385 glibcxx_cv_func__float_trig_use=no
62387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62388 ac_ext=c
62389 ac_cpp='$CPP $CPPFLAGS'
62390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62396 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
62397 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
62398 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62408 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62411 echo "$as_me:$LINENO: checking for $ac_func" >&5
62412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62413 if eval "test \"\${$as_ac_var+set}\" = set"; then
62414 echo $ECHO_N "(cached) $ECHO_C" >&6
62415 else
62416 if test x$gcc_no_link = xyes; then
62417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62419 { (exit 1); exit 1; }; }
62421 cat >conftest.$ac_ext <<_ACEOF
62422 /* confdefs.h. */
62423 _ACEOF
62424 cat confdefs.h >>conftest.$ac_ext
62425 cat >>conftest.$ac_ext <<_ACEOF
62426 /* end confdefs.h. */
62427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62429 #define $ac_func innocuous_$ac_func
62431 /* System header to define __stub macros and hopefully few prototypes,
62432 which can conflict with char $ac_func (); below.
62433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62434 <limits.h> exists even on freestanding compilers. */
62436 #ifdef __STDC__
62437 # include <limits.h>
62438 #else
62439 # include <assert.h>
62440 #endif
62442 #undef $ac_func
62444 /* Override any gcc2 internal prototype to avoid an error. */
62445 #ifdef __cplusplus
62446 extern "C"
62448 #endif
62449 /* We use char because int might match the return type of a gcc2
62450 builtin and then its argument prototype would still apply. */
62451 char $ac_func ();
62452 /* The GNU C library defines this for functions which it implements
62453 to always fail with ENOSYS. Some functions are actually named
62454 something starting with __ and the normal name is an alias. */
62455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62456 choke me
62457 #else
62458 char (*f) () = $ac_func;
62459 #endif
62460 #ifdef __cplusplus
62462 #endif
62465 main ()
62467 return f != $ac_func;
62469 return 0;
62471 _ACEOF
62472 rm -f conftest.$ac_objext conftest$ac_exeext
62473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62474 (eval $ac_link) 2>conftest.er1
62475 ac_status=$?
62476 grep -v '^ *+' conftest.er1 >conftest.err
62477 rm -f conftest.er1
62478 cat conftest.err >&5
62479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62480 (exit $ac_status); } &&
62481 { ac_try='test -z "$ac_c_werror_flag"
62482 || test ! -s conftest.err'
62483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62484 (eval $ac_try) 2>&5
62485 ac_status=$?
62486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62487 (exit $ac_status); }; } &&
62488 { ac_try='test -s conftest$ac_exeext'
62489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62490 (eval $ac_try) 2>&5
62491 ac_status=$?
62492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62493 (exit $ac_status); }; }; then
62494 eval "$as_ac_var=yes"
62495 else
62496 echo "$as_me: failed program was:" >&5
62497 sed 's/^/| /' conftest.$ac_ext >&5
62499 eval "$as_ac_var=no"
62501 rm -f conftest.err conftest.$ac_objext \
62502 conftest$ac_exeext conftest.$ac_ext
62504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62506 if test `eval echo '${'$as_ac_var'}'` = yes; then
62507 cat >>confdefs.h <<_ACEOF
62508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62509 _ACEOF
62512 done
62530 echo "$as_me:$LINENO: checking for float round functions" >&5
62531 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
62532 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
62533 echo $ECHO_N "(cached) $ECHO_C" >&6
62534 else
62538 ac_ext=cc
62539 ac_cpp='$CXXCPP $CPPFLAGS'
62540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62544 cat >conftest.$ac_ext <<_ACEOF
62545 /* confdefs.h. */
62546 _ACEOF
62547 cat confdefs.h >>conftest.$ac_ext
62548 cat >>conftest.$ac_ext <<_ACEOF
62549 /* end confdefs.h. */
62550 #include <math.h>
62552 main ()
62554 ceilf (0); floorf (0);
62556 return 0;
62558 _ACEOF
62559 rm -f conftest.$ac_objext
62560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62561 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_float_round_use=yes
62582 else
62583 echo "$as_me: failed program was:" >&5
62584 sed 's/^/| /' conftest.$ac_ext >&5
62586 glibcxx_cv_func_float_round_use=no
62588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62589 ac_ext=c
62590 ac_cpp='$CPP $CPPFLAGS'
62591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62597 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
62598 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
62599 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62602 for ac_func in ceilf floorf
62604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62605 echo "$as_me:$LINENO: checking for $ac_func" >&5
62606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62607 if eval "test \"\${$as_ac_var+set}\" = set"; then
62608 echo $ECHO_N "(cached) $ECHO_C" >&6
62609 else
62610 if test x$gcc_no_link = xyes; then
62611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62613 { (exit 1); exit 1; }; }
62615 cat >conftest.$ac_ext <<_ACEOF
62616 /* confdefs.h. */
62617 _ACEOF
62618 cat confdefs.h >>conftest.$ac_ext
62619 cat >>conftest.$ac_ext <<_ACEOF
62620 /* end confdefs.h. */
62621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62623 #define $ac_func innocuous_$ac_func
62625 /* System header to define __stub macros and hopefully few prototypes,
62626 which can conflict with char $ac_func (); below.
62627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62628 <limits.h> exists even on freestanding compilers. */
62630 #ifdef __STDC__
62631 # include <limits.h>
62632 #else
62633 # include <assert.h>
62634 #endif
62636 #undef $ac_func
62638 /* Override any gcc2 internal prototype to avoid an error. */
62639 #ifdef __cplusplus
62640 extern "C"
62642 #endif
62643 /* We use char because int might match the return type of a gcc2
62644 builtin and then its argument prototype would still apply. */
62645 char $ac_func ();
62646 /* The GNU C library defines this for functions which it implements
62647 to always fail with ENOSYS. Some functions are actually named
62648 something starting with __ and the normal name is an alias. */
62649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62650 choke me
62651 #else
62652 char (*f) () = $ac_func;
62653 #endif
62654 #ifdef __cplusplus
62656 #endif
62659 main ()
62661 return f != $ac_func;
62663 return 0;
62665 _ACEOF
62666 rm -f conftest.$ac_objext conftest$ac_exeext
62667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62668 (eval $ac_link) 2>conftest.er1
62669 ac_status=$?
62670 grep -v '^ *+' conftest.er1 >conftest.err
62671 rm -f conftest.er1
62672 cat conftest.err >&5
62673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62674 (exit $ac_status); } &&
62675 { ac_try='test -z "$ac_c_werror_flag"
62676 || test ! -s conftest.err'
62677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62678 (eval $ac_try) 2>&5
62679 ac_status=$?
62680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62681 (exit $ac_status); }; } &&
62682 { ac_try='test -s conftest$ac_exeext'
62683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62684 (eval $ac_try) 2>&5
62685 ac_status=$?
62686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62687 (exit $ac_status); }; }; then
62688 eval "$as_ac_var=yes"
62689 else
62690 echo "$as_me: failed program was:" >&5
62691 sed 's/^/| /' conftest.$ac_ext >&5
62693 eval "$as_ac_var=no"
62695 rm -f conftest.err conftest.$ac_objext \
62696 conftest$ac_exeext conftest.$ac_ext
62698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62700 if test `eval echo '${'$as_ac_var'}'` = yes; then
62701 cat >>confdefs.h <<_ACEOF
62702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62703 _ACEOF
62706 done
62708 else
62709 echo "$as_me:$LINENO: checking for _float round functions" >&5
62710 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
62711 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
62712 echo $ECHO_N "(cached) $ECHO_C" >&6
62713 else
62717 ac_ext=cc
62718 ac_cpp='$CXXCPP $CPPFLAGS'
62719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62723 cat >conftest.$ac_ext <<_ACEOF
62724 /* confdefs.h. */
62725 _ACEOF
62726 cat confdefs.h >>conftest.$ac_ext
62727 cat >>conftest.$ac_ext <<_ACEOF
62728 /* end confdefs.h. */
62729 #include <math.h>
62731 main ()
62733 _ceilf (0); _floorf (0);
62735 return 0;
62737 _ACEOF
62738 rm -f conftest.$ac_objext
62739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62740 (eval $ac_compile) 2>conftest.er1
62741 ac_status=$?
62742 grep -v '^ *+' conftest.er1 >conftest.err
62743 rm -f conftest.er1
62744 cat conftest.err >&5
62745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62746 (exit $ac_status); } &&
62747 { ac_try='test -z "$ac_cxx_werror_flag"
62748 || test ! -s conftest.err'
62749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62750 (eval $ac_try) 2>&5
62751 ac_status=$?
62752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62753 (exit $ac_status); }; } &&
62754 { ac_try='test -s conftest.$ac_objext'
62755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62756 (eval $ac_try) 2>&5
62757 ac_status=$?
62758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62759 (exit $ac_status); }; }; then
62760 glibcxx_cv_func__float_round_use=yes
62761 else
62762 echo "$as_me: failed program was:" >&5
62763 sed 's/^/| /' conftest.$ac_ext >&5
62765 glibcxx_cv_func__float_round_use=no
62767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62768 ac_ext=c
62769 ac_cpp='$CPP $CPPFLAGS'
62770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62776 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
62777 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
62778 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62781 for ac_func in _ceilf _floorf
62783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62784 echo "$as_me:$LINENO: checking for $ac_func" >&5
62785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62786 if eval "test \"\${$as_ac_var+set}\" = set"; then
62787 echo $ECHO_N "(cached) $ECHO_C" >&6
62788 else
62789 if test x$gcc_no_link = xyes; then
62790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62792 { (exit 1); exit 1; }; }
62794 cat >conftest.$ac_ext <<_ACEOF
62795 /* confdefs.h. */
62796 _ACEOF
62797 cat confdefs.h >>conftest.$ac_ext
62798 cat >>conftest.$ac_ext <<_ACEOF
62799 /* end confdefs.h. */
62800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62802 #define $ac_func innocuous_$ac_func
62804 /* System header to define __stub macros and hopefully few prototypes,
62805 which can conflict with char $ac_func (); below.
62806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62807 <limits.h> exists even on freestanding compilers. */
62809 #ifdef __STDC__
62810 # include <limits.h>
62811 #else
62812 # include <assert.h>
62813 #endif
62815 #undef $ac_func
62817 /* Override any gcc2 internal prototype to avoid an error. */
62818 #ifdef __cplusplus
62819 extern "C"
62821 #endif
62822 /* We use char because int might match the return type of a gcc2
62823 builtin and then its argument prototype would still apply. */
62824 char $ac_func ();
62825 /* The GNU C library defines this for functions which it implements
62826 to always fail with ENOSYS. Some functions are actually named
62827 something starting with __ and the normal name is an alias. */
62828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62829 choke me
62830 #else
62831 char (*f) () = $ac_func;
62832 #endif
62833 #ifdef __cplusplus
62835 #endif
62838 main ()
62840 return f != $ac_func;
62842 return 0;
62844 _ACEOF
62845 rm -f conftest.$ac_objext conftest$ac_exeext
62846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62847 (eval $ac_link) 2>conftest.er1
62848 ac_status=$?
62849 grep -v '^ *+' conftest.er1 >conftest.err
62850 rm -f conftest.er1
62851 cat conftest.err >&5
62852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62853 (exit $ac_status); } &&
62854 { ac_try='test -z "$ac_c_werror_flag"
62855 || test ! -s conftest.err'
62856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62857 (eval $ac_try) 2>&5
62858 ac_status=$?
62859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62860 (exit $ac_status); }; } &&
62861 { ac_try='test -s conftest$ac_exeext'
62862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62863 (eval $ac_try) 2>&5
62864 ac_status=$?
62865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62866 (exit $ac_status); }; }; then
62867 eval "$as_ac_var=yes"
62868 else
62869 echo "$as_me: failed program was:" >&5
62870 sed 's/^/| /' conftest.$ac_ext >&5
62872 eval "$as_ac_var=no"
62874 rm -f conftest.err conftest.$ac_objext \
62875 conftest$ac_exeext conftest.$ac_ext
62877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62879 if test `eval echo '${'$as_ac_var'}'` = yes; then
62880 cat >>confdefs.h <<_ACEOF
62881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62882 _ACEOF
62885 done
62897 echo "$as_me:$LINENO: checking for expf declaration" >&5
62898 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
62899 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62900 if test "${glibcxx_cv_func_expf_use+set}" = set; then
62901 echo $ECHO_N "(cached) $ECHO_C" >&6
62902 else
62906 ac_ext=cc
62907 ac_cpp='$CXXCPP $CPPFLAGS'
62908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62912 cat >conftest.$ac_ext <<_ACEOF
62913 /* confdefs.h. */
62914 _ACEOF
62915 cat confdefs.h >>conftest.$ac_ext
62916 cat >>conftest.$ac_ext <<_ACEOF
62917 /* end confdefs.h. */
62918 #include <math.h>
62919 #ifdef HAVE_IEEEFP_H
62920 #include <ieeefp.h>
62921 #endif
62924 main ()
62926 expf(0);
62928 return 0;
62930 _ACEOF
62931 rm -f conftest.$ac_objext
62932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62933 (eval $ac_compile) 2>conftest.er1
62934 ac_status=$?
62935 grep -v '^ *+' conftest.er1 >conftest.err
62936 rm -f conftest.er1
62937 cat conftest.err >&5
62938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62939 (exit $ac_status); } &&
62940 { ac_try='test -z "$ac_cxx_werror_flag"
62941 || test ! -s conftest.err'
62942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62943 (eval $ac_try) 2>&5
62944 ac_status=$?
62945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62946 (exit $ac_status); }; } &&
62947 { ac_try='test -s conftest.$ac_objext'
62948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62949 (eval $ac_try) 2>&5
62950 ac_status=$?
62951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62952 (exit $ac_status); }; }; then
62953 glibcxx_cv_func_expf_use=yes
62954 else
62955 echo "$as_me: failed program was:" >&5
62956 sed 's/^/| /' conftest.$ac_ext >&5
62958 glibcxx_cv_func_expf_use=no
62960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62961 ac_ext=c
62962 ac_cpp='$CPP $CPPFLAGS'
62963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62971 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
62972 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
62974 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62976 for ac_func in expf
62978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62979 echo "$as_me:$LINENO: checking for $ac_func" >&5
62980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62981 if eval "test \"\${$as_ac_var+set}\" = set"; then
62982 echo $ECHO_N "(cached) $ECHO_C" >&6
62983 else
62984 if test x$gcc_no_link = xyes; then
62985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62987 { (exit 1); exit 1; }; }
62989 cat >conftest.$ac_ext <<_ACEOF
62990 /* confdefs.h. */
62991 _ACEOF
62992 cat confdefs.h >>conftest.$ac_ext
62993 cat >>conftest.$ac_ext <<_ACEOF
62994 /* end confdefs.h. */
62995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62997 #define $ac_func innocuous_$ac_func
62999 /* System header to define __stub macros and hopefully few prototypes,
63000 which can conflict with char $ac_func (); below.
63001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63002 <limits.h> exists even on freestanding compilers. */
63004 #ifdef __STDC__
63005 # include <limits.h>
63006 #else
63007 # include <assert.h>
63008 #endif
63010 #undef $ac_func
63012 /* Override any gcc2 internal prototype to avoid an error. */
63013 #ifdef __cplusplus
63014 extern "C"
63016 #endif
63017 /* We use char because int might match the return type of a gcc2
63018 builtin and then its argument prototype would still apply. */
63019 char $ac_func ();
63020 /* The GNU C library defines this for functions which it implements
63021 to always fail with ENOSYS. Some functions are actually named
63022 something starting with __ and the normal name is an alias. */
63023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63024 choke me
63025 #else
63026 char (*f) () = $ac_func;
63027 #endif
63028 #ifdef __cplusplus
63030 #endif
63033 main ()
63035 return f != $ac_func;
63037 return 0;
63039 _ACEOF
63040 rm -f conftest.$ac_objext conftest$ac_exeext
63041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63042 (eval $ac_link) 2>conftest.er1
63043 ac_status=$?
63044 grep -v '^ *+' conftest.er1 >conftest.err
63045 rm -f conftest.er1
63046 cat conftest.err >&5
63047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63048 (exit $ac_status); } &&
63049 { ac_try='test -z "$ac_c_werror_flag"
63050 || test ! -s conftest.err'
63051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63052 (eval $ac_try) 2>&5
63053 ac_status=$?
63054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63055 (exit $ac_status); }; } &&
63056 { ac_try='test -s conftest$ac_exeext'
63057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63058 (eval $ac_try) 2>&5
63059 ac_status=$?
63060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63061 (exit $ac_status); }; }; then
63062 eval "$as_ac_var=yes"
63063 else
63064 echo "$as_me: failed program was:" >&5
63065 sed 's/^/| /' conftest.$ac_ext >&5
63067 eval "$as_ac_var=no"
63069 rm -f conftest.err conftest.$ac_objext \
63070 conftest$ac_exeext conftest.$ac_ext
63072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63074 if test `eval echo '${'$as_ac_var'}'` = yes; then
63075 cat >>confdefs.h <<_ACEOF
63076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63077 _ACEOF
63080 done
63082 else
63084 echo "$as_me:$LINENO: checking for _expf declaration" >&5
63085 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
63086 if test x${glibcxx_cv_func__expf_use+set} != xset; then
63087 if test "${glibcxx_cv_func__expf_use+set}" = set; then
63088 echo $ECHO_N "(cached) $ECHO_C" >&6
63089 else
63093 ac_ext=cc
63094 ac_cpp='$CXXCPP $CPPFLAGS'
63095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63099 cat >conftest.$ac_ext <<_ACEOF
63100 /* confdefs.h. */
63101 _ACEOF
63102 cat confdefs.h >>conftest.$ac_ext
63103 cat >>conftest.$ac_ext <<_ACEOF
63104 /* end confdefs.h. */
63105 #include <math.h>
63106 #ifdef HAVE_IEEEFP_H
63107 #include <ieeefp.h>
63108 #endif
63111 main ()
63113 _expf(0);
63115 return 0;
63117 _ACEOF
63118 rm -f conftest.$ac_objext
63119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63120 (eval $ac_compile) 2>conftest.er1
63121 ac_status=$?
63122 grep -v '^ *+' conftest.er1 >conftest.err
63123 rm -f conftest.er1
63124 cat conftest.err >&5
63125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63126 (exit $ac_status); } &&
63127 { ac_try='test -z "$ac_cxx_werror_flag"
63128 || test ! -s conftest.err'
63129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63130 (eval $ac_try) 2>&5
63131 ac_status=$?
63132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63133 (exit $ac_status); }; } &&
63134 { ac_try='test -s conftest.$ac_objext'
63135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63136 (eval $ac_try) 2>&5
63137 ac_status=$?
63138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63139 (exit $ac_status); }; }; then
63140 glibcxx_cv_func__expf_use=yes
63141 else
63142 echo "$as_me: failed program was:" >&5
63143 sed 's/^/| /' conftest.$ac_ext >&5
63145 glibcxx_cv_func__expf_use=no
63147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63148 ac_ext=c
63149 ac_cpp='$CPP $CPPFLAGS'
63150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63158 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
63159 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
63161 if test x$glibcxx_cv_func__expf_use = x"yes"; then
63163 for ac_func in _expf
63165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63166 echo "$as_me:$LINENO: checking for $ac_func" >&5
63167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63168 if eval "test \"\${$as_ac_var+set}\" = set"; then
63169 echo $ECHO_N "(cached) $ECHO_C" >&6
63170 else
63171 if test x$gcc_no_link = xyes; then
63172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63174 { (exit 1); exit 1; }; }
63176 cat >conftest.$ac_ext <<_ACEOF
63177 /* confdefs.h. */
63178 _ACEOF
63179 cat confdefs.h >>conftest.$ac_ext
63180 cat >>conftest.$ac_ext <<_ACEOF
63181 /* end confdefs.h. */
63182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63184 #define $ac_func innocuous_$ac_func
63186 /* System header to define __stub macros and hopefully few prototypes,
63187 which can conflict with char $ac_func (); below.
63188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63189 <limits.h> exists even on freestanding compilers. */
63191 #ifdef __STDC__
63192 # include <limits.h>
63193 #else
63194 # include <assert.h>
63195 #endif
63197 #undef $ac_func
63199 /* Override any gcc2 internal prototype to avoid an error. */
63200 #ifdef __cplusplus
63201 extern "C"
63203 #endif
63204 /* We use char because int might match the return type of a gcc2
63205 builtin and then its argument prototype would still apply. */
63206 char $ac_func ();
63207 /* The GNU C library defines this for functions which it implements
63208 to always fail with ENOSYS. Some functions are actually named
63209 something starting with __ and the normal name is an alias. */
63210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63211 choke me
63212 #else
63213 char (*f) () = $ac_func;
63214 #endif
63215 #ifdef __cplusplus
63217 #endif
63220 main ()
63222 return f != $ac_func;
63224 return 0;
63226 _ACEOF
63227 rm -f conftest.$ac_objext conftest$ac_exeext
63228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63229 (eval $ac_link) 2>conftest.er1
63230 ac_status=$?
63231 grep -v '^ *+' conftest.er1 >conftest.err
63232 rm -f conftest.er1
63233 cat conftest.err >&5
63234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63235 (exit $ac_status); } &&
63236 { ac_try='test -z "$ac_c_werror_flag"
63237 || test ! -s conftest.err'
63238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63239 (eval $ac_try) 2>&5
63240 ac_status=$?
63241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63242 (exit $ac_status); }; } &&
63243 { ac_try='test -s conftest$ac_exeext'
63244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63245 (eval $ac_try) 2>&5
63246 ac_status=$?
63247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63248 (exit $ac_status); }; }; then
63249 eval "$as_ac_var=yes"
63250 else
63251 echo "$as_me: failed program was:" >&5
63252 sed 's/^/| /' conftest.$ac_ext >&5
63254 eval "$as_ac_var=no"
63256 rm -f conftest.err conftest.$ac_objext \
63257 conftest$ac_exeext conftest.$ac_ext
63259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63261 if test `eval echo '${'$as_ac_var'}'` = yes; then
63262 cat >>confdefs.h <<_ACEOF
63263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63264 _ACEOF
63267 done
63277 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
63278 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
63279 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
63280 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
63281 echo $ECHO_N "(cached) $ECHO_C" >&6
63282 else
63286 ac_ext=cc
63287 ac_cpp='$CXXCPP $CPPFLAGS'
63288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63292 cat >conftest.$ac_ext <<_ACEOF
63293 /* confdefs.h. */
63294 _ACEOF
63295 cat confdefs.h >>conftest.$ac_ext
63296 cat >>conftest.$ac_ext <<_ACEOF
63297 /* end confdefs.h. */
63298 #include <math.h>
63299 #ifdef HAVE_IEEEFP_H
63300 #include <ieeefp.h>
63301 #endif
63304 main ()
63306 isnanf(0);
63308 return 0;
63310 _ACEOF
63311 rm -f conftest.$ac_objext
63312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63313 (eval $ac_compile) 2>conftest.er1
63314 ac_status=$?
63315 grep -v '^ *+' conftest.er1 >conftest.err
63316 rm -f conftest.er1
63317 cat conftest.err >&5
63318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63319 (exit $ac_status); } &&
63320 { ac_try='test -z "$ac_cxx_werror_flag"
63321 || test ! -s conftest.err'
63322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63323 (eval $ac_try) 2>&5
63324 ac_status=$?
63325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63326 (exit $ac_status); }; } &&
63327 { ac_try='test -s conftest.$ac_objext'
63328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63329 (eval $ac_try) 2>&5
63330 ac_status=$?
63331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63332 (exit $ac_status); }; }; then
63333 glibcxx_cv_func_isnanf_use=yes
63334 else
63335 echo "$as_me: failed program was:" >&5
63336 sed 's/^/| /' conftest.$ac_ext >&5
63338 glibcxx_cv_func_isnanf_use=no
63340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63341 ac_ext=c
63342 ac_cpp='$CPP $CPPFLAGS'
63343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63351 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
63352 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
63354 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
63356 for ac_func in isnanf
63358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63359 echo "$as_me:$LINENO: checking for $ac_func" >&5
63360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63361 if eval "test \"\${$as_ac_var+set}\" = set"; then
63362 echo $ECHO_N "(cached) $ECHO_C" >&6
63363 else
63364 if test x$gcc_no_link = xyes; then
63365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63367 { (exit 1); exit 1; }; }
63369 cat >conftest.$ac_ext <<_ACEOF
63370 /* confdefs.h. */
63371 _ACEOF
63372 cat confdefs.h >>conftest.$ac_ext
63373 cat >>conftest.$ac_ext <<_ACEOF
63374 /* end confdefs.h. */
63375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63377 #define $ac_func innocuous_$ac_func
63379 /* System header to define __stub macros and hopefully few prototypes,
63380 which can conflict with char $ac_func (); below.
63381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63382 <limits.h> exists even on freestanding compilers. */
63384 #ifdef __STDC__
63385 # include <limits.h>
63386 #else
63387 # include <assert.h>
63388 #endif
63390 #undef $ac_func
63392 /* Override any gcc2 internal prototype to avoid an error. */
63393 #ifdef __cplusplus
63394 extern "C"
63396 #endif
63397 /* We use char because int might match the return type of a gcc2
63398 builtin and then its argument prototype would still apply. */
63399 char $ac_func ();
63400 /* The GNU C library defines this for functions which it implements
63401 to always fail with ENOSYS. Some functions are actually named
63402 something starting with __ and the normal name is an alias. */
63403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63404 choke me
63405 #else
63406 char (*f) () = $ac_func;
63407 #endif
63408 #ifdef __cplusplus
63410 #endif
63413 main ()
63415 return f != $ac_func;
63417 return 0;
63419 _ACEOF
63420 rm -f conftest.$ac_objext conftest$ac_exeext
63421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63422 (eval $ac_link) 2>conftest.er1
63423 ac_status=$?
63424 grep -v '^ *+' conftest.er1 >conftest.err
63425 rm -f conftest.er1
63426 cat conftest.err >&5
63427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63428 (exit $ac_status); } &&
63429 { ac_try='test -z "$ac_c_werror_flag"
63430 || test ! -s conftest.err'
63431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63432 (eval $ac_try) 2>&5
63433 ac_status=$?
63434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63435 (exit $ac_status); }; } &&
63436 { ac_try='test -s conftest$ac_exeext'
63437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63438 (eval $ac_try) 2>&5
63439 ac_status=$?
63440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63441 (exit $ac_status); }; }; then
63442 eval "$as_ac_var=yes"
63443 else
63444 echo "$as_me: failed program was:" >&5
63445 sed 's/^/| /' conftest.$ac_ext >&5
63447 eval "$as_ac_var=no"
63449 rm -f conftest.err conftest.$ac_objext \
63450 conftest$ac_exeext conftest.$ac_ext
63452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63454 if test `eval echo '${'$as_ac_var'}'` = yes; then
63455 cat >>confdefs.h <<_ACEOF
63456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63457 _ACEOF
63460 done
63462 else
63464 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
63465 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
63466 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
63467 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
63468 echo $ECHO_N "(cached) $ECHO_C" >&6
63469 else
63473 ac_ext=cc
63474 ac_cpp='$CXXCPP $CPPFLAGS'
63475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63479 cat >conftest.$ac_ext <<_ACEOF
63480 /* confdefs.h. */
63481 _ACEOF
63482 cat confdefs.h >>conftest.$ac_ext
63483 cat >>conftest.$ac_ext <<_ACEOF
63484 /* end confdefs.h. */
63485 #include <math.h>
63486 #ifdef HAVE_IEEEFP_H
63487 #include <ieeefp.h>
63488 #endif
63491 main ()
63493 _isnanf(0);
63495 return 0;
63497 _ACEOF
63498 rm -f conftest.$ac_objext
63499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63500 (eval $ac_compile) 2>conftest.er1
63501 ac_status=$?
63502 grep -v '^ *+' conftest.er1 >conftest.err
63503 rm -f conftest.er1
63504 cat conftest.err >&5
63505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63506 (exit $ac_status); } &&
63507 { ac_try='test -z "$ac_cxx_werror_flag"
63508 || test ! -s conftest.err'
63509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63510 (eval $ac_try) 2>&5
63511 ac_status=$?
63512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63513 (exit $ac_status); }; } &&
63514 { ac_try='test -s conftest.$ac_objext'
63515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63516 (eval $ac_try) 2>&5
63517 ac_status=$?
63518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63519 (exit $ac_status); }; }; then
63520 glibcxx_cv_func__isnanf_use=yes
63521 else
63522 echo "$as_me: failed program was:" >&5
63523 sed 's/^/| /' conftest.$ac_ext >&5
63525 glibcxx_cv_func__isnanf_use=no
63527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63528 ac_ext=c
63529 ac_cpp='$CPP $CPPFLAGS'
63530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63538 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
63539 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
63541 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
63543 for ac_func in _isnanf
63545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63546 echo "$as_me:$LINENO: checking for $ac_func" >&5
63547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63548 if eval "test \"\${$as_ac_var+set}\" = set"; then
63549 echo $ECHO_N "(cached) $ECHO_C" >&6
63550 else
63551 if test x$gcc_no_link = xyes; then
63552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63554 { (exit 1); exit 1; }; }
63556 cat >conftest.$ac_ext <<_ACEOF
63557 /* confdefs.h. */
63558 _ACEOF
63559 cat confdefs.h >>conftest.$ac_ext
63560 cat >>conftest.$ac_ext <<_ACEOF
63561 /* end confdefs.h. */
63562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63564 #define $ac_func innocuous_$ac_func
63566 /* System header to define __stub macros and hopefully few prototypes,
63567 which can conflict with char $ac_func (); below.
63568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63569 <limits.h> exists even on freestanding compilers. */
63571 #ifdef __STDC__
63572 # include <limits.h>
63573 #else
63574 # include <assert.h>
63575 #endif
63577 #undef $ac_func
63579 /* Override any gcc2 internal prototype to avoid an error. */
63580 #ifdef __cplusplus
63581 extern "C"
63583 #endif
63584 /* We use char because int might match the return type of a gcc2
63585 builtin and then its argument prototype would still apply. */
63586 char $ac_func ();
63587 /* The GNU C library defines this for functions which it implements
63588 to always fail with ENOSYS. Some functions are actually named
63589 something starting with __ and the normal name is an alias. */
63590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63591 choke me
63592 #else
63593 char (*f) () = $ac_func;
63594 #endif
63595 #ifdef __cplusplus
63597 #endif
63600 main ()
63602 return f != $ac_func;
63604 return 0;
63606 _ACEOF
63607 rm -f conftest.$ac_objext conftest$ac_exeext
63608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63609 (eval $ac_link) 2>conftest.er1
63610 ac_status=$?
63611 grep -v '^ *+' conftest.er1 >conftest.err
63612 rm -f conftest.er1
63613 cat conftest.err >&5
63614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63615 (exit $ac_status); } &&
63616 { ac_try='test -z "$ac_c_werror_flag"
63617 || test ! -s conftest.err'
63618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63619 (eval $ac_try) 2>&5
63620 ac_status=$?
63621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63622 (exit $ac_status); }; } &&
63623 { ac_try='test -s conftest$ac_exeext'
63624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63625 (eval $ac_try) 2>&5
63626 ac_status=$?
63627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63628 (exit $ac_status); }; }; then
63629 eval "$as_ac_var=yes"
63630 else
63631 echo "$as_me: failed program was:" >&5
63632 sed 's/^/| /' conftest.$ac_ext >&5
63634 eval "$as_ac_var=no"
63636 rm -f conftest.err conftest.$ac_objext \
63637 conftest$ac_exeext conftest.$ac_ext
63639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63641 if test `eval echo '${'$as_ac_var'}'` = yes; then
63642 cat >>confdefs.h <<_ACEOF
63643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63644 _ACEOF
63647 done
63657 echo "$as_me:$LINENO: checking for isinff declaration" >&5
63658 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
63659 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
63660 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
63661 echo $ECHO_N "(cached) $ECHO_C" >&6
63662 else
63666 ac_ext=cc
63667 ac_cpp='$CXXCPP $CPPFLAGS'
63668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63672 cat >conftest.$ac_ext <<_ACEOF
63673 /* confdefs.h. */
63674 _ACEOF
63675 cat confdefs.h >>conftest.$ac_ext
63676 cat >>conftest.$ac_ext <<_ACEOF
63677 /* end confdefs.h. */
63678 #include <math.h>
63679 #ifdef HAVE_IEEEFP_H
63680 #include <ieeefp.h>
63681 #endif
63684 main ()
63686 isinff(0);
63688 return 0;
63690 _ACEOF
63691 rm -f conftest.$ac_objext
63692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63693 (eval $ac_compile) 2>conftest.er1
63694 ac_status=$?
63695 grep -v '^ *+' conftest.er1 >conftest.err
63696 rm -f conftest.er1
63697 cat conftest.err >&5
63698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63699 (exit $ac_status); } &&
63700 { ac_try='test -z "$ac_cxx_werror_flag"
63701 || test ! -s conftest.err'
63702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63703 (eval $ac_try) 2>&5
63704 ac_status=$?
63705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63706 (exit $ac_status); }; } &&
63707 { ac_try='test -s conftest.$ac_objext'
63708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63709 (eval $ac_try) 2>&5
63710 ac_status=$?
63711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63712 (exit $ac_status); }; }; then
63713 glibcxx_cv_func_isinff_use=yes
63714 else
63715 echo "$as_me: failed program was:" >&5
63716 sed 's/^/| /' conftest.$ac_ext >&5
63718 glibcxx_cv_func_isinff_use=no
63720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63721 ac_ext=c
63722 ac_cpp='$CPP $CPPFLAGS'
63723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63731 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
63732 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
63734 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
63736 for ac_func in isinff
63738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63739 echo "$as_me:$LINENO: checking for $ac_func" >&5
63740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63741 if eval "test \"\${$as_ac_var+set}\" = set"; then
63742 echo $ECHO_N "(cached) $ECHO_C" >&6
63743 else
63744 if test x$gcc_no_link = xyes; then
63745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63747 { (exit 1); exit 1; }; }
63749 cat >conftest.$ac_ext <<_ACEOF
63750 /* confdefs.h. */
63751 _ACEOF
63752 cat confdefs.h >>conftest.$ac_ext
63753 cat >>conftest.$ac_ext <<_ACEOF
63754 /* end confdefs.h. */
63755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63757 #define $ac_func innocuous_$ac_func
63759 /* System header to define __stub macros and hopefully few prototypes,
63760 which can conflict with char $ac_func (); below.
63761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63762 <limits.h> exists even on freestanding compilers. */
63764 #ifdef __STDC__
63765 # include <limits.h>
63766 #else
63767 # include <assert.h>
63768 #endif
63770 #undef $ac_func
63772 /* Override any gcc2 internal prototype to avoid an error. */
63773 #ifdef __cplusplus
63774 extern "C"
63776 #endif
63777 /* We use char because int might match the return type of a gcc2
63778 builtin and then its argument prototype would still apply. */
63779 char $ac_func ();
63780 /* The GNU C library defines this for functions which it implements
63781 to always fail with ENOSYS. Some functions are actually named
63782 something starting with __ and the normal name is an alias. */
63783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63784 choke me
63785 #else
63786 char (*f) () = $ac_func;
63787 #endif
63788 #ifdef __cplusplus
63790 #endif
63793 main ()
63795 return f != $ac_func;
63797 return 0;
63799 _ACEOF
63800 rm -f conftest.$ac_objext conftest$ac_exeext
63801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63802 (eval $ac_link) 2>conftest.er1
63803 ac_status=$?
63804 grep -v '^ *+' conftest.er1 >conftest.err
63805 rm -f conftest.er1
63806 cat conftest.err >&5
63807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63808 (exit $ac_status); } &&
63809 { ac_try='test -z "$ac_c_werror_flag"
63810 || test ! -s conftest.err'
63811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63812 (eval $ac_try) 2>&5
63813 ac_status=$?
63814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63815 (exit $ac_status); }; } &&
63816 { ac_try='test -s conftest$ac_exeext'
63817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63818 (eval $ac_try) 2>&5
63819 ac_status=$?
63820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63821 (exit $ac_status); }; }; then
63822 eval "$as_ac_var=yes"
63823 else
63824 echo "$as_me: failed program was:" >&5
63825 sed 's/^/| /' conftest.$ac_ext >&5
63827 eval "$as_ac_var=no"
63829 rm -f conftest.err conftest.$ac_objext \
63830 conftest$ac_exeext conftest.$ac_ext
63832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63834 if test `eval echo '${'$as_ac_var'}'` = yes; then
63835 cat >>confdefs.h <<_ACEOF
63836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63837 _ACEOF
63840 done
63842 else
63844 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
63845 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
63846 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
63847 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
63848 echo $ECHO_N "(cached) $ECHO_C" >&6
63849 else
63853 ac_ext=cc
63854 ac_cpp='$CXXCPP $CPPFLAGS'
63855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63859 cat >conftest.$ac_ext <<_ACEOF
63860 /* confdefs.h. */
63861 _ACEOF
63862 cat confdefs.h >>conftest.$ac_ext
63863 cat >>conftest.$ac_ext <<_ACEOF
63864 /* end confdefs.h. */
63865 #include <math.h>
63866 #ifdef HAVE_IEEEFP_H
63867 #include <ieeefp.h>
63868 #endif
63871 main ()
63873 _isinff(0);
63875 return 0;
63877 _ACEOF
63878 rm -f conftest.$ac_objext
63879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63880 (eval $ac_compile) 2>conftest.er1
63881 ac_status=$?
63882 grep -v '^ *+' conftest.er1 >conftest.err
63883 rm -f conftest.er1
63884 cat conftest.err >&5
63885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63886 (exit $ac_status); } &&
63887 { ac_try='test -z "$ac_cxx_werror_flag"
63888 || test ! -s conftest.err'
63889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63890 (eval $ac_try) 2>&5
63891 ac_status=$?
63892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63893 (exit $ac_status); }; } &&
63894 { ac_try='test -s conftest.$ac_objext'
63895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63896 (eval $ac_try) 2>&5
63897 ac_status=$?
63898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63899 (exit $ac_status); }; }; then
63900 glibcxx_cv_func__isinff_use=yes
63901 else
63902 echo "$as_me: failed program was:" >&5
63903 sed 's/^/| /' conftest.$ac_ext >&5
63905 glibcxx_cv_func__isinff_use=no
63907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63908 ac_ext=c
63909 ac_cpp='$CPP $CPPFLAGS'
63910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63918 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
63919 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
63921 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
63923 for ac_func in _isinff
63925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63926 echo "$as_me:$LINENO: checking for $ac_func" >&5
63927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63928 if eval "test \"\${$as_ac_var+set}\" = set"; then
63929 echo $ECHO_N "(cached) $ECHO_C" >&6
63930 else
63931 if test x$gcc_no_link = xyes; then
63932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63934 { (exit 1); exit 1; }; }
63936 cat >conftest.$ac_ext <<_ACEOF
63937 /* confdefs.h. */
63938 _ACEOF
63939 cat confdefs.h >>conftest.$ac_ext
63940 cat >>conftest.$ac_ext <<_ACEOF
63941 /* end confdefs.h. */
63942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63944 #define $ac_func innocuous_$ac_func
63946 /* System header to define __stub macros and hopefully few prototypes,
63947 which can conflict with char $ac_func (); below.
63948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63949 <limits.h> exists even on freestanding compilers. */
63951 #ifdef __STDC__
63952 # include <limits.h>
63953 #else
63954 # include <assert.h>
63955 #endif
63957 #undef $ac_func
63959 /* Override any gcc2 internal prototype to avoid an error. */
63960 #ifdef __cplusplus
63961 extern "C"
63963 #endif
63964 /* We use char because int might match the return type of a gcc2
63965 builtin and then its argument prototype would still apply. */
63966 char $ac_func ();
63967 /* The GNU C library defines this for functions which it implements
63968 to always fail with ENOSYS. Some functions are actually named
63969 something starting with __ and the normal name is an alias. */
63970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63971 choke me
63972 #else
63973 char (*f) () = $ac_func;
63974 #endif
63975 #ifdef __cplusplus
63977 #endif
63980 main ()
63982 return f != $ac_func;
63984 return 0;
63986 _ACEOF
63987 rm -f conftest.$ac_objext conftest$ac_exeext
63988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63989 (eval $ac_link) 2>conftest.er1
63990 ac_status=$?
63991 grep -v '^ *+' conftest.er1 >conftest.err
63992 rm -f conftest.er1
63993 cat conftest.err >&5
63994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63995 (exit $ac_status); } &&
63996 { ac_try='test -z "$ac_c_werror_flag"
63997 || test ! -s conftest.err'
63998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63999 (eval $ac_try) 2>&5
64000 ac_status=$?
64001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64002 (exit $ac_status); }; } &&
64003 { ac_try='test -s conftest$ac_exeext'
64004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64005 (eval $ac_try) 2>&5
64006 ac_status=$?
64007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64008 (exit $ac_status); }; }; then
64009 eval "$as_ac_var=yes"
64010 else
64011 echo "$as_me: failed program was:" >&5
64012 sed 's/^/| /' conftest.$ac_ext >&5
64014 eval "$as_ac_var=no"
64016 rm -f conftest.err conftest.$ac_objext \
64017 conftest$ac_exeext conftest.$ac_ext
64019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64021 if test `eval echo '${'$as_ac_var'}'` = yes; then
64022 cat >>confdefs.h <<_ACEOF
64023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64024 _ACEOF
64027 done
64037 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
64038 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
64039 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
64040 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
64041 echo $ECHO_N "(cached) $ECHO_C" >&6
64042 else
64046 ac_ext=cc
64047 ac_cpp='$CXXCPP $CPPFLAGS'
64048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64052 cat >conftest.$ac_ext <<_ACEOF
64053 /* confdefs.h. */
64054 _ACEOF
64055 cat confdefs.h >>conftest.$ac_ext
64056 cat >>conftest.$ac_ext <<_ACEOF
64057 /* end confdefs.h. */
64058 #include <math.h>
64060 main ()
64062 atan2f(0, 0);
64064 return 0;
64066 _ACEOF
64067 rm -f conftest.$ac_objext
64068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64069 (eval $ac_compile) 2>conftest.er1
64070 ac_status=$?
64071 grep -v '^ *+' conftest.er1 >conftest.err
64072 rm -f conftest.er1
64073 cat conftest.err >&5
64074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64075 (exit $ac_status); } &&
64076 { ac_try='test -z "$ac_cxx_werror_flag"
64077 || test ! -s conftest.err'
64078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64079 (eval $ac_try) 2>&5
64080 ac_status=$?
64081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64082 (exit $ac_status); }; } &&
64083 { ac_try='test -s conftest.$ac_objext'
64084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64085 (eval $ac_try) 2>&5
64086 ac_status=$?
64087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64088 (exit $ac_status); }; }; then
64089 glibcxx_cv_func_atan2f_use=yes
64090 else
64091 echo "$as_me: failed program was:" >&5
64092 sed 's/^/| /' conftest.$ac_ext >&5
64094 glibcxx_cv_func_atan2f_use=no
64096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64097 ac_ext=c
64098 ac_cpp='$CPP $CPPFLAGS'
64099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64107 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
64108 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
64110 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
64112 for ac_func in atan2f
64114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64115 echo "$as_me:$LINENO: checking for $ac_func" >&5
64116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64117 if eval "test \"\${$as_ac_var+set}\" = set"; then
64118 echo $ECHO_N "(cached) $ECHO_C" >&6
64119 else
64120 if test x$gcc_no_link = xyes; then
64121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64123 { (exit 1); exit 1; }; }
64125 cat >conftest.$ac_ext <<_ACEOF
64126 /* confdefs.h. */
64127 _ACEOF
64128 cat confdefs.h >>conftest.$ac_ext
64129 cat >>conftest.$ac_ext <<_ACEOF
64130 /* end confdefs.h. */
64131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64133 #define $ac_func innocuous_$ac_func
64135 /* System header to define __stub macros and hopefully few prototypes,
64136 which can conflict with char $ac_func (); below.
64137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64138 <limits.h> exists even on freestanding compilers. */
64140 #ifdef __STDC__
64141 # include <limits.h>
64142 #else
64143 # include <assert.h>
64144 #endif
64146 #undef $ac_func
64148 /* Override any gcc2 internal prototype to avoid an error. */
64149 #ifdef __cplusplus
64150 extern "C"
64152 #endif
64153 /* We use char because int might match the return type of a gcc2
64154 builtin and then its argument prototype would still apply. */
64155 char $ac_func ();
64156 /* The GNU C library defines this for functions which it implements
64157 to always fail with ENOSYS. Some functions are actually named
64158 something starting with __ and the normal name is an alias. */
64159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64160 choke me
64161 #else
64162 char (*f) () = $ac_func;
64163 #endif
64164 #ifdef __cplusplus
64166 #endif
64169 main ()
64171 return f != $ac_func;
64173 return 0;
64175 _ACEOF
64176 rm -f conftest.$ac_objext conftest$ac_exeext
64177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64178 (eval $ac_link) 2>conftest.er1
64179 ac_status=$?
64180 grep -v '^ *+' conftest.er1 >conftest.err
64181 rm -f conftest.er1
64182 cat conftest.err >&5
64183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64184 (exit $ac_status); } &&
64185 { ac_try='test -z "$ac_c_werror_flag"
64186 || test ! -s conftest.err'
64187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64188 (eval $ac_try) 2>&5
64189 ac_status=$?
64190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64191 (exit $ac_status); }; } &&
64192 { ac_try='test -s conftest$ac_exeext'
64193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64194 (eval $ac_try) 2>&5
64195 ac_status=$?
64196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64197 (exit $ac_status); }; }; then
64198 eval "$as_ac_var=yes"
64199 else
64200 echo "$as_me: failed program was:" >&5
64201 sed 's/^/| /' conftest.$ac_ext >&5
64203 eval "$as_ac_var=no"
64205 rm -f conftest.err conftest.$ac_objext \
64206 conftest$ac_exeext conftest.$ac_ext
64208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64210 if test `eval echo '${'$as_ac_var'}'` = yes; then
64211 cat >>confdefs.h <<_ACEOF
64212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64213 _ACEOF
64216 done
64218 else
64220 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
64221 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
64222 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
64223 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
64224 echo $ECHO_N "(cached) $ECHO_C" >&6
64225 else
64229 ac_ext=cc
64230 ac_cpp='$CXXCPP $CPPFLAGS'
64231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64235 cat >conftest.$ac_ext <<_ACEOF
64236 /* confdefs.h. */
64237 _ACEOF
64238 cat confdefs.h >>conftest.$ac_ext
64239 cat >>conftest.$ac_ext <<_ACEOF
64240 /* end confdefs.h. */
64241 #include <math.h>
64243 main ()
64245 _atan2f(0, 0);
64247 return 0;
64249 _ACEOF
64250 rm -f conftest.$ac_objext
64251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64252 (eval $ac_compile) 2>conftest.er1
64253 ac_status=$?
64254 grep -v '^ *+' conftest.er1 >conftest.err
64255 rm -f conftest.er1
64256 cat conftest.err >&5
64257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64258 (exit $ac_status); } &&
64259 { ac_try='test -z "$ac_cxx_werror_flag"
64260 || test ! -s conftest.err'
64261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64262 (eval $ac_try) 2>&5
64263 ac_status=$?
64264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64265 (exit $ac_status); }; } &&
64266 { ac_try='test -s conftest.$ac_objext'
64267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64268 (eval $ac_try) 2>&5
64269 ac_status=$?
64270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64271 (exit $ac_status); }; }; then
64272 glibcxx_cv_func__atan2f_use=yes
64273 else
64274 echo "$as_me: failed program was:" >&5
64275 sed 's/^/| /' conftest.$ac_ext >&5
64277 glibcxx_cv_func__atan2f_use=no
64279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64280 ac_ext=c
64281 ac_cpp='$CPP $CPPFLAGS'
64282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64290 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
64291 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
64293 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
64295 for ac_func in _atan2f
64297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64298 echo "$as_me:$LINENO: checking for $ac_func" >&5
64299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64300 if eval "test \"\${$as_ac_var+set}\" = set"; then
64301 echo $ECHO_N "(cached) $ECHO_C" >&6
64302 else
64303 if test x$gcc_no_link = xyes; then
64304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64306 { (exit 1); exit 1; }; }
64308 cat >conftest.$ac_ext <<_ACEOF
64309 /* confdefs.h. */
64310 _ACEOF
64311 cat confdefs.h >>conftest.$ac_ext
64312 cat >>conftest.$ac_ext <<_ACEOF
64313 /* end confdefs.h. */
64314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64316 #define $ac_func innocuous_$ac_func
64318 /* System header to define __stub macros and hopefully few prototypes,
64319 which can conflict with char $ac_func (); below.
64320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64321 <limits.h> exists even on freestanding compilers. */
64323 #ifdef __STDC__
64324 # include <limits.h>
64325 #else
64326 # include <assert.h>
64327 #endif
64329 #undef $ac_func
64331 /* Override any gcc2 internal prototype to avoid an error. */
64332 #ifdef __cplusplus
64333 extern "C"
64335 #endif
64336 /* We use char because int might match the return type of a gcc2
64337 builtin and then its argument prototype would still apply. */
64338 char $ac_func ();
64339 /* The GNU C library defines this for functions which it implements
64340 to always fail with ENOSYS. Some functions are actually named
64341 something starting with __ and the normal name is an alias. */
64342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64343 choke me
64344 #else
64345 char (*f) () = $ac_func;
64346 #endif
64347 #ifdef __cplusplus
64349 #endif
64352 main ()
64354 return f != $ac_func;
64356 return 0;
64358 _ACEOF
64359 rm -f conftest.$ac_objext conftest$ac_exeext
64360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64361 (eval $ac_link) 2>conftest.er1
64362 ac_status=$?
64363 grep -v '^ *+' conftest.er1 >conftest.err
64364 rm -f conftest.er1
64365 cat conftest.err >&5
64366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64367 (exit $ac_status); } &&
64368 { ac_try='test -z "$ac_c_werror_flag"
64369 || test ! -s conftest.err'
64370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64371 (eval $ac_try) 2>&5
64372 ac_status=$?
64373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64374 (exit $ac_status); }; } &&
64375 { ac_try='test -s conftest$ac_exeext'
64376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64377 (eval $ac_try) 2>&5
64378 ac_status=$?
64379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64380 (exit $ac_status); }; }; then
64381 eval "$as_ac_var=yes"
64382 else
64383 echo "$as_me: failed program was:" >&5
64384 sed 's/^/| /' conftest.$ac_ext >&5
64386 eval "$as_ac_var=no"
64388 rm -f conftest.err conftest.$ac_objext \
64389 conftest$ac_exeext conftest.$ac_ext
64391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64393 if test `eval echo '${'$as_ac_var'}'` = yes; then
64394 cat >>confdefs.h <<_ACEOF
64395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64396 _ACEOF
64399 done
64409 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
64410 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
64411 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
64412 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
64413 echo $ECHO_N "(cached) $ECHO_C" >&6
64414 else
64418 ac_ext=cc
64419 ac_cpp='$CXXCPP $CPPFLAGS'
64420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64424 cat >conftest.$ac_ext <<_ACEOF
64425 /* confdefs.h. */
64426 _ACEOF
64427 cat confdefs.h >>conftest.$ac_ext
64428 cat >>conftest.$ac_ext <<_ACEOF
64429 /* end confdefs.h. */
64430 #include <math.h>
64431 #ifdef HAVE_IEEEFP_H
64432 #include <ieeefp.h>
64433 #endif
64436 main ()
64438 fabsf(0);
64440 return 0;
64442 _ACEOF
64443 rm -f conftest.$ac_objext
64444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64445 (eval $ac_compile) 2>conftest.er1
64446 ac_status=$?
64447 grep -v '^ *+' conftest.er1 >conftest.err
64448 rm -f conftest.er1
64449 cat conftest.err >&5
64450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64451 (exit $ac_status); } &&
64452 { ac_try='test -z "$ac_cxx_werror_flag"
64453 || test ! -s conftest.err'
64454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64455 (eval $ac_try) 2>&5
64456 ac_status=$?
64457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64458 (exit $ac_status); }; } &&
64459 { ac_try='test -s conftest.$ac_objext'
64460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64461 (eval $ac_try) 2>&5
64462 ac_status=$?
64463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64464 (exit $ac_status); }; }; then
64465 glibcxx_cv_func_fabsf_use=yes
64466 else
64467 echo "$as_me: failed program was:" >&5
64468 sed 's/^/| /' conftest.$ac_ext >&5
64470 glibcxx_cv_func_fabsf_use=no
64472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64473 ac_ext=c
64474 ac_cpp='$CPP $CPPFLAGS'
64475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64483 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
64484 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
64486 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
64488 for ac_func in fabsf
64490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64491 echo "$as_me:$LINENO: checking for $ac_func" >&5
64492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64493 if eval "test \"\${$as_ac_var+set}\" = set"; then
64494 echo $ECHO_N "(cached) $ECHO_C" >&6
64495 else
64496 if test x$gcc_no_link = xyes; then
64497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64499 { (exit 1); exit 1; }; }
64501 cat >conftest.$ac_ext <<_ACEOF
64502 /* confdefs.h. */
64503 _ACEOF
64504 cat confdefs.h >>conftest.$ac_ext
64505 cat >>conftest.$ac_ext <<_ACEOF
64506 /* end confdefs.h. */
64507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64509 #define $ac_func innocuous_$ac_func
64511 /* System header to define __stub macros and hopefully few prototypes,
64512 which can conflict with char $ac_func (); below.
64513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64514 <limits.h> exists even on freestanding compilers. */
64516 #ifdef __STDC__
64517 # include <limits.h>
64518 #else
64519 # include <assert.h>
64520 #endif
64522 #undef $ac_func
64524 /* Override any gcc2 internal prototype to avoid an error. */
64525 #ifdef __cplusplus
64526 extern "C"
64528 #endif
64529 /* We use char because int might match the return type of a gcc2
64530 builtin and then its argument prototype would still apply. */
64531 char $ac_func ();
64532 /* The GNU C library defines this for functions which it implements
64533 to always fail with ENOSYS. Some functions are actually named
64534 something starting with __ and the normal name is an alias. */
64535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64536 choke me
64537 #else
64538 char (*f) () = $ac_func;
64539 #endif
64540 #ifdef __cplusplus
64542 #endif
64545 main ()
64547 return f != $ac_func;
64549 return 0;
64551 _ACEOF
64552 rm -f conftest.$ac_objext conftest$ac_exeext
64553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64554 (eval $ac_link) 2>conftest.er1
64555 ac_status=$?
64556 grep -v '^ *+' conftest.er1 >conftest.err
64557 rm -f conftest.er1
64558 cat conftest.err >&5
64559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64560 (exit $ac_status); } &&
64561 { ac_try='test -z "$ac_c_werror_flag"
64562 || test ! -s conftest.err'
64563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64564 (eval $ac_try) 2>&5
64565 ac_status=$?
64566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64567 (exit $ac_status); }; } &&
64568 { ac_try='test -s conftest$ac_exeext'
64569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64570 (eval $ac_try) 2>&5
64571 ac_status=$?
64572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64573 (exit $ac_status); }; }; then
64574 eval "$as_ac_var=yes"
64575 else
64576 echo "$as_me: failed program was:" >&5
64577 sed 's/^/| /' conftest.$ac_ext >&5
64579 eval "$as_ac_var=no"
64581 rm -f conftest.err conftest.$ac_objext \
64582 conftest$ac_exeext conftest.$ac_ext
64584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64586 if test `eval echo '${'$as_ac_var'}'` = yes; then
64587 cat >>confdefs.h <<_ACEOF
64588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64589 _ACEOF
64592 done
64594 else
64596 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
64597 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
64598 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
64599 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
64600 echo $ECHO_N "(cached) $ECHO_C" >&6
64601 else
64605 ac_ext=cc
64606 ac_cpp='$CXXCPP $CPPFLAGS'
64607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64611 cat >conftest.$ac_ext <<_ACEOF
64612 /* confdefs.h. */
64613 _ACEOF
64614 cat confdefs.h >>conftest.$ac_ext
64615 cat >>conftest.$ac_ext <<_ACEOF
64616 /* end confdefs.h. */
64617 #include <math.h>
64618 #ifdef HAVE_IEEEFP_H
64619 #include <ieeefp.h>
64620 #endif
64623 main ()
64625 _fabsf(0);
64627 return 0;
64629 _ACEOF
64630 rm -f conftest.$ac_objext
64631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64632 (eval $ac_compile) 2>conftest.er1
64633 ac_status=$?
64634 grep -v '^ *+' conftest.er1 >conftest.err
64635 rm -f conftest.er1
64636 cat conftest.err >&5
64637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64638 (exit $ac_status); } &&
64639 { ac_try='test -z "$ac_cxx_werror_flag"
64640 || test ! -s conftest.err'
64641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64642 (eval $ac_try) 2>&5
64643 ac_status=$?
64644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64645 (exit $ac_status); }; } &&
64646 { ac_try='test -s conftest.$ac_objext'
64647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64648 (eval $ac_try) 2>&5
64649 ac_status=$?
64650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64651 (exit $ac_status); }; }; then
64652 glibcxx_cv_func__fabsf_use=yes
64653 else
64654 echo "$as_me: failed program was:" >&5
64655 sed 's/^/| /' conftest.$ac_ext >&5
64657 glibcxx_cv_func__fabsf_use=no
64659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64660 ac_ext=c
64661 ac_cpp='$CPP $CPPFLAGS'
64662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64670 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
64671 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
64673 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
64675 for ac_func in _fabsf
64677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64678 echo "$as_me:$LINENO: checking for $ac_func" >&5
64679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64680 if eval "test \"\${$as_ac_var+set}\" = set"; then
64681 echo $ECHO_N "(cached) $ECHO_C" >&6
64682 else
64683 if test x$gcc_no_link = xyes; then
64684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64686 { (exit 1); exit 1; }; }
64688 cat >conftest.$ac_ext <<_ACEOF
64689 /* confdefs.h. */
64690 _ACEOF
64691 cat confdefs.h >>conftest.$ac_ext
64692 cat >>conftest.$ac_ext <<_ACEOF
64693 /* end confdefs.h. */
64694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64696 #define $ac_func innocuous_$ac_func
64698 /* System header to define __stub macros and hopefully few prototypes,
64699 which can conflict with char $ac_func (); below.
64700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64701 <limits.h> exists even on freestanding compilers. */
64703 #ifdef __STDC__
64704 # include <limits.h>
64705 #else
64706 # include <assert.h>
64707 #endif
64709 #undef $ac_func
64711 /* Override any gcc2 internal prototype to avoid an error. */
64712 #ifdef __cplusplus
64713 extern "C"
64715 #endif
64716 /* We use char because int might match the return type of a gcc2
64717 builtin and then its argument prototype would still apply. */
64718 char $ac_func ();
64719 /* The GNU C library defines this for functions which it implements
64720 to always fail with ENOSYS. Some functions are actually named
64721 something starting with __ and the normal name is an alias. */
64722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64723 choke me
64724 #else
64725 char (*f) () = $ac_func;
64726 #endif
64727 #ifdef __cplusplus
64729 #endif
64732 main ()
64734 return f != $ac_func;
64736 return 0;
64738 _ACEOF
64739 rm -f conftest.$ac_objext conftest$ac_exeext
64740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64741 (eval $ac_link) 2>conftest.er1
64742 ac_status=$?
64743 grep -v '^ *+' conftest.er1 >conftest.err
64744 rm -f conftest.er1
64745 cat conftest.err >&5
64746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64747 (exit $ac_status); } &&
64748 { ac_try='test -z "$ac_c_werror_flag"
64749 || test ! -s conftest.err'
64750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64751 (eval $ac_try) 2>&5
64752 ac_status=$?
64753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64754 (exit $ac_status); }; } &&
64755 { ac_try='test -s conftest$ac_exeext'
64756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64757 (eval $ac_try) 2>&5
64758 ac_status=$?
64759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64760 (exit $ac_status); }; }; then
64761 eval "$as_ac_var=yes"
64762 else
64763 echo "$as_me: failed program was:" >&5
64764 sed 's/^/| /' conftest.$ac_ext >&5
64766 eval "$as_ac_var=no"
64768 rm -f conftest.err conftest.$ac_objext \
64769 conftest$ac_exeext conftest.$ac_ext
64771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64773 if test `eval echo '${'$as_ac_var'}'` = yes; then
64774 cat >>confdefs.h <<_ACEOF
64775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64776 _ACEOF
64779 done
64789 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
64790 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
64791 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
64792 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
64793 echo $ECHO_N "(cached) $ECHO_C" >&6
64794 else
64798 ac_ext=cc
64799 ac_cpp='$CXXCPP $CPPFLAGS'
64800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64804 cat >conftest.$ac_ext <<_ACEOF
64805 /* confdefs.h. */
64806 _ACEOF
64807 cat confdefs.h >>conftest.$ac_ext
64808 cat >>conftest.$ac_ext <<_ACEOF
64809 /* end confdefs.h. */
64810 #include <math.h>
64812 main ()
64814 fmodf(0, 0);
64816 return 0;
64818 _ACEOF
64819 rm -f conftest.$ac_objext
64820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64821 (eval $ac_compile) 2>conftest.er1
64822 ac_status=$?
64823 grep -v '^ *+' conftest.er1 >conftest.err
64824 rm -f conftest.er1
64825 cat conftest.err >&5
64826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64827 (exit $ac_status); } &&
64828 { ac_try='test -z "$ac_cxx_werror_flag"
64829 || test ! -s conftest.err'
64830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64831 (eval $ac_try) 2>&5
64832 ac_status=$?
64833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64834 (exit $ac_status); }; } &&
64835 { ac_try='test -s conftest.$ac_objext'
64836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64837 (eval $ac_try) 2>&5
64838 ac_status=$?
64839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64840 (exit $ac_status); }; }; then
64841 glibcxx_cv_func_fmodf_use=yes
64842 else
64843 echo "$as_me: failed program was:" >&5
64844 sed 's/^/| /' conftest.$ac_ext >&5
64846 glibcxx_cv_func_fmodf_use=no
64848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64849 ac_ext=c
64850 ac_cpp='$CPP $CPPFLAGS'
64851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64859 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
64860 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
64862 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
64864 for ac_func in fmodf
64866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64867 echo "$as_me:$LINENO: checking for $ac_func" >&5
64868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64869 if eval "test \"\${$as_ac_var+set}\" = set"; then
64870 echo $ECHO_N "(cached) $ECHO_C" >&6
64871 else
64872 if test x$gcc_no_link = xyes; then
64873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64875 { (exit 1); exit 1; }; }
64877 cat >conftest.$ac_ext <<_ACEOF
64878 /* confdefs.h. */
64879 _ACEOF
64880 cat confdefs.h >>conftest.$ac_ext
64881 cat >>conftest.$ac_ext <<_ACEOF
64882 /* end confdefs.h. */
64883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64885 #define $ac_func innocuous_$ac_func
64887 /* System header to define __stub macros and hopefully few prototypes,
64888 which can conflict with char $ac_func (); below.
64889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64890 <limits.h> exists even on freestanding compilers. */
64892 #ifdef __STDC__
64893 # include <limits.h>
64894 #else
64895 # include <assert.h>
64896 #endif
64898 #undef $ac_func
64900 /* Override any gcc2 internal prototype to avoid an error. */
64901 #ifdef __cplusplus
64902 extern "C"
64904 #endif
64905 /* We use char because int might match the return type of a gcc2
64906 builtin and then its argument prototype would still apply. */
64907 char $ac_func ();
64908 /* The GNU C library defines this for functions which it implements
64909 to always fail with ENOSYS. Some functions are actually named
64910 something starting with __ and the normal name is an alias. */
64911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64912 choke me
64913 #else
64914 char (*f) () = $ac_func;
64915 #endif
64916 #ifdef __cplusplus
64918 #endif
64921 main ()
64923 return f != $ac_func;
64925 return 0;
64927 _ACEOF
64928 rm -f conftest.$ac_objext conftest$ac_exeext
64929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64930 (eval $ac_link) 2>conftest.er1
64931 ac_status=$?
64932 grep -v '^ *+' conftest.er1 >conftest.err
64933 rm -f conftest.er1
64934 cat conftest.err >&5
64935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64936 (exit $ac_status); } &&
64937 { ac_try='test -z "$ac_c_werror_flag"
64938 || test ! -s conftest.err'
64939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64940 (eval $ac_try) 2>&5
64941 ac_status=$?
64942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64943 (exit $ac_status); }; } &&
64944 { ac_try='test -s conftest$ac_exeext'
64945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64946 (eval $ac_try) 2>&5
64947 ac_status=$?
64948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64949 (exit $ac_status); }; }; then
64950 eval "$as_ac_var=yes"
64951 else
64952 echo "$as_me: failed program was:" >&5
64953 sed 's/^/| /' conftest.$ac_ext >&5
64955 eval "$as_ac_var=no"
64957 rm -f conftest.err conftest.$ac_objext \
64958 conftest$ac_exeext conftest.$ac_ext
64960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64962 if test `eval echo '${'$as_ac_var'}'` = yes; then
64963 cat >>confdefs.h <<_ACEOF
64964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64965 _ACEOF
64968 done
64970 else
64972 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
64973 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
64974 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
64975 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
64976 echo $ECHO_N "(cached) $ECHO_C" >&6
64977 else
64981 ac_ext=cc
64982 ac_cpp='$CXXCPP $CPPFLAGS'
64983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64987 cat >conftest.$ac_ext <<_ACEOF
64988 /* confdefs.h. */
64989 _ACEOF
64990 cat confdefs.h >>conftest.$ac_ext
64991 cat >>conftest.$ac_ext <<_ACEOF
64992 /* end confdefs.h. */
64993 #include <math.h>
64995 main ()
64997 _fmodf(0, 0);
64999 return 0;
65001 _ACEOF
65002 rm -f conftest.$ac_objext
65003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65004 (eval $ac_compile) 2>conftest.er1
65005 ac_status=$?
65006 grep -v '^ *+' conftest.er1 >conftest.err
65007 rm -f conftest.er1
65008 cat conftest.err >&5
65009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65010 (exit $ac_status); } &&
65011 { ac_try='test -z "$ac_cxx_werror_flag"
65012 || test ! -s conftest.err'
65013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65014 (eval $ac_try) 2>&5
65015 ac_status=$?
65016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65017 (exit $ac_status); }; } &&
65018 { ac_try='test -s conftest.$ac_objext'
65019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65020 (eval $ac_try) 2>&5
65021 ac_status=$?
65022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65023 (exit $ac_status); }; }; then
65024 glibcxx_cv_func__fmodf_use=yes
65025 else
65026 echo "$as_me: failed program was:" >&5
65027 sed 's/^/| /' conftest.$ac_ext >&5
65029 glibcxx_cv_func__fmodf_use=no
65031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65032 ac_ext=c
65033 ac_cpp='$CPP $CPPFLAGS'
65034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65042 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
65043 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
65045 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65047 for ac_func in _fmodf
65049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65050 echo "$as_me:$LINENO: checking for $ac_func" >&5
65051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65052 if eval "test \"\${$as_ac_var+set}\" = set"; then
65053 echo $ECHO_N "(cached) $ECHO_C" >&6
65054 else
65055 if test x$gcc_no_link = xyes; then
65056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65058 { (exit 1); exit 1; }; }
65060 cat >conftest.$ac_ext <<_ACEOF
65061 /* confdefs.h. */
65062 _ACEOF
65063 cat confdefs.h >>conftest.$ac_ext
65064 cat >>conftest.$ac_ext <<_ACEOF
65065 /* end confdefs.h. */
65066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65068 #define $ac_func innocuous_$ac_func
65070 /* System header to define __stub macros and hopefully few prototypes,
65071 which can conflict with char $ac_func (); below.
65072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65073 <limits.h> exists even on freestanding compilers. */
65075 #ifdef __STDC__
65076 # include <limits.h>
65077 #else
65078 # include <assert.h>
65079 #endif
65081 #undef $ac_func
65083 /* Override any gcc2 internal prototype to avoid an error. */
65084 #ifdef __cplusplus
65085 extern "C"
65087 #endif
65088 /* We use char because int might match the return type of a gcc2
65089 builtin and then its argument prototype would still apply. */
65090 char $ac_func ();
65091 /* The GNU C library defines this for functions which it implements
65092 to always fail with ENOSYS. Some functions are actually named
65093 something starting with __ and the normal name is an alias. */
65094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65095 choke me
65096 #else
65097 char (*f) () = $ac_func;
65098 #endif
65099 #ifdef __cplusplus
65101 #endif
65104 main ()
65106 return f != $ac_func;
65108 return 0;
65110 _ACEOF
65111 rm -f conftest.$ac_objext conftest$ac_exeext
65112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65113 (eval $ac_link) 2>conftest.er1
65114 ac_status=$?
65115 grep -v '^ *+' conftest.er1 >conftest.err
65116 rm -f conftest.er1
65117 cat conftest.err >&5
65118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65119 (exit $ac_status); } &&
65120 { ac_try='test -z "$ac_c_werror_flag"
65121 || test ! -s conftest.err'
65122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65123 (eval $ac_try) 2>&5
65124 ac_status=$?
65125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65126 (exit $ac_status); }; } &&
65127 { ac_try='test -s conftest$ac_exeext'
65128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65129 (eval $ac_try) 2>&5
65130 ac_status=$?
65131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65132 (exit $ac_status); }; }; then
65133 eval "$as_ac_var=yes"
65134 else
65135 echo "$as_me: failed program was:" >&5
65136 sed 's/^/| /' conftest.$ac_ext >&5
65138 eval "$as_ac_var=no"
65140 rm -f conftest.err conftest.$ac_objext \
65141 conftest$ac_exeext conftest.$ac_ext
65143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65145 if test `eval echo '${'$as_ac_var'}'` = yes; then
65146 cat >>confdefs.h <<_ACEOF
65147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65148 _ACEOF
65151 done
65161 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
65162 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
65163 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65164 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
65165 echo $ECHO_N "(cached) $ECHO_C" >&6
65166 else
65170 ac_ext=cc
65171 ac_cpp='$CXXCPP $CPPFLAGS'
65172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65176 cat >conftest.$ac_ext <<_ACEOF
65177 /* confdefs.h. */
65178 _ACEOF
65179 cat confdefs.h >>conftest.$ac_ext
65180 cat >>conftest.$ac_ext <<_ACEOF
65181 /* end confdefs.h. */
65182 #include <math.h>
65184 main ()
65186 frexpf(0, 0);
65188 return 0;
65190 _ACEOF
65191 rm -f conftest.$ac_objext
65192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65193 (eval $ac_compile) 2>conftest.er1
65194 ac_status=$?
65195 grep -v '^ *+' conftest.er1 >conftest.err
65196 rm -f conftest.er1
65197 cat conftest.err >&5
65198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65199 (exit $ac_status); } &&
65200 { ac_try='test -z "$ac_cxx_werror_flag"
65201 || test ! -s conftest.err'
65202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65203 (eval $ac_try) 2>&5
65204 ac_status=$?
65205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65206 (exit $ac_status); }; } &&
65207 { ac_try='test -s conftest.$ac_objext'
65208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65209 (eval $ac_try) 2>&5
65210 ac_status=$?
65211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65212 (exit $ac_status); }; }; then
65213 glibcxx_cv_func_frexpf_use=yes
65214 else
65215 echo "$as_me: failed program was:" >&5
65216 sed 's/^/| /' conftest.$ac_ext >&5
65218 glibcxx_cv_func_frexpf_use=no
65220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65221 ac_ext=c
65222 ac_cpp='$CPP $CPPFLAGS'
65223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65231 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
65232 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
65234 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65236 for ac_func in frexpf
65238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65239 echo "$as_me:$LINENO: checking for $ac_func" >&5
65240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65241 if eval "test \"\${$as_ac_var+set}\" = set"; then
65242 echo $ECHO_N "(cached) $ECHO_C" >&6
65243 else
65244 if test x$gcc_no_link = xyes; then
65245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65247 { (exit 1); exit 1; }; }
65249 cat >conftest.$ac_ext <<_ACEOF
65250 /* confdefs.h. */
65251 _ACEOF
65252 cat confdefs.h >>conftest.$ac_ext
65253 cat >>conftest.$ac_ext <<_ACEOF
65254 /* end confdefs.h. */
65255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65257 #define $ac_func innocuous_$ac_func
65259 /* System header to define __stub macros and hopefully few prototypes,
65260 which can conflict with char $ac_func (); below.
65261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65262 <limits.h> exists even on freestanding compilers. */
65264 #ifdef __STDC__
65265 # include <limits.h>
65266 #else
65267 # include <assert.h>
65268 #endif
65270 #undef $ac_func
65272 /* Override any gcc2 internal prototype to avoid an error. */
65273 #ifdef __cplusplus
65274 extern "C"
65276 #endif
65277 /* We use char because int might match the return type of a gcc2
65278 builtin and then its argument prototype would still apply. */
65279 char $ac_func ();
65280 /* The GNU C library defines this for functions which it implements
65281 to always fail with ENOSYS. Some functions are actually named
65282 something starting with __ and the normal name is an alias. */
65283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65284 choke me
65285 #else
65286 char (*f) () = $ac_func;
65287 #endif
65288 #ifdef __cplusplus
65290 #endif
65293 main ()
65295 return f != $ac_func;
65297 return 0;
65299 _ACEOF
65300 rm -f conftest.$ac_objext conftest$ac_exeext
65301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65302 (eval $ac_link) 2>conftest.er1
65303 ac_status=$?
65304 grep -v '^ *+' conftest.er1 >conftest.err
65305 rm -f conftest.er1
65306 cat conftest.err >&5
65307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65308 (exit $ac_status); } &&
65309 { ac_try='test -z "$ac_c_werror_flag"
65310 || test ! -s conftest.err'
65311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65312 (eval $ac_try) 2>&5
65313 ac_status=$?
65314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65315 (exit $ac_status); }; } &&
65316 { ac_try='test -s conftest$ac_exeext'
65317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65318 (eval $ac_try) 2>&5
65319 ac_status=$?
65320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65321 (exit $ac_status); }; }; then
65322 eval "$as_ac_var=yes"
65323 else
65324 echo "$as_me: failed program was:" >&5
65325 sed 's/^/| /' conftest.$ac_ext >&5
65327 eval "$as_ac_var=no"
65329 rm -f conftest.err conftest.$ac_objext \
65330 conftest$ac_exeext conftest.$ac_ext
65332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65334 if test `eval echo '${'$as_ac_var'}'` = yes; then
65335 cat >>confdefs.h <<_ACEOF
65336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65337 _ACEOF
65340 done
65342 else
65344 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
65345 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
65346 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65347 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
65348 echo $ECHO_N "(cached) $ECHO_C" >&6
65349 else
65353 ac_ext=cc
65354 ac_cpp='$CXXCPP $CPPFLAGS'
65355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65359 cat >conftest.$ac_ext <<_ACEOF
65360 /* confdefs.h. */
65361 _ACEOF
65362 cat confdefs.h >>conftest.$ac_ext
65363 cat >>conftest.$ac_ext <<_ACEOF
65364 /* end confdefs.h. */
65365 #include <math.h>
65367 main ()
65369 _frexpf(0, 0);
65371 return 0;
65373 _ACEOF
65374 rm -f conftest.$ac_objext
65375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65376 (eval $ac_compile) 2>conftest.er1
65377 ac_status=$?
65378 grep -v '^ *+' conftest.er1 >conftest.err
65379 rm -f conftest.er1
65380 cat conftest.err >&5
65381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65382 (exit $ac_status); } &&
65383 { ac_try='test -z "$ac_cxx_werror_flag"
65384 || test ! -s conftest.err'
65385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65386 (eval $ac_try) 2>&5
65387 ac_status=$?
65388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65389 (exit $ac_status); }; } &&
65390 { ac_try='test -s conftest.$ac_objext'
65391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65392 (eval $ac_try) 2>&5
65393 ac_status=$?
65394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65395 (exit $ac_status); }; }; then
65396 glibcxx_cv_func__frexpf_use=yes
65397 else
65398 echo "$as_me: failed program was:" >&5
65399 sed 's/^/| /' conftest.$ac_ext >&5
65401 glibcxx_cv_func__frexpf_use=no
65403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65404 ac_ext=c
65405 ac_cpp='$CPP $CPPFLAGS'
65406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65414 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
65415 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
65417 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
65419 for ac_func in _frexpf
65421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65422 echo "$as_me:$LINENO: checking for $ac_func" >&5
65423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65424 if eval "test \"\${$as_ac_var+set}\" = set"; then
65425 echo $ECHO_N "(cached) $ECHO_C" >&6
65426 else
65427 if test x$gcc_no_link = xyes; then
65428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65430 { (exit 1); exit 1; }; }
65432 cat >conftest.$ac_ext <<_ACEOF
65433 /* confdefs.h. */
65434 _ACEOF
65435 cat confdefs.h >>conftest.$ac_ext
65436 cat >>conftest.$ac_ext <<_ACEOF
65437 /* end confdefs.h. */
65438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65440 #define $ac_func innocuous_$ac_func
65442 /* System header to define __stub macros and hopefully few prototypes,
65443 which can conflict with char $ac_func (); below.
65444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65445 <limits.h> exists even on freestanding compilers. */
65447 #ifdef __STDC__
65448 # include <limits.h>
65449 #else
65450 # include <assert.h>
65451 #endif
65453 #undef $ac_func
65455 /* Override any gcc2 internal prototype to avoid an error. */
65456 #ifdef __cplusplus
65457 extern "C"
65459 #endif
65460 /* We use char because int might match the return type of a gcc2
65461 builtin and then its argument prototype would still apply. */
65462 char $ac_func ();
65463 /* The GNU C library defines this for functions which it implements
65464 to always fail with ENOSYS. Some functions are actually named
65465 something starting with __ and the normal name is an alias. */
65466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65467 choke me
65468 #else
65469 char (*f) () = $ac_func;
65470 #endif
65471 #ifdef __cplusplus
65473 #endif
65476 main ()
65478 return f != $ac_func;
65480 return 0;
65482 _ACEOF
65483 rm -f conftest.$ac_objext conftest$ac_exeext
65484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65485 (eval $ac_link) 2>conftest.er1
65486 ac_status=$?
65487 grep -v '^ *+' conftest.er1 >conftest.err
65488 rm -f conftest.er1
65489 cat conftest.err >&5
65490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65491 (exit $ac_status); } &&
65492 { ac_try='test -z "$ac_c_werror_flag"
65493 || test ! -s conftest.err'
65494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65495 (eval $ac_try) 2>&5
65496 ac_status=$?
65497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65498 (exit $ac_status); }; } &&
65499 { ac_try='test -s conftest$ac_exeext'
65500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65501 (eval $ac_try) 2>&5
65502 ac_status=$?
65503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65504 (exit $ac_status); }; }; then
65505 eval "$as_ac_var=yes"
65506 else
65507 echo "$as_me: failed program was:" >&5
65508 sed 's/^/| /' conftest.$ac_ext >&5
65510 eval "$as_ac_var=no"
65512 rm -f conftest.err conftest.$ac_objext \
65513 conftest$ac_exeext conftest.$ac_ext
65515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65517 if test `eval echo '${'$as_ac_var'}'` = yes; then
65518 cat >>confdefs.h <<_ACEOF
65519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65520 _ACEOF
65523 done
65533 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
65534 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
65535 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
65536 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
65537 echo $ECHO_N "(cached) $ECHO_C" >&6
65538 else
65542 ac_ext=cc
65543 ac_cpp='$CXXCPP $CPPFLAGS'
65544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65548 cat >conftest.$ac_ext <<_ACEOF
65549 /* confdefs.h. */
65550 _ACEOF
65551 cat confdefs.h >>conftest.$ac_ext
65552 cat >>conftest.$ac_ext <<_ACEOF
65553 /* end confdefs.h. */
65554 #include <math.h>
65556 main ()
65558 hypotf(0, 0);
65560 return 0;
65562 _ACEOF
65563 rm -f conftest.$ac_objext
65564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65565 (eval $ac_compile) 2>conftest.er1
65566 ac_status=$?
65567 grep -v '^ *+' conftest.er1 >conftest.err
65568 rm -f conftest.er1
65569 cat conftest.err >&5
65570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65571 (exit $ac_status); } &&
65572 { ac_try='test -z "$ac_cxx_werror_flag"
65573 || test ! -s conftest.err'
65574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65575 (eval $ac_try) 2>&5
65576 ac_status=$?
65577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65578 (exit $ac_status); }; } &&
65579 { ac_try='test -s conftest.$ac_objext'
65580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65581 (eval $ac_try) 2>&5
65582 ac_status=$?
65583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65584 (exit $ac_status); }; }; then
65585 glibcxx_cv_func_hypotf_use=yes
65586 else
65587 echo "$as_me: failed program was:" >&5
65588 sed 's/^/| /' conftest.$ac_ext >&5
65590 glibcxx_cv_func_hypotf_use=no
65592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65593 ac_ext=c
65594 ac_cpp='$CPP $CPPFLAGS'
65595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65603 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
65604 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
65606 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
65608 for ac_func in hypotf
65610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65611 echo "$as_me:$LINENO: checking for $ac_func" >&5
65612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65613 if eval "test \"\${$as_ac_var+set}\" = set"; then
65614 echo $ECHO_N "(cached) $ECHO_C" >&6
65615 else
65616 if test x$gcc_no_link = xyes; then
65617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65619 { (exit 1); exit 1; }; }
65621 cat >conftest.$ac_ext <<_ACEOF
65622 /* confdefs.h. */
65623 _ACEOF
65624 cat confdefs.h >>conftest.$ac_ext
65625 cat >>conftest.$ac_ext <<_ACEOF
65626 /* end confdefs.h. */
65627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65629 #define $ac_func innocuous_$ac_func
65631 /* System header to define __stub macros and hopefully few prototypes,
65632 which can conflict with char $ac_func (); below.
65633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65634 <limits.h> exists even on freestanding compilers. */
65636 #ifdef __STDC__
65637 # include <limits.h>
65638 #else
65639 # include <assert.h>
65640 #endif
65642 #undef $ac_func
65644 /* Override any gcc2 internal prototype to avoid an error. */
65645 #ifdef __cplusplus
65646 extern "C"
65648 #endif
65649 /* We use char because int might match the return type of a gcc2
65650 builtin and then its argument prototype would still apply. */
65651 char $ac_func ();
65652 /* The GNU C library defines this for functions which it implements
65653 to always fail with ENOSYS. Some functions are actually named
65654 something starting with __ and the normal name is an alias. */
65655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65656 choke me
65657 #else
65658 char (*f) () = $ac_func;
65659 #endif
65660 #ifdef __cplusplus
65662 #endif
65665 main ()
65667 return f != $ac_func;
65669 return 0;
65671 _ACEOF
65672 rm -f conftest.$ac_objext conftest$ac_exeext
65673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65674 (eval $ac_link) 2>conftest.er1
65675 ac_status=$?
65676 grep -v '^ *+' conftest.er1 >conftest.err
65677 rm -f conftest.er1
65678 cat conftest.err >&5
65679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65680 (exit $ac_status); } &&
65681 { ac_try='test -z "$ac_c_werror_flag"
65682 || test ! -s conftest.err'
65683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65684 (eval $ac_try) 2>&5
65685 ac_status=$?
65686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65687 (exit $ac_status); }; } &&
65688 { ac_try='test -s conftest$ac_exeext'
65689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65690 (eval $ac_try) 2>&5
65691 ac_status=$?
65692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65693 (exit $ac_status); }; }; then
65694 eval "$as_ac_var=yes"
65695 else
65696 echo "$as_me: failed program was:" >&5
65697 sed 's/^/| /' conftest.$ac_ext >&5
65699 eval "$as_ac_var=no"
65701 rm -f conftest.err conftest.$ac_objext \
65702 conftest$ac_exeext conftest.$ac_ext
65704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65706 if test `eval echo '${'$as_ac_var'}'` = yes; then
65707 cat >>confdefs.h <<_ACEOF
65708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65709 _ACEOF
65712 done
65714 else
65716 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
65717 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
65718 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
65719 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
65720 echo $ECHO_N "(cached) $ECHO_C" >&6
65721 else
65725 ac_ext=cc
65726 ac_cpp='$CXXCPP $CPPFLAGS'
65727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65731 cat >conftest.$ac_ext <<_ACEOF
65732 /* confdefs.h. */
65733 _ACEOF
65734 cat confdefs.h >>conftest.$ac_ext
65735 cat >>conftest.$ac_ext <<_ACEOF
65736 /* end confdefs.h. */
65737 #include <math.h>
65739 main ()
65741 _hypotf(0, 0);
65743 return 0;
65745 _ACEOF
65746 rm -f conftest.$ac_objext
65747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65748 (eval $ac_compile) 2>conftest.er1
65749 ac_status=$?
65750 grep -v '^ *+' conftest.er1 >conftest.err
65751 rm -f conftest.er1
65752 cat conftest.err >&5
65753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65754 (exit $ac_status); } &&
65755 { ac_try='test -z "$ac_cxx_werror_flag"
65756 || test ! -s conftest.err'
65757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65758 (eval $ac_try) 2>&5
65759 ac_status=$?
65760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65761 (exit $ac_status); }; } &&
65762 { ac_try='test -s conftest.$ac_objext'
65763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65764 (eval $ac_try) 2>&5
65765 ac_status=$?
65766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65767 (exit $ac_status); }; }; then
65768 glibcxx_cv_func__hypotf_use=yes
65769 else
65770 echo "$as_me: failed program was:" >&5
65771 sed 's/^/| /' conftest.$ac_ext >&5
65773 glibcxx_cv_func__hypotf_use=no
65775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65776 ac_ext=c
65777 ac_cpp='$CPP $CPPFLAGS'
65778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65786 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
65787 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
65789 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
65791 for ac_func in _hypotf
65793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65794 echo "$as_me:$LINENO: checking for $ac_func" >&5
65795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65796 if eval "test \"\${$as_ac_var+set}\" = set"; then
65797 echo $ECHO_N "(cached) $ECHO_C" >&6
65798 else
65799 if test x$gcc_no_link = xyes; then
65800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65802 { (exit 1); exit 1; }; }
65804 cat >conftest.$ac_ext <<_ACEOF
65805 /* confdefs.h. */
65806 _ACEOF
65807 cat confdefs.h >>conftest.$ac_ext
65808 cat >>conftest.$ac_ext <<_ACEOF
65809 /* end confdefs.h. */
65810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65812 #define $ac_func innocuous_$ac_func
65814 /* System header to define __stub macros and hopefully few prototypes,
65815 which can conflict with char $ac_func (); below.
65816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65817 <limits.h> exists even on freestanding compilers. */
65819 #ifdef __STDC__
65820 # include <limits.h>
65821 #else
65822 # include <assert.h>
65823 #endif
65825 #undef $ac_func
65827 /* Override any gcc2 internal prototype to avoid an error. */
65828 #ifdef __cplusplus
65829 extern "C"
65831 #endif
65832 /* We use char because int might match the return type of a gcc2
65833 builtin and then its argument prototype would still apply. */
65834 char $ac_func ();
65835 /* The GNU C library defines this for functions which it implements
65836 to always fail with ENOSYS. Some functions are actually named
65837 something starting with __ and the normal name is an alias. */
65838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65839 choke me
65840 #else
65841 char (*f) () = $ac_func;
65842 #endif
65843 #ifdef __cplusplus
65845 #endif
65848 main ()
65850 return f != $ac_func;
65852 return 0;
65854 _ACEOF
65855 rm -f conftest.$ac_objext conftest$ac_exeext
65856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65857 (eval $ac_link) 2>conftest.er1
65858 ac_status=$?
65859 grep -v '^ *+' conftest.er1 >conftest.err
65860 rm -f conftest.er1
65861 cat conftest.err >&5
65862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65863 (exit $ac_status); } &&
65864 { ac_try='test -z "$ac_c_werror_flag"
65865 || test ! -s conftest.err'
65866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65867 (eval $ac_try) 2>&5
65868 ac_status=$?
65869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65870 (exit $ac_status); }; } &&
65871 { ac_try='test -s conftest$ac_exeext'
65872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65873 (eval $ac_try) 2>&5
65874 ac_status=$?
65875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65876 (exit $ac_status); }; }; then
65877 eval "$as_ac_var=yes"
65878 else
65879 echo "$as_me: failed program was:" >&5
65880 sed 's/^/| /' conftest.$ac_ext >&5
65882 eval "$as_ac_var=no"
65884 rm -f conftest.err conftest.$ac_objext \
65885 conftest$ac_exeext conftest.$ac_ext
65887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65889 if test `eval echo '${'$as_ac_var'}'` = yes; then
65890 cat >>confdefs.h <<_ACEOF
65891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65892 _ACEOF
65895 done
65905 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
65906 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
65907 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
65908 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
65909 echo $ECHO_N "(cached) $ECHO_C" >&6
65910 else
65914 ac_ext=cc
65915 ac_cpp='$CXXCPP $CPPFLAGS'
65916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65920 cat >conftest.$ac_ext <<_ACEOF
65921 /* confdefs.h. */
65922 _ACEOF
65923 cat confdefs.h >>conftest.$ac_ext
65924 cat >>conftest.$ac_ext <<_ACEOF
65925 /* end confdefs.h. */
65926 #include <math.h>
65928 main ()
65930 ldexpf(0, 0);
65932 return 0;
65934 _ACEOF
65935 rm -f conftest.$ac_objext
65936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65937 (eval $ac_compile) 2>conftest.er1
65938 ac_status=$?
65939 grep -v '^ *+' conftest.er1 >conftest.err
65940 rm -f conftest.er1
65941 cat conftest.err >&5
65942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65943 (exit $ac_status); } &&
65944 { ac_try='test -z "$ac_cxx_werror_flag"
65945 || test ! -s conftest.err'
65946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65947 (eval $ac_try) 2>&5
65948 ac_status=$?
65949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65950 (exit $ac_status); }; } &&
65951 { ac_try='test -s conftest.$ac_objext'
65952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65953 (eval $ac_try) 2>&5
65954 ac_status=$?
65955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65956 (exit $ac_status); }; }; then
65957 glibcxx_cv_func_ldexpf_use=yes
65958 else
65959 echo "$as_me: failed program was:" >&5
65960 sed 's/^/| /' conftest.$ac_ext >&5
65962 glibcxx_cv_func_ldexpf_use=no
65964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65965 ac_ext=c
65966 ac_cpp='$CPP $CPPFLAGS'
65967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65975 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
65976 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
65978 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
65980 for ac_func in ldexpf
65982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65983 echo "$as_me:$LINENO: checking for $ac_func" >&5
65984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65985 if eval "test \"\${$as_ac_var+set}\" = set"; then
65986 echo $ECHO_N "(cached) $ECHO_C" >&6
65987 else
65988 if test x$gcc_no_link = xyes; then
65989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65991 { (exit 1); exit 1; }; }
65993 cat >conftest.$ac_ext <<_ACEOF
65994 /* confdefs.h. */
65995 _ACEOF
65996 cat confdefs.h >>conftest.$ac_ext
65997 cat >>conftest.$ac_ext <<_ACEOF
65998 /* end confdefs.h. */
65999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66001 #define $ac_func innocuous_$ac_func
66003 /* System header to define __stub macros and hopefully few prototypes,
66004 which can conflict with char $ac_func (); below.
66005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66006 <limits.h> exists even on freestanding compilers. */
66008 #ifdef __STDC__
66009 # include <limits.h>
66010 #else
66011 # include <assert.h>
66012 #endif
66014 #undef $ac_func
66016 /* Override any gcc2 internal prototype to avoid an error. */
66017 #ifdef __cplusplus
66018 extern "C"
66020 #endif
66021 /* We use char because int might match the return type of a gcc2
66022 builtin and then its argument prototype would still apply. */
66023 char $ac_func ();
66024 /* The GNU C library defines this for functions which it implements
66025 to always fail with ENOSYS. Some functions are actually named
66026 something starting with __ and the normal name is an alias. */
66027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66028 choke me
66029 #else
66030 char (*f) () = $ac_func;
66031 #endif
66032 #ifdef __cplusplus
66034 #endif
66037 main ()
66039 return f != $ac_func;
66041 return 0;
66043 _ACEOF
66044 rm -f conftest.$ac_objext conftest$ac_exeext
66045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66046 (eval $ac_link) 2>conftest.er1
66047 ac_status=$?
66048 grep -v '^ *+' conftest.er1 >conftest.err
66049 rm -f conftest.er1
66050 cat conftest.err >&5
66051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66052 (exit $ac_status); } &&
66053 { ac_try='test -z "$ac_c_werror_flag"
66054 || test ! -s conftest.err'
66055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66056 (eval $ac_try) 2>&5
66057 ac_status=$?
66058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66059 (exit $ac_status); }; } &&
66060 { ac_try='test -s conftest$ac_exeext'
66061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66062 (eval $ac_try) 2>&5
66063 ac_status=$?
66064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66065 (exit $ac_status); }; }; then
66066 eval "$as_ac_var=yes"
66067 else
66068 echo "$as_me: failed program was:" >&5
66069 sed 's/^/| /' conftest.$ac_ext >&5
66071 eval "$as_ac_var=no"
66073 rm -f conftest.err conftest.$ac_objext \
66074 conftest$ac_exeext conftest.$ac_ext
66076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66078 if test `eval echo '${'$as_ac_var'}'` = yes; then
66079 cat >>confdefs.h <<_ACEOF
66080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66081 _ACEOF
66084 done
66086 else
66088 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
66089 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
66090 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66091 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
66092 echo $ECHO_N "(cached) $ECHO_C" >&6
66093 else
66097 ac_ext=cc
66098 ac_cpp='$CXXCPP $CPPFLAGS'
66099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66103 cat >conftest.$ac_ext <<_ACEOF
66104 /* confdefs.h. */
66105 _ACEOF
66106 cat confdefs.h >>conftest.$ac_ext
66107 cat >>conftest.$ac_ext <<_ACEOF
66108 /* end confdefs.h. */
66109 #include <math.h>
66111 main ()
66113 _ldexpf(0, 0);
66115 return 0;
66117 _ACEOF
66118 rm -f conftest.$ac_objext
66119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66120 (eval $ac_compile) 2>conftest.er1
66121 ac_status=$?
66122 grep -v '^ *+' conftest.er1 >conftest.err
66123 rm -f conftest.er1
66124 cat conftest.err >&5
66125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66126 (exit $ac_status); } &&
66127 { ac_try='test -z "$ac_cxx_werror_flag"
66128 || test ! -s conftest.err'
66129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66130 (eval $ac_try) 2>&5
66131 ac_status=$?
66132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66133 (exit $ac_status); }; } &&
66134 { ac_try='test -s conftest.$ac_objext'
66135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66136 (eval $ac_try) 2>&5
66137 ac_status=$?
66138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66139 (exit $ac_status); }; }; then
66140 glibcxx_cv_func__ldexpf_use=yes
66141 else
66142 echo "$as_me: failed program was:" >&5
66143 sed 's/^/| /' conftest.$ac_ext >&5
66145 glibcxx_cv_func__ldexpf_use=no
66147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66148 ac_ext=c
66149 ac_cpp='$CPP $CPPFLAGS'
66150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66158 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
66159 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
66161 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66163 for ac_func in _ldexpf
66165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66166 echo "$as_me:$LINENO: checking for $ac_func" >&5
66167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66168 if eval "test \"\${$as_ac_var+set}\" = set"; then
66169 echo $ECHO_N "(cached) $ECHO_C" >&6
66170 else
66171 if test x$gcc_no_link = xyes; then
66172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66174 { (exit 1); exit 1; }; }
66176 cat >conftest.$ac_ext <<_ACEOF
66177 /* confdefs.h. */
66178 _ACEOF
66179 cat confdefs.h >>conftest.$ac_ext
66180 cat >>conftest.$ac_ext <<_ACEOF
66181 /* end confdefs.h. */
66182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66184 #define $ac_func innocuous_$ac_func
66186 /* System header to define __stub macros and hopefully few prototypes,
66187 which can conflict with char $ac_func (); below.
66188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66189 <limits.h> exists even on freestanding compilers. */
66191 #ifdef __STDC__
66192 # include <limits.h>
66193 #else
66194 # include <assert.h>
66195 #endif
66197 #undef $ac_func
66199 /* Override any gcc2 internal prototype to avoid an error. */
66200 #ifdef __cplusplus
66201 extern "C"
66203 #endif
66204 /* We use char because int might match the return type of a gcc2
66205 builtin and then its argument prototype would still apply. */
66206 char $ac_func ();
66207 /* The GNU C library defines this for functions which it implements
66208 to always fail with ENOSYS. Some functions are actually named
66209 something starting with __ and the normal name is an alias. */
66210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66211 choke me
66212 #else
66213 char (*f) () = $ac_func;
66214 #endif
66215 #ifdef __cplusplus
66217 #endif
66220 main ()
66222 return f != $ac_func;
66224 return 0;
66226 _ACEOF
66227 rm -f conftest.$ac_objext conftest$ac_exeext
66228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66229 (eval $ac_link) 2>conftest.er1
66230 ac_status=$?
66231 grep -v '^ *+' conftest.er1 >conftest.err
66232 rm -f conftest.er1
66233 cat conftest.err >&5
66234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66235 (exit $ac_status); } &&
66236 { ac_try='test -z "$ac_c_werror_flag"
66237 || test ! -s conftest.err'
66238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66239 (eval $ac_try) 2>&5
66240 ac_status=$?
66241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66242 (exit $ac_status); }; } &&
66243 { ac_try='test -s conftest$ac_exeext'
66244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66245 (eval $ac_try) 2>&5
66246 ac_status=$?
66247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66248 (exit $ac_status); }; }; then
66249 eval "$as_ac_var=yes"
66250 else
66251 echo "$as_me: failed program was:" >&5
66252 sed 's/^/| /' conftest.$ac_ext >&5
66254 eval "$as_ac_var=no"
66256 rm -f conftest.err conftest.$ac_objext \
66257 conftest$ac_exeext conftest.$ac_ext
66259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66261 if test `eval echo '${'$as_ac_var'}'` = yes; then
66262 cat >>confdefs.h <<_ACEOF
66263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66264 _ACEOF
66267 done
66277 echo "$as_me:$LINENO: checking for logf declaration" >&5
66278 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
66279 if test x${glibcxx_cv_func_logf_use+set} != xset; then
66280 if test "${glibcxx_cv_func_logf_use+set}" = set; then
66281 echo $ECHO_N "(cached) $ECHO_C" >&6
66282 else
66286 ac_ext=cc
66287 ac_cpp='$CXXCPP $CPPFLAGS'
66288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66292 cat >conftest.$ac_ext <<_ACEOF
66293 /* confdefs.h. */
66294 _ACEOF
66295 cat confdefs.h >>conftest.$ac_ext
66296 cat >>conftest.$ac_ext <<_ACEOF
66297 /* end confdefs.h. */
66298 #include <math.h>
66299 #ifdef HAVE_IEEEFP_H
66300 #include <ieeefp.h>
66301 #endif
66304 main ()
66306 logf(0);
66308 return 0;
66310 _ACEOF
66311 rm -f conftest.$ac_objext
66312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66313 (eval $ac_compile) 2>conftest.er1
66314 ac_status=$?
66315 grep -v '^ *+' conftest.er1 >conftest.err
66316 rm -f conftest.er1
66317 cat conftest.err >&5
66318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66319 (exit $ac_status); } &&
66320 { ac_try='test -z "$ac_cxx_werror_flag"
66321 || test ! -s conftest.err'
66322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66323 (eval $ac_try) 2>&5
66324 ac_status=$?
66325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66326 (exit $ac_status); }; } &&
66327 { ac_try='test -s conftest.$ac_objext'
66328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66329 (eval $ac_try) 2>&5
66330 ac_status=$?
66331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66332 (exit $ac_status); }; }; then
66333 glibcxx_cv_func_logf_use=yes
66334 else
66335 echo "$as_me: failed program was:" >&5
66336 sed 's/^/| /' conftest.$ac_ext >&5
66338 glibcxx_cv_func_logf_use=no
66340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66341 ac_ext=c
66342 ac_cpp='$CPP $CPPFLAGS'
66343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66351 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
66352 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
66354 if test x$glibcxx_cv_func_logf_use = x"yes"; then
66356 for ac_func in logf
66358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66359 echo "$as_me:$LINENO: checking for $ac_func" >&5
66360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66361 if eval "test \"\${$as_ac_var+set}\" = set"; then
66362 echo $ECHO_N "(cached) $ECHO_C" >&6
66363 else
66364 if test x$gcc_no_link = xyes; then
66365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66367 { (exit 1); exit 1; }; }
66369 cat >conftest.$ac_ext <<_ACEOF
66370 /* confdefs.h. */
66371 _ACEOF
66372 cat confdefs.h >>conftest.$ac_ext
66373 cat >>conftest.$ac_ext <<_ACEOF
66374 /* end confdefs.h. */
66375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66377 #define $ac_func innocuous_$ac_func
66379 /* System header to define __stub macros and hopefully few prototypes,
66380 which can conflict with char $ac_func (); below.
66381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66382 <limits.h> exists even on freestanding compilers. */
66384 #ifdef __STDC__
66385 # include <limits.h>
66386 #else
66387 # include <assert.h>
66388 #endif
66390 #undef $ac_func
66392 /* Override any gcc2 internal prototype to avoid an error. */
66393 #ifdef __cplusplus
66394 extern "C"
66396 #endif
66397 /* We use char because int might match the return type of a gcc2
66398 builtin and then its argument prototype would still apply. */
66399 char $ac_func ();
66400 /* The GNU C library defines this for functions which it implements
66401 to always fail with ENOSYS. Some functions are actually named
66402 something starting with __ and the normal name is an alias. */
66403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66404 choke me
66405 #else
66406 char (*f) () = $ac_func;
66407 #endif
66408 #ifdef __cplusplus
66410 #endif
66413 main ()
66415 return f != $ac_func;
66417 return 0;
66419 _ACEOF
66420 rm -f conftest.$ac_objext conftest$ac_exeext
66421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66422 (eval $ac_link) 2>conftest.er1
66423 ac_status=$?
66424 grep -v '^ *+' conftest.er1 >conftest.err
66425 rm -f conftest.er1
66426 cat conftest.err >&5
66427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66428 (exit $ac_status); } &&
66429 { ac_try='test -z "$ac_c_werror_flag"
66430 || test ! -s conftest.err'
66431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66432 (eval $ac_try) 2>&5
66433 ac_status=$?
66434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66435 (exit $ac_status); }; } &&
66436 { ac_try='test -s conftest$ac_exeext'
66437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66438 (eval $ac_try) 2>&5
66439 ac_status=$?
66440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66441 (exit $ac_status); }; }; then
66442 eval "$as_ac_var=yes"
66443 else
66444 echo "$as_me: failed program was:" >&5
66445 sed 's/^/| /' conftest.$ac_ext >&5
66447 eval "$as_ac_var=no"
66449 rm -f conftest.err conftest.$ac_objext \
66450 conftest$ac_exeext conftest.$ac_ext
66452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66454 if test `eval echo '${'$as_ac_var'}'` = yes; then
66455 cat >>confdefs.h <<_ACEOF
66456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66457 _ACEOF
66460 done
66462 else
66464 echo "$as_me:$LINENO: checking for _logf declaration" >&5
66465 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
66466 if test x${glibcxx_cv_func__logf_use+set} != xset; then
66467 if test "${glibcxx_cv_func__logf_use+set}" = set; then
66468 echo $ECHO_N "(cached) $ECHO_C" >&6
66469 else
66473 ac_ext=cc
66474 ac_cpp='$CXXCPP $CPPFLAGS'
66475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66479 cat >conftest.$ac_ext <<_ACEOF
66480 /* confdefs.h. */
66481 _ACEOF
66482 cat confdefs.h >>conftest.$ac_ext
66483 cat >>conftest.$ac_ext <<_ACEOF
66484 /* end confdefs.h. */
66485 #include <math.h>
66486 #ifdef HAVE_IEEEFP_H
66487 #include <ieeefp.h>
66488 #endif
66491 main ()
66493 _logf(0);
66495 return 0;
66497 _ACEOF
66498 rm -f conftest.$ac_objext
66499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66500 (eval $ac_compile) 2>conftest.er1
66501 ac_status=$?
66502 grep -v '^ *+' conftest.er1 >conftest.err
66503 rm -f conftest.er1
66504 cat conftest.err >&5
66505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66506 (exit $ac_status); } &&
66507 { ac_try='test -z "$ac_cxx_werror_flag"
66508 || test ! -s conftest.err'
66509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66510 (eval $ac_try) 2>&5
66511 ac_status=$?
66512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66513 (exit $ac_status); }; } &&
66514 { ac_try='test -s conftest.$ac_objext'
66515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66516 (eval $ac_try) 2>&5
66517 ac_status=$?
66518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66519 (exit $ac_status); }; }; then
66520 glibcxx_cv_func__logf_use=yes
66521 else
66522 echo "$as_me: failed program was:" >&5
66523 sed 's/^/| /' conftest.$ac_ext >&5
66525 glibcxx_cv_func__logf_use=no
66527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66528 ac_ext=c
66529 ac_cpp='$CPP $CPPFLAGS'
66530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66538 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
66539 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
66541 if test x$glibcxx_cv_func__logf_use = x"yes"; then
66543 for ac_func in _logf
66545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66546 echo "$as_me:$LINENO: checking for $ac_func" >&5
66547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66548 if eval "test \"\${$as_ac_var+set}\" = set"; then
66549 echo $ECHO_N "(cached) $ECHO_C" >&6
66550 else
66551 if test x$gcc_no_link = xyes; then
66552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66554 { (exit 1); exit 1; }; }
66556 cat >conftest.$ac_ext <<_ACEOF
66557 /* confdefs.h. */
66558 _ACEOF
66559 cat confdefs.h >>conftest.$ac_ext
66560 cat >>conftest.$ac_ext <<_ACEOF
66561 /* end confdefs.h. */
66562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66564 #define $ac_func innocuous_$ac_func
66566 /* System header to define __stub macros and hopefully few prototypes,
66567 which can conflict with char $ac_func (); below.
66568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66569 <limits.h> exists even on freestanding compilers. */
66571 #ifdef __STDC__
66572 # include <limits.h>
66573 #else
66574 # include <assert.h>
66575 #endif
66577 #undef $ac_func
66579 /* Override any gcc2 internal prototype to avoid an error. */
66580 #ifdef __cplusplus
66581 extern "C"
66583 #endif
66584 /* We use char because int might match the return type of a gcc2
66585 builtin and then its argument prototype would still apply. */
66586 char $ac_func ();
66587 /* The GNU C library defines this for functions which it implements
66588 to always fail with ENOSYS. Some functions are actually named
66589 something starting with __ and the normal name is an alias. */
66590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66591 choke me
66592 #else
66593 char (*f) () = $ac_func;
66594 #endif
66595 #ifdef __cplusplus
66597 #endif
66600 main ()
66602 return f != $ac_func;
66604 return 0;
66606 _ACEOF
66607 rm -f conftest.$ac_objext conftest$ac_exeext
66608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66609 (eval $ac_link) 2>conftest.er1
66610 ac_status=$?
66611 grep -v '^ *+' conftest.er1 >conftest.err
66612 rm -f conftest.er1
66613 cat conftest.err >&5
66614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66615 (exit $ac_status); } &&
66616 { ac_try='test -z "$ac_c_werror_flag"
66617 || test ! -s conftest.err'
66618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66619 (eval $ac_try) 2>&5
66620 ac_status=$?
66621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66622 (exit $ac_status); }; } &&
66623 { ac_try='test -s conftest$ac_exeext'
66624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66625 (eval $ac_try) 2>&5
66626 ac_status=$?
66627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66628 (exit $ac_status); }; }; then
66629 eval "$as_ac_var=yes"
66630 else
66631 echo "$as_me: failed program was:" >&5
66632 sed 's/^/| /' conftest.$ac_ext >&5
66634 eval "$as_ac_var=no"
66636 rm -f conftest.err conftest.$ac_objext \
66637 conftest$ac_exeext conftest.$ac_ext
66639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66641 if test `eval echo '${'$as_ac_var'}'` = yes; then
66642 cat >>confdefs.h <<_ACEOF
66643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66644 _ACEOF
66647 done
66657 echo "$as_me:$LINENO: checking for log10f declaration" >&5
66658 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
66659 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66660 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
66661 echo $ECHO_N "(cached) $ECHO_C" >&6
66662 else
66666 ac_ext=cc
66667 ac_cpp='$CXXCPP $CPPFLAGS'
66668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66672 cat >conftest.$ac_ext <<_ACEOF
66673 /* confdefs.h. */
66674 _ACEOF
66675 cat confdefs.h >>conftest.$ac_ext
66676 cat >>conftest.$ac_ext <<_ACEOF
66677 /* end confdefs.h. */
66678 #include <math.h>
66679 #ifdef HAVE_IEEEFP_H
66680 #include <ieeefp.h>
66681 #endif
66684 main ()
66686 log10f(0);
66688 return 0;
66690 _ACEOF
66691 rm -f conftest.$ac_objext
66692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66693 (eval $ac_compile) 2>conftest.er1
66694 ac_status=$?
66695 grep -v '^ *+' conftest.er1 >conftest.err
66696 rm -f conftest.er1
66697 cat conftest.err >&5
66698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66699 (exit $ac_status); } &&
66700 { ac_try='test -z "$ac_cxx_werror_flag"
66701 || test ! -s conftest.err'
66702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66703 (eval $ac_try) 2>&5
66704 ac_status=$?
66705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66706 (exit $ac_status); }; } &&
66707 { ac_try='test -s conftest.$ac_objext'
66708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66709 (eval $ac_try) 2>&5
66710 ac_status=$?
66711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66712 (exit $ac_status); }; }; then
66713 glibcxx_cv_func_log10f_use=yes
66714 else
66715 echo "$as_me: failed program was:" >&5
66716 sed 's/^/| /' conftest.$ac_ext >&5
66718 glibcxx_cv_func_log10f_use=no
66720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66721 ac_ext=c
66722 ac_cpp='$CPP $CPPFLAGS'
66723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66731 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
66732 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
66734 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66736 for ac_func in log10f
66738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66739 echo "$as_me:$LINENO: checking for $ac_func" >&5
66740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66741 if eval "test \"\${$as_ac_var+set}\" = set"; then
66742 echo $ECHO_N "(cached) $ECHO_C" >&6
66743 else
66744 if test x$gcc_no_link = xyes; then
66745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66747 { (exit 1); exit 1; }; }
66749 cat >conftest.$ac_ext <<_ACEOF
66750 /* confdefs.h. */
66751 _ACEOF
66752 cat confdefs.h >>conftest.$ac_ext
66753 cat >>conftest.$ac_ext <<_ACEOF
66754 /* end confdefs.h. */
66755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66757 #define $ac_func innocuous_$ac_func
66759 /* System header to define __stub macros and hopefully few prototypes,
66760 which can conflict with char $ac_func (); below.
66761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66762 <limits.h> exists even on freestanding compilers. */
66764 #ifdef __STDC__
66765 # include <limits.h>
66766 #else
66767 # include <assert.h>
66768 #endif
66770 #undef $ac_func
66772 /* Override any gcc2 internal prototype to avoid an error. */
66773 #ifdef __cplusplus
66774 extern "C"
66776 #endif
66777 /* We use char because int might match the return type of a gcc2
66778 builtin and then its argument prototype would still apply. */
66779 char $ac_func ();
66780 /* The GNU C library defines this for functions which it implements
66781 to always fail with ENOSYS. Some functions are actually named
66782 something starting with __ and the normal name is an alias. */
66783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66784 choke me
66785 #else
66786 char (*f) () = $ac_func;
66787 #endif
66788 #ifdef __cplusplus
66790 #endif
66793 main ()
66795 return f != $ac_func;
66797 return 0;
66799 _ACEOF
66800 rm -f conftest.$ac_objext conftest$ac_exeext
66801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66802 (eval $ac_link) 2>conftest.er1
66803 ac_status=$?
66804 grep -v '^ *+' conftest.er1 >conftest.err
66805 rm -f conftest.er1
66806 cat conftest.err >&5
66807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66808 (exit $ac_status); } &&
66809 { ac_try='test -z "$ac_c_werror_flag"
66810 || test ! -s conftest.err'
66811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66812 (eval $ac_try) 2>&5
66813 ac_status=$?
66814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66815 (exit $ac_status); }; } &&
66816 { ac_try='test -s conftest$ac_exeext'
66817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66818 (eval $ac_try) 2>&5
66819 ac_status=$?
66820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66821 (exit $ac_status); }; }; then
66822 eval "$as_ac_var=yes"
66823 else
66824 echo "$as_me: failed program was:" >&5
66825 sed 's/^/| /' conftest.$ac_ext >&5
66827 eval "$as_ac_var=no"
66829 rm -f conftest.err conftest.$ac_objext \
66830 conftest$ac_exeext conftest.$ac_ext
66832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66834 if test `eval echo '${'$as_ac_var'}'` = yes; then
66835 cat >>confdefs.h <<_ACEOF
66836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66837 _ACEOF
66840 done
66842 else
66844 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
66845 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
66846 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66847 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
66848 echo $ECHO_N "(cached) $ECHO_C" >&6
66849 else
66853 ac_ext=cc
66854 ac_cpp='$CXXCPP $CPPFLAGS'
66855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66859 cat >conftest.$ac_ext <<_ACEOF
66860 /* confdefs.h. */
66861 _ACEOF
66862 cat confdefs.h >>conftest.$ac_ext
66863 cat >>conftest.$ac_ext <<_ACEOF
66864 /* end confdefs.h. */
66865 #include <math.h>
66866 #ifdef HAVE_IEEEFP_H
66867 #include <ieeefp.h>
66868 #endif
66871 main ()
66873 _log10f(0);
66875 return 0;
66877 _ACEOF
66878 rm -f conftest.$ac_objext
66879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66880 (eval $ac_compile) 2>conftest.er1
66881 ac_status=$?
66882 grep -v '^ *+' conftest.er1 >conftest.err
66883 rm -f conftest.er1
66884 cat conftest.err >&5
66885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66886 (exit $ac_status); } &&
66887 { ac_try='test -z "$ac_cxx_werror_flag"
66888 || test ! -s conftest.err'
66889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66890 (eval $ac_try) 2>&5
66891 ac_status=$?
66892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66893 (exit $ac_status); }; } &&
66894 { ac_try='test -s conftest.$ac_objext'
66895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66896 (eval $ac_try) 2>&5
66897 ac_status=$?
66898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66899 (exit $ac_status); }; }; then
66900 glibcxx_cv_func__log10f_use=yes
66901 else
66902 echo "$as_me: failed program was:" >&5
66903 sed 's/^/| /' conftest.$ac_ext >&5
66905 glibcxx_cv_func__log10f_use=no
66907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66908 ac_ext=c
66909 ac_cpp='$CPP $CPPFLAGS'
66910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66918 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
66919 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
66921 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
66923 for ac_func in _log10f
66925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66926 echo "$as_me:$LINENO: checking for $ac_func" >&5
66927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66928 if eval "test \"\${$as_ac_var+set}\" = set"; then
66929 echo $ECHO_N "(cached) $ECHO_C" >&6
66930 else
66931 if test x$gcc_no_link = xyes; then
66932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66934 { (exit 1); exit 1; }; }
66936 cat >conftest.$ac_ext <<_ACEOF
66937 /* confdefs.h. */
66938 _ACEOF
66939 cat confdefs.h >>conftest.$ac_ext
66940 cat >>conftest.$ac_ext <<_ACEOF
66941 /* end confdefs.h. */
66942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66944 #define $ac_func innocuous_$ac_func
66946 /* System header to define __stub macros and hopefully few prototypes,
66947 which can conflict with char $ac_func (); below.
66948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66949 <limits.h> exists even on freestanding compilers. */
66951 #ifdef __STDC__
66952 # include <limits.h>
66953 #else
66954 # include <assert.h>
66955 #endif
66957 #undef $ac_func
66959 /* Override any gcc2 internal prototype to avoid an error. */
66960 #ifdef __cplusplus
66961 extern "C"
66963 #endif
66964 /* We use char because int might match the return type of a gcc2
66965 builtin and then its argument prototype would still apply. */
66966 char $ac_func ();
66967 /* The GNU C library defines this for functions which it implements
66968 to always fail with ENOSYS. Some functions are actually named
66969 something starting with __ and the normal name is an alias. */
66970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66971 choke me
66972 #else
66973 char (*f) () = $ac_func;
66974 #endif
66975 #ifdef __cplusplus
66977 #endif
66980 main ()
66982 return f != $ac_func;
66984 return 0;
66986 _ACEOF
66987 rm -f conftest.$ac_objext conftest$ac_exeext
66988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66989 (eval $ac_link) 2>conftest.er1
66990 ac_status=$?
66991 grep -v '^ *+' conftest.er1 >conftest.err
66992 rm -f conftest.er1
66993 cat conftest.err >&5
66994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66995 (exit $ac_status); } &&
66996 { ac_try='test -z "$ac_c_werror_flag"
66997 || test ! -s conftest.err'
66998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66999 (eval $ac_try) 2>&5
67000 ac_status=$?
67001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67002 (exit $ac_status); }; } &&
67003 { ac_try='test -s conftest$ac_exeext'
67004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67005 (eval $ac_try) 2>&5
67006 ac_status=$?
67007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67008 (exit $ac_status); }; }; then
67009 eval "$as_ac_var=yes"
67010 else
67011 echo "$as_me: failed program was:" >&5
67012 sed 's/^/| /' conftest.$ac_ext >&5
67014 eval "$as_ac_var=no"
67016 rm -f conftest.err conftest.$ac_objext \
67017 conftest$ac_exeext conftest.$ac_ext
67019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67021 if test `eval echo '${'$as_ac_var'}'` = yes; then
67022 cat >>confdefs.h <<_ACEOF
67023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67024 _ACEOF
67027 done
67037 echo "$as_me:$LINENO: checking for modff declaration" >&5
67038 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
67039 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67040 if test "${glibcxx_cv_func_modff_use+set}" = set; then
67041 echo $ECHO_N "(cached) $ECHO_C" >&6
67042 else
67046 ac_ext=cc
67047 ac_cpp='$CXXCPP $CPPFLAGS'
67048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67052 cat >conftest.$ac_ext <<_ACEOF
67053 /* confdefs.h. */
67054 _ACEOF
67055 cat confdefs.h >>conftest.$ac_ext
67056 cat >>conftest.$ac_ext <<_ACEOF
67057 /* end confdefs.h. */
67058 #include <math.h>
67060 main ()
67062 modff(0, 0);
67064 return 0;
67066 _ACEOF
67067 rm -f conftest.$ac_objext
67068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67069 (eval $ac_compile) 2>conftest.er1
67070 ac_status=$?
67071 grep -v '^ *+' conftest.er1 >conftest.err
67072 rm -f conftest.er1
67073 cat conftest.err >&5
67074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67075 (exit $ac_status); } &&
67076 { ac_try='test -z "$ac_cxx_werror_flag"
67077 || test ! -s conftest.err'
67078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67079 (eval $ac_try) 2>&5
67080 ac_status=$?
67081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67082 (exit $ac_status); }; } &&
67083 { ac_try='test -s conftest.$ac_objext'
67084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67085 (eval $ac_try) 2>&5
67086 ac_status=$?
67087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67088 (exit $ac_status); }; }; then
67089 glibcxx_cv_func_modff_use=yes
67090 else
67091 echo "$as_me: failed program was:" >&5
67092 sed 's/^/| /' conftest.$ac_ext >&5
67094 glibcxx_cv_func_modff_use=no
67096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67097 ac_ext=c
67098 ac_cpp='$CPP $CPPFLAGS'
67099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67107 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
67108 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
67110 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67112 for ac_func in modff
67114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67115 echo "$as_me:$LINENO: checking for $ac_func" >&5
67116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67117 if eval "test \"\${$as_ac_var+set}\" = set"; then
67118 echo $ECHO_N "(cached) $ECHO_C" >&6
67119 else
67120 if test x$gcc_no_link = xyes; then
67121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67123 { (exit 1); exit 1; }; }
67125 cat >conftest.$ac_ext <<_ACEOF
67126 /* confdefs.h. */
67127 _ACEOF
67128 cat confdefs.h >>conftest.$ac_ext
67129 cat >>conftest.$ac_ext <<_ACEOF
67130 /* end confdefs.h. */
67131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67133 #define $ac_func innocuous_$ac_func
67135 /* System header to define __stub macros and hopefully few prototypes,
67136 which can conflict with char $ac_func (); below.
67137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67138 <limits.h> exists even on freestanding compilers. */
67140 #ifdef __STDC__
67141 # include <limits.h>
67142 #else
67143 # include <assert.h>
67144 #endif
67146 #undef $ac_func
67148 /* Override any gcc2 internal prototype to avoid an error. */
67149 #ifdef __cplusplus
67150 extern "C"
67152 #endif
67153 /* We use char because int might match the return type of a gcc2
67154 builtin and then its argument prototype would still apply. */
67155 char $ac_func ();
67156 /* The GNU C library defines this for functions which it implements
67157 to always fail with ENOSYS. Some functions are actually named
67158 something starting with __ and the normal name is an alias. */
67159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67160 choke me
67161 #else
67162 char (*f) () = $ac_func;
67163 #endif
67164 #ifdef __cplusplus
67166 #endif
67169 main ()
67171 return f != $ac_func;
67173 return 0;
67175 _ACEOF
67176 rm -f conftest.$ac_objext conftest$ac_exeext
67177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67178 (eval $ac_link) 2>conftest.er1
67179 ac_status=$?
67180 grep -v '^ *+' conftest.er1 >conftest.err
67181 rm -f conftest.er1
67182 cat conftest.err >&5
67183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67184 (exit $ac_status); } &&
67185 { ac_try='test -z "$ac_c_werror_flag"
67186 || test ! -s conftest.err'
67187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67188 (eval $ac_try) 2>&5
67189 ac_status=$?
67190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67191 (exit $ac_status); }; } &&
67192 { ac_try='test -s conftest$ac_exeext'
67193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67194 (eval $ac_try) 2>&5
67195 ac_status=$?
67196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67197 (exit $ac_status); }; }; then
67198 eval "$as_ac_var=yes"
67199 else
67200 echo "$as_me: failed program was:" >&5
67201 sed 's/^/| /' conftest.$ac_ext >&5
67203 eval "$as_ac_var=no"
67205 rm -f conftest.err conftest.$ac_objext \
67206 conftest$ac_exeext conftest.$ac_ext
67208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67210 if test `eval echo '${'$as_ac_var'}'` = yes; then
67211 cat >>confdefs.h <<_ACEOF
67212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67213 _ACEOF
67216 done
67218 else
67220 echo "$as_me:$LINENO: checking for _modff declaration" >&5
67221 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
67222 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67223 if test "${glibcxx_cv_func__modff_use+set}" = set; then
67224 echo $ECHO_N "(cached) $ECHO_C" >&6
67225 else
67229 ac_ext=cc
67230 ac_cpp='$CXXCPP $CPPFLAGS'
67231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67235 cat >conftest.$ac_ext <<_ACEOF
67236 /* confdefs.h. */
67237 _ACEOF
67238 cat confdefs.h >>conftest.$ac_ext
67239 cat >>conftest.$ac_ext <<_ACEOF
67240 /* end confdefs.h. */
67241 #include <math.h>
67243 main ()
67245 _modff(0, 0);
67247 return 0;
67249 _ACEOF
67250 rm -f conftest.$ac_objext
67251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67252 (eval $ac_compile) 2>conftest.er1
67253 ac_status=$?
67254 grep -v '^ *+' conftest.er1 >conftest.err
67255 rm -f conftest.er1
67256 cat conftest.err >&5
67257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67258 (exit $ac_status); } &&
67259 { ac_try='test -z "$ac_cxx_werror_flag"
67260 || test ! -s conftest.err'
67261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67262 (eval $ac_try) 2>&5
67263 ac_status=$?
67264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67265 (exit $ac_status); }; } &&
67266 { ac_try='test -s conftest.$ac_objext'
67267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67268 (eval $ac_try) 2>&5
67269 ac_status=$?
67270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67271 (exit $ac_status); }; }; then
67272 glibcxx_cv_func__modff_use=yes
67273 else
67274 echo "$as_me: failed program was:" >&5
67275 sed 's/^/| /' conftest.$ac_ext >&5
67277 glibcxx_cv_func__modff_use=no
67279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67280 ac_ext=c
67281 ac_cpp='$CPP $CPPFLAGS'
67282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67290 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
67291 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
67293 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67295 for ac_func in _modff
67297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67298 echo "$as_me:$LINENO: checking for $ac_func" >&5
67299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67300 if eval "test \"\${$as_ac_var+set}\" = set"; then
67301 echo $ECHO_N "(cached) $ECHO_C" >&6
67302 else
67303 if test x$gcc_no_link = xyes; then
67304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67306 { (exit 1); exit 1; }; }
67308 cat >conftest.$ac_ext <<_ACEOF
67309 /* confdefs.h. */
67310 _ACEOF
67311 cat confdefs.h >>conftest.$ac_ext
67312 cat >>conftest.$ac_ext <<_ACEOF
67313 /* end confdefs.h. */
67314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67316 #define $ac_func innocuous_$ac_func
67318 /* System header to define __stub macros and hopefully few prototypes,
67319 which can conflict with char $ac_func (); below.
67320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67321 <limits.h> exists even on freestanding compilers. */
67323 #ifdef __STDC__
67324 # include <limits.h>
67325 #else
67326 # include <assert.h>
67327 #endif
67329 #undef $ac_func
67331 /* Override any gcc2 internal prototype to avoid an error. */
67332 #ifdef __cplusplus
67333 extern "C"
67335 #endif
67336 /* We use char because int might match the return type of a gcc2
67337 builtin and then its argument prototype would still apply. */
67338 char $ac_func ();
67339 /* The GNU C library defines this for functions which it implements
67340 to always fail with ENOSYS. Some functions are actually named
67341 something starting with __ and the normal name is an alias. */
67342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67343 choke me
67344 #else
67345 char (*f) () = $ac_func;
67346 #endif
67347 #ifdef __cplusplus
67349 #endif
67352 main ()
67354 return f != $ac_func;
67356 return 0;
67358 _ACEOF
67359 rm -f conftest.$ac_objext conftest$ac_exeext
67360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67361 (eval $ac_link) 2>conftest.er1
67362 ac_status=$?
67363 grep -v '^ *+' conftest.er1 >conftest.err
67364 rm -f conftest.er1
67365 cat conftest.err >&5
67366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67367 (exit $ac_status); } &&
67368 { ac_try='test -z "$ac_c_werror_flag"
67369 || test ! -s conftest.err'
67370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67371 (eval $ac_try) 2>&5
67372 ac_status=$?
67373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67374 (exit $ac_status); }; } &&
67375 { ac_try='test -s conftest$ac_exeext'
67376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67377 (eval $ac_try) 2>&5
67378 ac_status=$?
67379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67380 (exit $ac_status); }; }; then
67381 eval "$as_ac_var=yes"
67382 else
67383 echo "$as_me: failed program was:" >&5
67384 sed 's/^/| /' conftest.$ac_ext >&5
67386 eval "$as_ac_var=no"
67388 rm -f conftest.err conftest.$ac_objext \
67389 conftest$ac_exeext conftest.$ac_ext
67391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67393 if test `eval echo '${'$as_ac_var'}'` = yes; then
67394 cat >>confdefs.h <<_ACEOF
67395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67396 _ACEOF
67399 done
67409 echo "$as_me:$LINENO: checking for modf declaration" >&5
67410 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
67411 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67412 if test "${glibcxx_cv_func_modf_use+set}" = set; then
67413 echo $ECHO_N "(cached) $ECHO_C" >&6
67414 else
67418 ac_ext=cc
67419 ac_cpp='$CXXCPP $CPPFLAGS'
67420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67424 cat >conftest.$ac_ext <<_ACEOF
67425 /* confdefs.h. */
67426 _ACEOF
67427 cat confdefs.h >>conftest.$ac_ext
67428 cat >>conftest.$ac_ext <<_ACEOF
67429 /* end confdefs.h. */
67430 #include <math.h>
67432 main ()
67434 modf(0, 0);
67436 return 0;
67438 _ACEOF
67439 rm -f conftest.$ac_objext
67440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67441 (eval $ac_compile) 2>conftest.er1
67442 ac_status=$?
67443 grep -v '^ *+' conftest.er1 >conftest.err
67444 rm -f conftest.er1
67445 cat conftest.err >&5
67446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67447 (exit $ac_status); } &&
67448 { ac_try='test -z "$ac_cxx_werror_flag"
67449 || test ! -s conftest.err'
67450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67451 (eval $ac_try) 2>&5
67452 ac_status=$?
67453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67454 (exit $ac_status); }; } &&
67455 { ac_try='test -s conftest.$ac_objext'
67456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67457 (eval $ac_try) 2>&5
67458 ac_status=$?
67459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67460 (exit $ac_status); }; }; then
67461 glibcxx_cv_func_modf_use=yes
67462 else
67463 echo "$as_me: failed program was:" >&5
67464 sed 's/^/| /' conftest.$ac_ext >&5
67466 glibcxx_cv_func_modf_use=no
67468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67469 ac_ext=c
67470 ac_cpp='$CPP $CPPFLAGS'
67471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67479 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
67480 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
67482 if test x$glibcxx_cv_func_modf_use = x"yes"; then
67484 for ac_func in modf
67486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67487 echo "$as_me:$LINENO: checking for $ac_func" >&5
67488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67489 if eval "test \"\${$as_ac_var+set}\" = set"; then
67490 echo $ECHO_N "(cached) $ECHO_C" >&6
67491 else
67492 if test x$gcc_no_link = xyes; then
67493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67495 { (exit 1); exit 1; }; }
67497 cat >conftest.$ac_ext <<_ACEOF
67498 /* confdefs.h. */
67499 _ACEOF
67500 cat confdefs.h >>conftest.$ac_ext
67501 cat >>conftest.$ac_ext <<_ACEOF
67502 /* end confdefs.h. */
67503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67505 #define $ac_func innocuous_$ac_func
67507 /* System header to define __stub macros and hopefully few prototypes,
67508 which can conflict with char $ac_func (); below.
67509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67510 <limits.h> exists even on freestanding compilers. */
67512 #ifdef __STDC__
67513 # include <limits.h>
67514 #else
67515 # include <assert.h>
67516 #endif
67518 #undef $ac_func
67520 /* Override any gcc2 internal prototype to avoid an error. */
67521 #ifdef __cplusplus
67522 extern "C"
67524 #endif
67525 /* We use char because int might match the return type of a gcc2
67526 builtin and then its argument prototype would still apply. */
67527 char $ac_func ();
67528 /* The GNU C library defines this for functions which it implements
67529 to always fail with ENOSYS. Some functions are actually named
67530 something starting with __ and the normal name is an alias. */
67531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67532 choke me
67533 #else
67534 char (*f) () = $ac_func;
67535 #endif
67536 #ifdef __cplusplus
67538 #endif
67541 main ()
67543 return f != $ac_func;
67545 return 0;
67547 _ACEOF
67548 rm -f conftest.$ac_objext conftest$ac_exeext
67549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67550 (eval $ac_link) 2>conftest.er1
67551 ac_status=$?
67552 grep -v '^ *+' conftest.er1 >conftest.err
67553 rm -f conftest.er1
67554 cat conftest.err >&5
67555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67556 (exit $ac_status); } &&
67557 { ac_try='test -z "$ac_c_werror_flag"
67558 || test ! -s conftest.err'
67559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67560 (eval $ac_try) 2>&5
67561 ac_status=$?
67562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67563 (exit $ac_status); }; } &&
67564 { ac_try='test -s conftest$ac_exeext'
67565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67566 (eval $ac_try) 2>&5
67567 ac_status=$?
67568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67569 (exit $ac_status); }; }; then
67570 eval "$as_ac_var=yes"
67571 else
67572 echo "$as_me: failed program was:" >&5
67573 sed 's/^/| /' conftest.$ac_ext >&5
67575 eval "$as_ac_var=no"
67577 rm -f conftest.err conftest.$ac_objext \
67578 conftest$ac_exeext conftest.$ac_ext
67580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67582 if test `eval echo '${'$as_ac_var'}'` = yes; then
67583 cat >>confdefs.h <<_ACEOF
67584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67585 _ACEOF
67588 done
67590 else
67592 echo "$as_me:$LINENO: checking for _modf declaration" >&5
67593 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
67594 if test x${glibcxx_cv_func__modf_use+set} != xset; then
67595 if test "${glibcxx_cv_func__modf_use+set}" = set; then
67596 echo $ECHO_N "(cached) $ECHO_C" >&6
67597 else
67601 ac_ext=cc
67602 ac_cpp='$CXXCPP $CPPFLAGS'
67603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67607 cat >conftest.$ac_ext <<_ACEOF
67608 /* confdefs.h. */
67609 _ACEOF
67610 cat confdefs.h >>conftest.$ac_ext
67611 cat >>conftest.$ac_ext <<_ACEOF
67612 /* end confdefs.h. */
67613 #include <math.h>
67615 main ()
67617 _modf(0, 0);
67619 return 0;
67621 _ACEOF
67622 rm -f conftest.$ac_objext
67623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67624 (eval $ac_compile) 2>conftest.er1
67625 ac_status=$?
67626 grep -v '^ *+' conftest.er1 >conftest.err
67627 rm -f conftest.er1
67628 cat conftest.err >&5
67629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67630 (exit $ac_status); } &&
67631 { ac_try='test -z "$ac_cxx_werror_flag"
67632 || test ! -s conftest.err'
67633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67634 (eval $ac_try) 2>&5
67635 ac_status=$?
67636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67637 (exit $ac_status); }; } &&
67638 { ac_try='test -s conftest.$ac_objext'
67639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67640 (eval $ac_try) 2>&5
67641 ac_status=$?
67642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67643 (exit $ac_status); }; }; then
67644 glibcxx_cv_func__modf_use=yes
67645 else
67646 echo "$as_me: failed program was:" >&5
67647 sed 's/^/| /' conftest.$ac_ext >&5
67649 glibcxx_cv_func__modf_use=no
67651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67652 ac_ext=c
67653 ac_cpp='$CPP $CPPFLAGS'
67654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67662 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
67663 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
67665 if test x$glibcxx_cv_func__modf_use = x"yes"; then
67667 for ac_func in _modf
67669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67670 echo "$as_me:$LINENO: checking for $ac_func" >&5
67671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67672 if eval "test \"\${$as_ac_var+set}\" = set"; then
67673 echo $ECHO_N "(cached) $ECHO_C" >&6
67674 else
67675 if test x$gcc_no_link = xyes; then
67676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67678 { (exit 1); exit 1; }; }
67680 cat >conftest.$ac_ext <<_ACEOF
67681 /* confdefs.h. */
67682 _ACEOF
67683 cat confdefs.h >>conftest.$ac_ext
67684 cat >>conftest.$ac_ext <<_ACEOF
67685 /* end confdefs.h. */
67686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67688 #define $ac_func innocuous_$ac_func
67690 /* System header to define __stub macros and hopefully few prototypes,
67691 which can conflict with char $ac_func (); below.
67692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67693 <limits.h> exists even on freestanding compilers. */
67695 #ifdef __STDC__
67696 # include <limits.h>
67697 #else
67698 # include <assert.h>
67699 #endif
67701 #undef $ac_func
67703 /* Override any gcc2 internal prototype to avoid an error. */
67704 #ifdef __cplusplus
67705 extern "C"
67707 #endif
67708 /* We use char because int might match the return type of a gcc2
67709 builtin and then its argument prototype would still apply. */
67710 char $ac_func ();
67711 /* The GNU C library defines this for functions which it implements
67712 to always fail with ENOSYS. Some functions are actually named
67713 something starting with __ and the normal name is an alias. */
67714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67715 choke me
67716 #else
67717 char (*f) () = $ac_func;
67718 #endif
67719 #ifdef __cplusplus
67721 #endif
67724 main ()
67726 return f != $ac_func;
67728 return 0;
67730 _ACEOF
67731 rm -f conftest.$ac_objext conftest$ac_exeext
67732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67733 (eval $ac_link) 2>conftest.er1
67734 ac_status=$?
67735 grep -v '^ *+' conftest.er1 >conftest.err
67736 rm -f conftest.er1
67737 cat conftest.err >&5
67738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67739 (exit $ac_status); } &&
67740 { ac_try='test -z "$ac_c_werror_flag"
67741 || test ! -s conftest.err'
67742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67743 (eval $ac_try) 2>&5
67744 ac_status=$?
67745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67746 (exit $ac_status); }; } &&
67747 { ac_try='test -s conftest$ac_exeext'
67748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67749 (eval $ac_try) 2>&5
67750 ac_status=$?
67751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67752 (exit $ac_status); }; }; then
67753 eval "$as_ac_var=yes"
67754 else
67755 echo "$as_me: failed program was:" >&5
67756 sed 's/^/| /' conftest.$ac_ext >&5
67758 eval "$as_ac_var=no"
67760 rm -f conftest.err conftest.$ac_objext \
67761 conftest$ac_exeext conftest.$ac_ext
67763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67765 if test `eval echo '${'$as_ac_var'}'` = yes; then
67766 cat >>confdefs.h <<_ACEOF
67767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67768 _ACEOF
67771 done
67781 echo "$as_me:$LINENO: checking for powf declaration" >&5
67782 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
67783 if test x${glibcxx_cv_func_powf_use+set} != xset; then
67784 if test "${glibcxx_cv_func_powf_use+set}" = set; then
67785 echo $ECHO_N "(cached) $ECHO_C" >&6
67786 else
67790 ac_ext=cc
67791 ac_cpp='$CXXCPP $CPPFLAGS'
67792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67796 cat >conftest.$ac_ext <<_ACEOF
67797 /* confdefs.h. */
67798 _ACEOF
67799 cat confdefs.h >>conftest.$ac_ext
67800 cat >>conftest.$ac_ext <<_ACEOF
67801 /* end confdefs.h. */
67802 #include <math.h>
67804 main ()
67806 powf(0, 0);
67808 return 0;
67810 _ACEOF
67811 rm -f conftest.$ac_objext
67812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67813 (eval $ac_compile) 2>conftest.er1
67814 ac_status=$?
67815 grep -v '^ *+' conftest.er1 >conftest.err
67816 rm -f conftest.er1
67817 cat conftest.err >&5
67818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67819 (exit $ac_status); } &&
67820 { ac_try='test -z "$ac_cxx_werror_flag"
67821 || test ! -s conftest.err'
67822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67823 (eval $ac_try) 2>&5
67824 ac_status=$?
67825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67826 (exit $ac_status); }; } &&
67827 { ac_try='test -s conftest.$ac_objext'
67828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67829 (eval $ac_try) 2>&5
67830 ac_status=$?
67831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67832 (exit $ac_status); }; }; then
67833 glibcxx_cv_func_powf_use=yes
67834 else
67835 echo "$as_me: failed program was:" >&5
67836 sed 's/^/| /' conftest.$ac_ext >&5
67838 glibcxx_cv_func_powf_use=no
67840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67841 ac_ext=c
67842 ac_cpp='$CPP $CPPFLAGS'
67843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67851 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
67852 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
67854 if test x$glibcxx_cv_func_powf_use = x"yes"; then
67856 for ac_func in powf
67858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67859 echo "$as_me:$LINENO: checking for $ac_func" >&5
67860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67861 if eval "test \"\${$as_ac_var+set}\" = set"; then
67862 echo $ECHO_N "(cached) $ECHO_C" >&6
67863 else
67864 if test x$gcc_no_link = xyes; then
67865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67867 { (exit 1); exit 1; }; }
67869 cat >conftest.$ac_ext <<_ACEOF
67870 /* confdefs.h. */
67871 _ACEOF
67872 cat confdefs.h >>conftest.$ac_ext
67873 cat >>conftest.$ac_ext <<_ACEOF
67874 /* end confdefs.h. */
67875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67877 #define $ac_func innocuous_$ac_func
67879 /* System header to define __stub macros and hopefully few prototypes,
67880 which can conflict with char $ac_func (); below.
67881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67882 <limits.h> exists even on freestanding compilers. */
67884 #ifdef __STDC__
67885 # include <limits.h>
67886 #else
67887 # include <assert.h>
67888 #endif
67890 #undef $ac_func
67892 /* Override any gcc2 internal prototype to avoid an error. */
67893 #ifdef __cplusplus
67894 extern "C"
67896 #endif
67897 /* We use char because int might match the return type of a gcc2
67898 builtin and then its argument prototype would still apply. */
67899 char $ac_func ();
67900 /* The GNU C library defines this for functions which it implements
67901 to always fail with ENOSYS. Some functions are actually named
67902 something starting with __ and the normal name is an alias. */
67903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67904 choke me
67905 #else
67906 char (*f) () = $ac_func;
67907 #endif
67908 #ifdef __cplusplus
67910 #endif
67913 main ()
67915 return f != $ac_func;
67917 return 0;
67919 _ACEOF
67920 rm -f conftest.$ac_objext conftest$ac_exeext
67921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67922 (eval $ac_link) 2>conftest.er1
67923 ac_status=$?
67924 grep -v '^ *+' conftest.er1 >conftest.err
67925 rm -f conftest.er1
67926 cat conftest.err >&5
67927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67928 (exit $ac_status); } &&
67929 { ac_try='test -z "$ac_c_werror_flag"
67930 || test ! -s conftest.err'
67931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67932 (eval $ac_try) 2>&5
67933 ac_status=$?
67934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67935 (exit $ac_status); }; } &&
67936 { ac_try='test -s conftest$ac_exeext'
67937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67938 (eval $ac_try) 2>&5
67939 ac_status=$?
67940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67941 (exit $ac_status); }; }; then
67942 eval "$as_ac_var=yes"
67943 else
67944 echo "$as_me: failed program was:" >&5
67945 sed 's/^/| /' conftest.$ac_ext >&5
67947 eval "$as_ac_var=no"
67949 rm -f conftest.err conftest.$ac_objext \
67950 conftest$ac_exeext conftest.$ac_ext
67952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67954 if test `eval echo '${'$as_ac_var'}'` = yes; then
67955 cat >>confdefs.h <<_ACEOF
67956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67957 _ACEOF
67960 done
67962 else
67964 echo "$as_me:$LINENO: checking for _powf declaration" >&5
67965 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
67966 if test x${glibcxx_cv_func__powf_use+set} != xset; then
67967 if test "${glibcxx_cv_func__powf_use+set}" = set; then
67968 echo $ECHO_N "(cached) $ECHO_C" >&6
67969 else
67973 ac_ext=cc
67974 ac_cpp='$CXXCPP $CPPFLAGS'
67975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67979 cat >conftest.$ac_ext <<_ACEOF
67980 /* confdefs.h. */
67981 _ACEOF
67982 cat confdefs.h >>conftest.$ac_ext
67983 cat >>conftest.$ac_ext <<_ACEOF
67984 /* end confdefs.h. */
67985 #include <math.h>
67987 main ()
67989 _powf(0, 0);
67991 return 0;
67993 _ACEOF
67994 rm -f conftest.$ac_objext
67995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67996 (eval $ac_compile) 2>conftest.er1
67997 ac_status=$?
67998 grep -v '^ *+' conftest.er1 >conftest.err
67999 rm -f conftest.er1
68000 cat conftest.err >&5
68001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68002 (exit $ac_status); } &&
68003 { ac_try='test -z "$ac_cxx_werror_flag"
68004 || test ! -s conftest.err'
68005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68006 (eval $ac_try) 2>&5
68007 ac_status=$?
68008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68009 (exit $ac_status); }; } &&
68010 { ac_try='test -s conftest.$ac_objext'
68011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68012 (eval $ac_try) 2>&5
68013 ac_status=$?
68014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68015 (exit $ac_status); }; }; then
68016 glibcxx_cv_func__powf_use=yes
68017 else
68018 echo "$as_me: failed program was:" >&5
68019 sed 's/^/| /' conftest.$ac_ext >&5
68021 glibcxx_cv_func__powf_use=no
68023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68024 ac_ext=c
68025 ac_cpp='$CPP $CPPFLAGS'
68026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68034 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
68035 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
68037 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68039 for ac_func in _powf
68041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68042 echo "$as_me:$LINENO: checking for $ac_func" >&5
68043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68044 if eval "test \"\${$as_ac_var+set}\" = set"; then
68045 echo $ECHO_N "(cached) $ECHO_C" >&6
68046 else
68047 if test x$gcc_no_link = xyes; then
68048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68050 { (exit 1); exit 1; }; }
68052 cat >conftest.$ac_ext <<_ACEOF
68053 /* confdefs.h. */
68054 _ACEOF
68055 cat confdefs.h >>conftest.$ac_ext
68056 cat >>conftest.$ac_ext <<_ACEOF
68057 /* end confdefs.h. */
68058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68060 #define $ac_func innocuous_$ac_func
68062 /* System header to define __stub macros and hopefully few prototypes,
68063 which can conflict with char $ac_func (); below.
68064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68065 <limits.h> exists even on freestanding compilers. */
68067 #ifdef __STDC__
68068 # include <limits.h>
68069 #else
68070 # include <assert.h>
68071 #endif
68073 #undef $ac_func
68075 /* Override any gcc2 internal prototype to avoid an error. */
68076 #ifdef __cplusplus
68077 extern "C"
68079 #endif
68080 /* We use char because int might match the return type of a gcc2
68081 builtin and then its argument prototype would still apply. */
68082 char $ac_func ();
68083 /* The GNU C library defines this for functions which it implements
68084 to always fail with ENOSYS. Some functions are actually named
68085 something starting with __ and the normal name is an alias. */
68086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68087 choke me
68088 #else
68089 char (*f) () = $ac_func;
68090 #endif
68091 #ifdef __cplusplus
68093 #endif
68096 main ()
68098 return f != $ac_func;
68100 return 0;
68102 _ACEOF
68103 rm -f conftest.$ac_objext conftest$ac_exeext
68104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68105 (eval $ac_link) 2>conftest.er1
68106 ac_status=$?
68107 grep -v '^ *+' conftest.er1 >conftest.err
68108 rm -f conftest.er1
68109 cat conftest.err >&5
68110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68111 (exit $ac_status); } &&
68112 { ac_try='test -z "$ac_c_werror_flag"
68113 || test ! -s conftest.err'
68114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68115 (eval $ac_try) 2>&5
68116 ac_status=$?
68117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68118 (exit $ac_status); }; } &&
68119 { ac_try='test -s conftest$ac_exeext'
68120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68121 (eval $ac_try) 2>&5
68122 ac_status=$?
68123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68124 (exit $ac_status); }; }; then
68125 eval "$as_ac_var=yes"
68126 else
68127 echo "$as_me: failed program was:" >&5
68128 sed 's/^/| /' conftest.$ac_ext >&5
68130 eval "$as_ac_var=no"
68132 rm -f conftest.err conftest.$ac_objext \
68133 conftest$ac_exeext conftest.$ac_ext
68135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68137 if test `eval echo '${'$as_ac_var'}'` = yes; then
68138 cat >>confdefs.h <<_ACEOF
68139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68140 _ACEOF
68143 done
68153 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
68154 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
68155 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68156 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
68157 echo $ECHO_N "(cached) $ECHO_C" >&6
68158 else
68162 ac_ext=cc
68163 ac_cpp='$CXXCPP $CPPFLAGS'
68164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68168 cat >conftest.$ac_ext <<_ACEOF
68169 /* confdefs.h. */
68170 _ACEOF
68171 cat confdefs.h >>conftest.$ac_ext
68172 cat >>conftest.$ac_ext <<_ACEOF
68173 /* end confdefs.h. */
68174 #include <math.h>
68175 #ifdef HAVE_IEEEFP_H
68176 #include <ieeefp.h>
68177 #endif
68180 main ()
68182 sqrtf(0);
68184 return 0;
68186 _ACEOF
68187 rm -f conftest.$ac_objext
68188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68189 (eval $ac_compile) 2>conftest.er1
68190 ac_status=$?
68191 grep -v '^ *+' conftest.er1 >conftest.err
68192 rm -f conftest.er1
68193 cat conftest.err >&5
68194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68195 (exit $ac_status); } &&
68196 { ac_try='test -z "$ac_cxx_werror_flag"
68197 || test ! -s conftest.err'
68198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68199 (eval $ac_try) 2>&5
68200 ac_status=$?
68201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68202 (exit $ac_status); }; } &&
68203 { ac_try='test -s conftest.$ac_objext'
68204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68205 (eval $ac_try) 2>&5
68206 ac_status=$?
68207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68208 (exit $ac_status); }; }; then
68209 glibcxx_cv_func_sqrtf_use=yes
68210 else
68211 echo "$as_me: failed program was:" >&5
68212 sed 's/^/| /' conftest.$ac_ext >&5
68214 glibcxx_cv_func_sqrtf_use=no
68216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68217 ac_ext=c
68218 ac_cpp='$CPP $CPPFLAGS'
68219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68227 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
68228 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
68230 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68232 for ac_func in sqrtf
68234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68235 echo "$as_me:$LINENO: checking for $ac_func" >&5
68236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68237 if eval "test \"\${$as_ac_var+set}\" = set"; then
68238 echo $ECHO_N "(cached) $ECHO_C" >&6
68239 else
68240 if test x$gcc_no_link = xyes; then
68241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68243 { (exit 1); exit 1; }; }
68245 cat >conftest.$ac_ext <<_ACEOF
68246 /* confdefs.h. */
68247 _ACEOF
68248 cat confdefs.h >>conftest.$ac_ext
68249 cat >>conftest.$ac_ext <<_ACEOF
68250 /* end confdefs.h. */
68251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68253 #define $ac_func innocuous_$ac_func
68255 /* System header to define __stub macros and hopefully few prototypes,
68256 which can conflict with char $ac_func (); below.
68257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68258 <limits.h> exists even on freestanding compilers. */
68260 #ifdef __STDC__
68261 # include <limits.h>
68262 #else
68263 # include <assert.h>
68264 #endif
68266 #undef $ac_func
68268 /* Override any gcc2 internal prototype to avoid an error. */
68269 #ifdef __cplusplus
68270 extern "C"
68272 #endif
68273 /* We use char because int might match the return type of a gcc2
68274 builtin and then its argument prototype would still apply. */
68275 char $ac_func ();
68276 /* The GNU C library defines this for functions which it implements
68277 to always fail with ENOSYS. Some functions are actually named
68278 something starting with __ and the normal name is an alias. */
68279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68280 choke me
68281 #else
68282 char (*f) () = $ac_func;
68283 #endif
68284 #ifdef __cplusplus
68286 #endif
68289 main ()
68291 return f != $ac_func;
68293 return 0;
68295 _ACEOF
68296 rm -f conftest.$ac_objext conftest$ac_exeext
68297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68298 (eval $ac_link) 2>conftest.er1
68299 ac_status=$?
68300 grep -v '^ *+' conftest.er1 >conftest.err
68301 rm -f conftest.er1
68302 cat conftest.err >&5
68303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68304 (exit $ac_status); } &&
68305 { ac_try='test -z "$ac_c_werror_flag"
68306 || test ! -s conftest.err'
68307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68308 (eval $ac_try) 2>&5
68309 ac_status=$?
68310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68311 (exit $ac_status); }; } &&
68312 { ac_try='test -s conftest$ac_exeext'
68313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68314 (eval $ac_try) 2>&5
68315 ac_status=$?
68316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68317 (exit $ac_status); }; }; then
68318 eval "$as_ac_var=yes"
68319 else
68320 echo "$as_me: failed program was:" >&5
68321 sed 's/^/| /' conftest.$ac_ext >&5
68323 eval "$as_ac_var=no"
68325 rm -f conftest.err conftest.$ac_objext \
68326 conftest$ac_exeext conftest.$ac_ext
68328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68330 if test `eval echo '${'$as_ac_var'}'` = yes; then
68331 cat >>confdefs.h <<_ACEOF
68332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68333 _ACEOF
68336 done
68338 else
68340 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
68341 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
68342 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68343 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
68344 echo $ECHO_N "(cached) $ECHO_C" >&6
68345 else
68349 ac_ext=cc
68350 ac_cpp='$CXXCPP $CPPFLAGS'
68351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68355 cat >conftest.$ac_ext <<_ACEOF
68356 /* confdefs.h. */
68357 _ACEOF
68358 cat confdefs.h >>conftest.$ac_ext
68359 cat >>conftest.$ac_ext <<_ACEOF
68360 /* end confdefs.h. */
68361 #include <math.h>
68362 #ifdef HAVE_IEEEFP_H
68363 #include <ieeefp.h>
68364 #endif
68367 main ()
68369 _sqrtf(0);
68371 return 0;
68373 _ACEOF
68374 rm -f conftest.$ac_objext
68375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68376 (eval $ac_compile) 2>conftest.er1
68377 ac_status=$?
68378 grep -v '^ *+' conftest.er1 >conftest.err
68379 rm -f conftest.er1
68380 cat conftest.err >&5
68381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68382 (exit $ac_status); } &&
68383 { ac_try='test -z "$ac_cxx_werror_flag"
68384 || test ! -s conftest.err'
68385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68386 (eval $ac_try) 2>&5
68387 ac_status=$?
68388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68389 (exit $ac_status); }; } &&
68390 { ac_try='test -s conftest.$ac_objext'
68391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68392 (eval $ac_try) 2>&5
68393 ac_status=$?
68394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68395 (exit $ac_status); }; }; then
68396 glibcxx_cv_func__sqrtf_use=yes
68397 else
68398 echo "$as_me: failed program was:" >&5
68399 sed 's/^/| /' conftest.$ac_ext >&5
68401 glibcxx_cv_func__sqrtf_use=no
68403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68404 ac_ext=c
68405 ac_cpp='$CPP $CPPFLAGS'
68406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68414 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
68415 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
68417 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68419 for ac_func in _sqrtf
68421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68422 echo "$as_me:$LINENO: checking for $ac_func" >&5
68423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68424 if eval "test \"\${$as_ac_var+set}\" = set"; then
68425 echo $ECHO_N "(cached) $ECHO_C" >&6
68426 else
68427 if test x$gcc_no_link = xyes; then
68428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68430 { (exit 1); exit 1; }; }
68432 cat >conftest.$ac_ext <<_ACEOF
68433 /* confdefs.h. */
68434 _ACEOF
68435 cat confdefs.h >>conftest.$ac_ext
68436 cat >>conftest.$ac_ext <<_ACEOF
68437 /* end confdefs.h. */
68438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68440 #define $ac_func innocuous_$ac_func
68442 /* System header to define __stub macros and hopefully few prototypes,
68443 which can conflict with char $ac_func (); below.
68444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68445 <limits.h> exists even on freestanding compilers. */
68447 #ifdef __STDC__
68448 # include <limits.h>
68449 #else
68450 # include <assert.h>
68451 #endif
68453 #undef $ac_func
68455 /* Override any gcc2 internal prototype to avoid an error. */
68456 #ifdef __cplusplus
68457 extern "C"
68459 #endif
68460 /* We use char because int might match the return type of a gcc2
68461 builtin and then its argument prototype would still apply. */
68462 char $ac_func ();
68463 /* The GNU C library defines this for functions which it implements
68464 to always fail with ENOSYS. Some functions are actually named
68465 something starting with __ and the normal name is an alias. */
68466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68467 choke me
68468 #else
68469 char (*f) () = $ac_func;
68470 #endif
68471 #ifdef __cplusplus
68473 #endif
68476 main ()
68478 return f != $ac_func;
68480 return 0;
68482 _ACEOF
68483 rm -f conftest.$ac_objext conftest$ac_exeext
68484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68485 (eval $ac_link) 2>conftest.er1
68486 ac_status=$?
68487 grep -v '^ *+' conftest.er1 >conftest.err
68488 rm -f conftest.er1
68489 cat conftest.err >&5
68490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68491 (exit $ac_status); } &&
68492 { ac_try='test -z "$ac_c_werror_flag"
68493 || test ! -s conftest.err'
68494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68495 (eval $ac_try) 2>&5
68496 ac_status=$?
68497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68498 (exit $ac_status); }; } &&
68499 { ac_try='test -s conftest$ac_exeext'
68500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68501 (eval $ac_try) 2>&5
68502 ac_status=$?
68503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68504 (exit $ac_status); }; }; then
68505 eval "$as_ac_var=yes"
68506 else
68507 echo "$as_me: failed program was:" >&5
68508 sed 's/^/| /' conftest.$ac_ext >&5
68510 eval "$as_ac_var=no"
68512 rm -f conftest.err conftest.$ac_objext \
68513 conftest$ac_exeext conftest.$ac_ext
68515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68517 if test `eval echo '${'$as_ac_var'}'` = yes; then
68518 cat >>confdefs.h <<_ACEOF
68519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68520 _ACEOF
68523 done
68533 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
68534 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
68535 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68536 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
68537 echo $ECHO_N "(cached) $ECHO_C" >&6
68538 else
68542 ac_ext=cc
68543 ac_cpp='$CXXCPP $CPPFLAGS'
68544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68548 cat >conftest.$ac_ext <<_ACEOF
68549 /* confdefs.h. */
68550 _ACEOF
68551 cat confdefs.h >>conftest.$ac_ext
68552 cat >>conftest.$ac_ext <<_ACEOF
68553 /* end confdefs.h. */
68554 #include <math.h>
68556 main ()
68558 sincosf(0, 0, 0);
68560 return 0;
68562 _ACEOF
68563 rm -f conftest.$ac_objext
68564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68565 (eval $ac_compile) 2>conftest.er1
68566 ac_status=$?
68567 grep -v '^ *+' conftest.er1 >conftest.err
68568 rm -f conftest.er1
68569 cat conftest.err >&5
68570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68571 (exit $ac_status); } &&
68572 { ac_try='test -z "$ac_cxx_werror_flag"
68573 || test ! -s conftest.err'
68574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68575 (eval $ac_try) 2>&5
68576 ac_status=$?
68577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68578 (exit $ac_status); }; } &&
68579 { ac_try='test -s conftest.$ac_objext'
68580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68581 (eval $ac_try) 2>&5
68582 ac_status=$?
68583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68584 (exit $ac_status); }; }; then
68585 glibcxx_cv_func_sincosf_use=yes
68586 else
68587 echo "$as_me: failed program was:" >&5
68588 sed 's/^/| /' conftest.$ac_ext >&5
68590 glibcxx_cv_func_sincosf_use=no
68592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68593 ac_ext=c
68594 ac_cpp='$CPP $CPPFLAGS'
68595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68603 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
68604 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
68606 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68608 for ac_func in sincosf
68610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68611 echo "$as_me:$LINENO: checking for $ac_func" >&5
68612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68613 if eval "test \"\${$as_ac_var+set}\" = set"; then
68614 echo $ECHO_N "(cached) $ECHO_C" >&6
68615 else
68616 if test x$gcc_no_link = xyes; then
68617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68619 { (exit 1); exit 1; }; }
68621 cat >conftest.$ac_ext <<_ACEOF
68622 /* confdefs.h. */
68623 _ACEOF
68624 cat confdefs.h >>conftest.$ac_ext
68625 cat >>conftest.$ac_ext <<_ACEOF
68626 /* end confdefs.h. */
68627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68629 #define $ac_func innocuous_$ac_func
68631 /* System header to define __stub macros and hopefully few prototypes,
68632 which can conflict with char $ac_func (); below.
68633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68634 <limits.h> exists even on freestanding compilers. */
68636 #ifdef __STDC__
68637 # include <limits.h>
68638 #else
68639 # include <assert.h>
68640 #endif
68642 #undef $ac_func
68644 /* Override any gcc2 internal prototype to avoid an error. */
68645 #ifdef __cplusplus
68646 extern "C"
68648 #endif
68649 /* We use char because int might match the return type of a gcc2
68650 builtin and then its argument prototype would still apply. */
68651 char $ac_func ();
68652 /* The GNU C library defines this for functions which it implements
68653 to always fail with ENOSYS. Some functions are actually named
68654 something starting with __ and the normal name is an alias. */
68655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68656 choke me
68657 #else
68658 char (*f) () = $ac_func;
68659 #endif
68660 #ifdef __cplusplus
68662 #endif
68665 main ()
68667 return f != $ac_func;
68669 return 0;
68671 _ACEOF
68672 rm -f conftest.$ac_objext conftest$ac_exeext
68673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68674 (eval $ac_link) 2>conftest.er1
68675 ac_status=$?
68676 grep -v '^ *+' conftest.er1 >conftest.err
68677 rm -f conftest.er1
68678 cat conftest.err >&5
68679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68680 (exit $ac_status); } &&
68681 { ac_try='test -z "$ac_c_werror_flag"
68682 || test ! -s conftest.err'
68683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68684 (eval $ac_try) 2>&5
68685 ac_status=$?
68686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68687 (exit $ac_status); }; } &&
68688 { ac_try='test -s conftest$ac_exeext'
68689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68690 (eval $ac_try) 2>&5
68691 ac_status=$?
68692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68693 (exit $ac_status); }; }; then
68694 eval "$as_ac_var=yes"
68695 else
68696 echo "$as_me: failed program was:" >&5
68697 sed 's/^/| /' conftest.$ac_ext >&5
68699 eval "$as_ac_var=no"
68701 rm -f conftest.err conftest.$ac_objext \
68702 conftest$ac_exeext conftest.$ac_ext
68704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68706 if test `eval echo '${'$as_ac_var'}'` = yes; then
68707 cat >>confdefs.h <<_ACEOF
68708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68709 _ACEOF
68712 done
68714 else
68716 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
68717 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
68718 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68719 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
68720 echo $ECHO_N "(cached) $ECHO_C" >&6
68721 else
68725 ac_ext=cc
68726 ac_cpp='$CXXCPP $CPPFLAGS'
68727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68731 cat >conftest.$ac_ext <<_ACEOF
68732 /* confdefs.h. */
68733 _ACEOF
68734 cat confdefs.h >>conftest.$ac_ext
68735 cat >>conftest.$ac_ext <<_ACEOF
68736 /* end confdefs.h. */
68737 #include <math.h>
68739 main ()
68741 _sincosf(0, 0, 0);
68743 return 0;
68745 _ACEOF
68746 rm -f conftest.$ac_objext
68747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68748 (eval $ac_compile) 2>conftest.er1
68749 ac_status=$?
68750 grep -v '^ *+' conftest.er1 >conftest.err
68751 rm -f conftest.er1
68752 cat conftest.err >&5
68753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68754 (exit $ac_status); } &&
68755 { ac_try='test -z "$ac_cxx_werror_flag"
68756 || test ! -s conftest.err'
68757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68758 (eval $ac_try) 2>&5
68759 ac_status=$?
68760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68761 (exit $ac_status); }; } &&
68762 { ac_try='test -s conftest.$ac_objext'
68763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68764 (eval $ac_try) 2>&5
68765 ac_status=$?
68766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68767 (exit $ac_status); }; }; then
68768 glibcxx_cv_func__sincosf_use=yes
68769 else
68770 echo "$as_me: failed program was:" >&5
68771 sed 's/^/| /' conftest.$ac_ext >&5
68773 glibcxx_cv_func__sincosf_use=no
68775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68776 ac_ext=c
68777 ac_cpp='$CPP $CPPFLAGS'
68778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68786 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
68787 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
68789 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68791 for ac_func in _sincosf
68793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68794 echo "$as_me:$LINENO: checking for $ac_func" >&5
68795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68796 if eval "test \"\${$as_ac_var+set}\" = set"; then
68797 echo $ECHO_N "(cached) $ECHO_C" >&6
68798 else
68799 if test x$gcc_no_link = xyes; then
68800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68802 { (exit 1); exit 1; }; }
68804 cat >conftest.$ac_ext <<_ACEOF
68805 /* confdefs.h. */
68806 _ACEOF
68807 cat confdefs.h >>conftest.$ac_ext
68808 cat >>conftest.$ac_ext <<_ACEOF
68809 /* end confdefs.h. */
68810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68812 #define $ac_func innocuous_$ac_func
68814 /* System header to define __stub macros and hopefully few prototypes,
68815 which can conflict with char $ac_func (); below.
68816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68817 <limits.h> exists even on freestanding compilers. */
68819 #ifdef __STDC__
68820 # include <limits.h>
68821 #else
68822 # include <assert.h>
68823 #endif
68825 #undef $ac_func
68827 /* Override any gcc2 internal prototype to avoid an error. */
68828 #ifdef __cplusplus
68829 extern "C"
68831 #endif
68832 /* We use char because int might match the return type of a gcc2
68833 builtin and then its argument prototype would still apply. */
68834 char $ac_func ();
68835 /* The GNU C library defines this for functions which it implements
68836 to always fail with ENOSYS. Some functions are actually named
68837 something starting with __ and the normal name is an alias. */
68838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68839 choke me
68840 #else
68841 char (*f) () = $ac_func;
68842 #endif
68843 #ifdef __cplusplus
68845 #endif
68848 main ()
68850 return f != $ac_func;
68852 return 0;
68854 _ACEOF
68855 rm -f conftest.$ac_objext conftest$ac_exeext
68856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68857 (eval $ac_link) 2>conftest.er1
68858 ac_status=$?
68859 grep -v '^ *+' conftest.er1 >conftest.err
68860 rm -f conftest.er1
68861 cat conftest.err >&5
68862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68863 (exit $ac_status); } &&
68864 { ac_try='test -z "$ac_c_werror_flag"
68865 || test ! -s conftest.err'
68866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68867 (eval $ac_try) 2>&5
68868 ac_status=$?
68869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68870 (exit $ac_status); }; } &&
68871 { ac_try='test -s conftest$ac_exeext'
68872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68873 (eval $ac_try) 2>&5
68874 ac_status=$?
68875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68876 (exit $ac_status); }; }; then
68877 eval "$as_ac_var=yes"
68878 else
68879 echo "$as_me: failed program was:" >&5
68880 sed 's/^/| /' conftest.$ac_ext >&5
68882 eval "$as_ac_var=no"
68884 rm -f conftest.err conftest.$ac_objext \
68885 conftest$ac_exeext conftest.$ac_ext
68887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68889 if test `eval echo '${'$as_ac_var'}'` = yes; then
68890 cat >>confdefs.h <<_ACEOF
68891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68892 _ACEOF
68895 done
68905 echo "$as_me:$LINENO: checking for finitef declaration" >&5
68906 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
68907 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68908 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
68909 echo $ECHO_N "(cached) $ECHO_C" >&6
68910 else
68914 ac_ext=cc
68915 ac_cpp='$CXXCPP $CPPFLAGS'
68916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68920 cat >conftest.$ac_ext <<_ACEOF
68921 /* confdefs.h. */
68922 _ACEOF
68923 cat confdefs.h >>conftest.$ac_ext
68924 cat >>conftest.$ac_ext <<_ACEOF
68925 /* end confdefs.h. */
68926 #include <math.h>
68927 #ifdef HAVE_IEEEFP_H
68928 #include <ieeefp.h>
68929 #endif
68932 main ()
68934 finitef(0);
68936 return 0;
68938 _ACEOF
68939 rm -f conftest.$ac_objext
68940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68941 (eval $ac_compile) 2>conftest.er1
68942 ac_status=$?
68943 grep -v '^ *+' conftest.er1 >conftest.err
68944 rm -f conftest.er1
68945 cat conftest.err >&5
68946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68947 (exit $ac_status); } &&
68948 { ac_try='test -z "$ac_cxx_werror_flag"
68949 || test ! -s conftest.err'
68950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68951 (eval $ac_try) 2>&5
68952 ac_status=$?
68953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68954 (exit $ac_status); }; } &&
68955 { ac_try='test -s conftest.$ac_objext'
68956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68957 (eval $ac_try) 2>&5
68958 ac_status=$?
68959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68960 (exit $ac_status); }; }; then
68961 glibcxx_cv_func_finitef_use=yes
68962 else
68963 echo "$as_me: failed program was:" >&5
68964 sed 's/^/| /' conftest.$ac_ext >&5
68966 glibcxx_cv_func_finitef_use=no
68968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68969 ac_ext=c
68970 ac_cpp='$CPP $CPPFLAGS'
68971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68979 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
68980 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
68982 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68984 for ac_func in finitef
68986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68987 echo "$as_me:$LINENO: checking for $ac_func" >&5
68988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68989 if eval "test \"\${$as_ac_var+set}\" = set"; then
68990 echo $ECHO_N "(cached) $ECHO_C" >&6
68991 else
68992 if test x$gcc_no_link = xyes; then
68993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68995 { (exit 1); exit 1; }; }
68997 cat >conftest.$ac_ext <<_ACEOF
68998 /* confdefs.h. */
68999 _ACEOF
69000 cat confdefs.h >>conftest.$ac_ext
69001 cat >>conftest.$ac_ext <<_ACEOF
69002 /* end confdefs.h. */
69003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69005 #define $ac_func innocuous_$ac_func
69007 /* System header to define __stub macros and hopefully few prototypes,
69008 which can conflict with char $ac_func (); below.
69009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69010 <limits.h> exists even on freestanding compilers. */
69012 #ifdef __STDC__
69013 # include <limits.h>
69014 #else
69015 # include <assert.h>
69016 #endif
69018 #undef $ac_func
69020 /* Override any gcc2 internal prototype to avoid an error. */
69021 #ifdef __cplusplus
69022 extern "C"
69024 #endif
69025 /* We use char because int might match the return type of a gcc2
69026 builtin and then its argument prototype would still apply. */
69027 char $ac_func ();
69028 /* The GNU C library defines this for functions which it implements
69029 to always fail with ENOSYS. Some functions are actually named
69030 something starting with __ and the normal name is an alias. */
69031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69032 choke me
69033 #else
69034 char (*f) () = $ac_func;
69035 #endif
69036 #ifdef __cplusplus
69038 #endif
69041 main ()
69043 return f != $ac_func;
69045 return 0;
69047 _ACEOF
69048 rm -f conftest.$ac_objext conftest$ac_exeext
69049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69050 (eval $ac_link) 2>conftest.er1
69051 ac_status=$?
69052 grep -v '^ *+' conftest.er1 >conftest.err
69053 rm -f conftest.er1
69054 cat conftest.err >&5
69055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69056 (exit $ac_status); } &&
69057 { ac_try='test -z "$ac_c_werror_flag"
69058 || test ! -s conftest.err'
69059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69060 (eval $ac_try) 2>&5
69061 ac_status=$?
69062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69063 (exit $ac_status); }; } &&
69064 { ac_try='test -s conftest$ac_exeext'
69065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69066 (eval $ac_try) 2>&5
69067 ac_status=$?
69068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69069 (exit $ac_status); }; }; then
69070 eval "$as_ac_var=yes"
69071 else
69072 echo "$as_me: failed program was:" >&5
69073 sed 's/^/| /' conftest.$ac_ext >&5
69075 eval "$as_ac_var=no"
69077 rm -f conftest.err conftest.$ac_objext \
69078 conftest$ac_exeext conftest.$ac_ext
69080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69082 if test `eval echo '${'$as_ac_var'}'` = yes; then
69083 cat >>confdefs.h <<_ACEOF
69084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69085 _ACEOF
69088 done
69090 else
69092 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
69093 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
69094 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69095 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
69096 echo $ECHO_N "(cached) $ECHO_C" >&6
69097 else
69101 ac_ext=cc
69102 ac_cpp='$CXXCPP $CPPFLAGS'
69103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69107 cat >conftest.$ac_ext <<_ACEOF
69108 /* confdefs.h. */
69109 _ACEOF
69110 cat confdefs.h >>conftest.$ac_ext
69111 cat >>conftest.$ac_ext <<_ACEOF
69112 /* end confdefs.h. */
69113 #include <math.h>
69114 #ifdef HAVE_IEEEFP_H
69115 #include <ieeefp.h>
69116 #endif
69119 main ()
69121 _finitef(0);
69123 return 0;
69125 _ACEOF
69126 rm -f conftest.$ac_objext
69127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69128 (eval $ac_compile) 2>conftest.er1
69129 ac_status=$?
69130 grep -v '^ *+' conftest.er1 >conftest.err
69131 rm -f conftest.er1
69132 cat conftest.err >&5
69133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69134 (exit $ac_status); } &&
69135 { ac_try='test -z "$ac_cxx_werror_flag"
69136 || test ! -s conftest.err'
69137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69138 (eval $ac_try) 2>&5
69139 ac_status=$?
69140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69141 (exit $ac_status); }; } &&
69142 { ac_try='test -s conftest.$ac_objext'
69143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69144 (eval $ac_try) 2>&5
69145 ac_status=$?
69146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69147 (exit $ac_status); }; }; then
69148 glibcxx_cv_func__finitef_use=yes
69149 else
69150 echo "$as_me: failed program was:" >&5
69151 sed 's/^/| /' conftest.$ac_ext >&5
69153 glibcxx_cv_func__finitef_use=no
69155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69156 ac_ext=c
69157 ac_cpp='$CPP $CPPFLAGS'
69158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69166 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
69167 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
69169 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69171 for ac_func in _finitef
69173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69174 echo "$as_me:$LINENO: checking for $ac_func" >&5
69175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69176 if eval "test \"\${$as_ac_var+set}\" = set"; then
69177 echo $ECHO_N "(cached) $ECHO_C" >&6
69178 else
69179 if test x$gcc_no_link = xyes; then
69180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69182 { (exit 1); exit 1; }; }
69184 cat >conftest.$ac_ext <<_ACEOF
69185 /* confdefs.h. */
69186 _ACEOF
69187 cat confdefs.h >>conftest.$ac_ext
69188 cat >>conftest.$ac_ext <<_ACEOF
69189 /* end confdefs.h. */
69190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69192 #define $ac_func innocuous_$ac_func
69194 /* System header to define __stub macros and hopefully few prototypes,
69195 which can conflict with char $ac_func (); below.
69196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69197 <limits.h> exists even on freestanding compilers. */
69199 #ifdef __STDC__
69200 # include <limits.h>
69201 #else
69202 # include <assert.h>
69203 #endif
69205 #undef $ac_func
69207 /* Override any gcc2 internal prototype to avoid an error. */
69208 #ifdef __cplusplus
69209 extern "C"
69211 #endif
69212 /* We use char because int might match the return type of a gcc2
69213 builtin and then its argument prototype would still apply. */
69214 char $ac_func ();
69215 /* The GNU C library defines this for functions which it implements
69216 to always fail with ENOSYS. Some functions are actually named
69217 something starting with __ and the normal name is an alias. */
69218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69219 choke me
69220 #else
69221 char (*f) () = $ac_func;
69222 #endif
69223 #ifdef __cplusplus
69225 #endif
69228 main ()
69230 return f != $ac_func;
69232 return 0;
69234 _ACEOF
69235 rm -f conftest.$ac_objext conftest$ac_exeext
69236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69237 (eval $ac_link) 2>conftest.er1
69238 ac_status=$?
69239 grep -v '^ *+' conftest.er1 >conftest.err
69240 rm -f conftest.er1
69241 cat conftest.err >&5
69242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69243 (exit $ac_status); } &&
69244 { ac_try='test -z "$ac_c_werror_flag"
69245 || test ! -s conftest.err'
69246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69247 (eval $ac_try) 2>&5
69248 ac_status=$?
69249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69250 (exit $ac_status); }; } &&
69251 { ac_try='test -s conftest$ac_exeext'
69252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69253 (eval $ac_try) 2>&5
69254 ac_status=$?
69255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69256 (exit $ac_status); }; }; then
69257 eval "$as_ac_var=yes"
69258 else
69259 echo "$as_me: failed program was:" >&5
69260 sed 's/^/| /' conftest.$ac_ext >&5
69262 eval "$as_ac_var=no"
69264 rm -f conftest.err conftest.$ac_objext \
69265 conftest$ac_exeext conftest.$ac_ext
69267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69269 if test `eval echo '${'$as_ac_var'}'` = yes; then
69270 cat >>confdefs.h <<_ACEOF
69271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69272 _ACEOF
69275 done
69285 echo "$as_me:$LINENO: checking for long double trig functions" >&5
69286 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
69287 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
69288 echo $ECHO_N "(cached) $ECHO_C" >&6
69289 else
69293 ac_ext=cc
69294 ac_cpp='$CXXCPP $CPPFLAGS'
69295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69299 cat >conftest.$ac_ext <<_ACEOF
69300 /* confdefs.h. */
69301 _ACEOF
69302 cat confdefs.h >>conftest.$ac_ext
69303 cat >>conftest.$ac_ext <<_ACEOF
69304 /* end confdefs.h. */
69305 #include <math.h>
69307 main ()
69309 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69311 return 0;
69313 _ACEOF
69314 rm -f conftest.$ac_objext
69315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69316 (eval $ac_compile) 2>conftest.er1
69317 ac_status=$?
69318 grep -v '^ *+' conftest.er1 >conftest.err
69319 rm -f conftest.er1
69320 cat conftest.err >&5
69321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69322 (exit $ac_status); } &&
69323 { ac_try='test -z "$ac_cxx_werror_flag"
69324 || test ! -s conftest.err'
69325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69326 (eval $ac_try) 2>&5
69327 ac_status=$?
69328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69329 (exit $ac_status); }; } &&
69330 { ac_try='test -s conftest.$ac_objext'
69331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69332 (eval $ac_try) 2>&5
69333 ac_status=$?
69334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69335 (exit $ac_status); }; }; then
69336 glibcxx_cv_func_long_double_trig_use=yes
69337 else
69338 echo "$as_me: failed program was:" >&5
69339 sed 's/^/| /' conftest.$ac_ext >&5
69341 glibcxx_cv_func_long_double_trig_use=no
69343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69344 ac_ext=c
69345 ac_cpp='$CPP $CPPFLAGS'
69346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69352 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
69353 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
69354 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69364 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69367 echo "$as_me:$LINENO: checking for $ac_func" >&5
69368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69369 if eval "test \"\${$as_ac_var+set}\" = set"; then
69370 echo $ECHO_N "(cached) $ECHO_C" >&6
69371 else
69372 if test x$gcc_no_link = xyes; then
69373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69375 { (exit 1); exit 1; }; }
69377 cat >conftest.$ac_ext <<_ACEOF
69378 /* confdefs.h. */
69379 _ACEOF
69380 cat confdefs.h >>conftest.$ac_ext
69381 cat >>conftest.$ac_ext <<_ACEOF
69382 /* end confdefs.h. */
69383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69385 #define $ac_func innocuous_$ac_func
69387 /* System header to define __stub macros and hopefully few prototypes,
69388 which can conflict with char $ac_func (); below.
69389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69390 <limits.h> exists even on freestanding compilers. */
69392 #ifdef __STDC__
69393 # include <limits.h>
69394 #else
69395 # include <assert.h>
69396 #endif
69398 #undef $ac_func
69400 /* Override any gcc2 internal prototype to avoid an error. */
69401 #ifdef __cplusplus
69402 extern "C"
69404 #endif
69405 /* We use char because int might match the return type of a gcc2
69406 builtin and then its argument prototype would still apply. */
69407 char $ac_func ();
69408 /* The GNU C library defines this for functions which it implements
69409 to always fail with ENOSYS. Some functions are actually named
69410 something starting with __ and the normal name is an alias. */
69411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69412 choke me
69413 #else
69414 char (*f) () = $ac_func;
69415 #endif
69416 #ifdef __cplusplus
69418 #endif
69421 main ()
69423 return f != $ac_func;
69425 return 0;
69427 _ACEOF
69428 rm -f conftest.$ac_objext conftest$ac_exeext
69429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69430 (eval $ac_link) 2>conftest.er1
69431 ac_status=$?
69432 grep -v '^ *+' conftest.er1 >conftest.err
69433 rm -f conftest.er1
69434 cat conftest.err >&5
69435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69436 (exit $ac_status); } &&
69437 { ac_try='test -z "$ac_c_werror_flag"
69438 || test ! -s conftest.err'
69439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69440 (eval $ac_try) 2>&5
69441 ac_status=$?
69442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69443 (exit $ac_status); }; } &&
69444 { ac_try='test -s conftest$ac_exeext'
69445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69446 (eval $ac_try) 2>&5
69447 ac_status=$?
69448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69449 (exit $ac_status); }; }; then
69450 eval "$as_ac_var=yes"
69451 else
69452 echo "$as_me: failed program was:" >&5
69453 sed 's/^/| /' conftest.$ac_ext >&5
69455 eval "$as_ac_var=no"
69457 rm -f conftest.err conftest.$ac_objext \
69458 conftest$ac_exeext conftest.$ac_ext
69460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69462 if test `eval echo '${'$as_ac_var'}'` = yes; then
69463 cat >>confdefs.h <<_ACEOF
69464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69465 _ACEOF
69468 done
69470 else
69471 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
69472 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
69473 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
69474 echo $ECHO_N "(cached) $ECHO_C" >&6
69475 else
69479 ac_ext=cc
69480 ac_cpp='$CXXCPP $CPPFLAGS'
69481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69485 cat >conftest.$ac_ext <<_ACEOF
69486 /* confdefs.h. */
69487 _ACEOF
69488 cat confdefs.h >>conftest.$ac_ext
69489 cat >>conftest.$ac_ext <<_ACEOF
69490 /* end confdefs.h. */
69491 #include <math.h>
69493 main ()
69495 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69497 return 0;
69499 _ACEOF
69500 rm -f conftest.$ac_objext
69501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69502 (eval $ac_compile) 2>conftest.er1
69503 ac_status=$?
69504 grep -v '^ *+' conftest.er1 >conftest.err
69505 rm -f conftest.er1
69506 cat conftest.err >&5
69507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69508 (exit $ac_status); } &&
69509 { ac_try='test -z "$ac_cxx_werror_flag"
69510 || test ! -s conftest.err'
69511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69512 (eval $ac_try) 2>&5
69513 ac_status=$?
69514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69515 (exit $ac_status); }; } &&
69516 { ac_try='test -s conftest.$ac_objext'
69517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69518 (eval $ac_try) 2>&5
69519 ac_status=$?
69520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69521 (exit $ac_status); }; }; then
69522 glibcxx_cv_func__long_double_trig_use=yes
69523 else
69524 echo "$as_me: failed program was:" >&5
69525 sed 's/^/| /' conftest.$ac_ext >&5
69527 glibcxx_cv_func__long_double_trig_use=no
69529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69530 ac_ext=c
69531 ac_cpp='$CPP $CPPFLAGS'
69532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69538 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
69539 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
69540 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69550 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
69552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69553 echo "$as_me:$LINENO: checking for $ac_func" >&5
69554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69555 if eval "test \"\${$as_ac_var+set}\" = set"; then
69556 echo $ECHO_N "(cached) $ECHO_C" >&6
69557 else
69558 if test x$gcc_no_link = xyes; then
69559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69561 { (exit 1); exit 1; }; }
69563 cat >conftest.$ac_ext <<_ACEOF
69564 /* confdefs.h. */
69565 _ACEOF
69566 cat confdefs.h >>conftest.$ac_ext
69567 cat >>conftest.$ac_ext <<_ACEOF
69568 /* end confdefs.h. */
69569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69571 #define $ac_func innocuous_$ac_func
69573 /* System header to define __stub macros and hopefully few prototypes,
69574 which can conflict with char $ac_func (); below.
69575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69576 <limits.h> exists even on freestanding compilers. */
69578 #ifdef __STDC__
69579 # include <limits.h>
69580 #else
69581 # include <assert.h>
69582 #endif
69584 #undef $ac_func
69586 /* Override any gcc2 internal prototype to avoid an error. */
69587 #ifdef __cplusplus
69588 extern "C"
69590 #endif
69591 /* We use char because int might match the return type of a gcc2
69592 builtin and then its argument prototype would still apply. */
69593 char $ac_func ();
69594 /* The GNU C library defines this for functions which it implements
69595 to always fail with ENOSYS. Some functions are actually named
69596 something starting with __ and the normal name is an alias. */
69597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69598 choke me
69599 #else
69600 char (*f) () = $ac_func;
69601 #endif
69602 #ifdef __cplusplus
69604 #endif
69607 main ()
69609 return f != $ac_func;
69611 return 0;
69613 _ACEOF
69614 rm -f conftest.$ac_objext conftest$ac_exeext
69615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69616 (eval $ac_link) 2>conftest.er1
69617 ac_status=$?
69618 grep -v '^ *+' conftest.er1 >conftest.err
69619 rm -f conftest.er1
69620 cat conftest.err >&5
69621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69622 (exit $ac_status); } &&
69623 { ac_try='test -z "$ac_c_werror_flag"
69624 || test ! -s conftest.err'
69625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69626 (eval $ac_try) 2>&5
69627 ac_status=$?
69628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69629 (exit $ac_status); }; } &&
69630 { ac_try='test -s conftest$ac_exeext'
69631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69632 (eval $ac_try) 2>&5
69633 ac_status=$?
69634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69635 (exit $ac_status); }; }; then
69636 eval "$as_ac_var=yes"
69637 else
69638 echo "$as_me: failed program was:" >&5
69639 sed 's/^/| /' conftest.$ac_ext >&5
69641 eval "$as_ac_var=no"
69643 rm -f conftest.err conftest.$ac_objext \
69644 conftest$ac_exeext conftest.$ac_ext
69646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69648 if test `eval echo '${'$as_ac_var'}'` = yes; then
69649 cat >>confdefs.h <<_ACEOF
69650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69651 _ACEOF
69654 done
69672 echo "$as_me:$LINENO: checking for long double round functions" >&5
69673 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
69674 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
69675 echo $ECHO_N "(cached) $ECHO_C" >&6
69676 else
69680 ac_ext=cc
69681 ac_cpp='$CXXCPP $CPPFLAGS'
69682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69686 cat >conftest.$ac_ext <<_ACEOF
69687 /* confdefs.h. */
69688 _ACEOF
69689 cat confdefs.h >>conftest.$ac_ext
69690 cat >>conftest.$ac_ext <<_ACEOF
69691 /* end confdefs.h. */
69692 #include <math.h>
69694 main ()
69696 ceill (0); floorl (0);
69698 return 0;
69700 _ACEOF
69701 rm -f conftest.$ac_objext
69702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69703 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_long_double_round_use=yes
69724 else
69725 echo "$as_me: failed program was:" >&5
69726 sed 's/^/| /' conftest.$ac_ext >&5
69728 glibcxx_cv_func_long_double_round_use=no
69730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69731 ac_ext=c
69732 ac_cpp='$CPP $CPPFLAGS'
69733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69739 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
69740 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
69741 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
69744 for ac_func in ceill floorl
69746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69747 echo "$as_me:$LINENO: checking for $ac_func" >&5
69748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69749 if eval "test \"\${$as_ac_var+set}\" = set"; then
69750 echo $ECHO_N "(cached) $ECHO_C" >&6
69751 else
69752 if test x$gcc_no_link = xyes; then
69753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69755 { (exit 1); exit 1; }; }
69757 cat >conftest.$ac_ext <<_ACEOF
69758 /* confdefs.h. */
69759 _ACEOF
69760 cat confdefs.h >>conftest.$ac_ext
69761 cat >>conftest.$ac_ext <<_ACEOF
69762 /* end confdefs.h. */
69763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69765 #define $ac_func innocuous_$ac_func
69767 /* System header to define __stub macros and hopefully few prototypes,
69768 which can conflict with char $ac_func (); below.
69769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69770 <limits.h> exists even on freestanding compilers. */
69772 #ifdef __STDC__
69773 # include <limits.h>
69774 #else
69775 # include <assert.h>
69776 #endif
69778 #undef $ac_func
69780 /* Override any gcc2 internal prototype to avoid an error. */
69781 #ifdef __cplusplus
69782 extern "C"
69784 #endif
69785 /* We use char because int might match the return type of a gcc2
69786 builtin and then its argument prototype would still apply. */
69787 char $ac_func ();
69788 /* The GNU C library defines this for functions which it implements
69789 to always fail with ENOSYS. Some functions are actually named
69790 something starting with __ and the normal name is an alias. */
69791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69792 choke me
69793 #else
69794 char (*f) () = $ac_func;
69795 #endif
69796 #ifdef __cplusplus
69798 #endif
69801 main ()
69803 return f != $ac_func;
69805 return 0;
69807 _ACEOF
69808 rm -f conftest.$ac_objext conftest$ac_exeext
69809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69810 (eval $ac_link) 2>conftest.er1
69811 ac_status=$?
69812 grep -v '^ *+' conftest.er1 >conftest.err
69813 rm -f conftest.er1
69814 cat conftest.err >&5
69815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69816 (exit $ac_status); } &&
69817 { ac_try='test -z "$ac_c_werror_flag"
69818 || test ! -s conftest.err'
69819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69820 (eval $ac_try) 2>&5
69821 ac_status=$?
69822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69823 (exit $ac_status); }; } &&
69824 { ac_try='test -s conftest$ac_exeext'
69825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69826 (eval $ac_try) 2>&5
69827 ac_status=$?
69828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69829 (exit $ac_status); }; }; then
69830 eval "$as_ac_var=yes"
69831 else
69832 echo "$as_me: failed program was:" >&5
69833 sed 's/^/| /' conftest.$ac_ext >&5
69835 eval "$as_ac_var=no"
69837 rm -f conftest.err conftest.$ac_objext \
69838 conftest$ac_exeext conftest.$ac_ext
69840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69842 if test `eval echo '${'$as_ac_var'}'` = yes; then
69843 cat >>confdefs.h <<_ACEOF
69844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69845 _ACEOF
69848 done
69850 else
69851 echo "$as_me:$LINENO: checking for _long double round functions" >&5
69852 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
69853 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
69854 echo $ECHO_N "(cached) $ECHO_C" >&6
69855 else
69859 ac_ext=cc
69860 ac_cpp='$CXXCPP $CPPFLAGS'
69861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69865 cat >conftest.$ac_ext <<_ACEOF
69866 /* confdefs.h. */
69867 _ACEOF
69868 cat confdefs.h >>conftest.$ac_ext
69869 cat >>conftest.$ac_ext <<_ACEOF
69870 /* end confdefs.h. */
69871 #include <math.h>
69873 main ()
69875 _ceill (0); _floorl (0);
69877 return 0;
69879 _ACEOF
69880 rm -f conftest.$ac_objext
69881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69882 (eval $ac_compile) 2>conftest.er1
69883 ac_status=$?
69884 grep -v '^ *+' conftest.er1 >conftest.err
69885 rm -f conftest.er1
69886 cat conftest.err >&5
69887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69888 (exit $ac_status); } &&
69889 { ac_try='test -z "$ac_cxx_werror_flag"
69890 || test ! -s conftest.err'
69891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69892 (eval $ac_try) 2>&5
69893 ac_status=$?
69894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69895 (exit $ac_status); }; } &&
69896 { ac_try='test -s conftest.$ac_objext'
69897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69898 (eval $ac_try) 2>&5
69899 ac_status=$?
69900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69901 (exit $ac_status); }; }; then
69902 glibcxx_cv_func__long_double_round_use=yes
69903 else
69904 echo "$as_me: failed program was:" >&5
69905 sed 's/^/| /' conftest.$ac_ext >&5
69907 glibcxx_cv_func__long_double_round_use=no
69909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69910 ac_ext=c
69911 ac_cpp='$CPP $CPPFLAGS'
69912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69918 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
69919 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
69920 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
69923 for ac_func in _ceill _floorl
69925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69926 echo "$as_me:$LINENO: checking for $ac_func" >&5
69927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69928 if eval "test \"\${$as_ac_var+set}\" = set"; then
69929 echo $ECHO_N "(cached) $ECHO_C" >&6
69930 else
69931 if test x$gcc_no_link = xyes; then
69932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69934 { (exit 1); exit 1; }; }
69936 cat >conftest.$ac_ext <<_ACEOF
69937 /* confdefs.h. */
69938 _ACEOF
69939 cat confdefs.h >>conftest.$ac_ext
69940 cat >>conftest.$ac_ext <<_ACEOF
69941 /* end confdefs.h. */
69942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69944 #define $ac_func innocuous_$ac_func
69946 /* System header to define __stub macros and hopefully few prototypes,
69947 which can conflict with char $ac_func (); below.
69948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69949 <limits.h> exists even on freestanding compilers. */
69951 #ifdef __STDC__
69952 # include <limits.h>
69953 #else
69954 # include <assert.h>
69955 #endif
69957 #undef $ac_func
69959 /* Override any gcc2 internal prototype to avoid an error. */
69960 #ifdef __cplusplus
69961 extern "C"
69963 #endif
69964 /* We use char because int might match the return type of a gcc2
69965 builtin and then its argument prototype would still apply. */
69966 char $ac_func ();
69967 /* The GNU C library defines this for functions which it implements
69968 to always fail with ENOSYS. Some functions are actually named
69969 something starting with __ and the normal name is an alias. */
69970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69971 choke me
69972 #else
69973 char (*f) () = $ac_func;
69974 #endif
69975 #ifdef __cplusplus
69977 #endif
69980 main ()
69982 return f != $ac_func;
69984 return 0;
69986 _ACEOF
69987 rm -f conftest.$ac_objext conftest$ac_exeext
69988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69989 (eval $ac_link) 2>conftest.er1
69990 ac_status=$?
69991 grep -v '^ *+' conftest.er1 >conftest.err
69992 rm -f conftest.er1
69993 cat conftest.err >&5
69994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69995 (exit $ac_status); } &&
69996 { ac_try='test -z "$ac_c_werror_flag"
69997 || test ! -s conftest.err'
69998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69999 (eval $ac_try) 2>&5
70000 ac_status=$?
70001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70002 (exit $ac_status); }; } &&
70003 { ac_try='test -s conftest$ac_exeext'
70004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70005 (eval $ac_try) 2>&5
70006 ac_status=$?
70007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70008 (exit $ac_status); }; }; then
70009 eval "$as_ac_var=yes"
70010 else
70011 echo "$as_me: failed program was:" >&5
70012 sed 's/^/| /' conftest.$ac_ext >&5
70014 eval "$as_ac_var=no"
70016 rm -f conftest.err conftest.$ac_objext \
70017 conftest$ac_exeext conftest.$ac_ext
70019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70021 if test `eval echo '${'$as_ac_var'}'` = yes; then
70022 cat >>confdefs.h <<_ACEOF
70023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70024 _ACEOF
70027 done
70039 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
70040 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
70041 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70042 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
70043 echo $ECHO_N "(cached) $ECHO_C" >&6
70044 else
70048 ac_ext=cc
70049 ac_cpp='$CXXCPP $CPPFLAGS'
70050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70054 cat >conftest.$ac_ext <<_ACEOF
70055 /* confdefs.h. */
70056 _ACEOF
70057 cat confdefs.h >>conftest.$ac_ext
70058 cat >>conftest.$ac_ext <<_ACEOF
70059 /* end confdefs.h. */
70060 #include <math.h>
70061 #ifdef HAVE_IEEEFP_H
70062 #include <ieeefp.h>
70063 #endif
70066 main ()
70068 isnanl(0);
70070 return 0;
70072 _ACEOF
70073 rm -f conftest.$ac_objext
70074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70075 (eval $ac_compile) 2>conftest.er1
70076 ac_status=$?
70077 grep -v '^ *+' conftest.er1 >conftest.err
70078 rm -f conftest.er1
70079 cat conftest.err >&5
70080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70081 (exit $ac_status); } &&
70082 { ac_try='test -z "$ac_cxx_werror_flag"
70083 || test ! -s conftest.err'
70084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70085 (eval $ac_try) 2>&5
70086 ac_status=$?
70087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70088 (exit $ac_status); }; } &&
70089 { ac_try='test -s conftest.$ac_objext'
70090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70091 (eval $ac_try) 2>&5
70092 ac_status=$?
70093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70094 (exit $ac_status); }; }; then
70095 glibcxx_cv_func_isnanl_use=yes
70096 else
70097 echo "$as_me: failed program was:" >&5
70098 sed 's/^/| /' conftest.$ac_ext >&5
70100 glibcxx_cv_func_isnanl_use=no
70102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70103 ac_ext=c
70104 ac_cpp='$CPP $CPPFLAGS'
70105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
70114 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
70116 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70118 for ac_func in isnanl
70120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70121 echo "$as_me:$LINENO: checking for $ac_func" >&5
70122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70123 if eval "test \"\${$as_ac_var+set}\" = set"; then
70124 echo $ECHO_N "(cached) $ECHO_C" >&6
70125 else
70126 if test x$gcc_no_link = xyes; then
70127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70129 { (exit 1); exit 1; }; }
70131 cat >conftest.$ac_ext <<_ACEOF
70132 /* confdefs.h. */
70133 _ACEOF
70134 cat confdefs.h >>conftest.$ac_ext
70135 cat >>conftest.$ac_ext <<_ACEOF
70136 /* end confdefs.h. */
70137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70139 #define $ac_func innocuous_$ac_func
70141 /* System header to define __stub macros and hopefully few prototypes,
70142 which can conflict with char $ac_func (); below.
70143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70144 <limits.h> exists even on freestanding compilers. */
70146 #ifdef __STDC__
70147 # include <limits.h>
70148 #else
70149 # include <assert.h>
70150 #endif
70152 #undef $ac_func
70154 /* Override any gcc2 internal prototype to avoid an error. */
70155 #ifdef __cplusplus
70156 extern "C"
70158 #endif
70159 /* We use char because int might match the return type of a gcc2
70160 builtin and then its argument prototype would still apply. */
70161 char $ac_func ();
70162 /* The GNU C library defines this for functions which it implements
70163 to always fail with ENOSYS. Some functions are actually named
70164 something starting with __ and the normal name is an alias. */
70165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70166 choke me
70167 #else
70168 char (*f) () = $ac_func;
70169 #endif
70170 #ifdef __cplusplus
70172 #endif
70175 main ()
70177 return f != $ac_func;
70179 return 0;
70181 _ACEOF
70182 rm -f conftest.$ac_objext conftest$ac_exeext
70183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70184 (eval $ac_link) 2>conftest.er1
70185 ac_status=$?
70186 grep -v '^ *+' conftest.er1 >conftest.err
70187 rm -f conftest.er1
70188 cat conftest.err >&5
70189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70190 (exit $ac_status); } &&
70191 { ac_try='test -z "$ac_c_werror_flag"
70192 || test ! -s conftest.err'
70193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70194 (eval $ac_try) 2>&5
70195 ac_status=$?
70196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70197 (exit $ac_status); }; } &&
70198 { ac_try='test -s conftest$ac_exeext'
70199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70200 (eval $ac_try) 2>&5
70201 ac_status=$?
70202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70203 (exit $ac_status); }; }; then
70204 eval "$as_ac_var=yes"
70205 else
70206 echo "$as_me: failed program was:" >&5
70207 sed 's/^/| /' conftest.$ac_ext >&5
70209 eval "$as_ac_var=no"
70211 rm -f conftest.err conftest.$ac_objext \
70212 conftest$ac_exeext conftest.$ac_ext
70214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70216 if test `eval echo '${'$as_ac_var'}'` = yes; then
70217 cat >>confdefs.h <<_ACEOF
70218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70219 _ACEOF
70222 done
70224 else
70226 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
70227 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
70228 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70229 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
70230 echo $ECHO_N "(cached) $ECHO_C" >&6
70231 else
70235 ac_ext=cc
70236 ac_cpp='$CXXCPP $CPPFLAGS'
70237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70241 cat >conftest.$ac_ext <<_ACEOF
70242 /* confdefs.h. */
70243 _ACEOF
70244 cat confdefs.h >>conftest.$ac_ext
70245 cat >>conftest.$ac_ext <<_ACEOF
70246 /* end confdefs.h. */
70247 #include <math.h>
70248 #ifdef HAVE_IEEEFP_H
70249 #include <ieeefp.h>
70250 #endif
70253 main ()
70255 _isnanl(0);
70257 return 0;
70259 _ACEOF
70260 rm -f conftest.$ac_objext
70261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70262 (eval $ac_compile) 2>conftest.er1
70263 ac_status=$?
70264 grep -v '^ *+' conftest.er1 >conftest.err
70265 rm -f conftest.er1
70266 cat conftest.err >&5
70267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70268 (exit $ac_status); } &&
70269 { ac_try='test -z "$ac_cxx_werror_flag"
70270 || test ! -s conftest.err'
70271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70272 (eval $ac_try) 2>&5
70273 ac_status=$?
70274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70275 (exit $ac_status); }; } &&
70276 { ac_try='test -s conftest.$ac_objext'
70277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70278 (eval $ac_try) 2>&5
70279 ac_status=$?
70280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70281 (exit $ac_status); }; }; then
70282 glibcxx_cv_func__isnanl_use=yes
70283 else
70284 echo "$as_me: failed program was:" >&5
70285 sed 's/^/| /' conftest.$ac_ext >&5
70287 glibcxx_cv_func__isnanl_use=no
70289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70290 ac_ext=c
70291 ac_cpp='$CPP $CPPFLAGS'
70292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70300 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
70301 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
70303 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70305 for ac_func in _isnanl
70307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70308 echo "$as_me:$LINENO: checking for $ac_func" >&5
70309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70310 if eval "test \"\${$as_ac_var+set}\" = set"; then
70311 echo $ECHO_N "(cached) $ECHO_C" >&6
70312 else
70313 if test x$gcc_no_link = xyes; then
70314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70316 { (exit 1); exit 1; }; }
70318 cat >conftest.$ac_ext <<_ACEOF
70319 /* confdefs.h. */
70320 _ACEOF
70321 cat confdefs.h >>conftest.$ac_ext
70322 cat >>conftest.$ac_ext <<_ACEOF
70323 /* end confdefs.h. */
70324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70326 #define $ac_func innocuous_$ac_func
70328 /* System header to define __stub macros and hopefully few prototypes,
70329 which can conflict with char $ac_func (); below.
70330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70331 <limits.h> exists even on freestanding compilers. */
70333 #ifdef __STDC__
70334 # include <limits.h>
70335 #else
70336 # include <assert.h>
70337 #endif
70339 #undef $ac_func
70341 /* Override any gcc2 internal prototype to avoid an error. */
70342 #ifdef __cplusplus
70343 extern "C"
70345 #endif
70346 /* We use char because int might match the return type of a gcc2
70347 builtin and then its argument prototype would still apply. */
70348 char $ac_func ();
70349 /* The GNU C library defines this for functions which it implements
70350 to always fail with ENOSYS. Some functions are actually named
70351 something starting with __ and the normal name is an alias. */
70352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70353 choke me
70354 #else
70355 char (*f) () = $ac_func;
70356 #endif
70357 #ifdef __cplusplus
70359 #endif
70362 main ()
70364 return f != $ac_func;
70366 return 0;
70368 _ACEOF
70369 rm -f conftest.$ac_objext conftest$ac_exeext
70370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70371 (eval $ac_link) 2>conftest.er1
70372 ac_status=$?
70373 grep -v '^ *+' conftest.er1 >conftest.err
70374 rm -f conftest.er1
70375 cat conftest.err >&5
70376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70377 (exit $ac_status); } &&
70378 { ac_try='test -z "$ac_c_werror_flag"
70379 || test ! -s conftest.err'
70380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70381 (eval $ac_try) 2>&5
70382 ac_status=$?
70383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70384 (exit $ac_status); }; } &&
70385 { ac_try='test -s conftest$ac_exeext'
70386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70387 (eval $ac_try) 2>&5
70388 ac_status=$?
70389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70390 (exit $ac_status); }; }; then
70391 eval "$as_ac_var=yes"
70392 else
70393 echo "$as_me: failed program was:" >&5
70394 sed 's/^/| /' conftest.$ac_ext >&5
70396 eval "$as_ac_var=no"
70398 rm -f conftest.err conftest.$ac_objext \
70399 conftest$ac_exeext conftest.$ac_ext
70401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70403 if test `eval echo '${'$as_ac_var'}'` = yes; then
70404 cat >>confdefs.h <<_ACEOF
70405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70406 _ACEOF
70409 done
70419 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
70420 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
70421 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70422 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
70423 echo $ECHO_N "(cached) $ECHO_C" >&6
70424 else
70428 ac_ext=cc
70429 ac_cpp='$CXXCPP $CPPFLAGS'
70430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70434 cat >conftest.$ac_ext <<_ACEOF
70435 /* confdefs.h. */
70436 _ACEOF
70437 cat confdefs.h >>conftest.$ac_ext
70438 cat >>conftest.$ac_ext <<_ACEOF
70439 /* end confdefs.h. */
70440 #include <math.h>
70441 #ifdef HAVE_IEEEFP_H
70442 #include <ieeefp.h>
70443 #endif
70446 main ()
70448 isinfl(0);
70450 return 0;
70452 _ACEOF
70453 rm -f conftest.$ac_objext
70454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70455 (eval $ac_compile) 2>conftest.er1
70456 ac_status=$?
70457 grep -v '^ *+' conftest.er1 >conftest.err
70458 rm -f conftest.er1
70459 cat conftest.err >&5
70460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70461 (exit $ac_status); } &&
70462 { ac_try='test -z "$ac_cxx_werror_flag"
70463 || test ! -s conftest.err'
70464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70465 (eval $ac_try) 2>&5
70466 ac_status=$?
70467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70468 (exit $ac_status); }; } &&
70469 { ac_try='test -s conftest.$ac_objext'
70470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70471 (eval $ac_try) 2>&5
70472 ac_status=$?
70473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70474 (exit $ac_status); }; }; then
70475 glibcxx_cv_func_isinfl_use=yes
70476 else
70477 echo "$as_me: failed program was:" >&5
70478 sed 's/^/| /' conftest.$ac_ext >&5
70480 glibcxx_cv_func_isinfl_use=no
70482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70483 ac_ext=c
70484 ac_cpp='$CPP $CPPFLAGS'
70485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70493 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
70494 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
70496 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70498 for ac_func in isinfl
70500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70501 echo "$as_me:$LINENO: checking for $ac_func" >&5
70502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70503 if eval "test \"\${$as_ac_var+set}\" = set"; then
70504 echo $ECHO_N "(cached) $ECHO_C" >&6
70505 else
70506 if test x$gcc_no_link = xyes; then
70507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70509 { (exit 1); exit 1; }; }
70511 cat >conftest.$ac_ext <<_ACEOF
70512 /* confdefs.h. */
70513 _ACEOF
70514 cat confdefs.h >>conftest.$ac_ext
70515 cat >>conftest.$ac_ext <<_ACEOF
70516 /* end confdefs.h. */
70517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70519 #define $ac_func innocuous_$ac_func
70521 /* System header to define __stub macros and hopefully few prototypes,
70522 which can conflict with char $ac_func (); below.
70523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70524 <limits.h> exists even on freestanding compilers. */
70526 #ifdef __STDC__
70527 # include <limits.h>
70528 #else
70529 # include <assert.h>
70530 #endif
70532 #undef $ac_func
70534 /* Override any gcc2 internal prototype to avoid an error. */
70535 #ifdef __cplusplus
70536 extern "C"
70538 #endif
70539 /* We use char because int might match the return type of a gcc2
70540 builtin and then its argument prototype would still apply. */
70541 char $ac_func ();
70542 /* The GNU C library defines this for functions which it implements
70543 to always fail with ENOSYS. Some functions are actually named
70544 something starting with __ and the normal name is an alias. */
70545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70546 choke me
70547 #else
70548 char (*f) () = $ac_func;
70549 #endif
70550 #ifdef __cplusplus
70552 #endif
70555 main ()
70557 return f != $ac_func;
70559 return 0;
70561 _ACEOF
70562 rm -f conftest.$ac_objext conftest$ac_exeext
70563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70564 (eval $ac_link) 2>conftest.er1
70565 ac_status=$?
70566 grep -v '^ *+' conftest.er1 >conftest.err
70567 rm -f conftest.er1
70568 cat conftest.err >&5
70569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70570 (exit $ac_status); } &&
70571 { ac_try='test -z "$ac_c_werror_flag"
70572 || test ! -s conftest.err'
70573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70574 (eval $ac_try) 2>&5
70575 ac_status=$?
70576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70577 (exit $ac_status); }; } &&
70578 { ac_try='test -s conftest$ac_exeext'
70579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70580 (eval $ac_try) 2>&5
70581 ac_status=$?
70582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70583 (exit $ac_status); }; }; then
70584 eval "$as_ac_var=yes"
70585 else
70586 echo "$as_me: failed program was:" >&5
70587 sed 's/^/| /' conftest.$ac_ext >&5
70589 eval "$as_ac_var=no"
70591 rm -f conftest.err conftest.$ac_objext \
70592 conftest$ac_exeext conftest.$ac_ext
70594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70596 if test `eval echo '${'$as_ac_var'}'` = yes; then
70597 cat >>confdefs.h <<_ACEOF
70598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70599 _ACEOF
70602 done
70604 else
70606 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
70607 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
70608 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70609 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
70610 echo $ECHO_N "(cached) $ECHO_C" >&6
70611 else
70615 ac_ext=cc
70616 ac_cpp='$CXXCPP $CPPFLAGS'
70617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70621 cat >conftest.$ac_ext <<_ACEOF
70622 /* confdefs.h. */
70623 _ACEOF
70624 cat confdefs.h >>conftest.$ac_ext
70625 cat >>conftest.$ac_ext <<_ACEOF
70626 /* end confdefs.h. */
70627 #include <math.h>
70628 #ifdef HAVE_IEEEFP_H
70629 #include <ieeefp.h>
70630 #endif
70633 main ()
70635 _isinfl(0);
70637 return 0;
70639 _ACEOF
70640 rm -f conftest.$ac_objext
70641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70642 (eval $ac_compile) 2>conftest.er1
70643 ac_status=$?
70644 grep -v '^ *+' conftest.er1 >conftest.err
70645 rm -f conftest.er1
70646 cat conftest.err >&5
70647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70648 (exit $ac_status); } &&
70649 { ac_try='test -z "$ac_cxx_werror_flag"
70650 || test ! -s conftest.err'
70651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70652 (eval $ac_try) 2>&5
70653 ac_status=$?
70654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70655 (exit $ac_status); }; } &&
70656 { ac_try='test -s conftest.$ac_objext'
70657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70658 (eval $ac_try) 2>&5
70659 ac_status=$?
70660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70661 (exit $ac_status); }; }; then
70662 glibcxx_cv_func__isinfl_use=yes
70663 else
70664 echo "$as_me: failed program was:" >&5
70665 sed 's/^/| /' conftest.$ac_ext >&5
70667 glibcxx_cv_func__isinfl_use=no
70669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70670 ac_ext=c
70671 ac_cpp='$CPP $CPPFLAGS'
70672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70680 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
70681 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
70683 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70685 for ac_func in _isinfl
70687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70688 echo "$as_me:$LINENO: checking for $ac_func" >&5
70689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70690 if eval "test \"\${$as_ac_var+set}\" = set"; then
70691 echo $ECHO_N "(cached) $ECHO_C" >&6
70692 else
70693 if test x$gcc_no_link = xyes; then
70694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70696 { (exit 1); exit 1; }; }
70698 cat >conftest.$ac_ext <<_ACEOF
70699 /* confdefs.h. */
70700 _ACEOF
70701 cat confdefs.h >>conftest.$ac_ext
70702 cat >>conftest.$ac_ext <<_ACEOF
70703 /* end confdefs.h. */
70704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70706 #define $ac_func innocuous_$ac_func
70708 /* System header to define __stub macros and hopefully few prototypes,
70709 which can conflict with char $ac_func (); below.
70710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70711 <limits.h> exists even on freestanding compilers. */
70713 #ifdef __STDC__
70714 # include <limits.h>
70715 #else
70716 # include <assert.h>
70717 #endif
70719 #undef $ac_func
70721 /* Override any gcc2 internal prototype to avoid an error. */
70722 #ifdef __cplusplus
70723 extern "C"
70725 #endif
70726 /* We use char because int might match the return type of a gcc2
70727 builtin and then its argument prototype would still apply. */
70728 char $ac_func ();
70729 /* The GNU C library defines this for functions which it implements
70730 to always fail with ENOSYS. Some functions are actually named
70731 something starting with __ and the normal name is an alias. */
70732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70733 choke me
70734 #else
70735 char (*f) () = $ac_func;
70736 #endif
70737 #ifdef __cplusplus
70739 #endif
70742 main ()
70744 return f != $ac_func;
70746 return 0;
70748 _ACEOF
70749 rm -f conftest.$ac_objext conftest$ac_exeext
70750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70751 (eval $ac_link) 2>conftest.er1
70752 ac_status=$?
70753 grep -v '^ *+' conftest.er1 >conftest.err
70754 rm -f conftest.er1
70755 cat conftest.err >&5
70756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70757 (exit $ac_status); } &&
70758 { ac_try='test -z "$ac_c_werror_flag"
70759 || test ! -s conftest.err'
70760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70761 (eval $ac_try) 2>&5
70762 ac_status=$?
70763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70764 (exit $ac_status); }; } &&
70765 { ac_try='test -s conftest$ac_exeext'
70766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70767 (eval $ac_try) 2>&5
70768 ac_status=$?
70769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70770 (exit $ac_status); }; }; then
70771 eval "$as_ac_var=yes"
70772 else
70773 echo "$as_me: failed program was:" >&5
70774 sed 's/^/| /' conftest.$ac_ext >&5
70776 eval "$as_ac_var=no"
70778 rm -f conftest.err conftest.$ac_objext \
70779 conftest$ac_exeext conftest.$ac_ext
70781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70783 if test `eval echo '${'$as_ac_var'}'` = yes; then
70784 cat >>confdefs.h <<_ACEOF
70785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70786 _ACEOF
70789 done
70799 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
70800 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
70801 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70802 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
70803 echo $ECHO_N "(cached) $ECHO_C" >&6
70804 else
70808 ac_ext=cc
70809 ac_cpp='$CXXCPP $CPPFLAGS'
70810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70814 cat >conftest.$ac_ext <<_ACEOF
70815 /* confdefs.h. */
70816 _ACEOF
70817 cat confdefs.h >>conftest.$ac_ext
70818 cat >>conftest.$ac_ext <<_ACEOF
70819 /* end confdefs.h. */
70820 #include <math.h>
70822 main ()
70824 atan2l(0, 0);
70826 return 0;
70828 _ACEOF
70829 rm -f conftest.$ac_objext
70830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70831 (eval $ac_compile) 2>conftest.er1
70832 ac_status=$?
70833 grep -v '^ *+' conftest.er1 >conftest.err
70834 rm -f conftest.er1
70835 cat conftest.err >&5
70836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70837 (exit $ac_status); } &&
70838 { ac_try='test -z "$ac_cxx_werror_flag"
70839 || test ! -s conftest.err'
70840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70841 (eval $ac_try) 2>&5
70842 ac_status=$?
70843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70844 (exit $ac_status); }; } &&
70845 { ac_try='test -s conftest.$ac_objext'
70846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70847 (eval $ac_try) 2>&5
70848 ac_status=$?
70849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70850 (exit $ac_status); }; }; then
70851 glibcxx_cv_func_atan2l_use=yes
70852 else
70853 echo "$as_me: failed program was:" >&5
70854 sed 's/^/| /' conftest.$ac_ext >&5
70856 glibcxx_cv_func_atan2l_use=no
70858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70859 ac_ext=c
70860 ac_cpp='$CPP $CPPFLAGS'
70861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70869 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
70870 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
70872 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70874 for ac_func in atan2l
70876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70877 echo "$as_me:$LINENO: checking for $ac_func" >&5
70878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70879 if eval "test \"\${$as_ac_var+set}\" = set"; then
70880 echo $ECHO_N "(cached) $ECHO_C" >&6
70881 else
70882 if test x$gcc_no_link = xyes; then
70883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70885 { (exit 1); exit 1; }; }
70887 cat >conftest.$ac_ext <<_ACEOF
70888 /* confdefs.h. */
70889 _ACEOF
70890 cat confdefs.h >>conftest.$ac_ext
70891 cat >>conftest.$ac_ext <<_ACEOF
70892 /* end confdefs.h. */
70893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70895 #define $ac_func innocuous_$ac_func
70897 /* System header to define __stub macros and hopefully few prototypes,
70898 which can conflict with char $ac_func (); below.
70899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70900 <limits.h> exists even on freestanding compilers. */
70902 #ifdef __STDC__
70903 # include <limits.h>
70904 #else
70905 # include <assert.h>
70906 #endif
70908 #undef $ac_func
70910 /* Override any gcc2 internal prototype to avoid an error. */
70911 #ifdef __cplusplus
70912 extern "C"
70914 #endif
70915 /* We use char because int might match the return type of a gcc2
70916 builtin and then its argument prototype would still apply. */
70917 char $ac_func ();
70918 /* The GNU C library defines this for functions which it implements
70919 to always fail with ENOSYS. Some functions are actually named
70920 something starting with __ and the normal name is an alias. */
70921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70922 choke me
70923 #else
70924 char (*f) () = $ac_func;
70925 #endif
70926 #ifdef __cplusplus
70928 #endif
70931 main ()
70933 return f != $ac_func;
70935 return 0;
70937 _ACEOF
70938 rm -f conftest.$ac_objext conftest$ac_exeext
70939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70940 (eval $ac_link) 2>conftest.er1
70941 ac_status=$?
70942 grep -v '^ *+' conftest.er1 >conftest.err
70943 rm -f conftest.er1
70944 cat conftest.err >&5
70945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70946 (exit $ac_status); } &&
70947 { ac_try='test -z "$ac_c_werror_flag"
70948 || test ! -s conftest.err'
70949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70950 (eval $ac_try) 2>&5
70951 ac_status=$?
70952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70953 (exit $ac_status); }; } &&
70954 { ac_try='test -s conftest$ac_exeext'
70955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70956 (eval $ac_try) 2>&5
70957 ac_status=$?
70958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70959 (exit $ac_status); }; }; then
70960 eval "$as_ac_var=yes"
70961 else
70962 echo "$as_me: failed program was:" >&5
70963 sed 's/^/| /' conftest.$ac_ext >&5
70965 eval "$as_ac_var=no"
70967 rm -f conftest.err conftest.$ac_objext \
70968 conftest$ac_exeext conftest.$ac_ext
70970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70972 if test `eval echo '${'$as_ac_var'}'` = yes; then
70973 cat >>confdefs.h <<_ACEOF
70974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70975 _ACEOF
70978 done
70980 else
70982 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
70983 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
70984 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70985 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
70986 echo $ECHO_N "(cached) $ECHO_C" >&6
70987 else
70991 ac_ext=cc
70992 ac_cpp='$CXXCPP $CPPFLAGS'
70993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70997 cat >conftest.$ac_ext <<_ACEOF
70998 /* confdefs.h. */
70999 _ACEOF
71000 cat confdefs.h >>conftest.$ac_ext
71001 cat >>conftest.$ac_ext <<_ACEOF
71002 /* end confdefs.h. */
71003 #include <math.h>
71005 main ()
71007 _atan2l(0, 0);
71009 return 0;
71011 _ACEOF
71012 rm -f conftest.$ac_objext
71013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71014 (eval $ac_compile) 2>conftest.er1
71015 ac_status=$?
71016 grep -v '^ *+' conftest.er1 >conftest.err
71017 rm -f conftest.er1
71018 cat conftest.err >&5
71019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71020 (exit $ac_status); } &&
71021 { ac_try='test -z "$ac_cxx_werror_flag"
71022 || test ! -s conftest.err'
71023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71024 (eval $ac_try) 2>&5
71025 ac_status=$?
71026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71027 (exit $ac_status); }; } &&
71028 { ac_try='test -s conftest.$ac_objext'
71029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71030 (eval $ac_try) 2>&5
71031 ac_status=$?
71032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71033 (exit $ac_status); }; }; then
71034 glibcxx_cv_func__atan2l_use=yes
71035 else
71036 echo "$as_me: failed program was:" >&5
71037 sed 's/^/| /' conftest.$ac_ext >&5
71039 glibcxx_cv_func__atan2l_use=no
71041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71042 ac_ext=c
71043 ac_cpp='$CPP $CPPFLAGS'
71044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71052 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
71053 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
71055 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
71057 for ac_func in _atan2l
71059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71060 echo "$as_me:$LINENO: checking for $ac_func" >&5
71061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71062 if eval "test \"\${$as_ac_var+set}\" = set"; then
71063 echo $ECHO_N "(cached) $ECHO_C" >&6
71064 else
71065 if test x$gcc_no_link = xyes; then
71066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71068 { (exit 1); exit 1; }; }
71070 cat >conftest.$ac_ext <<_ACEOF
71071 /* confdefs.h. */
71072 _ACEOF
71073 cat confdefs.h >>conftest.$ac_ext
71074 cat >>conftest.$ac_ext <<_ACEOF
71075 /* end confdefs.h. */
71076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71078 #define $ac_func innocuous_$ac_func
71080 /* System header to define __stub macros and hopefully few prototypes,
71081 which can conflict with char $ac_func (); below.
71082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71083 <limits.h> exists even on freestanding compilers. */
71085 #ifdef __STDC__
71086 # include <limits.h>
71087 #else
71088 # include <assert.h>
71089 #endif
71091 #undef $ac_func
71093 /* Override any gcc2 internal prototype to avoid an error. */
71094 #ifdef __cplusplus
71095 extern "C"
71097 #endif
71098 /* We use char because int might match the return type of a gcc2
71099 builtin and then its argument prototype would still apply. */
71100 char $ac_func ();
71101 /* The GNU C library defines this for functions which it implements
71102 to always fail with ENOSYS. Some functions are actually named
71103 something starting with __ and the normal name is an alias. */
71104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71105 choke me
71106 #else
71107 char (*f) () = $ac_func;
71108 #endif
71109 #ifdef __cplusplus
71111 #endif
71114 main ()
71116 return f != $ac_func;
71118 return 0;
71120 _ACEOF
71121 rm -f conftest.$ac_objext conftest$ac_exeext
71122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71123 (eval $ac_link) 2>conftest.er1
71124 ac_status=$?
71125 grep -v '^ *+' conftest.er1 >conftest.err
71126 rm -f conftest.er1
71127 cat conftest.err >&5
71128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71129 (exit $ac_status); } &&
71130 { ac_try='test -z "$ac_c_werror_flag"
71131 || test ! -s conftest.err'
71132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71133 (eval $ac_try) 2>&5
71134 ac_status=$?
71135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71136 (exit $ac_status); }; } &&
71137 { ac_try='test -s conftest$ac_exeext'
71138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71139 (eval $ac_try) 2>&5
71140 ac_status=$?
71141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71142 (exit $ac_status); }; }; then
71143 eval "$as_ac_var=yes"
71144 else
71145 echo "$as_me: failed program was:" >&5
71146 sed 's/^/| /' conftest.$ac_ext >&5
71148 eval "$as_ac_var=no"
71150 rm -f conftest.err conftest.$ac_objext \
71151 conftest$ac_exeext conftest.$ac_ext
71153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71155 if test `eval echo '${'$as_ac_var'}'` = yes; then
71156 cat >>confdefs.h <<_ACEOF
71157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71158 _ACEOF
71161 done
71171 echo "$as_me:$LINENO: checking for expl declaration" >&5
71172 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
71173 if test x${glibcxx_cv_func_expl_use+set} != xset; then
71174 if test "${glibcxx_cv_func_expl_use+set}" = set; then
71175 echo $ECHO_N "(cached) $ECHO_C" >&6
71176 else
71180 ac_ext=cc
71181 ac_cpp='$CXXCPP $CPPFLAGS'
71182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71186 cat >conftest.$ac_ext <<_ACEOF
71187 /* confdefs.h. */
71188 _ACEOF
71189 cat confdefs.h >>conftest.$ac_ext
71190 cat >>conftest.$ac_ext <<_ACEOF
71191 /* end confdefs.h. */
71192 #include <math.h>
71193 #ifdef HAVE_IEEEFP_H
71194 #include <ieeefp.h>
71195 #endif
71198 main ()
71200 expl(0);
71202 return 0;
71204 _ACEOF
71205 rm -f conftest.$ac_objext
71206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71207 (eval $ac_compile) 2>conftest.er1
71208 ac_status=$?
71209 grep -v '^ *+' conftest.er1 >conftest.err
71210 rm -f conftest.er1
71211 cat conftest.err >&5
71212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71213 (exit $ac_status); } &&
71214 { ac_try='test -z "$ac_cxx_werror_flag"
71215 || test ! -s conftest.err'
71216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71217 (eval $ac_try) 2>&5
71218 ac_status=$?
71219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71220 (exit $ac_status); }; } &&
71221 { ac_try='test -s conftest.$ac_objext'
71222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71223 (eval $ac_try) 2>&5
71224 ac_status=$?
71225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71226 (exit $ac_status); }; }; then
71227 glibcxx_cv_func_expl_use=yes
71228 else
71229 echo "$as_me: failed program was:" >&5
71230 sed 's/^/| /' conftest.$ac_ext >&5
71232 glibcxx_cv_func_expl_use=no
71234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71235 ac_ext=c
71236 ac_cpp='$CPP $CPPFLAGS'
71237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71245 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
71246 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
71248 if test x$glibcxx_cv_func_expl_use = x"yes"; then
71250 for ac_func in expl
71252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71253 echo "$as_me:$LINENO: checking for $ac_func" >&5
71254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71255 if eval "test \"\${$as_ac_var+set}\" = set"; then
71256 echo $ECHO_N "(cached) $ECHO_C" >&6
71257 else
71258 if test x$gcc_no_link = xyes; then
71259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71261 { (exit 1); exit 1; }; }
71263 cat >conftest.$ac_ext <<_ACEOF
71264 /* confdefs.h. */
71265 _ACEOF
71266 cat confdefs.h >>conftest.$ac_ext
71267 cat >>conftest.$ac_ext <<_ACEOF
71268 /* end confdefs.h. */
71269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71271 #define $ac_func innocuous_$ac_func
71273 /* System header to define __stub macros and hopefully few prototypes,
71274 which can conflict with char $ac_func (); below.
71275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71276 <limits.h> exists even on freestanding compilers. */
71278 #ifdef __STDC__
71279 # include <limits.h>
71280 #else
71281 # include <assert.h>
71282 #endif
71284 #undef $ac_func
71286 /* Override any gcc2 internal prototype to avoid an error. */
71287 #ifdef __cplusplus
71288 extern "C"
71290 #endif
71291 /* We use char because int might match the return type of a gcc2
71292 builtin and then its argument prototype would still apply. */
71293 char $ac_func ();
71294 /* The GNU C library defines this for functions which it implements
71295 to always fail with ENOSYS. Some functions are actually named
71296 something starting with __ and the normal name is an alias. */
71297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71298 choke me
71299 #else
71300 char (*f) () = $ac_func;
71301 #endif
71302 #ifdef __cplusplus
71304 #endif
71307 main ()
71309 return f != $ac_func;
71311 return 0;
71313 _ACEOF
71314 rm -f conftest.$ac_objext conftest$ac_exeext
71315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71316 (eval $ac_link) 2>conftest.er1
71317 ac_status=$?
71318 grep -v '^ *+' conftest.er1 >conftest.err
71319 rm -f conftest.er1
71320 cat conftest.err >&5
71321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71322 (exit $ac_status); } &&
71323 { ac_try='test -z "$ac_c_werror_flag"
71324 || test ! -s conftest.err'
71325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71326 (eval $ac_try) 2>&5
71327 ac_status=$?
71328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71329 (exit $ac_status); }; } &&
71330 { ac_try='test -s conftest$ac_exeext'
71331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71332 (eval $ac_try) 2>&5
71333 ac_status=$?
71334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71335 (exit $ac_status); }; }; then
71336 eval "$as_ac_var=yes"
71337 else
71338 echo "$as_me: failed program was:" >&5
71339 sed 's/^/| /' conftest.$ac_ext >&5
71341 eval "$as_ac_var=no"
71343 rm -f conftest.err conftest.$ac_objext \
71344 conftest$ac_exeext conftest.$ac_ext
71346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71348 if test `eval echo '${'$as_ac_var'}'` = yes; then
71349 cat >>confdefs.h <<_ACEOF
71350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71351 _ACEOF
71354 done
71356 else
71358 echo "$as_me:$LINENO: checking for _expl declaration" >&5
71359 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
71360 if test x${glibcxx_cv_func__expl_use+set} != xset; then
71361 if test "${glibcxx_cv_func__expl_use+set}" = set; then
71362 echo $ECHO_N "(cached) $ECHO_C" >&6
71363 else
71367 ac_ext=cc
71368 ac_cpp='$CXXCPP $CPPFLAGS'
71369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71373 cat >conftest.$ac_ext <<_ACEOF
71374 /* confdefs.h. */
71375 _ACEOF
71376 cat confdefs.h >>conftest.$ac_ext
71377 cat >>conftest.$ac_ext <<_ACEOF
71378 /* end confdefs.h. */
71379 #include <math.h>
71380 #ifdef HAVE_IEEEFP_H
71381 #include <ieeefp.h>
71382 #endif
71385 main ()
71387 _expl(0);
71389 return 0;
71391 _ACEOF
71392 rm -f conftest.$ac_objext
71393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71394 (eval $ac_compile) 2>conftest.er1
71395 ac_status=$?
71396 grep -v '^ *+' conftest.er1 >conftest.err
71397 rm -f conftest.er1
71398 cat conftest.err >&5
71399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71400 (exit $ac_status); } &&
71401 { ac_try='test -z "$ac_cxx_werror_flag"
71402 || test ! -s conftest.err'
71403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71404 (eval $ac_try) 2>&5
71405 ac_status=$?
71406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71407 (exit $ac_status); }; } &&
71408 { ac_try='test -s conftest.$ac_objext'
71409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71410 (eval $ac_try) 2>&5
71411 ac_status=$?
71412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71413 (exit $ac_status); }; }; then
71414 glibcxx_cv_func__expl_use=yes
71415 else
71416 echo "$as_me: failed program was:" >&5
71417 sed 's/^/| /' conftest.$ac_ext >&5
71419 glibcxx_cv_func__expl_use=no
71421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71422 ac_ext=c
71423 ac_cpp='$CPP $CPPFLAGS'
71424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71432 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
71433 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
71435 if test x$glibcxx_cv_func__expl_use = x"yes"; then
71437 for ac_func in _expl
71439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71440 echo "$as_me:$LINENO: checking for $ac_func" >&5
71441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71442 if eval "test \"\${$as_ac_var+set}\" = set"; then
71443 echo $ECHO_N "(cached) $ECHO_C" >&6
71444 else
71445 if test x$gcc_no_link = xyes; then
71446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71448 { (exit 1); exit 1; }; }
71450 cat >conftest.$ac_ext <<_ACEOF
71451 /* confdefs.h. */
71452 _ACEOF
71453 cat confdefs.h >>conftest.$ac_ext
71454 cat >>conftest.$ac_ext <<_ACEOF
71455 /* end confdefs.h. */
71456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71458 #define $ac_func innocuous_$ac_func
71460 /* System header to define __stub macros and hopefully few prototypes,
71461 which can conflict with char $ac_func (); below.
71462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71463 <limits.h> exists even on freestanding compilers. */
71465 #ifdef __STDC__
71466 # include <limits.h>
71467 #else
71468 # include <assert.h>
71469 #endif
71471 #undef $ac_func
71473 /* Override any gcc2 internal prototype to avoid an error. */
71474 #ifdef __cplusplus
71475 extern "C"
71477 #endif
71478 /* We use char because int might match the return type of a gcc2
71479 builtin and then its argument prototype would still apply. */
71480 char $ac_func ();
71481 /* The GNU C library defines this for functions which it implements
71482 to always fail with ENOSYS. Some functions are actually named
71483 something starting with __ and the normal name is an alias. */
71484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71485 choke me
71486 #else
71487 char (*f) () = $ac_func;
71488 #endif
71489 #ifdef __cplusplus
71491 #endif
71494 main ()
71496 return f != $ac_func;
71498 return 0;
71500 _ACEOF
71501 rm -f conftest.$ac_objext conftest$ac_exeext
71502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71503 (eval $ac_link) 2>conftest.er1
71504 ac_status=$?
71505 grep -v '^ *+' conftest.er1 >conftest.err
71506 rm -f conftest.er1
71507 cat conftest.err >&5
71508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71509 (exit $ac_status); } &&
71510 { ac_try='test -z "$ac_c_werror_flag"
71511 || test ! -s conftest.err'
71512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71513 (eval $ac_try) 2>&5
71514 ac_status=$?
71515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71516 (exit $ac_status); }; } &&
71517 { ac_try='test -s conftest$ac_exeext'
71518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71519 (eval $ac_try) 2>&5
71520 ac_status=$?
71521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71522 (exit $ac_status); }; }; then
71523 eval "$as_ac_var=yes"
71524 else
71525 echo "$as_me: failed program was:" >&5
71526 sed 's/^/| /' conftest.$ac_ext >&5
71528 eval "$as_ac_var=no"
71530 rm -f conftest.err conftest.$ac_objext \
71531 conftest$ac_exeext conftest.$ac_ext
71533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71535 if test `eval echo '${'$as_ac_var'}'` = yes; then
71536 cat >>confdefs.h <<_ACEOF
71537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71538 _ACEOF
71541 done
71551 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
71552 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
71553 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
71554 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
71555 echo $ECHO_N "(cached) $ECHO_C" >&6
71556 else
71560 ac_ext=cc
71561 ac_cpp='$CXXCPP $CPPFLAGS'
71562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71566 cat >conftest.$ac_ext <<_ACEOF
71567 /* confdefs.h. */
71568 _ACEOF
71569 cat confdefs.h >>conftest.$ac_ext
71570 cat >>conftest.$ac_ext <<_ACEOF
71571 /* end confdefs.h. */
71572 #include <math.h>
71573 #ifdef HAVE_IEEEFP_H
71574 #include <ieeefp.h>
71575 #endif
71578 main ()
71580 fabsl(0);
71582 return 0;
71584 _ACEOF
71585 rm -f conftest.$ac_objext
71586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71587 (eval $ac_compile) 2>conftest.er1
71588 ac_status=$?
71589 grep -v '^ *+' conftest.er1 >conftest.err
71590 rm -f conftest.er1
71591 cat conftest.err >&5
71592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71593 (exit $ac_status); } &&
71594 { ac_try='test -z "$ac_cxx_werror_flag"
71595 || test ! -s conftest.err'
71596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71597 (eval $ac_try) 2>&5
71598 ac_status=$?
71599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71600 (exit $ac_status); }; } &&
71601 { ac_try='test -s conftest.$ac_objext'
71602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71603 (eval $ac_try) 2>&5
71604 ac_status=$?
71605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71606 (exit $ac_status); }; }; then
71607 glibcxx_cv_func_fabsl_use=yes
71608 else
71609 echo "$as_me: failed program was:" >&5
71610 sed 's/^/| /' conftest.$ac_ext >&5
71612 glibcxx_cv_func_fabsl_use=no
71614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71615 ac_ext=c
71616 ac_cpp='$CPP $CPPFLAGS'
71617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71625 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
71626 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
71628 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
71630 for ac_func in fabsl
71632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71633 echo "$as_me:$LINENO: checking for $ac_func" >&5
71634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71635 if eval "test \"\${$as_ac_var+set}\" = set"; then
71636 echo $ECHO_N "(cached) $ECHO_C" >&6
71637 else
71638 if test x$gcc_no_link = xyes; then
71639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71641 { (exit 1); exit 1; }; }
71643 cat >conftest.$ac_ext <<_ACEOF
71644 /* confdefs.h. */
71645 _ACEOF
71646 cat confdefs.h >>conftest.$ac_ext
71647 cat >>conftest.$ac_ext <<_ACEOF
71648 /* end confdefs.h. */
71649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71651 #define $ac_func innocuous_$ac_func
71653 /* System header to define __stub macros and hopefully few prototypes,
71654 which can conflict with char $ac_func (); below.
71655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71656 <limits.h> exists even on freestanding compilers. */
71658 #ifdef __STDC__
71659 # include <limits.h>
71660 #else
71661 # include <assert.h>
71662 #endif
71664 #undef $ac_func
71666 /* Override any gcc2 internal prototype to avoid an error. */
71667 #ifdef __cplusplus
71668 extern "C"
71670 #endif
71671 /* We use char because int might match the return type of a gcc2
71672 builtin and then its argument prototype would still apply. */
71673 char $ac_func ();
71674 /* The GNU C library defines this for functions which it implements
71675 to always fail with ENOSYS. Some functions are actually named
71676 something starting with __ and the normal name is an alias. */
71677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71678 choke me
71679 #else
71680 char (*f) () = $ac_func;
71681 #endif
71682 #ifdef __cplusplus
71684 #endif
71687 main ()
71689 return f != $ac_func;
71691 return 0;
71693 _ACEOF
71694 rm -f conftest.$ac_objext conftest$ac_exeext
71695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71696 (eval $ac_link) 2>conftest.er1
71697 ac_status=$?
71698 grep -v '^ *+' conftest.er1 >conftest.err
71699 rm -f conftest.er1
71700 cat conftest.err >&5
71701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71702 (exit $ac_status); } &&
71703 { ac_try='test -z "$ac_c_werror_flag"
71704 || test ! -s conftest.err'
71705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71706 (eval $ac_try) 2>&5
71707 ac_status=$?
71708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71709 (exit $ac_status); }; } &&
71710 { ac_try='test -s conftest$ac_exeext'
71711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71712 (eval $ac_try) 2>&5
71713 ac_status=$?
71714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71715 (exit $ac_status); }; }; then
71716 eval "$as_ac_var=yes"
71717 else
71718 echo "$as_me: failed program was:" >&5
71719 sed 's/^/| /' conftest.$ac_ext >&5
71721 eval "$as_ac_var=no"
71723 rm -f conftest.err conftest.$ac_objext \
71724 conftest$ac_exeext conftest.$ac_ext
71726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71728 if test `eval echo '${'$as_ac_var'}'` = yes; then
71729 cat >>confdefs.h <<_ACEOF
71730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71731 _ACEOF
71734 done
71736 else
71738 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
71739 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
71740 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71741 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
71742 echo $ECHO_N "(cached) $ECHO_C" >&6
71743 else
71747 ac_ext=cc
71748 ac_cpp='$CXXCPP $CPPFLAGS'
71749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71753 cat >conftest.$ac_ext <<_ACEOF
71754 /* confdefs.h. */
71755 _ACEOF
71756 cat confdefs.h >>conftest.$ac_ext
71757 cat >>conftest.$ac_ext <<_ACEOF
71758 /* end confdefs.h. */
71759 #include <math.h>
71760 #ifdef HAVE_IEEEFP_H
71761 #include <ieeefp.h>
71762 #endif
71765 main ()
71767 _fabsl(0);
71769 return 0;
71771 _ACEOF
71772 rm -f conftest.$ac_objext
71773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71774 (eval $ac_compile) 2>conftest.er1
71775 ac_status=$?
71776 grep -v '^ *+' conftest.er1 >conftest.err
71777 rm -f conftest.er1
71778 cat conftest.err >&5
71779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71780 (exit $ac_status); } &&
71781 { ac_try='test -z "$ac_cxx_werror_flag"
71782 || test ! -s conftest.err'
71783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71784 (eval $ac_try) 2>&5
71785 ac_status=$?
71786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71787 (exit $ac_status); }; } &&
71788 { ac_try='test -s conftest.$ac_objext'
71789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71790 (eval $ac_try) 2>&5
71791 ac_status=$?
71792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71793 (exit $ac_status); }; }; then
71794 glibcxx_cv_func__fabsl_use=yes
71795 else
71796 echo "$as_me: failed program was:" >&5
71797 sed 's/^/| /' conftest.$ac_ext >&5
71799 glibcxx_cv_func__fabsl_use=no
71801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71802 ac_ext=c
71803 ac_cpp='$CPP $CPPFLAGS'
71804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71812 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
71813 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
71815 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71817 for ac_func in _fabsl
71819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71820 echo "$as_me:$LINENO: checking for $ac_func" >&5
71821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71822 if eval "test \"\${$as_ac_var+set}\" = set"; then
71823 echo $ECHO_N "(cached) $ECHO_C" >&6
71824 else
71825 if test x$gcc_no_link = xyes; then
71826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71828 { (exit 1); exit 1; }; }
71830 cat >conftest.$ac_ext <<_ACEOF
71831 /* confdefs.h. */
71832 _ACEOF
71833 cat confdefs.h >>conftest.$ac_ext
71834 cat >>conftest.$ac_ext <<_ACEOF
71835 /* end confdefs.h. */
71836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71838 #define $ac_func innocuous_$ac_func
71840 /* System header to define __stub macros and hopefully few prototypes,
71841 which can conflict with char $ac_func (); below.
71842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71843 <limits.h> exists even on freestanding compilers. */
71845 #ifdef __STDC__
71846 # include <limits.h>
71847 #else
71848 # include <assert.h>
71849 #endif
71851 #undef $ac_func
71853 /* Override any gcc2 internal prototype to avoid an error. */
71854 #ifdef __cplusplus
71855 extern "C"
71857 #endif
71858 /* We use char because int might match the return type of a gcc2
71859 builtin and then its argument prototype would still apply. */
71860 char $ac_func ();
71861 /* The GNU C library defines this for functions which it implements
71862 to always fail with ENOSYS. Some functions are actually named
71863 something starting with __ and the normal name is an alias. */
71864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71865 choke me
71866 #else
71867 char (*f) () = $ac_func;
71868 #endif
71869 #ifdef __cplusplus
71871 #endif
71874 main ()
71876 return f != $ac_func;
71878 return 0;
71880 _ACEOF
71881 rm -f conftest.$ac_objext conftest$ac_exeext
71882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71883 (eval $ac_link) 2>conftest.er1
71884 ac_status=$?
71885 grep -v '^ *+' conftest.er1 >conftest.err
71886 rm -f conftest.er1
71887 cat conftest.err >&5
71888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71889 (exit $ac_status); } &&
71890 { ac_try='test -z "$ac_c_werror_flag"
71891 || test ! -s conftest.err'
71892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71893 (eval $ac_try) 2>&5
71894 ac_status=$?
71895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71896 (exit $ac_status); }; } &&
71897 { ac_try='test -s conftest$ac_exeext'
71898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71899 (eval $ac_try) 2>&5
71900 ac_status=$?
71901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71902 (exit $ac_status); }; }; then
71903 eval "$as_ac_var=yes"
71904 else
71905 echo "$as_me: failed program was:" >&5
71906 sed 's/^/| /' conftest.$ac_ext >&5
71908 eval "$as_ac_var=no"
71910 rm -f conftest.err conftest.$ac_objext \
71911 conftest$ac_exeext conftest.$ac_ext
71913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71915 if test `eval echo '${'$as_ac_var'}'` = yes; then
71916 cat >>confdefs.h <<_ACEOF
71917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71918 _ACEOF
71921 done
71931 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
71932 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
71933 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
71934 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
71935 echo $ECHO_N "(cached) $ECHO_C" >&6
71936 else
71940 ac_ext=cc
71941 ac_cpp='$CXXCPP $CPPFLAGS'
71942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71946 cat >conftest.$ac_ext <<_ACEOF
71947 /* confdefs.h. */
71948 _ACEOF
71949 cat confdefs.h >>conftest.$ac_ext
71950 cat >>conftest.$ac_ext <<_ACEOF
71951 /* end confdefs.h. */
71952 #include <math.h>
71954 main ()
71956 fmodl(0, 0);
71958 return 0;
71960 _ACEOF
71961 rm -f conftest.$ac_objext
71962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71963 (eval $ac_compile) 2>conftest.er1
71964 ac_status=$?
71965 grep -v '^ *+' conftest.er1 >conftest.err
71966 rm -f conftest.er1
71967 cat conftest.err >&5
71968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71969 (exit $ac_status); } &&
71970 { ac_try='test -z "$ac_cxx_werror_flag"
71971 || test ! -s conftest.err'
71972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71973 (eval $ac_try) 2>&5
71974 ac_status=$?
71975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71976 (exit $ac_status); }; } &&
71977 { ac_try='test -s conftest.$ac_objext'
71978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71979 (eval $ac_try) 2>&5
71980 ac_status=$?
71981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71982 (exit $ac_status); }; }; then
71983 glibcxx_cv_func_fmodl_use=yes
71984 else
71985 echo "$as_me: failed program was:" >&5
71986 sed 's/^/| /' conftest.$ac_ext >&5
71988 glibcxx_cv_func_fmodl_use=no
71990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71991 ac_ext=c
71992 ac_cpp='$CPP $CPPFLAGS'
71993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72001 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
72002 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
72004 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
72006 for ac_func in fmodl
72008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72009 echo "$as_me:$LINENO: checking for $ac_func" >&5
72010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72011 if eval "test \"\${$as_ac_var+set}\" = set"; then
72012 echo $ECHO_N "(cached) $ECHO_C" >&6
72013 else
72014 if test x$gcc_no_link = xyes; then
72015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72017 { (exit 1); exit 1; }; }
72019 cat >conftest.$ac_ext <<_ACEOF
72020 /* confdefs.h. */
72021 _ACEOF
72022 cat confdefs.h >>conftest.$ac_ext
72023 cat >>conftest.$ac_ext <<_ACEOF
72024 /* end confdefs.h. */
72025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72027 #define $ac_func innocuous_$ac_func
72029 /* System header to define __stub macros and hopefully few prototypes,
72030 which can conflict with char $ac_func (); below.
72031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72032 <limits.h> exists even on freestanding compilers. */
72034 #ifdef __STDC__
72035 # include <limits.h>
72036 #else
72037 # include <assert.h>
72038 #endif
72040 #undef $ac_func
72042 /* Override any gcc2 internal prototype to avoid an error. */
72043 #ifdef __cplusplus
72044 extern "C"
72046 #endif
72047 /* We use char because int might match the return type of a gcc2
72048 builtin and then its argument prototype would still apply. */
72049 char $ac_func ();
72050 /* The GNU C library defines this for functions which it implements
72051 to always fail with ENOSYS. Some functions are actually named
72052 something starting with __ and the normal name is an alias. */
72053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72054 choke me
72055 #else
72056 char (*f) () = $ac_func;
72057 #endif
72058 #ifdef __cplusplus
72060 #endif
72063 main ()
72065 return f != $ac_func;
72067 return 0;
72069 _ACEOF
72070 rm -f conftest.$ac_objext conftest$ac_exeext
72071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72072 (eval $ac_link) 2>conftest.er1
72073 ac_status=$?
72074 grep -v '^ *+' conftest.er1 >conftest.err
72075 rm -f conftest.er1
72076 cat conftest.err >&5
72077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72078 (exit $ac_status); } &&
72079 { ac_try='test -z "$ac_c_werror_flag"
72080 || test ! -s conftest.err'
72081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72082 (eval $ac_try) 2>&5
72083 ac_status=$?
72084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72085 (exit $ac_status); }; } &&
72086 { ac_try='test -s conftest$ac_exeext'
72087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72088 (eval $ac_try) 2>&5
72089 ac_status=$?
72090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72091 (exit $ac_status); }; }; then
72092 eval "$as_ac_var=yes"
72093 else
72094 echo "$as_me: failed program was:" >&5
72095 sed 's/^/| /' conftest.$ac_ext >&5
72097 eval "$as_ac_var=no"
72099 rm -f conftest.err conftest.$ac_objext \
72100 conftest$ac_exeext conftest.$ac_ext
72102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72104 if test `eval echo '${'$as_ac_var'}'` = yes; then
72105 cat >>confdefs.h <<_ACEOF
72106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72107 _ACEOF
72110 done
72112 else
72114 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
72115 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
72116 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
72117 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
72118 echo $ECHO_N "(cached) $ECHO_C" >&6
72119 else
72123 ac_ext=cc
72124 ac_cpp='$CXXCPP $CPPFLAGS'
72125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72129 cat >conftest.$ac_ext <<_ACEOF
72130 /* confdefs.h. */
72131 _ACEOF
72132 cat confdefs.h >>conftest.$ac_ext
72133 cat >>conftest.$ac_ext <<_ACEOF
72134 /* end confdefs.h. */
72135 #include <math.h>
72137 main ()
72139 _fmodl(0, 0);
72141 return 0;
72143 _ACEOF
72144 rm -f conftest.$ac_objext
72145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72146 (eval $ac_compile) 2>conftest.er1
72147 ac_status=$?
72148 grep -v '^ *+' conftest.er1 >conftest.err
72149 rm -f conftest.er1
72150 cat conftest.err >&5
72151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72152 (exit $ac_status); } &&
72153 { ac_try='test -z "$ac_cxx_werror_flag"
72154 || test ! -s conftest.err'
72155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72156 (eval $ac_try) 2>&5
72157 ac_status=$?
72158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72159 (exit $ac_status); }; } &&
72160 { ac_try='test -s conftest.$ac_objext'
72161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72162 (eval $ac_try) 2>&5
72163 ac_status=$?
72164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72165 (exit $ac_status); }; }; then
72166 glibcxx_cv_func__fmodl_use=yes
72167 else
72168 echo "$as_me: failed program was:" >&5
72169 sed 's/^/| /' conftest.$ac_ext >&5
72171 glibcxx_cv_func__fmodl_use=no
72173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72174 ac_ext=c
72175 ac_cpp='$CPP $CPPFLAGS'
72176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72184 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
72185 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
72187 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
72189 for ac_func in _fmodl
72191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72192 echo "$as_me:$LINENO: checking for $ac_func" >&5
72193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72194 if eval "test \"\${$as_ac_var+set}\" = set"; then
72195 echo $ECHO_N "(cached) $ECHO_C" >&6
72196 else
72197 if test x$gcc_no_link = xyes; then
72198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72200 { (exit 1); exit 1; }; }
72202 cat >conftest.$ac_ext <<_ACEOF
72203 /* confdefs.h. */
72204 _ACEOF
72205 cat confdefs.h >>conftest.$ac_ext
72206 cat >>conftest.$ac_ext <<_ACEOF
72207 /* end confdefs.h. */
72208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72210 #define $ac_func innocuous_$ac_func
72212 /* System header to define __stub macros and hopefully few prototypes,
72213 which can conflict with char $ac_func (); below.
72214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72215 <limits.h> exists even on freestanding compilers. */
72217 #ifdef __STDC__
72218 # include <limits.h>
72219 #else
72220 # include <assert.h>
72221 #endif
72223 #undef $ac_func
72225 /* Override any gcc2 internal prototype to avoid an error. */
72226 #ifdef __cplusplus
72227 extern "C"
72229 #endif
72230 /* We use char because int might match the return type of a gcc2
72231 builtin and then its argument prototype would still apply. */
72232 char $ac_func ();
72233 /* The GNU C library defines this for functions which it implements
72234 to always fail with ENOSYS. Some functions are actually named
72235 something starting with __ and the normal name is an alias. */
72236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72237 choke me
72238 #else
72239 char (*f) () = $ac_func;
72240 #endif
72241 #ifdef __cplusplus
72243 #endif
72246 main ()
72248 return f != $ac_func;
72250 return 0;
72252 _ACEOF
72253 rm -f conftest.$ac_objext conftest$ac_exeext
72254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72255 (eval $ac_link) 2>conftest.er1
72256 ac_status=$?
72257 grep -v '^ *+' conftest.er1 >conftest.err
72258 rm -f conftest.er1
72259 cat conftest.err >&5
72260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72261 (exit $ac_status); } &&
72262 { ac_try='test -z "$ac_c_werror_flag"
72263 || test ! -s conftest.err'
72264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72265 (eval $ac_try) 2>&5
72266 ac_status=$?
72267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72268 (exit $ac_status); }; } &&
72269 { ac_try='test -s conftest$ac_exeext'
72270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72271 (eval $ac_try) 2>&5
72272 ac_status=$?
72273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72274 (exit $ac_status); }; }; then
72275 eval "$as_ac_var=yes"
72276 else
72277 echo "$as_me: failed program was:" >&5
72278 sed 's/^/| /' conftest.$ac_ext >&5
72280 eval "$as_ac_var=no"
72282 rm -f conftest.err conftest.$ac_objext \
72283 conftest$ac_exeext conftest.$ac_ext
72285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72287 if test `eval echo '${'$as_ac_var'}'` = yes; then
72288 cat >>confdefs.h <<_ACEOF
72289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72290 _ACEOF
72293 done
72303 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
72304 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
72305 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
72306 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
72307 echo $ECHO_N "(cached) $ECHO_C" >&6
72308 else
72312 ac_ext=cc
72313 ac_cpp='$CXXCPP $CPPFLAGS'
72314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72318 cat >conftest.$ac_ext <<_ACEOF
72319 /* confdefs.h. */
72320 _ACEOF
72321 cat confdefs.h >>conftest.$ac_ext
72322 cat >>conftest.$ac_ext <<_ACEOF
72323 /* end confdefs.h. */
72324 #include <math.h>
72326 main ()
72328 frexpl(0, 0);
72330 return 0;
72332 _ACEOF
72333 rm -f conftest.$ac_objext
72334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72335 (eval $ac_compile) 2>conftest.er1
72336 ac_status=$?
72337 grep -v '^ *+' conftest.er1 >conftest.err
72338 rm -f conftest.er1
72339 cat conftest.err >&5
72340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72341 (exit $ac_status); } &&
72342 { ac_try='test -z "$ac_cxx_werror_flag"
72343 || test ! -s conftest.err'
72344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72345 (eval $ac_try) 2>&5
72346 ac_status=$?
72347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72348 (exit $ac_status); }; } &&
72349 { ac_try='test -s conftest.$ac_objext'
72350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72351 (eval $ac_try) 2>&5
72352 ac_status=$?
72353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72354 (exit $ac_status); }; }; then
72355 glibcxx_cv_func_frexpl_use=yes
72356 else
72357 echo "$as_me: failed program was:" >&5
72358 sed 's/^/| /' conftest.$ac_ext >&5
72360 glibcxx_cv_func_frexpl_use=no
72362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72363 ac_ext=c
72364 ac_cpp='$CPP $CPPFLAGS'
72365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72373 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
72374 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
72376 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
72378 for ac_func in frexpl
72380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72381 echo "$as_me:$LINENO: checking for $ac_func" >&5
72382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72383 if eval "test \"\${$as_ac_var+set}\" = set"; then
72384 echo $ECHO_N "(cached) $ECHO_C" >&6
72385 else
72386 if test x$gcc_no_link = xyes; then
72387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72389 { (exit 1); exit 1; }; }
72391 cat >conftest.$ac_ext <<_ACEOF
72392 /* confdefs.h. */
72393 _ACEOF
72394 cat confdefs.h >>conftest.$ac_ext
72395 cat >>conftest.$ac_ext <<_ACEOF
72396 /* end confdefs.h. */
72397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72399 #define $ac_func innocuous_$ac_func
72401 /* System header to define __stub macros and hopefully few prototypes,
72402 which can conflict with char $ac_func (); below.
72403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72404 <limits.h> exists even on freestanding compilers. */
72406 #ifdef __STDC__
72407 # include <limits.h>
72408 #else
72409 # include <assert.h>
72410 #endif
72412 #undef $ac_func
72414 /* Override any gcc2 internal prototype to avoid an error. */
72415 #ifdef __cplusplus
72416 extern "C"
72418 #endif
72419 /* We use char because int might match the return type of a gcc2
72420 builtin and then its argument prototype would still apply. */
72421 char $ac_func ();
72422 /* The GNU C library defines this for functions which it implements
72423 to always fail with ENOSYS. Some functions are actually named
72424 something starting with __ and the normal name is an alias. */
72425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72426 choke me
72427 #else
72428 char (*f) () = $ac_func;
72429 #endif
72430 #ifdef __cplusplus
72432 #endif
72435 main ()
72437 return f != $ac_func;
72439 return 0;
72441 _ACEOF
72442 rm -f conftest.$ac_objext conftest$ac_exeext
72443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72444 (eval $ac_link) 2>conftest.er1
72445 ac_status=$?
72446 grep -v '^ *+' conftest.er1 >conftest.err
72447 rm -f conftest.er1
72448 cat conftest.err >&5
72449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72450 (exit $ac_status); } &&
72451 { ac_try='test -z "$ac_c_werror_flag"
72452 || test ! -s conftest.err'
72453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72454 (eval $ac_try) 2>&5
72455 ac_status=$?
72456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72457 (exit $ac_status); }; } &&
72458 { ac_try='test -s conftest$ac_exeext'
72459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72460 (eval $ac_try) 2>&5
72461 ac_status=$?
72462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72463 (exit $ac_status); }; }; then
72464 eval "$as_ac_var=yes"
72465 else
72466 echo "$as_me: failed program was:" >&5
72467 sed 's/^/| /' conftest.$ac_ext >&5
72469 eval "$as_ac_var=no"
72471 rm -f conftest.err conftest.$ac_objext \
72472 conftest$ac_exeext conftest.$ac_ext
72474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72476 if test `eval echo '${'$as_ac_var'}'` = yes; then
72477 cat >>confdefs.h <<_ACEOF
72478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72479 _ACEOF
72482 done
72484 else
72486 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
72487 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
72488 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
72489 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
72490 echo $ECHO_N "(cached) $ECHO_C" >&6
72491 else
72495 ac_ext=cc
72496 ac_cpp='$CXXCPP $CPPFLAGS'
72497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72501 cat >conftest.$ac_ext <<_ACEOF
72502 /* confdefs.h. */
72503 _ACEOF
72504 cat confdefs.h >>conftest.$ac_ext
72505 cat >>conftest.$ac_ext <<_ACEOF
72506 /* end confdefs.h. */
72507 #include <math.h>
72509 main ()
72511 _frexpl(0, 0);
72513 return 0;
72515 _ACEOF
72516 rm -f conftest.$ac_objext
72517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72518 (eval $ac_compile) 2>conftest.er1
72519 ac_status=$?
72520 grep -v '^ *+' conftest.er1 >conftest.err
72521 rm -f conftest.er1
72522 cat conftest.err >&5
72523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72524 (exit $ac_status); } &&
72525 { ac_try='test -z "$ac_cxx_werror_flag"
72526 || test ! -s conftest.err'
72527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72528 (eval $ac_try) 2>&5
72529 ac_status=$?
72530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72531 (exit $ac_status); }; } &&
72532 { ac_try='test -s conftest.$ac_objext'
72533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72534 (eval $ac_try) 2>&5
72535 ac_status=$?
72536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72537 (exit $ac_status); }; }; then
72538 glibcxx_cv_func__frexpl_use=yes
72539 else
72540 echo "$as_me: failed program was:" >&5
72541 sed 's/^/| /' conftest.$ac_ext >&5
72543 glibcxx_cv_func__frexpl_use=no
72545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72546 ac_ext=c
72547 ac_cpp='$CPP $CPPFLAGS'
72548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72556 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
72557 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
72559 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
72561 for ac_func in _frexpl
72563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72564 echo "$as_me:$LINENO: checking for $ac_func" >&5
72565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72566 if eval "test \"\${$as_ac_var+set}\" = set"; then
72567 echo $ECHO_N "(cached) $ECHO_C" >&6
72568 else
72569 if test x$gcc_no_link = xyes; then
72570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72572 { (exit 1); exit 1; }; }
72574 cat >conftest.$ac_ext <<_ACEOF
72575 /* confdefs.h. */
72576 _ACEOF
72577 cat confdefs.h >>conftest.$ac_ext
72578 cat >>conftest.$ac_ext <<_ACEOF
72579 /* end confdefs.h. */
72580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72582 #define $ac_func innocuous_$ac_func
72584 /* System header to define __stub macros and hopefully few prototypes,
72585 which can conflict with char $ac_func (); below.
72586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72587 <limits.h> exists even on freestanding compilers. */
72589 #ifdef __STDC__
72590 # include <limits.h>
72591 #else
72592 # include <assert.h>
72593 #endif
72595 #undef $ac_func
72597 /* Override any gcc2 internal prototype to avoid an error. */
72598 #ifdef __cplusplus
72599 extern "C"
72601 #endif
72602 /* We use char because int might match the return type of a gcc2
72603 builtin and then its argument prototype would still apply. */
72604 char $ac_func ();
72605 /* The GNU C library defines this for functions which it implements
72606 to always fail with ENOSYS. Some functions are actually named
72607 something starting with __ and the normal name is an alias. */
72608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72609 choke me
72610 #else
72611 char (*f) () = $ac_func;
72612 #endif
72613 #ifdef __cplusplus
72615 #endif
72618 main ()
72620 return f != $ac_func;
72622 return 0;
72624 _ACEOF
72625 rm -f conftest.$ac_objext conftest$ac_exeext
72626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72627 (eval $ac_link) 2>conftest.er1
72628 ac_status=$?
72629 grep -v '^ *+' conftest.er1 >conftest.err
72630 rm -f conftest.er1
72631 cat conftest.err >&5
72632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72633 (exit $ac_status); } &&
72634 { ac_try='test -z "$ac_c_werror_flag"
72635 || test ! -s conftest.err'
72636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72637 (eval $ac_try) 2>&5
72638 ac_status=$?
72639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72640 (exit $ac_status); }; } &&
72641 { ac_try='test -s conftest$ac_exeext'
72642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72643 (eval $ac_try) 2>&5
72644 ac_status=$?
72645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72646 (exit $ac_status); }; }; then
72647 eval "$as_ac_var=yes"
72648 else
72649 echo "$as_me: failed program was:" >&5
72650 sed 's/^/| /' conftest.$ac_ext >&5
72652 eval "$as_ac_var=no"
72654 rm -f conftest.err conftest.$ac_objext \
72655 conftest$ac_exeext conftest.$ac_ext
72657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72659 if test `eval echo '${'$as_ac_var'}'` = yes; then
72660 cat >>confdefs.h <<_ACEOF
72661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72662 _ACEOF
72665 done
72675 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
72676 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
72677 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
72678 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
72679 echo $ECHO_N "(cached) $ECHO_C" >&6
72680 else
72684 ac_ext=cc
72685 ac_cpp='$CXXCPP $CPPFLAGS'
72686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72690 cat >conftest.$ac_ext <<_ACEOF
72691 /* confdefs.h. */
72692 _ACEOF
72693 cat confdefs.h >>conftest.$ac_ext
72694 cat >>conftest.$ac_ext <<_ACEOF
72695 /* end confdefs.h. */
72696 #include <math.h>
72698 main ()
72700 hypotl(0, 0);
72702 return 0;
72704 _ACEOF
72705 rm -f conftest.$ac_objext
72706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72707 (eval $ac_compile) 2>conftest.er1
72708 ac_status=$?
72709 grep -v '^ *+' conftest.er1 >conftest.err
72710 rm -f conftest.er1
72711 cat conftest.err >&5
72712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72713 (exit $ac_status); } &&
72714 { ac_try='test -z "$ac_cxx_werror_flag"
72715 || test ! -s conftest.err'
72716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72717 (eval $ac_try) 2>&5
72718 ac_status=$?
72719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72720 (exit $ac_status); }; } &&
72721 { ac_try='test -s conftest.$ac_objext'
72722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72723 (eval $ac_try) 2>&5
72724 ac_status=$?
72725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72726 (exit $ac_status); }; }; then
72727 glibcxx_cv_func_hypotl_use=yes
72728 else
72729 echo "$as_me: failed program was:" >&5
72730 sed 's/^/| /' conftest.$ac_ext >&5
72732 glibcxx_cv_func_hypotl_use=no
72734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72735 ac_ext=c
72736 ac_cpp='$CPP $CPPFLAGS'
72737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72745 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
72746 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
72748 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
72750 for ac_func in hypotl
72752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72753 echo "$as_me:$LINENO: checking for $ac_func" >&5
72754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72755 if eval "test \"\${$as_ac_var+set}\" = set"; then
72756 echo $ECHO_N "(cached) $ECHO_C" >&6
72757 else
72758 if test x$gcc_no_link = xyes; then
72759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72761 { (exit 1); exit 1; }; }
72763 cat >conftest.$ac_ext <<_ACEOF
72764 /* confdefs.h. */
72765 _ACEOF
72766 cat confdefs.h >>conftest.$ac_ext
72767 cat >>conftest.$ac_ext <<_ACEOF
72768 /* end confdefs.h. */
72769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72771 #define $ac_func innocuous_$ac_func
72773 /* System header to define __stub macros and hopefully few prototypes,
72774 which can conflict with char $ac_func (); below.
72775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72776 <limits.h> exists even on freestanding compilers. */
72778 #ifdef __STDC__
72779 # include <limits.h>
72780 #else
72781 # include <assert.h>
72782 #endif
72784 #undef $ac_func
72786 /* Override any gcc2 internal prototype to avoid an error. */
72787 #ifdef __cplusplus
72788 extern "C"
72790 #endif
72791 /* We use char because int might match the return type of a gcc2
72792 builtin and then its argument prototype would still apply. */
72793 char $ac_func ();
72794 /* The GNU C library defines this for functions which it implements
72795 to always fail with ENOSYS. Some functions are actually named
72796 something starting with __ and the normal name is an alias. */
72797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72798 choke me
72799 #else
72800 char (*f) () = $ac_func;
72801 #endif
72802 #ifdef __cplusplus
72804 #endif
72807 main ()
72809 return f != $ac_func;
72811 return 0;
72813 _ACEOF
72814 rm -f conftest.$ac_objext conftest$ac_exeext
72815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72816 (eval $ac_link) 2>conftest.er1
72817 ac_status=$?
72818 grep -v '^ *+' conftest.er1 >conftest.err
72819 rm -f conftest.er1
72820 cat conftest.err >&5
72821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72822 (exit $ac_status); } &&
72823 { ac_try='test -z "$ac_c_werror_flag"
72824 || test ! -s conftest.err'
72825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72826 (eval $ac_try) 2>&5
72827 ac_status=$?
72828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72829 (exit $ac_status); }; } &&
72830 { ac_try='test -s conftest$ac_exeext'
72831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72832 (eval $ac_try) 2>&5
72833 ac_status=$?
72834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72835 (exit $ac_status); }; }; then
72836 eval "$as_ac_var=yes"
72837 else
72838 echo "$as_me: failed program was:" >&5
72839 sed 's/^/| /' conftest.$ac_ext >&5
72841 eval "$as_ac_var=no"
72843 rm -f conftest.err conftest.$ac_objext \
72844 conftest$ac_exeext conftest.$ac_ext
72846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72848 if test `eval echo '${'$as_ac_var'}'` = yes; then
72849 cat >>confdefs.h <<_ACEOF
72850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72851 _ACEOF
72854 done
72856 else
72858 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
72859 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
72860 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
72861 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
72862 echo $ECHO_N "(cached) $ECHO_C" >&6
72863 else
72867 ac_ext=cc
72868 ac_cpp='$CXXCPP $CPPFLAGS'
72869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72873 cat >conftest.$ac_ext <<_ACEOF
72874 /* confdefs.h. */
72875 _ACEOF
72876 cat confdefs.h >>conftest.$ac_ext
72877 cat >>conftest.$ac_ext <<_ACEOF
72878 /* end confdefs.h. */
72879 #include <math.h>
72881 main ()
72883 _hypotl(0, 0);
72885 return 0;
72887 _ACEOF
72888 rm -f conftest.$ac_objext
72889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72890 (eval $ac_compile) 2>conftest.er1
72891 ac_status=$?
72892 grep -v '^ *+' conftest.er1 >conftest.err
72893 rm -f conftest.er1
72894 cat conftest.err >&5
72895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72896 (exit $ac_status); } &&
72897 { ac_try='test -z "$ac_cxx_werror_flag"
72898 || test ! -s conftest.err'
72899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72900 (eval $ac_try) 2>&5
72901 ac_status=$?
72902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72903 (exit $ac_status); }; } &&
72904 { ac_try='test -s conftest.$ac_objext'
72905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72906 (eval $ac_try) 2>&5
72907 ac_status=$?
72908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72909 (exit $ac_status); }; }; then
72910 glibcxx_cv_func__hypotl_use=yes
72911 else
72912 echo "$as_me: failed program was:" >&5
72913 sed 's/^/| /' conftest.$ac_ext >&5
72915 glibcxx_cv_func__hypotl_use=no
72917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72918 ac_ext=c
72919 ac_cpp='$CPP $CPPFLAGS'
72920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72928 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
72929 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
72931 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
72933 for ac_func in _hypotl
72935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72936 echo "$as_me:$LINENO: checking for $ac_func" >&5
72937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72938 if eval "test \"\${$as_ac_var+set}\" = set"; then
72939 echo $ECHO_N "(cached) $ECHO_C" >&6
72940 else
72941 if test x$gcc_no_link = xyes; then
72942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72944 { (exit 1); exit 1; }; }
72946 cat >conftest.$ac_ext <<_ACEOF
72947 /* confdefs.h. */
72948 _ACEOF
72949 cat confdefs.h >>conftest.$ac_ext
72950 cat >>conftest.$ac_ext <<_ACEOF
72951 /* end confdefs.h. */
72952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72954 #define $ac_func innocuous_$ac_func
72956 /* System header to define __stub macros and hopefully few prototypes,
72957 which can conflict with char $ac_func (); below.
72958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72959 <limits.h> exists even on freestanding compilers. */
72961 #ifdef __STDC__
72962 # include <limits.h>
72963 #else
72964 # include <assert.h>
72965 #endif
72967 #undef $ac_func
72969 /* Override any gcc2 internal prototype to avoid an error. */
72970 #ifdef __cplusplus
72971 extern "C"
72973 #endif
72974 /* We use char because int might match the return type of a gcc2
72975 builtin and then its argument prototype would still apply. */
72976 char $ac_func ();
72977 /* The GNU C library defines this for functions which it implements
72978 to always fail with ENOSYS. Some functions are actually named
72979 something starting with __ and the normal name is an alias. */
72980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72981 choke me
72982 #else
72983 char (*f) () = $ac_func;
72984 #endif
72985 #ifdef __cplusplus
72987 #endif
72990 main ()
72992 return f != $ac_func;
72994 return 0;
72996 _ACEOF
72997 rm -f conftest.$ac_objext conftest$ac_exeext
72998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72999 (eval $ac_link) 2>conftest.er1
73000 ac_status=$?
73001 grep -v '^ *+' conftest.er1 >conftest.err
73002 rm -f conftest.er1
73003 cat conftest.err >&5
73004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73005 (exit $ac_status); } &&
73006 { ac_try='test -z "$ac_c_werror_flag"
73007 || test ! -s conftest.err'
73008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73009 (eval $ac_try) 2>&5
73010 ac_status=$?
73011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73012 (exit $ac_status); }; } &&
73013 { ac_try='test -s conftest$ac_exeext'
73014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73015 (eval $ac_try) 2>&5
73016 ac_status=$?
73017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73018 (exit $ac_status); }; }; then
73019 eval "$as_ac_var=yes"
73020 else
73021 echo "$as_me: failed program was:" >&5
73022 sed 's/^/| /' conftest.$ac_ext >&5
73024 eval "$as_ac_var=no"
73026 rm -f conftest.err conftest.$ac_objext \
73027 conftest$ac_exeext conftest.$ac_ext
73029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73031 if test `eval echo '${'$as_ac_var'}'` = yes; then
73032 cat >>confdefs.h <<_ACEOF
73033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73034 _ACEOF
73037 done
73047 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
73048 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
73049 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
73050 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
73051 echo $ECHO_N "(cached) $ECHO_C" >&6
73052 else
73056 ac_ext=cc
73057 ac_cpp='$CXXCPP $CPPFLAGS'
73058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73062 cat >conftest.$ac_ext <<_ACEOF
73063 /* confdefs.h. */
73064 _ACEOF
73065 cat confdefs.h >>conftest.$ac_ext
73066 cat >>conftest.$ac_ext <<_ACEOF
73067 /* end confdefs.h. */
73068 #include <math.h>
73070 main ()
73072 ldexpl(0, 0);
73074 return 0;
73076 _ACEOF
73077 rm -f conftest.$ac_objext
73078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73079 (eval $ac_compile) 2>conftest.er1
73080 ac_status=$?
73081 grep -v '^ *+' conftest.er1 >conftest.err
73082 rm -f conftest.er1
73083 cat conftest.err >&5
73084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73085 (exit $ac_status); } &&
73086 { ac_try='test -z "$ac_cxx_werror_flag"
73087 || test ! -s conftest.err'
73088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73089 (eval $ac_try) 2>&5
73090 ac_status=$?
73091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73092 (exit $ac_status); }; } &&
73093 { ac_try='test -s conftest.$ac_objext'
73094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73095 (eval $ac_try) 2>&5
73096 ac_status=$?
73097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73098 (exit $ac_status); }; }; then
73099 glibcxx_cv_func_ldexpl_use=yes
73100 else
73101 echo "$as_me: failed program was:" >&5
73102 sed 's/^/| /' conftest.$ac_ext >&5
73104 glibcxx_cv_func_ldexpl_use=no
73106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73107 ac_ext=c
73108 ac_cpp='$CPP $CPPFLAGS'
73109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73117 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
73118 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
73120 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
73122 for ac_func in ldexpl
73124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73125 echo "$as_me:$LINENO: checking for $ac_func" >&5
73126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73127 if eval "test \"\${$as_ac_var+set}\" = set"; then
73128 echo $ECHO_N "(cached) $ECHO_C" >&6
73129 else
73130 if test x$gcc_no_link = xyes; then
73131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73133 { (exit 1); exit 1; }; }
73135 cat >conftest.$ac_ext <<_ACEOF
73136 /* confdefs.h. */
73137 _ACEOF
73138 cat confdefs.h >>conftest.$ac_ext
73139 cat >>conftest.$ac_ext <<_ACEOF
73140 /* end confdefs.h. */
73141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73143 #define $ac_func innocuous_$ac_func
73145 /* System header to define __stub macros and hopefully few prototypes,
73146 which can conflict with char $ac_func (); below.
73147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73148 <limits.h> exists even on freestanding compilers. */
73150 #ifdef __STDC__
73151 # include <limits.h>
73152 #else
73153 # include <assert.h>
73154 #endif
73156 #undef $ac_func
73158 /* Override any gcc2 internal prototype to avoid an error. */
73159 #ifdef __cplusplus
73160 extern "C"
73162 #endif
73163 /* We use char because int might match the return type of a gcc2
73164 builtin and then its argument prototype would still apply. */
73165 char $ac_func ();
73166 /* The GNU C library defines this for functions which it implements
73167 to always fail with ENOSYS. Some functions are actually named
73168 something starting with __ and the normal name is an alias. */
73169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73170 choke me
73171 #else
73172 char (*f) () = $ac_func;
73173 #endif
73174 #ifdef __cplusplus
73176 #endif
73179 main ()
73181 return f != $ac_func;
73183 return 0;
73185 _ACEOF
73186 rm -f conftest.$ac_objext conftest$ac_exeext
73187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73188 (eval $ac_link) 2>conftest.er1
73189 ac_status=$?
73190 grep -v '^ *+' conftest.er1 >conftest.err
73191 rm -f conftest.er1
73192 cat conftest.err >&5
73193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73194 (exit $ac_status); } &&
73195 { ac_try='test -z "$ac_c_werror_flag"
73196 || test ! -s conftest.err'
73197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73198 (eval $ac_try) 2>&5
73199 ac_status=$?
73200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73201 (exit $ac_status); }; } &&
73202 { ac_try='test -s conftest$ac_exeext'
73203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73204 (eval $ac_try) 2>&5
73205 ac_status=$?
73206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73207 (exit $ac_status); }; }; then
73208 eval "$as_ac_var=yes"
73209 else
73210 echo "$as_me: failed program was:" >&5
73211 sed 's/^/| /' conftest.$ac_ext >&5
73213 eval "$as_ac_var=no"
73215 rm -f conftest.err conftest.$ac_objext \
73216 conftest$ac_exeext conftest.$ac_ext
73218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73220 if test `eval echo '${'$as_ac_var'}'` = yes; then
73221 cat >>confdefs.h <<_ACEOF
73222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73223 _ACEOF
73226 done
73228 else
73230 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
73231 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
73232 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
73233 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
73234 echo $ECHO_N "(cached) $ECHO_C" >&6
73235 else
73239 ac_ext=cc
73240 ac_cpp='$CXXCPP $CPPFLAGS'
73241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73245 cat >conftest.$ac_ext <<_ACEOF
73246 /* confdefs.h. */
73247 _ACEOF
73248 cat confdefs.h >>conftest.$ac_ext
73249 cat >>conftest.$ac_ext <<_ACEOF
73250 /* end confdefs.h. */
73251 #include <math.h>
73253 main ()
73255 _ldexpl(0, 0);
73257 return 0;
73259 _ACEOF
73260 rm -f conftest.$ac_objext
73261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73262 (eval $ac_compile) 2>conftest.er1
73263 ac_status=$?
73264 grep -v '^ *+' conftest.er1 >conftest.err
73265 rm -f conftest.er1
73266 cat conftest.err >&5
73267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73268 (exit $ac_status); } &&
73269 { ac_try='test -z "$ac_cxx_werror_flag"
73270 || test ! -s conftest.err'
73271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73272 (eval $ac_try) 2>&5
73273 ac_status=$?
73274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73275 (exit $ac_status); }; } &&
73276 { ac_try='test -s conftest.$ac_objext'
73277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73278 (eval $ac_try) 2>&5
73279 ac_status=$?
73280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73281 (exit $ac_status); }; }; then
73282 glibcxx_cv_func__ldexpl_use=yes
73283 else
73284 echo "$as_me: failed program was:" >&5
73285 sed 's/^/| /' conftest.$ac_ext >&5
73287 glibcxx_cv_func__ldexpl_use=no
73289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73290 ac_ext=c
73291 ac_cpp='$CPP $CPPFLAGS'
73292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73300 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
73301 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
73303 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
73305 for ac_func in _ldexpl
73307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73308 echo "$as_me:$LINENO: checking for $ac_func" >&5
73309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73310 if eval "test \"\${$as_ac_var+set}\" = set"; then
73311 echo $ECHO_N "(cached) $ECHO_C" >&6
73312 else
73313 if test x$gcc_no_link = xyes; then
73314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73316 { (exit 1); exit 1; }; }
73318 cat >conftest.$ac_ext <<_ACEOF
73319 /* confdefs.h. */
73320 _ACEOF
73321 cat confdefs.h >>conftest.$ac_ext
73322 cat >>conftest.$ac_ext <<_ACEOF
73323 /* end confdefs.h. */
73324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73326 #define $ac_func innocuous_$ac_func
73328 /* System header to define __stub macros and hopefully few prototypes,
73329 which can conflict with char $ac_func (); below.
73330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73331 <limits.h> exists even on freestanding compilers. */
73333 #ifdef __STDC__
73334 # include <limits.h>
73335 #else
73336 # include <assert.h>
73337 #endif
73339 #undef $ac_func
73341 /* Override any gcc2 internal prototype to avoid an error. */
73342 #ifdef __cplusplus
73343 extern "C"
73345 #endif
73346 /* We use char because int might match the return type of a gcc2
73347 builtin and then its argument prototype would still apply. */
73348 char $ac_func ();
73349 /* The GNU C library defines this for functions which it implements
73350 to always fail with ENOSYS. Some functions are actually named
73351 something starting with __ and the normal name is an alias. */
73352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73353 choke me
73354 #else
73355 char (*f) () = $ac_func;
73356 #endif
73357 #ifdef __cplusplus
73359 #endif
73362 main ()
73364 return f != $ac_func;
73366 return 0;
73368 _ACEOF
73369 rm -f conftest.$ac_objext conftest$ac_exeext
73370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73371 (eval $ac_link) 2>conftest.er1
73372 ac_status=$?
73373 grep -v '^ *+' conftest.er1 >conftest.err
73374 rm -f conftest.er1
73375 cat conftest.err >&5
73376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73377 (exit $ac_status); } &&
73378 { ac_try='test -z "$ac_c_werror_flag"
73379 || test ! -s conftest.err'
73380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73381 (eval $ac_try) 2>&5
73382 ac_status=$?
73383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73384 (exit $ac_status); }; } &&
73385 { ac_try='test -s conftest$ac_exeext'
73386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73387 (eval $ac_try) 2>&5
73388 ac_status=$?
73389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73390 (exit $ac_status); }; }; then
73391 eval "$as_ac_var=yes"
73392 else
73393 echo "$as_me: failed program was:" >&5
73394 sed 's/^/| /' conftest.$ac_ext >&5
73396 eval "$as_ac_var=no"
73398 rm -f conftest.err conftest.$ac_objext \
73399 conftest$ac_exeext conftest.$ac_ext
73401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73403 if test `eval echo '${'$as_ac_var'}'` = yes; then
73404 cat >>confdefs.h <<_ACEOF
73405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73406 _ACEOF
73409 done
73419 echo "$as_me:$LINENO: checking for logl declaration" >&5
73420 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
73421 if test x${glibcxx_cv_func_logl_use+set} != xset; then
73422 if test "${glibcxx_cv_func_logl_use+set}" = set; then
73423 echo $ECHO_N "(cached) $ECHO_C" >&6
73424 else
73428 ac_ext=cc
73429 ac_cpp='$CXXCPP $CPPFLAGS'
73430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73434 cat >conftest.$ac_ext <<_ACEOF
73435 /* confdefs.h. */
73436 _ACEOF
73437 cat confdefs.h >>conftest.$ac_ext
73438 cat >>conftest.$ac_ext <<_ACEOF
73439 /* end confdefs.h. */
73440 #include <math.h>
73441 #ifdef HAVE_IEEEFP_H
73442 #include <ieeefp.h>
73443 #endif
73446 main ()
73448 logl(0);
73450 return 0;
73452 _ACEOF
73453 rm -f conftest.$ac_objext
73454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73455 (eval $ac_compile) 2>conftest.er1
73456 ac_status=$?
73457 grep -v '^ *+' conftest.er1 >conftest.err
73458 rm -f conftest.er1
73459 cat conftest.err >&5
73460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73461 (exit $ac_status); } &&
73462 { ac_try='test -z "$ac_cxx_werror_flag"
73463 || test ! -s conftest.err'
73464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73465 (eval $ac_try) 2>&5
73466 ac_status=$?
73467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73468 (exit $ac_status); }; } &&
73469 { ac_try='test -s conftest.$ac_objext'
73470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73471 (eval $ac_try) 2>&5
73472 ac_status=$?
73473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73474 (exit $ac_status); }; }; then
73475 glibcxx_cv_func_logl_use=yes
73476 else
73477 echo "$as_me: failed program was:" >&5
73478 sed 's/^/| /' conftest.$ac_ext >&5
73480 glibcxx_cv_func_logl_use=no
73482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73483 ac_ext=c
73484 ac_cpp='$CPP $CPPFLAGS'
73485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73493 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
73494 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
73496 if test x$glibcxx_cv_func_logl_use = x"yes"; then
73498 for ac_func in logl
73500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73501 echo "$as_me:$LINENO: checking for $ac_func" >&5
73502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73503 if eval "test \"\${$as_ac_var+set}\" = set"; then
73504 echo $ECHO_N "(cached) $ECHO_C" >&6
73505 else
73506 if test x$gcc_no_link = xyes; then
73507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73509 { (exit 1); exit 1; }; }
73511 cat >conftest.$ac_ext <<_ACEOF
73512 /* confdefs.h. */
73513 _ACEOF
73514 cat confdefs.h >>conftest.$ac_ext
73515 cat >>conftest.$ac_ext <<_ACEOF
73516 /* end confdefs.h. */
73517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73519 #define $ac_func innocuous_$ac_func
73521 /* System header to define __stub macros and hopefully few prototypes,
73522 which can conflict with char $ac_func (); below.
73523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73524 <limits.h> exists even on freestanding compilers. */
73526 #ifdef __STDC__
73527 # include <limits.h>
73528 #else
73529 # include <assert.h>
73530 #endif
73532 #undef $ac_func
73534 /* Override any gcc2 internal prototype to avoid an error. */
73535 #ifdef __cplusplus
73536 extern "C"
73538 #endif
73539 /* We use char because int might match the return type of a gcc2
73540 builtin and then its argument prototype would still apply. */
73541 char $ac_func ();
73542 /* The GNU C library defines this for functions which it implements
73543 to always fail with ENOSYS. Some functions are actually named
73544 something starting with __ and the normal name is an alias. */
73545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73546 choke me
73547 #else
73548 char (*f) () = $ac_func;
73549 #endif
73550 #ifdef __cplusplus
73552 #endif
73555 main ()
73557 return f != $ac_func;
73559 return 0;
73561 _ACEOF
73562 rm -f conftest.$ac_objext conftest$ac_exeext
73563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73564 (eval $ac_link) 2>conftest.er1
73565 ac_status=$?
73566 grep -v '^ *+' conftest.er1 >conftest.err
73567 rm -f conftest.er1
73568 cat conftest.err >&5
73569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73570 (exit $ac_status); } &&
73571 { ac_try='test -z "$ac_c_werror_flag"
73572 || test ! -s conftest.err'
73573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73574 (eval $ac_try) 2>&5
73575 ac_status=$?
73576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73577 (exit $ac_status); }; } &&
73578 { ac_try='test -s conftest$ac_exeext'
73579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73580 (eval $ac_try) 2>&5
73581 ac_status=$?
73582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73583 (exit $ac_status); }; }; then
73584 eval "$as_ac_var=yes"
73585 else
73586 echo "$as_me: failed program was:" >&5
73587 sed 's/^/| /' conftest.$ac_ext >&5
73589 eval "$as_ac_var=no"
73591 rm -f conftest.err conftest.$ac_objext \
73592 conftest$ac_exeext conftest.$ac_ext
73594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73596 if test `eval echo '${'$as_ac_var'}'` = yes; then
73597 cat >>confdefs.h <<_ACEOF
73598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73599 _ACEOF
73602 done
73604 else
73606 echo "$as_me:$LINENO: checking for _logl declaration" >&5
73607 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
73608 if test x${glibcxx_cv_func__logl_use+set} != xset; then
73609 if test "${glibcxx_cv_func__logl_use+set}" = set; then
73610 echo $ECHO_N "(cached) $ECHO_C" >&6
73611 else
73615 ac_ext=cc
73616 ac_cpp='$CXXCPP $CPPFLAGS'
73617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73621 cat >conftest.$ac_ext <<_ACEOF
73622 /* confdefs.h. */
73623 _ACEOF
73624 cat confdefs.h >>conftest.$ac_ext
73625 cat >>conftest.$ac_ext <<_ACEOF
73626 /* end confdefs.h. */
73627 #include <math.h>
73628 #ifdef HAVE_IEEEFP_H
73629 #include <ieeefp.h>
73630 #endif
73633 main ()
73635 _logl(0);
73637 return 0;
73639 _ACEOF
73640 rm -f conftest.$ac_objext
73641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73642 (eval $ac_compile) 2>conftest.er1
73643 ac_status=$?
73644 grep -v '^ *+' conftest.er1 >conftest.err
73645 rm -f conftest.er1
73646 cat conftest.err >&5
73647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73648 (exit $ac_status); } &&
73649 { ac_try='test -z "$ac_cxx_werror_flag"
73650 || test ! -s conftest.err'
73651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73652 (eval $ac_try) 2>&5
73653 ac_status=$?
73654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73655 (exit $ac_status); }; } &&
73656 { ac_try='test -s conftest.$ac_objext'
73657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73658 (eval $ac_try) 2>&5
73659 ac_status=$?
73660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73661 (exit $ac_status); }; }; then
73662 glibcxx_cv_func__logl_use=yes
73663 else
73664 echo "$as_me: failed program was:" >&5
73665 sed 's/^/| /' conftest.$ac_ext >&5
73667 glibcxx_cv_func__logl_use=no
73669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73670 ac_ext=c
73671 ac_cpp='$CPP $CPPFLAGS'
73672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73680 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
73681 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
73683 if test x$glibcxx_cv_func__logl_use = x"yes"; then
73685 for ac_func in _logl
73687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73688 echo "$as_me:$LINENO: checking for $ac_func" >&5
73689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73690 if eval "test \"\${$as_ac_var+set}\" = set"; then
73691 echo $ECHO_N "(cached) $ECHO_C" >&6
73692 else
73693 if test x$gcc_no_link = xyes; then
73694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73696 { (exit 1); exit 1; }; }
73698 cat >conftest.$ac_ext <<_ACEOF
73699 /* confdefs.h. */
73700 _ACEOF
73701 cat confdefs.h >>conftest.$ac_ext
73702 cat >>conftest.$ac_ext <<_ACEOF
73703 /* end confdefs.h. */
73704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73706 #define $ac_func innocuous_$ac_func
73708 /* System header to define __stub macros and hopefully few prototypes,
73709 which can conflict with char $ac_func (); below.
73710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73711 <limits.h> exists even on freestanding compilers. */
73713 #ifdef __STDC__
73714 # include <limits.h>
73715 #else
73716 # include <assert.h>
73717 #endif
73719 #undef $ac_func
73721 /* Override any gcc2 internal prototype to avoid an error. */
73722 #ifdef __cplusplus
73723 extern "C"
73725 #endif
73726 /* We use char because int might match the return type of a gcc2
73727 builtin and then its argument prototype would still apply. */
73728 char $ac_func ();
73729 /* The GNU C library defines this for functions which it implements
73730 to always fail with ENOSYS. Some functions are actually named
73731 something starting with __ and the normal name is an alias. */
73732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73733 choke me
73734 #else
73735 char (*f) () = $ac_func;
73736 #endif
73737 #ifdef __cplusplus
73739 #endif
73742 main ()
73744 return f != $ac_func;
73746 return 0;
73748 _ACEOF
73749 rm -f conftest.$ac_objext conftest$ac_exeext
73750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73751 (eval $ac_link) 2>conftest.er1
73752 ac_status=$?
73753 grep -v '^ *+' conftest.er1 >conftest.err
73754 rm -f conftest.er1
73755 cat conftest.err >&5
73756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73757 (exit $ac_status); } &&
73758 { ac_try='test -z "$ac_c_werror_flag"
73759 || test ! -s conftest.err'
73760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73761 (eval $ac_try) 2>&5
73762 ac_status=$?
73763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73764 (exit $ac_status); }; } &&
73765 { ac_try='test -s conftest$ac_exeext'
73766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73767 (eval $ac_try) 2>&5
73768 ac_status=$?
73769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73770 (exit $ac_status); }; }; then
73771 eval "$as_ac_var=yes"
73772 else
73773 echo "$as_me: failed program was:" >&5
73774 sed 's/^/| /' conftest.$ac_ext >&5
73776 eval "$as_ac_var=no"
73778 rm -f conftest.err conftest.$ac_objext \
73779 conftest$ac_exeext conftest.$ac_ext
73781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73783 if test `eval echo '${'$as_ac_var'}'` = yes; then
73784 cat >>confdefs.h <<_ACEOF
73785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73786 _ACEOF
73789 done
73799 echo "$as_me:$LINENO: checking for log10l declaration" >&5
73800 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
73801 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
73802 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
73803 echo $ECHO_N "(cached) $ECHO_C" >&6
73804 else
73808 ac_ext=cc
73809 ac_cpp='$CXXCPP $CPPFLAGS'
73810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73814 cat >conftest.$ac_ext <<_ACEOF
73815 /* confdefs.h. */
73816 _ACEOF
73817 cat confdefs.h >>conftest.$ac_ext
73818 cat >>conftest.$ac_ext <<_ACEOF
73819 /* end confdefs.h. */
73820 #include <math.h>
73821 #ifdef HAVE_IEEEFP_H
73822 #include <ieeefp.h>
73823 #endif
73826 main ()
73828 log10l(0);
73830 return 0;
73832 _ACEOF
73833 rm -f conftest.$ac_objext
73834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73835 (eval $ac_compile) 2>conftest.er1
73836 ac_status=$?
73837 grep -v '^ *+' conftest.er1 >conftest.err
73838 rm -f conftest.er1
73839 cat conftest.err >&5
73840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73841 (exit $ac_status); } &&
73842 { ac_try='test -z "$ac_cxx_werror_flag"
73843 || test ! -s conftest.err'
73844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73845 (eval $ac_try) 2>&5
73846 ac_status=$?
73847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73848 (exit $ac_status); }; } &&
73849 { ac_try='test -s conftest.$ac_objext'
73850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73851 (eval $ac_try) 2>&5
73852 ac_status=$?
73853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73854 (exit $ac_status); }; }; then
73855 glibcxx_cv_func_log10l_use=yes
73856 else
73857 echo "$as_me: failed program was:" >&5
73858 sed 's/^/| /' conftest.$ac_ext >&5
73860 glibcxx_cv_func_log10l_use=no
73862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73863 ac_ext=c
73864 ac_cpp='$CPP $CPPFLAGS'
73865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73873 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
73874 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
73876 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
73878 for ac_func in log10l
73880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73881 echo "$as_me:$LINENO: checking for $ac_func" >&5
73882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73883 if eval "test \"\${$as_ac_var+set}\" = set"; then
73884 echo $ECHO_N "(cached) $ECHO_C" >&6
73885 else
73886 if test x$gcc_no_link = xyes; then
73887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73889 { (exit 1); exit 1; }; }
73891 cat >conftest.$ac_ext <<_ACEOF
73892 /* confdefs.h. */
73893 _ACEOF
73894 cat confdefs.h >>conftest.$ac_ext
73895 cat >>conftest.$ac_ext <<_ACEOF
73896 /* end confdefs.h. */
73897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73899 #define $ac_func innocuous_$ac_func
73901 /* System header to define __stub macros and hopefully few prototypes,
73902 which can conflict with char $ac_func (); below.
73903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73904 <limits.h> exists even on freestanding compilers. */
73906 #ifdef __STDC__
73907 # include <limits.h>
73908 #else
73909 # include <assert.h>
73910 #endif
73912 #undef $ac_func
73914 /* Override any gcc2 internal prototype to avoid an error. */
73915 #ifdef __cplusplus
73916 extern "C"
73918 #endif
73919 /* We use char because int might match the return type of a gcc2
73920 builtin and then its argument prototype would still apply. */
73921 char $ac_func ();
73922 /* The GNU C library defines this for functions which it implements
73923 to always fail with ENOSYS. Some functions are actually named
73924 something starting with __ and the normal name is an alias. */
73925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73926 choke me
73927 #else
73928 char (*f) () = $ac_func;
73929 #endif
73930 #ifdef __cplusplus
73932 #endif
73935 main ()
73937 return f != $ac_func;
73939 return 0;
73941 _ACEOF
73942 rm -f conftest.$ac_objext conftest$ac_exeext
73943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73944 (eval $ac_link) 2>conftest.er1
73945 ac_status=$?
73946 grep -v '^ *+' conftest.er1 >conftest.err
73947 rm -f conftest.er1
73948 cat conftest.err >&5
73949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73950 (exit $ac_status); } &&
73951 { ac_try='test -z "$ac_c_werror_flag"
73952 || test ! -s conftest.err'
73953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73954 (eval $ac_try) 2>&5
73955 ac_status=$?
73956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73957 (exit $ac_status); }; } &&
73958 { ac_try='test -s conftest$ac_exeext'
73959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73960 (eval $ac_try) 2>&5
73961 ac_status=$?
73962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73963 (exit $ac_status); }; }; then
73964 eval "$as_ac_var=yes"
73965 else
73966 echo "$as_me: failed program was:" >&5
73967 sed 's/^/| /' conftest.$ac_ext >&5
73969 eval "$as_ac_var=no"
73971 rm -f conftest.err conftest.$ac_objext \
73972 conftest$ac_exeext conftest.$ac_ext
73974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73976 if test `eval echo '${'$as_ac_var'}'` = yes; then
73977 cat >>confdefs.h <<_ACEOF
73978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73979 _ACEOF
73982 done
73984 else
73986 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
73987 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
73988 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
73989 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
73990 echo $ECHO_N "(cached) $ECHO_C" >&6
73991 else
73995 ac_ext=cc
73996 ac_cpp='$CXXCPP $CPPFLAGS'
73997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74001 cat >conftest.$ac_ext <<_ACEOF
74002 /* confdefs.h. */
74003 _ACEOF
74004 cat confdefs.h >>conftest.$ac_ext
74005 cat >>conftest.$ac_ext <<_ACEOF
74006 /* end confdefs.h. */
74007 #include <math.h>
74008 #ifdef HAVE_IEEEFP_H
74009 #include <ieeefp.h>
74010 #endif
74013 main ()
74015 _log10l(0);
74017 return 0;
74019 _ACEOF
74020 rm -f conftest.$ac_objext
74021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74022 (eval $ac_compile) 2>conftest.er1
74023 ac_status=$?
74024 grep -v '^ *+' conftest.er1 >conftest.err
74025 rm -f conftest.er1
74026 cat conftest.err >&5
74027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74028 (exit $ac_status); } &&
74029 { ac_try='test -z "$ac_cxx_werror_flag"
74030 || test ! -s conftest.err'
74031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74032 (eval $ac_try) 2>&5
74033 ac_status=$?
74034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74035 (exit $ac_status); }; } &&
74036 { ac_try='test -s conftest.$ac_objext'
74037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74038 (eval $ac_try) 2>&5
74039 ac_status=$?
74040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74041 (exit $ac_status); }; }; then
74042 glibcxx_cv_func__log10l_use=yes
74043 else
74044 echo "$as_me: failed program was:" >&5
74045 sed 's/^/| /' conftest.$ac_ext >&5
74047 glibcxx_cv_func__log10l_use=no
74049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74050 ac_ext=c
74051 ac_cpp='$CPP $CPPFLAGS'
74052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74060 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
74061 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
74063 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
74065 for ac_func in _log10l
74067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74068 echo "$as_me:$LINENO: checking for $ac_func" >&5
74069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74070 if eval "test \"\${$as_ac_var+set}\" = set"; then
74071 echo $ECHO_N "(cached) $ECHO_C" >&6
74072 else
74073 if test x$gcc_no_link = xyes; then
74074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74076 { (exit 1); exit 1; }; }
74078 cat >conftest.$ac_ext <<_ACEOF
74079 /* confdefs.h. */
74080 _ACEOF
74081 cat confdefs.h >>conftest.$ac_ext
74082 cat >>conftest.$ac_ext <<_ACEOF
74083 /* end confdefs.h. */
74084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74086 #define $ac_func innocuous_$ac_func
74088 /* System header to define __stub macros and hopefully few prototypes,
74089 which can conflict with char $ac_func (); below.
74090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74091 <limits.h> exists even on freestanding compilers. */
74093 #ifdef __STDC__
74094 # include <limits.h>
74095 #else
74096 # include <assert.h>
74097 #endif
74099 #undef $ac_func
74101 /* Override any gcc2 internal prototype to avoid an error. */
74102 #ifdef __cplusplus
74103 extern "C"
74105 #endif
74106 /* We use char because int might match the return type of a gcc2
74107 builtin and then its argument prototype would still apply. */
74108 char $ac_func ();
74109 /* The GNU C library defines this for functions which it implements
74110 to always fail with ENOSYS. Some functions are actually named
74111 something starting with __ and the normal name is an alias. */
74112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74113 choke me
74114 #else
74115 char (*f) () = $ac_func;
74116 #endif
74117 #ifdef __cplusplus
74119 #endif
74122 main ()
74124 return f != $ac_func;
74126 return 0;
74128 _ACEOF
74129 rm -f conftest.$ac_objext conftest$ac_exeext
74130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74131 (eval $ac_link) 2>conftest.er1
74132 ac_status=$?
74133 grep -v '^ *+' conftest.er1 >conftest.err
74134 rm -f conftest.er1
74135 cat conftest.err >&5
74136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74137 (exit $ac_status); } &&
74138 { ac_try='test -z "$ac_c_werror_flag"
74139 || test ! -s conftest.err'
74140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74141 (eval $ac_try) 2>&5
74142 ac_status=$?
74143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74144 (exit $ac_status); }; } &&
74145 { ac_try='test -s conftest$ac_exeext'
74146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74147 (eval $ac_try) 2>&5
74148 ac_status=$?
74149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74150 (exit $ac_status); }; }; then
74151 eval "$as_ac_var=yes"
74152 else
74153 echo "$as_me: failed program was:" >&5
74154 sed 's/^/| /' conftest.$ac_ext >&5
74156 eval "$as_ac_var=no"
74158 rm -f conftest.err conftest.$ac_objext \
74159 conftest$ac_exeext conftest.$ac_ext
74161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74163 if test `eval echo '${'$as_ac_var'}'` = yes; then
74164 cat >>confdefs.h <<_ACEOF
74165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74166 _ACEOF
74169 done
74179 echo "$as_me:$LINENO: checking for modfl declaration" >&5
74180 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
74181 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
74182 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
74183 echo $ECHO_N "(cached) $ECHO_C" >&6
74184 else
74188 ac_ext=cc
74189 ac_cpp='$CXXCPP $CPPFLAGS'
74190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74194 cat >conftest.$ac_ext <<_ACEOF
74195 /* confdefs.h. */
74196 _ACEOF
74197 cat confdefs.h >>conftest.$ac_ext
74198 cat >>conftest.$ac_ext <<_ACEOF
74199 /* end confdefs.h. */
74200 #include <math.h>
74202 main ()
74204 modfl(0, 0);
74206 return 0;
74208 _ACEOF
74209 rm -f conftest.$ac_objext
74210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74211 (eval $ac_compile) 2>conftest.er1
74212 ac_status=$?
74213 grep -v '^ *+' conftest.er1 >conftest.err
74214 rm -f conftest.er1
74215 cat conftest.err >&5
74216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74217 (exit $ac_status); } &&
74218 { ac_try='test -z "$ac_cxx_werror_flag"
74219 || test ! -s conftest.err'
74220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74221 (eval $ac_try) 2>&5
74222 ac_status=$?
74223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74224 (exit $ac_status); }; } &&
74225 { ac_try='test -s conftest.$ac_objext'
74226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74227 (eval $ac_try) 2>&5
74228 ac_status=$?
74229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74230 (exit $ac_status); }; }; then
74231 glibcxx_cv_func_modfl_use=yes
74232 else
74233 echo "$as_me: failed program was:" >&5
74234 sed 's/^/| /' conftest.$ac_ext >&5
74236 glibcxx_cv_func_modfl_use=no
74238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74239 ac_ext=c
74240 ac_cpp='$CPP $CPPFLAGS'
74241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74249 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
74250 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
74252 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
74254 for ac_func in modfl
74256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74257 echo "$as_me:$LINENO: checking for $ac_func" >&5
74258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74259 if eval "test \"\${$as_ac_var+set}\" = set"; then
74260 echo $ECHO_N "(cached) $ECHO_C" >&6
74261 else
74262 if test x$gcc_no_link = xyes; then
74263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74265 { (exit 1); exit 1; }; }
74267 cat >conftest.$ac_ext <<_ACEOF
74268 /* confdefs.h. */
74269 _ACEOF
74270 cat confdefs.h >>conftest.$ac_ext
74271 cat >>conftest.$ac_ext <<_ACEOF
74272 /* end confdefs.h. */
74273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74275 #define $ac_func innocuous_$ac_func
74277 /* System header to define __stub macros and hopefully few prototypes,
74278 which can conflict with char $ac_func (); below.
74279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74280 <limits.h> exists even on freestanding compilers. */
74282 #ifdef __STDC__
74283 # include <limits.h>
74284 #else
74285 # include <assert.h>
74286 #endif
74288 #undef $ac_func
74290 /* Override any gcc2 internal prototype to avoid an error. */
74291 #ifdef __cplusplus
74292 extern "C"
74294 #endif
74295 /* We use char because int might match the return type of a gcc2
74296 builtin and then its argument prototype would still apply. */
74297 char $ac_func ();
74298 /* The GNU C library defines this for functions which it implements
74299 to always fail with ENOSYS. Some functions are actually named
74300 something starting with __ and the normal name is an alias. */
74301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74302 choke me
74303 #else
74304 char (*f) () = $ac_func;
74305 #endif
74306 #ifdef __cplusplus
74308 #endif
74311 main ()
74313 return f != $ac_func;
74315 return 0;
74317 _ACEOF
74318 rm -f conftest.$ac_objext conftest$ac_exeext
74319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74320 (eval $ac_link) 2>conftest.er1
74321 ac_status=$?
74322 grep -v '^ *+' conftest.er1 >conftest.err
74323 rm -f conftest.er1
74324 cat conftest.err >&5
74325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74326 (exit $ac_status); } &&
74327 { ac_try='test -z "$ac_c_werror_flag"
74328 || test ! -s conftest.err'
74329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74330 (eval $ac_try) 2>&5
74331 ac_status=$?
74332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74333 (exit $ac_status); }; } &&
74334 { ac_try='test -s conftest$ac_exeext'
74335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74336 (eval $ac_try) 2>&5
74337 ac_status=$?
74338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74339 (exit $ac_status); }; }; then
74340 eval "$as_ac_var=yes"
74341 else
74342 echo "$as_me: failed program was:" >&5
74343 sed 's/^/| /' conftest.$ac_ext >&5
74345 eval "$as_ac_var=no"
74347 rm -f conftest.err conftest.$ac_objext \
74348 conftest$ac_exeext conftest.$ac_ext
74350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74352 if test `eval echo '${'$as_ac_var'}'` = yes; then
74353 cat >>confdefs.h <<_ACEOF
74354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74355 _ACEOF
74358 done
74360 else
74362 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
74363 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
74364 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
74365 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
74366 echo $ECHO_N "(cached) $ECHO_C" >&6
74367 else
74371 ac_ext=cc
74372 ac_cpp='$CXXCPP $CPPFLAGS'
74373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74377 cat >conftest.$ac_ext <<_ACEOF
74378 /* confdefs.h. */
74379 _ACEOF
74380 cat confdefs.h >>conftest.$ac_ext
74381 cat >>conftest.$ac_ext <<_ACEOF
74382 /* end confdefs.h. */
74383 #include <math.h>
74385 main ()
74387 _modfl(0, 0);
74389 return 0;
74391 _ACEOF
74392 rm -f conftest.$ac_objext
74393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74394 (eval $ac_compile) 2>conftest.er1
74395 ac_status=$?
74396 grep -v '^ *+' conftest.er1 >conftest.err
74397 rm -f conftest.er1
74398 cat conftest.err >&5
74399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74400 (exit $ac_status); } &&
74401 { ac_try='test -z "$ac_cxx_werror_flag"
74402 || test ! -s conftest.err'
74403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74404 (eval $ac_try) 2>&5
74405 ac_status=$?
74406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74407 (exit $ac_status); }; } &&
74408 { ac_try='test -s conftest.$ac_objext'
74409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74410 (eval $ac_try) 2>&5
74411 ac_status=$?
74412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74413 (exit $ac_status); }; }; then
74414 glibcxx_cv_func__modfl_use=yes
74415 else
74416 echo "$as_me: failed program was:" >&5
74417 sed 's/^/| /' conftest.$ac_ext >&5
74419 glibcxx_cv_func__modfl_use=no
74421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74422 ac_ext=c
74423 ac_cpp='$CPP $CPPFLAGS'
74424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74432 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
74433 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
74435 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
74437 for ac_func in _modfl
74439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74440 echo "$as_me:$LINENO: checking for $ac_func" >&5
74441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74442 if eval "test \"\${$as_ac_var+set}\" = set"; then
74443 echo $ECHO_N "(cached) $ECHO_C" >&6
74444 else
74445 if test x$gcc_no_link = xyes; then
74446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74448 { (exit 1); exit 1; }; }
74450 cat >conftest.$ac_ext <<_ACEOF
74451 /* confdefs.h. */
74452 _ACEOF
74453 cat confdefs.h >>conftest.$ac_ext
74454 cat >>conftest.$ac_ext <<_ACEOF
74455 /* end confdefs.h. */
74456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74458 #define $ac_func innocuous_$ac_func
74460 /* System header to define __stub macros and hopefully few prototypes,
74461 which can conflict with char $ac_func (); below.
74462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74463 <limits.h> exists even on freestanding compilers. */
74465 #ifdef __STDC__
74466 # include <limits.h>
74467 #else
74468 # include <assert.h>
74469 #endif
74471 #undef $ac_func
74473 /* Override any gcc2 internal prototype to avoid an error. */
74474 #ifdef __cplusplus
74475 extern "C"
74477 #endif
74478 /* We use char because int might match the return type of a gcc2
74479 builtin and then its argument prototype would still apply. */
74480 char $ac_func ();
74481 /* The GNU C library defines this for functions which it implements
74482 to always fail with ENOSYS. Some functions are actually named
74483 something starting with __ and the normal name is an alias. */
74484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74485 choke me
74486 #else
74487 char (*f) () = $ac_func;
74488 #endif
74489 #ifdef __cplusplus
74491 #endif
74494 main ()
74496 return f != $ac_func;
74498 return 0;
74500 _ACEOF
74501 rm -f conftest.$ac_objext conftest$ac_exeext
74502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74503 (eval $ac_link) 2>conftest.er1
74504 ac_status=$?
74505 grep -v '^ *+' conftest.er1 >conftest.err
74506 rm -f conftest.er1
74507 cat conftest.err >&5
74508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74509 (exit $ac_status); } &&
74510 { ac_try='test -z "$ac_c_werror_flag"
74511 || test ! -s conftest.err'
74512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74513 (eval $ac_try) 2>&5
74514 ac_status=$?
74515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74516 (exit $ac_status); }; } &&
74517 { ac_try='test -s conftest$ac_exeext'
74518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74519 (eval $ac_try) 2>&5
74520 ac_status=$?
74521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74522 (exit $ac_status); }; }; then
74523 eval "$as_ac_var=yes"
74524 else
74525 echo "$as_me: failed program was:" >&5
74526 sed 's/^/| /' conftest.$ac_ext >&5
74528 eval "$as_ac_var=no"
74530 rm -f conftest.err conftest.$ac_objext \
74531 conftest$ac_exeext conftest.$ac_ext
74533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74535 if test `eval echo '${'$as_ac_var'}'` = yes; then
74536 cat >>confdefs.h <<_ACEOF
74537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74538 _ACEOF
74541 done
74551 echo "$as_me:$LINENO: checking for powl declaration" >&5
74552 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
74553 if test x${glibcxx_cv_func_powl_use+set} != xset; then
74554 if test "${glibcxx_cv_func_powl_use+set}" = set; then
74555 echo $ECHO_N "(cached) $ECHO_C" >&6
74556 else
74560 ac_ext=cc
74561 ac_cpp='$CXXCPP $CPPFLAGS'
74562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74566 cat >conftest.$ac_ext <<_ACEOF
74567 /* confdefs.h. */
74568 _ACEOF
74569 cat confdefs.h >>conftest.$ac_ext
74570 cat >>conftest.$ac_ext <<_ACEOF
74571 /* end confdefs.h. */
74572 #include <math.h>
74574 main ()
74576 powl(0, 0);
74578 return 0;
74580 _ACEOF
74581 rm -f conftest.$ac_objext
74582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74583 (eval $ac_compile) 2>conftest.er1
74584 ac_status=$?
74585 grep -v '^ *+' conftest.er1 >conftest.err
74586 rm -f conftest.er1
74587 cat conftest.err >&5
74588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74589 (exit $ac_status); } &&
74590 { ac_try='test -z "$ac_cxx_werror_flag"
74591 || test ! -s conftest.err'
74592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74593 (eval $ac_try) 2>&5
74594 ac_status=$?
74595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74596 (exit $ac_status); }; } &&
74597 { ac_try='test -s conftest.$ac_objext'
74598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74599 (eval $ac_try) 2>&5
74600 ac_status=$?
74601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74602 (exit $ac_status); }; }; then
74603 glibcxx_cv_func_powl_use=yes
74604 else
74605 echo "$as_me: failed program was:" >&5
74606 sed 's/^/| /' conftest.$ac_ext >&5
74608 glibcxx_cv_func_powl_use=no
74610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74611 ac_ext=c
74612 ac_cpp='$CPP $CPPFLAGS'
74613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74621 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
74622 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
74624 if test x$glibcxx_cv_func_powl_use = x"yes"; then
74626 for ac_func in powl
74628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74629 echo "$as_me:$LINENO: checking for $ac_func" >&5
74630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74631 if eval "test \"\${$as_ac_var+set}\" = set"; then
74632 echo $ECHO_N "(cached) $ECHO_C" >&6
74633 else
74634 if test x$gcc_no_link = xyes; then
74635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74637 { (exit 1); exit 1; }; }
74639 cat >conftest.$ac_ext <<_ACEOF
74640 /* confdefs.h. */
74641 _ACEOF
74642 cat confdefs.h >>conftest.$ac_ext
74643 cat >>conftest.$ac_ext <<_ACEOF
74644 /* end confdefs.h. */
74645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74647 #define $ac_func innocuous_$ac_func
74649 /* System header to define __stub macros and hopefully few prototypes,
74650 which can conflict with char $ac_func (); below.
74651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74652 <limits.h> exists even on freestanding compilers. */
74654 #ifdef __STDC__
74655 # include <limits.h>
74656 #else
74657 # include <assert.h>
74658 #endif
74660 #undef $ac_func
74662 /* Override any gcc2 internal prototype to avoid an error. */
74663 #ifdef __cplusplus
74664 extern "C"
74666 #endif
74667 /* We use char because int might match the return type of a gcc2
74668 builtin and then its argument prototype would still apply. */
74669 char $ac_func ();
74670 /* The GNU C library defines this for functions which it implements
74671 to always fail with ENOSYS. Some functions are actually named
74672 something starting with __ and the normal name is an alias. */
74673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74674 choke me
74675 #else
74676 char (*f) () = $ac_func;
74677 #endif
74678 #ifdef __cplusplus
74680 #endif
74683 main ()
74685 return f != $ac_func;
74687 return 0;
74689 _ACEOF
74690 rm -f conftest.$ac_objext conftest$ac_exeext
74691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74692 (eval $ac_link) 2>conftest.er1
74693 ac_status=$?
74694 grep -v '^ *+' conftest.er1 >conftest.err
74695 rm -f conftest.er1
74696 cat conftest.err >&5
74697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74698 (exit $ac_status); } &&
74699 { ac_try='test -z "$ac_c_werror_flag"
74700 || test ! -s conftest.err'
74701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74702 (eval $ac_try) 2>&5
74703 ac_status=$?
74704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74705 (exit $ac_status); }; } &&
74706 { ac_try='test -s conftest$ac_exeext'
74707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74708 (eval $ac_try) 2>&5
74709 ac_status=$?
74710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74711 (exit $ac_status); }; }; then
74712 eval "$as_ac_var=yes"
74713 else
74714 echo "$as_me: failed program was:" >&5
74715 sed 's/^/| /' conftest.$ac_ext >&5
74717 eval "$as_ac_var=no"
74719 rm -f conftest.err conftest.$ac_objext \
74720 conftest$ac_exeext conftest.$ac_ext
74722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74724 if test `eval echo '${'$as_ac_var'}'` = yes; then
74725 cat >>confdefs.h <<_ACEOF
74726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74727 _ACEOF
74730 done
74732 else
74734 echo "$as_me:$LINENO: checking for _powl declaration" >&5
74735 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
74736 if test x${glibcxx_cv_func__powl_use+set} != xset; then
74737 if test "${glibcxx_cv_func__powl_use+set}" = set; then
74738 echo $ECHO_N "(cached) $ECHO_C" >&6
74739 else
74743 ac_ext=cc
74744 ac_cpp='$CXXCPP $CPPFLAGS'
74745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74749 cat >conftest.$ac_ext <<_ACEOF
74750 /* confdefs.h. */
74751 _ACEOF
74752 cat confdefs.h >>conftest.$ac_ext
74753 cat >>conftest.$ac_ext <<_ACEOF
74754 /* end confdefs.h. */
74755 #include <math.h>
74757 main ()
74759 _powl(0, 0);
74761 return 0;
74763 _ACEOF
74764 rm -f conftest.$ac_objext
74765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74766 (eval $ac_compile) 2>conftest.er1
74767 ac_status=$?
74768 grep -v '^ *+' conftest.er1 >conftest.err
74769 rm -f conftest.er1
74770 cat conftest.err >&5
74771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74772 (exit $ac_status); } &&
74773 { ac_try='test -z "$ac_cxx_werror_flag"
74774 || test ! -s conftest.err'
74775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74776 (eval $ac_try) 2>&5
74777 ac_status=$?
74778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74779 (exit $ac_status); }; } &&
74780 { ac_try='test -s conftest.$ac_objext'
74781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74782 (eval $ac_try) 2>&5
74783 ac_status=$?
74784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74785 (exit $ac_status); }; }; then
74786 glibcxx_cv_func__powl_use=yes
74787 else
74788 echo "$as_me: failed program was:" >&5
74789 sed 's/^/| /' conftest.$ac_ext >&5
74791 glibcxx_cv_func__powl_use=no
74793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74794 ac_ext=c
74795 ac_cpp='$CPP $CPPFLAGS'
74796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74804 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
74805 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
74807 if test x$glibcxx_cv_func__powl_use = x"yes"; then
74809 for ac_func in _powl
74811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74812 echo "$as_me:$LINENO: checking for $ac_func" >&5
74813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74814 if eval "test \"\${$as_ac_var+set}\" = set"; then
74815 echo $ECHO_N "(cached) $ECHO_C" >&6
74816 else
74817 if test x$gcc_no_link = xyes; then
74818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74820 { (exit 1); exit 1; }; }
74822 cat >conftest.$ac_ext <<_ACEOF
74823 /* confdefs.h. */
74824 _ACEOF
74825 cat confdefs.h >>conftest.$ac_ext
74826 cat >>conftest.$ac_ext <<_ACEOF
74827 /* end confdefs.h. */
74828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74830 #define $ac_func innocuous_$ac_func
74832 /* System header to define __stub macros and hopefully few prototypes,
74833 which can conflict with char $ac_func (); below.
74834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74835 <limits.h> exists even on freestanding compilers. */
74837 #ifdef __STDC__
74838 # include <limits.h>
74839 #else
74840 # include <assert.h>
74841 #endif
74843 #undef $ac_func
74845 /* Override any gcc2 internal prototype to avoid an error. */
74846 #ifdef __cplusplus
74847 extern "C"
74849 #endif
74850 /* We use char because int might match the return type of a gcc2
74851 builtin and then its argument prototype would still apply. */
74852 char $ac_func ();
74853 /* The GNU C library defines this for functions which it implements
74854 to always fail with ENOSYS. Some functions are actually named
74855 something starting with __ and the normal name is an alias. */
74856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74857 choke me
74858 #else
74859 char (*f) () = $ac_func;
74860 #endif
74861 #ifdef __cplusplus
74863 #endif
74866 main ()
74868 return f != $ac_func;
74870 return 0;
74872 _ACEOF
74873 rm -f conftest.$ac_objext conftest$ac_exeext
74874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74875 (eval $ac_link) 2>conftest.er1
74876 ac_status=$?
74877 grep -v '^ *+' conftest.er1 >conftest.err
74878 rm -f conftest.er1
74879 cat conftest.err >&5
74880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74881 (exit $ac_status); } &&
74882 { ac_try='test -z "$ac_c_werror_flag"
74883 || test ! -s conftest.err'
74884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74885 (eval $ac_try) 2>&5
74886 ac_status=$?
74887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74888 (exit $ac_status); }; } &&
74889 { ac_try='test -s conftest$ac_exeext'
74890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74891 (eval $ac_try) 2>&5
74892 ac_status=$?
74893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74894 (exit $ac_status); }; }; then
74895 eval "$as_ac_var=yes"
74896 else
74897 echo "$as_me: failed program was:" >&5
74898 sed 's/^/| /' conftest.$ac_ext >&5
74900 eval "$as_ac_var=no"
74902 rm -f conftest.err conftest.$ac_objext \
74903 conftest$ac_exeext conftest.$ac_ext
74905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74907 if test `eval echo '${'$as_ac_var'}'` = yes; then
74908 cat >>confdefs.h <<_ACEOF
74909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74910 _ACEOF
74913 done
74923 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
74924 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
74925 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
74926 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
74927 echo $ECHO_N "(cached) $ECHO_C" >&6
74928 else
74932 ac_ext=cc
74933 ac_cpp='$CXXCPP $CPPFLAGS'
74934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74938 cat >conftest.$ac_ext <<_ACEOF
74939 /* confdefs.h. */
74940 _ACEOF
74941 cat confdefs.h >>conftest.$ac_ext
74942 cat >>conftest.$ac_ext <<_ACEOF
74943 /* end confdefs.h. */
74944 #include <math.h>
74945 #ifdef HAVE_IEEEFP_H
74946 #include <ieeefp.h>
74947 #endif
74950 main ()
74952 sqrtl(0);
74954 return 0;
74956 _ACEOF
74957 rm -f conftest.$ac_objext
74958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74959 (eval $ac_compile) 2>conftest.er1
74960 ac_status=$?
74961 grep -v '^ *+' conftest.er1 >conftest.err
74962 rm -f conftest.er1
74963 cat conftest.err >&5
74964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74965 (exit $ac_status); } &&
74966 { ac_try='test -z "$ac_cxx_werror_flag"
74967 || test ! -s conftest.err'
74968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74969 (eval $ac_try) 2>&5
74970 ac_status=$?
74971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74972 (exit $ac_status); }; } &&
74973 { ac_try='test -s conftest.$ac_objext'
74974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74975 (eval $ac_try) 2>&5
74976 ac_status=$?
74977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74978 (exit $ac_status); }; }; then
74979 glibcxx_cv_func_sqrtl_use=yes
74980 else
74981 echo "$as_me: failed program was:" >&5
74982 sed 's/^/| /' conftest.$ac_ext >&5
74984 glibcxx_cv_func_sqrtl_use=no
74986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74987 ac_ext=c
74988 ac_cpp='$CPP $CPPFLAGS'
74989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74997 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
74998 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
75000 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
75002 for ac_func in sqrtl
75004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75005 echo "$as_me:$LINENO: checking for $ac_func" >&5
75006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75007 if eval "test \"\${$as_ac_var+set}\" = set"; then
75008 echo $ECHO_N "(cached) $ECHO_C" >&6
75009 else
75010 if test x$gcc_no_link = xyes; then
75011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75013 { (exit 1); exit 1; }; }
75015 cat >conftest.$ac_ext <<_ACEOF
75016 /* confdefs.h. */
75017 _ACEOF
75018 cat confdefs.h >>conftest.$ac_ext
75019 cat >>conftest.$ac_ext <<_ACEOF
75020 /* end confdefs.h. */
75021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75023 #define $ac_func innocuous_$ac_func
75025 /* System header to define __stub macros and hopefully few prototypes,
75026 which can conflict with char $ac_func (); below.
75027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75028 <limits.h> exists even on freestanding compilers. */
75030 #ifdef __STDC__
75031 # include <limits.h>
75032 #else
75033 # include <assert.h>
75034 #endif
75036 #undef $ac_func
75038 /* Override any gcc2 internal prototype to avoid an error. */
75039 #ifdef __cplusplus
75040 extern "C"
75042 #endif
75043 /* We use char because int might match the return type of a gcc2
75044 builtin and then its argument prototype would still apply. */
75045 char $ac_func ();
75046 /* The GNU C library defines this for functions which it implements
75047 to always fail with ENOSYS. Some functions are actually named
75048 something starting with __ and the normal name is an alias. */
75049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75050 choke me
75051 #else
75052 char (*f) () = $ac_func;
75053 #endif
75054 #ifdef __cplusplus
75056 #endif
75059 main ()
75061 return f != $ac_func;
75063 return 0;
75065 _ACEOF
75066 rm -f conftest.$ac_objext conftest$ac_exeext
75067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75068 (eval $ac_link) 2>conftest.er1
75069 ac_status=$?
75070 grep -v '^ *+' conftest.er1 >conftest.err
75071 rm -f conftest.er1
75072 cat conftest.err >&5
75073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75074 (exit $ac_status); } &&
75075 { ac_try='test -z "$ac_c_werror_flag"
75076 || test ! -s conftest.err'
75077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75078 (eval $ac_try) 2>&5
75079 ac_status=$?
75080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75081 (exit $ac_status); }; } &&
75082 { ac_try='test -s conftest$ac_exeext'
75083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75084 (eval $ac_try) 2>&5
75085 ac_status=$?
75086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75087 (exit $ac_status); }; }; then
75088 eval "$as_ac_var=yes"
75089 else
75090 echo "$as_me: failed program was:" >&5
75091 sed 's/^/| /' conftest.$ac_ext >&5
75093 eval "$as_ac_var=no"
75095 rm -f conftest.err conftest.$ac_objext \
75096 conftest$ac_exeext conftest.$ac_ext
75098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75100 if test `eval echo '${'$as_ac_var'}'` = yes; then
75101 cat >>confdefs.h <<_ACEOF
75102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75103 _ACEOF
75106 done
75108 else
75110 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
75111 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
75112 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
75113 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
75114 echo $ECHO_N "(cached) $ECHO_C" >&6
75115 else
75119 ac_ext=cc
75120 ac_cpp='$CXXCPP $CPPFLAGS'
75121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75125 cat >conftest.$ac_ext <<_ACEOF
75126 /* confdefs.h. */
75127 _ACEOF
75128 cat confdefs.h >>conftest.$ac_ext
75129 cat >>conftest.$ac_ext <<_ACEOF
75130 /* end confdefs.h. */
75131 #include <math.h>
75132 #ifdef HAVE_IEEEFP_H
75133 #include <ieeefp.h>
75134 #endif
75137 main ()
75139 _sqrtl(0);
75141 return 0;
75143 _ACEOF
75144 rm -f conftest.$ac_objext
75145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75146 (eval $ac_compile) 2>conftest.er1
75147 ac_status=$?
75148 grep -v '^ *+' conftest.er1 >conftest.err
75149 rm -f conftest.er1
75150 cat conftest.err >&5
75151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75152 (exit $ac_status); } &&
75153 { ac_try='test -z "$ac_cxx_werror_flag"
75154 || test ! -s conftest.err'
75155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75156 (eval $ac_try) 2>&5
75157 ac_status=$?
75158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75159 (exit $ac_status); }; } &&
75160 { ac_try='test -s conftest.$ac_objext'
75161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75162 (eval $ac_try) 2>&5
75163 ac_status=$?
75164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75165 (exit $ac_status); }; }; then
75166 glibcxx_cv_func__sqrtl_use=yes
75167 else
75168 echo "$as_me: failed program was:" >&5
75169 sed 's/^/| /' conftest.$ac_ext >&5
75171 glibcxx_cv_func__sqrtl_use=no
75173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75174 ac_ext=c
75175 ac_cpp='$CPP $CPPFLAGS'
75176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75184 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
75185 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
75187 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
75189 for ac_func in _sqrtl
75191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75192 echo "$as_me:$LINENO: checking for $ac_func" >&5
75193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75194 if eval "test \"\${$as_ac_var+set}\" = set"; then
75195 echo $ECHO_N "(cached) $ECHO_C" >&6
75196 else
75197 if test x$gcc_no_link = xyes; then
75198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75200 { (exit 1); exit 1; }; }
75202 cat >conftest.$ac_ext <<_ACEOF
75203 /* confdefs.h. */
75204 _ACEOF
75205 cat confdefs.h >>conftest.$ac_ext
75206 cat >>conftest.$ac_ext <<_ACEOF
75207 /* end confdefs.h. */
75208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75210 #define $ac_func innocuous_$ac_func
75212 /* System header to define __stub macros and hopefully few prototypes,
75213 which can conflict with char $ac_func (); below.
75214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75215 <limits.h> exists even on freestanding compilers. */
75217 #ifdef __STDC__
75218 # include <limits.h>
75219 #else
75220 # include <assert.h>
75221 #endif
75223 #undef $ac_func
75225 /* Override any gcc2 internal prototype to avoid an error. */
75226 #ifdef __cplusplus
75227 extern "C"
75229 #endif
75230 /* We use char because int might match the return type of a gcc2
75231 builtin and then its argument prototype would still apply. */
75232 char $ac_func ();
75233 /* The GNU C library defines this for functions which it implements
75234 to always fail with ENOSYS. Some functions are actually named
75235 something starting with __ and the normal name is an alias. */
75236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75237 choke me
75238 #else
75239 char (*f) () = $ac_func;
75240 #endif
75241 #ifdef __cplusplus
75243 #endif
75246 main ()
75248 return f != $ac_func;
75250 return 0;
75252 _ACEOF
75253 rm -f conftest.$ac_objext conftest$ac_exeext
75254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75255 (eval $ac_link) 2>conftest.er1
75256 ac_status=$?
75257 grep -v '^ *+' conftest.er1 >conftest.err
75258 rm -f conftest.er1
75259 cat conftest.err >&5
75260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75261 (exit $ac_status); } &&
75262 { ac_try='test -z "$ac_c_werror_flag"
75263 || test ! -s conftest.err'
75264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75265 (eval $ac_try) 2>&5
75266 ac_status=$?
75267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75268 (exit $ac_status); }; } &&
75269 { ac_try='test -s conftest$ac_exeext'
75270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75271 (eval $ac_try) 2>&5
75272 ac_status=$?
75273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75274 (exit $ac_status); }; }; then
75275 eval "$as_ac_var=yes"
75276 else
75277 echo "$as_me: failed program was:" >&5
75278 sed 's/^/| /' conftest.$ac_ext >&5
75280 eval "$as_ac_var=no"
75282 rm -f conftest.err conftest.$ac_objext \
75283 conftest$ac_exeext conftest.$ac_ext
75285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75287 if test `eval echo '${'$as_ac_var'}'` = yes; then
75288 cat >>confdefs.h <<_ACEOF
75289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75290 _ACEOF
75293 done
75303 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
75304 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
75305 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
75306 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
75307 echo $ECHO_N "(cached) $ECHO_C" >&6
75308 else
75312 ac_ext=cc
75313 ac_cpp='$CXXCPP $CPPFLAGS'
75314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75318 cat >conftest.$ac_ext <<_ACEOF
75319 /* confdefs.h. */
75320 _ACEOF
75321 cat confdefs.h >>conftest.$ac_ext
75322 cat >>conftest.$ac_ext <<_ACEOF
75323 /* end confdefs.h. */
75324 #include <math.h>
75326 main ()
75328 sincosl(0, 0, 0);
75330 return 0;
75332 _ACEOF
75333 rm -f conftest.$ac_objext
75334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75335 (eval $ac_compile) 2>conftest.er1
75336 ac_status=$?
75337 grep -v '^ *+' conftest.er1 >conftest.err
75338 rm -f conftest.er1
75339 cat conftest.err >&5
75340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75341 (exit $ac_status); } &&
75342 { ac_try='test -z "$ac_cxx_werror_flag"
75343 || test ! -s conftest.err'
75344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75345 (eval $ac_try) 2>&5
75346 ac_status=$?
75347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75348 (exit $ac_status); }; } &&
75349 { ac_try='test -s conftest.$ac_objext'
75350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75351 (eval $ac_try) 2>&5
75352 ac_status=$?
75353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75354 (exit $ac_status); }; }; then
75355 glibcxx_cv_func_sincosl_use=yes
75356 else
75357 echo "$as_me: failed program was:" >&5
75358 sed 's/^/| /' conftest.$ac_ext >&5
75360 glibcxx_cv_func_sincosl_use=no
75362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75363 ac_ext=c
75364 ac_cpp='$CPP $CPPFLAGS'
75365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75373 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
75374 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
75376 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
75378 for ac_func in sincosl
75380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75381 echo "$as_me:$LINENO: checking for $ac_func" >&5
75382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75383 if eval "test \"\${$as_ac_var+set}\" = set"; then
75384 echo $ECHO_N "(cached) $ECHO_C" >&6
75385 else
75386 if test x$gcc_no_link = xyes; then
75387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75389 { (exit 1); exit 1; }; }
75391 cat >conftest.$ac_ext <<_ACEOF
75392 /* confdefs.h. */
75393 _ACEOF
75394 cat confdefs.h >>conftest.$ac_ext
75395 cat >>conftest.$ac_ext <<_ACEOF
75396 /* end confdefs.h. */
75397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75399 #define $ac_func innocuous_$ac_func
75401 /* System header to define __stub macros and hopefully few prototypes,
75402 which can conflict with char $ac_func (); below.
75403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75404 <limits.h> exists even on freestanding compilers. */
75406 #ifdef __STDC__
75407 # include <limits.h>
75408 #else
75409 # include <assert.h>
75410 #endif
75412 #undef $ac_func
75414 /* Override any gcc2 internal prototype to avoid an error. */
75415 #ifdef __cplusplus
75416 extern "C"
75418 #endif
75419 /* We use char because int might match the return type of a gcc2
75420 builtin and then its argument prototype would still apply. */
75421 char $ac_func ();
75422 /* The GNU C library defines this for functions which it implements
75423 to always fail with ENOSYS. Some functions are actually named
75424 something starting with __ and the normal name is an alias. */
75425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75426 choke me
75427 #else
75428 char (*f) () = $ac_func;
75429 #endif
75430 #ifdef __cplusplus
75432 #endif
75435 main ()
75437 return f != $ac_func;
75439 return 0;
75441 _ACEOF
75442 rm -f conftest.$ac_objext conftest$ac_exeext
75443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75444 (eval $ac_link) 2>conftest.er1
75445 ac_status=$?
75446 grep -v '^ *+' conftest.er1 >conftest.err
75447 rm -f conftest.er1
75448 cat conftest.err >&5
75449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75450 (exit $ac_status); } &&
75451 { ac_try='test -z "$ac_c_werror_flag"
75452 || test ! -s conftest.err'
75453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75454 (eval $ac_try) 2>&5
75455 ac_status=$?
75456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75457 (exit $ac_status); }; } &&
75458 { ac_try='test -s conftest$ac_exeext'
75459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75460 (eval $ac_try) 2>&5
75461 ac_status=$?
75462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75463 (exit $ac_status); }; }; then
75464 eval "$as_ac_var=yes"
75465 else
75466 echo "$as_me: failed program was:" >&5
75467 sed 's/^/| /' conftest.$ac_ext >&5
75469 eval "$as_ac_var=no"
75471 rm -f conftest.err conftest.$ac_objext \
75472 conftest$ac_exeext conftest.$ac_ext
75474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75476 if test `eval echo '${'$as_ac_var'}'` = yes; then
75477 cat >>confdefs.h <<_ACEOF
75478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75479 _ACEOF
75482 done
75484 else
75486 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
75487 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
75488 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
75489 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
75490 echo $ECHO_N "(cached) $ECHO_C" >&6
75491 else
75495 ac_ext=cc
75496 ac_cpp='$CXXCPP $CPPFLAGS'
75497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75501 cat >conftest.$ac_ext <<_ACEOF
75502 /* confdefs.h. */
75503 _ACEOF
75504 cat confdefs.h >>conftest.$ac_ext
75505 cat >>conftest.$ac_ext <<_ACEOF
75506 /* end confdefs.h. */
75507 #include <math.h>
75509 main ()
75511 _sincosl(0, 0, 0);
75513 return 0;
75515 _ACEOF
75516 rm -f conftest.$ac_objext
75517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75518 (eval $ac_compile) 2>conftest.er1
75519 ac_status=$?
75520 grep -v '^ *+' conftest.er1 >conftest.err
75521 rm -f conftest.er1
75522 cat conftest.err >&5
75523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75524 (exit $ac_status); } &&
75525 { ac_try='test -z "$ac_cxx_werror_flag"
75526 || test ! -s conftest.err'
75527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75528 (eval $ac_try) 2>&5
75529 ac_status=$?
75530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75531 (exit $ac_status); }; } &&
75532 { ac_try='test -s conftest.$ac_objext'
75533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75534 (eval $ac_try) 2>&5
75535 ac_status=$?
75536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75537 (exit $ac_status); }; }; then
75538 glibcxx_cv_func__sincosl_use=yes
75539 else
75540 echo "$as_me: failed program was:" >&5
75541 sed 's/^/| /' conftest.$ac_ext >&5
75543 glibcxx_cv_func__sincosl_use=no
75545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75546 ac_ext=c
75547 ac_cpp='$CPP $CPPFLAGS'
75548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75556 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
75557 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
75559 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
75561 for ac_func in _sincosl
75563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75564 echo "$as_me:$LINENO: checking for $ac_func" >&5
75565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75566 if eval "test \"\${$as_ac_var+set}\" = set"; then
75567 echo $ECHO_N "(cached) $ECHO_C" >&6
75568 else
75569 if test x$gcc_no_link = xyes; then
75570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75572 { (exit 1); exit 1; }; }
75574 cat >conftest.$ac_ext <<_ACEOF
75575 /* confdefs.h. */
75576 _ACEOF
75577 cat confdefs.h >>conftest.$ac_ext
75578 cat >>conftest.$ac_ext <<_ACEOF
75579 /* end confdefs.h. */
75580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75582 #define $ac_func innocuous_$ac_func
75584 /* System header to define __stub macros and hopefully few prototypes,
75585 which can conflict with char $ac_func (); below.
75586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75587 <limits.h> exists even on freestanding compilers. */
75589 #ifdef __STDC__
75590 # include <limits.h>
75591 #else
75592 # include <assert.h>
75593 #endif
75595 #undef $ac_func
75597 /* Override any gcc2 internal prototype to avoid an error. */
75598 #ifdef __cplusplus
75599 extern "C"
75601 #endif
75602 /* We use char because int might match the return type of a gcc2
75603 builtin and then its argument prototype would still apply. */
75604 char $ac_func ();
75605 /* The GNU C library defines this for functions which it implements
75606 to always fail with ENOSYS. Some functions are actually named
75607 something starting with __ and the normal name is an alias. */
75608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75609 choke me
75610 #else
75611 char (*f) () = $ac_func;
75612 #endif
75613 #ifdef __cplusplus
75615 #endif
75618 main ()
75620 return f != $ac_func;
75622 return 0;
75624 _ACEOF
75625 rm -f conftest.$ac_objext conftest$ac_exeext
75626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75627 (eval $ac_link) 2>conftest.er1
75628 ac_status=$?
75629 grep -v '^ *+' conftest.er1 >conftest.err
75630 rm -f conftest.er1
75631 cat conftest.err >&5
75632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75633 (exit $ac_status); } &&
75634 { ac_try='test -z "$ac_c_werror_flag"
75635 || test ! -s conftest.err'
75636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75637 (eval $ac_try) 2>&5
75638 ac_status=$?
75639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75640 (exit $ac_status); }; } &&
75641 { ac_try='test -s conftest$ac_exeext'
75642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75643 (eval $ac_try) 2>&5
75644 ac_status=$?
75645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75646 (exit $ac_status); }; }; then
75647 eval "$as_ac_var=yes"
75648 else
75649 echo "$as_me: failed program was:" >&5
75650 sed 's/^/| /' conftest.$ac_ext >&5
75652 eval "$as_ac_var=no"
75654 rm -f conftest.err conftest.$ac_objext \
75655 conftest$ac_exeext conftest.$ac_ext
75657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75659 if test `eval echo '${'$as_ac_var'}'` = yes; then
75660 cat >>confdefs.h <<_ACEOF
75661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75662 _ACEOF
75665 done
75675 echo "$as_me:$LINENO: checking for finitel declaration" >&5
75676 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
75677 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
75678 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
75679 echo $ECHO_N "(cached) $ECHO_C" >&6
75680 else
75684 ac_ext=cc
75685 ac_cpp='$CXXCPP $CPPFLAGS'
75686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75690 cat >conftest.$ac_ext <<_ACEOF
75691 /* confdefs.h. */
75692 _ACEOF
75693 cat confdefs.h >>conftest.$ac_ext
75694 cat >>conftest.$ac_ext <<_ACEOF
75695 /* end confdefs.h. */
75696 #include <math.h>
75697 #ifdef HAVE_IEEEFP_H
75698 #include <ieeefp.h>
75699 #endif
75702 main ()
75704 finitel(0);
75706 return 0;
75708 _ACEOF
75709 rm -f conftest.$ac_objext
75710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75711 (eval $ac_compile) 2>conftest.er1
75712 ac_status=$?
75713 grep -v '^ *+' conftest.er1 >conftest.err
75714 rm -f conftest.er1
75715 cat conftest.err >&5
75716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75717 (exit $ac_status); } &&
75718 { ac_try='test -z "$ac_cxx_werror_flag"
75719 || test ! -s conftest.err'
75720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75721 (eval $ac_try) 2>&5
75722 ac_status=$?
75723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75724 (exit $ac_status); }; } &&
75725 { ac_try='test -s conftest.$ac_objext'
75726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75727 (eval $ac_try) 2>&5
75728 ac_status=$?
75729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75730 (exit $ac_status); }; }; then
75731 glibcxx_cv_func_finitel_use=yes
75732 else
75733 echo "$as_me: failed program was:" >&5
75734 sed 's/^/| /' conftest.$ac_ext >&5
75736 glibcxx_cv_func_finitel_use=no
75738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75739 ac_ext=c
75740 ac_cpp='$CPP $CPPFLAGS'
75741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75749 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
75750 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
75752 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
75754 for ac_func in finitel
75756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75757 echo "$as_me:$LINENO: checking for $ac_func" >&5
75758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75759 if eval "test \"\${$as_ac_var+set}\" = set"; then
75760 echo $ECHO_N "(cached) $ECHO_C" >&6
75761 else
75762 if test x$gcc_no_link = xyes; then
75763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75765 { (exit 1); exit 1; }; }
75767 cat >conftest.$ac_ext <<_ACEOF
75768 /* confdefs.h. */
75769 _ACEOF
75770 cat confdefs.h >>conftest.$ac_ext
75771 cat >>conftest.$ac_ext <<_ACEOF
75772 /* end confdefs.h. */
75773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75775 #define $ac_func innocuous_$ac_func
75777 /* System header to define __stub macros and hopefully few prototypes,
75778 which can conflict with char $ac_func (); below.
75779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75780 <limits.h> exists even on freestanding compilers. */
75782 #ifdef __STDC__
75783 # include <limits.h>
75784 #else
75785 # include <assert.h>
75786 #endif
75788 #undef $ac_func
75790 /* Override any gcc2 internal prototype to avoid an error. */
75791 #ifdef __cplusplus
75792 extern "C"
75794 #endif
75795 /* We use char because int might match the return type of a gcc2
75796 builtin and then its argument prototype would still apply. */
75797 char $ac_func ();
75798 /* The GNU C library defines this for functions which it implements
75799 to always fail with ENOSYS. Some functions are actually named
75800 something starting with __ and the normal name is an alias. */
75801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75802 choke me
75803 #else
75804 char (*f) () = $ac_func;
75805 #endif
75806 #ifdef __cplusplus
75808 #endif
75811 main ()
75813 return f != $ac_func;
75815 return 0;
75817 _ACEOF
75818 rm -f conftest.$ac_objext conftest$ac_exeext
75819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75820 (eval $ac_link) 2>conftest.er1
75821 ac_status=$?
75822 grep -v '^ *+' conftest.er1 >conftest.err
75823 rm -f conftest.er1
75824 cat conftest.err >&5
75825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75826 (exit $ac_status); } &&
75827 { ac_try='test -z "$ac_c_werror_flag"
75828 || test ! -s conftest.err'
75829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75830 (eval $ac_try) 2>&5
75831 ac_status=$?
75832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75833 (exit $ac_status); }; } &&
75834 { ac_try='test -s conftest$ac_exeext'
75835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75836 (eval $ac_try) 2>&5
75837 ac_status=$?
75838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75839 (exit $ac_status); }; }; then
75840 eval "$as_ac_var=yes"
75841 else
75842 echo "$as_me: failed program was:" >&5
75843 sed 's/^/| /' conftest.$ac_ext >&5
75845 eval "$as_ac_var=no"
75847 rm -f conftest.err conftest.$ac_objext \
75848 conftest$ac_exeext conftest.$ac_ext
75850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75852 if test `eval echo '${'$as_ac_var'}'` = yes; then
75853 cat >>confdefs.h <<_ACEOF
75854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75855 _ACEOF
75858 done
75860 else
75862 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
75863 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
75864 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
75865 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
75866 echo $ECHO_N "(cached) $ECHO_C" >&6
75867 else
75871 ac_ext=cc
75872 ac_cpp='$CXXCPP $CPPFLAGS'
75873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75877 cat >conftest.$ac_ext <<_ACEOF
75878 /* confdefs.h. */
75879 _ACEOF
75880 cat confdefs.h >>conftest.$ac_ext
75881 cat >>conftest.$ac_ext <<_ACEOF
75882 /* end confdefs.h. */
75883 #include <math.h>
75884 #ifdef HAVE_IEEEFP_H
75885 #include <ieeefp.h>
75886 #endif
75889 main ()
75891 _finitel(0);
75893 return 0;
75895 _ACEOF
75896 rm -f conftest.$ac_objext
75897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75898 (eval $ac_compile) 2>conftest.er1
75899 ac_status=$?
75900 grep -v '^ *+' conftest.er1 >conftest.err
75901 rm -f conftest.er1
75902 cat conftest.err >&5
75903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75904 (exit $ac_status); } &&
75905 { ac_try='test -z "$ac_cxx_werror_flag"
75906 || test ! -s conftest.err'
75907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75908 (eval $ac_try) 2>&5
75909 ac_status=$?
75910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75911 (exit $ac_status); }; } &&
75912 { ac_try='test -s conftest.$ac_objext'
75913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75914 (eval $ac_try) 2>&5
75915 ac_status=$?
75916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75917 (exit $ac_status); }; }; then
75918 glibcxx_cv_func__finitel_use=yes
75919 else
75920 echo "$as_me: failed program was:" >&5
75921 sed 's/^/| /' conftest.$ac_ext >&5
75923 glibcxx_cv_func__finitel_use=no
75925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75926 ac_ext=c
75927 ac_cpp='$CPP $CPPFLAGS'
75928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75936 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
75937 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
75939 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
75941 for ac_func in _finitel
75943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75944 echo "$as_me:$LINENO: checking for $ac_func" >&5
75945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75946 if eval "test \"\${$as_ac_var+set}\" = set"; then
75947 echo $ECHO_N "(cached) $ECHO_C" >&6
75948 else
75949 if test x$gcc_no_link = xyes; then
75950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75952 { (exit 1); exit 1; }; }
75954 cat >conftest.$ac_ext <<_ACEOF
75955 /* confdefs.h. */
75956 _ACEOF
75957 cat confdefs.h >>conftest.$ac_ext
75958 cat >>conftest.$ac_ext <<_ACEOF
75959 /* end confdefs.h. */
75960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75962 #define $ac_func innocuous_$ac_func
75964 /* System header to define __stub macros and hopefully few prototypes,
75965 which can conflict with char $ac_func (); below.
75966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75967 <limits.h> exists even on freestanding compilers. */
75969 #ifdef __STDC__
75970 # include <limits.h>
75971 #else
75972 # include <assert.h>
75973 #endif
75975 #undef $ac_func
75977 /* Override any gcc2 internal prototype to avoid an error. */
75978 #ifdef __cplusplus
75979 extern "C"
75981 #endif
75982 /* We use char because int might match the return type of a gcc2
75983 builtin and then its argument prototype would still apply. */
75984 char $ac_func ();
75985 /* The GNU C library defines this for functions which it implements
75986 to always fail with ENOSYS. Some functions are actually named
75987 something starting with __ and the normal name is an alias. */
75988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75989 choke me
75990 #else
75991 char (*f) () = $ac_func;
75992 #endif
75993 #ifdef __cplusplus
75995 #endif
75998 main ()
76000 return f != $ac_func;
76002 return 0;
76004 _ACEOF
76005 rm -f conftest.$ac_objext conftest$ac_exeext
76006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76007 (eval $ac_link) 2>conftest.er1
76008 ac_status=$?
76009 grep -v '^ *+' conftest.er1 >conftest.err
76010 rm -f conftest.er1
76011 cat conftest.err >&5
76012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76013 (exit $ac_status); } &&
76014 { ac_try='test -z "$ac_c_werror_flag"
76015 || test ! -s conftest.err'
76016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76017 (eval $ac_try) 2>&5
76018 ac_status=$?
76019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76020 (exit $ac_status); }; } &&
76021 { ac_try='test -s conftest$ac_exeext'
76022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76023 (eval $ac_try) 2>&5
76024 ac_status=$?
76025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76026 (exit $ac_status); }; }; then
76027 eval "$as_ac_var=yes"
76028 else
76029 echo "$as_me: failed program was:" >&5
76030 sed 's/^/| /' conftest.$ac_ext >&5
76032 eval "$as_ac_var=no"
76034 rm -f conftest.err conftest.$ac_objext \
76035 conftest$ac_exeext conftest.$ac_ext
76037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76039 if test `eval echo '${'$as_ac_var'}'` = yes; then
76040 cat >>confdefs.h <<_ACEOF
76041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76042 _ACEOF
76045 done
76054 LIBS="$ac_save_LIBS"
76055 CXXFLAGS="$ac_save_CXXFLAGS"
76058 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76059 ac_save_CXXFLAGS="$CXXFLAGS"
76060 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76063 echo "$as_me:$LINENO: checking for strtold declaration" >&5
76064 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
76065 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76066 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
76067 echo $ECHO_N "(cached) $ECHO_C" >&6
76068 else
76072 ac_ext=cc
76073 ac_cpp='$CXXCPP $CPPFLAGS'
76074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76078 cat >conftest.$ac_ext <<_ACEOF
76079 /* confdefs.h. */
76080 _ACEOF
76081 cat confdefs.h >>conftest.$ac_ext
76082 cat >>conftest.$ac_ext <<_ACEOF
76083 /* end confdefs.h. */
76084 #include <stdlib.h>
76086 main ()
76088 strtold(0, 0);
76090 return 0;
76092 _ACEOF
76093 rm -f conftest.$ac_objext
76094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76095 (eval $ac_compile) 2>conftest.er1
76096 ac_status=$?
76097 grep -v '^ *+' conftest.er1 >conftest.err
76098 rm -f conftest.er1
76099 cat conftest.err >&5
76100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76101 (exit $ac_status); } &&
76102 { ac_try='test -z "$ac_cxx_werror_flag"
76103 || test ! -s conftest.err'
76104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76105 (eval $ac_try) 2>&5
76106 ac_status=$?
76107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76108 (exit $ac_status); }; } &&
76109 { ac_try='test -s conftest.$ac_objext'
76110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76111 (eval $ac_try) 2>&5
76112 ac_status=$?
76113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76114 (exit $ac_status); }; }; then
76115 glibcxx_cv_func_strtold_use=yes
76116 else
76117 echo "$as_me: failed program was:" >&5
76118 sed 's/^/| /' conftest.$ac_ext >&5
76120 glibcxx_cv_func_strtold_use=no
76122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76123 ac_ext=c
76124 ac_cpp='$CPP $CPPFLAGS'
76125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76133 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
76134 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
76135 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76137 for ac_func in strtold
76139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76140 echo "$as_me:$LINENO: checking for $ac_func" >&5
76141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76142 if eval "test \"\${$as_ac_var+set}\" = set"; then
76143 echo $ECHO_N "(cached) $ECHO_C" >&6
76144 else
76145 if test x$gcc_no_link = xyes; then
76146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76148 { (exit 1); exit 1; }; }
76150 cat >conftest.$ac_ext <<_ACEOF
76151 /* confdefs.h. */
76152 _ACEOF
76153 cat confdefs.h >>conftest.$ac_ext
76154 cat >>conftest.$ac_ext <<_ACEOF
76155 /* end confdefs.h. */
76156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76158 #define $ac_func innocuous_$ac_func
76160 /* System header to define __stub macros and hopefully few prototypes,
76161 which can conflict with char $ac_func (); below.
76162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76163 <limits.h> exists even on freestanding compilers. */
76165 #ifdef __STDC__
76166 # include <limits.h>
76167 #else
76168 # include <assert.h>
76169 #endif
76171 #undef $ac_func
76173 /* Override any gcc2 internal prototype to avoid an error. */
76174 #ifdef __cplusplus
76175 extern "C"
76177 #endif
76178 /* We use char because int might match the return type of a gcc2
76179 builtin and then its argument prototype would still apply. */
76180 char $ac_func ();
76181 /* The GNU C library defines this for functions which it implements
76182 to always fail with ENOSYS. Some functions are actually named
76183 something starting with __ and the normal name is an alias. */
76184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76185 choke me
76186 #else
76187 char (*f) () = $ac_func;
76188 #endif
76189 #ifdef __cplusplus
76191 #endif
76194 main ()
76196 return f != $ac_func;
76198 return 0;
76200 _ACEOF
76201 rm -f conftest.$ac_objext conftest$ac_exeext
76202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76203 (eval $ac_link) 2>conftest.er1
76204 ac_status=$?
76205 grep -v '^ *+' conftest.er1 >conftest.err
76206 rm -f conftest.er1
76207 cat conftest.err >&5
76208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76209 (exit $ac_status); } &&
76210 { ac_try='test -z "$ac_c_werror_flag"
76211 || test ! -s conftest.err'
76212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76213 (eval $ac_try) 2>&5
76214 ac_status=$?
76215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76216 (exit $ac_status); }; } &&
76217 { ac_try='test -s conftest$ac_exeext'
76218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76219 (eval $ac_try) 2>&5
76220 ac_status=$?
76221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76222 (exit $ac_status); }; }; then
76223 eval "$as_ac_var=yes"
76224 else
76225 echo "$as_me: failed program was:" >&5
76226 sed 's/^/| /' conftest.$ac_ext >&5
76228 eval "$as_ac_var=no"
76230 rm -f conftest.err conftest.$ac_objext \
76231 conftest$ac_exeext conftest.$ac_ext
76233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76235 if test `eval echo '${'$as_ac_var'}'` = yes; then
76236 cat >>confdefs.h <<_ACEOF
76237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76238 _ACEOF
76241 done
76249 echo "$as_me:$LINENO: checking for strtof declaration" >&5
76250 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
76251 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76252 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
76253 echo $ECHO_N "(cached) $ECHO_C" >&6
76254 else
76258 ac_ext=cc
76259 ac_cpp='$CXXCPP $CPPFLAGS'
76260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76264 cat >conftest.$ac_ext <<_ACEOF
76265 /* confdefs.h. */
76266 _ACEOF
76267 cat confdefs.h >>conftest.$ac_ext
76268 cat >>conftest.$ac_ext <<_ACEOF
76269 /* end confdefs.h. */
76270 #include <stdlib.h>
76272 main ()
76274 strtof(0, 0);
76276 return 0;
76278 _ACEOF
76279 rm -f conftest.$ac_objext
76280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76281 (eval $ac_compile) 2>conftest.er1
76282 ac_status=$?
76283 grep -v '^ *+' conftest.er1 >conftest.err
76284 rm -f conftest.er1
76285 cat conftest.err >&5
76286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76287 (exit $ac_status); } &&
76288 { ac_try='test -z "$ac_cxx_werror_flag"
76289 || test ! -s conftest.err'
76290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76291 (eval $ac_try) 2>&5
76292 ac_status=$?
76293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76294 (exit $ac_status); }; } &&
76295 { ac_try='test -s conftest.$ac_objext'
76296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76297 (eval $ac_try) 2>&5
76298 ac_status=$?
76299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76300 (exit $ac_status); }; }; then
76301 glibcxx_cv_func_strtof_use=yes
76302 else
76303 echo "$as_me: failed program was:" >&5
76304 sed 's/^/| /' conftest.$ac_ext >&5
76306 glibcxx_cv_func_strtof_use=no
76308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76309 ac_ext=c
76310 ac_cpp='$CPP $CPPFLAGS'
76311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76319 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
76320 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
76321 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
76323 for ac_func in strtof
76325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76326 echo "$as_me:$LINENO: checking for $ac_func" >&5
76327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76328 if eval "test \"\${$as_ac_var+set}\" = set"; then
76329 echo $ECHO_N "(cached) $ECHO_C" >&6
76330 else
76331 if test x$gcc_no_link = xyes; then
76332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76334 { (exit 1); exit 1; }; }
76336 cat >conftest.$ac_ext <<_ACEOF
76337 /* confdefs.h. */
76338 _ACEOF
76339 cat confdefs.h >>conftest.$ac_ext
76340 cat >>conftest.$ac_ext <<_ACEOF
76341 /* end confdefs.h. */
76342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76344 #define $ac_func innocuous_$ac_func
76346 /* System header to define __stub macros and hopefully few prototypes,
76347 which can conflict with char $ac_func (); below.
76348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76349 <limits.h> exists even on freestanding compilers. */
76351 #ifdef __STDC__
76352 # include <limits.h>
76353 #else
76354 # include <assert.h>
76355 #endif
76357 #undef $ac_func
76359 /* Override any gcc2 internal prototype to avoid an error. */
76360 #ifdef __cplusplus
76361 extern "C"
76363 #endif
76364 /* We use char because int might match the return type of a gcc2
76365 builtin and then its argument prototype would still apply. */
76366 char $ac_func ();
76367 /* The GNU C library defines this for functions which it implements
76368 to always fail with ENOSYS. Some functions are actually named
76369 something starting with __ and the normal name is an alias. */
76370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76371 choke me
76372 #else
76373 char (*f) () = $ac_func;
76374 #endif
76375 #ifdef __cplusplus
76377 #endif
76380 main ()
76382 return f != $ac_func;
76384 return 0;
76386 _ACEOF
76387 rm -f conftest.$ac_objext conftest$ac_exeext
76388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76389 (eval $ac_link) 2>conftest.er1
76390 ac_status=$?
76391 grep -v '^ *+' conftest.er1 >conftest.err
76392 rm -f conftest.er1
76393 cat conftest.err >&5
76394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76395 (exit $ac_status); } &&
76396 { ac_try='test -z "$ac_c_werror_flag"
76397 || test ! -s conftest.err'
76398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76399 (eval $ac_try) 2>&5
76400 ac_status=$?
76401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76402 (exit $ac_status); }; } &&
76403 { ac_try='test -s conftest$ac_exeext'
76404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76405 (eval $ac_try) 2>&5
76406 ac_status=$?
76407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76408 (exit $ac_status); }; }; then
76409 eval "$as_ac_var=yes"
76410 else
76411 echo "$as_me: failed program was:" >&5
76412 sed 's/^/| /' conftest.$ac_ext >&5
76414 eval "$as_ac_var=no"
76416 rm -f conftest.err conftest.$ac_objext \
76417 conftest$ac_exeext conftest.$ac_ext
76419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76421 if test `eval echo '${'$as_ac_var'}'` = yes; then
76422 cat >>confdefs.h <<_ACEOF
76423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76424 _ACEOF
76427 done
76435 CXXFLAGS="$ac_save_CXXFLAGS"
76437 cat >>confdefs.h <<\_ACEOF
76438 #define _GLIBCXX_USE_RANDOM_TR1 1
76439 _ACEOF
76441 # We don't yet support AIX's TLS ABI.
76442 #GCC_CHECK_TLS
76448 am_save_CPPFLAGS="$CPPFLAGS"
76450 for element in $INCICONV; do
76451 haveit=
76452 for x in $CPPFLAGS; do
76454 acl_save_prefix="$prefix"
76455 prefix="$acl_final_prefix"
76456 acl_save_exec_prefix="$exec_prefix"
76457 exec_prefix="$acl_final_exec_prefix"
76458 eval x=\"$x\"
76459 exec_prefix="$acl_save_exec_prefix"
76460 prefix="$acl_save_prefix"
76462 if test "X$x" = "X$element"; then
76463 haveit=yes
76464 break
76466 done
76467 if test -z "$haveit"; then
76468 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
76470 done
76473 echo "$as_me:$LINENO: checking for iconv" >&5
76474 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
76475 if test "${am_cv_func_iconv+set}" = set; then
76476 echo $ECHO_N "(cached) $ECHO_C" >&6
76477 else
76479 am_cv_func_iconv="no, consider installing GNU libiconv"
76480 am_cv_lib_iconv=no
76481 if test x$gcc_no_link = xyes; then
76482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76484 { (exit 1); exit 1; }; }
76486 cat >conftest.$ac_ext <<_ACEOF
76487 /* confdefs.h. */
76488 _ACEOF
76489 cat confdefs.h >>conftest.$ac_ext
76490 cat >>conftest.$ac_ext <<_ACEOF
76491 /* end confdefs.h. */
76492 #include <stdlib.h>
76493 #include <iconv.h>
76495 main ()
76497 iconv_t cd = iconv_open("","");
76498 iconv(cd,NULL,NULL,NULL,NULL);
76499 iconv_close(cd);
76501 return 0;
76503 _ACEOF
76504 rm -f conftest.$ac_objext conftest$ac_exeext
76505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76506 (eval $ac_link) 2>conftest.er1
76507 ac_status=$?
76508 grep -v '^ *+' conftest.er1 >conftest.err
76509 rm -f conftest.er1
76510 cat conftest.err >&5
76511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76512 (exit $ac_status); } &&
76513 { ac_try='test -z "$ac_c_werror_flag"
76514 || test ! -s conftest.err'
76515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76516 (eval $ac_try) 2>&5
76517 ac_status=$?
76518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76519 (exit $ac_status); }; } &&
76520 { ac_try='test -s conftest$ac_exeext'
76521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76522 (eval $ac_try) 2>&5
76523 ac_status=$?
76524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76525 (exit $ac_status); }; }; then
76526 am_cv_func_iconv=yes
76527 else
76528 echo "$as_me: failed program was:" >&5
76529 sed 's/^/| /' conftest.$ac_ext >&5
76532 rm -f conftest.err conftest.$ac_objext \
76533 conftest$ac_exeext conftest.$ac_ext
76534 if test "$am_cv_func_iconv" != yes; then
76535 am_save_LIBS="$LIBS"
76536 LIBS="$LIBS $LIBICONV"
76537 if test x$gcc_no_link = xyes; then
76538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76540 { (exit 1); exit 1; }; }
76542 cat >conftest.$ac_ext <<_ACEOF
76543 /* confdefs.h. */
76544 _ACEOF
76545 cat confdefs.h >>conftest.$ac_ext
76546 cat >>conftest.$ac_ext <<_ACEOF
76547 /* end confdefs.h. */
76548 #include <stdlib.h>
76549 #include <iconv.h>
76551 main ()
76553 iconv_t cd = iconv_open("","");
76554 iconv(cd,NULL,NULL,NULL,NULL);
76555 iconv_close(cd);
76557 return 0;
76559 _ACEOF
76560 rm -f conftest.$ac_objext conftest$ac_exeext
76561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76562 (eval $ac_link) 2>conftest.er1
76563 ac_status=$?
76564 grep -v '^ *+' conftest.er1 >conftest.err
76565 rm -f conftest.er1
76566 cat conftest.err >&5
76567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76568 (exit $ac_status); } &&
76569 { ac_try='test -z "$ac_c_werror_flag"
76570 || test ! -s conftest.err'
76571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76572 (eval $ac_try) 2>&5
76573 ac_status=$?
76574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76575 (exit $ac_status); }; } &&
76576 { ac_try='test -s conftest$ac_exeext'
76577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76578 (eval $ac_try) 2>&5
76579 ac_status=$?
76580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76581 (exit $ac_status); }; }; then
76582 am_cv_lib_iconv=yes
76583 am_cv_func_iconv=yes
76584 else
76585 echo "$as_me: failed program was:" >&5
76586 sed 's/^/| /' conftest.$ac_ext >&5
76589 rm -f conftest.err conftest.$ac_objext \
76590 conftest$ac_exeext conftest.$ac_ext
76591 LIBS="$am_save_LIBS"
76595 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
76596 echo "${ECHO_T}$am_cv_func_iconv" >&6
76597 if test "$am_cv_func_iconv" = yes; then
76599 cat >>confdefs.h <<\_ACEOF
76600 #define HAVE_ICONV 1
76601 _ACEOF
76604 if test "$am_cv_lib_iconv" = yes; then
76605 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
76606 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
76607 echo "$as_me:$LINENO: result: $LIBICONV" >&5
76608 echo "${ECHO_T}$LIBICONV" >&6
76609 else
76610 CPPFLAGS="$am_save_CPPFLAGS"
76611 LIBICONV=
76612 LTLIBICONV=
76617 if test "$am_cv_func_iconv" = yes; then
76618 echo "$as_me:$LINENO: checking for iconv declaration" >&5
76619 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
76620 if test "${am_cv_proto_iconv+set}" = set; then
76621 echo $ECHO_N "(cached) $ECHO_C" >&6
76622 else
76624 cat >conftest.$ac_ext <<_ACEOF
76625 /* confdefs.h. */
76626 _ACEOF
76627 cat confdefs.h >>conftest.$ac_ext
76628 cat >>conftest.$ac_ext <<_ACEOF
76629 /* end confdefs.h. */
76631 #include <stdlib.h>
76632 #include <iconv.h>
76633 extern
76634 #ifdef __cplusplus
76636 #endif
76637 #if defined(__STDC__) || defined(__cplusplus)
76638 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
76639 #else
76640 size_t iconv();
76641 #endif
76644 main ()
76648 return 0;
76650 _ACEOF
76651 rm -f conftest.$ac_objext
76652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76653 (eval $ac_compile) 2>conftest.er1
76654 ac_status=$?
76655 grep -v '^ *+' conftest.er1 >conftest.err
76656 rm -f conftest.er1
76657 cat conftest.err >&5
76658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76659 (exit $ac_status); } &&
76660 { ac_try='test -z "$ac_c_werror_flag"
76661 || test ! -s conftest.err'
76662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76663 (eval $ac_try) 2>&5
76664 ac_status=$?
76665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76666 (exit $ac_status); }; } &&
76667 { ac_try='test -s conftest.$ac_objext'
76668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76669 (eval $ac_try) 2>&5
76670 ac_status=$?
76671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76672 (exit $ac_status); }; }; then
76673 am_cv_proto_iconv_arg1=""
76674 else
76675 echo "$as_me: failed program was:" >&5
76676 sed 's/^/| /' conftest.$ac_ext >&5
76678 am_cv_proto_iconv_arg1="const"
76680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76681 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);"
76684 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
76685 echo "$as_me:$LINENO: result: ${ac_t:-
76686 }$am_cv_proto_iconv" >&5
76687 echo "${ECHO_T}${ac_t:-
76688 }$am_cv_proto_iconv" >&6
76690 cat >>confdefs.h <<_ACEOF
76691 #define ICONV_CONST $am_cv_proto_iconv_arg1
76692 _ACEOF
76698 *-darwin*)
76699 # Darwin versions vary, but the linker should work in a cross environment,
76700 # so we just check for all the features here.
76701 # Check for available headers.
76703 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
76705 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76706 ac_save_CXXFLAGS="$CXXFLAGS"
76707 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76709 echo "$as_me:$LINENO: checking for sin in -lm" >&5
76710 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
76711 if test "${ac_cv_lib_m_sin+set}" = set; then
76712 echo $ECHO_N "(cached) $ECHO_C" >&6
76713 else
76714 ac_check_lib_save_LIBS=$LIBS
76715 LIBS="-lm $LIBS"
76716 if test x$gcc_no_link = xyes; then
76717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76719 { (exit 1); exit 1; }; }
76721 cat >conftest.$ac_ext <<_ACEOF
76722 /* confdefs.h. */
76723 _ACEOF
76724 cat confdefs.h >>conftest.$ac_ext
76725 cat >>conftest.$ac_ext <<_ACEOF
76726 /* end confdefs.h. */
76728 /* Override any gcc2 internal prototype to avoid an error. */
76729 #ifdef __cplusplus
76730 extern "C"
76731 #endif
76732 /* We use char because int might match the return type of a gcc2
76733 builtin and then its argument prototype would still apply. */
76734 char sin ();
76736 main ()
76738 sin ();
76740 return 0;
76742 _ACEOF
76743 rm -f conftest.$ac_objext conftest$ac_exeext
76744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76745 (eval $ac_link) 2>conftest.er1
76746 ac_status=$?
76747 grep -v '^ *+' conftest.er1 >conftest.err
76748 rm -f conftest.er1
76749 cat conftest.err >&5
76750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76751 (exit $ac_status); } &&
76752 { ac_try='test -z "$ac_c_werror_flag"
76753 || test ! -s conftest.err'
76754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76755 (eval $ac_try) 2>&5
76756 ac_status=$?
76757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76758 (exit $ac_status); }; } &&
76759 { ac_try='test -s conftest$ac_exeext'
76760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76761 (eval $ac_try) 2>&5
76762 ac_status=$?
76763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76764 (exit $ac_status); }; }; then
76765 ac_cv_lib_m_sin=yes
76766 else
76767 echo "$as_me: failed program was:" >&5
76768 sed 's/^/| /' conftest.$ac_ext >&5
76770 ac_cv_lib_m_sin=no
76772 rm -f conftest.err conftest.$ac_objext \
76773 conftest$ac_exeext conftest.$ac_ext
76774 LIBS=$ac_check_lib_save_LIBS
76776 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
76777 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
76778 if test $ac_cv_lib_m_sin = yes; then
76779 libm="-lm"
76782 ac_save_LIBS="$LIBS"
76783 LIBS="$LIBS $libm"
76787 echo "$as_me:$LINENO: checking for isinf declaration" >&5
76788 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
76789 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
76790 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
76791 echo $ECHO_N "(cached) $ECHO_C" >&6
76792 else
76796 ac_ext=cc
76797 ac_cpp='$CXXCPP $CPPFLAGS'
76798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76802 cat >conftest.$ac_ext <<_ACEOF
76803 /* confdefs.h. */
76804 _ACEOF
76805 cat confdefs.h >>conftest.$ac_ext
76806 cat >>conftest.$ac_ext <<_ACEOF
76807 /* end confdefs.h. */
76808 #include <math.h>
76809 #ifdef HAVE_IEEEFP_H
76810 #include <ieeefp.h>
76811 #endif
76814 main ()
76816 isinf(0);
76818 return 0;
76820 _ACEOF
76821 rm -f conftest.$ac_objext
76822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76823 (eval $ac_compile) 2>conftest.er1
76824 ac_status=$?
76825 grep -v '^ *+' conftest.er1 >conftest.err
76826 rm -f conftest.er1
76827 cat conftest.err >&5
76828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76829 (exit $ac_status); } &&
76830 { ac_try='test -z "$ac_cxx_werror_flag"
76831 || test ! -s conftest.err'
76832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76833 (eval $ac_try) 2>&5
76834 ac_status=$?
76835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76836 (exit $ac_status); }; } &&
76837 { ac_try='test -s conftest.$ac_objext'
76838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76839 (eval $ac_try) 2>&5
76840 ac_status=$?
76841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76842 (exit $ac_status); }; }; then
76843 glibcxx_cv_func_isinf_use=yes
76844 else
76845 echo "$as_me: failed program was:" >&5
76846 sed 's/^/| /' conftest.$ac_ext >&5
76848 glibcxx_cv_func_isinf_use=no
76850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76851 ac_ext=c
76852 ac_cpp='$CPP $CPPFLAGS'
76853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
76862 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
76864 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
76866 for ac_func in isinf
76868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76869 echo "$as_me:$LINENO: checking for $ac_func" >&5
76870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76871 if eval "test \"\${$as_ac_var+set}\" = set"; then
76872 echo $ECHO_N "(cached) $ECHO_C" >&6
76873 else
76874 if test x$gcc_no_link = xyes; then
76875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76877 { (exit 1); exit 1; }; }
76879 cat >conftest.$ac_ext <<_ACEOF
76880 /* confdefs.h. */
76881 _ACEOF
76882 cat confdefs.h >>conftest.$ac_ext
76883 cat >>conftest.$ac_ext <<_ACEOF
76884 /* end confdefs.h. */
76885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76887 #define $ac_func innocuous_$ac_func
76889 /* System header to define __stub macros and hopefully few prototypes,
76890 which can conflict with char $ac_func (); below.
76891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76892 <limits.h> exists even on freestanding compilers. */
76894 #ifdef __STDC__
76895 # include <limits.h>
76896 #else
76897 # include <assert.h>
76898 #endif
76900 #undef $ac_func
76902 /* Override any gcc2 internal prototype to avoid an error. */
76903 #ifdef __cplusplus
76904 extern "C"
76906 #endif
76907 /* We use char because int might match the return type of a gcc2
76908 builtin and then its argument prototype would still apply. */
76909 char $ac_func ();
76910 /* The GNU C library defines this for functions which it implements
76911 to always fail with ENOSYS. Some functions are actually named
76912 something starting with __ and the normal name is an alias. */
76913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76914 choke me
76915 #else
76916 char (*f) () = $ac_func;
76917 #endif
76918 #ifdef __cplusplus
76920 #endif
76923 main ()
76925 return f != $ac_func;
76927 return 0;
76929 _ACEOF
76930 rm -f conftest.$ac_objext conftest$ac_exeext
76931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76932 (eval $ac_link) 2>conftest.er1
76933 ac_status=$?
76934 grep -v '^ *+' conftest.er1 >conftest.err
76935 rm -f conftest.er1
76936 cat conftest.err >&5
76937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76938 (exit $ac_status); } &&
76939 { ac_try='test -z "$ac_c_werror_flag"
76940 || test ! -s conftest.err'
76941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76942 (eval $ac_try) 2>&5
76943 ac_status=$?
76944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76945 (exit $ac_status); }; } &&
76946 { ac_try='test -s conftest$ac_exeext'
76947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76948 (eval $ac_try) 2>&5
76949 ac_status=$?
76950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76951 (exit $ac_status); }; }; then
76952 eval "$as_ac_var=yes"
76953 else
76954 echo "$as_me: failed program was:" >&5
76955 sed 's/^/| /' conftest.$ac_ext >&5
76957 eval "$as_ac_var=no"
76959 rm -f conftest.err conftest.$ac_objext \
76960 conftest$ac_exeext conftest.$ac_ext
76962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76964 if test `eval echo '${'$as_ac_var'}'` = yes; then
76965 cat >>confdefs.h <<_ACEOF
76966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76967 _ACEOF
76970 done
76972 else
76974 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
76975 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
76976 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
76977 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
76978 echo $ECHO_N "(cached) $ECHO_C" >&6
76979 else
76983 ac_ext=cc
76984 ac_cpp='$CXXCPP $CPPFLAGS'
76985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76989 cat >conftest.$ac_ext <<_ACEOF
76990 /* confdefs.h. */
76991 _ACEOF
76992 cat confdefs.h >>conftest.$ac_ext
76993 cat >>conftest.$ac_ext <<_ACEOF
76994 /* end confdefs.h. */
76995 #include <math.h>
76996 #ifdef HAVE_IEEEFP_H
76997 #include <ieeefp.h>
76998 #endif
77001 main ()
77003 _isinf(0);
77005 return 0;
77007 _ACEOF
77008 rm -f conftest.$ac_objext
77009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77010 (eval $ac_compile) 2>conftest.er1
77011 ac_status=$?
77012 grep -v '^ *+' conftest.er1 >conftest.err
77013 rm -f conftest.er1
77014 cat conftest.err >&5
77015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77016 (exit $ac_status); } &&
77017 { ac_try='test -z "$ac_cxx_werror_flag"
77018 || test ! -s conftest.err'
77019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77020 (eval $ac_try) 2>&5
77021 ac_status=$?
77022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77023 (exit $ac_status); }; } &&
77024 { ac_try='test -s conftest.$ac_objext'
77025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77026 (eval $ac_try) 2>&5
77027 ac_status=$?
77028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77029 (exit $ac_status); }; }; then
77030 glibcxx_cv_func__isinf_use=yes
77031 else
77032 echo "$as_me: failed program was:" >&5
77033 sed 's/^/| /' conftest.$ac_ext >&5
77035 glibcxx_cv_func__isinf_use=no
77037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77038 ac_ext=c
77039 ac_cpp='$CPP $CPPFLAGS'
77040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77048 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
77049 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
77051 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
77053 for ac_func in _isinf
77055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77056 echo "$as_me:$LINENO: checking for $ac_func" >&5
77057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77058 if eval "test \"\${$as_ac_var+set}\" = set"; then
77059 echo $ECHO_N "(cached) $ECHO_C" >&6
77060 else
77061 if test x$gcc_no_link = xyes; then
77062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77064 { (exit 1); exit 1; }; }
77066 cat >conftest.$ac_ext <<_ACEOF
77067 /* confdefs.h. */
77068 _ACEOF
77069 cat confdefs.h >>conftest.$ac_ext
77070 cat >>conftest.$ac_ext <<_ACEOF
77071 /* end confdefs.h. */
77072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77074 #define $ac_func innocuous_$ac_func
77076 /* System header to define __stub macros and hopefully few prototypes,
77077 which can conflict with char $ac_func (); below.
77078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77079 <limits.h> exists even on freestanding compilers. */
77081 #ifdef __STDC__
77082 # include <limits.h>
77083 #else
77084 # include <assert.h>
77085 #endif
77087 #undef $ac_func
77089 /* Override any gcc2 internal prototype to avoid an error. */
77090 #ifdef __cplusplus
77091 extern "C"
77093 #endif
77094 /* We use char because int might match the return type of a gcc2
77095 builtin and then its argument prototype would still apply. */
77096 char $ac_func ();
77097 /* The GNU C library defines this for functions which it implements
77098 to always fail with ENOSYS. Some functions are actually named
77099 something starting with __ and the normal name is an alias. */
77100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77101 choke me
77102 #else
77103 char (*f) () = $ac_func;
77104 #endif
77105 #ifdef __cplusplus
77107 #endif
77110 main ()
77112 return f != $ac_func;
77114 return 0;
77116 _ACEOF
77117 rm -f conftest.$ac_objext conftest$ac_exeext
77118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77119 (eval $ac_link) 2>conftest.er1
77120 ac_status=$?
77121 grep -v '^ *+' conftest.er1 >conftest.err
77122 rm -f conftest.er1
77123 cat conftest.err >&5
77124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77125 (exit $ac_status); } &&
77126 { ac_try='test -z "$ac_c_werror_flag"
77127 || test ! -s conftest.err'
77128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77129 (eval $ac_try) 2>&5
77130 ac_status=$?
77131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77132 (exit $ac_status); }; } &&
77133 { ac_try='test -s conftest$ac_exeext'
77134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77135 (eval $ac_try) 2>&5
77136 ac_status=$?
77137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77138 (exit $ac_status); }; }; then
77139 eval "$as_ac_var=yes"
77140 else
77141 echo "$as_me: failed program was:" >&5
77142 sed 's/^/| /' conftest.$ac_ext >&5
77144 eval "$as_ac_var=no"
77146 rm -f conftest.err conftest.$ac_objext \
77147 conftest$ac_exeext conftest.$ac_ext
77149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77151 if test `eval echo '${'$as_ac_var'}'` = yes; then
77152 cat >>confdefs.h <<_ACEOF
77153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77154 _ACEOF
77157 done
77167 echo "$as_me:$LINENO: checking for isnan declaration" >&5
77168 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
77169 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
77170 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
77171 echo $ECHO_N "(cached) $ECHO_C" >&6
77172 else
77176 ac_ext=cc
77177 ac_cpp='$CXXCPP $CPPFLAGS'
77178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77182 cat >conftest.$ac_ext <<_ACEOF
77183 /* confdefs.h. */
77184 _ACEOF
77185 cat confdefs.h >>conftest.$ac_ext
77186 cat >>conftest.$ac_ext <<_ACEOF
77187 /* end confdefs.h. */
77188 #include <math.h>
77189 #ifdef HAVE_IEEEFP_H
77190 #include <ieeefp.h>
77191 #endif
77194 main ()
77196 isnan(0);
77198 return 0;
77200 _ACEOF
77201 rm -f conftest.$ac_objext
77202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77203 (eval $ac_compile) 2>conftest.er1
77204 ac_status=$?
77205 grep -v '^ *+' conftest.er1 >conftest.err
77206 rm -f conftest.er1
77207 cat conftest.err >&5
77208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77209 (exit $ac_status); } &&
77210 { ac_try='test -z "$ac_cxx_werror_flag"
77211 || test ! -s conftest.err'
77212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77213 (eval $ac_try) 2>&5
77214 ac_status=$?
77215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77216 (exit $ac_status); }; } &&
77217 { ac_try='test -s conftest.$ac_objext'
77218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77219 (eval $ac_try) 2>&5
77220 ac_status=$?
77221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77222 (exit $ac_status); }; }; then
77223 glibcxx_cv_func_isnan_use=yes
77224 else
77225 echo "$as_me: failed program was:" >&5
77226 sed 's/^/| /' conftest.$ac_ext >&5
77228 glibcxx_cv_func_isnan_use=no
77230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77231 ac_ext=c
77232 ac_cpp='$CPP $CPPFLAGS'
77233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
77242 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
77244 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
77246 for ac_func in isnan
77248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77249 echo "$as_me:$LINENO: checking for $ac_func" >&5
77250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77251 if eval "test \"\${$as_ac_var+set}\" = set"; then
77252 echo $ECHO_N "(cached) $ECHO_C" >&6
77253 else
77254 if test x$gcc_no_link = xyes; then
77255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77257 { (exit 1); exit 1; }; }
77259 cat >conftest.$ac_ext <<_ACEOF
77260 /* confdefs.h. */
77261 _ACEOF
77262 cat confdefs.h >>conftest.$ac_ext
77263 cat >>conftest.$ac_ext <<_ACEOF
77264 /* end confdefs.h. */
77265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77267 #define $ac_func innocuous_$ac_func
77269 /* System header to define __stub macros and hopefully few prototypes,
77270 which can conflict with char $ac_func (); below.
77271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77272 <limits.h> exists even on freestanding compilers. */
77274 #ifdef __STDC__
77275 # include <limits.h>
77276 #else
77277 # include <assert.h>
77278 #endif
77280 #undef $ac_func
77282 /* Override any gcc2 internal prototype to avoid an error. */
77283 #ifdef __cplusplus
77284 extern "C"
77286 #endif
77287 /* We use char because int might match the return type of a gcc2
77288 builtin and then its argument prototype would still apply. */
77289 char $ac_func ();
77290 /* The GNU C library defines this for functions which it implements
77291 to always fail with ENOSYS. Some functions are actually named
77292 something starting with __ and the normal name is an alias. */
77293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77294 choke me
77295 #else
77296 char (*f) () = $ac_func;
77297 #endif
77298 #ifdef __cplusplus
77300 #endif
77303 main ()
77305 return f != $ac_func;
77307 return 0;
77309 _ACEOF
77310 rm -f conftest.$ac_objext conftest$ac_exeext
77311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77312 (eval $ac_link) 2>conftest.er1
77313 ac_status=$?
77314 grep -v '^ *+' conftest.er1 >conftest.err
77315 rm -f conftest.er1
77316 cat conftest.err >&5
77317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77318 (exit $ac_status); } &&
77319 { ac_try='test -z "$ac_c_werror_flag"
77320 || test ! -s conftest.err'
77321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77322 (eval $ac_try) 2>&5
77323 ac_status=$?
77324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77325 (exit $ac_status); }; } &&
77326 { ac_try='test -s conftest$ac_exeext'
77327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77328 (eval $ac_try) 2>&5
77329 ac_status=$?
77330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77331 (exit $ac_status); }; }; then
77332 eval "$as_ac_var=yes"
77333 else
77334 echo "$as_me: failed program was:" >&5
77335 sed 's/^/| /' conftest.$ac_ext >&5
77337 eval "$as_ac_var=no"
77339 rm -f conftest.err conftest.$ac_objext \
77340 conftest$ac_exeext conftest.$ac_ext
77342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77344 if test `eval echo '${'$as_ac_var'}'` = yes; then
77345 cat >>confdefs.h <<_ACEOF
77346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77347 _ACEOF
77350 done
77352 else
77354 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
77355 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
77356 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
77357 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
77358 echo $ECHO_N "(cached) $ECHO_C" >&6
77359 else
77363 ac_ext=cc
77364 ac_cpp='$CXXCPP $CPPFLAGS'
77365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77369 cat >conftest.$ac_ext <<_ACEOF
77370 /* confdefs.h. */
77371 _ACEOF
77372 cat confdefs.h >>conftest.$ac_ext
77373 cat >>conftest.$ac_ext <<_ACEOF
77374 /* end confdefs.h. */
77375 #include <math.h>
77376 #ifdef HAVE_IEEEFP_H
77377 #include <ieeefp.h>
77378 #endif
77381 main ()
77383 _isnan(0);
77385 return 0;
77387 _ACEOF
77388 rm -f conftest.$ac_objext
77389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77390 (eval $ac_compile) 2>conftest.er1
77391 ac_status=$?
77392 grep -v '^ *+' conftest.er1 >conftest.err
77393 rm -f conftest.er1
77394 cat conftest.err >&5
77395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77396 (exit $ac_status); } &&
77397 { ac_try='test -z "$ac_cxx_werror_flag"
77398 || test ! -s conftest.err'
77399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77400 (eval $ac_try) 2>&5
77401 ac_status=$?
77402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77403 (exit $ac_status); }; } &&
77404 { ac_try='test -s conftest.$ac_objext'
77405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77406 (eval $ac_try) 2>&5
77407 ac_status=$?
77408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77409 (exit $ac_status); }; }; then
77410 glibcxx_cv_func__isnan_use=yes
77411 else
77412 echo "$as_me: failed program was:" >&5
77413 sed 's/^/| /' conftest.$ac_ext >&5
77415 glibcxx_cv_func__isnan_use=no
77417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77418 ac_ext=c
77419 ac_cpp='$CPP $CPPFLAGS'
77420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77428 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
77429 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
77431 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
77433 for ac_func in _isnan
77435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77436 echo "$as_me:$LINENO: checking for $ac_func" >&5
77437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77438 if eval "test \"\${$as_ac_var+set}\" = set"; then
77439 echo $ECHO_N "(cached) $ECHO_C" >&6
77440 else
77441 if test x$gcc_no_link = xyes; then
77442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77444 { (exit 1); exit 1; }; }
77446 cat >conftest.$ac_ext <<_ACEOF
77447 /* confdefs.h. */
77448 _ACEOF
77449 cat confdefs.h >>conftest.$ac_ext
77450 cat >>conftest.$ac_ext <<_ACEOF
77451 /* end confdefs.h. */
77452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77454 #define $ac_func innocuous_$ac_func
77456 /* System header to define __stub macros and hopefully few prototypes,
77457 which can conflict with char $ac_func (); below.
77458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77459 <limits.h> exists even on freestanding compilers. */
77461 #ifdef __STDC__
77462 # include <limits.h>
77463 #else
77464 # include <assert.h>
77465 #endif
77467 #undef $ac_func
77469 /* Override any gcc2 internal prototype to avoid an error. */
77470 #ifdef __cplusplus
77471 extern "C"
77473 #endif
77474 /* We use char because int might match the return type of a gcc2
77475 builtin and then its argument prototype would still apply. */
77476 char $ac_func ();
77477 /* The GNU C library defines this for functions which it implements
77478 to always fail with ENOSYS. Some functions are actually named
77479 something starting with __ and the normal name is an alias. */
77480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77481 choke me
77482 #else
77483 char (*f) () = $ac_func;
77484 #endif
77485 #ifdef __cplusplus
77487 #endif
77490 main ()
77492 return f != $ac_func;
77494 return 0;
77496 _ACEOF
77497 rm -f conftest.$ac_objext conftest$ac_exeext
77498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77499 (eval $ac_link) 2>conftest.er1
77500 ac_status=$?
77501 grep -v '^ *+' conftest.er1 >conftest.err
77502 rm -f conftest.er1
77503 cat conftest.err >&5
77504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77505 (exit $ac_status); } &&
77506 { ac_try='test -z "$ac_c_werror_flag"
77507 || test ! -s conftest.err'
77508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77509 (eval $ac_try) 2>&5
77510 ac_status=$?
77511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77512 (exit $ac_status); }; } &&
77513 { ac_try='test -s conftest$ac_exeext'
77514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77515 (eval $ac_try) 2>&5
77516 ac_status=$?
77517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77518 (exit $ac_status); }; }; then
77519 eval "$as_ac_var=yes"
77520 else
77521 echo "$as_me: failed program was:" >&5
77522 sed 's/^/| /' conftest.$ac_ext >&5
77524 eval "$as_ac_var=no"
77526 rm -f conftest.err conftest.$ac_objext \
77527 conftest$ac_exeext conftest.$ac_ext
77529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77531 if test `eval echo '${'$as_ac_var'}'` = yes; then
77532 cat >>confdefs.h <<_ACEOF
77533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77534 _ACEOF
77537 done
77547 echo "$as_me:$LINENO: checking for finite declaration" >&5
77548 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
77549 if test x${glibcxx_cv_func_finite_use+set} != xset; then
77550 if test "${glibcxx_cv_func_finite_use+set}" = set; then
77551 echo $ECHO_N "(cached) $ECHO_C" >&6
77552 else
77556 ac_ext=cc
77557 ac_cpp='$CXXCPP $CPPFLAGS'
77558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77562 cat >conftest.$ac_ext <<_ACEOF
77563 /* confdefs.h. */
77564 _ACEOF
77565 cat confdefs.h >>conftest.$ac_ext
77566 cat >>conftest.$ac_ext <<_ACEOF
77567 /* end confdefs.h. */
77568 #include <math.h>
77569 #ifdef HAVE_IEEEFP_H
77570 #include <ieeefp.h>
77571 #endif
77574 main ()
77576 finite(0);
77578 return 0;
77580 _ACEOF
77581 rm -f conftest.$ac_objext
77582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77583 (eval $ac_compile) 2>conftest.er1
77584 ac_status=$?
77585 grep -v '^ *+' conftest.er1 >conftest.err
77586 rm -f conftest.er1
77587 cat conftest.err >&5
77588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77589 (exit $ac_status); } &&
77590 { ac_try='test -z "$ac_cxx_werror_flag"
77591 || test ! -s conftest.err'
77592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77593 (eval $ac_try) 2>&5
77594 ac_status=$?
77595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77596 (exit $ac_status); }; } &&
77597 { ac_try='test -s conftest.$ac_objext'
77598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77599 (eval $ac_try) 2>&5
77600 ac_status=$?
77601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77602 (exit $ac_status); }; }; then
77603 glibcxx_cv_func_finite_use=yes
77604 else
77605 echo "$as_me: failed program was:" >&5
77606 sed 's/^/| /' conftest.$ac_ext >&5
77608 glibcxx_cv_func_finite_use=no
77610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77611 ac_ext=c
77612 ac_cpp='$CPP $CPPFLAGS'
77613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77621 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
77622 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
77624 if test x$glibcxx_cv_func_finite_use = x"yes"; then
77626 for ac_func in finite
77628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77629 echo "$as_me:$LINENO: checking for $ac_func" >&5
77630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77631 if eval "test \"\${$as_ac_var+set}\" = set"; then
77632 echo $ECHO_N "(cached) $ECHO_C" >&6
77633 else
77634 if test x$gcc_no_link = xyes; then
77635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77637 { (exit 1); exit 1; }; }
77639 cat >conftest.$ac_ext <<_ACEOF
77640 /* confdefs.h. */
77641 _ACEOF
77642 cat confdefs.h >>conftest.$ac_ext
77643 cat >>conftest.$ac_ext <<_ACEOF
77644 /* end confdefs.h. */
77645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77647 #define $ac_func innocuous_$ac_func
77649 /* System header to define __stub macros and hopefully few prototypes,
77650 which can conflict with char $ac_func (); below.
77651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77652 <limits.h> exists even on freestanding compilers. */
77654 #ifdef __STDC__
77655 # include <limits.h>
77656 #else
77657 # include <assert.h>
77658 #endif
77660 #undef $ac_func
77662 /* Override any gcc2 internal prototype to avoid an error. */
77663 #ifdef __cplusplus
77664 extern "C"
77666 #endif
77667 /* We use char because int might match the return type of a gcc2
77668 builtin and then its argument prototype would still apply. */
77669 char $ac_func ();
77670 /* The GNU C library defines this for functions which it implements
77671 to always fail with ENOSYS. Some functions are actually named
77672 something starting with __ and the normal name is an alias. */
77673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77674 choke me
77675 #else
77676 char (*f) () = $ac_func;
77677 #endif
77678 #ifdef __cplusplus
77680 #endif
77683 main ()
77685 return f != $ac_func;
77687 return 0;
77689 _ACEOF
77690 rm -f conftest.$ac_objext conftest$ac_exeext
77691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77692 (eval $ac_link) 2>conftest.er1
77693 ac_status=$?
77694 grep -v '^ *+' conftest.er1 >conftest.err
77695 rm -f conftest.er1
77696 cat conftest.err >&5
77697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77698 (exit $ac_status); } &&
77699 { ac_try='test -z "$ac_c_werror_flag"
77700 || test ! -s conftest.err'
77701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77702 (eval $ac_try) 2>&5
77703 ac_status=$?
77704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77705 (exit $ac_status); }; } &&
77706 { ac_try='test -s conftest$ac_exeext'
77707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77708 (eval $ac_try) 2>&5
77709 ac_status=$?
77710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77711 (exit $ac_status); }; }; then
77712 eval "$as_ac_var=yes"
77713 else
77714 echo "$as_me: failed program was:" >&5
77715 sed 's/^/| /' conftest.$ac_ext >&5
77717 eval "$as_ac_var=no"
77719 rm -f conftest.err conftest.$ac_objext \
77720 conftest$ac_exeext conftest.$ac_ext
77722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77724 if test `eval echo '${'$as_ac_var'}'` = yes; then
77725 cat >>confdefs.h <<_ACEOF
77726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77727 _ACEOF
77730 done
77732 else
77734 echo "$as_me:$LINENO: checking for _finite declaration" >&5
77735 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
77736 if test x${glibcxx_cv_func__finite_use+set} != xset; then
77737 if test "${glibcxx_cv_func__finite_use+set}" = set; then
77738 echo $ECHO_N "(cached) $ECHO_C" >&6
77739 else
77743 ac_ext=cc
77744 ac_cpp='$CXXCPP $CPPFLAGS'
77745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77749 cat >conftest.$ac_ext <<_ACEOF
77750 /* confdefs.h. */
77751 _ACEOF
77752 cat confdefs.h >>conftest.$ac_ext
77753 cat >>conftest.$ac_ext <<_ACEOF
77754 /* end confdefs.h. */
77755 #include <math.h>
77756 #ifdef HAVE_IEEEFP_H
77757 #include <ieeefp.h>
77758 #endif
77761 main ()
77763 _finite(0);
77765 return 0;
77767 _ACEOF
77768 rm -f conftest.$ac_objext
77769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77770 (eval $ac_compile) 2>conftest.er1
77771 ac_status=$?
77772 grep -v '^ *+' conftest.er1 >conftest.err
77773 rm -f conftest.er1
77774 cat conftest.err >&5
77775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77776 (exit $ac_status); } &&
77777 { ac_try='test -z "$ac_cxx_werror_flag"
77778 || test ! -s conftest.err'
77779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77780 (eval $ac_try) 2>&5
77781 ac_status=$?
77782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77783 (exit $ac_status); }; } &&
77784 { ac_try='test -s conftest.$ac_objext'
77785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77786 (eval $ac_try) 2>&5
77787 ac_status=$?
77788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77789 (exit $ac_status); }; }; then
77790 glibcxx_cv_func__finite_use=yes
77791 else
77792 echo "$as_me: failed program was:" >&5
77793 sed 's/^/| /' conftest.$ac_ext >&5
77795 glibcxx_cv_func__finite_use=no
77797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77798 ac_ext=c
77799 ac_cpp='$CPP $CPPFLAGS'
77800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77808 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
77809 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
77811 if test x$glibcxx_cv_func__finite_use = x"yes"; then
77813 for ac_func in _finite
77815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77816 echo "$as_me:$LINENO: checking for $ac_func" >&5
77817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77818 if eval "test \"\${$as_ac_var+set}\" = set"; then
77819 echo $ECHO_N "(cached) $ECHO_C" >&6
77820 else
77821 if test x$gcc_no_link = xyes; then
77822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77824 { (exit 1); exit 1; }; }
77826 cat >conftest.$ac_ext <<_ACEOF
77827 /* confdefs.h. */
77828 _ACEOF
77829 cat confdefs.h >>conftest.$ac_ext
77830 cat >>conftest.$ac_ext <<_ACEOF
77831 /* end confdefs.h. */
77832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77834 #define $ac_func innocuous_$ac_func
77836 /* System header to define __stub macros and hopefully few prototypes,
77837 which can conflict with char $ac_func (); below.
77838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77839 <limits.h> exists even on freestanding compilers. */
77841 #ifdef __STDC__
77842 # include <limits.h>
77843 #else
77844 # include <assert.h>
77845 #endif
77847 #undef $ac_func
77849 /* Override any gcc2 internal prototype to avoid an error. */
77850 #ifdef __cplusplus
77851 extern "C"
77853 #endif
77854 /* We use char because int might match the return type of a gcc2
77855 builtin and then its argument prototype would still apply. */
77856 char $ac_func ();
77857 /* The GNU C library defines this for functions which it implements
77858 to always fail with ENOSYS. Some functions are actually named
77859 something starting with __ and the normal name is an alias. */
77860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77861 choke me
77862 #else
77863 char (*f) () = $ac_func;
77864 #endif
77865 #ifdef __cplusplus
77867 #endif
77870 main ()
77872 return f != $ac_func;
77874 return 0;
77876 _ACEOF
77877 rm -f conftest.$ac_objext conftest$ac_exeext
77878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77879 (eval $ac_link) 2>conftest.er1
77880 ac_status=$?
77881 grep -v '^ *+' conftest.er1 >conftest.err
77882 rm -f conftest.er1
77883 cat conftest.err >&5
77884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77885 (exit $ac_status); } &&
77886 { ac_try='test -z "$ac_c_werror_flag"
77887 || test ! -s conftest.err'
77888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77889 (eval $ac_try) 2>&5
77890 ac_status=$?
77891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77892 (exit $ac_status); }; } &&
77893 { ac_try='test -s conftest$ac_exeext'
77894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77895 (eval $ac_try) 2>&5
77896 ac_status=$?
77897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77898 (exit $ac_status); }; }; then
77899 eval "$as_ac_var=yes"
77900 else
77901 echo "$as_me: failed program was:" >&5
77902 sed 's/^/| /' conftest.$ac_ext >&5
77904 eval "$as_ac_var=no"
77906 rm -f conftest.err conftest.$ac_objext \
77907 conftest$ac_exeext conftest.$ac_ext
77909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77911 if test `eval echo '${'$as_ac_var'}'` = yes; then
77912 cat >>confdefs.h <<_ACEOF
77913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77914 _ACEOF
77917 done
77927 echo "$as_me:$LINENO: checking for sincos declaration" >&5
77928 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
77929 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
77930 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
77931 echo $ECHO_N "(cached) $ECHO_C" >&6
77932 else
77936 ac_ext=cc
77937 ac_cpp='$CXXCPP $CPPFLAGS'
77938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77942 cat >conftest.$ac_ext <<_ACEOF
77943 /* confdefs.h. */
77944 _ACEOF
77945 cat confdefs.h >>conftest.$ac_ext
77946 cat >>conftest.$ac_ext <<_ACEOF
77947 /* end confdefs.h. */
77948 #include <math.h>
77950 main ()
77952 sincos(0, 0, 0);
77954 return 0;
77956 _ACEOF
77957 rm -f conftest.$ac_objext
77958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77959 (eval $ac_compile) 2>conftest.er1
77960 ac_status=$?
77961 grep -v '^ *+' conftest.er1 >conftest.err
77962 rm -f conftest.er1
77963 cat conftest.err >&5
77964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77965 (exit $ac_status); } &&
77966 { ac_try='test -z "$ac_cxx_werror_flag"
77967 || test ! -s conftest.err'
77968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77969 (eval $ac_try) 2>&5
77970 ac_status=$?
77971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77972 (exit $ac_status); }; } &&
77973 { ac_try='test -s conftest.$ac_objext'
77974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77975 (eval $ac_try) 2>&5
77976 ac_status=$?
77977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77978 (exit $ac_status); }; }; then
77979 glibcxx_cv_func_sincos_use=yes
77980 else
77981 echo "$as_me: failed program was:" >&5
77982 sed 's/^/| /' conftest.$ac_ext >&5
77984 glibcxx_cv_func_sincos_use=no
77986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77987 ac_ext=c
77988 ac_cpp='$CPP $CPPFLAGS'
77989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77997 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
77998 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
78000 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
78002 for ac_func in sincos
78004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78005 echo "$as_me:$LINENO: checking for $ac_func" >&5
78006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78007 if eval "test \"\${$as_ac_var+set}\" = set"; then
78008 echo $ECHO_N "(cached) $ECHO_C" >&6
78009 else
78010 if test x$gcc_no_link = xyes; then
78011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78013 { (exit 1); exit 1; }; }
78015 cat >conftest.$ac_ext <<_ACEOF
78016 /* confdefs.h. */
78017 _ACEOF
78018 cat confdefs.h >>conftest.$ac_ext
78019 cat >>conftest.$ac_ext <<_ACEOF
78020 /* end confdefs.h. */
78021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78023 #define $ac_func innocuous_$ac_func
78025 /* System header to define __stub macros and hopefully few prototypes,
78026 which can conflict with char $ac_func (); below.
78027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78028 <limits.h> exists even on freestanding compilers. */
78030 #ifdef __STDC__
78031 # include <limits.h>
78032 #else
78033 # include <assert.h>
78034 #endif
78036 #undef $ac_func
78038 /* Override any gcc2 internal prototype to avoid an error. */
78039 #ifdef __cplusplus
78040 extern "C"
78042 #endif
78043 /* We use char because int might match the return type of a gcc2
78044 builtin and then its argument prototype would still apply. */
78045 char $ac_func ();
78046 /* The GNU C library defines this for functions which it implements
78047 to always fail with ENOSYS. Some functions are actually named
78048 something starting with __ and the normal name is an alias. */
78049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78050 choke me
78051 #else
78052 char (*f) () = $ac_func;
78053 #endif
78054 #ifdef __cplusplus
78056 #endif
78059 main ()
78061 return f != $ac_func;
78063 return 0;
78065 _ACEOF
78066 rm -f conftest.$ac_objext conftest$ac_exeext
78067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78068 (eval $ac_link) 2>conftest.er1
78069 ac_status=$?
78070 grep -v '^ *+' conftest.er1 >conftest.err
78071 rm -f conftest.er1
78072 cat conftest.err >&5
78073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78074 (exit $ac_status); } &&
78075 { ac_try='test -z "$ac_c_werror_flag"
78076 || test ! -s conftest.err'
78077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78078 (eval $ac_try) 2>&5
78079 ac_status=$?
78080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78081 (exit $ac_status); }; } &&
78082 { ac_try='test -s conftest$ac_exeext'
78083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78084 (eval $ac_try) 2>&5
78085 ac_status=$?
78086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78087 (exit $ac_status); }; }; then
78088 eval "$as_ac_var=yes"
78089 else
78090 echo "$as_me: failed program was:" >&5
78091 sed 's/^/| /' conftest.$ac_ext >&5
78093 eval "$as_ac_var=no"
78095 rm -f conftest.err conftest.$ac_objext \
78096 conftest$ac_exeext conftest.$ac_ext
78098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78100 if test `eval echo '${'$as_ac_var'}'` = yes; then
78101 cat >>confdefs.h <<_ACEOF
78102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78103 _ACEOF
78106 done
78108 else
78110 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
78111 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
78112 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
78113 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
78114 echo $ECHO_N "(cached) $ECHO_C" >&6
78115 else
78119 ac_ext=cc
78120 ac_cpp='$CXXCPP $CPPFLAGS'
78121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78125 cat >conftest.$ac_ext <<_ACEOF
78126 /* confdefs.h. */
78127 _ACEOF
78128 cat confdefs.h >>conftest.$ac_ext
78129 cat >>conftest.$ac_ext <<_ACEOF
78130 /* end confdefs.h. */
78131 #include <math.h>
78133 main ()
78135 _sincos(0, 0, 0);
78137 return 0;
78139 _ACEOF
78140 rm -f conftest.$ac_objext
78141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78142 (eval $ac_compile) 2>conftest.er1
78143 ac_status=$?
78144 grep -v '^ *+' conftest.er1 >conftest.err
78145 rm -f conftest.er1
78146 cat conftest.err >&5
78147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78148 (exit $ac_status); } &&
78149 { ac_try='test -z "$ac_cxx_werror_flag"
78150 || test ! -s conftest.err'
78151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78152 (eval $ac_try) 2>&5
78153 ac_status=$?
78154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78155 (exit $ac_status); }; } &&
78156 { ac_try='test -s conftest.$ac_objext'
78157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78158 (eval $ac_try) 2>&5
78159 ac_status=$?
78160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78161 (exit $ac_status); }; }; then
78162 glibcxx_cv_func__sincos_use=yes
78163 else
78164 echo "$as_me: failed program was:" >&5
78165 sed 's/^/| /' conftest.$ac_ext >&5
78167 glibcxx_cv_func__sincos_use=no
78169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78170 ac_ext=c
78171 ac_cpp='$CPP $CPPFLAGS'
78172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78180 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
78181 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
78183 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
78185 for ac_func in _sincos
78187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78188 echo "$as_me:$LINENO: checking for $ac_func" >&5
78189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78190 if eval "test \"\${$as_ac_var+set}\" = set"; then
78191 echo $ECHO_N "(cached) $ECHO_C" >&6
78192 else
78193 if test x$gcc_no_link = xyes; then
78194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78196 { (exit 1); exit 1; }; }
78198 cat >conftest.$ac_ext <<_ACEOF
78199 /* confdefs.h. */
78200 _ACEOF
78201 cat confdefs.h >>conftest.$ac_ext
78202 cat >>conftest.$ac_ext <<_ACEOF
78203 /* end confdefs.h. */
78204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78206 #define $ac_func innocuous_$ac_func
78208 /* System header to define __stub macros and hopefully few prototypes,
78209 which can conflict with char $ac_func (); below.
78210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78211 <limits.h> exists even on freestanding compilers. */
78213 #ifdef __STDC__
78214 # include <limits.h>
78215 #else
78216 # include <assert.h>
78217 #endif
78219 #undef $ac_func
78221 /* Override any gcc2 internal prototype to avoid an error. */
78222 #ifdef __cplusplus
78223 extern "C"
78225 #endif
78226 /* We use char because int might match the return type of a gcc2
78227 builtin and then its argument prototype would still apply. */
78228 char $ac_func ();
78229 /* The GNU C library defines this for functions which it implements
78230 to always fail with ENOSYS. Some functions are actually named
78231 something starting with __ and the normal name is an alias. */
78232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78233 choke me
78234 #else
78235 char (*f) () = $ac_func;
78236 #endif
78237 #ifdef __cplusplus
78239 #endif
78242 main ()
78244 return f != $ac_func;
78246 return 0;
78248 _ACEOF
78249 rm -f conftest.$ac_objext conftest$ac_exeext
78250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78251 (eval $ac_link) 2>conftest.er1
78252 ac_status=$?
78253 grep -v '^ *+' conftest.er1 >conftest.err
78254 rm -f conftest.er1
78255 cat conftest.err >&5
78256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78257 (exit $ac_status); } &&
78258 { ac_try='test -z "$ac_c_werror_flag"
78259 || test ! -s conftest.err'
78260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78261 (eval $ac_try) 2>&5
78262 ac_status=$?
78263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78264 (exit $ac_status); }; } &&
78265 { ac_try='test -s conftest$ac_exeext'
78266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78267 (eval $ac_try) 2>&5
78268 ac_status=$?
78269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78270 (exit $ac_status); }; }; then
78271 eval "$as_ac_var=yes"
78272 else
78273 echo "$as_me: failed program was:" >&5
78274 sed 's/^/| /' conftest.$ac_ext >&5
78276 eval "$as_ac_var=no"
78278 rm -f conftest.err conftest.$ac_objext \
78279 conftest$ac_exeext conftest.$ac_ext
78281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78283 if test `eval echo '${'$as_ac_var'}'` = yes; then
78284 cat >>confdefs.h <<_ACEOF
78285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78286 _ACEOF
78289 done
78299 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
78300 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
78301 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
78302 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
78303 echo $ECHO_N "(cached) $ECHO_C" >&6
78304 else
78308 ac_ext=cc
78309 ac_cpp='$CXXCPP $CPPFLAGS'
78310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78314 cat >conftest.$ac_ext <<_ACEOF
78315 /* confdefs.h. */
78316 _ACEOF
78317 cat confdefs.h >>conftest.$ac_ext
78318 cat >>conftest.$ac_ext <<_ACEOF
78319 /* end confdefs.h. */
78320 #include <math.h>
78321 #ifdef HAVE_IEEEFP_H
78322 #include <ieeefp.h>
78323 #endif
78326 main ()
78328 fpclass(0);
78330 return 0;
78332 _ACEOF
78333 rm -f conftest.$ac_objext
78334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78335 (eval $ac_compile) 2>conftest.er1
78336 ac_status=$?
78337 grep -v '^ *+' conftest.er1 >conftest.err
78338 rm -f conftest.er1
78339 cat conftest.err >&5
78340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78341 (exit $ac_status); } &&
78342 { ac_try='test -z "$ac_cxx_werror_flag"
78343 || test ! -s conftest.err'
78344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78345 (eval $ac_try) 2>&5
78346 ac_status=$?
78347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78348 (exit $ac_status); }; } &&
78349 { ac_try='test -s conftest.$ac_objext'
78350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78351 (eval $ac_try) 2>&5
78352 ac_status=$?
78353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78354 (exit $ac_status); }; }; then
78355 glibcxx_cv_func_fpclass_use=yes
78356 else
78357 echo "$as_me: failed program was:" >&5
78358 sed 's/^/| /' conftest.$ac_ext >&5
78360 glibcxx_cv_func_fpclass_use=no
78362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78363 ac_ext=c
78364 ac_cpp='$CPP $CPPFLAGS'
78365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78373 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
78374 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
78376 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
78378 for ac_func in fpclass
78380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78381 echo "$as_me:$LINENO: checking for $ac_func" >&5
78382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78383 if eval "test \"\${$as_ac_var+set}\" = set"; then
78384 echo $ECHO_N "(cached) $ECHO_C" >&6
78385 else
78386 if test x$gcc_no_link = xyes; then
78387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78389 { (exit 1); exit 1; }; }
78391 cat >conftest.$ac_ext <<_ACEOF
78392 /* confdefs.h. */
78393 _ACEOF
78394 cat confdefs.h >>conftest.$ac_ext
78395 cat >>conftest.$ac_ext <<_ACEOF
78396 /* end confdefs.h. */
78397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78399 #define $ac_func innocuous_$ac_func
78401 /* System header to define __stub macros and hopefully few prototypes,
78402 which can conflict with char $ac_func (); below.
78403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78404 <limits.h> exists even on freestanding compilers. */
78406 #ifdef __STDC__
78407 # include <limits.h>
78408 #else
78409 # include <assert.h>
78410 #endif
78412 #undef $ac_func
78414 /* Override any gcc2 internal prototype to avoid an error. */
78415 #ifdef __cplusplus
78416 extern "C"
78418 #endif
78419 /* We use char because int might match the return type of a gcc2
78420 builtin and then its argument prototype would still apply. */
78421 char $ac_func ();
78422 /* The GNU C library defines this for functions which it implements
78423 to always fail with ENOSYS. Some functions are actually named
78424 something starting with __ and the normal name is an alias. */
78425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78426 choke me
78427 #else
78428 char (*f) () = $ac_func;
78429 #endif
78430 #ifdef __cplusplus
78432 #endif
78435 main ()
78437 return f != $ac_func;
78439 return 0;
78441 _ACEOF
78442 rm -f conftest.$ac_objext conftest$ac_exeext
78443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78444 (eval $ac_link) 2>conftest.er1
78445 ac_status=$?
78446 grep -v '^ *+' conftest.er1 >conftest.err
78447 rm -f conftest.er1
78448 cat conftest.err >&5
78449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78450 (exit $ac_status); } &&
78451 { ac_try='test -z "$ac_c_werror_flag"
78452 || test ! -s conftest.err'
78453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78454 (eval $ac_try) 2>&5
78455 ac_status=$?
78456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78457 (exit $ac_status); }; } &&
78458 { ac_try='test -s conftest$ac_exeext'
78459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78460 (eval $ac_try) 2>&5
78461 ac_status=$?
78462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78463 (exit $ac_status); }; }; then
78464 eval "$as_ac_var=yes"
78465 else
78466 echo "$as_me: failed program was:" >&5
78467 sed 's/^/| /' conftest.$ac_ext >&5
78469 eval "$as_ac_var=no"
78471 rm -f conftest.err conftest.$ac_objext \
78472 conftest$ac_exeext conftest.$ac_ext
78474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78476 if test `eval echo '${'$as_ac_var'}'` = yes; then
78477 cat >>confdefs.h <<_ACEOF
78478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78479 _ACEOF
78482 done
78484 else
78486 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
78487 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
78488 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
78489 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
78490 echo $ECHO_N "(cached) $ECHO_C" >&6
78491 else
78495 ac_ext=cc
78496 ac_cpp='$CXXCPP $CPPFLAGS'
78497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78501 cat >conftest.$ac_ext <<_ACEOF
78502 /* confdefs.h. */
78503 _ACEOF
78504 cat confdefs.h >>conftest.$ac_ext
78505 cat >>conftest.$ac_ext <<_ACEOF
78506 /* end confdefs.h. */
78507 #include <math.h>
78508 #ifdef HAVE_IEEEFP_H
78509 #include <ieeefp.h>
78510 #endif
78513 main ()
78515 _fpclass(0);
78517 return 0;
78519 _ACEOF
78520 rm -f conftest.$ac_objext
78521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78522 (eval $ac_compile) 2>conftest.er1
78523 ac_status=$?
78524 grep -v '^ *+' conftest.er1 >conftest.err
78525 rm -f conftest.er1
78526 cat conftest.err >&5
78527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78528 (exit $ac_status); } &&
78529 { ac_try='test -z "$ac_cxx_werror_flag"
78530 || test ! -s conftest.err'
78531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78532 (eval $ac_try) 2>&5
78533 ac_status=$?
78534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78535 (exit $ac_status); }; } &&
78536 { ac_try='test -s conftest.$ac_objext'
78537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78538 (eval $ac_try) 2>&5
78539 ac_status=$?
78540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78541 (exit $ac_status); }; }; then
78542 glibcxx_cv_func__fpclass_use=yes
78543 else
78544 echo "$as_me: failed program was:" >&5
78545 sed 's/^/| /' conftest.$ac_ext >&5
78547 glibcxx_cv_func__fpclass_use=no
78549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78550 ac_ext=c
78551 ac_cpp='$CPP $CPPFLAGS'
78552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78560 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
78561 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
78563 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
78565 for ac_func in _fpclass
78567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78568 echo "$as_me:$LINENO: checking for $ac_func" >&5
78569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78570 if eval "test \"\${$as_ac_var+set}\" = set"; then
78571 echo $ECHO_N "(cached) $ECHO_C" >&6
78572 else
78573 if test x$gcc_no_link = xyes; then
78574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78576 { (exit 1); exit 1; }; }
78578 cat >conftest.$ac_ext <<_ACEOF
78579 /* confdefs.h. */
78580 _ACEOF
78581 cat confdefs.h >>conftest.$ac_ext
78582 cat >>conftest.$ac_ext <<_ACEOF
78583 /* end confdefs.h. */
78584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78586 #define $ac_func innocuous_$ac_func
78588 /* System header to define __stub macros and hopefully few prototypes,
78589 which can conflict with char $ac_func (); below.
78590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78591 <limits.h> exists even on freestanding compilers. */
78593 #ifdef __STDC__
78594 # include <limits.h>
78595 #else
78596 # include <assert.h>
78597 #endif
78599 #undef $ac_func
78601 /* Override any gcc2 internal prototype to avoid an error. */
78602 #ifdef __cplusplus
78603 extern "C"
78605 #endif
78606 /* We use char because int might match the return type of a gcc2
78607 builtin and then its argument prototype would still apply. */
78608 char $ac_func ();
78609 /* The GNU C library defines this for functions which it implements
78610 to always fail with ENOSYS. Some functions are actually named
78611 something starting with __ and the normal name is an alias. */
78612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78613 choke me
78614 #else
78615 char (*f) () = $ac_func;
78616 #endif
78617 #ifdef __cplusplus
78619 #endif
78622 main ()
78624 return f != $ac_func;
78626 return 0;
78628 _ACEOF
78629 rm -f conftest.$ac_objext conftest$ac_exeext
78630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78631 (eval $ac_link) 2>conftest.er1
78632 ac_status=$?
78633 grep -v '^ *+' conftest.er1 >conftest.err
78634 rm -f conftest.er1
78635 cat conftest.err >&5
78636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78637 (exit $ac_status); } &&
78638 { ac_try='test -z "$ac_c_werror_flag"
78639 || test ! -s conftest.err'
78640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78641 (eval $ac_try) 2>&5
78642 ac_status=$?
78643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78644 (exit $ac_status); }; } &&
78645 { ac_try='test -s conftest$ac_exeext'
78646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78647 (eval $ac_try) 2>&5
78648 ac_status=$?
78649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78650 (exit $ac_status); }; }; then
78651 eval "$as_ac_var=yes"
78652 else
78653 echo "$as_me: failed program was:" >&5
78654 sed 's/^/| /' conftest.$ac_ext >&5
78656 eval "$as_ac_var=no"
78658 rm -f conftest.err conftest.$ac_objext \
78659 conftest$ac_exeext conftest.$ac_ext
78661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78663 if test `eval echo '${'$as_ac_var'}'` = yes; then
78664 cat >>confdefs.h <<_ACEOF
78665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78666 _ACEOF
78669 done
78679 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
78680 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
78681 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
78682 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
78683 echo $ECHO_N "(cached) $ECHO_C" >&6
78684 else
78688 ac_ext=cc
78689 ac_cpp='$CXXCPP $CPPFLAGS'
78690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78694 cat >conftest.$ac_ext <<_ACEOF
78695 /* confdefs.h. */
78696 _ACEOF
78697 cat confdefs.h >>conftest.$ac_ext
78698 cat >>conftest.$ac_ext <<_ACEOF
78699 /* end confdefs.h. */
78700 #include <math.h>
78701 #ifdef HAVE_IEEEFP_H
78702 #include <ieeefp.h>
78703 #endif
78706 main ()
78708 qfpclass(0);
78710 return 0;
78712 _ACEOF
78713 rm -f conftest.$ac_objext
78714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78715 (eval $ac_compile) 2>conftest.er1
78716 ac_status=$?
78717 grep -v '^ *+' conftest.er1 >conftest.err
78718 rm -f conftest.er1
78719 cat conftest.err >&5
78720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78721 (exit $ac_status); } &&
78722 { ac_try='test -z "$ac_cxx_werror_flag"
78723 || test ! -s conftest.err'
78724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78725 (eval $ac_try) 2>&5
78726 ac_status=$?
78727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78728 (exit $ac_status); }; } &&
78729 { ac_try='test -s conftest.$ac_objext'
78730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78731 (eval $ac_try) 2>&5
78732 ac_status=$?
78733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78734 (exit $ac_status); }; }; then
78735 glibcxx_cv_func_qfpclass_use=yes
78736 else
78737 echo "$as_me: failed program was:" >&5
78738 sed 's/^/| /' conftest.$ac_ext >&5
78740 glibcxx_cv_func_qfpclass_use=no
78742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78743 ac_ext=c
78744 ac_cpp='$CPP $CPPFLAGS'
78745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78753 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
78754 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
78756 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
78758 for ac_func in qfpclass
78760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78761 echo "$as_me:$LINENO: checking for $ac_func" >&5
78762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78763 if eval "test \"\${$as_ac_var+set}\" = set"; then
78764 echo $ECHO_N "(cached) $ECHO_C" >&6
78765 else
78766 if test x$gcc_no_link = xyes; then
78767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78769 { (exit 1); exit 1; }; }
78771 cat >conftest.$ac_ext <<_ACEOF
78772 /* confdefs.h. */
78773 _ACEOF
78774 cat confdefs.h >>conftest.$ac_ext
78775 cat >>conftest.$ac_ext <<_ACEOF
78776 /* end confdefs.h. */
78777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78779 #define $ac_func innocuous_$ac_func
78781 /* System header to define __stub macros and hopefully few prototypes,
78782 which can conflict with char $ac_func (); below.
78783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78784 <limits.h> exists even on freestanding compilers. */
78786 #ifdef __STDC__
78787 # include <limits.h>
78788 #else
78789 # include <assert.h>
78790 #endif
78792 #undef $ac_func
78794 /* Override any gcc2 internal prototype to avoid an error. */
78795 #ifdef __cplusplus
78796 extern "C"
78798 #endif
78799 /* We use char because int might match the return type of a gcc2
78800 builtin and then its argument prototype would still apply. */
78801 char $ac_func ();
78802 /* The GNU C library defines this for functions which it implements
78803 to always fail with ENOSYS. Some functions are actually named
78804 something starting with __ and the normal name is an alias. */
78805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78806 choke me
78807 #else
78808 char (*f) () = $ac_func;
78809 #endif
78810 #ifdef __cplusplus
78812 #endif
78815 main ()
78817 return f != $ac_func;
78819 return 0;
78821 _ACEOF
78822 rm -f conftest.$ac_objext conftest$ac_exeext
78823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78824 (eval $ac_link) 2>conftest.er1
78825 ac_status=$?
78826 grep -v '^ *+' conftest.er1 >conftest.err
78827 rm -f conftest.er1
78828 cat conftest.err >&5
78829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78830 (exit $ac_status); } &&
78831 { ac_try='test -z "$ac_c_werror_flag"
78832 || test ! -s conftest.err'
78833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78834 (eval $ac_try) 2>&5
78835 ac_status=$?
78836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78837 (exit $ac_status); }; } &&
78838 { ac_try='test -s conftest$ac_exeext'
78839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78840 (eval $ac_try) 2>&5
78841 ac_status=$?
78842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78843 (exit $ac_status); }; }; then
78844 eval "$as_ac_var=yes"
78845 else
78846 echo "$as_me: failed program was:" >&5
78847 sed 's/^/| /' conftest.$ac_ext >&5
78849 eval "$as_ac_var=no"
78851 rm -f conftest.err conftest.$ac_objext \
78852 conftest$ac_exeext conftest.$ac_ext
78854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78856 if test `eval echo '${'$as_ac_var'}'` = yes; then
78857 cat >>confdefs.h <<_ACEOF
78858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78859 _ACEOF
78862 done
78864 else
78866 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
78867 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
78868 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
78869 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
78870 echo $ECHO_N "(cached) $ECHO_C" >&6
78871 else
78875 ac_ext=cc
78876 ac_cpp='$CXXCPP $CPPFLAGS'
78877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78881 cat >conftest.$ac_ext <<_ACEOF
78882 /* confdefs.h. */
78883 _ACEOF
78884 cat confdefs.h >>conftest.$ac_ext
78885 cat >>conftest.$ac_ext <<_ACEOF
78886 /* end confdefs.h. */
78887 #include <math.h>
78888 #ifdef HAVE_IEEEFP_H
78889 #include <ieeefp.h>
78890 #endif
78893 main ()
78895 _qfpclass(0);
78897 return 0;
78899 _ACEOF
78900 rm -f conftest.$ac_objext
78901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78902 (eval $ac_compile) 2>conftest.er1
78903 ac_status=$?
78904 grep -v '^ *+' conftest.er1 >conftest.err
78905 rm -f conftest.er1
78906 cat conftest.err >&5
78907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78908 (exit $ac_status); } &&
78909 { ac_try='test -z "$ac_cxx_werror_flag"
78910 || test ! -s conftest.err'
78911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78912 (eval $ac_try) 2>&5
78913 ac_status=$?
78914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78915 (exit $ac_status); }; } &&
78916 { ac_try='test -s conftest.$ac_objext'
78917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78918 (eval $ac_try) 2>&5
78919 ac_status=$?
78920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78921 (exit $ac_status); }; }; then
78922 glibcxx_cv_func__qfpclass_use=yes
78923 else
78924 echo "$as_me: failed program was:" >&5
78925 sed 's/^/| /' conftest.$ac_ext >&5
78927 glibcxx_cv_func__qfpclass_use=no
78929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78930 ac_ext=c
78931 ac_cpp='$CPP $CPPFLAGS'
78932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78940 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
78941 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
78943 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
78945 for ac_func in _qfpclass
78947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78948 echo "$as_me:$LINENO: checking for $ac_func" >&5
78949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78950 if eval "test \"\${$as_ac_var+set}\" = set"; then
78951 echo $ECHO_N "(cached) $ECHO_C" >&6
78952 else
78953 if test x$gcc_no_link = xyes; then
78954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78956 { (exit 1); exit 1; }; }
78958 cat >conftest.$ac_ext <<_ACEOF
78959 /* confdefs.h. */
78960 _ACEOF
78961 cat confdefs.h >>conftest.$ac_ext
78962 cat >>conftest.$ac_ext <<_ACEOF
78963 /* end confdefs.h. */
78964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78966 #define $ac_func innocuous_$ac_func
78968 /* System header to define __stub macros and hopefully few prototypes,
78969 which can conflict with char $ac_func (); below.
78970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78971 <limits.h> exists even on freestanding compilers. */
78973 #ifdef __STDC__
78974 # include <limits.h>
78975 #else
78976 # include <assert.h>
78977 #endif
78979 #undef $ac_func
78981 /* Override any gcc2 internal prototype to avoid an error. */
78982 #ifdef __cplusplus
78983 extern "C"
78985 #endif
78986 /* We use char because int might match the return type of a gcc2
78987 builtin and then its argument prototype would still apply. */
78988 char $ac_func ();
78989 /* The GNU C library defines this for functions which it implements
78990 to always fail with ENOSYS. Some functions are actually named
78991 something starting with __ and the normal name is an alias. */
78992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78993 choke me
78994 #else
78995 char (*f) () = $ac_func;
78996 #endif
78997 #ifdef __cplusplus
78999 #endif
79002 main ()
79004 return f != $ac_func;
79006 return 0;
79008 _ACEOF
79009 rm -f conftest.$ac_objext conftest$ac_exeext
79010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79011 (eval $ac_link) 2>conftest.er1
79012 ac_status=$?
79013 grep -v '^ *+' conftest.er1 >conftest.err
79014 rm -f conftest.er1
79015 cat conftest.err >&5
79016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79017 (exit $ac_status); } &&
79018 { ac_try='test -z "$ac_c_werror_flag"
79019 || test ! -s conftest.err'
79020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79021 (eval $ac_try) 2>&5
79022 ac_status=$?
79023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79024 (exit $ac_status); }; } &&
79025 { ac_try='test -s conftest$ac_exeext'
79026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79027 (eval $ac_try) 2>&5
79028 ac_status=$?
79029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79030 (exit $ac_status); }; }; then
79031 eval "$as_ac_var=yes"
79032 else
79033 echo "$as_me: failed program was:" >&5
79034 sed 's/^/| /' conftest.$ac_ext >&5
79036 eval "$as_ac_var=no"
79038 rm -f conftest.err conftest.$ac_objext \
79039 conftest$ac_exeext conftest.$ac_ext
79041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79043 if test `eval echo '${'$as_ac_var'}'` = yes; then
79044 cat >>confdefs.h <<_ACEOF
79045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79046 _ACEOF
79049 done
79059 echo "$as_me:$LINENO: checking for hypot declaration" >&5
79060 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
79061 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
79062 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
79063 echo $ECHO_N "(cached) $ECHO_C" >&6
79064 else
79068 ac_ext=cc
79069 ac_cpp='$CXXCPP $CPPFLAGS'
79070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79074 cat >conftest.$ac_ext <<_ACEOF
79075 /* confdefs.h. */
79076 _ACEOF
79077 cat confdefs.h >>conftest.$ac_ext
79078 cat >>conftest.$ac_ext <<_ACEOF
79079 /* end confdefs.h. */
79080 #include <math.h>
79082 main ()
79084 hypot(0, 0);
79086 return 0;
79088 _ACEOF
79089 rm -f conftest.$ac_objext
79090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79091 (eval $ac_compile) 2>conftest.er1
79092 ac_status=$?
79093 grep -v '^ *+' conftest.er1 >conftest.err
79094 rm -f conftest.er1
79095 cat conftest.err >&5
79096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79097 (exit $ac_status); } &&
79098 { ac_try='test -z "$ac_cxx_werror_flag"
79099 || test ! -s conftest.err'
79100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79101 (eval $ac_try) 2>&5
79102 ac_status=$?
79103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79104 (exit $ac_status); }; } &&
79105 { ac_try='test -s conftest.$ac_objext'
79106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79107 (eval $ac_try) 2>&5
79108 ac_status=$?
79109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79110 (exit $ac_status); }; }; then
79111 glibcxx_cv_func_hypot_use=yes
79112 else
79113 echo "$as_me: failed program was:" >&5
79114 sed 's/^/| /' conftest.$ac_ext >&5
79116 glibcxx_cv_func_hypot_use=no
79118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79119 ac_ext=c
79120 ac_cpp='$CPP $CPPFLAGS'
79121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79129 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
79130 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
79132 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
79134 for ac_func in hypot
79136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79137 echo "$as_me:$LINENO: checking for $ac_func" >&5
79138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79139 if eval "test \"\${$as_ac_var+set}\" = set"; then
79140 echo $ECHO_N "(cached) $ECHO_C" >&6
79141 else
79142 if test x$gcc_no_link = xyes; then
79143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79145 { (exit 1); exit 1; }; }
79147 cat >conftest.$ac_ext <<_ACEOF
79148 /* confdefs.h. */
79149 _ACEOF
79150 cat confdefs.h >>conftest.$ac_ext
79151 cat >>conftest.$ac_ext <<_ACEOF
79152 /* end confdefs.h. */
79153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79155 #define $ac_func innocuous_$ac_func
79157 /* System header to define __stub macros and hopefully few prototypes,
79158 which can conflict with char $ac_func (); below.
79159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79160 <limits.h> exists even on freestanding compilers. */
79162 #ifdef __STDC__
79163 # include <limits.h>
79164 #else
79165 # include <assert.h>
79166 #endif
79168 #undef $ac_func
79170 /* Override any gcc2 internal prototype to avoid an error. */
79171 #ifdef __cplusplus
79172 extern "C"
79174 #endif
79175 /* We use char because int might match the return type of a gcc2
79176 builtin and then its argument prototype would still apply. */
79177 char $ac_func ();
79178 /* The GNU C library defines this for functions which it implements
79179 to always fail with ENOSYS. Some functions are actually named
79180 something starting with __ and the normal name is an alias. */
79181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79182 choke me
79183 #else
79184 char (*f) () = $ac_func;
79185 #endif
79186 #ifdef __cplusplus
79188 #endif
79191 main ()
79193 return f != $ac_func;
79195 return 0;
79197 _ACEOF
79198 rm -f conftest.$ac_objext conftest$ac_exeext
79199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79200 (eval $ac_link) 2>conftest.er1
79201 ac_status=$?
79202 grep -v '^ *+' conftest.er1 >conftest.err
79203 rm -f conftest.er1
79204 cat conftest.err >&5
79205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79206 (exit $ac_status); } &&
79207 { ac_try='test -z "$ac_c_werror_flag"
79208 || test ! -s conftest.err'
79209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79210 (eval $ac_try) 2>&5
79211 ac_status=$?
79212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79213 (exit $ac_status); }; } &&
79214 { ac_try='test -s conftest$ac_exeext'
79215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79216 (eval $ac_try) 2>&5
79217 ac_status=$?
79218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79219 (exit $ac_status); }; }; then
79220 eval "$as_ac_var=yes"
79221 else
79222 echo "$as_me: failed program was:" >&5
79223 sed 's/^/| /' conftest.$ac_ext >&5
79225 eval "$as_ac_var=no"
79227 rm -f conftest.err conftest.$ac_objext \
79228 conftest$ac_exeext conftest.$ac_ext
79230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79232 if test `eval echo '${'$as_ac_var'}'` = yes; then
79233 cat >>confdefs.h <<_ACEOF
79234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79235 _ACEOF
79238 done
79240 else
79242 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
79243 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
79244 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
79245 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
79246 echo $ECHO_N "(cached) $ECHO_C" >&6
79247 else
79251 ac_ext=cc
79252 ac_cpp='$CXXCPP $CPPFLAGS'
79253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79257 cat >conftest.$ac_ext <<_ACEOF
79258 /* confdefs.h. */
79259 _ACEOF
79260 cat confdefs.h >>conftest.$ac_ext
79261 cat >>conftest.$ac_ext <<_ACEOF
79262 /* end confdefs.h. */
79263 #include <math.h>
79265 main ()
79267 _hypot(0, 0);
79269 return 0;
79271 _ACEOF
79272 rm -f conftest.$ac_objext
79273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79274 (eval $ac_compile) 2>conftest.er1
79275 ac_status=$?
79276 grep -v '^ *+' conftest.er1 >conftest.err
79277 rm -f conftest.er1
79278 cat conftest.err >&5
79279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79280 (exit $ac_status); } &&
79281 { ac_try='test -z "$ac_cxx_werror_flag"
79282 || test ! -s conftest.err'
79283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79284 (eval $ac_try) 2>&5
79285 ac_status=$?
79286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79287 (exit $ac_status); }; } &&
79288 { ac_try='test -s conftest.$ac_objext'
79289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79290 (eval $ac_try) 2>&5
79291 ac_status=$?
79292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79293 (exit $ac_status); }; }; then
79294 glibcxx_cv_func__hypot_use=yes
79295 else
79296 echo "$as_me: failed program was:" >&5
79297 sed 's/^/| /' conftest.$ac_ext >&5
79299 glibcxx_cv_func__hypot_use=no
79301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79302 ac_ext=c
79303 ac_cpp='$CPP $CPPFLAGS'
79304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79312 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
79313 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
79315 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
79317 for ac_func in _hypot
79319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79320 echo "$as_me:$LINENO: checking for $ac_func" >&5
79321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79322 if eval "test \"\${$as_ac_var+set}\" = set"; then
79323 echo $ECHO_N "(cached) $ECHO_C" >&6
79324 else
79325 if test x$gcc_no_link = xyes; then
79326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79328 { (exit 1); exit 1; }; }
79330 cat >conftest.$ac_ext <<_ACEOF
79331 /* confdefs.h. */
79332 _ACEOF
79333 cat confdefs.h >>conftest.$ac_ext
79334 cat >>conftest.$ac_ext <<_ACEOF
79335 /* end confdefs.h. */
79336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79338 #define $ac_func innocuous_$ac_func
79340 /* System header to define __stub macros and hopefully few prototypes,
79341 which can conflict with char $ac_func (); below.
79342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79343 <limits.h> exists even on freestanding compilers. */
79345 #ifdef __STDC__
79346 # include <limits.h>
79347 #else
79348 # include <assert.h>
79349 #endif
79351 #undef $ac_func
79353 /* Override any gcc2 internal prototype to avoid an error. */
79354 #ifdef __cplusplus
79355 extern "C"
79357 #endif
79358 /* We use char because int might match the return type of a gcc2
79359 builtin and then its argument prototype would still apply. */
79360 char $ac_func ();
79361 /* The GNU C library defines this for functions which it implements
79362 to always fail with ENOSYS. Some functions are actually named
79363 something starting with __ and the normal name is an alias. */
79364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79365 choke me
79366 #else
79367 char (*f) () = $ac_func;
79368 #endif
79369 #ifdef __cplusplus
79371 #endif
79374 main ()
79376 return f != $ac_func;
79378 return 0;
79380 _ACEOF
79381 rm -f conftest.$ac_objext conftest$ac_exeext
79382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79383 (eval $ac_link) 2>conftest.er1
79384 ac_status=$?
79385 grep -v '^ *+' conftest.er1 >conftest.err
79386 rm -f conftest.er1
79387 cat conftest.err >&5
79388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79389 (exit $ac_status); } &&
79390 { ac_try='test -z "$ac_c_werror_flag"
79391 || test ! -s conftest.err'
79392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79393 (eval $ac_try) 2>&5
79394 ac_status=$?
79395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79396 (exit $ac_status); }; } &&
79397 { ac_try='test -s conftest$ac_exeext'
79398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79399 (eval $ac_try) 2>&5
79400 ac_status=$?
79401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79402 (exit $ac_status); }; }; then
79403 eval "$as_ac_var=yes"
79404 else
79405 echo "$as_me: failed program was:" >&5
79406 sed 's/^/| /' conftest.$ac_ext >&5
79408 eval "$as_ac_var=no"
79410 rm -f conftest.err conftest.$ac_objext \
79411 conftest$ac_exeext conftest.$ac_ext
79413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79415 if test `eval echo '${'$as_ac_var'}'` = yes; then
79416 cat >>confdefs.h <<_ACEOF
79417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79418 _ACEOF
79421 done
79431 echo "$as_me:$LINENO: checking for float trig functions" >&5
79432 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
79433 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
79434 echo $ECHO_N "(cached) $ECHO_C" >&6
79435 else
79439 ac_ext=cc
79440 ac_cpp='$CXXCPP $CPPFLAGS'
79441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79445 cat >conftest.$ac_ext <<_ACEOF
79446 /* confdefs.h. */
79447 _ACEOF
79448 cat confdefs.h >>conftest.$ac_ext
79449 cat >>conftest.$ac_ext <<_ACEOF
79450 /* end confdefs.h. */
79451 #include <math.h>
79453 main ()
79455 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
79457 return 0;
79459 _ACEOF
79460 rm -f conftest.$ac_objext
79461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79462 (eval $ac_compile) 2>conftest.er1
79463 ac_status=$?
79464 grep -v '^ *+' conftest.er1 >conftest.err
79465 rm -f conftest.er1
79466 cat conftest.err >&5
79467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79468 (exit $ac_status); } &&
79469 { ac_try='test -z "$ac_cxx_werror_flag"
79470 || test ! -s conftest.err'
79471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79472 (eval $ac_try) 2>&5
79473 ac_status=$?
79474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79475 (exit $ac_status); }; } &&
79476 { ac_try='test -s conftest.$ac_objext'
79477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79478 (eval $ac_try) 2>&5
79479 ac_status=$?
79480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79481 (exit $ac_status); }; }; then
79482 glibcxx_cv_func_float_trig_use=yes
79483 else
79484 echo "$as_me: failed program was:" >&5
79485 sed 's/^/| /' conftest.$ac_ext >&5
79487 glibcxx_cv_func_float_trig_use=no
79489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79490 ac_ext=c
79491 ac_cpp='$CPP $CPPFLAGS'
79492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79498 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
79499 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
79500 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
79510 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
79512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79513 echo "$as_me:$LINENO: checking for $ac_func" >&5
79514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79515 if eval "test \"\${$as_ac_var+set}\" = set"; then
79516 echo $ECHO_N "(cached) $ECHO_C" >&6
79517 else
79518 if test x$gcc_no_link = xyes; then
79519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79521 { (exit 1); exit 1; }; }
79523 cat >conftest.$ac_ext <<_ACEOF
79524 /* confdefs.h. */
79525 _ACEOF
79526 cat confdefs.h >>conftest.$ac_ext
79527 cat >>conftest.$ac_ext <<_ACEOF
79528 /* end confdefs.h. */
79529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79531 #define $ac_func innocuous_$ac_func
79533 /* System header to define __stub macros and hopefully few prototypes,
79534 which can conflict with char $ac_func (); below.
79535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79536 <limits.h> exists even on freestanding compilers. */
79538 #ifdef __STDC__
79539 # include <limits.h>
79540 #else
79541 # include <assert.h>
79542 #endif
79544 #undef $ac_func
79546 /* Override any gcc2 internal prototype to avoid an error. */
79547 #ifdef __cplusplus
79548 extern "C"
79550 #endif
79551 /* We use char because int might match the return type of a gcc2
79552 builtin and then its argument prototype would still apply. */
79553 char $ac_func ();
79554 /* The GNU C library defines this for functions which it implements
79555 to always fail with ENOSYS. Some functions are actually named
79556 something starting with __ and the normal name is an alias. */
79557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79558 choke me
79559 #else
79560 char (*f) () = $ac_func;
79561 #endif
79562 #ifdef __cplusplus
79564 #endif
79567 main ()
79569 return f != $ac_func;
79571 return 0;
79573 _ACEOF
79574 rm -f conftest.$ac_objext conftest$ac_exeext
79575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79576 (eval $ac_link) 2>conftest.er1
79577 ac_status=$?
79578 grep -v '^ *+' conftest.er1 >conftest.err
79579 rm -f conftest.er1
79580 cat conftest.err >&5
79581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79582 (exit $ac_status); } &&
79583 { ac_try='test -z "$ac_c_werror_flag"
79584 || test ! -s conftest.err'
79585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79586 (eval $ac_try) 2>&5
79587 ac_status=$?
79588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79589 (exit $ac_status); }; } &&
79590 { ac_try='test -s conftest$ac_exeext'
79591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79592 (eval $ac_try) 2>&5
79593 ac_status=$?
79594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79595 (exit $ac_status); }; }; then
79596 eval "$as_ac_var=yes"
79597 else
79598 echo "$as_me: failed program was:" >&5
79599 sed 's/^/| /' conftest.$ac_ext >&5
79601 eval "$as_ac_var=no"
79603 rm -f conftest.err conftest.$ac_objext \
79604 conftest$ac_exeext conftest.$ac_ext
79606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79608 if test `eval echo '${'$as_ac_var'}'` = yes; then
79609 cat >>confdefs.h <<_ACEOF
79610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79611 _ACEOF
79614 done
79616 else
79617 echo "$as_me:$LINENO: checking for _float trig functions" >&5
79618 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
79619 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
79620 echo $ECHO_N "(cached) $ECHO_C" >&6
79621 else
79625 ac_ext=cc
79626 ac_cpp='$CXXCPP $CPPFLAGS'
79627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79631 cat >conftest.$ac_ext <<_ACEOF
79632 /* confdefs.h. */
79633 _ACEOF
79634 cat confdefs.h >>conftest.$ac_ext
79635 cat >>conftest.$ac_ext <<_ACEOF
79636 /* end confdefs.h. */
79637 #include <math.h>
79639 main ()
79641 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
79643 return 0;
79645 _ACEOF
79646 rm -f conftest.$ac_objext
79647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79648 (eval $ac_compile) 2>conftest.er1
79649 ac_status=$?
79650 grep -v '^ *+' conftest.er1 >conftest.err
79651 rm -f conftest.er1
79652 cat conftest.err >&5
79653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79654 (exit $ac_status); } &&
79655 { ac_try='test -z "$ac_cxx_werror_flag"
79656 || test ! -s conftest.err'
79657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79658 (eval $ac_try) 2>&5
79659 ac_status=$?
79660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79661 (exit $ac_status); }; } &&
79662 { ac_try='test -s conftest.$ac_objext'
79663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79664 (eval $ac_try) 2>&5
79665 ac_status=$?
79666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79667 (exit $ac_status); }; }; then
79668 glibcxx_cv_func__float_trig_use=yes
79669 else
79670 echo "$as_me: failed program was:" >&5
79671 sed 's/^/| /' conftest.$ac_ext >&5
79673 glibcxx_cv_func__float_trig_use=no
79675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79676 ac_ext=c
79677 ac_cpp='$CPP $CPPFLAGS'
79678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79684 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
79685 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
79686 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
79696 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
79698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79699 echo "$as_me:$LINENO: checking for $ac_func" >&5
79700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79701 if eval "test \"\${$as_ac_var+set}\" = set"; then
79702 echo $ECHO_N "(cached) $ECHO_C" >&6
79703 else
79704 if test x$gcc_no_link = xyes; then
79705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79707 { (exit 1); exit 1; }; }
79709 cat >conftest.$ac_ext <<_ACEOF
79710 /* confdefs.h. */
79711 _ACEOF
79712 cat confdefs.h >>conftest.$ac_ext
79713 cat >>conftest.$ac_ext <<_ACEOF
79714 /* end confdefs.h. */
79715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79717 #define $ac_func innocuous_$ac_func
79719 /* System header to define __stub macros and hopefully few prototypes,
79720 which can conflict with char $ac_func (); below.
79721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79722 <limits.h> exists even on freestanding compilers. */
79724 #ifdef __STDC__
79725 # include <limits.h>
79726 #else
79727 # include <assert.h>
79728 #endif
79730 #undef $ac_func
79732 /* Override any gcc2 internal prototype to avoid an error. */
79733 #ifdef __cplusplus
79734 extern "C"
79736 #endif
79737 /* We use char because int might match the return type of a gcc2
79738 builtin and then its argument prototype would still apply. */
79739 char $ac_func ();
79740 /* The GNU C library defines this for functions which it implements
79741 to always fail with ENOSYS. Some functions are actually named
79742 something starting with __ and the normal name is an alias. */
79743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79744 choke me
79745 #else
79746 char (*f) () = $ac_func;
79747 #endif
79748 #ifdef __cplusplus
79750 #endif
79753 main ()
79755 return f != $ac_func;
79757 return 0;
79759 _ACEOF
79760 rm -f conftest.$ac_objext conftest$ac_exeext
79761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79762 (eval $ac_link) 2>conftest.er1
79763 ac_status=$?
79764 grep -v '^ *+' conftest.er1 >conftest.err
79765 rm -f conftest.er1
79766 cat conftest.err >&5
79767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79768 (exit $ac_status); } &&
79769 { ac_try='test -z "$ac_c_werror_flag"
79770 || test ! -s conftest.err'
79771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79772 (eval $ac_try) 2>&5
79773 ac_status=$?
79774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79775 (exit $ac_status); }; } &&
79776 { ac_try='test -s conftest$ac_exeext'
79777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79778 (eval $ac_try) 2>&5
79779 ac_status=$?
79780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79781 (exit $ac_status); }; }; then
79782 eval "$as_ac_var=yes"
79783 else
79784 echo "$as_me: failed program was:" >&5
79785 sed 's/^/| /' conftest.$ac_ext >&5
79787 eval "$as_ac_var=no"
79789 rm -f conftest.err conftest.$ac_objext \
79790 conftest$ac_exeext conftest.$ac_ext
79792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79794 if test `eval echo '${'$as_ac_var'}'` = yes; then
79795 cat >>confdefs.h <<_ACEOF
79796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79797 _ACEOF
79800 done
79818 echo "$as_me:$LINENO: checking for float round functions" >&5
79819 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
79820 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
79821 echo $ECHO_N "(cached) $ECHO_C" >&6
79822 else
79826 ac_ext=cc
79827 ac_cpp='$CXXCPP $CPPFLAGS'
79828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79832 cat >conftest.$ac_ext <<_ACEOF
79833 /* confdefs.h. */
79834 _ACEOF
79835 cat confdefs.h >>conftest.$ac_ext
79836 cat >>conftest.$ac_ext <<_ACEOF
79837 /* end confdefs.h. */
79838 #include <math.h>
79840 main ()
79842 ceilf (0); floorf (0);
79844 return 0;
79846 _ACEOF
79847 rm -f conftest.$ac_objext
79848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79849 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_float_round_use=yes
79870 else
79871 echo "$as_me: failed program was:" >&5
79872 sed 's/^/| /' conftest.$ac_ext >&5
79874 glibcxx_cv_func_float_round_use=no
79876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79877 ac_ext=c
79878 ac_cpp='$CPP $CPPFLAGS'
79879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79885 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
79886 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
79887 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
79890 for ac_func in ceilf floorf
79892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79893 echo "$as_me:$LINENO: checking for $ac_func" >&5
79894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79895 if eval "test \"\${$as_ac_var+set}\" = set"; then
79896 echo $ECHO_N "(cached) $ECHO_C" >&6
79897 else
79898 if test x$gcc_no_link = xyes; then
79899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79901 { (exit 1); exit 1; }; }
79903 cat >conftest.$ac_ext <<_ACEOF
79904 /* confdefs.h. */
79905 _ACEOF
79906 cat confdefs.h >>conftest.$ac_ext
79907 cat >>conftest.$ac_ext <<_ACEOF
79908 /* end confdefs.h. */
79909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79911 #define $ac_func innocuous_$ac_func
79913 /* System header to define __stub macros and hopefully few prototypes,
79914 which can conflict with char $ac_func (); below.
79915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79916 <limits.h> exists even on freestanding compilers. */
79918 #ifdef __STDC__
79919 # include <limits.h>
79920 #else
79921 # include <assert.h>
79922 #endif
79924 #undef $ac_func
79926 /* Override any gcc2 internal prototype to avoid an error. */
79927 #ifdef __cplusplus
79928 extern "C"
79930 #endif
79931 /* We use char because int might match the return type of a gcc2
79932 builtin and then its argument prototype would still apply. */
79933 char $ac_func ();
79934 /* The GNU C library defines this for functions which it implements
79935 to always fail with ENOSYS. Some functions are actually named
79936 something starting with __ and the normal name is an alias. */
79937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79938 choke me
79939 #else
79940 char (*f) () = $ac_func;
79941 #endif
79942 #ifdef __cplusplus
79944 #endif
79947 main ()
79949 return f != $ac_func;
79951 return 0;
79953 _ACEOF
79954 rm -f conftest.$ac_objext conftest$ac_exeext
79955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79956 (eval $ac_link) 2>conftest.er1
79957 ac_status=$?
79958 grep -v '^ *+' conftest.er1 >conftest.err
79959 rm -f conftest.er1
79960 cat conftest.err >&5
79961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79962 (exit $ac_status); } &&
79963 { ac_try='test -z "$ac_c_werror_flag"
79964 || test ! -s conftest.err'
79965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79966 (eval $ac_try) 2>&5
79967 ac_status=$?
79968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79969 (exit $ac_status); }; } &&
79970 { ac_try='test -s conftest$ac_exeext'
79971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79972 (eval $ac_try) 2>&5
79973 ac_status=$?
79974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79975 (exit $ac_status); }; }; then
79976 eval "$as_ac_var=yes"
79977 else
79978 echo "$as_me: failed program was:" >&5
79979 sed 's/^/| /' conftest.$ac_ext >&5
79981 eval "$as_ac_var=no"
79983 rm -f conftest.err conftest.$ac_objext \
79984 conftest$ac_exeext conftest.$ac_ext
79986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79988 if test `eval echo '${'$as_ac_var'}'` = yes; then
79989 cat >>confdefs.h <<_ACEOF
79990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79991 _ACEOF
79994 done
79996 else
79997 echo "$as_me:$LINENO: checking for _float round functions" >&5
79998 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
79999 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
80000 echo $ECHO_N "(cached) $ECHO_C" >&6
80001 else
80005 ac_ext=cc
80006 ac_cpp='$CXXCPP $CPPFLAGS'
80007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80011 cat >conftest.$ac_ext <<_ACEOF
80012 /* confdefs.h. */
80013 _ACEOF
80014 cat confdefs.h >>conftest.$ac_ext
80015 cat >>conftest.$ac_ext <<_ACEOF
80016 /* end confdefs.h. */
80017 #include <math.h>
80019 main ()
80021 _ceilf (0); _floorf (0);
80023 return 0;
80025 _ACEOF
80026 rm -f conftest.$ac_objext
80027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80028 (eval $ac_compile) 2>conftest.er1
80029 ac_status=$?
80030 grep -v '^ *+' conftest.er1 >conftest.err
80031 rm -f conftest.er1
80032 cat conftest.err >&5
80033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80034 (exit $ac_status); } &&
80035 { ac_try='test -z "$ac_cxx_werror_flag"
80036 || test ! -s conftest.err'
80037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80038 (eval $ac_try) 2>&5
80039 ac_status=$?
80040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80041 (exit $ac_status); }; } &&
80042 { ac_try='test -s conftest.$ac_objext'
80043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80044 (eval $ac_try) 2>&5
80045 ac_status=$?
80046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80047 (exit $ac_status); }; }; then
80048 glibcxx_cv_func__float_round_use=yes
80049 else
80050 echo "$as_me: failed program was:" >&5
80051 sed 's/^/| /' conftest.$ac_ext >&5
80053 glibcxx_cv_func__float_round_use=no
80055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80056 ac_ext=c
80057 ac_cpp='$CPP $CPPFLAGS'
80058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80064 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
80065 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
80066 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
80069 for ac_func in _ceilf _floorf
80071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80072 echo "$as_me:$LINENO: checking for $ac_func" >&5
80073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80074 if eval "test \"\${$as_ac_var+set}\" = set"; then
80075 echo $ECHO_N "(cached) $ECHO_C" >&6
80076 else
80077 if test x$gcc_no_link = xyes; then
80078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80080 { (exit 1); exit 1; }; }
80082 cat >conftest.$ac_ext <<_ACEOF
80083 /* confdefs.h. */
80084 _ACEOF
80085 cat confdefs.h >>conftest.$ac_ext
80086 cat >>conftest.$ac_ext <<_ACEOF
80087 /* end confdefs.h. */
80088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80090 #define $ac_func innocuous_$ac_func
80092 /* System header to define __stub macros and hopefully few prototypes,
80093 which can conflict with char $ac_func (); below.
80094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80095 <limits.h> exists even on freestanding compilers. */
80097 #ifdef __STDC__
80098 # include <limits.h>
80099 #else
80100 # include <assert.h>
80101 #endif
80103 #undef $ac_func
80105 /* Override any gcc2 internal prototype to avoid an error. */
80106 #ifdef __cplusplus
80107 extern "C"
80109 #endif
80110 /* We use char because int might match the return type of a gcc2
80111 builtin and then its argument prototype would still apply. */
80112 char $ac_func ();
80113 /* The GNU C library defines this for functions which it implements
80114 to always fail with ENOSYS. Some functions are actually named
80115 something starting with __ and the normal name is an alias. */
80116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80117 choke me
80118 #else
80119 char (*f) () = $ac_func;
80120 #endif
80121 #ifdef __cplusplus
80123 #endif
80126 main ()
80128 return f != $ac_func;
80130 return 0;
80132 _ACEOF
80133 rm -f conftest.$ac_objext conftest$ac_exeext
80134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80135 (eval $ac_link) 2>conftest.er1
80136 ac_status=$?
80137 grep -v '^ *+' conftest.er1 >conftest.err
80138 rm -f conftest.er1
80139 cat conftest.err >&5
80140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80141 (exit $ac_status); } &&
80142 { ac_try='test -z "$ac_c_werror_flag"
80143 || test ! -s conftest.err'
80144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80145 (eval $ac_try) 2>&5
80146 ac_status=$?
80147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80148 (exit $ac_status); }; } &&
80149 { ac_try='test -s conftest$ac_exeext'
80150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80151 (eval $ac_try) 2>&5
80152 ac_status=$?
80153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80154 (exit $ac_status); }; }; then
80155 eval "$as_ac_var=yes"
80156 else
80157 echo "$as_me: failed program was:" >&5
80158 sed 's/^/| /' conftest.$ac_ext >&5
80160 eval "$as_ac_var=no"
80162 rm -f conftest.err conftest.$ac_objext \
80163 conftest$ac_exeext conftest.$ac_ext
80165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80167 if test `eval echo '${'$as_ac_var'}'` = yes; then
80168 cat >>confdefs.h <<_ACEOF
80169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80170 _ACEOF
80173 done
80185 echo "$as_me:$LINENO: checking for expf declaration" >&5
80186 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
80187 if test x${glibcxx_cv_func_expf_use+set} != xset; then
80188 if test "${glibcxx_cv_func_expf_use+set}" = set; then
80189 echo $ECHO_N "(cached) $ECHO_C" >&6
80190 else
80194 ac_ext=cc
80195 ac_cpp='$CXXCPP $CPPFLAGS'
80196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80200 cat >conftest.$ac_ext <<_ACEOF
80201 /* confdefs.h. */
80202 _ACEOF
80203 cat confdefs.h >>conftest.$ac_ext
80204 cat >>conftest.$ac_ext <<_ACEOF
80205 /* end confdefs.h. */
80206 #include <math.h>
80207 #ifdef HAVE_IEEEFP_H
80208 #include <ieeefp.h>
80209 #endif
80212 main ()
80214 expf(0);
80216 return 0;
80218 _ACEOF
80219 rm -f conftest.$ac_objext
80220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80221 (eval $ac_compile) 2>conftest.er1
80222 ac_status=$?
80223 grep -v '^ *+' conftest.er1 >conftest.err
80224 rm -f conftest.er1
80225 cat conftest.err >&5
80226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80227 (exit $ac_status); } &&
80228 { ac_try='test -z "$ac_cxx_werror_flag"
80229 || test ! -s conftest.err'
80230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80231 (eval $ac_try) 2>&5
80232 ac_status=$?
80233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80234 (exit $ac_status); }; } &&
80235 { ac_try='test -s conftest.$ac_objext'
80236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80237 (eval $ac_try) 2>&5
80238 ac_status=$?
80239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80240 (exit $ac_status); }; }; then
80241 glibcxx_cv_func_expf_use=yes
80242 else
80243 echo "$as_me: failed program was:" >&5
80244 sed 's/^/| /' conftest.$ac_ext >&5
80246 glibcxx_cv_func_expf_use=no
80248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80249 ac_ext=c
80250 ac_cpp='$CPP $CPPFLAGS'
80251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80259 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
80260 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
80262 if test x$glibcxx_cv_func_expf_use = x"yes"; then
80264 for ac_func in expf
80266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80267 echo "$as_me:$LINENO: checking for $ac_func" >&5
80268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80269 if eval "test \"\${$as_ac_var+set}\" = set"; then
80270 echo $ECHO_N "(cached) $ECHO_C" >&6
80271 else
80272 if test x$gcc_no_link = xyes; then
80273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80275 { (exit 1); exit 1; }; }
80277 cat >conftest.$ac_ext <<_ACEOF
80278 /* confdefs.h. */
80279 _ACEOF
80280 cat confdefs.h >>conftest.$ac_ext
80281 cat >>conftest.$ac_ext <<_ACEOF
80282 /* end confdefs.h. */
80283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80285 #define $ac_func innocuous_$ac_func
80287 /* System header to define __stub macros and hopefully few prototypes,
80288 which can conflict with char $ac_func (); below.
80289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80290 <limits.h> exists even on freestanding compilers. */
80292 #ifdef __STDC__
80293 # include <limits.h>
80294 #else
80295 # include <assert.h>
80296 #endif
80298 #undef $ac_func
80300 /* Override any gcc2 internal prototype to avoid an error. */
80301 #ifdef __cplusplus
80302 extern "C"
80304 #endif
80305 /* We use char because int might match the return type of a gcc2
80306 builtin and then its argument prototype would still apply. */
80307 char $ac_func ();
80308 /* The GNU C library defines this for functions which it implements
80309 to always fail with ENOSYS. Some functions are actually named
80310 something starting with __ and the normal name is an alias. */
80311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80312 choke me
80313 #else
80314 char (*f) () = $ac_func;
80315 #endif
80316 #ifdef __cplusplus
80318 #endif
80321 main ()
80323 return f != $ac_func;
80325 return 0;
80327 _ACEOF
80328 rm -f conftest.$ac_objext conftest$ac_exeext
80329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80330 (eval $ac_link) 2>conftest.er1
80331 ac_status=$?
80332 grep -v '^ *+' conftest.er1 >conftest.err
80333 rm -f conftest.er1
80334 cat conftest.err >&5
80335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80336 (exit $ac_status); } &&
80337 { ac_try='test -z "$ac_c_werror_flag"
80338 || test ! -s conftest.err'
80339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80340 (eval $ac_try) 2>&5
80341 ac_status=$?
80342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80343 (exit $ac_status); }; } &&
80344 { ac_try='test -s conftest$ac_exeext'
80345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80346 (eval $ac_try) 2>&5
80347 ac_status=$?
80348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80349 (exit $ac_status); }; }; then
80350 eval "$as_ac_var=yes"
80351 else
80352 echo "$as_me: failed program was:" >&5
80353 sed 's/^/| /' conftest.$ac_ext >&5
80355 eval "$as_ac_var=no"
80357 rm -f conftest.err conftest.$ac_objext \
80358 conftest$ac_exeext conftest.$ac_ext
80360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80362 if test `eval echo '${'$as_ac_var'}'` = yes; then
80363 cat >>confdefs.h <<_ACEOF
80364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80365 _ACEOF
80368 done
80370 else
80372 echo "$as_me:$LINENO: checking for _expf declaration" >&5
80373 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
80374 if test x${glibcxx_cv_func__expf_use+set} != xset; then
80375 if test "${glibcxx_cv_func__expf_use+set}" = set; then
80376 echo $ECHO_N "(cached) $ECHO_C" >&6
80377 else
80381 ac_ext=cc
80382 ac_cpp='$CXXCPP $CPPFLAGS'
80383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80387 cat >conftest.$ac_ext <<_ACEOF
80388 /* confdefs.h. */
80389 _ACEOF
80390 cat confdefs.h >>conftest.$ac_ext
80391 cat >>conftest.$ac_ext <<_ACEOF
80392 /* end confdefs.h. */
80393 #include <math.h>
80394 #ifdef HAVE_IEEEFP_H
80395 #include <ieeefp.h>
80396 #endif
80399 main ()
80401 _expf(0);
80403 return 0;
80405 _ACEOF
80406 rm -f conftest.$ac_objext
80407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80408 (eval $ac_compile) 2>conftest.er1
80409 ac_status=$?
80410 grep -v '^ *+' conftest.er1 >conftest.err
80411 rm -f conftest.er1
80412 cat conftest.err >&5
80413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80414 (exit $ac_status); } &&
80415 { ac_try='test -z "$ac_cxx_werror_flag"
80416 || test ! -s conftest.err'
80417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80418 (eval $ac_try) 2>&5
80419 ac_status=$?
80420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80421 (exit $ac_status); }; } &&
80422 { ac_try='test -s conftest.$ac_objext'
80423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80424 (eval $ac_try) 2>&5
80425 ac_status=$?
80426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80427 (exit $ac_status); }; }; then
80428 glibcxx_cv_func__expf_use=yes
80429 else
80430 echo "$as_me: failed program was:" >&5
80431 sed 's/^/| /' conftest.$ac_ext >&5
80433 glibcxx_cv_func__expf_use=no
80435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80436 ac_ext=c
80437 ac_cpp='$CPP $CPPFLAGS'
80438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80446 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
80447 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
80449 if test x$glibcxx_cv_func__expf_use = x"yes"; then
80451 for ac_func in _expf
80453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80454 echo "$as_me:$LINENO: checking for $ac_func" >&5
80455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80456 if eval "test \"\${$as_ac_var+set}\" = set"; then
80457 echo $ECHO_N "(cached) $ECHO_C" >&6
80458 else
80459 if test x$gcc_no_link = xyes; then
80460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80462 { (exit 1); exit 1; }; }
80464 cat >conftest.$ac_ext <<_ACEOF
80465 /* confdefs.h. */
80466 _ACEOF
80467 cat confdefs.h >>conftest.$ac_ext
80468 cat >>conftest.$ac_ext <<_ACEOF
80469 /* end confdefs.h. */
80470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80472 #define $ac_func innocuous_$ac_func
80474 /* System header to define __stub macros and hopefully few prototypes,
80475 which can conflict with char $ac_func (); below.
80476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80477 <limits.h> exists even on freestanding compilers. */
80479 #ifdef __STDC__
80480 # include <limits.h>
80481 #else
80482 # include <assert.h>
80483 #endif
80485 #undef $ac_func
80487 /* Override any gcc2 internal prototype to avoid an error. */
80488 #ifdef __cplusplus
80489 extern "C"
80491 #endif
80492 /* We use char because int might match the return type of a gcc2
80493 builtin and then its argument prototype would still apply. */
80494 char $ac_func ();
80495 /* The GNU C library defines this for functions which it implements
80496 to always fail with ENOSYS. Some functions are actually named
80497 something starting with __ and the normal name is an alias. */
80498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80499 choke me
80500 #else
80501 char (*f) () = $ac_func;
80502 #endif
80503 #ifdef __cplusplus
80505 #endif
80508 main ()
80510 return f != $ac_func;
80512 return 0;
80514 _ACEOF
80515 rm -f conftest.$ac_objext conftest$ac_exeext
80516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80517 (eval $ac_link) 2>conftest.er1
80518 ac_status=$?
80519 grep -v '^ *+' conftest.er1 >conftest.err
80520 rm -f conftest.er1
80521 cat conftest.err >&5
80522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80523 (exit $ac_status); } &&
80524 { ac_try='test -z "$ac_c_werror_flag"
80525 || test ! -s conftest.err'
80526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80527 (eval $ac_try) 2>&5
80528 ac_status=$?
80529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80530 (exit $ac_status); }; } &&
80531 { ac_try='test -s conftest$ac_exeext'
80532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80533 (eval $ac_try) 2>&5
80534 ac_status=$?
80535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80536 (exit $ac_status); }; }; then
80537 eval "$as_ac_var=yes"
80538 else
80539 echo "$as_me: failed program was:" >&5
80540 sed 's/^/| /' conftest.$ac_ext >&5
80542 eval "$as_ac_var=no"
80544 rm -f conftest.err conftest.$ac_objext \
80545 conftest$ac_exeext conftest.$ac_ext
80547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80549 if test `eval echo '${'$as_ac_var'}'` = yes; then
80550 cat >>confdefs.h <<_ACEOF
80551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80552 _ACEOF
80555 done
80565 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
80566 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
80567 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
80568 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
80569 echo $ECHO_N "(cached) $ECHO_C" >&6
80570 else
80574 ac_ext=cc
80575 ac_cpp='$CXXCPP $CPPFLAGS'
80576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80580 cat >conftest.$ac_ext <<_ACEOF
80581 /* confdefs.h. */
80582 _ACEOF
80583 cat confdefs.h >>conftest.$ac_ext
80584 cat >>conftest.$ac_ext <<_ACEOF
80585 /* end confdefs.h. */
80586 #include <math.h>
80587 #ifdef HAVE_IEEEFP_H
80588 #include <ieeefp.h>
80589 #endif
80592 main ()
80594 isnanf(0);
80596 return 0;
80598 _ACEOF
80599 rm -f conftest.$ac_objext
80600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80601 (eval $ac_compile) 2>conftest.er1
80602 ac_status=$?
80603 grep -v '^ *+' conftest.er1 >conftest.err
80604 rm -f conftest.er1
80605 cat conftest.err >&5
80606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80607 (exit $ac_status); } &&
80608 { ac_try='test -z "$ac_cxx_werror_flag"
80609 || test ! -s conftest.err'
80610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80611 (eval $ac_try) 2>&5
80612 ac_status=$?
80613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80614 (exit $ac_status); }; } &&
80615 { ac_try='test -s conftest.$ac_objext'
80616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80617 (eval $ac_try) 2>&5
80618 ac_status=$?
80619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80620 (exit $ac_status); }; }; then
80621 glibcxx_cv_func_isnanf_use=yes
80622 else
80623 echo "$as_me: failed program was:" >&5
80624 sed 's/^/| /' conftest.$ac_ext >&5
80626 glibcxx_cv_func_isnanf_use=no
80628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80629 ac_ext=c
80630 ac_cpp='$CPP $CPPFLAGS'
80631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80639 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
80640 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
80642 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
80644 for ac_func in isnanf
80646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80647 echo "$as_me:$LINENO: checking for $ac_func" >&5
80648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80649 if eval "test \"\${$as_ac_var+set}\" = set"; then
80650 echo $ECHO_N "(cached) $ECHO_C" >&6
80651 else
80652 if test x$gcc_no_link = xyes; then
80653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80655 { (exit 1); exit 1; }; }
80657 cat >conftest.$ac_ext <<_ACEOF
80658 /* confdefs.h. */
80659 _ACEOF
80660 cat confdefs.h >>conftest.$ac_ext
80661 cat >>conftest.$ac_ext <<_ACEOF
80662 /* end confdefs.h. */
80663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80665 #define $ac_func innocuous_$ac_func
80667 /* System header to define __stub macros and hopefully few prototypes,
80668 which can conflict with char $ac_func (); below.
80669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80670 <limits.h> exists even on freestanding compilers. */
80672 #ifdef __STDC__
80673 # include <limits.h>
80674 #else
80675 # include <assert.h>
80676 #endif
80678 #undef $ac_func
80680 /* Override any gcc2 internal prototype to avoid an error. */
80681 #ifdef __cplusplus
80682 extern "C"
80684 #endif
80685 /* We use char because int might match the return type of a gcc2
80686 builtin and then its argument prototype would still apply. */
80687 char $ac_func ();
80688 /* The GNU C library defines this for functions which it implements
80689 to always fail with ENOSYS. Some functions are actually named
80690 something starting with __ and the normal name is an alias. */
80691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80692 choke me
80693 #else
80694 char (*f) () = $ac_func;
80695 #endif
80696 #ifdef __cplusplus
80698 #endif
80701 main ()
80703 return f != $ac_func;
80705 return 0;
80707 _ACEOF
80708 rm -f conftest.$ac_objext conftest$ac_exeext
80709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80710 (eval $ac_link) 2>conftest.er1
80711 ac_status=$?
80712 grep -v '^ *+' conftest.er1 >conftest.err
80713 rm -f conftest.er1
80714 cat conftest.err >&5
80715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80716 (exit $ac_status); } &&
80717 { ac_try='test -z "$ac_c_werror_flag"
80718 || test ! -s conftest.err'
80719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80720 (eval $ac_try) 2>&5
80721 ac_status=$?
80722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80723 (exit $ac_status); }; } &&
80724 { ac_try='test -s conftest$ac_exeext'
80725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80726 (eval $ac_try) 2>&5
80727 ac_status=$?
80728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80729 (exit $ac_status); }; }; then
80730 eval "$as_ac_var=yes"
80731 else
80732 echo "$as_me: failed program was:" >&5
80733 sed 's/^/| /' conftest.$ac_ext >&5
80735 eval "$as_ac_var=no"
80737 rm -f conftest.err conftest.$ac_objext \
80738 conftest$ac_exeext conftest.$ac_ext
80740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80742 if test `eval echo '${'$as_ac_var'}'` = yes; then
80743 cat >>confdefs.h <<_ACEOF
80744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80745 _ACEOF
80748 done
80750 else
80752 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
80753 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
80754 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
80755 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
80756 echo $ECHO_N "(cached) $ECHO_C" >&6
80757 else
80761 ac_ext=cc
80762 ac_cpp='$CXXCPP $CPPFLAGS'
80763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80767 cat >conftest.$ac_ext <<_ACEOF
80768 /* confdefs.h. */
80769 _ACEOF
80770 cat confdefs.h >>conftest.$ac_ext
80771 cat >>conftest.$ac_ext <<_ACEOF
80772 /* end confdefs.h. */
80773 #include <math.h>
80774 #ifdef HAVE_IEEEFP_H
80775 #include <ieeefp.h>
80776 #endif
80779 main ()
80781 _isnanf(0);
80783 return 0;
80785 _ACEOF
80786 rm -f conftest.$ac_objext
80787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80788 (eval $ac_compile) 2>conftest.er1
80789 ac_status=$?
80790 grep -v '^ *+' conftest.er1 >conftest.err
80791 rm -f conftest.er1
80792 cat conftest.err >&5
80793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80794 (exit $ac_status); } &&
80795 { ac_try='test -z "$ac_cxx_werror_flag"
80796 || test ! -s conftest.err'
80797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80798 (eval $ac_try) 2>&5
80799 ac_status=$?
80800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80801 (exit $ac_status); }; } &&
80802 { ac_try='test -s conftest.$ac_objext'
80803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80804 (eval $ac_try) 2>&5
80805 ac_status=$?
80806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80807 (exit $ac_status); }; }; then
80808 glibcxx_cv_func__isnanf_use=yes
80809 else
80810 echo "$as_me: failed program was:" >&5
80811 sed 's/^/| /' conftest.$ac_ext >&5
80813 glibcxx_cv_func__isnanf_use=no
80815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80816 ac_ext=c
80817 ac_cpp='$CPP $CPPFLAGS'
80818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80826 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
80827 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
80829 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
80831 for ac_func in _isnanf
80833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80834 echo "$as_me:$LINENO: checking for $ac_func" >&5
80835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80836 if eval "test \"\${$as_ac_var+set}\" = set"; then
80837 echo $ECHO_N "(cached) $ECHO_C" >&6
80838 else
80839 if test x$gcc_no_link = xyes; then
80840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80842 { (exit 1); exit 1; }; }
80844 cat >conftest.$ac_ext <<_ACEOF
80845 /* confdefs.h. */
80846 _ACEOF
80847 cat confdefs.h >>conftest.$ac_ext
80848 cat >>conftest.$ac_ext <<_ACEOF
80849 /* end confdefs.h. */
80850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80852 #define $ac_func innocuous_$ac_func
80854 /* System header to define __stub macros and hopefully few prototypes,
80855 which can conflict with char $ac_func (); below.
80856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80857 <limits.h> exists even on freestanding compilers. */
80859 #ifdef __STDC__
80860 # include <limits.h>
80861 #else
80862 # include <assert.h>
80863 #endif
80865 #undef $ac_func
80867 /* Override any gcc2 internal prototype to avoid an error. */
80868 #ifdef __cplusplus
80869 extern "C"
80871 #endif
80872 /* We use char because int might match the return type of a gcc2
80873 builtin and then its argument prototype would still apply. */
80874 char $ac_func ();
80875 /* The GNU C library defines this for functions which it implements
80876 to always fail with ENOSYS. Some functions are actually named
80877 something starting with __ and the normal name is an alias. */
80878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80879 choke me
80880 #else
80881 char (*f) () = $ac_func;
80882 #endif
80883 #ifdef __cplusplus
80885 #endif
80888 main ()
80890 return f != $ac_func;
80892 return 0;
80894 _ACEOF
80895 rm -f conftest.$ac_objext conftest$ac_exeext
80896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80897 (eval $ac_link) 2>conftest.er1
80898 ac_status=$?
80899 grep -v '^ *+' conftest.er1 >conftest.err
80900 rm -f conftest.er1
80901 cat conftest.err >&5
80902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80903 (exit $ac_status); } &&
80904 { ac_try='test -z "$ac_c_werror_flag"
80905 || test ! -s conftest.err'
80906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80907 (eval $ac_try) 2>&5
80908 ac_status=$?
80909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80910 (exit $ac_status); }; } &&
80911 { ac_try='test -s conftest$ac_exeext'
80912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80913 (eval $ac_try) 2>&5
80914 ac_status=$?
80915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80916 (exit $ac_status); }; }; then
80917 eval "$as_ac_var=yes"
80918 else
80919 echo "$as_me: failed program was:" >&5
80920 sed 's/^/| /' conftest.$ac_ext >&5
80922 eval "$as_ac_var=no"
80924 rm -f conftest.err conftest.$ac_objext \
80925 conftest$ac_exeext conftest.$ac_ext
80927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80929 if test `eval echo '${'$as_ac_var'}'` = yes; then
80930 cat >>confdefs.h <<_ACEOF
80931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80932 _ACEOF
80935 done
80945 echo "$as_me:$LINENO: checking for isinff declaration" >&5
80946 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
80947 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
80948 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
80949 echo $ECHO_N "(cached) $ECHO_C" >&6
80950 else
80954 ac_ext=cc
80955 ac_cpp='$CXXCPP $CPPFLAGS'
80956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80960 cat >conftest.$ac_ext <<_ACEOF
80961 /* confdefs.h. */
80962 _ACEOF
80963 cat confdefs.h >>conftest.$ac_ext
80964 cat >>conftest.$ac_ext <<_ACEOF
80965 /* end confdefs.h. */
80966 #include <math.h>
80967 #ifdef HAVE_IEEEFP_H
80968 #include <ieeefp.h>
80969 #endif
80972 main ()
80974 isinff(0);
80976 return 0;
80978 _ACEOF
80979 rm -f conftest.$ac_objext
80980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80981 (eval $ac_compile) 2>conftest.er1
80982 ac_status=$?
80983 grep -v '^ *+' conftest.er1 >conftest.err
80984 rm -f conftest.er1
80985 cat conftest.err >&5
80986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80987 (exit $ac_status); } &&
80988 { ac_try='test -z "$ac_cxx_werror_flag"
80989 || test ! -s conftest.err'
80990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80991 (eval $ac_try) 2>&5
80992 ac_status=$?
80993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80994 (exit $ac_status); }; } &&
80995 { ac_try='test -s conftest.$ac_objext'
80996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80997 (eval $ac_try) 2>&5
80998 ac_status=$?
80999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81000 (exit $ac_status); }; }; then
81001 glibcxx_cv_func_isinff_use=yes
81002 else
81003 echo "$as_me: failed program was:" >&5
81004 sed 's/^/| /' conftest.$ac_ext >&5
81006 glibcxx_cv_func_isinff_use=no
81008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81009 ac_ext=c
81010 ac_cpp='$CPP $CPPFLAGS'
81011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81019 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
81020 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
81022 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
81024 for ac_func in isinff
81026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81027 echo "$as_me:$LINENO: checking for $ac_func" >&5
81028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81029 if eval "test \"\${$as_ac_var+set}\" = set"; then
81030 echo $ECHO_N "(cached) $ECHO_C" >&6
81031 else
81032 if test x$gcc_no_link = xyes; then
81033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81035 { (exit 1); exit 1; }; }
81037 cat >conftest.$ac_ext <<_ACEOF
81038 /* confdefs.h. */
81039 _ACEOF
81040 cat confdefs.h >>conftest.$ac_ext
81041 cat >>conftest.$ac_ext <<_ACEOF
81042 /* end confdefs.h. */
81043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81045 #define $ac_func innocuous_$ac_func
81047 /* System header to define __stub macros and hopefully few prototypes,
81048 which can conflict with char $ac_func (); below.
81049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81050 <limits.h> exists even on freestanding compilers. */
81052 #ifdef __STDC__
81053 # include <limits.h>
81054 #else
81055 # include <assert.h>
81056 #endif
81058 #undef $ac_func
81060 /* Override any gcc2 internal prototype to avoid an error. */
81061 #ifdef __cplusplus
81062 extern "C"
81064 #endif
81065 /* We use char because int might match the return type of a gcc2
81066 builtin and then its argument prototype would still apply. */
81067 char $ac_func ();
81068 /* The GNU C library defines this for functions which it implements
81069 to always fail with ENOSYS. Some functions are actually named
81070 something starting with __ and the normal name is an alias. */
81071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81072 choke me
81073 #else
81074 char (*f) () = $ac_func;
81075 #endif
81076 #ifdef __cplusplus
81078 #endif
81081 main ()
81083 return f != $ac_func;
81085 return 0;
81087 _ACEOF
81088 rm -f conftest.$ac_objext conftest$ac_exeext
81089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81090 (eval $ac_link) 2>conftest.er1
81091 ac_status=$?
81092 grep -v '^ *+' conftest.er1 >conftest.err
81093 rm -f conftest.er1
81094 cat conftest.err >&5
81095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81096 (exit $ac_status); } &&
81097 { ac_try='test -z "$ac_c_werror_flag"
81098 || test ! -s conftest.err'
81099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81100 (eval $ac_try) 2>&5
81101 ac_status=$?
81102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81103 (exit $ac_status); }; } &&
81104 { ac_try='test -s conftest$ac_exeext'
81105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81106 (eval $ac_try) 2>&5
81107 ac_status=$?
81108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81109 (exit $ac_status); }; }; then
81110 eval "$as_ac_var=yes"
81111 else
81112 echo "$as_me: failed program was:" >&5
81113 sed 's/^/| /' conftest.$ac_ext >&5
81115 eval "$as_ac_var=no"
81117 rm -f conftest.err conftest.$ac_objext \
81118 conftest$ac_exeext conftest.$ac_ext
81120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81122 if test `eval echo '${'$as_ac_var'}'` = yes; then
81123 cat >>confdefs.h <<_ACEOF
81124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81125 _ACEOF
81128 done
81130 else
81132 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
81133 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
81134 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
81135 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
81136 echo $ECHO_N "(cached) $ECHO_C" >&6
81137 else
81141 ac_ext=cc
81142 ac_cpp='$CXXCPP $CPPFLAGS'
81143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81147 cat >conftest.$ac_ext <<_ACEOF
81148 /* confdefs.h. */
81149 _ACEOF
81150 cat confdefs.h >>conftest.$ac_ext
81151 cat >>conftest.$ac_ext <<_ACEOF
81152 /* end confdefs.h. */
81153 #include <math.h>
81154 #ifdef HAVE_IEEEFP_H
81155 #include <ieeefp.h>
81156 #endif
81159 main ()
81161 _isinff(0);
81163 return 0;
81165 _ACEOF
81166 rm -f conftest.$ac_objext
81167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81168 (eval $ac_compile) 2>conftest.er1
81169 ac_status=$?
81170 grep -v '^ *+' conftest.er1 >conftest.err
81171 rm -f conftest.er1
81172 cat conftest.err >&5
81173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81174 (exit $ac_status); } &&
81175 { ac_try='test -z "$ac_cxx_werror_flag"
81176 || test ! -s conftest.err'
81177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81178 (eval $ac_try) 2>&5
81179 ac_status=$?
81180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81181 (exit $ac_status); }; } &&
81182 { ac_try='test -s conftest.$ac_objext'
81183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81184 (eval $ac_try) 2>&5
81185 ac_status=$?
81186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81187 (exit $ac_status); }; }; then
81188 glibcxx_cv_func__isinff_use=yes
81189 else
81190 echo "$as_me: failed program was:" >&5
81191 sed 's/^/| /' conftest.$ac_ext >&5
81193 glibcxx_cv_func__isinff_use=no
81195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81196 ac_ext=c
81197 ac_cpp='$CPP $CPPFLAGS'
81198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81206 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
81207 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
81209 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
81211 for ac_func in _isinff
81213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81214 echo "$as_me:$LINENO: checking for $ac_func" >&5
81215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81216 if eval "test \"\${$as_ac_var+set}\" = set"; then
81217 echo $ECHO_N "(cached) $ECHO_C" >&6
81218 else
81219 if test x$gcc_no_link = xyes; then
81220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81222 { (exit 1); exit 1; }; }
81224 cat >conftest.$ac_ext <<_ACEOF
81225 /* confdefs.h. */
81226 _ACEOF
81227 cat confdefs.h >>conftest.$ac_ext
81228 cat >>conftest.$ac_ext <<_ACEOF
81229 /* end confdefs.h. */
81230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81232 #define $ac_func innocuous_$ac_func
81234 /* System header to define __stub macros and hopefully few prototypes,
81235 which can conflict with char $ac_func (); below.
81236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81237 <limits.h> exists even on freestanding compilers. */
81239 #ifdef __STDC__
81240 # include <limits.h>
81241 #else
81242 # include <assert.h>
81243 #endif
81245 #undef $ac_func
81247 /* Override any gcc2 internal prototype to avoid an error. */
81248 #ifdef __cplusplus
81249 extern "C"
81251 #endif
81252 /* We use char because int might match the return type of a gcc2
81253 builtin and then its argument prototype would still apply. */
81254 char $ac_func ();
81255 /* The GNU C library defines this for functions which it implements
81256 to always fail with ENOSYS. Some functions are actually named
81257 something starting with __ and the normal name is an alias. */
81258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81259 choke me
81260 #else
81261 char (*f) () = $ac_func;
81262 #endif
81263 #ifdef __cplusplus
81265 #endif
81268 main ()
81270 return f != $ac_func;
81272 return 0;
81274 _ACEOF
81275 rm -f conftest.$ac_objext conftest$ac_exeext
81276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81277 (eval $ac_link) 2>conftest.er1
81278 ac_status=$?
81279 grep -v '^ *+' conftest.er1 >conftest.err
81280 rm -f conftest.er1
81281 cat conftest.err >&5
81282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81283 (exit $ac_status); } &&
81284 { ac_try='test -z "$ac_c_werror_flag"
81285 || test ! -s conftest.err'
81286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81287 (eval $ac_try) 2>&5
81288 ac_status=$?
81289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81290 (exit $ac_status); }; } &&
81291 { ac_try='test -s conftest$ac_exeext'
81292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81293 (eval $ac_try) 2>&5
81294 ac_status=$?
81295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81296 (exit $ac_status); }; }; then
81297 eval "$as_ac_var=yes"
81298 else
81299 echo "$as_me: failed program was:" >&5
81300 sed 's/^/| /' conftest.$ac_ext >&5
81302 eval "$as_ac_var=no"
81304 rm -f conftest.err conftest.$ac_objext \
81305 conftest$ac_exeext conftest.$ac_ext
81307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81309 if test `eval echo '${'$as_ac_var'}'` = yes; then
81310 cat >>confdefs.h <<_ACEOF
81311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81312 _ACEOF
81315 done
81325 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
81326 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
81327 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
81328 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
81329 echo $ECHO_N "(cached) $ECHO_C" >&6
81330 else
81334 ac_ext=cc
81335 ac_cpp='$CXXCPP $CPPFLAGS'
81336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81340 cat >conftest.$ac_ext <<_ACEOF
81341 /* confdefs.h. */
81342 _ACEOF
81343 cat confdefs.h >>conftest.$ac_ext
81344 cat >>conftest.$ac_ext <<_ACEOF
81345 /* end confdefs.h. */
81346 #include <math.h>
81348 main ()
81350 atan2f(0, 0);
81352 return 0;
81354 _ACEOF
81355 rm -f conftest.$ac_objext
81356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81357 (eval $ac_compile) 2>conftest.er1
81358 ac_status=$?
81359 grep -v '^ *+' conftest.er1 >conftest.err
81360 rm -f conftest.er1
81361 cat conftest.err >&5
81362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81363 (exit $ac_status); } &&
81364 { ac_try='test -z "$ac_cxx_werror_flag"
81365 || test ! -s conftest.err'
81366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81367 (eval $ac_try) 2>&5
81368 ac_status=$?
81369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81370 (exit $ac_status); }; } &&
81371 { ac_try='test -s conftest.$ac_objext'
81372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81373 (eval $ac_try) 2>&5
81374 ac_status=$?
81375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81376 (exit $ac_status); }; }; then
81377 glibcxx_cv_func_atan2f_use=yes
81378 else
81379 echo "$as_me: failed program was:" >&5
81380 sed 's/^/| /' conftest.$ac_ext >&5
81382 glibcxx_cv_func_atan2f_use=no
81384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81385 ac_ext=c
81386 ac_cpp='$CPP $CPPFLAGS'
81387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81395 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
81396 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
81398 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
81400 for ac_func in atan2f
81402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81403 echo "$as_me:$LINENO: checking for $ac_func" >&5
81404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81405 if eval "test \"\${$as_ac_var+set}\" = set"; then
81406 echo $ECHO_N "(cached) $ECHO_C" >&6
81407 else
81408 if test x$gcc_no_link = xyes; then
81409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81411 { (exit 1); exit 1; }; }
81413 cat >conftest.$ac_ext <<_ACEOF
81414 /* confdefs.h. */
81415 _ACEOF
81416 cat confdefs.h >>conftest.$ac_ext
81417 cat >>conftest.$ac_ext <<_ACEOF
81418 /* end confdefs.h. */
81419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81421 #define $ac_func innocuous_$ac_func
81423 /* System header to define __stub macros and hopefully few prototypes,
81424 which can conflict with char $ac_func (); below.
81425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81426 <limits.h> exists even on freestanding compilers. */
81428 #ifdef __STDC__
81429 # include <limits.h>
81430 #else
81431 # include <assert.h>
81432 #endif
81434 #undef $ac_func
81436 /* Override any gcc2 internal prototype to avoid an error. */
81437 #ifdef __cplusplus
81438 extern "C"
81440 #endif
81441 /* We use char because int might match the return type of a gcc2
81442 builtin and then its argument prototype would still apply. */
81443 char $ac_func ();
81444 /* The GNU C library defines this for functions which it implements
81445 to always fail with ENOSYS. Some functions are actually named
81446 something starting with __ and the normal name is an alias. */
81447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81448 choke me
81449 #else
81450 char (*f) () = $ac_func;
81451 #endif
81452 #ifdef __cplusplus
81454 #endif
81457 main ()
81459 return f != $ac_func;
81461 return 0;
81463 _ACEOF
81464 rm -f conftest.$ac_objext conftest$ac_exeext
81465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81466 (eval $ac_link) 2>conftest.er1
81467 ac_status=$?
81468 grep -v '^ *+' conftest.er1 >conftest.err
81469 rm -f conftest.er1
81470 cat conftest.err >&5
81471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81472 (exit $ac_status); } &&
81473 { ac_try='test -z "$ac_c_werror_flag"
81474 || test ! -s conftest.err'
81475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81476 (eval $ac_try) 2>&5
81477 ac_status=$?
81478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81479 (exit $ac_status); }; } &&
81480 { ac_try='test -s conftest$ac_exeext'
81481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81482 (eval $ac_try) 2>&5
81483 ac_status=$?
81484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81485 (exit $ac_status); }; }; then
81486 eval "$as_ac_var=yes"
81487 else
81488 echo "$as_me: failed program was:" >&5
81489 sed 's/^/| /' conftest.$ac_ext >&5
81491 eval "$as_ac_var=no"
81493 rm -f conftest.err conftest.$ac_objext \
81494 conftest$ac_exeext conftest.$ac_ext
81496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81498 if test `eval echo '${'$as_ac_var'}'` = yes; then
81499 cat >>confdefs.h <<_ACEOF
81500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81501 _ACEOF
81504 done
81506 else
81508 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
81509 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
81510 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
81511 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
81512 echo $ECHO_N "(cached) $ECHO_C" >&6
81513 else
81517 ac_ext=cc
81518 ac_cpp='$CXXCPP $CPPFLAGS'
81519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81523 cat >conftest.$ac_ext <<_ACEOF
81524 /* confdefs.h. */
81525 _ACEOF
81526 cat confdefs.h >>conftest.$ac_ext
81527 cat >>conftest.$ac_ext <<_ACEOF
81528 /* end confdefs.h. */
81529 #include <math.h>
81531 main ()
81533 _atan2f(0, 0);
81535 return 0;
81537 _ACEOF
81538 rm -f conftest.$ac_objext
81539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81540 (eval $ac_compile) 2>conftest.er1
81541 ac_status=$?
81542 grep -v '^ *+' conftest.er1 >conftest.err
81543 rm -f conftest.er1
81544 cat conftest.err >&5
81545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81546 (exit $ac_status); } &&
81547 { ac_try='test -z "$ac_cxx_werror_flag"
81548 || test ! -s conftest.err'
81549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81550 (eval $ac_try) 2>&5
81551 ac_status=$?
81552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81553 (exit $ac_status); }; } &&
81554 { ac_try='test -s conftest.$ac_objext'
81555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81556 (eval $ac_try) 2>&5
81557 ac_status=$?
81558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81559 (exit $ac_status); }; }; then
81560 glibcxx_cv_func__atan2f_use=yes
81561 else
81562 echo "$as_me: failed program was:" >&5
81563 sed 's/^/| /' conftest.$ac_ext >&5
81565 glibcxx_cv_func__atan2f_use=no
81567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81568 ac_ext=c
81569 ac_cpp='$CPP $CPPFLAGS'
81570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81578 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
81579 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
81581 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
81583 for ac_func in _atan2f
81585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81586 echo "$as_me:$LINENO: checking for $ac_func" >&5
81587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81588 if eval "test \"\${$as_ac_var+set}\" = set"; then
81589 echo $ECHO_N "(cached) $ECHO_C" >&6
81590 else
81591 if test x$gcc_no_link = xyes; then
81592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81594 { (exit 1); exit 1; }; }
81596 cat >conftest.$ac_ext <<_ACEOF
81597 /* confdefs.h. */
81598 _ACEOF
81599 cat confdefs.h >>conftest.$ac_ext
81600 cat >>conftest.$ac_ext <<_ACEOF
81601 /* end confdefs.h. */
81602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81604 #define $ac_func innocuous_$ac_func
81606 /* System header to define __stub macros and hopefully few prototypes,
81607 which can conflict with char $ac_func (); below.
81608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81609 <limits.h> exists even on freestanding compilers. */
81611 #ifdef __STDC__
81612 # include <limits.h>
81613 #else
81614 # include <assert.h>
81615 #endif
81617 #undef $ac_func
81619 /* Override any gcc2 internal prototype to avoid an error. */
81620 #ifdef __cplusplus
81621 extern "C"
81623 #endif
81624 /* We use char because int might match the return type of a gcc2
81625 builtin and then its argument prototype would still apply. */
81626 char $ac_func ();
81627 /* The GNU C library defines this for functions which it implements
81628 to always fail with ENOSYS. Some functions are actually named
81629 something starting with __ and the normal name is an alias. */
81630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81631 choke me
81632 #else
81633 char (*f) () = $ac_func;
81634 #endif
81635 #ifdef __cplusplus
81637 #endif
81640 main ()
81642 return f != $ac_func;
81644 return 0;
81646 _ACEOF
81647 rm -f conftest.$ac_objext conftest$ac_exeext
81648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81649 (eval $ac_link) 2>conftest.er1
81650 ac_status=$?
81651 grep -v '^ *+' conftest.er1 >conftest.err
81652 rm -f conftest.er1
81653 cat conftest.err >&5
81654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81655 (exit $ac_status); } &&
81656 { ac_try='test -z "$ac_c_werror_flag"
81657 || test ! -s conftest.err'
81658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81659 (eval $ac_try) 2>&5
81660 ac_status=$?
81661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81662 (exit $ac_status); }; } &&
81663 { ac_try='test -s conftest$ac_exeext'
81664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81665 (eval $ac_try) 2>&5
81666 ac_status=$?
81667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81668 (exit $ac_status); }; }; then
81669 eval "$as_ac_var=yes"
81670 else
81671 echo "$as_me: failed program was:" >&5
81672 sed 's/^/| /' conftest.$ac_ext >&5
81674 eval "$as_ac_var=no"
81676 rm -f conftest.err conftest.$ac_objext \
81677 conftest$ac_exeext conftest.$ac_ext
81679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81681 if test `eval echo '${'$as_ac_var'}'` = yes; then
81682 cat >>confdefs.h <<_ACEOF
81683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81684 _ACEOF
81687 done
81697 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
81698 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
81699 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
81700 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
81701 echo $ECHO_N "(cached) $ECHO_C" >&6
81702 else
81706 ac_ext=cc
81707 ac_cpp='$CXXCPP $CPPFLAGS'
81708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81712 cat >conftest.$ac_ext <<_ACEOF
81713 /* confdefs.h. */
81714 _ACEOF
81715 cat confdefs.h >>conftest.$ac_ext
81716 cat >>conftest.$ac_ext <<_ACEOF
81717 /* end confdefs.h. */
81718 #include <math.h>
81719 #ifdef HAVE_IEEEFP_H
81720 #include <ieeefp.h>
81721 #endif
81724 main ()
81726 fabsf(0);
81728 return 0;
81730 _ACEOF
81731 rm -f conftest.$ac_objext
81732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81733 (eval $ac_compile) 2>conftest.er1
81734 ac_status=$?
81735 grep -v '^ *+' conftest.er1 >conftest.err
81736 rm -f conftest.er1
81737 cat conftest.err >&5
81738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81739 (exit $ac_status); } &&
81740 { ac_try='test -z "$ac_cxx_werror_flag"
81741 || test ! -s conftest.err'
81742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81743 (eval $ac_try) 2>&5
81744 ac_status=$?
81745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81746 (exit $ac_status); }; } &&
81747 { ac_try='test -s conftest.$ac_objext'
81748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81749 (eval $ac_try) 2>&5
81750 ac_status=$?
81751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81752 (exit $ac_status); }; }; then
81753 glibcxx_cv_func_fabsf_use=yes
81754 else
81755 echo "$as_me: failed program was:" >&5
81756 sed 's/^/| /' conftest.$ac_ext >&5
81758 glibcxx_cv_func_fabsf_use=no
81760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81761 ac_ext=c
81762 ac_cpp='$CPP $CPPFLAGS'
81763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81771 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
81772 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
81774 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
81776 for ac_func in fabsf
81778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81779 echo "$as_me:$LINENO: checking for $ac_func" >&5
81780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81781 if eval "test \"\${$as_ac_var+set}\" = set"; then
81782 echo $ECHO_N "(cached) $ECHO_C" >&6
81783 else
81784 if test x$gcc_no_link = xyes; then
81785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81787 { (exit 1); exit 1; }; }
81789 cat >conftest.$ac_ext <<_ACEOF
81790 /* confdefs.h. */
81791 _ACEOF
81792 cat confdefs.h >>conftest.$ac_ext
81793 cat >>conftest.$ac_ext <<_ACEOF
81794 /* end confdefs.h. */
81795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81797 #define $ac_func innocuous_$ac_func
81799 /* System header to define __stub macros and hopefully few prototypes,
81800 which can conflict with char $ac_func (); below.
81801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81802 <limits.h> exists even on freestanding compilers. */
81804 #ifdef __STDC__
81805 # include <limits.h>
81806 #else
81807 # include <assert.h>
81808 #endif
81810 #undef $ac_func
81812 /* Override any gcc2 internal prototype to avoid an error. */
81813 #ifdef __cplusplus
81814 extern "C"
81816 #endif
81817 /* We use char because int might match the return type of a gcc2
81818 builtin and then its argument prototype would still apply. */
81819 char $ac_func ();
81820 /* The GNU C library defines this for functions which it implements
81821 to always fail with ENOSYS. Some functions are actually named
81822 something starting with __ and the normal name is an alias. */
81823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81824 choke me
81825 #else
81826 char (*f) () = $ac_func;
81827 #endif
81828 #ifdef __cplusplus
81830 #endif
81833 main ()
81835 return f != $ac_func;
81837 return 0;
81839 _ACEOF
81840 rm -f conftest.$ac_objext conftest$ac_exeext
81841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81842 (eval $ac_link) 2>conftest.er1
81843 ac_status=$?
81844 grep -v '^ *+' conftest.er1 >conftest.err
81845 rm -f conftest.er1
81846 cat conftest.err >&5
81847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81848 (exit $ac_status); } &&
81849 { ac_try='test -z "$ac_c_werror_flag"
81850 || test ! -s conftest.err'
81851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81852 (eval $ac_try) 2>&5
81853 ac_status=$?
81854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81855 (exit $ac_status); }; } &&
81856 { ac_try='test -s conftest$ac_exeext'
81857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81858 (eval $ac_try) 2>&5
81859 ac_status=$?
81860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81861 (exit $ac_status); }; }; then
81862 eval "$as_ac_var=yes"
81863 else
81864 echo "$as_me: failed program was:" >&5
81865 sed 's/^/| /' conftest.$ac_ext >&5
81867 eval "$as_ac_var=no"
81869 rm -f conftest.err conftest.$ac_objext \
81870 conftest$ac_exeext conftest.$ac_ext
81872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81874 if test `eval echo '${'$as_ac_var'}'` = yes; then
81875 cat >>confdefs.h <<_ACEOF
81876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81877 _ACEOF
81880 done
81882 else
81884 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
81885 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
81886 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
81887 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
81888 echo $ECHO_N "(cached) $ECHO_C" >&6
81889 else
81893 ac_ext=cc
81894 ac_cpp='$CXXCPP $CPPFLAGS'
81895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81899 cat >conftest.$ac_ext <<_ACEOF
81900 /* confdefs.h. */
81901 _ACEOF
81902 cat confdefs.h >>conftest.$ac_ext
81903 cat >>conftest.$ac_ext <<_ACEOF
81904 /* end confdefs.h. */
81905 #include <math.h>
81906 #ifdef HAVE_IEEEFP_H
81907 #include <ieeefp.h>
81908 #endif
81911 main ()
81913 _fabsf(0);
81915 return 0;
81917 _ACEOF
81918 rm -f conftest.$ac_objext
81919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81920 (eval $ac_compile) 2>conftest.er1
81921 ac_status=$?
81922 grep -v '^ *+' conftest.er1 >conftest.err
81923 rm -f conftest.er1
81924 cat conftest.err >&5
81925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81926 (exit $ac_status); } &&
81927 { ac_try='test -z "$ac_cxx_werror_flag"
81928 || test ! -s conftest.err'
81929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81930 (eval $ac_try) 2>&5
81931 ac_status=$?
81932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81933 (exit $ac_status); }; } &&
81934 { ac_try='test -s conftest.$ac_objext'
81935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81936 (eval $ac_try) 2>&5
81937 ac_status=$?
81938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81939 (exit $ac_status); }; }; then
81940 glibcxx_cv_func__fabsf_use=yes
81941 else
81942 echo "$as_me: failed program was:" >&5
81943 sed 's/^/| /' conftest.$ac_ext >&5
81945 glibcxx_cv_func__fabsf_use=no
81947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81948 ac_ext=c
81949 ac_cpp='$CPP $CPPFLAGS'
81950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81958 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
81959 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
81961 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
81963 for ac_func in _fabsf
81965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81966 echo "$as_me:$LINENO: checking for $ac_func" >&5
81967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81968 if eval "test \"\${$as_ac_var+set}\" = set"; then
81969 echo $ECHO_N "(cached) $ECHO_C" >&6
81970 else
81971 if test x$gcc_no_link = xyes; then
81972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81974 { (exit 1); exit 1; }; }
81976 cat >conftest.$ac_ext <<_ACEOF
81977 /* confdefs.h. */
81978 _ACEOF
81979 cat confdefs.h >>conftest.$ac_ext
81980 cat >>conftest.$ac_ext <<_ACEOF
81981 /* end confdefs.h. */
81982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81984 #define $ac_func innocuous_$ac_func
81986 /* System header to define __stub macros and hopefully few prototypes,
81987 which can conflict with char $ac_func (); below.
81988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81989 <limits.h> exists even on freestanding compilers. */
81991 #ifdef __STDC__
81992 # include <limits.h>
81993 #else
81994 # include <assert.h>
81995 #endif
81997 #undef $ac_func
81999 /* Override any gcc2 internal prototype to avoid an error. */
82000 #ifdef __cplusplus
82001 extern "C"
82003 #endif
82004 /* We use char because int might match the return type of a gcc2
82005 builtin and then its argument prototype would still apply. */
82006 char $ac_func ();
82007 /* The GNU C library defines this for functions which it implements
82008 to always fail with ENOSYS. Some functions are actually named
82009 something starting with __ and the normal name is an alias. */
82010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82011 choke me
82012 #else
82013 char (*f) () = $ac_func;
82014 #endif
82015 #ifdef __cplusplus
82017 #endif
82020 main ()
82022 return f != $ac_func;
82024 return 0;
82026 _ACEOF
82027 rm -f conftest.$ac_objext conftest$ac_exeext
82028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82029 (eval $ac_link) 2>conftest.er1
82030 ac_status=$?
82031 grep -v '^ *+' conftest.er1 >conftest.err
82032 rm -f conftest.er1
82033 cat conftest.err >&5
82034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82035 (exit $ac_status); } &&
82036 { ac_try='test -z "$ac_c_werror_flag"
82037 || test ! -s conftest.err'
82038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82039 (eval $ac_try) 2>&5
82040 ac_status=$?
82041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82042 (exit $ac_status); }; } &&
82043 { ac_try='test -s conftest$ac_exeext'
82044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82045 (eval $ac_try) 2>&5
82046 ac_status=$?
82047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82048 (exit $ac_status); }; }; then
82049 eval "$as_ac_var=yes"
82050 else
82051 echo "$as_me: failed program was:" >&5
82052 sed 's/^/| /' conftest.$ac_ext >&5
82054 eval "$as_ac_var=no"
82056 rm -f conftest.err conftest.$ac_objext \
82057 conftest$ac_exeext conftest.$ac_ext
82059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82061 if test `eval echo '${'$as_ac_var'}'` = yes; then
82062 cat >>confdefs.h <<_ACEOF
82063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82064 _ACEOF
82067 done
82077 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
82078 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
82079 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
82080 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
82081 echo $ECHO_N "(cached) $ECHO_C" >&6
82082 else
82086 ac_ext=cc
82087 ac_cpp='$CXXCPP $CPPFLAGS'
82088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82092 cat >conftest.$ac_ext <<_ACEOF
82093 /* confdefs.h. */
82094 _ACEOF
82095 cat confdefs.h >>conftest.$ac_ext
82096 cat >>conftest.$ac_ext <<_ACEOF
82097 /* end confdefs.h. */
82098 #include <math.h>
82100 main ()
82102 fmodf(0, 0);
82104 return 0;
82106 _ACEOF
82107 rm -f conftest.$ac_objext
82108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82109 (eval $ac_compile) 2>conftest.er1
82110 ac_status=$?
82111 grep -v '^ *+' conftest.er1 >conftest.err
82112 rm -f conftest.er1
82113 cat conftest.err >&5
82114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82115 (exit $ac_status); } &&
82116 { ac_try='test -z "$ac_cxx_werror_flag"
82117 || test ! -s conftest.err'
82118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82119 (eval $ac_try) 2>&5
82120 ac_status=$?
82121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82122 (exit $ac_status); }; } &&
82123 { ac_try='test -s conftest.$ac_objext'
82124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82125 (eval $ac_try) 2>&5
82126 ac_status=$?
82127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82128 (exit $ac_status); }; }; then
82129 glibcxx_cv_func_fmodf_use=yes
82130 else
82131 echo "$as_me: failed program was:" >&5
82132 sed 's/^/| /' conftest.$ac_ext >&5
82134 glibcxx_cv_func_fmodf_use=no
82136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82137 ac_ext=c
82138 ac_cpp='$CPP $CPPFLAGS'
82139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82147 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
82148 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
82150 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
82152 for ac_func in fmodf
82154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82155 echo "$as_me:$LINENO: checking for $ac_func" >&5
82156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82157 if eval "test \"\${$as_ac_var+set}\" = set"; then
82158 echo $ECHO_N "(cached) $ECHO_C" >&6
82159 else
82160 if test x$gcc_no_link = xyes; then
82161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82163 { (exit 1); exit 1; }; }
82165 cat >conftest.$ac_ext <<_ACEOF
82166 /* confdefs.h. */
82167 _ACEOF
82168 cat confdefs.h >>conftest.$ac_ext
82169 cat >>conftest.$ac_ext <<_ACEOF
82170 /* end confdefs.h. */
82171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82173 #define $ac_func innocuous_$ac_func
82175 /* System header to define __stub macros and hopefully few prototypes,
82176 which can conflict with char $ac_func (); below.
82177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82178 <limits.h> exists even on freestanding compilers. */
82180 #ifdef __STDC__
82181 # include <limits.h>
82182 #else
82183 # include <assert.h>
82184 #endif
82186 #undef $ac_func
82188 /* Override any gcc2 internal prototype to avoid an error. */
82189 #ifdef __cplusplus
82190 extern "C"
82192 #endif
82193 /* We use char because int might match the return type of a gcc2
82194 builtin and then its argument prototype would still apply. */
82195 char $ac_func ();
82196 /* The GNU C library defines this for functions which it implements
82197 to always fail with ENOSYS. Some functions are actually named
82198 something starting with __ and the normal name is an alias. */
82199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82200 choke me
82201 #else
82202 char (*f) () = $ac_func;
82203 #endif
82204 #ifdef __cplusplus
82206 #endif
82209 main ()
82211 return f != $ac_func;
82213 return 0;
82215 _ACEOF
82216 rm -f conftest.$ac_objext conftest$ac_exeext
82217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82218 (eval $ac_link) 2>conftest.er1
82219 ac_status=$?
82220 grep -v '^ *+' conftest.er1 >conftest.err
82221 rm -f conftest.er1
82222 cat conftest.err >&5
82223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82224 (exit $ac_status); } &&
82225 { ac_try='test -z "$ac_c_werror_flag"
82226 || test ! -s conftest.err'
82227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82228 (eval $ac_try) 2>&5
82229 ac_status=$?
82230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82231 (exit $ac_status); }; } &&
82232 { ac_try='test -s conftest$ac_exeext'
82233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82234 (eval $ac_try) 2>&5
82235 ac_status=$?
82236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82237 (exit $ac_status); }; }; then
82238 eval "$as_ac_var=yes"
82239 else
82240 echo "$as_me: failed program was:" >&5
82241 sed 's/^/| /' conftest.$ac_ext >&5
82243 eval "$as_ac_var=no"
82245 rm -f conftest.err conftest.$ac_objext \
82246 conftest$ac_exeext conftest.$ac_ext
82248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82250 if test `eval echo '${'$as_ac_var'}'` = yes; then
82251 cat >>confdefs.h <<_ACEOF
82252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82253 _ACEOF
82256 done
82258 else
82260 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
82261 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
82262 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
82263 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
82264 echo $ECHO_N "(cached) $ECHO_C" >&6
82265 else
82269 ac_ext=cc
82270 ac_cpp='$CXXCPP $CPPFLAGS'
82271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82275 cat >conftest.$ac_ext <<_ACEOF
82276 /* confdefs.h. */
82277 _ACEOF
82278 cat confdefs.h >>conftest.$ac_ext
82279 cat >>conftest.$ac_ext <<_ACEOF
82280 /* end confdefs.h. */
82281 #include <math.h>
82283 main ()
82285 _fmodf(0, 0);
82287 return 0;
82289 _ACEOF
82290 rm -f conftest.$ac_objext
82291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82292 (eval $ac_compile) 2>conftest.er1
82293 ac_status=$?
82294 grep -v '^ *+' conftest.er1 >conftest.err
82295 rm -f conftest.er1
82296 cat conftest.err >&5
82297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82298 (exit $ac_status); } &&
82299 { ac_try='test -z "$ac_cxx_werror_flag"
82300 || test ! -s conftest.err'
82301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82302 (eval $ac_try) 2>&5
82303 ac_status=$?
82304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82305 (exit $ac_status); }; } &&
82306 { ac_try='test -s conftest.$ac_objext'
82307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82308 (eval $ac_try) 2>&5
82309 ac_status=$?
82310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82311 (exit $ac_status); }; }; then
82312 glibcxx_cv_func__fmodf_use=yes
82313 else
82314 echo "$as_me: failed program was:" >&5
82315 sed 's/^/| /' conftest.$ac_ext >&5
82317 glibcxx_cv_func__fmodf_use=no
82319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82320 ac_ext=c
82321 ac_cpp='$CPP $CPPFLAGS'
82322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82330 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
82331 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
82333 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
82335 for ac_func in _fmodf
82337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82338 echo "$as_me:$LINENO: checking for $ac_func" >&5
82339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82340 if eval "test \"\${$as_ac_var+set}\" = set"; then
82341 echo $ECHO_N "(cached) $ECHO_C" >&6
82342 else
82343 if test x$gcc_no_link = xyes; then
82344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82346 { (exit 1); exit 1; }; }
82348 cat >conftest.$ac_ext <<_ACEOF
82349 /* confdefs.h. */
82350 _ACEOF
82351 cat confdefs.h >>conftest.$ac_ext
82352 cat >>conftest.$ac_ext <<_ACEOF
82353 /* end confdefs.h. */
82354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82356 #define $ac_func innocuous_$ac_func
82358 /* System header to define __stub macros and hopefully few prototypes,
82359 which can conflict with char $ac_func (); below.
82360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82361 <limits.h> exists even on freestanding compilers. */
82363 #ifdef __STDC__
82364 # include <limits.h>
82365 #else
82366 # include <assert.h>
82367 #endif
82369 #undef $ac_func
82371 /* Override any gcc2 internal prototype to avoid an error. */
82372 #ifdef __cplusplus
82373 extern "C"
82375 #endif
82376 /* We use char because int might match the return type of a gcc2
82377 builtin and then its argument prototype would still apply. */
82378 char $ac_func ();
82379 /* The GNU C library defines this for functions which it implements
82380 to always fail with ENOSYS. Some functions are actually named
82381 something starting with __ and the normal name is an alias. */
82382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82383 choke me
82384 #else
82385 char (*f) () = $ac_func;
82386 #endif
82387 #ifdef __cplusplus
82389 #endif
82392 main ()
82394 return f != $ac_func;
82396 return 0;
82398 _ACEOF
82399 rm -f conftest.$ac_objext conftest$ac_exeext
82400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82401 (eval $ac_link) 2>conftest.er1
82402 ac_status=$?
82403 grep -v '^ *+' conftest.er1 >conftest.err
82404 rm -f conftest.er1
82405 cat conftest.err >&5
82406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82407 (exit $ac_status); } &&
82408 { ac_try='test -z "$ac_c_werror_flag"
82409 || test ! -s conftest.err'
82410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82411 (eval $ac_try) 2>&5
82412 ac_status=$?
82413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82414 (exit $ac_status); }; } &&
82415 { ac_try='test -s conftest$ac_exeext'
82416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82417 (eval $ac_try) 2>&5
82418 ac_status=$?
82419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82420 (exit $ac_status); }; }; then
82421 eval "$as_ac_var=yes"
82422 else
82423 echo "$as_me: failed program was:" >&5
82424 sed 's/^/| /' conftest.$ac_ext >&5
82426 eval "$as_ac_var=no"
82428 rm -f conftest.err conftest.$ac_objext \
82429 conftest$ac_exeext conftest.$ac_ext
82431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82433 if test `eval echo '${'$as_ac_var'}'` = yes; then
82434 cat >>confdefs.h <<_ACEOF
82435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82436 _ACEOF
82439 done
82449 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
82450 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
82451 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
82452 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
82453 echo $ECHO_N "(cached) $ECHO_C" >&6
82454 else
82458 ac_ext=cc
82459 ac_cpp='$CXXCPP $CPPFLAGS'
82460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82464 cat >conftest.$ac_ext <<_ACEOF
82465 /* confdefs.h. */
82466 _ACEOF
82467 cat confdefs.h >>conftest.$ac_ext
82468 cat >>conftest.$ac_ext <<_ACEOF
82469 /* end confdefs.h. */
82470 #include <math.h>
82472 main ()
82474 frexpf(0, 0);
82476 return 0;
82478 _ACEOF
82479 rm -f conftest.$ac_objext
82480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82481 (eval $ac_compile) 2>conftest.er1
82482 ac_status=$?
82483 grep -v '^ *+' conftest.er1 >conftest.err
82484 rm -f conftest.er1
82485 cat conftest.err >&5
82486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82487 (exit $ac_status); } &&
82488 { ac_try='test -z "$ac_cxx_werror_flag"
82489 || test ! -s conftest.err'
82490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82491 (eval $ac_try) 2>&5
82492 ac_status=$?
82493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82494 (exit $ac_status); }; } &&
82495 { ac_try='test -s conftest.$ac_objext'
82496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82497 (eval $ac_try) 2>&5
82498 ac_status=$?
82499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82500 (exit $ac_status); }; }; then
82501 glibcxx_cv_func_frexpf_use=yes
82502 else
82503 echo "$as_me: failed program was:" >&5
82504 sed 's/^/| /' conftest.$ac_ext >&5
82506 glibcxx_cv_func_frexpf_use=no
82508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82509 ac_ext=c
82510 ac_cpp='$CPP $CPPFLAGS'
82511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82519 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
82520 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
82522 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
82524 for ac_func in frexpf
82526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82527 echo "$as_me:$LINENO: checking for $ac_func" >&5
82528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82529 if eval "test \"\${$as_ac_var+set}\" = set"; then
82530 echo $ECHO_N "(cached) $ECHO_C" >&6
82531 else
82532 if test x$gcc_no_link = xyes; then
82533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82535 { (exit 1); exit 1; }; }
82537 cat >conftest.$ac_ext <<_ACEOF
82538 /* confdefs.h. */
82539 _ACEOF
82540 cat confdefs.h >>conftest.$ac_ext
82541 cat >>conftest.$ac_ext <<_ACEOF
82542 /* end confdefs.h. */
82543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82545 #define $ac_func innocuous_$ac_func
82547 /* System header to define __stub macros and hopefully few prototypes,
82548 which can conflict with char $ac_func (); below.
82549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82550 <limits.h> exists even on freestanding compilers. */
82552 #ifdef __STDC__
82553 # include <limits.h>
82554 #else
82555 # include <assert.h>
82556 #endif
82558 #undef $ac_func
82560 /* Override any gcc2 internal prototype to avoid an error. */
82561 #ifdef __cplusplus
82562 extern "C"
82564 #endif
82565 /* We use char because int might match the return type of a gcc2
82566 builtin and then its argument prototype would still apply. */
82567 char $ac_func ();
82568 /* The GNU C library defines this for functions which it implements
82569 to always fail with ENOSYS. Some functions are actually named
82570 something starting with __ and the normal name is an alias. */
82571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82572 choke me
82573 #else
82574 char (*f) () = $ac_func;
82575 #endif
82576 #ifdef __cplusplus
82578 #endif
82581 main ()
82583 return f != $ac_func;
82585 return 0;
82587 _ACEOF
82588 rm -f conftest.$ac_objext conftest$ac_exeext
82589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82590 (eval $ac_link) 2>conftest.er1
82591 ac_status=$?
82592 grep -v '^ *+' conftest.er1 >conftest.err
82593 rm -f conftest.er1
82594 cat conftest.err >&5
82595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82596 (exit $ac_status); } &&
82597 { ac_try='test -z "$ac_c_werror_flag"
82598 || test ! -s conftest.err'
82599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82600 (eval $ac_try) 2>&5
82601 ac_status=$?
82602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82603 (exit $ac_status); }; } &&
82604 { ac_try='test -s conftest$ac_exeext'
82605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82606 (eval $ac_try) 2>&5
82607 ac_status=$?
82608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82609 (exit $ac_status); }; }; then
82610 eval "$as_ac_var=yes"
82611 else
82612 echo "$as_me: failed program was:" >&5
82613 sed 's/^/| /' conftest.$ac_ext >&5
82615 eval "$as_ac_var=no"
82617 rm -f conftest.err conftest.$ac_objext \
82618 conftest$ac_exeext conftest.$ac_ext
82620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82622 if test `eval echo '${'$as_ac_var'}'` = yes; then
82623 cat >>confdefs.h <<_ACEOF
82624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82625 _ACEOF
82628 done
82630 else
82632 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
82633 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
82634 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
82635 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
82636 echo $ECHO_N "(cached) $ECHO_C" >&6
82637 else
82641 ac_ext=cc
82642 ac_cpp='$CXXCPP $CPPFLAGS'
82643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82647 cat >conftest.$ac_ext <<_ACEOF
82648 /* confdefs.h. */
82649 _ACEOF
82650 cat confdefs.h >>conftest.$ac_ext
82651 cat >>conftest.$ac_ext <<_ACEOF
82652 /* end confdefs.h. */
82653 #include <math.h>
82655 main ()
82657 _frexpf(0, 0);
82659 return 0;
82661 _ACEOF
82662 rm -f conftest.$ac_objext
82663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82664 (eval $ac_compile) 2>conftest.er1
82665 ac_status=$?
82666 grep -v '^ *+' conftest.er1 >conftest.err
82667 rm -f conftest.er1
82668 cat conftest.err >&5
82669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82670 (exit $ac_status); } &&
82671 { ac_try='test -z "$ac_cxx_werror_flag"
82672 || test ! -s conftest.err'
82673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82674 (eval $ac_try) 2>&5
82675 ac_status=$?
82676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82677 (exit $ac_status); }; } &&
82678 { ac_try='test -s conftest.$ac_objext'
82679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82680 (eval $ac_try) 2>&5
82681 ac_status=$?
82682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82683 (exit $ac_status); }; }; then
82684 glibcxx_cv_func__frexpf_use=yes
82685 else
82686 echo "$as_me: failed program was:" >&5
82687 sed 's/^/| /' conftest.$ac_ext >&5
82689 glibcxx_cv_func__frexpf_use=no
82691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82692 ac_ext=c
82693 ac_cpp='$CPP $CPPFLAGS'
82694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82702 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
82703 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
82705 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
82707 for ac_func in _frexpf
82709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82710 echo "$as_me:$LINENO: checking for $ac_func" >&5
82711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82712 if eval "test \"\${$as_ac_var+set}\" = set"; then
82713 echo $ECHO_N "(cached) $ECHO_C" >&6
82714 else
82715 if test x$gcc_no_link = xyes; then
82716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82718 { (exit 1); exit 1; }; }
82720 cat >conftest.$ac_ext <<_ACEOF
82721 /* confdefs.h. */
82722 _ACEOF
82723 cat confdefs.h >>conftest.$ac_ext
82724 cat >>conftest.$ac_ext <<_ACEOF
82725 /* end confdefs.h. */
82726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82728 #define $ac_func innocuous_$ac_func
82730 /* System header to define __stub macros and hopefully few prototypes,
82731 which can conflict with char $ac_func (); below.
82732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82733 <limits.h> exists even on freestanding compilers. */
82735 #ifdef __STDC__
82736 # include <limits.h>
82737 #else
82738 # include <assert.h>
82739 #endif
82741 #undef $ac_func
82743 /* Override any gcc2 internal prototype to avoid an error. */
82744 #ifdef __cplusplus
82745 extern "C"
82747 #endif
82748 /* We use char because int might match the return type of a gcc2
82749 builtin and then its argument prototype would still apply. */
82750 char $ac_func ();
82751 /* The GNU C library defines this for functions which it implements
82752 to always fail with ENOSYS. Some functions are actually named
82753 something starting with __ and the normal name is an alias. */
82754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82755 choke me
82756 #else
82757 char (*f) () = $ac_func;
82758 #endif
82759 #ifdef __cplusplus
82761 #endif
82764 main ()
82766 return f != $ac_func;
82768 return 0;
82770 _ACEOF
82771 rm -f conftest.$ac_objext conftest$ac_exeext
82772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82773 (eval $ac_link) 2>conftest.er1
82774 ac_status=$?
82775 grep -v '^ *+' conftest.er1 >conftest.err
82776 rm -f conftest.er1
82777 cat conftest.err >&5
82778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82779 (exit $ac_status); } &&
82780 { ac_try='test -z "$ac_c_werror_flag"
82781 || test ! -s conftest.err'
82782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82783 (eval $ac_try) 2>&5
82784 ac_status=$?
82785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82786 (exit $ac_status); }; } &&
82787 { ac_try='test -s conftest$ac_exeext'
82788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82789 (eval $ac_try) 2>&5
82790 ac_status=$?
82791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82792 (exit $ac_status); }; }; then
82793 eval "$as_ac_var=yes"
82794 else
82795 echo "$as_me: failed program was:" >&5
82796 sed 's/^/| /' conftest.$ac_ext >&5
82798 eval "$as_ac_var=no"
82800 rm -f conftest.err conftest.$ac_objext \
82801 conftest$ac_exeext conftest.$ac_ext
82803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82805 if test `eval echo '${'$as_ac_var'}'` = yes; then
82806 cat >>confdefs.h <<_ACEOF
82807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82808 _ACEOF
82811 done
82821 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
82822 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
82823 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
82824 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
82825 echo $ECHO_N "(cached) $ECHO_C" >&6
82826 else
82830 ac_ext=cc
82831 ac_cpp='$CXXCPP $CPPFLAGS'
82832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82836 cat >conftest.$ac_ext <<_ACEOF
82837 /* confdefs.h. */
82838 _ACEOF
82839 cat confdefs.h >>conftest.$ac_ext
82840 cat >>conftest.$ac_ext <<_ACEOF
82841 /* end confdefs.h. */
82842 #include <math.h>
82844 main ()
82846 hypotf(0, 0);
82848 return 0;
82850 _ACEOF
82851 rm -f conftest.$ac_objext
82852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82853 (eval $ac_compile) 2>conftest.er1
82854 ac_status=$?
82855 grep -v '^ *+' conftest.er1 >conftest.err
82856 rm -f conftest.er1
82857 cat conftest.err >&5
82858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82859 (exit $ac_status); } &&
82860 { ac_try='test -z "$ac_cxx_werror_flag"
82861 || test ! -s conftest.err'
82862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82863 (eval $ac_try) 2>&5
82864 ac_status=$?
82865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82866 (exit $ac_status); }; } &&
82867 { ac_try='test -s conftest.$ac_objext'
82868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82869 (eval $ac_try) 2>&5
82870 ac_status=$?
82871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82872 (exit $ac_status); }; }; then
82873 glibcxx_cv_func_hypotf_use=yes
82874 else
82875 echo "$as_me: failed program was:" >&5
82876 sed 's/^/| /' conftest.$ac_ext >&5
82878 glibcxx_cv_func_hypotf_use=no
82880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82881 ac_ext=c
82882 ac_cpp='$CPP $CPPFLAGS'
82883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82891 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
82892 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
82894 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
82896 for ac_func in hypotf
82898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82899 echo "$as_me:$LINENO: checking for $ac_func" >&5
82900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82901 if eval "test \"\${$as_ac_var+set}\" = set"; then
82902 echo $ECHO_N "(cached) $ECHO_C" >&6
82903 else
82904 if test x$gcc_no_link = xyes; then
82905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82907 { (exit 1); exit 1; }; }
82909 cat >conftest.$ac_ext <<_ACEOF
82910 /* confdefs.h. */
82911 _ACEOF
82912 cat confdefs.h >>conftest.$ac_ext
82913 cat >>conftest.$ac_ext <<_ACEOF
82914 /* end confdefs.h. */
82915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82917 #define $ac_func innocuous_$ac_func
82919 /* System header to define __stub macros and hopefully few prototypes,
82920 which can conflict with char $ac_func (); below.
82921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82922 <limits.h> exists even on freestanding compilers. */
82924 #ifdef __STDC__
82925 # include <limits.h>
82926 #else
82927 # include <assert.h>
82928 #endif
82930 #undef $ac_func
82932 /* Override any gcc2 internal prototype to avoid an error. */
82933 #ifdef __cplusplus
82934 extern "C"
82936 #endif
82937 /* We use char because int might match the return type of a gcc2
82938 builtin and then its argument prototype would still apply. */
82939 char $ac_func ();
82940 /* The GNU C library defines this for functions which it implements
82941 to always fail with ENOSYS. Some functions are actually named
82942 something starting with __ and the normal name is an alias. */
82943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82944 choke me
82945 #else
82946 char (*f) () = $ac_func;
82947 #endif
82948 #ifdef __cplusplus
82950 #endif
82953 main ()
82955 return f != $ac_func;
82957 return 0;
82959 _ACEOF
82960 rm -f conftest.$ac_objext conftest$ac_exeext
82961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82962 (eval $ac_link) 2>conftest.er1
82963 ac_status=$?
82964 grep -v '^ *+' conftest.er1 >conftest.err
82965 rm -f conftest.er1
82966 cat conftest.err >&5
82967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82968 (exit $ac_status); } &&
82969 { ac_try='test -z "$ac_c_werror_flag"
82970 || test ! -s conftest.err'
82971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82972 (eval $ac_try) 2>&5
82973 ac_status=$?
82974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82975 (exit $ac_status); }; } &&
82976 { ac_try='test -s conftest$ac_exeext'
82977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82978 (eval $ac_try) 2>&5
82979 ac_status=$?
82980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82981 (exit $ac_status); }; }; then
82982 eval "$as_ac_var=yes"
82983 else
82984 echo "$as_me: failed program was:" >&5
82985 sed 's/^/| /' conftest.$ac_ext >&5
82987 eval "$as_ac_var=no"
82989 rm -f conftest.err conftest.$ac_objext \
82990 conftest$ac_exeext conftest.$ac_ext
82992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82994 if test `eval echo '${'$as_ac_var'}'` = yes; then
82995 cat >>confdefs.h <<_ACEOF
82996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82997 _ACEOF
83000 done
83002 else
83004 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
83005 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
83006 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
83007 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
83008 echo $ECHO_N "(cached) $ECHO_C" >&6
83009 else
83013 ac_ext=cc
83014 ac_cpp='$CXXCPP $CPPFLAGS'
83015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83019 cat >conftest.$ac_ext <<_ACEOF
83020 /* confdefs.h. */
83021 _ACEOF
83022 cat confdefs.h >>conftest.$ac_ext
83023 cat >>conftest.$ac_ext <<_ACEOF
83024 /* end confdefs.h. */
83025 #include <math.h>
83027 main ()
83029 _hypotf(0, 0);
83031 return 0;
83033 _ACEOF
83034 rm -f conftest.$ac_objext
83035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83036 (eval $ac_compile) 2>conftest.er1
83037 ac_status=$?
83038 grep -v '^ *+' conftest.er1 >conftest.err
83039 rm -f conftest.er1
83040 cat conftest.err >&5
83041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83042 (exit $ac_status); } &&
83043 { ac_try='test -z "$ac_cxx_werror_flag"
83044 || test ! -s conftest.err'
83045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83046 (eval $ac_try) 2>&5
83047 ac_status=$?
83048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83049 (exit $ac_status); }; } &&
83050 { ac_try='test -s conftest.$ac_objext'
83051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83052 (eval $ac_try) 2>&5
83053 ac_status=$?
83054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83055 (exit $ac_status); }; }; then
83056 glibcxx_cv_func__hypotf_use=yes
83057 else
83058 echo "$as_me: failed program was:" >&5
83059 sed 's/^/| /' conftest.$ac_ext >&5
83061 glibcxx_cv_func__hypotf_use=no
83063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83064 ac_ext=c
83065 ac_cpp='$CPP $CPPFLAGS'
83066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
83075 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
83077 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
83079 for ac_func in _hypotf
83081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83082 echo "$as_me:$LINENO: checking for $ac_func" >&5
83083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83084 if eval "test \"\${$as_ac_var+set}\" = set"; then
83085 echo $ECHO_N "(cached) $ECHO_C" >&6
83086 else
83087 if test x$gcc_no_link = xyes; then
83088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83090 { (exit 1); exit 1; }; }
83092 cat >conftest.$ac_ext <<_ACEOF
83093 /* confdefs.h. */
83094 _ACEOF
83095 cat confdefs.h >>conftest.$ac_ext
83096 cat >>conftest.$ac_ext <<_ACEOF
83097 /* end confdefs.h. */
83098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83100 #define $ac_func innocuous_$ac_func
83102 /* System header to define __stub macros and hopefully few prototypes,
83103 which can conflict with char $ac_func (); below.
83104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83105 <limits.h> exists even on freestanding compilers. */
83107 #ifdef __STDC__
83108 # include <limits.h>
83109 #else
83110 # include <assert.h>
83111 #endif
83113 #undef $ac_func
83115 /* Override any gcc2 internal prototype to avoid an error. */
83116 #ifdef __cplusplus
83117 extern "C"
83119 #endif
83120 /* We use char because int might match the return type of a gcc2
83121 builtin and then its argument prototype would still apply. */
83122 char $ac_func ();
83123 /* The GNU C library defines this for functions which it implements
83124 to always fail with ENOSYS. Some functions are actually named
83125 something starting with __ and the normal name is an alias. */
83126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83127 choke me
83128 #else
83129 char (*f) () = $ac_func;
83130 #endif
83131 #ifdef __cplusplus
83133 #endif
83136 main ()
83138 return f != $ac_func;
83140 return 0;
83142 _ACEOF
83143 rm -f conftest.$ac_objext conftest$ac_exeext
83144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83145 (eval $ac_link) 2>conftest.er1
83146 ac_status=$?
83147 grep -v '^ *+' conftest.er1 >conftest.err
83148 rm -f conftest.er1
83149 cat conftest.err >&5
83150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83151 (exit $ac_status); } &&
83152 { ac_try='test -z "$ac_c_werror_flag"
83153 || test ! -s conftest.err'
83154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83155 (eval $ac_try) 2>&5
83156 ac_status=$?
83157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83158 (exit $ac_status); }; } &&
83159 { ac_try='test -s conftest$ac_exeext'
83160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83161 (eval $ac_try) 2>&5
83162 ac_status=$?
83163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83164 (exit $ac_status); }; }; then
83165 eval "$as_ac_var=yes"
83166 else
83167 echo "$as_me: failed program was:" >&5
83168 sed 's/^/| /' conftest.$ac_ext >&5
83170 eval "$as_ac_var=no"
83172 rm -f conftest.err conftest.$ac_objext \
83173 conftest$ac_exeext conftest.$ac_ext
83175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83177 if test `eval echo '${'$as_ac_var'}'` = yes; then
83178 cat >>confdefs.h <<_ACEOF
83179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83180 _ACEOF
83183 done
83193 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
83194 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
83195 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
83196 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
83197 echo $ECHO_N "(cached) $ECHO_C" >&6
83198 else
83202 ac_ext=cc
83203 ac_cpp='$CXXCPP $CPPFLAGS'
83204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83208 cat >conftest.$ac_ext <<_ACEOF
83209 /* confdefs.h. */
83210 _ACEOF
83211 cat confdefs.h >>conftest.$ac_ext
83212 cat >>conftest.$ac_ext <<_ACEOF
83213 /* end confdefs.h. */
83214 #include <math.h>
83216 main ()
83218 ldexpf(0, 0);
83220 return 0;
83222 _ACEOF
83223 rm -f conftest.$ac_objext
83224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83225 (eval $ac_compile) 2>conftest.er1
83226 ac_status=$?
83227 grep -v '^ *+' conftest.er1 >conftest.err
83228 rm -f conftest.er1
83229 cat conftest.err >&5
83230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83231 (exit $ac_status); } &&
83232 { ac_try='test -z "$ac_cxx_werror_flag"
83233 || test ! -s conftest.err'
83234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83235 (eval $ac_try) 2>&5
83236 ac_status=$?
83237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83238 (exit $ac_status); }; } &&
83239 { ac_try='test -s conftest.$ac_objext'
83240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83241 (eval $ac_try) 2>&5
83242 ac_status=$?
83243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83244 (exit $ac_status); }; }; then
83245 glibcxx_cv_func_ldexpf_use=yes
83246 else
83247 echo "$as_me: failed program was:" >&5
83248 sed 's/^/| /' conftest.$ac_ext >&5
83250 glibcxx_cv_func_ldexpf_use=no
83252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83253 ac_ext=c
83254 ac_cpp='$CPP $CPPFLAGS'
83255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83263 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
83264 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
83266 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
83268 for ac_func in ldexpf
83270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83271 echo "$as_me:$LINENO: checking for $ac_func" >&5
83272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83273 if eval "test \"\${$as_ac_var+set}\" = set"; then
83274 echo $ECHO_N "(cached) $ECHO_C" >&6
83275 else
83276 if test x$gcc_no_link = xyes; then
83277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83279 { (exit 1); exit 1; }; }
83281 cat >conftest.$ac_ext <<_ACEOF
83282 /* confdefs.h. */
83283 _ACEOF
83284 cat confdefs.h >>conftest.$ac_ext
83285 cat >>conftest.$ac_ext <<_ACEOF
83286 /* end confdefs.h. */
83287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83289 #define $ac_func innocuous_$ac_func
83291 /* System header to define __stub macros and hopefully few prototypes,
83292 which can conflict with char $ac_func (); below.
83293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83294 <limits.h> exists even on freestanding compilers. */
83296 #ifdef __STDC__
83297 # include <limits.h>
83298 #else
83299 # include <assert.h>
83300 #endif
83302 #undef $ac_func
83304 /* Override any gcc2 internal prototype to avoid an error. */
83305 #ifdef __cplusplus
83306 extern "C"
83308 #endif
83309 /* We use char because int might match the return type of a gcc2
83310 builtin and then its argument prototype would still apply. */
83311 char $ac_func ();
83312 /* The GNU C library defines this for functions which it implements
83313 to always fail with ENOSYS. Some functions are actually named
83314 something starting with __ and the normal name is an alias. */
83315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83316 choke me
83317 #else
83318 char (*f) () = $ac_func;
83319 #endif
83320 #ifdef __cplusplus
83322 #endif
83325 main ()
83327 return f != $ac_func;
83329 return 0;
83331 _ACEOF
83332 rm -f conftest.$ac_objext conftest$ac_exeext
83333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83334 (eval $ac_link) 2>conftest.er1
83335 ac_status=$?
83336 grep -v '^ *+' conftest.er1 >conftest.err
83337 rm -f conftest.er1
83338 cat conftest.err >&5
83339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83340 (exit $ac_status); } &&
83341 { ac_try='test -z "$ac_c_werror_flag"
83342 || test ! -s conftest.err'
83343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83344 (eval $ac_try) 2>&5
83345 ac_status=$?
83346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83347 (exit $ac_status); }; } &&
83348 { ac_try='test -s conftest$ac_exeext'
83349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83350 (eval $ac_try) 2>&5
83351 ac_status=$?
83352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83353 (exit $ac_status); }; }; then
83354 eval "$as_ac_var=yes"
83355 else
83356 echo "$as_me: failed program was:" >&5
83357 sed 's/^/| /' conftest.$ac_ext >&5
83359 eval "$as_ac_var=no"
83361 rm -f conftest.err conftest.$ac_objext \
83362 conftest$ac_exeext conftest.$ac_ext
83364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83366 if test `eval echo '${'$as_ac_var'}'` = yes; then
83367 cat >>confdefs.h <<_ACEOF
83368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83369 _ACEOF
83372 done
83374 else
83376 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
83377 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
83378 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
83379 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
83380 echo $ECHO_N "(cached) $ECHO_C" >&6
83381 else
83385 ac_ext=cc
83386 ac_cpp='$CXXCPP $CPPFLAGS'
83387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83391 cat >conftest.$ac_ext <<_ACEOF
83392 /* confdefs.h. */
83393 _ACEOF
83394 cat confdefs.h >>conftest.$ac_ext
83395 cat >>conftest.$ac_ext <<_ACEOF
83396 /* end confdefs.h. */
83397 #include <math.h>
83399 main ()
83401 _ldexpf(0, 0);
83403 return 0;
83405 _ACEOF
83406 rm -f conftest.$ac_objext
83407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83408 (eval $ac_compile) 2>conftest.er1
83409 ac_status=$?
83410 grep -v '^ *+' conftest.er1 >conftest.err
83411 rm -f conftest.er1
83412 cat conftest.err >&5
83413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83414 (exit $ac_status); } &&
83415 { ac_try='test -z "$ac_cxx_werror_flag"
83416 || test ! -s conftest.err'
83417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83418 (eval $ac_try) 2>&5
83419 ac_status=$?
83420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83421 (exit $ac_status); }; } &&
83422 { ac_try='test -s conftest.$ac_objext'
83423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83424 (eval $ac_try) 2>&5
83425 ac_status=$?
83426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83427 (exit $ac_status); }; }; then
83428 glibcxx_cv_func__ldexpf_use=yes
83429 else
83430 echo "$as_me: failed program was:" >&5
83431 sed 's/^/| /' conftest.$ac_ext >&5
83433 glibcxx_cv_func__ldexpf_use=no
83435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83436 ac_ext=c
83437 ac_cpp='$CPP $CPPFLAGS'
83438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83446 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
83447 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
83449 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
83451 for ac_func in _ldexpf
83453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83454 echo "$as_me:$LINENO: checking for $ac_func" >&5
83455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83456 if eval "test \"\${$as_ac_var+set}\" = set"; then
83457 echo $ECHO_N "(cached) $ECHO_C" >&6
83458 else
83459 if test x$gcc_no_link = xyes; then
83460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83462 { (exit 1); exit 1; }; }
83464 cat >conftest.$ac_ext <<_ACEOF
83465 /* confdefs.h. */
83466 _ACEOF
83467 cat confdefs.h >>conftest.$ac_ext
83468 cat >>conftest.$ac_ext <<_ACEOF
83469 /* end confdefs.h. */
83470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83472 #define $ac_func innocuous_$ac_func
83474 /* System header to define __stub macros and hopefully few prototypes,
83475 which can conflict with char $ac_func (); below.
83476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83477 <limits.h> exists even on freestanding compilers. */
83479 #ifdef __STDC__
83480 # include <limits.h>
83481 #else
83482 # include <assert.h>
83483 #endif
83485 #undef $ac_func
83487 /* Override any gcc2 internal prototype to avoid an error. */
83488 #ifdef __cplusplus
83489 extern "C"
83491 #endif
83492 /* We use char because int might match the return type of a gcc2
83493 builtin and then its argument prototype would still apply. */
83494 char $ac_func ();
83495 /* The GNU C library defines this for functions which it implements
83496 to always fail with ENOSYS. Some functions are actually named
83497 something starting with __ and the normal name is an alias. */
83498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83499 choke me
83500 #else
83501 char (*f) () = $ac_func;
83502 #endif
83503 #ifdef __cplusplus
83505 #endif
83508 main ()
83510 return f != $ac_func;
83512 return 0;
83514 _ACEOF
83515 rm -f conftest.$ac_objext conftest$ac_exeext
83516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83517 (eval $ac_link) 2>conftest.er1
83518 ac_status=$?
83519 grep -v '^ *+' conftest.er1 >conftest.err
83520 rm -f conftest.er1
83521 cat conftest.err >&5
83522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83523 (exit $ac_status); } &&
83524 { ac_try='test -z "$ac_c_werror_flag"
83525 || test ! -s conftest.err'
83526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83527 (eval $ac_try) 2>&5
83528 ac_status=$?
83529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83530 (exit $ac_status); }; } &&
83531 { ac_try='test -s conftest$ac_exeext'
83532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83533 (eval $ac_try) 2>&5
83534 ac_status=$?
83535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83536 (exit $ac_status); }; }; then
83537 eval "$as_ac_var=yes"
83538 else
83539 echo "$as_me: failed program was:" >&5
83540 sed 's/^/| /' conftest.$ac_ext >&5
83542 eval "$as_ac_var=no"
83544 rm -f conftest.err conftest.$ac_objext \
83545 conftest$ac_exeext conftest.$ac_ext
83547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83549 if test `eval echo '${'$as_ac_var'}'` = yes; then
83550 cat >>confdefs.h <<_ACEOF
83551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83552 _ACEOF
83555 done
83565 echo "$as_me:$LINENO: checking for logf declaration" >&5
83566 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
83567 if test x${glibcxx_cv_func_logf_use+set} != xset; then
83568 if test "${glibcxx_cv_func_logf_use+set}" = set; then
83569 echo $ECHO_N "(cached) $ECHO_C" >&6
83570 else
83574 ac_ext=cc
83575 ac_cpp='$CXXCPP $CPPFLAGS'
83576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83580 cat >conftest.$ac_ext <<_ACEOF
83581 /* confdefs.h. */
83582 _ACEOF
83583 cat confdefs.h >>conftest.$ac_ext
83584 cat >>conftest.$ac_ext <<_ACEOF
83585 /* end confdefs.h. */
83586 #include <math.h>
83587 #ifdef HAVE_IEEEFP_H
83588 #include <ieeefp.h>
83589 #endif
83592 main ()
83594 logf(0);
83596 return 0;
83598 _ACEOF
83599 rm -f conftest.$ac_objext
83600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83601 (eval $ac_compile) 2>conftest.er1
83602 ac_status=$?
83603 grep -v '^ *+' conftest.er1 >conftest.err
83604 rm -f conftest.er1
83605 cat conftest.err >&5
83606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83607 (exit $ac_status); } &&
83608 { ac_try='test -z "$ac_cxx_werror_flag"
83609 || test ! -s conftest.err'
83610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83611 (eval $ac_try) 2>&5
83612 ac_status=$?
83613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83614 (exit $ac_status); }; } &&
83615 { ac_try='test -s conftest.$ac_objext'
83616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83617 (eval $ac_try) 2>&5
83618 ac_status=$?
83619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83620 (exit $ac_status); }; }; then
83621 glibcxx_cv_func_logf_use=yes
83622 else
83623 echo "$as_me: failed program was:" >&5
83624 sed 's/^/| /' conftest.$ac_ext >&5
83626 glibcxx_cv_func_logf_use=no
83628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83629 ac_ext=c
83630 ac_cpp='$CPP $CPPFLAGS'
83631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83639 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
83640 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
83642 if test x$glibcxx_cv_func_logf_use = x"yes"; then
83644 for ac_func in logf
83646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83647 echo "$as_me:$LINENO: checking for $ac_func" >&5
83648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83649 if eval "test \"\${$as_ac_var+set}\" = set"; then
83650 echo $ECHO_N "(cached) $ECHO_C" >&6
83651 else
83652 if test x$gcc_no_link = xyes; then
83653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83655 { (exit 1); exit 1; }; }
83657 cat >conftest.$ac_ext <<_ACEOF
83658 /* confdefs.h. */
83659 _ACEOF
83660 cat confdefs.h >>conftest.$ac_ext
83661 cat >>conftest.$ac_ext <<_ACEOF
83662 /* end confdefs.h. */
83663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83665 #define $ac_func innocuous_$ac_func
83667 /* System header to define __stub macros and hopefully few prototypes,
83668 which can conflict with char $ac_func (); below.
83669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83670 <limits.h> exists even on freestanding compilers. */
83672 #ifdef __STDC__
83673 # include <limits.h>
83674 #else
83675 # include <assert.h>
83676 #endif
83678 #undef $ac_func
83680 /* Override any gcc2 internal prototype to avoid an error. */
83681 #ifdef __cplusplus
83682 extern "C"
83684 #endif
83685 /* We use char because int might match the return type of a gcc2
83686 builtin and then its argument prototype would still apply. */
83687 char $ac_func ();
83688 /* The GNU C library defines this for functions which it implements
83689 to always fail with ENOSYS. Some functions are actually named
83690 something starting with __ and the normal name is an alias. */
83691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83692 choke me
83693 #else
83694 char (*f) () = $ac_func;
83695 #endif
83696 #ifdef __cplusplus
83698 #endif
83701 main ()
83703 return f != $ac_func;
83705 return 0;
83707 _ACEOF
83708 rm -f conftest.$ac_objext conftest$ac_exeext
83709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83710 (eval $ac_link) 2>conftest.er1
83711 ac_status=$?
83712 grep -v '^ *+' conftest.er1 >conftest.err
83713 rm -f conftest.er1
83714 cat conftest.err >&5
83715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83716 (exit $ac_status); } &&
83717 { ac_try='test -z "$ac_c_werror_flag"
83718 || test ! -s conftest.err'
83719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83720 (eval $ac_try) 2>&5
83721 ac_status=$?
83722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83723 (exit $ac_status); }; } &&
83724 { ac_try='test -s conftest$ac_exeext'
83725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83726 (eval $ac_try) 2>&5
83727 ac_status=$?
83728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83729 (exit $ac_status); }; }; then
83730 eval "$as_ac_var=yes"
83731 else
83732 echo "$as_me: failed program was:" >&5
83733 sed 's/^/| /' conftest.$ac_ext >&5
83735 eval "$as_ac_var=no"
83737 rm -f conftest.err conftest.$ac_objext \
83738 conftest$ac_exeext conftest.$ac_ext
83740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83742 if test `eval echo '${'$as_ac_var'}'` = yes; then
83743 cat >>confdefs.h <<_ACEOF
83744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83745 _ACEOF
83748 done
83750 else
83752 echo "$as_me:$LINENO: checking for _logf declaration" >&5
83753 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
83754 if test x${glibcxx_cv_func__logf_use+set} != xset; then
83755 if test "${glibcxx_cv_func__logf_use+set}" = set; then
83756 echo $ECHO_N "(cached) $ECHO_C" >&6
83757 else
83761 ac_ext=cc
83762 ac_cpp='$CXXCPP $CPPFLAGS'
83763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83767 cat >conftest.$ac_ext <<_ACEOF
83768 /* confdefs.h. */
83769 _ACEOF
83770 cat confdefs.h >>conftest.$ac_ext
83771 cat >>conftest.$ac_ext <<_ACEOF
83772 /* end confdefs.h. */
83773 #include <math.h>
83774 #ifdef HAVE_IEEEFP_H
83775 #include <ieeefp.h>
83776 #endif
83779 main ()
83781 _logf(0);
83783 return 0;
83785 _ACEOF
83786 rm -f conftest.$ac_objext
83787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83788 (eval $ac_compile) 2>conftest.er1
83789 ac_status=$?
83790 grep -v '^ *+' conftest.er1 >conftest.err
83791 rm -f conftest.er1
83792 cat conftest.err >&5
83793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83794 (exit $ac_status); } &&
83795 { ac_try='test -z "$ac_cxx_werror_flag"
83796 || test ! -s conftest.err'
83797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83798 (eval $ac_try) 2>&5
83799 ac_status=$?
83800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83801 (exit $ac_status); }; } &&
83802 { ac_try='test -s conftest.$ac_objext'
83803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83804 (eval $ac_try) 2>&5
83805 ac_status=$?
83806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83807 (exit $ac_status); }; }; then
83808 glibcxx_cv_func__logf_use=yes
83809 else
83810 echo "$as_me: failed program was:" >&5
83811 sed 's/^/| /' conftest.$ac_ext >&5
83813 glibcxx_cv_func__logf_use=no
83815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83816 ac_ext=c
83817 ac_cpp='$CPP $CPPFLAGS'
83818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83826 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
83827 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
83829 if test x$glibcxx_cv_func__logf_use = x"yes"; then
83831 for ac_func in _logf
83833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83834 echo "$as_me:$LINENO: checking for $ac_func" >&5
83835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83836 if eval "test \"\${$as_ac_var+set}\" = set"; then
83837 echo $ECHO_N "(cached) $ECHO_C" >&6
83838 else
83839 if test x$gcc_no_link = xyes; then
83840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83842 { (exit 1); exit 1; }; }
83844 cat >conftest.$ac_ext <<_ACEOF
83845 /* confdefs.h. */
83846 _ACEOF
83847 cat confdefs.h >>conftest.$ac_ext
83848 cat >>conftest.$ac_ext <<_ACEOF
83849 /* end confdefs.h. */
83850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83852 #define $ac_func innocuous_$ac_func
83854 /* System header to define __stub macros and hopefully few prototypes,
83855 which can conflict with char $ac_func (); below.
83856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83857 <limits.h> exists even on freestanding compilers. */
83859 #ifdef __STDC__
83860 # include <limits.h>
83861 #else
83862 # include <assert.h>
83863 #endif
83865 #undef $ac_func
83867 /* Override any gcc2 internal prototype to avoid an error. */
83868 #ifdef __cplusplus
83869 extern "C"
83871 #endif
83872 /* We use char because int might match the return type of a gcc2
83873 builtin and then its argument prototype would still apply. */
83874 char $ac_func ();
83875 /* The GNU C library defines this for functions which it implements
83876 to always fail with ENOSYS. Some functions are actually named
83877 something starting with __ and the normal name is an alias. */
83878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83879 choke me
83880 #else
83881 char (*f) () = $ac_func;
83882 #endif
83883 #ifdef __cplusplus
83885 #endif
83888 main ()
83890 return f != $ac_func;
83892 return 0;
83894 _ACEOF
83895 rm -f conftest.$ac_objext conftest$ac_exeext
83896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83897 (eval $ac_link) 2>conftest.er1
83898 ac_status=$?
83899 grep -v '^ *+' conftest.er1 >conftest.err
83900 rm -f conftest.er1
83901 cat conftest.err >&5
83902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83903 (exit $ac_status); } &&
83904 { ac_try='test -z "$ac_c_werror_flag"
83905 || test ! -s conftest.err'
83906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83907 (eval $ac_try) 2>&5
83908 ac_status=$?
83909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83910 (exit $ac_status); }; } &&
83911 { ac_try='test -s conftest$ac_exeext'
83912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83913 (eval $ac_try) 2>&5
83914 ac_status=$?
83915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83916 (exit $ac_status); }; }; then
83917 eval "$as_ac_var=yes"
83918 else
83919 echo "$as_me: failed program was:" >&5
83920 sed 's/^/| /' conftest.$ac_ext >&5
83922 eval "$as_ac_var=no"
83924 rm -f conftest.err conftest.$ac_objext \
83925 conftest$ac_exeext conftest.$ac_ext
83927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83929 if test `eval echo '${'$as_ac_var'}'` = yes; then
83930 cat >>confdefs.h <<_ACEOF
83931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83932 _ACEOF
83935 done
83945 echo "$as_me:$LINENO: checking for log10f declaration" >&5
83946 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
83947 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
83948 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
83949 echo $ECHO_N "(cached) $ECHO_C" >&6
83950 else
83954 ac_ext=cc
83955 ac_cpp='$CXXCPP $CPPFLAGS'
83956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83960 cat >conftest.$ac_ext <<_ACEOF
83961 /* confdefs.h. */
83962 _ACEOF
83963 cat confdefs.h >>conftest.$ac_ext
83964 cat >>conftest.$ac_ext <<_ACEOF
83965 /* end confdefs.h. */
83966 #include <math.h>
83967 #ifdef HAVE_IEEEFP_H
83968 #include <ieeefp.h>
83969 #endif
83972 main ()
83974 log10f(0);
83976 return 0;
83978 _ACEOF
83979 rm -f conftest.$ac_objext
83980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83981 (eval $ac_compile) 2>conftest.er1
83982 ac_status=$?
83983 grep -v '^ *+' conftest.er1 >conftest.err
83984 rm -f conftest.er1
83985 cat conftest.err >&5
83986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83987 (exit $ac_status); } &&
83988 { ac_try='test -z "$ac_cxx_werror_flag"
83989 || test ! -s conftest.err'
83990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83991 (eval $ac_try) 2>&5
83992 ac_status=$?
83993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83994 (exit $ac_status); }; } &&
83995 { ac_try='test -s conftest.$ac_objext'
83996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83997 (eval $ac_try) 2>&5
83998 ac_status=$?
83999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84000 (exit $ac_status); }; }; then
84001 glibcxx_cv_func_log10f_use=yes
84002 else
84003 echo "$as_me: failed program was:" >&5
84004 sed 's/^/| /' conftest.$ac_ext >&5
84006 glibcxx_cv_func_log10f_use=no
84008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84009 ac_ext=c
84010 ac_cpp='$CPP $CPPFLAGS'
84011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84019 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
84020 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
84022 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
84024 for ac_func in log10f
84026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84027 echo "$as_me:$LINENO: checking for $ac_func" >&5
84028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84029 if eval "test \"\${$as_ac_var+set}\" = set"; then
84030 echo $ECHO_N "(cached) $ECHO_C" >&6
84031 else
84032 if test x$gcc_no_link = xyes; then
84033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84035 { (exit 1); exit 1; }; }
84037 cat >conftest.$ac_ext <<_ACEOF
84038 /* confdefs.h. */
84039 _ACEOF
84040 cat confdefs.h >>conftest.$ac_ext
84041 cat >>conftest.$ac_ext <<_ACEOF
84042 /* end confdefs.h. */
84043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84045 #define $ac_func innocuous_$ac_func
84047 /* System header to define __stub macros and hopefully few prototypes,
84048 which can conflict with char $ac_func (); below.
84049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84050 <limits.h> exists even on freestanding compilers. */
84052 #ifdef __STDC__
84053 # include <limits.h>
84054 #else
84055 # include <assert.h>
84056 #endif
84058 #undef $ac_func
84060 /* Override any gcc2 internal prototype to avoid an error. */
84061 #ifdef __cplusplus
84062 extern "C"
84064 #endif
84065 /* We use char because int might match the return type of a gcc2
84066 builtin and then its argument prototype would still apply. */
84067 char $ac_func ();
84068 /* The GNU C library defines this for functions which it implements
84069 to always fail with ENOSYS. Some functions are actually named
84070 something starting with __ and the normal name is an alias. */
84071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84072 choke me
84073 #else
84074 char (*f) () = $ac_func;
84075 #endif
84076 #ifdef __cplusplus
84078 #endif
84081 main ()
84083 return f != $ac_func;
84085 return 0;
84087 _ACEOF
84088 rm -f conftest.$ac_objext conftest$ac_exeext
84089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84090 (eval $ac_link) 2>conftest.er1
84091 ac_status=$?
84092 grep -v '^ *+' conftest.er1 >conftest.err
84093 rm -f conftest.er1
84094 cat conftest.err >&5
84095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84096 (exit $ac_status); } &&
84097 { ac_try='test -z "$ac_c_werror_flag"
84098 || test ! -s conftest.err'
84099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84100 (eval $ac_try) 2>&5
84101 ac_status=$?
84102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84103 (exit $ac_status); }; } &&
84104 { ac_try='test -s conftest$ac_exeext'
84105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84106 (eval $ac_try) 2>&5
84107 ac_status=$?
84108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84109 (exit $ac_status); }; }; then
84110 eval "$as_ac_var=yes"
84111 else
84112 echo "$as_me: failed program was:" >&5
84113 sed 's/^/| /' conftest.$ac_ext >&5
84115 eval "$as_ac_var=no"
84117 rm -f conftest.err conftest.$ac_objext \
84118 conftest$ac_exeext conftest.$ac_ext
84120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84122 if test `eval echo '${'$as_ac_var'}'` = yes; then
84123 cat >>confdefs.h <<_ACEOF
84124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84125 _ACEOF
84128 done
84130 else
84132 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
84133 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
84134 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
84135 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
84136 echo $ECHO_N "(cached) $ECHO_C" >&6
84137 else
84141 ac_ext=cc
84142 ac_cpp='$CXXCPP $CPPFLAGS'
84143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84147 cat >conftest.$ac_ext <<_ACEOF
84148 /* confdefs.h. */
84149 _ACEOF
84150 cat confdefs.h >>conftest.$ac_ext
84151 cat >>conftest.$ac_ext <<_ACEOF
84152 /* end confdefs.h. */
84153 #include <math.h>
84154 #ifdef HAVE_IEEEFP_H
84155 #include <ieeefp.h>
84156 #endif
84159 main ()
84161 _log10f(0);
84163 return 0;
84165 _ACEOF
84166 rm -f conftest.$ac_objext
84167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84168 (eval $ac_compile) 2>conftest.er1
84169 ac_status=$?
84170 grep -v '^ *+' conftest.er1 >conftest.err
84171 rm -f conftest.er1
84172 cat conftest.err >&5
84173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84174 (exit $ac_status); } &&
84175 { ac_try='test -z "$ac_cxx_werror_flag"
84176 || test ! -s conftest.err'
84177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84178 (eval $ac_try) 2>&5
84179 ac_status=$?
84180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84181 (exit $ac_status); }; } &&
84182 { ac_try='test -s conftest.$ac_objext'
84183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84184 (eval $ac_try) 2>&5
84185 ac_status=$?
84186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84187 (exit $ac_status); }; }; then
84188 glibcxx_cv_func__log10f_use=yes
84189 else
84190 echo "$as_me: failed program was:" >&5
84191 sed 's/^/| /' conftest.$ac_ext >&5
84193 glibcxx_cv_func__log10f_use=no
84195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84196 ac_ext=c
84197 ac_cpp='$CPP $CPPFLAGS'
84198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84206 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
84207 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
84209 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
84211 for ac_func in _log10f
84213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84214 echo "$as_me:$LINENO: checking for $ac_func" >&5
84215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84216 if eval "test \"\${$as_ac_var+set}\" = set"; then
84217 echo $ECHO_N "(cached) $ECHO_C" >&6
84218 else
84219 if test x$gcc_no_link = xyes; then
84220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84222 { (exit 1); exit 1; }; }
84224 cat >conftest.$ac_ext <<_ACEOF
84225 /* confdefs.h. */
84226 _ACEOF
84227 cat confdefs.h >>conftest.$ac_ext
84228 cat >>conftest.$ac_ext <<_ACEOF
84229 /* end confdefs.h. */
84230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84232 #define $ac_func innocuous_$ac_func
84234 /* System header to define __stub macros and hopefully few prototypes,
84235 which can conflict with char $ac_func (); below.
84236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84237 <limits.h> exists even on freestanding compilers. */
84239 #ifdef __STDC__
84240 # include <limits.h>
84241 #else
84242 # include <assert.h>
84243 #endif
84245 #undef $ac_func
84247 /* Override any gcc2 internal prototype to avoid an error. */
84248 #ifdef __cplusplus
84249 extern "C"
84251 #endif
84252 /* We use char because int might match the return type of a gcc2
84253 builtin and then its argument prototype would still apply. */
84254 char $ac_func ();
84255 /* The GNU C library defines this for functions which it implements
84256 to always fail with ENOSYS. Some functions are actually named
84257 something starting with __ and the normal name is an alias. */
84258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84259 choke me
84260 #else
84261 char (*f) () = $ac_func;
84262 #endif
84263 #ifdef __cplusplus
84265 #endif
84268 main ()
84270 return f != $ac_func;
84272 return 0;
84274 _ACEOF
84275 rm -f conftest.$ac_objext conftest$ac_exeext
84276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84277 (eval $ac_link) 2>conftest.er1
84278 ac_status=$?
84279 grep -v '^ *+' conftest.er1 >conftest.err
84280 rm -f conftest.er1
84281 cat conftest.err >&5
84282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84283 (exit $ac_status); } &&
84284 { ac_try='test -z "$ac_c_werror_flag"
84285 || test ! -s conftest.err'
84286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84287 (eval $ac_try) 2>&5
84288 ac_status=$?
84289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84290 (exit $ac_status); }; } &&
84291 { ac_try='test -s conftest$ac_exeext'
84292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84293 (eval $ac_try) 2>&5
84294 ac_status=$?
84295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84296 (exit $ac_status); }; }; then
84297 eval "$as_ac_var=yes"
84298 else
84299 echo "$as_me: failed program was:" >&5
84300 sed 's/^/| /' conftest.$ac_ext >&5
84302 eval "$as_ac_var=no"
84304 rm -f conftest.err conftest.$ac_objext \
84305 conftest$ac_exeext conftest.$ac_ext
84307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84309 if test `eval echo '${'$as_ac_var'}'` = yes; then
84310 cat >>confdefs.h <<_ACEOF
84311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84312 _ACEOF
84315 done
84325 echo "$as_me:$LINENO: checking for modff declaration" >&5
84326 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
84327 if test x${glibcxx_cv_func_modff_use+set} != xset; then
84328 if test "${glibcxx_cv_func_modff_use+set}" = set; then
84329 echo $ECHO_N "(cached) $ECHO_C" >&6
84330 else
84334 ac_ext=cc
84335 ac_cpp='$CXXCPP $CPPFLAGS'
84336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84340 cat >conftest.$ac_ext <<_ACEOF
84341 /* confdefs.h. */
84342 _ACEOF
84343 cat confdefs.h >>conftest.$ac_ext
84344 cat >>conftest.$ac_ext <<_ACEOF
84345 /* end confdefs.h. */
84346 #include <math.h>
84348 main ()
84350 modff(0, 0);
84352 return 0;
84354 _ACEOF
84355 rm -f conftest.$ac_objext
84356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84357 (eval $ac_compile) 2>conftest.er1
84358 ac_status=$?
84359 grep -v '^ *+' conftest.er1 >conftest.err
84360 rm -f conftest.er1
84361 cat conftest.err >&5
84362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84363 (exit $ac_status); } &&
84364 { ac_try='test -z "$ac_cxx_werror_flag"
84365 || test ! -s conftest.err'
84366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84367 (eval $ac_try) 2>&5
84368 ac_status=$?
84369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84370 (exit $ac_status); }; } &&
84371 { ac_try='test -s conftest.$ac_objext'
84372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84373 (eval $ac_try) 2>&5
84374 ac_status=$?
84375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84376 (exit $ac_status); }; }; then
84377 glibcxx_cv_func_modff_use=yes
84378 else
84379 echo "$as_me: failed program was:" >&5
84380 sed 's/^/| /' conftest.$ac_ext >&5
84382 glibcxx_cv_func_modff_use=no
84384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84385 ac_ext=c
84386 ac_cpp='$CPP $CPPFLAGS'
84387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84395 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
84396 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
84398 if test x$glibcxx_cv_func_modff_use = x"yes"; then
84400 for ac_func in modff
84402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84403 echo "$as_me:$LINENO: checking for $ac_func" >&5
84404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84405 if eval "test \"\${$as_ac_var+set}\" = set"; then
84406 echo $ECHO_N "(cached) $ECHO_C" >&6
84407 else
84408 if test x$gcc_no_link = xyes; then
84409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84411 { (exit 1); exit 1; }; }
84413 cat >conftest.$ac_ext <<_ACEOF
84414 /* confdefs.h. */
84415 _ACEOF
84416 cat confdefs.h >>conftest.$ac_ext
84417 cat >>conftest.$ac_ext <<_ACEOF
84418 /* end confdefs.h. */
84419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84421 #define $ac_func innocuous_$ac_func
84423 /* System header to define __stub macros and hopefully few prototypes,
84424 which can conflict with char $ac_func (); below.
84425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84426 <limits.h> exists even on freestanding compilers. */
84428 #ifdef __STDC__
84429 # include <limits.h>
84430 #else
84431 # include <assert.h>
84432 #endif
84434 #undef $ac_func
84436 /* Override any gcc2 internal prototype to avoid an error. */
84437 #ifdef __cplusplus
84438 extern "C"
84440 #endif
84441 /* We use char because int might match the return type of a gcc2
84442 builtin and then its argument prototype would still apply. */
84443 char $ac_func ();
84444 /* The GNU C library defines this for functions which it implements
84445 to always fail with ENOSYS. Some functions are actually named
84446 something starting with __ and the normal name is an alias. */
84447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84448 choke me
84449 #else
84450 char (*f) () = $ac_func;
84451 #endif
84452 #ifdef __cplusplus
84454 #endif
84457 main ()
84459 return f != $ac_func;
84461 return 0;
84463 _ACEOF
84464 rm -f conftest.$ac_objext conftest$ac_exeext
84465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84466 (eval $ac_link) 2>conftest.er1
84467 ac_status=$?
84468 grep -v '^ *+' conftest.er1 >conftest.err
84469 rm -f conftest.er1
84470 cat conftest.err >&5
84471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84472 (exit $ac_status); } &&
84473 { ac_try='test -z "$ac_c_werror_flag"
84474 || test ! -s conftest.err'
84475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84476 (eval $ac_try) 2>&5
84477 ac_status=$?
84478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84479 (exit $ac_status); }; } &&
84480 { ac_try='test -s conftest$ac_exeext'
84481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84482 (eval $ac_try) 2>&5
84483 ac_status=$?
84484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84485 (exit $ac_status); }; }; then
84486 eval "$as_ac_var=yes"
84487 else
84488 echo "$as_me: failed program was:" >&5
84489 sed 's/^/| /' conftest.$ac_ext >&5
84491 eval "$as_ac_var=no"
84493 rm -f conftest.err conftest.$ac_objext \
84494 conftest$ac_exeext conftest.$ac_ext
84496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84498 if test `eval echo '${'$as_ac_var'}'` = yes; then
84499 cat >>confdefs.h <<_ACEOF
84500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84501 _ACEOF
84504 done
84506 else
84508 echo "$as_me:$LINENO: checking for _modff declaration" >&5
84509 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
84510 if test x${glibcxx_cv_func__modff_use+set} != xset; then
84511 if test "${glibcxx_cv_func__modff_use+set}" = set; then
84512 echo $ECHO_N "(cached) $ECHO_C" >&6
84513 else
84517 ac_ext=cc
84518 ac_cpp='$CXXCPP $CPPFLAGS'
84519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84523 cat >conftest.$ac_ext <<_ACEOF
84524 /* confdefs.h. */
84525 _ACEOF
84526 cat confdefs.h >>conftest.$ac_ext
84527 cat >>conftest.$ac_ext <<_ACEOF
84528 /* end confdefs.h. */
84529 #include <math.h>
84531 main ()
84533 _modff(0, 0);
84535 return 0;
84537 _ACEOF
84538 rm -f conftest.$ac_objext
84539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84540 (eval $ac_compile) 2>conftest.er1
84541 ac_status=$?
84542 grep -v '^ *+' conftest.er1 >conftest.err
84543 rm -f conftest.er1
84544 cat conftest.err >&5
84545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84546 (exit $ac_status); } &&
84547 { ac_try='test -z "$ac_cxx_werror_flag"
84548 || test ! -s conftest.err'
84549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84550 (eval $ac_try) 2>&5
84551 ac_status=$?
84552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84553 (exit $ac_status); }; } &&
84554 { ac_try='test -s conftest.$ac_objext'
84555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84556 (eval $ac_try) 2>&5
84557 ac_status=$?
84558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84559 (exit $ac_status); }; }; then
84560 glibcxx_cv_func__modff_use=yes
84561 else
84562 echo "$as_me: failed program was:" >&5
84563 sed 's/^/| /' conftest.$ac_ext >&5
84565 glibcxx_cv_func__modff_use=no
84567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84568 ac_ext=c
84569 ac_cpp='$CPP $CPPFLAGS'
84570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84578 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
84579 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
84581 if test x$glibcxx_cv_func__modff_use = x"yes"; then
84583 for ac_func in _modff
84585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84586 echo "$as_me:$LINENO: checking for $ac_func" >&5
84587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84588 if eval "test \"\${$as_ac_var+set}\" = set"; then
84589 echo $ECHO_N "(cached) $ECHO_C" >&6
84590 else
84591 if test x$gcc_no_link = xyes; then
84592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84594 { (exit 1); exit 1; }; }
84596 cat >conftest.$ac_ext <<_ACEOF
84597 /* confdefs.h. */
84598 _ACEOF
84599 cat confdefs.h >>conftest.$ac_ext
84600 cat >>conftest.$ac_ext <<_ACEOF
84601 /* end confdefs.h. */
84602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84604 #define $ac_func innocuous_$ac_func
84606 /* System header to define __stub macros and hopefully few prototypes,
84607 which can conflict with char $ac_func (); below.
84608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84609 <limits.h> exists even on freestanding compilers. */
84611 #ifdef __STDC__
84612 # include <limits.h>
84613 #else
84614 # include <assert.h>
84615 #endif
84617 #undef $ac_func
84619 /* Override any gcc2 internal prototype to avoid an error. */
84620 #ifdef __cplusplus
84621 extern "C"
84623 #endif
84624 /* We use char because int might match the return type of a gcc2
84625 builtin and then its argument prototype would still apply. */
84626 char $ac_func ();
84627 /* The GNU C library defines this for functions which it implements
84628 to always fail with ENOSYS. Some functions are actually named
84629 something starting with __ and the normal name is an alias. */
84630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84631 choke me
84632 #else
84633 char (*f) () = $ac_func;
84634 #endif
84635 #ifdef __cplusplus
84637 #endif
84640 main ()
84642 return f != $ac_func;
84644 return 0;
84646 _ACEOF
84647 rm -f conftest.$ac_objext conftest$ac_exeext
84648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84649 (eval $ac_link) 2>conftest.er1
84650 ac_status=$?
84651 grep -v '^ *+' conftest.er1 >conftest.err
84652 rm -f conftest.er1
84653 cat conftest.err >&5
84654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84655 (exit $ac_status); } &&
84656 { ac_try='test -z "$ac_c_werror_flag"
84657 || test ! -s conftest.err'
84658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84659 (eval $ac_try) 2>&5
84660 ac_status=$?
84661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84662 (exit $ac_status); }; } &&
84663 { ac_try='test -s conftest$ac_exeext'
84664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84665 (eval $ac_try) 2>&5
84666 ac_status=$?
84667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84668 (exit $ac_status); }; }; then
84669 eval "$as_ac_var=yes"
84670 else
84671 echo "$as_me: failed program was:" >&5
84672 sed 's/^/| /' conftest.$ac_ext >&5
84674 eval "$as_ac_var=no"
84676 rm -f conftest.err conftest.$ac_objext \
84677 conftest$ac_exeext conftest.$ac_ext
84679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84681 if test `eval echo '${'$as_ac_var'}'` = yes; then
84682 cat >>confdefs.h <<_ACEOF
84683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84684 _ACEOF
84687 done
84697 echo "$as_me:$LINENO: checking for modf declaration" >&5
84698 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
84699 if test x${glibcxx_cv_func_modf_use+set} != xset; then
84700 if test "${glibcxx_cv_func_modf_use+set}" = set; then
84701 echo $ECHO_N "(cached) $ECHO_C" >&6
84702 else
84706 ac_ext=cc
84707 ac_cpp='$CXXCPP $CPPFLAGS'
84708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84712 cat >conftest.$ac_ext <<_ACEOF
84713 /* confdefs.h. */
84714 _ACEOF
84715 cat confdefs.h >>conftest.$ac_ext
84716 cat >>conftest.$ac_ext <<_ACEOF
84717 /* end confdefs.h. */
84718 #include <math.h>
84720 main ()
84722 modf(0, 0);
84724 return 0;
84726 _ACEOF
84727 rm -f conftest.$ac_objext
84728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84729 (eval $ac_compile) 2>conftest.er1
84730 ac_status=$?
84731 grep -v '^ *+' conftest.er1 >conftest.err
84732 rm -f conftest.er1
84733 cat conftest.err >&5
84734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84735 (exit $ac_status); } &&
84736 { ac_try='test -z "$ac_cxx_werror_flag"
84737 || test ! -s conftest.err'
84738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84739 (eval $ac_try) 2>&5
84740 ac_status=$?
84741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84742 (exit $ac_status); }; } &&
84743 { ac_try='test -s conftest.$ac_objext'
84744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84745 (eval $ac_try) 2>&5
84746 ac_status=$?
84747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84748 (exit $ac_status); }; }; then
84749 glibcxx_cv_func_modf_use=yes
84750 else
84751 echo "$as_me: failed program was:" >&5
84752 sed 's/^/| /' conftest.$ac_ext >&5
84754 glibcxx_cv_func_modf_use=no
84756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84757 ac_ext=c
84758 ac_cpp='$CPP $CPPFLAGS'
84759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84767 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
84768 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
84770 if test x$glibcxx_cv_func_modf_use = x"yes"; then
84772 for ac_func in modf
84774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84775 echo "$as_me:$LINENO: checking for $ac_func" >&5
84776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84777 if eval "test \"\${$as_ac_var+set}\" = set"; then
84778 echo $ECHO_N "(cached) $ECHO_C" >&6
84779 else
84780 if test x$gcc_no_link = xyes; then
84781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84783 { (exit 1); exit 1; }; }
84785 cat >conftest.$ac_ext <<_ACEOF
84786 /* confdefs.h. */
84787 _ACEOF
84788 cat confdefs.h >>conftest.$ac_ext
84789 cat >>conftest.$ac_ext <<_ACEOF
84790 /* end confdefs.h. */
84791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84793 #define $ac_func innocuous_$ac_func
84795 /* System header to define __stub macros and hopefully few prototypes,
84796 which can conflict with char $ac_func (); below.
84797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84798 <limits.h> exists even on freestanding compilers. */
84800 #ifdef __STDC__
84801 # include <limits.h>
84802 #else
84803 # include <assert.h>
84804 #endif
84806 #undef $ac_func
84808 /* Override any gcc2 internal prototype to avoid an error. */
84809 #ifdef __cplusplus
84810 extern "C"
84812 #endif
84813 /* We use char because int might match the return type of a gcc2
84814 builtin and then its argument prototype would still apply. */
84815 char $ac_func ();
84816 /* The GNU C library defines this for functions which it implements
84817 to always fail with ENOSYS. Some functions are actually named
84818 something starting with __ and the normal name is an alias. */
84819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84820 choke me
84821 #else
84822 char (*f) () = $ac_func;
84823 #endif
84824 #ifdef __cplusplus
84826 #endif
84829 main ()
84831 return f != $ac_func;
84833 return 0;
84835 _ACEOF
84836 rm -f conftest.$ac_objext conftest$ac_exeext
84837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84838 (eval $ac_link) 2>conftest.er1
84839 ac_status=$?
84840 grep -v '^ *+' conftest.er1 >conftest.err
84841 rm -f conftest.er1
84842 cat conftest.err >&5
84843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84844 (exit $ac_status); } &&
84845 { ac_try='test -z "$ac_c_werror_flag"
84846 || test ! -s conftest.err'
84847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84848 (eval $ac_try) 2>&5
84849 ac_status=$?
84850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84851 (exit $ac_status); }; } &&
84852 { ac_try='test -s conftest$ac_exeext'
84853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84854 (eval $ac_try) 2>&5
84855 ac_status=$?
84856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84857 (exit $ac_status); }; }; then
84858 eval "$as_ac_var=yes"
84859 else
84860 echo "$as_me: failed program was:" >&5
84861 sed 's/^/| /' conftest.$ac_ext >&5
84863 eval "$as_ac_var=no"
84865 rm -f conftest.err conftest.$ac_objext \
84866 conftest$ac_exeext conftest.$ac_ext
84868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84870 if test `eval echo '${'$as_ac_var'}'` = yes; then
84871 cat >>confdefs.h <<_ACEOF
84872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84873 _ACEOF
84876 done
84878 else
84880 echo "$as_me:$LINENO: checking for _modf declaration" >&5
84881 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
84882 if test x${glibcxx_cv_func__modf_use+set} != xset; then
84883 if test "${glibcxx_cv_func__modf_use+set}" = set; then
84884 echo $ECHO_N "(cached) $ECHO_C" >&6
84885 else
84889 ac_ext=cc
84890 ac_cpp='$CXXCPP $CPPFLAGS'
84891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84895 cat >conftest.$ac_ext <<_ACEOF
84896 /* confdefs.h. */
84897 _ACEOF
84898 cat confdefs.h >>conftest.$ac_ext
84899 cat >>conftest.$ac_ext <<_ACEOF
84900 /* end confdefs.h. */
84901 #include <math.h>
84903 main ()
84905 _modf(0, 0);
84907 return 0;
84909 _ACEOF
84910 rm -f conftest.$ac_objext
84911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84912 (eval $ac_compile) 2>conftest.er1
84913 ac_status=$?
84914 grep -v '^ *+' conftest.er1 >conftest.err
84915 rm -f conftest.er1
84916 cat conftest.err >&5
84917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84918 (exit $ac_status); } &&
84919 { ac_try='test -z "$ac_cxx_werror_flag"
84920 || test ! -s conftest.err'
84921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84922 (eval $ac_try) 2>&5
84923 ac_status=$?
84924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84925 (exit $ac_status); }; } &&
84926 { ac_try='test -s conftest.$ac_objext'
84927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84928 (eval $ac_try) 2>&5
84929 ac_status=$?
84930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84931 (exit $ac_status); }; }; then
84932 glibcxx_cv_func__modf_use=yes
84933 else
84934 echo "$as_me: failed program was:" >&5
84935 sed 's/^/| /' conftest.$ac_ext >&5
84937 glibcxx_cv_func__modf_use=no
84939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84940 ac_ext=c
84941 ac_cpp='$CPP $CPPFLAGS'
84942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84950 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
84951 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
84953 if test x$glibcxx_cv_func__modf_use = x"yes"; then
84955 for ac_func in _modf
84957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84958 echo "$as_me:$LINENO: checking for $ac_func" >&5
84959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84960 if eval "test \"\${$as_ac_var+set}\" = set"; then
84961 echo $ECHO_N "(cached) $ECHO_C" >&6
84962 else
84963 if test x$gcc_no_link = xyes; then
84964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84966 { (exit 1); exit 1; }; }
84968 cat >conftest.$ac_ext <<_ACEOF
84969 /* confdefs.h. */
84970 _ACEOF
84971 cat confdefs.h >>conftest.$ac_ext
84972 cat >>conftest.$ac_ext <<_ACEOF
84973 /* end confdefs.h. */
84974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84976 #define $ac_func innocuous_$ac_func
84978 /* System header to define __stub macros and hopefully few prototypes,
84979 which can conflict with char $ac_func (); below.
84980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84981 <limits.h> exists even on freestanding compilers. */
84983 #ifdef __STDC__
84984 # include <limits.h>
84985 #else
84986 # include <assert.h>
84987 #endif
84989 #undef $ac_func
84991 /* Override any gcc2 internal prototype to avoid an error. */
84992 #ifdef __cplusplus
84993 extern "C"
84995 #endif
84996 /* We use char because int might match the return type of a gcc2
84997 builtin and then its argument prototype would still apply. */
84998 char $ac_func ();
84999 /* The GNU C library defines this for functions which it implements
85000 to always fail with ENOSYS. Some functions are actually named
85001 something starting with __ and the normal name is an alias. */
85002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85003 choke me
85004 #else
85005 char (*f) () = $ac_func;
85006 #endif
85007 #ifdef __cplusplus
85009 #endif
85012 main ()
85014 return f != $ac_func;
85016 return 0;
85018 _ACEOF
85019 rm -f conftest.$ac_objext conftest$ac_exeext
85020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85021 (eval $ac_link) 2>conftest.er1
85022 ac_status=$?
85023 grep -v '^ *+' conftest.er1 >conftest.err
85024 rm -f conftest.er1
85025 cat conftest.err >&5
85026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85027 (exit $ac_status); } &&
85028 { ac_try='test -z "$ac_c_werror_flag"
85029 || test ! -s conftest.err'
85030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85031 (eval $ac_try) 2>&5
85032 ac_status=$?
85033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85034 (exit $ac_status); }; } &&
85035 { ac_try='test -s conftest$ac_exeext'
85036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85037 (eval $ac_try) 2>&5
85038 ac_status=$?
85039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85040 (exit $ac_status); }; }; then
85041 eval "$as_ac_var=yes"
85042 else
85043 echo "$as_me: failed program was:" >&5
85044 sed 's/^/| /' conftest.$ac_ext >&5
85046 eval "$as_ac_var=no"
85048 rm -f conftest.err conftest.$ac_objext \
85049 conftest$ac_exeext conftest.$ac_ext
85051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85053 if test `eval echo '${'$as_ac_var'}'` = yes; then
85054 cat >>confdefs.h <<_ACEOF
85055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85056 _ACEOF
85059 done
85069 echo "$as_me:$LINENO: checking for powf declaration" >&5
85070 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
85071 if test x${glibcxx_cv_func_powf_use+set} != xset; then
85072 if test "${glibcxx_cv_func_powf_use+set}" = set; then
85073 echo $ECHO_N "(cached) $ECHO_C" >&6
85074 else
85078 ac_ext=cc
85079 ac_cpp='$CXXCPP $CPPFLAGS'
85080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85084 cat >conftest.$ac_ext <<_ACEOF
85085 /* confdefs.h. */
85086 _ACEOF
85087 cat confdefs.h >>conftest.$ac_ext
85088 cat >>conftest.$ac_ext <<_ACEOF
85089 /* end confdefs.h. */
85090 #include <math.h>
85092 main ()
85094 powf(0, 0);
85096 return 0;
85098 _ACEOF
85099 rm -f conftest.$ac_objext
85100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85101 (eval $ac_compile) 2>conftest.er1
85102 ac_status=$?
85103 grep -v '^ *+' conftest.er1 >conftest.err
85104 rm -f conftest.er1
85105 cat conftest.err >&5
85106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85107 (exit $ac_status); } &&
85108 { ac_try='test -z "$ac_cxx_werror_flag"
85109 || test ! -s conftest.err'
85110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85111 (eval $ac_try) 2>&5
85112 ac_status=$?
85113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85114 (exit $ac_status); }; } &&
85115 { ac_try='test -s conftest.$ac_objext'
85116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85117 (eval $ac_try) 2>&5
85118 ac_status=$?
85119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85120 (exit $ac_status); }; }; then
85121 glibcxx_cv_func_powf_use=yes
85122 else
85123 echo "$as_me: failed program was:" >&5
85124 sed 's/^/| /' conftest.$ac_ext >&5
85126 glibcxx_cv_func_powf_use=no
85128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85129 ac_ext=c
85130 ac_cpp='$CPP $CPPFLAGS'
85131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85139 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
85140 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
85142 if test x$glibcxx_cv_func_powf_use = x"yes"; then
85144 for ac_func in powf
85146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85147 echo "$as_me:$LINENO: checking for $ac_func" >&5
85148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85149 if eval "test \"\${$as_ac_var+set}\" = set"; then
85150 echo $ECHO_N "(cached) $ECHO_C" >&6
85151 else
85152 if test x$gcc_no_link = xyes; then
85153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85155 { (exit 1); exit 1; }; }
85157 cat >conftest.$ac_ext <<_ACEOF
85158 /* confdefs.h. */
85159 _ACEOF
85160 cat confdefs.h >>conftest.$ac_ext
85161 cat >>conftest.$ac_ext <<_ACEOF
85162 /* end confdefs.h. */
85163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85165 #define $ac_func innocuous_$ac_func
85167 /* System header to define __stub macros and hopefully few prototypes,
85168 which can conflict with char $ac_func (); below.
85169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85170 <limits.h> exists even on freestanding compilers. */
85172 #ifdef __STDC__
85173 # include <limits.h>
85174 #else
85175 # include <assert.h>
85176 #endif
85178 #undef $ac_func
85180 /* Override any gcc2 internal prototype to avoid an error. */
85181 #ifdef __cplusplus
85182 extern "C"
85184 #endif
85185 /* We use char because int might match the return type of a gcc2
85186 builtin and then its argument prototype would still apply. */
85187 char $ac_func ();
85188 /* The GNU C library defines this for functions which it implements
85189 to always fail with ENOSYS. Some functions are actually named
85190 something starting with __ and the normal name is an alias. */
85191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85192 choke me
85193 #else
85194 char (*f) () = $ac_func;
85195 #endif
85196 #ifdef __cplusplus
85198 #endif
85201 main ()
85203 return f != $ac_func;
85205 return 0;
85207 _ACEOF
85208 rm -f conftest.$ac_objext conftest$ac_exeext
85209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85210 (eval $ac_link) 2>conftest.er1
85211 ac_status=$?
85212 grep -v '^ *+' conftest.er1 >conftest.err
85213 rm -f conftest.er1
85214 cat conftest.err >&5
85215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85216 (exit $ac_status); } &&
85217 { ac_try='test -z "$ac_c_werror_flag"
85218 || test ! -s conftest.err'
85219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85220 (eval $ac_try) 2>&5
85221 ac_status=$?
85222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85223 (exit $ac_status); }; } &&
85224 { ac_try='test -s conftest$ac_exeext'
85225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85226 (eval $ac_try) 2>&5
85227 ac_status=$?
85228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85229 (exit $ac_status); }; }; then
85230 eval "$as_ac_var=yes"
85231 else
85232 echo "$as_me: failed program was:" >&5
85233 sed 's/^/| /' conftest.$ac_ext >&5
85235 eval "$as_ac_var=no"
85237 rm -f conftest.err conftest.$ac_objext \
85238 conftest$ac_exeext conftest.$ac_ext
85240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85242 if test `eval echo '${'$as_ac_var'}'` = yes; then
85243 cat >>confdefs.h <<_ACEOF
85244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85245 _ACEOF
85248 done
85250 else
85252 echo "$as_me:$LINENO: checking for _powf declaration" >&5
85253 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
85254 if test x${glibcxx_cv_func__powf_use+set} != xset; then
85255 if test "${glibcxx_cv_func__powf_use+set}" = set; then
85256 echo $ECHO_N "(cached) $ECHO_C" >&6
85257 else
85261 ac_ext=cc
85262 ac_cpp='$CXXCPP $CPPFLAGS'
85263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85267 cat >conftest.$ac_ext <<_ACEOF
85268 /* confdefs.h. */
85269 _ACEOF
85270 cat confdefs.h >>conftest.$ac_ext
85271 cat >>conftest.$ac_ext <<_ACEOF
85272 /* end confdefs.h. */
85273 #include <math.h>
85275 main ()
85277 _powf(0, 0);
85279 return 0;
85281 _ACEOF
85282 rm -f conftest.$ac_objext
85283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85284 (eval $ac_compile) 2>conftest.er1
85285 ac_status=$?
85286 grep -v '^ *+' conftest.er1 >conftest.err
85287 rm -f conftest.er1
85288 cat conftest.err >&5
85289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85290 (exit $ac_status); } &&
85291 { ac_try='test -z "$ac_cxx_werror_flag"
85292 || test ! -s conftest.err'
85293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85294 (eval $ac_try) 2>&5
85295 ac_status=$?
85296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85297 (exit $ac_status); }; } &&
85298 { ac_try='test -s conftest.$ac_objext'
85299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85300 (eval $ac_try) 2>&5
85301 ac_status=$?
85302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85303 (exit $ac_status); }; }; then
85304 glibcxx_cv_func__powf_use=yes
85305 else
85306 echo "$as_me: failed program was:" >&5
85307 sed 's/^/| /' conftest.$ac_ext >&5
85309 glibcxx_cv_func__powf_use=no
85311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85312 ac_ext=c
85313 ac_cpp='$CPP $CPPFLAGS'
85314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85322 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
85323 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
85325 if test x$glibcxx_cv_func__powf_use = x"yes"; then
85327 for ac_func in _powf
85329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85330 echo "$as_me:$LINENO: checking for $ac_func" >&5
85331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85332 if eval "test \"\${$as_ac_var+set}\" = set"; then
85333 echo $ECHO_N "(cached) $ECHO_C" >&6
85334 else
85335 if test x$gcc_no_link = xyes; then
85336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85338 { (exit 1); exit 1; }; }
85340 cat >conftest.$ac_ext <<_ACEOF
85341 /* confdefs.h. */
85342 _ACEOF
85343 cat confdefs.h >>conftest.$ac_ext
85344 cat >>conftest.$ac_ext <<_ACEOF
85345 /* end confdefs.h. */
85346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85348 #define $ac_func innocuous_$ac_func
85350 /* System header to define __stub macros and hopefully few prototypes,
85351 which can conflict with char $ac_func (); below.
85352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85353 <limits.h> exists even on freestanding compilers. */
85355 #ifdef __STDC__
85356 # include <limits.h>
85357 #else
85358 # include <assert.h>
85359 #endif
85361 #undef $ac_func
85363 /* Override any gcc2 internal prototype to avoid an error. */
85364 #ifdef __cplusplus
85365 extern "C"
85367 #endif
85368 /* We use char because int might match the return type of a gcc2
85369 builtin and then its argument prototype would still apply. */
85370 char $ac_func ();
85371 /* The GNU C library defines this for functions which it implements
85372 to always fail with ENOSYS. Some functions are actually named
85373 something starting with __ and the normal name is an alias. */
85374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85375 choke me
85376 #else
85377 char (*f) () = $ac_func;
85378 #endif
85379 #ifdef __cplusplus
85381 #endif
85384 main ()
85386 return f != $ac_func;
85388 return 0;
85390 _ACEOF
85391 rm -f conftest.$ac_objext conftest$ac_exeext
85392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85393 (eval $ac_link) 2>conftest.er1
85394 ac_status=$?
85395 grep -v '^ *+' conftest.er1 >conftest.err
85396 rm -f conftest.er1
85397 cat conftest.err >&5
85398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85399 (exit $ac_status); } &&
85400 { ac_try='test -z "$ac_c_werror_flag"
85401 || test ! -s conftest.err'
85402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85403 (eval $ac_try) 2>&5
85404 ac_status=$?
85405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85406 (exit $ac_status); }; } &&
85407 { ac_try='test -s conftest$ac_exeext'
85408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85409 (eval $ac_try) 2>&5
85410 ac_status=$?
85411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85412 (exit $ac_status); }; }; then
85413 eval "$as_ac_var=yes"
85414 else
85415 echo "$as_me: failed program was:" >&5
85416 sed 's/^/| /' conftest.$ac_ext >&5
85418 eval "$as_ac_var=no"
85420 rm -f conftest.err conftest.$ac_objext \
85421 conftest$ac_exeext conftest.$ac_ext
85423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85425 if test `eval echo '${'$as_ac_var'}'` = yes; then
85426 cat >>confdefs.h <<_ACEOF
85427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85428 _ACEOF
85431 done
85441 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
85442 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
85443 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
85444 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
85445 echo $ECHO_N "(cached) $ECHO_C" >&6
85446 else
85450 ac_ext=cc
85451 ac_cpp='$CXXCPP $CPPFLAGS'
85452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85456 cat >conftest.$ac_ext <<_ACEOF
85457 /* confdefs.h. */
85458 _ACEOF
85459 cat confdefs.h >>conftest.$ac_ext
85460 cat >>conftest.$ac_ext <<_ACEOF
85461 /* end confdefs.h. */
85462 #include <math.h>
85463 #ifdef HAVE_IEEEFP_H
85464 #include <ieeefp.h>
85465 #endif
85468 main ()
85470 sqrtf(0);
85472 return 0;
85474 _ACEOF
85475 rm -f conftest.$ac_objext
85476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85477 (eval $ac_compile) 2>conftest.er1
85478 ac_status=$?
85479 grep -v '^ *+' conftest.er1 >conftest.err
85480 rm -f conftest.er1
85481 cat conftest.err >&5
85482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85483 (exit $ac_status); } &&
85484 { ac_try='test -z "$ac_cxx_werror_flag"
85485 || test ! -s conftest.err'
85486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85487 (eval $ac_try) 2>&5
85488 ac_status=$?
85489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85490 (exit $ac_status); }; } &&
85491 { ac_try='test -s conftest.$ac_objext'
85492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85493 (eval $ac_try) 2>&5
85494 ac_status=$?
85495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85496 (exit $ac_status); }; }; then
85497 glibcxx_cv_func_sqrtf_use=yes
85498 else
85499 echo "$as_me: failed program was:" >&5
85500 sed 's/^/| /' conftest.$ac_ext >&5
85502 glibcxx_cv_func_sqrtf_use=no
85504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85505 ac_ext=c
85506 ac_cpp='$CPP $CPPFLAGS'
85507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85515 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
85516 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
85518 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
85520 for ac_func in sqrtf
85522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85523 echo "$as_me:$LINENO: checking for $ac_func" >&5
85524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85525 if eval "test \"\${$as_ac_var+set}\" = set"; then
85526 echo $ECHO_N "(cached) $ECHO_C" >&6
85527 else
85528 if test x$gcc_no_link = xyes; then
85529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85531 { (exit 1); exit 1; }; }
85533 cat >conftest.$ac_ext <<_ACEOF
85534 /* confdefs.h. */
85535 _ACEOF
85536 cat confdefs.h >>conftest.$ac_ext
85537 cat >>conftest.$ac_ext <<_ACEOF
85538 /* end confdefs.h. */
85539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85541 #define $ac_func innocuous_$ac_func
85543 /* System header to define __stub macros and hopefully few prototypes,
85544 which can conflict with char $ac_func (); below.
85545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85546 <limits.h> exists even on freestanding compilers. */
85548 #ifdef __STDC__
85549 # include <limits.h>
85550 #else
85551 # include <assert.h>
85552 #endif
85554 #undef $ac_func
85556 /* Override any gcc2 internal prototype to avoid an error. */
85557 #ifdef __cplusplus
85558 extern "C"
85560 #endif
85561 /* We use char because int might match the return type of a gcc2
85562 builtin and then its argument prototype would still apply. */
85563 char $ac_func ();
85564 /* The GNU C library defines this for functions which it implements
85565 to always fail with ENOSYS. Some functions are actually named
85566 something starting with __ and the normal name is an alias. */
85567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85568 choke me
85569 #else
85570 char (*f) () = $ac_func;
85571 #endif
85572 #ifdef __cplusplus
85574 #endif
85577 main ()
85579 return f != $ac_func;
85581 return 0;
85583 _ACEOF
85584 rm -f conftest.$ac_objext conftest$ac_exeext
85585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85586 (eval $ac_link) 2>conftest.er1
85587 ac_status=$?
85588 grep -v '^ *+' conftest.er1 >conftest.err
85589 rm -f conftest.er1
85590 cat conftest.err >&5
85591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85592 (exit $ac_status); } &&
85593 { ac_try='test -z "$ac_c_werror_flag"
85594 || test ! -s conftest.err'
85595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85596 (eval $ac_try) 2>&5
85597 ac_status=$?
85598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85599 (exit $ac_status); }; } &&
85600 { ac_try='test -s conftest$ac_exeext'
85601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85602 (eval $ac_try) 2>&5
85603 ac_status=$?
85604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85605 (exit $ac_status); }; }; then
85606 eval "$as_ac_var=yes"
85607 else
85608 echo "$as_me: failed program was:" >&5
85609 sed 's/^/| /' conftest.$ac_ext >&5
85611 eval "$as_ac_var=no"
85613 rm -f conftest.err conftest.$ac_objext \
85614 conftest$ac_exeext conftest.$ac_ext
85616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85618 if test `eval echo '${'$as_ac_var'}'` = yes; then
85619 cat >>confdefs.h <<_ACEOF
85620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85621 _ACEOF
85624 done
85626 else
85628 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
85629 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
85630 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
85631 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
85632 echo $ECHO_N "(cached) $ECHO_C" >&6
85633 else
85637 ac_ext=cc
85638 ac_cpp='$CXXCPP $CPPFLAGS'
85639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85643 cat >conftest.$ac_ext <<_ACEOF
85644 /* confdefs.h. */
85645 _ACEOF
85646 cat confdefs.h >>conftest.$ac_ext
85647 cat >>conftest.$ac_ext <<_ACEOF
85648 /* end confdefs.h. */
85649 #include <math.h>
85650 #ifdef HAVE_IEEEFP_H
85651 #include <ieeefp.h>
85652 #endif
85655 main ()
85657 _sqrtf(0);
85659 return 0;
85661 _ACEOF
85662 rm -f conftest.$ac_objext
85663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85664 (eval $ac_compile) 2>conftest.er1
85665 ac_status=$?
85666 grep -v '^ *+' conftest.er1 >conftest.err
85667 rm -f conftest.er1
85668 cat conftest.err >&5
85669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85670 (exit $ac_status); } &&
85671 { ac_try='test -z "$ac_cxx_werror_flag"
85672 || test ! -s conftest.err'
85673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85674 (eval $ac_try) 2>&5
85675 ac_status=$?
85676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85677 (exit $ac_status); }; } &&
85678 { ac_try='test -s conftest.$ac_objext'
85679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85680 (eval $ac_try) 2>&5
85681 ac_status=$?
85682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85683 (exit $ac_status); }; }; then
85684 glibcxx_cv_func__sqrtf_use=yes
85685 else
85686 echo "$as_me: failed program was:" >&5
85687 sed 's/^/| /' conftest.$ac_ext >&5
85689 glibcxx_cv_func__sqrtf_use=no
85691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85692 ac_ext=c
85693 ac_cpp='$CPP $CPPFLAGS'
85694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85702 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
85703 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
85705 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
85707 for ac_func in _sqrtf
85709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85710 echo "$as_me:$LINENO: checking for $ac_func" >&5
85711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85712 if eval "test \"\${$as_ac_var+set}\" = set"; then
85713 echo $ECHO_N "(cached) $ECHO_C" >&6
85714 else
85715 if test x$gcc_no_link = xyes; then
85716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85718 { (exit 1); exit 1; }; }
85720 cat >conftest.$ac_ext <<_ACEOF
85721 /* confdefs.h. */
85722 _ACEOF
85723 cat confdefs.h >>conftest.$ac_ext
85724 cat >>conftest.$ac_ext <<_ACEOF
85725 /* end confdefs.h. */
85726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85728 #define $ac_func innocuous_$ac_func
85730 /* System header to define __stub macros and hopefully few prototypes,
85731 which can conflict with char $ac_func (); below.
85732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85733 <limits.h> exists even on freestanding compilers. */
85735 #ifdef __STDC__
85736 # include <limits.h>
85737 #else
85738 # include <assert.h>
85739 #endif
85741 #undef $ac_func
85743 /* Override any gcc2 internal prototype to avoid an error. */
85744 #ifdef __cplusplus
85745 extern "C"
85747 #endif
85748 /* We use char because int might match the return type of a gcc2
85749 builtin and then its argument prototype would still apply. */
85750 char $ac_func ();
85751 /* The GNU C library defines this for functions which it implements
85752 to always fail with ENOSYS. Some functions are actually named
85753 something starting with __ and the normal name is an alias. */
85754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85755 choke me
85756 #else
85757 char (*f) () = $ac_func;
85758 #endif
85759 #ifdef __cplusplus
85761 #endif
85764 main ()
85766 return f != $ac_func;
85768 return 0;
85770 _ACEOF
85771 rm -f conftest.$ac_objext conftest$ac_exeext
85772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85773 (eval $ac_link) 2>conftest.er1
85774 ac_status=$?
85775 grep -v '^ *+' conftest.er1 >conftest.err
85776 rm -f conftest.er1
85777 cat conftest.err >&5
85778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85779 (exit $ac_status); } &&
85780 { ac_try='test -z "$ac_c_werror_flag"
85781 || test ! -s conftest.err'
85782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85783 (eval $ac_try) 2>&5
85784 ac_status=$?
85785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85786 (exit $ac_status); }; } &&
85787 { ac_try='test -s conftest$ac_exeext'
85788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85789 (eval $ac_try) 2>&5
85790 ac_status=$?
85791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85792 (exit $ac_status); }; }; then
85793 eval "$as_ac_var=yes"
85794 else
85795 echo "$as_me: failed program was:" >&5
85796 sed 's/^/| /' conftest.$ac_ext >&5
85798 eval "$as_ac_var=no"
85800 rm -f conftest.err conftest.$ac_objext \
85801 conftest$ac_exeext conftest.$ac_ext
85803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85805 if test `eval echo '${'$as_ac_var'}'` = yes; then
85806 cat >>confdefs.h <<_ACEOF
85807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85808 _ACEOF
85811 done
85821 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
85822 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
85823 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
85824 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
85825 echo $ECHO_N "(cached) $ECHO_C" >&6
85826 else
85830 ac_ext=cc
85831 ac_cpp='$CXXCPP $CPPFLAGS'
85832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85836 cat >conftest.$ac_ext <<_ACEOF
85837 /* confdefs.h. */
85838 _ACEOF
85839 cat confdefs.h >>conftest.$ac_ext
85840 cat >>conftest.$ac_ext <<_ACEOF
85841 /* end confdefs.h. */
85842 #include <math.h>
85844 main ()
85846 sincosf(0, 0, 0);
85848 return 0;
85850 _ACEOF
85851 rm -f conftest.$ac_objext
85852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85853 (eval $ac_compile) 2>conftest.er1
85854 ac_status=$?
85855 grep -v '^ *+' conftest.er1 >conftest.err
85856 rm -f conftest.er1
85857 cat conftest.err >&5
85858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85859 (exit $ac_status); } &&
85860 { ac_try='test -z "$ac_cxx_werror_flag"
85861 || test ! -s conftest.err'
85862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85863 (eval $ac_try) 2>&5
85864 ac_status=$?
85865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85866 (exit $ac_status); }; } &&
85867 { ac_try='test -s conftest.$ac_objext'
85868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85869 (eval $ac_try) 2>&5
85870 ac_status=$?
85871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85872 (exit $ac_status); }; }; then
85873 glibcxx_cv_func_sincosf_use=yes
85874 else
85875 echo "$as_me: failed program was:" >&5
85876 sed 's/^/| /' conftest.$ac_ext >&5
85878 glibcxx_cv_func_sincosf_use=no
85880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85881 ac_ext=c
85882 ac_cpp='$CPP $CPPFLAGS'
85883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85891 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
85892 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
85894 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
85896 for ac_func in sincosf
85898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85899 echo "$as_me:$LINENO: checking for $ac_func" >&5
85900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85901 if eval "test \"\${$as_ac_var+set}\" = set"; then
85902 echo $ECHO_N "(cached) $ECHO_C" >&6
85903 else
85904 if test x$gcc_no_link = xyes; then
85905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85907 { (exit 1); exit 1; }; }
85909 cat >conftest.$ac_ext <<_ACEOF
85910 /* confdefs.h. */
85911 _ACEOF
85912 cat confdefs.h >>conftest.$ac_ext
85913 cat >>conftest.$ac_ext <<_ACEOF
85914 /* end confdefs.h. */
85915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85917 #define $ac_func innocuous_$ac_func
85919 /* System header to define __stub macros and hopefully few prototypes,
85920 which can conflict with char $ac_func (); below.
85921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85922 <limits.h> exists even on freestanding compilers. */
85924 #ifdef __STDC__
85925 # include <limits.h>
85926 #else
85927 # include <assert.h>
85928 #endif
85930 #undef $ac_func
85932 /* Override any gcc2 internal prototype to avoid an error. */
85933 #ifdef __cplusplus
85934 extern "C"
85936 #endif
85937 /* We use char because int might match the return type of a gcc2
85938 builtin and then its argument prototype would still apply. */
85939 char $ac_func ();
85940 /* The GNU C library defines this for functions which it implements
85941 to always fail with ENOSYS. Some functions are actually named
85942 something starting with __ and the normal name is an alias. */
85943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85944 choke me
85945 #else
85946 char (*f) () = $ac_func;
85947 #endif
85948 #ifdef __cplusplus
85950 #endif
85953 main ()
85955 return f != $ac_func;
85957 return 0;
85959 _ACEOF
85960 rm -f conftest.$ac_objext conftest$ac_exeext
85961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85962 (eval $ac_link) 2>conftest.er1
85963 ac_status=$?
85964 grep -v '^ *+' conftest.er1 >conftest.err
85965 rm -f conftest.er1
85966 cat conftest.err >&5
85967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85968 (exit $ac_status); } &&
85969 { ac_try='test -z "$ac_c_werror_flag"
85970 || test ! -s conftest.err'
85971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85972 (eval $ac_try) 2>&5
85973 ac_status=$?
85974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85975 (exit $ac_status); }; } &&
85976 { ac_try='test -s conftest$ac_exeext'
85977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85978 (eval $ac_try) 2>&5
85979 ac_status=$?
85980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85981 (exit $ac_status); }; }; then
85982 eval "$as_ac_var=yes"
85983 else
85984 echo "$as_me: failed program was:" >&5
85985 sed 's/^/| /' conftest.$ac_ext >&5
85987 eval "$as_ac_var=no"
85989 rm -f conftest.err conftest.$ac_objext \
85990 conftest$ac_exeext conftest.$ac_ext
85992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85994 if test `eval echo '${'$as_ac_var'}'` = yes; then
85995 cat >>confdefs.h <<_ACEOF
85996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85997 _ACEOF
86000 done
86002 else
86004 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
86005 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
86006 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
86007 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
86008 echo $ECHO_N "(cached) $ECHO_C" >&6
86009 else
86013 ac_ext=cc
86014 ac_cpp='$CXXCPP $CPPFLAGS'
86015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86019 cat >conftest.$ac_ext <<_ACEOF
86020 /* confdefs.h. */
86021 _ACEOF
86022 cat confdefs.h >>conftest.$ac_ext
86023 cat >>conftest.$ac_ext <<_ACEOF
86024 /* end confdefs.h. */
86025 #include <math.h>
86027 main ()
86029 _sincosf(0, 0, 0);
86031 return 0;
86033 _ACEOF
86034 rm -f conftest.$ac_objext
86035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86036 (eval $ac_compile) 2>conftest.er1
86037 ac_status=$?
86038 grep -v '^ *+' conftest.er1 >conftest.err
86039 rm -f conftest.er1
86040 cat conftest.err >&5
86041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86042 (exit $ac_status); } &&
86043 { ac_try='test -z "$ac_cxx_werror_flag"
86044 || test ! -s conftest.err'
86045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86046 (eval $ac_try) 2>&5
86047 ac_status=$?
86048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86049 (exit $ac_status); }; } &&
86050 { ac_try='test -s conftest.$ac_objext'
86051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86052 (eval $ac_try) 2>&5
86053 ac_status=$?
86054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86055 (exit $ac_status); }; }; then
86056 glibcxx_cv_func__sincosf_use=yes
86057 else
86058 echo "$as_me: failed program was:" >&5
86059 sed 's/^/| /' conftest.$ac_ext >&5
86061 glibcxx_cv_func__sincosf_use=no
86063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86064 ac_ext=c
86065 ac_cpp='$CPP $CPPFLAGS'
86066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
86075 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
86077 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
86079 for ac_func in _sincosf
86081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86082 echo "$as_me:$LINENO: checking for $ac_func" >&5
86083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86084 if eval "test \"\${$as_ac_var+set}\" = set"; then
86085 echo $ECHO_N "(cached) $ECHO_C" >&6
86086 else
86087 if test x$gcc_no_link = xyes; then
86088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86090 { (exit 1); exit 1; }; }
86092 cat >conftest.$ac_ext <<_ACEOF
86093 /* confdefs.h. */
86094 _ACEOF
86095 cat confdefs.h >>conftest.$ac_ext
86096 cat >>conftest.$ac_ext <<_ACEOF
86097 /* end confdefs.h. */
86098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86100 #define $ac_func innocuous_$ac_func
86102 /* System header to define __stub macros and hopefully few prototypes,
86103 which can conflict with char $ac_func (); below.
86104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86105 <limits.h> exists even on freestanding compilers. */
86107 #ifdef __STDC__
86108 # include <limits.h>
86109 #else
86110 # include <assert.h>
86111 #endif
86113 #undef $ac_func
86115 /* Override any gcc2 internal prototype to avoid an error. */
86116 #ifdef __cplusplus
86117 extern "C"
86119 #endif
86120 /* We use char because int might match the return type of a gcc2
86121 builtin and then its argument prototype would still apply. */
86122 char $ac_func ();
86123 /* The GNU C library defines this for functions which it implements
86124 to always fail with ENOSYS. Some functions are actually named
86125 something starting with __ and the normal name is an alias. */
86126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86127 choke me
86128 #else
86129 char (*f) () = $ac_func;
86130 #endif
86131 #ifdef __cplusplus
86133 #endif
86136 main ()
86138 return f != $ac_func;
86140 return 0;
86142 _ACEOF
86143 rm -f conftest.$ac_objext conftest$ac_exeext
86144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86145 (eval $ac_link) 2>conftest.er1
86146 ac_status=$?
86147 grep -v '^ *+' conftest.er1 >conftest.err
86148 rm -f conftest.er1
86149 cat conftest.err >&5
86150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86151 (exit $ac_status); } &&
86152 { ac_try='test -z "$ac_c_werror_flag"
86153 || test ! -s conftest.err'
86154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86155 (eval $ac_try) 2>&5
86156 ac_status=$?
86157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86158 (exit $ac_status); }; } &&
86159 { ac_try='test -s conftest$ac_exeext'
86160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86161 (eval $ac_try) 2>&5
86162 ac_status=$?
86163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86164 (exit $ac_status); }; }; then
86165 eval "$as_ac_var=yes"
86166 else
86167 echo "$as_me: failed program was:" >&5
86168 sed 's/^/| /' conftest.$ac_ext >&5
86170 eval "$as_ac_var=no"
86172 rm -f conftest.err conftest.$ac_objext \
86173 conftest$ac_exeext conftest.$ac_ext
86175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86177 if test `eval echo '${'$as_ac_var'}'` = yes; then
86178 cat >>confdefs.h <<_ACEOF
86179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86180 _ACEOF
86183 done
86193 echo "$as_me:$LINENO: checking for finitef declaration" >&5
86194 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
86195 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
86196 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
86197 echo $ECHO_N "(cached) $ECHO_C" >&6
86198 else
86202 ac_ext=cc
86203 ac_cpp='$CXXCPP $CPPFLAGS'
86204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86208 cat >conftest.$ac_ext <<_ACEOF
86209 /* confdefs.h. */
86210 _ACEOF
86211 cat confdefs.h >>conftest.$ac_ext
86212 cat >>conftest.$ac_ext <<_ACEOF
86213 /* end confdefs.h. */
86214 #include <math.h>
86215 #ifdef HAVE_IEEEFP_H
86216 #include <ieeefp.h>
86217 #endif
86220 main ()
86222 finitef(0);
86224 return 0;
86226 _ACEOF
86227 rm -f conftest.$ac_objext
86228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86229 (eval $ac_compile) 2>conftest.er1
86230 ac_status=$?
86231 grep -v '^ *+' conftest.er1 >conftest.err
86232 rm -f conftest.er1
86233 cat conftest.err >&5
86234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86235 (exit $ac_status); } &&
86236 { ac_try='test -z "$ac_cxx_werror_flag"
86237 || test ! -s conftest.err'
86238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86239 (eval $ac_try) 2>&5
86240 ac_status=$?
86241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86242 (exit $ac_status); }; } &&
86243 { ac_try='test -s conftest.$ac_objext'
86244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86245 (eval $ac_try) 2>&5
86246 ac_status=$?
86247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86248 (exit $ac_status); }; }; then
86249 glibcxx_cv_func_finitef_use=yes
86250 else
86251 echo "$as_me: failed program was:" >&5
86252 sed 's/^/| /' conftest.$ac_ext >&5
86254 glibcxx_cv_func_finitef_use=no
86256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86257 ac_ext=c
86258 ac_cpp='$CPP $CPPFLAGS'
86259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86267 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
86268 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
86270 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
86272 for ac_func in finitef
86274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86275 echo "$as_me:$LINENO: checking for $ac_func" >&5
86276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86277 if eval "test \"\${$as_ac_var+set}\" = set"; then
86278 echo $ECHO_N "(cached) $ECHO_C" >&6
86279 else
86280 if test x$gcc_no_link = xyes; then
86281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86283 { (exit 1); exit 1; }; }
86285 cat >conftest.$ac_ext <<_ACEOF
86286 /* confdefs.h. */
86287 _ACEOF
86288 cat confdefs.h >>conftest.$ac_ext
86289 cat >>conftest.$ac_ext <<_ACEOF
86290 /* end confdefs.h. */
86291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86293 #define $ac_func innocuous_$ac_func
86295 /* System header to define __stub macros and hopefully few prototypes,
86296 which can conflict with char $ac_func (); below.
86297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86298 <limits.h> exists even on freestanding compilers. */
86300 #ifdef __STDC__
86301 # include <limits.h>
86302 #else
86303 # include <assert.h>
86304 #endif
86306 #undef $ac_func
86308 /* Override any gcc2 internal prototype to avoid an error. */
86309 #ifdef __cplusplus
86310 extern "C"
86312 #endif
86313 /* We use char because int might match the return type of a gcc2
86314 builtin and then its argument prototype would still apply. */
86315 char $ac_func ();
86316 /* The GNU C library defines this for functions which it implements
86317 to always fail with ENOSYS. Some functions are actually named
86318 something starting with __ and the normal name is an alias. */
86319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86320 choke me
86321 #else
86322 char (*f) () = $ac_func;
86323 #endif
86324 #ifdef __cplusplus
86326 #endif
86329 main ()
86331 return f != $ac_func;
86333 return 0;
86335 _ACEOF
86336 rm -f conftest.$ac_objext conftest$ac_exeext
86337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86338 (eval $ac_link) 2>conftest.er1
86339 ac_status=$?
86340 grep -v '^ *+' conftest.er1 >conftest.err
86341 rm -f conftest.er1
86342 cat conftest.err >&5
86343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86344 (exit $ac_status); } &&
86345 { ac_try='test -z "$ac_c_werror_flag"
86346 || test ! -s conftest.err'
86347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86348 (eval $ac_try) 2>&5
86349 ac_status=$?
86350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86351 (exit $ac_status); }; } &&
86352 { ac_try='test -s conftest$ac_exeext'
86353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86354 (eval $ac_try) 2>&5
86355 ac_status=$?
86356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86357 (exit $ac_status); }; }; then
86358 eval "$as_ac_var=yes"
86359 else
86360 echo "$as_me: failed program was:" >&5
86361 sed 's/^/| /' conftest.$ac_ext >&5
86363 eval "$as_ac_var=no"
86365 rm -f conftest.err conftest.$ac_objext \
86366 conftest$ac_exeext conftest.$ac_ext
86368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86370 if test `eval echo '${'$as_ac_var'}'` = yes; then
86371 cat >>confdefs.h <<_ACEOF
86372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86373 _ACEOF
86376 done
86378 else
86380 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
86381 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
86382 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
86383 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
86384 echo $ECHO_N "(cached) $ECHO_C" >&6
86385 else
86389 ac_ext=cc
86390 ac_cpp='$CXXCPP $CPPFLAGS'
86391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86395 cat >conftest.$ac_ext <<_ACEOF
86396 /* confdefs.h. */
86397 _ACEOF
86398 cat confdefs.h >>conftest.$ac_ext
86399 cat >>conftest.$ac_ext <<_ACEOF
86400 /* end confdefs.h. */
86401 #include <math.h>
86402 #ifdef HAVE_IEEEFP_H
86403 #include <ieeefp.h>
86404 #endif
86407 main ()
86409 _finitef(0);
86411 return 0;
86413 _ACEOF
86414 rm -f conftest.$ac_objext
86415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86416 (eval $ac_compile) 2>conftest.er1
86417 ac_status=$?
86418 grep -v '^ *+' conftest.er1 >conftest.err
86419 rm -f conftest.er1
86420 cat conftest.err >&5
86421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86422 (exit $ac_status); } &&
86423 { ac_try='test -z "$ac_cxx_werror_flag"
86424 || test ! -s conftest.err'
86425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86426 (eval $ac_try) 2>&5
86427 ac_status=$?
86428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86429 (exit $ac_status); }; } &&
86430 { ac_try='test -s conftest.$ac_objext'
86431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86432 (eval $ac_try) 2>&5
86433 ac_status=$?
86434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86435 (exit $ac_status); }; }; then
86436 glibcxx_cv_func__finitef_use=yes
86437 else
86438 echo "$as_me: failed program was:" >&5
86439 sed 's/^/| /' conftest.$ac_ext >&5
86441 glibcxx_cv_func__finitef_use=no
86443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86444 ac_ext=c
86445 ac_cpp='$CPP $CPPFLAGS'
86446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86454 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
86455 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
86457 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
86459 for ac_func in _finitef
86461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86462 echo "$as_me:$LINENO: checking for $ac_func" >&5
86463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86464 if eval "test \"\${$as_ac_var+set}\" = set"; then
86465 echo $ECHO_N "(cached) $ECHO_C" >&6
86466 else
86467 if test x$gcc_no_link = xyes; then
86468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86470 { (exit 1); exit 1; }; }
86472 cat >conftest.$ac_ext <<_ACEOF
86473 /* confdefs.h. */
86474 _ACEOF
86475 cat confdefs.h >>conftest.$ac_ext
86476 cat >>conftest.$ac_ext <<_ACEOF
86477 /* end confdefs.h. */
86478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86480 #define $ac_func innocuous_$ac_func
86482 /* System header to define __stub macros and hopefully few prototypes,
86483 which can conflict with char $ac_func (); below.
86484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86485 <limits.h> exists even on freestanding compilers. */
86487 #ifdef __STDC__
86488 # include <limits.h>
86489 #else
86490 # include <assert.h>
86491 #endif
86493 #undef $ac_func
86495 /* Override any gcc2 internal prototype to avoid an error. */
86496 #ifdef __cplusplus
86497 extern "C"
86499 #endif
86500 /* We use char because int might match the return type of a gcc2
86501 builtin and then its argument prototype would still apply. */
86502 char $ac_func ();
86503 /* The GNU C library defines this for functions which it implements
86504 to always fail with ENOSYS. Some functions are actually named
86505 something starting with __ and the normal name is an alias. */
86506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86507 choke me
86508 #else
86509 char (*f) () = $ac_func;
86510 #endif
86511 #ifdef __cplusplus
86513 #endif
86516 main ()
86518 return f != $ac_func;
86520 return 0;
86522 _ACEOF
86523 rm -f conftest.$ac_objext conftest$ac_exeext
86524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86525 (eval $ac_link) 2>conftest.er1
86526 ac_status=$?
86527 grep -v '^ *+' conftest.er1 >conftest.err
86528 rm -f conftest.er1
86529 cat conftest.err >&5
86530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86531 (exit $ac_status); } &&
86532 { ac_try='test -z "$ac_c_werror_flag"
86533 || test ! -s conftest.err'
86534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86535 (eval $ac_try) 2>&5
86536 ac_status=$?
86537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86538 (exit $ac_status); }; } &&
86539 { ac_try='test -s conftest$ac_exeext'
86540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86541 (eval $ac_try) 2>&5
86542 ac_status=$?
86543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86544 (exit $ac_status); }; }; then
86545 eval "$as_ac_var=yes"
86546 else
86547 echo "$as_me: failed program was:" >&5
86548 sed 's/^/| /' conftest.$ac_ext >&5
86550 eval "$as_ac_var=no"
86552 rm -f conftest.err conftest.$ac_objext \
86553 conftest$ac_exeext conftest.$ac_ext
86555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86557 if test `eval echo '${'$as_ac_var'}'` = yes; then
86558 cat >>confdefs.h <<_ACEOF
86559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86560 _ACEOF
86563 done
86573 echo "$as_me:$LINENO: checking for long double trig functions" >&5
86574 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
86575 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
86576 echo $ECHO_N "(cached) $ECHO_C" >&6
86577 else
86581 ac_ext=cc
86582 ac_cpp='$CXXCPP $CPPFLAGS'
86583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86587 cat >conftest.$ac_ext <<_ACEOF
86588 /* confdefs.h. */
86589 _ACEOF
86590 cat confdefs.h >>conftest.$ac_ext
86591 cat >>conftest.$ac_ext <<_ACEOF
86592 /* end confdefs.h. */
86593 #include <math.h>
86595 main ()
86597 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
86599 return 0;
86601 _ACEOF
86602 rm -f conftest.$ac_objext
86603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86604 (eval $ac_compile) 2>conftest.er1
86605 ac_status=$?
86606 grep -v '^ *+' conftest.er1 >conftest.err
86607 rm -f conftest.er1
86608 cat conftest.err >&5
86609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86610 (exit $ac_status); } &&
86611 { ac_try='test -z "$ac_cxx_werror_flag"
86612 || test ! -s conftest.err'
86613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86614 (eval $ac_try) 2>&5
86615 ac_status=$?
86616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86617 (exit $ac_status); }; } &&
86618 { ac_try='test -s conftest.$ac_objext'
86619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86620 (eval $ac_try) 2>&5
86621 ac_status=$?
86622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86623 (exit $ac_status); }; }; then
86624 glibcxx_cv_func_long_double_trig_use=yes
86625 else
86626 echo "$as_me: failed program was:" >&5
86627 sed 's/^/| /' conftest.$ac_ext >&5
86629 glibcxx_cv_func_long_double_trig_use=no
86631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86632 ac_ext=c
86633 ac_cpp='$CPP $CPPFLAGS'
86634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86640 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
86641 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
86642 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
86652 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
86654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86655 echo "$as_me:$LINENO: checking for $ac_func" >&5
86656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86657 if eval "test \"\${$as_ac_var+set}\" = set"; then
86658 echo $ECHO_N "(cached) $ECHO_C" >&6
86659 else
86660 if test x$gcc_no_link = xyes; then
86661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86663 { (exit 1); exit 1; }; }
86665 cat >conftest.$ac_ext <<_ACEOF
86666 /* confdefs.h. */
86667 _ACEOF
86668 cat confdefs.h >>conftest.$ac_ext
86669 cat >>conftest.$ac_ext <<_ACEOF
86670 /* end confdefs.h. */
86671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86673 #define $ac_func innocuous_$ac_func
86675 /* System header to define __stub macros and hopefully few prototypes,
86676 which can conflict with char $ac_func (); below.
86677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86678 <limits.h> exists even on freestanding compilers. */
86680 #ifdef __STDC__
86681 # include <limits.h>
86682 #else
86683 # include <assert.h>
86684 #endif
86686 #undef $ac_func
86688 /* Override any gcc2 internal prototype to avoid an error. */
86689 #ifdef __cplusplus
86690 extern "C"
86692 #endif
86693 /* We use char because int might match the return type of a gcc2
86694 builtin and then its argument prototype would still apply. */
86695 char $ac_func ();
86696 /* The GNU C library defines this for functions which it implements
86697 to always fail with ENOSYS. Some functions are actually named
86698 something starting with __ and the normal name is an alias. */
86699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86700 choke me
86701 #else
86702 char (*f) () = $ac_func;
86703 #endif
86704 #ifdef __cplusplus
86706 #endif
86709 main ()
86711 return f != $ac_func;
86713 return 0;
86715 _ACEOF
86716 rm -f conftest.$ac_objext conftest$ac_exeext
86717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86718 (eval $ac_link) 2>conftest.er1
86719 ac_status=$?
86720 grep -v '^ *+' conftest.er1 >conftest.err
86721 rm -f conftest.er1
86722 cat conftest.err >&5
86723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86724 (exit $ac_status); } &&
86725 { ac_try='test -z "$ac_c_werror_flag"
86726 || test ! -s conftest.err'
86727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86728 (eval $ac_try) 2>&5
86729 ac_status=$?
86730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86731 (exit $ac_status); }; } &&
86732 { ac_try='test -s conftest$ac_exeext'
86733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86734 (eval $ac_try) 2>&5
86735 ac_status=$?
86736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86737 (exit $ac_status); }; }; then
86738 eval "$as_ac_var=yes"
86739 else
86740 echo "$as_me: failed program was:" >&5
86741 sed 's/^/| /' conftest.$ac_ext >&5
86743 eval "$as_ac_var=no"
86745 rm -f conftest.err conftest.$ac_objext \
86746 conftest$ac_exeext conftest.$ac_ext
86748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86750 if test `eval echo '${'$as_ac_var'}'` = yes; then
86751 cat >>confdefs.h <<_ACEOF
86752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86753 _ACEOF
86756 done
86758 else
86759 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
86760 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
86761 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
86762 echo $ECHO_N "(cached) $ECHO_C" >&6
86763 else
86767 ac_ext=cc
86768 ac_cpp='$CXXCPP $CPPFLAGS'
86769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86773 cat >conftest.$ac_ext <<_ACEOF
86774 /* confdefs.h. */
86775 _ACEOF
86776 cat confdefs.h >>conftest.$ac_ext
86777 cat >>conftest.$ac_ext <<_ACEOF
86778 /* end confdefs.h. */
86779 #include <math.h>
86781 main ()
86783 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
86785 return 0;
86787 _ACEOF
86788 rm -f conftest.$ac_objext
86789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86790 (eval $ac_compile) 2>conftest.er1
86791 ac_status=$?
86792 grep -v '^ *+' conftest.er1 >conftest.err
86793 rm -f conftest.er1
86794 cat conftest.err >&5
86795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86796 (exit $ac_status); } &&
86797 { ac_try='test -z "$ac_cxx_werror_flag"
86798 || test ! -s conftest.err'
86799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86800 (eval $ac_try) 2>&5
86801 ac_status=$?
86802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86803 (exit $ac_status); }; } &&
86804 { ac_try='test -s conftest.$ac_objext'
86805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86806 (eval $ac_try) 2>&5
86807 ac_status=$?
86808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86809 (exit $ac_status); }; }; then
86810 glibcxx_cv_func__long_double_trig_use=yes
86811 else
86812 echo "$as_me: failed program was:" >&5
86813 sed 's/^/| /' conftest.$ac_ext >&5
86815 glibcxx_cv_func__long_double_trig_use=no
86817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86818 ac_ext=c
86819 ac_cpp='$CPP $CPPFLAGS'
86820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86826 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
86827 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
86828 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
86838 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
86840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86841 echo "$as_me:$LINENO: checking for $ac_func" >&5
86842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86843 if eval "test \"\${$as_ac_var+set}\" = set"; then
86844 echo $ECHO_N "(cached) $ECHO_C" >&6
86845 else
86846 if test x$gcc_no_link = xyes; then
86847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86849 { (exit 1); exit 1; }; }
86851 cat >conftest.$ac_ext <<_ACEOF
86852 /* confdefs.h. */
86853 _ACEOF
86854 cat confdefs.h >>conftest.$ac_ext
86855 cat >>conftest.$ac_ext <<_ACEOF
86856 /* end confdefs.h. */
86857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86859 #define $ac_func innocuous_$ac_func
86861 /* System header to define __stub macros and hopefully few prototypes,
86862 which can conflict with char $ac_func (); below.
86863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86864 <limits.h> exists even on freestanding compilers. */
86866 #ifdef __STDC__
86867 # include <limits.h>
86868 #else
86869 # include <assert.h>
86870 #endif
86872 #undef $ac_func
86874 /* Override any gcc2 internal prototype to avoid an error. */
86875 #ifdef __cplusplus
86876 extern "C"
86878 #endif
86879 /* We use char because int might match the return type of a gcc2
86880 builtin and then its argument prototype would still apply. */
86881 char $ac_func ();
86882 /* The GNU C library defines this for functions which it implements
86883 to always fail with ENOSYS. Some functions are actually named
86884 something starting with __ and the normal name is an alias. */
86885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86886 choke me
86887 #else
86888 char (*f) () = $ac_func;
86889 #endif
86890 #ifdef __cplusplus
86892 #endif
86895 main ()
86897 return f != $ac_func;
86899 return 0;
86901 _ACEOF
86902 rm -f conftest.$ac_objext conftest$ac_exeext
86903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86904 (eval $ac_link) 2>conftest.er1
86905 ac_status=$?
86906 grep -v '^ *+' conftest.er1 >conftest.err
86907 rm -f conftest.er1
86908 cat conftest.err >&5
86909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86910 (exit $ac_status); } &&
86911 { ac_try='test -z "$ac_c_werror_flag"
86912 || test ! -s conftest.err'
86913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86914 (eval $ac_try) 2>&5
86915 ac_status=$?
86916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86917 (exit $ac_status); }; } &&
86918 { ac_try='test -s conftest$ac_exeext'
86919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86920 (eval $ac_try) 2>&5
86921 ac_status=$?
86922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86923 (exit $ac_status); }; }; then
86924 eval "$as_ac_var=yes"
86925 else
86926 echo "$as_me: failed program was:" >&5
86927 sed 's/^/| /' conftest.$ac_ext >&5
86929 eval "$as_ac_var=no"
86931 rm -f conftest.err conftest.$ac_objext \
86932 conftest$ac_exeext conftest.$ac_ext
86934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86936 if test `eval echo '${'$as_ac_var'}'` = yes; then
86937 cat >>confdefs.h <<_ACEOF
86938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86939 _ACEOF
86942 done
86960 echo "$as_me:$LINENO: checking for long double round functions" >&5
86961 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
86962 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
86963 echo $ECHO_N "(cached) $ECHO_C" >&6
86964 else
86968 ac_ext=cc
86969 ac_cpp='$CXXCPP $CPPFLAGS'
86970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86974 cat >conftest.$ac_ext <<_ACEOF
86975 /* confdefs.h. */
86976 _ACEOF
86977 cat confdefs.h >>conftest.$ac_ext
86978 cat >>conftest.$ac_ext <<_ACEOF
86979 /* end confdefs.h. */
86980 #include <math.h>
86982 main ()
86984 ceill (0); floorl (0);
86986 return 0;
86988 _ACEOF
86989 rm -f conftest.$ac_objext
86990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86991 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_long_double_round_use=yes
87012 else
87013 echo "$as_me: failed program was:" >&5
87014 sed 's/^/| /' conftest.$ac_ext >&5
87016 glibcxx_cv_func_long_double_round_use=no
87018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87019 ac_ext=c
87020 ac_cpp='$CPP $CPPFLAGS'
87021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87027 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
87028 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
87029 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
87032 for ac_func in ceill floorl
87034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87035 echo "$as_me:$LINENO: checking for $ac_func" >&5
87036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87037 if eval "test \"\${$as_ac_var+set}\" = set"; then
87038 echo $ECHO_N "(cached) $ECHO_C" >&6
87039 else
87040 if test x$gcc_no_link = xyes; then
87041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87043 { (exit 1); exit 1; }; }
87045 cat >conftest.$ac_ext <<_ACEOF
87046 /* confdefs.h. */
87047 _ACEOF
87048 cat confdefs.h >>conftest.$ac_ext
87049 cat >>conftest.$ac_ext <<_ACEOF
87050 /* end confdefs.h. */
87051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87053 #define $ac_func innocuous_$ac_func
87055 /* System header to define __stub macros and hopefully few prototypes,
87056 which can conflict with char $ac_func (); below.
87057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87058 <limits.h> exists even on freestanding compilers. */
87060 #ifdef __STDC__
87061 # include <limits.h>
87062 #else
87063 # include <assert.h>
87064 #endif
87066 #undef $ac_func
87068 /* Override any gcc2 internal prototype to avoid an error. */
87069 #ifdef __cplusplus
87070 extern "C"
87072 #endif
87073 /* We use char because int might match the return type of a gcc2
87074 builtin and then its argument prototype would still apply. */
87075 char $ac_func ();
87076 /* The GNU C library defines this for functions which it implements
87077 to always fail with ENOSYS. Some functions are actually named
87078 something starting with __ and the normal name is an alias. */
87079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87080 choke me
87081 #else
87082 char (*f) () = $ac_func;
87083 #endif
87084 #ifdef __cplusplus
87086 #endif
87089 main ()
87091 return f != $ac_func;
87093 return 0;
87095 _ACEOF
87096 rm -f conftest.$ac_objext conftest$ac_exeext
87097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87098 (eval $ac_link) 2>conftest.er1
87099 ac_status=$?
87100 grep -v '^ *+' conftest.er1 >conftest.err
87101 rm -f conftest.er1
87102 cat conftest.err >&5
87103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87104 (exit $ac_status); } &&
87105 { ac_try='test -z "$ac_c_werror_flag"
87106 || test ! -s conftest.err'
87107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87108 (eval $ac_try) 2>&5
87109 ac_status=$?
87110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87111 (exit $ac_status); }; } &&
87112 { ac_try='test -s conftest$ac_exeext'
87113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87114 (eval $ac_try) 2>&5
87115 ac_status=$?
87116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87117 (exit $ac_status); }; }; then
87118 eval "$as_ac_var=yes"
87119 else
87120 echo "$as_me: failed program was:" >&5
87121 sed 's/^/| /' conftest.$ac_ext >&5
87123 eval "$as_ac_var=no"
87125 rm -f conftest.err conftest.$ac_objext \
87126 conftest$ac_exeext conftest.$ac_ext
87128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87130 if test `eval echo '${'$as_ac_var'}'` = yes; then
87131 cat >>confdefs.h <<_ACEOF
87132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87133 _ACEOF
87136 done
87138 else
87139 echo "$as_me:$LINENO: checking for _long double round functions" >&5
87140 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
87141 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
87142 echo $ECHO_N "(cached) $ECHO_C" >&6
87143 else
87147 ac_ext=cc
87148 ac_cpp='$CXXCPP $CPPFLAGS'
87149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87153 cat >conftest.$ac_ext <<_ACEOF
87154 /* confdefs.h. */
87155 _ACEOF
87156 cat confdefs.h >>conftest.$ac_ext
87157 cat >>conftest.$ac_ext <<_ACEOF
87158 /* end confdefs.h. */
87159 #include <math.h>
87161 main ()
87163 _ceill (0); _floorl (0);
87165 return 0;
87167 _ACEOF
87168 rm -f conftest.$ac_objext
87169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87170 (eval $ac_compile) 2>conftest.er1
87171 ac_status=$?
87172 grep -v '^ *+' conftest.er1 >conftest.err
87173 rm -f conftest.er1
87174 cat conftest.err >&5
87175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87176 (exit $ac_status); } &&
87177 { ac_try='test -z "$ac_cxx_werror_flag"
87178 || test ! -s conftest.err'
87179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87180 (eval $ac_try) 2>&5
87181 ac_status=$?
87182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87183 (exit $ac_status); }; } &&
87184 { ac_try='test -s conftest.$ac_objext'
87185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87186 (eval $ac_try) 2>&5
87187 ac_status=$?
87188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87189 (exit $ac_status); }; }; then
87190 glibcxx_cv_func__long_double_round_use=yes
87191 else
87192 echo "$as_me: failed program was:" >&5
87193 sed 's/^/| /' conftest.$ac_ext >&5
87195 glibcxx_cv_func__long_double_round_use=no
87197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87198 ac_ext=c
87199 ac_cpp='$CPP $CPPFLAGS'
87200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87206 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
87207 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
87208 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
87211 for ac_func in _ceill _floorl
87213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87214 echo "$as_me:$LINENO: checking for $ac_func" >&5
87215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87216 if eval "test \"\${$as_ac_var+set}\" = set"; then
87217 echo $ECHO_N "(cached) $ECHO_C" >&6
87218 else
87219 if test x$gcc_no_link = xyes; then
87220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87222 { (exit 1); exit 1; }; }
87224 cat >conftest.$ac_ext <<_ACEOF
87225 /* confdefs.h. */
87226 _ACEOF
87227 cat confdefs.h >>conftest.$ac_ext
87228 cat >>conftest.$ac_ext <<_ACEOF
87229 /* end confdefs.h. */
87230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87232 #define $ac_func innocuous_$ac_func
87234 /* System header to define __stub macros and hopefully few prototypes,
87235 which can conflict with char $ac_func (); below.
87236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87237 <limits.h> exists even on freestanding compilers. */
87239 #ifdef __STDC__
87240 # include <limits.h>
87241 #else
87242 # include <assert.h>
87243 #endif
87245 #undef $ac_func
87247 /* Override any gcc2 internal prototype to avoid an error. */
87248 #ifdef __cplusplus
87249 extern "C"
87251 #endif
87252 /* We use char because int might match the return type of a gcc2
87253 builtin and then its argument prototype would still apply. */
87254 char $ac_func ();
87255 /* The GNU C library defines this for functions which it implements
87256 to always fail with ENOSYS. Some functions are actually named
87257 something starting with __ and the normal name is an alias. */
87258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87259 choke me
87260 #else
87261 char (*f) () = $ac_func;
87262 #endif
87263 #ifdef __cplusplus
87265 #endif
87268 main ()
87270 return f != $ac_func;
87272 return 0;
87274 _ACEOF
87275 rm -f conftest.$ac_objext conftest$ac_exeext
87276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87277 (eval $ac_link) 2>conftest.er1
87278 ac_status=$?
87279 grep -v '^ *+' conftest.er1 >conftest.err
87280 rm -f conftest.er1
87281 cat conftest.err >&5
87282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87283 (exit $ac_status); } &&
87284 { ac_try='test -z "$ac_c_werror_flag"
87285 || test ! -s conftest.err'
87286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87287 (eval $ac_try) 2>&5
87288 ac_status=$?
87289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87290 (exit $ac_status); }; } &&
87291 { ac_try='test -s conftest$ac_exeext'
87292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87293 (eval $ac_try) 2>&5
87294 ac_status=$?
87295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87296 (exit $ac_status); }; }; then
87297 eval "$as_ac_var=yes"
87298 else
87299 echo "$as_me: failed program was:" >&5
87300 sed 's/^/| /' conftest.$ac_ext >&5
87302 eval "$as_ac_var=no"
87304 rm -f conftest.err conftest.$ac_objext \
87305 conftest$ac_exeext conftest.$ac_ext
87307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87309 if test `eval echo '${'$as_ac_var'}'` = yes; then
87310 cat >>confdefs.h <<_ACEOF
87311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87312 _ACEOF
87315 done
87327 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
87328 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
87329 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
87330 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
87331 echo $ECHO_N "(cached) $ECHO_C" >&6
87332 else
87336 ac_ext=cc
87337 ac_cpp='$CXXCPP $CPPFLAGS'
87338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87342 cat >conftest.$ac_ext <<_ACEOF
87343 /* confdefs.h. */
87344 _ACEOF
87345 cat confdefs.h >>conftest.$ac_ext
87346 cat >>conftest.$ac_ext <<_ACEOF
87347 /* end confdefs.h. */
87348 #include <math.h>
87349 #ifdef HAVE_IEEEFP_H
87350 #include <ieeefp.h>
87351 #endif
87354 main ()
87356 isnanl(0);
87358 return 0;
87360 _ACEOF
87361 rm -f conftest.$ac_objext
87362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87363 (eval $ac_compile) 2>conftest.er1
87364 ac_status=$?
87365 grep -v '^ *+' conftest.er1 >conftest.err
87366 rm -f conftest.er1
87367 cat conftest.err >&5
87368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87369 (exit $ac_status); } &&
87370 { ac_try='test -z "$ac_cxx_werror_flag"
87371 || test ! -s conftest.err'
87372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87373 (eval $ac_try) 2>&5
87374 ac_status=$?
87375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87376 (exit $ac_status); }; } &&
87377 { ac_try='test -s conftest.$ac_objext'
87378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87379 (eval $ac_try) 2>&5
87380 ac_status=$?
87381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87382 (exit $ac_status); }; }; then
87383 glibcxx_cv_func_isnanl_use=yes
87384 else
87385 echo "$as_me: failed program was:" >&5
87386 sed 's/^/| /' conftest.$ac_ext >&5
87388 glibcxx_cv_func_isnanl_use=no
87390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87391 ac_ext=c
87392 ac_cpp='$CPP $CPPFLAGS'
87393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87401 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
87402 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
87404 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
87406 for ac_func in isnanl
87408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87409 echo "$as_me:$LINENO: checking for $ac_func" >&5
87410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87411 if eval "test \"\${$as_ac_var+set}\" = set"; then
87412 echo $ECHO_N "(cached) $ECHO_C" >&6
87413 else
87414 if test x$gcc_no_link = xyes; then
87415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87417 { (exit 1); exit 1; }; }
87419 cat >conftest.$ac_ext <<_ACEOF
87420 /* confdefs.h. */
87421 _ACEOF
87422 cat confdefs.h >>conftest.$ac_ext
87423 cat >>conftest.$ac_ext <<_ACEOF
87424 /* end confdefs.h. */
87425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87427 #define $ac_func innocuous_$ac_func
87429 /* System header to define __stub macros and hopefully few prototypes,
87430 which can conflict with char $ac_func (); below.
87431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87432 <limits.h> exists even on freestanding compilers. */
87434 #ifdef __STDC__
87435 # include <limits.h>
87436 #else
87437 # include <assert.h>
87438 #endif
87440 #undef $ac_func
87442 /* Override any gcc2 internal prototype to avoid an error. */
87443 #ifdef __cplusplus
87444 extern "C"
87446 #endif
87447 /* We use char because int might match the return type of a gcc2
87448 builtin and then its argument prototype would still apply. */
87449 char $ac_func ();
87450 /* The GNU C library defines this for functions which it implements
87451 to always fail with ENOSYS. Some functions are actually named
87452 something starting with __ and the normal name is an alias. */
87453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87454 choke me
87455 #else
87456 char (*f) () = $ac_func;
87457 #endif
87458 #ifdef __cplusplus
87460 #endif
87463 main ()
87465 return f != $ac_func;
87467 return 0;
87469 _ACEOF
87470 rm -f conftest.$ac_objext conftest$ac_exeext
87471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87472 (eval $ac_link) 2>conftest.er1
87473 ac_status=$?
87474 grep -v '^ *+' conftest.er1 >conftest.err
87475 rm -f conftest.er1
87476 cat conftest.err >&5
87477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87478 (exit $ac_status); } &&
87479 { ac_try='test -z "$ac_c_werror_flag"
87480 || test ! -s conftest.err'
87481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87482 (eval $ac_try) 2>&5
87483 ac_status=$?
87484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87485 (exit $ac_status); }; } &&
87486 { ac_try='test -s conftest$ac_exeext'
87487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87488 (eval $ac_try) 2>&5
87489 ac_status=$?
87490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87491 (exit $ac_status); }; }; then
87492 eval "$as_ac_var=yes"
87493 else
87494 echo "$as_me: failed program was:" >&5
87495 sed 's/^/| /' conftest.$ac_ext >&5
87497 eval "$as_ac_var=no"
87499 rm -f conftest.err conftest.$ac_objext \
87500 conftest$ac_exeext conftest.$ac_ext
87502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87504 if test `eval echo '${'$as_ac_var'}'` = yes; then
87505 cat >>confdefs.h <<_ACEOF
87506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87507 _ACEOF
87510 done
87512 else
87514 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
87515 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
87516 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
87517 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
87518 echo $ECHO_N "(cached) $ECHO_C" >&6
87519 else
87523 ac_ext=cc
87524 ac_cpp='$CXXCPP $CPPFLAGS'
87525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87529 cat >conftest.$ac_ext <<_ACEOF
87530 /* confdefs.h. */
87531 _ACEOF
87532 cat confdefs.h >>conftest.$ac_ext
87533 cat >>conftest.$ac_ext <<_ACEOF
87534 /* end confdefs.h. */
87535 #include <math.h>
87536 #ifdef HAVE_IEEEFP_H
87537 #include <ieeefp.h>
87538 #endif
87541 main ()
87543 _isnanl(0);
87545 return 0;
87547 _ACEOF
87548 rm -f conftest.$ac_objext
87549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87550 (eval $ac_compile) 2>conftest.er1
87551 ac_status=$?
87552 grep -v '^ *+' conftest.er1 >conftest.err
87553 rm -f conftest.er1
87554 cat conftest.err >&5
87555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87556 (exit $ac_status); } &&
87557 { ac_try='test -z "$ac_cxx_werror_flag"
87558 || test ! -s conftest.err'
87559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87560 (eval $ac_try) 2>&5
87561 ac_status=$?
87562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87563 (exit $ac_status); }; } &&
87564 { ac_try='test -s conftest.$ac_objext'
87565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87566 (eval $ac_try) 2>&5
87567 ac_status=$?
87568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87569 (exit $ac_status); }; }; then
87570 glibcxx_cv_func__isnanl_use=yes
87571 else
87572 echo "$as_me: failed program was:" >&5
87573 sed 's/^/| /' conftest.$ac_ext >&5
87575 glibcxx_cv_func__isnanl_use=no
87577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87578 ac_ext=c
87579 ac_cpp='$CPP $CPPFLAGS'
87580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
87589 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
87591 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
87593 for ac_func in _isnanl
87595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87596 echo "$as_me:$LINENO: checking for $ac_func" >&5
87597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87598 if eval "test \"\${$as_ac_var+set}\" = set"; then
87599 echo $ECHO_N "(cached) $ECHO_C" >&6
87600 else
87601 if test x$gcc_no_link = xyes; then
87602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87604 { (exit 1); exit 1; }; }
87606 cat >conftest.$ac_ext <<_ACEOF
87607 /* confdefs.h. */
87608 _ACEOF
87609 cat confdefs.h >>conftest.$ac_ext
87610 cat >>conftest.$ac_ext <<_ACEOF
87611 /* end confdefs.h. */
87612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87614 #define $ac_func innocuous_$ac_func
87616 /* System header to define __stub macros and hopefully few prototypes,
87617 which can conflict with char $ac_func (); below.
87618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87619 <limits.h> exists even on freestanding compilers. */
87621 #ifdef __STDC__
87622 # include <limits.h>
87623 #else
87624 # include <assert.h>
87625 #endif
87627 #undef $ac_func
87629 /* Override any gcc2 internal prototype to avoid an error. */
87630 #ifdef __cplusplus
87631 extern "C"
87633 #endif
87634 /* We use char because int might match the return type of a gcc2
87635 builtin and then its argument prototype would still apply. */
87636 char $ac_func ();
87637 /* The GNU C library defines this for functions which it implements
87638 to always fail with ENOSYS. Some functions are actually named
87639 something starting with __ and the normal name is an alias. */
87640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87641 choke me
87642 #else
87643 char (*f) () = $ac_func;
87644 #endif
87645 #ifdef __cplusplus
87647 #endif
87650 main ()
87652 return f != $ac_func;
87654 return 0;
87656 _ACEOF
87657 rm -f conftest.$ac_objext conftest$ac_exeext
87658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87659 (eval $ac_link) 2>conftest.er1
87660 ac_status=$?
87661 grep -v '^ *+' conftest.er1 >conftest.err
87662 rm -f conftest.er1
87663 cat conftest.err >&5
87664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87665 (exit $ac_status); } &&
87666 { ac_try='test -z "$ac_c_werror_flag"
87667 || test ! -s conftest.err'
87668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87669 (eval $ac_try) 2>&5
87670 ac_status=$?
87671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87672 (exit $ac_status); }; } &&
87673 { ac_try='test -s conftest$ac_exeext'
87674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87675 (eval $ac_try) 2>&5
87676 ac_status=$?
87677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87678 (exit $ac_status); }; }; then
87679 eval "$as_ac_var=yes"
87680 else
87681 echo "$as_me: failed program was:" >&5
87682 sed 's/^/| /' conftest.$ac_ext >&5
87684 eval "$as_ac_var=no"
87686 rm -f conftest.err conftest.$ac_objext \
87687 conftest$ac_exeext conftest.$ac_ext
87689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87691 if test `eval echo '${'$as_ac_var'}'` = yes; then
87692 cat >>confdefs.h <<_ACEOF
87693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87694 _ACEOF
87697 done
87707 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
87708 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
87709 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
87710 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
87711 echo $ECHO_N "(cached) $ECHO_C" >&6
87712 else
87716 ac_ext=cc
87717 ac_cpp='$CXXCPP $CPPFLAGS'
87718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87722 cat >conftest.$ac_ext <<_ACEOF
87723 /* confdefs.h. */
87724 _ACEOF
87725 cat confdefs.h >>conftest.$ac_ext
87726 cat >>conftest.$ac_ext <<_ACEOF
87727 /* end confdefs.h. */
87728 #include <math.h>
87729 #ifdef HAVE_IEEEFP_H
87730 #include <ieeefp.h>
87731 #endif
87734 main ()
87736 isinfl(0);
87738 return 0;
87740 _ACEOF
87741 rm -f conftest.$ac_objext
87742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87743 (eval $ac_compile) 2>conftest.er1
87744 ac_status=$?
87745 grep -v '^ *+' conftest.er1 >conftest.err
87746 rm -f conftest.er1
87747 cat conftest.err >&5
87748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87749 (exit $ac_status); } &&
87750 { ac_try='test -z "$ac_cxx_werror_flag"
87751 || test ! -s conftest.err'
87752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87753 (eval $ac_try) 2>&5
87754 ac_status=$?
87755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87756 (exit $ac_status); }; } &&
87757 { ac_try='test -s conftest.$ac_objext'
87758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87759 (eval $ac_try) 2>&5
87760 ac_status=$?
87761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87762 (exit $ac_status); }; }; then
87763 glibcxx_cv_func_isinfl_use=yes
87764 else
87765 echo "$as_me: failed program was:" >&5
87766 sed 's/^/| /' conftest.$ac_ext >&5
87768 glibcxx_cv_func_isinfl_use=no
87770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87771 ac_ext=c
87772 ac_cpp='$CPP $CPPFLAGS'
87773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
87782 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
87784 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
87786 for ac_func in isinfl
87788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87789 echo "$as_me:$LINENO: checking for $ac_func" >&5
87790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87791 if eval "test \"\${$as_ac_var+set}\" = set"; then
87792 echo $ECHO_N "(cached) $ECHO_C" >&6
87793 else
87794 if test x$gcc_no_link = xyes; then
87795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87797 { (exit 1); exit 1; }; }
87799 cat >conftest.$ac_ext <<_ACEOF
87800 /* confdefs.h. */
87801 _ACEOF
87802 cat confdefs.h >>conftest.$ac_ext
87803 cat >>conftest.$ac_ext <<_ACEOF
87804 /* end confdefs.h. */
87805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87807 #define $ac_func innocuous_$ac_func
87809 /* System header to define __stub macros and hopefully few prototypes,
87810 which can conflict with char $ac_func (); below.
87811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87812 <limits.h> exists even on freestanding compilers. */
87814 #ifdef __STDC__
87815 # include <limits.h>
87816 #else
87817 # include <assert.h>
87818 #endif
87820 #undef $ac_func
87822 /* Override any gcc2 internal prototype to avoid an error. */
87823 #ifdef __cplusplus
87824 extern "C"
87826 #endif
87827 /* We use char because int might match the return type of a gcc2
87828 builtin and then its argument prototype would still apply. */
87829 char $ac_func ();
87830 /* The GNU C library defines this for functions which it implements
87831 to always fail with ENOSYS. Some functions are actually named
87832 something starting with __ and the normal name is an alias. */
87833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87834 choke me
87835 #else
87836 char (*f) () = $ac_func;
87837 #endif
87838 #ifdef __cplusplus
87840 #endif
87843 main ()
87845 return f != $ac_func;
87847 return 0;
87849 _ACEOF
87850 rm -f conftest.$ac_objext conftest$ac_exeext
87851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87852 (eval $ac_link) 2>conftest.er1
87853 ac_status=$?
87854 grep -v '^ *+' conftest.er1 >conftest.err
87855 rm -f conftest.er1
87856 cat conftest.err >&5
87857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87858 (exit $ac_status); } &&
87859 { ac_try='test -z "$ac_c_werror_flag"
87860 || test ! -s conftest.err'
87861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87862 (eval $ac_try) 2>&5
87863 ac_status=$?
87864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87865 (exit $ac_status); }; } &&
87866 { ac_try='test -s conftest$ac_exeext'
87867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87868 (eval $ac_try) 2>&5
87869 ac_status=$?
87870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87871 (exit $ac_status); }; }; then
87872 eval "$as_ac_var=yes"
87873 else
87874 echo "$as_me: failed program was:" >&5
87875 sed 's/^/| /' conftest.$ac_ext >&5
87877 eval "$as_ac_var=no"
87879 rm -f conftest.err conftest.$ac_objext \
87880 conftest$ac_exeext conftest.$ac_ext
87882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87884 if test `eval echo '${'$as_ac_var'}'` = yes; then
87885 cat >>confdefs.h <<_ACEOF
87886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87887 _ACEOF
87890 done
87892 else
87894 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
87895 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
87896 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
87897 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
87898 echo $ECHO_N "(cached) $ECHO_C" >&6
87899 else
87903 ac_ext=cc
87904 ac_cpp='$CXXCPP $CPPFLAGS'
87905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87909 cat >conftest.$ac_ext <<_ACEOF
87910 /* confdefs.h. */
87911 _ACEOF
87912 cat confdefs.h >>conftest.$ac_ext
87913 cat >>conftest.$ac_ext <<_ACEOF
87914 /* end confdefs.h. */
87915 #include <math.h>
87916 #ifdef HAVE_IEEEFP_H
87917 #include <ieeefp.h>
87918 #endif
87921 main ()
87923 _isinfl(0);
87925 return 0;
87927 _ACEOF
87928 rm -f conftest.$ac_objext
87929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87930 (eval $ac_compile) 2>conftest.er1
87931 ac_status=$?
87932 grep -v '^ *+' conftest.er1 >conftest.err
87933 rm -f conftest.er1
87934 cat conftest.err >&5
87935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87936 (exit $ac_status); } &&
87937 { ac_try='test -z "$ac_cxx_werror_flag"
87938 || test ! -s conftest.err'
87939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87940 (eval $ac_try) 2>&5
87941 ac_status=$?
87942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87943 (exit $ac_status); }; } &&
87944 { ac_try='test -s conftest.$ac_objext'
87945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87946 (eval $ac_try) 2>&5
87947 ac_status=$?
87948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87949 (exit $ac_status); }; }; then
87950 glibcxx_cv_func__isinfl_use=yes
87951 else
87952 echo "$as_me: failed program was:" >&5
87953 sed 's/^/| /' conftest.$ac_ext >&5
87955 glibcxx_cv_func__isinfl_use=no
87957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87958 ac_ext=c
87959 ac_cpp='$CPP $CPPFLAGS'
87960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87968 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
87969 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
87971 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
87973 for ac_func in _isinfl
87975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87976 echo "$as_me:$LINENO: checking for $ac_func" >&5
87977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87978 if eval "test \"\${$as_ac_var+set}\" = set"; then
87979 echo $ECHO_N "(cached) $ECHO_C" >&6
87980 else
87981 if test x$gcc_no_link = xyes; then
87982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87984 { (exit 1); exit 1; }; }
87986 cat >conftest.$ac_ext <<_ACEOF
87987 /* confdefs.h. */
87988 _ACEOF
87989 cat confdefs.h >>conftest.$ac_ext
87990 cat >>conftest.$ac_ext <<_ACEOF
87991 /* end confdefs.h. */
87992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87994 #define $ac_func innocuous_$ac_func
87996 /* System header to define __stub macros and hopefully few prototypes,
87997 which can conflict with char $ac_func (); below.
87998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87999 <limits.h> exists even on freestanding compilers. */
88001 #ifdef __STDC__
88002 # include <limits.h>
88003 #else
88004 # include <assert.h>
88005 #endif
88007 #undef $ac_func
88009 /* Override any gcc2 internal prototype to avoid an error. */
88010 #ifdef __cplusplus
88011 extern "C"
88013 #endif
88014 /* We use char because int might match the return type of a gcc2
88015 builtin and then its argument prototype would still apply. */
88016 char $ac_func ();
88017 /* The GNU C library defines this for functions which it implements
88018 to always fail with ENOSYS. Some functions are actually named
88019 something starting with __ and the normal name is an alias. */
88020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88021 choke me
88022 #else
88023 char (*f) () = $ac_func;
88024 #endif
88025 #ifdef __cplusplus
88027 #endif
88030 main ()
88032 return f != $ac_func;
88034 return 0;
88036 _ACEOF
88037 rm -f conftest.$ac_objext conftest$ac_exeext
88038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88039 (eval $ac_link) 2>conftest.er1
88040 ac_status=$?
88041 grep -v '^ *+' conftest.er1 >conftest.err
88042 rm -f conftest.er1
88043 cat conftest.err >&5
88044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88045 (exit $ac_status); } &&
88046 { ac_try='test -z "$ac_c_werror_flag"
88047 || test ! -s conftest.err'
88048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88049 (eval $ac_try) 2>&5
88050 ac_status=$?
88051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88052 (exit $ac_status); }; } &&
88053 { ac_try='test -s conftest$ac_exeext'
88054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88055 (eval $ac_try) 2>&5
88056 ac_status=$?
88057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88058 (exit $ac_status); }; }; then
88059 eval "$as_ac_var=yes"
88060 else
88061 echo "$as_me: failed program was:" >&5
88062 sed 's/^/| /' conftest.$ac_ext >&5
88064 eval "$as_ac_var=no"
88066 rm -f conftest.err conftest.$ac_objext \
88067 conftest$ac_exeext conftest.$ac_ext
88069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88071 if test `eval echo '${'$as_ac_var'}'` = yes; then
88072 cat >>confdefs.h <<_ACEOF
88073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88074 _ACEOF
88077 done
88087 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
88088 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
88089 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
88090 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
88091 echo $ECHO_N "(cached) $ECHO_C" >&6
88092 else
88096 ac_ext=cc
88097 ac_cpp='$CXXCPP $CPPFLAGS'
88098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88102 cat >conftest.$ac_ext <<_ACEOF
88103 /* confdefs.h. */
88104 _ACEOF
88105 cat confdefs.h >>conftest.$ac_ext
88106 cat >>conftest.$ac_ext <<_ACEOF
88107 /* end confdefs.h. */
88108 #include <math.h>
88110 main ()
88112 atan2l(0, 0);
88114 return 0;
88116 _ACEOF
88117 rm -f conftest.$ac_objext
88118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88119 (eval $ac_compile) 2>conftest.er1
88120 ac_status=$?
88121 grep -v '^ *+' conftest.er1 >conftest.err
88122 rm -f conftest.er1
88123 cat conftest.err >&5
88124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88125 (exit $ac_status); } &&
88126 { ac_try='test -z "$ac_cxx_werror_flag"
88127 || test ! -s conftest.err'
88128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88129 (eval $ac_try) 2>&5
88130 ac_status=$?
88131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88132 (exit $ac_status); }; } &&
88133 { ac_try='test -s conftest.$ac_objext'
88134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88135 (eval $ac_try) 2>&5
88136 ac_status=$?
88137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88138 (exit $ac_status); }; }; then
88139 glibcxx_cv_func_atan2l_use=yes
88140 else
88141 echo "$as_me: failed program was:" >&5
88142 sed 's/^/| /' conftest.$ac_ext >&5
88144 glibcxx_cv_func_atan2l_use=no
88146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88147 ac_ext=c
88148 ac_cpp='$CPP $CPPFLAGS'
88149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88157 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
88158 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
88160 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
88162 for ac_func in atan2l
88164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88165 echo "$as_me:$LINENO: checking for $ac_func" >&5
88166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88167 if eval "test \"\${$as_ac_var+set}\" = set"; then
88168 echo $ECHO_N "(cached) $ECHO_C" >&6
88169 else
88170 if test x$gcc_no_link = xyes; then
88171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88173 { (exit 1); exit 1; }; }
88175 cat >conftest.$ac_ext <<_ACEOF
88176 /* confdefs.h. */
88177 _ACEOF
88178 cat confdefs.h >>conftest.$ac_ext
88179 cat >>conftest.$ac_ext <<_ACEOF
88180 /* end confdefs.h. */
88181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88183 #define $ac_func innocuous_$ac_func
88185 /* System header to define __stub macros and hopefully few prototypes,
88186 which can conflict with char $ac_func (); below.
88187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88188 <limits.h> exists even on freestanding compilers. */
88190 #ifdef __STDC__
88191 # include <limits.h>
88192 #else
88193 # include <assert.h>
88194 #endif
88196 #undef $ac_func
88198 /* Override any gcc2 internal prototype to avoid an error. */
88199 #ifdef __cplusplus
88200 extern "C"
88202 #endif
88203 /* We use char because int might match the return type of a gcc2
88204 builtin and then its argument prototype would still apply. */
88205 char $ac_func ();
88206 /* The GNU C library defines this for functions which it implements
88207 to always fail with ENOSYS. Some functions are actually named
88208 something starting with __ and the normal name is an alias. */
88209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88210 choke me
88211 #else
88212 char (*f) () = $ac_func;
88213 #endif
88214 #ifdef __cplusplus
88216 #endif
88219 main ()
88221 return f != $ac_func;
88223 return 0;
88225 _ACEOF
88226 rm -f conftest.$ac_objext conftest$ac_exeext
88227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88228 (eval $ac_link) 2>conftest.er1
88229 ac_status=$?
88230 grep -v '^ *+' conftest.er1 >conftest.err
88231 rm -f conftest.er1
88232 cat conftest.err >&5
88233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88234 (exit $ac_status); } &&
88235 { ac_try='test -z "$ac_c_werror_flag"
88236 || test ! -s conftest.err'
88237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88238 (eval $ac_try) 2>&5
88239 ac_status=$?
88240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88241 (exit $ac_status); }; } &&
88242 { ac_try='test -s conftest$ac_exeext'
88243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88244 (eval $ac_try) 2>&5
88245 ac_status=$?
88246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88247 (exit $ac_status); }; }; then
88248 eval "$as_ac_var=yes"
88249 else
88250 echo "$as_me: failed program was:" >&5
88251 sed 's/^/| /' conftest.$ac_ext >&5
88253 eval "$as_ac_var=no"
88255 rm -f conftest.err conftest.$ac_objext \
88256 conftest$ac_exeext conftest.$ac_ext
88258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88260 if test `eval echo '${'$as_ac_var'}'` = yes; then
88261 cat >>confdefs.h <<_ACEOF
88262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88263 _ACEOF
88266 done
88268 else
88270 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
88271 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
88272 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
88273 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
88274 echo $ECHO_N "(cached) $ECHO_C" >&6
88275 else
88279 ac_ext=cc
88280 ac_cpp='$CXXCPP $CPPFLAGS'
88281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88285 cat >conftest.$ac_ext <<_ACEOF
88286 /* confdefs.h. */
88287 _ACEOF
88288 cat confdefs.h >>conftest.$ac_ext
88289 cat >>conftest.$ac_ext <<_ACEOF
88290 /* end confdefs.h. */
88291 #include <math.h>
88293 main ()
88295 _atan2l(0, 0);
88297 return 0;
88299 _ACEOF
88300 rm -f conftest.$ac_objext
88301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88302 (eval $ac_compile) 2>conftest.er1
88303 ac_status=$?
88304 grep -v '^ *+' conftest.er1 >conftest.err
88305 rm -f conftest.er1
88306 cat conftest.err >&5
88307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88308 (exit $ac_status); } &&
88309 { ac_try='test -z "$ac_cxx_werror_flag"
88310 || test ! -s conftest.err'
88311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88312 (eval $ac_try) 2>&5
88313 ac_status=$?
88314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88315 (exit $ac_status); }; } &&
88316 { ac_try='test -s conftest.$ac_objext'
88317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88318 (eval $ac_try) 2>&5
88319 ac_status=$?
88320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88321 (exit $ac_status); }; }; then
88322 glibcxx_cv_func__atan2l_use=yes
88323 else
88324 echo "$as_me: failed program was:" >&5
88325 sed 's/^/| /' conftest.$ac_ext >&5
88327 glibcxx_cv_func__atan2l_use=no
88329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88330 ac_ext=c
88331 ac_cpp='$CPP $CPPFLAGS'
88332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88340 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
88341 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
88343 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
88345 for ac_func in _atan2l
88347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88348 echo "$as_me:$LINENO: checking for $ac_func" >&5
88349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88350 if eval "test \"\${$as_ac_var+set}\" = set"; then
88351 echo $ECHO_N "(cached) $ECHO_C" >&6
88352 else
88353 if test x$gcc_no_link = xyes; then
88354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88356 { (exit 1); exit 1; }; }
88358 cat >conftest.$ac_ext <<_ACEOF
88359 /* confdefs.h. */
88360 _ACEOF
88361 cat confdefs.h >>conftest.$ac_ext
88362 cat >>conftest.$ac_ext <<_ACEOF
88363 /* end confdefs.h. */
88364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88366 #define $ac_func innocuous_$ac_func
88368 /* System header to define __stub macros and hopefully few prototypes,
88369 which can conflict with char $ac_func (); below.
88370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88371 <limits.h> exists even on freestanding compilers. */
88373 #ifdef __STDC__
88374 # include <limits.h>
88375 #else
88376 # include <assert.h>
88377 #endif
88379 #undef $ac_func
88381 /* Override any gcc2 internal prototype to avoid an error. */
88382 #ifdef __cplusplus
88383 extern "C"
88385 #endif
88386 /* We use char because int might match the return type of a gcc2
88387 builtin and then its argument prototype would still apply. */
88388 char $ac_func ();
88389 /* The GNU C library defines this for functions which it implements
88390 to always fail with ENOSYS. Some functions are actually named
88391 something starting with __ and the normal name is an alias. */
88392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88393 choke me
88394 #else
88395 char (*f) () = $ac_func;
88396 #endif
88397 #ifdef __cplusplus
88399 #endif
88402 main ()
88404 return f != $ac_func;
88406 return 0;
88408 _ACEOF
88409 rm -f conftest.$ac_objext conftest$ac_exeext
88410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88411 (eval $ac_link) 2>conftest.er1
88412 ac_status=$?
88413 grep -v '^ *+' conftest.er1 >conftest.err
88414 rm -f conftest.er1
88415 cat conftest.err >&5
88416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88417 (exit $ac_status); } &&
88418 { ac_try='test -z "$ac_c_werror_flag"
88419 || test ! -s conftest.err'
88420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88421 (eval $ac_try) 2>&5
88422 ac_status=$?
88423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88424 (exit $ac_status); }; } &&
88425 { ac_try='test -s conftest$ac_exeext'
88426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88427 (eval $ac_try) 2>&5
88428 ac_status=$?
88429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88430 (exit $ac_status); }; }; then
88431 eval "$as_ac_var=yes"
88432 else
88433 echo "$as_me: failed program was:" >&5
88434 sed 's/^/| /' conftest.$ac_ext >&5
88436 eval "$as_ac_var=no"
88438 rm -f conftest.err conftest.$ac_objext \
88439 conftest$ac_exeext conftest.$ac_ext
88441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88443 if test `eval echo '${'$as_ac_var'}'` = yes; then
88444 cat >>confdefs.h <<_ACEOF
88445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88446 _ACEOF
88449 done
88459 echo "$as_me:$LINENO: checking for expl declaration" >&5
88460 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
88461 if test x${glibcxx_cv_func_expl_use+set} != xset; then
88462 if test "${glibcxx_cv_func_expl_use+set}" = set; then
88463 echo $ECHO_N "(cached) $ECHO_C" >&6
88464 else
88468 ac_ext=cc
88469 ac_cpp='$CXXCPP $CPPFLAGS'
88470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88474 cat >conftest.$ac_ext <<_ACEOF
88475 /* confdefs.h. */
88476 _ACEOF
88477 cat confdefs.h >>conftest.$ac_ext
88478 cat >>conftest.$ac_ext <<_ACEOF
88479 /* end confdefs.h. */
88480 #include <math.h>
88481 #ifdef HAVE_IEEEFP_H
88482 #include <ieeefp.h>
88483 #endif
88486 main ()
88488 expl(0);
88490 return 0;
88492 _ACEOF
88493 rm -f conftest.$ac_objext
88494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88495 (eval $ac_compile) 2>conftest.er1
88496 ac_status=$?
88497 grep -v '^ *+' conftest.er1 >conftest.err
88498 rm -f conftest.er1
88499 cat conftest.err >&5
88500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88501 (exit $ac_status); } &&
88502 { ac_try='test -z "$ac_cxx_werror_flag"
88503 || test ! -s conftest.err'
88504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88505 (eval $ac_try) 2>&5
88506 ac_status=$?
88507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88508 (exit $ac_status); }; } &&
88509 { ac_try='test -s conftest.$ac_objext'
88510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88511 (eval $ac_try) 2>&5
88512 ac_status=$?
88513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88514 (exit $ac_status); }; }; then
88515 glibcxx_cv_func_expl_use=yes
88516 else
88517 echo "$as_me: failed program was:" >&5
88518 sed 's/^/| /' conftest.$ac_ext >&5
88520 glibcxx_cv_func_expl_use=no
88522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88523 ac_ext=c
88524 ac_cpp='$CPP $CPPFLAGS'
88525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88533 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
88534 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
88536 if test x$glibcxx_cv_func_expl_use = x"yes"; then
88538 for ac_func in expl
88540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88541 echo "$as_me:$LINENO: checking for $ac_func" >&5
88542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88543 if eval "test \"\${$as_ac_var+set}\" = set"; then
88544 echo $ECHO_N "(cached) $ECHO_C" >&6
88545 else
88546 if test x$gcc_no_link = xyes; then
88547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88549 { (exit 1); exit 1; }; }
88551 cat >conftest.$ac_ext <<_ACEOF
88552 /* confdefs.h. */
88553 _ACEOF
88554 cat confdefs.h >>conftest.$ac_ext
88555 cat >>conftest.$ac_ext <<_ACEOF
88556 /* end confdefs.h. */
88557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88559 #define $ac_func innocuous_$ac_func
88561 /* System header to define __stub macros and hopefully few prototypes,
88562 which can conflict with char $ac_func (); below.
88563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88564 <limits.h> exists even on freestanding compilers. */
88566 #ifdef __STDC__
88567 # include <limits.h>
88568 #else
88569 # include <assert.h>
88570 #endif
88572 #undef $ac_func
88574 /* Override any gcc2 internal prototype to avoid an error. */
88575 #ifdef __cplusplus
88576 extern "C"
88578 #endif
88579 /* We use char because int might match the return type of a gcc2
88580 builtin and then its argument prototype would still apply. */
88581 char $ac_func ();
88582 /* The GNU C library defines this for functions which it implements
88583 to always fail with ENOSYS. Some functions are actually named
88584 something starting with __ and the normal name is an alias. */
88585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88586 choke me
88587 #else
88588 char (*f) () = $ac_func;
88589 #endif
88590 #ifdef __cplusplus
88592 #endif
88595 main ()
88597 return f != $ac_func;
88599 return 0;
88601 _ACEOF
88602 rm -f conftest.$ac_objext conftest$ac_exeext
88603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88604 (eval $ac_link) 2>conftest.er1
88605 ac_status=$?
88606 grep -v '^ *+' conftest.er1 >conftest.err
88607 rm -f conftest.er1
88608 cat conftest.err >&5
88609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88610 (exit $ac_status); } &&
88611 { ac_try='test -z "$ac_c_werror_flag"
88612 || test ! -s conftest.err'
88613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88614 (eval $ac_try) 2>&5
88615 ac_status=$?
88616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88617 (exit $ac_status); }; } &&
88618 { ac_try='test -s conftest$ac_exeext'
88619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88620 (eval $ac_try) 2>&5
88621 ac_status=$?
88622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88623 (exit $ac_status); }; }; then
88624 eval "$as_ac_var=yes"
88625 else
88626 echo "$as_me: failed program was:" >&5
88627 sed 's/^/| /' conftest.$ac_ext >&5
88629 eval "$as_ac_var=no"
88631 rm -f conftest.err conftest.$ac_objext \
88632 conftest$ac_exeext conftest.$ac_ext
88634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88636 if test `eval echo '${'$as_ac_var'}'` = yes; then
88637 cat >>confdefs.h <<_ACEOF
88638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88639 _ACEOF
88642 done
88644 else
88646 echo "$as_me:$LINENO: checking for _expl declaration" >&5
88647 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
88648 if test x${glibcxx_cv_func__expl_use+set} != xset; then
88649 if test "${glibcxx_cv_func__expl_use+set}" = set; then
88650 echo $ECHO_N "(cached) $ECHO_C" >&6
88651 else
88655 ac_ext=cc
88656 ac_cpp='$CXXCPP $CPPFLAGS'
88657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88661 cat >conftest.$ac_ext <<_ACEOF
88662 /* confdefs.h. */
88663 _ACEOF
88664 cat confdefs.h >>conftest.$ac_ext
88665 cat >>conftest.$ac_ext <<_ACEOF
88666 /* end confdefs.h. */
88667 #include <math.h>
88668 #ifdef HAVE_IEEEFP_H
88669 #include <ieeefp.h>
88670 #endif
88673 main ()
88675 _expl(0);
88677 return 0;
88679 _ACEOF
88680 rm -f conftest.$ac_objext
88681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88682 (eval $ac_compile) 2>conftest.er1
88683 ac_status=$?
88684 grep -v '^ *+' conftest.er1 >conftest.err
88685 rm -f conftest.er1
88686 cat conftest.err >&5
88687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88688 (exit $ac_status); } &&
88689 { ac_try='test -z "$ac_cxx_werror_flag"
88690 || test ! -s conftest.err'
88691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88692 (eval $ac_try) 2>&5
88693 ac_status=$?
88694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88695 (exit $ac_status); }; } &&
88696 { ac_try='test -s conftest.$ac_objext'
88697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88698 (eval $ac_try) 2>&5
88699 ac_status=$?
88700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88701 (exit $ac_status); }; }; then
88702 glibcxx_cv_func__expl_use=yes
88703 else
88704 echo "$as_me: failed program was:" >&5
88705 sed 's/^/| /' conftest.$ac_ext >&5
88707 glibcxx_cv_func__expl_use=no
88709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88710 ac_ext=c
88711 ac_cpp='$CPP $CPPFLAGS'
88712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88720 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
88721 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
88723 if test x$glibcxx_cv_func__expl_use = x"yes"; then
88725 for ac_func in _expl
88727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88728 echo "$as_me:$LINENO: checking for $ac_func" >&5
88729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88730 if eval "test \"\${$as_ac_var+set}\" = set"; then
88731 echo $ECHO_N "(cached) $ECHO_C" >&6
88732 else
88733 if test x$gcc_no_link = xyes; then
88734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88736 { (exit 1); exit 1; }; }
88738 cat >conftest.$ac_ext <<_ACEOF
88739 /* confdefs.h. */
88740 _ACEOF
88741 cat confdefs.h >>conftest.$ac_ext
88742 cat >>conftest.$ac_ext <<_ACEOF
88743 /* end confdefs.h. */
88744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88746 #define $ac_func innocuous_$ac_func
88748 /* System header to define __stub macros and hopefully few prototypes,
88749 which can conflict with char $ac_func (); below.
88750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88751 <limits.h> exists even on freestanding compilers. */
88753 #ifdef __STDC__
88754 # include <limits.h>
88755 #else
88756 # include <assert.h>
88757 #endif
88759 #undef $ac_func
88761 /* Override any gcc2 internal prototype to avoid an error. */
88762 #ifdef __cplusplus
88763 extern "C"
88765 #endif
88766 /* We use char because int might match the return type of a gcc2
88767 builtin and then its argument prototype would still apply. */
88768 char $ac_func ();
88769 /* The GNU C library defines this for functions which it implements
88770 to always fail with ENOSYS. Some functions are actually named
88771 something starting with __ and the normal name is an alias. */
88772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88773 choke me
88774 #else
88775 char (*f) () = $ac_func;
88776 #endif
88777 #ifdef __cplusplus
88779 #endif
88782 main ()
88784 return f != $ac_func;
88786 return 0;
88788 _ACEOF
88789 rm -f conftest.$ac_objext conftest$ac_exeext
88790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88791 (eval $ac_link) 2>conftest.er1
88792 ac_status=$?
88793 grep -v '^ *+' conftest.er1 >conftest.err
88794 rm -f conftest.er1
88795 cat conftest.err >&5
88796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88797 (exit $ac_status); } &&
88798 { ac_try='test -z "$ac_c_werror_flag"
88799 || test ! -s conftest.err'
88800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88801 (eval $ac_try) 2>&5
88802 ac_status=$?
88803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88804 (exit $ac_status); }; } &&
88805 { ac_try='test -s conftest$ac_exeext'
88806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88807 (eval $ac_try) 2>&5
88808 ac_status=$?
88809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88810 (exit $ac_status); }; }; then
88811 eval "$as_ac_var=yes"
88812 else
88813 echo "$as_me: failed program was:" >&5
88814 sed 's/^/| /' conftest.$ac_ext >&5
88816 eval "$as_ac_var=no"
88818 rm -f conftest.err conftest.$ac_objext \
88819 conftest$ac_exeext conftest.$ac_ext
88821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88823 if test `eval echo '${'$as_ac_var'}'` = yes; then
88824 cat >>confdefs.h <<_ACEOF
88825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88826 _ACEOF
88829 done
88839 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
88840 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
88841 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
88842 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
88843 echo $ECHO_N "(cached) $ECHO_C" >&6
88844 else
88848 ac_ext=cc
88849 ac_cpp='$CXXCPP $CPPFLAGS'
88850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88854 cat >conftest.$ac_ext <<_ACEOF
88855 /* confdefs.h. */
88856 _ACEOF
88857 cat confdefs.h >>conftest.$ac_ext
88858 cat >>conftest.$ac_ext <<_ACEOF
88859 /* end confdefs.h. */
88860 #include <math.h>
88861 #ifdef HAVE_IEEEFP_H
88862 #include <ieeefp.h>
88863 #endif
88866 main ()
88868 fabsl(0);
88870 return 0;
88872 _ACEOF
88873 rm -f conftest.$ac_objext
88874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88875 (eval $ac_compile) 2>conftest.er1
88876 ac_status=$?
88877 grep -v '^ *+' conftest.er1 >conftest.err
88878 rm -f conftest.er1
88879 cat conftest.err >&5
88880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88881 (exit $ac_status); } &&
88882 { ac_try='test -z "$ac_cxx_werror_flag"
88883 || test ! -s conftest.err'
88884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88885 (eval $ac_try) 2>&5
88886 ac_status=$?
88887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88888 (exit $ac_status); }; } &&
88889 { ac_try='test -s conftest.$ac_objext'
88890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88891 (eval $ac_try) 2>&5
88892 ac_status=$?
88893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88894 (exit $ac_status); }; }; then
88895 glibcxx_cv_func_fabsl_use=yes
88896 else
88897 echo "$as_me: failed program was:" >&5
88898 sed 's/^/| /' conftest.$ac_ext >&5
88900 glibcxx_cv_func_fabsl_use=no
88902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88903 ac_ext=c
88904 ac_cpp='$CPP $CPPFLAGS'
88905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88913 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
88914 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
88916 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
88918 for ac_func in fabsl
88920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88921 echo "$as_me:$LINENO: checking for $ac_func" >&5
88922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88923 if eval "test \"\${$as_ac_var+set}\" = set"; then
88924 echo $ECHO_N "(cached) $ECHO_C" >&6
88925 else
88926 if test x$gcc_no_link = xyes; then
88927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88929 { (exit 1); exit 1; }; }
88931 cat >conftest.$ac_ext <<_ACEOF
88932 /* confdefs.h. */
88933 _ACEOF
88934 cat confdefs.h >>conftest.$ac_ext
88935 cat >>conftest.$ac_ext <<_ACEOF
88936 /* end confdefs.h. */
88937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88939 #define $ac_func innocuous_$ac_func
88941 /* System header to define __stub macros and hopefully few prototypes,
88942 which can conflict with char $ac_func (); below.
88943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88944 <limits.h> exists even on freestanding compilers. */
88946 #ifdef __STDC__
88947 # include <limits.h>
88948 #else
88949 # include <assert.h>
88950 #endif
88952 #undef $ac_func
88954 /* Override any gcc2 internal prototype to avoid an error. */
88955 #ifdef __cplusplus
88956 extern "C"
88958 #endif
88959 /* We use char because int might match the return type of a gcc2
88960 builtin and then its argument prototype would still apply. */
88961 char $ac_func ();
88962 /* The GNU C library defines this for functions which it implements
88963 to always fail with ENOSYS. Some functions are actually named
88964 something starting with __ and the normal name is an alias. */
88965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88966 choke me
88967 #else
88968 char (*f) () = $ac_func;
88969 #endif
88970 #ifdef __cplusplus
88972 #endif
88975 main ()
88977 return f != $ac_func;
88979 return 0;
88981 _ACEOF
88982 rm -f conftest.$ac_objext conftest$ac_exeext
88983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88984 (eval $ac_link) 2>conftest.er1
88985 ac_status=$?
88986 grep -v '^ *+' conftest.er1 >conftest.err
88987 rm -f conftest.er1
88988 cat conftest.err >&5
88989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88990 (exit $ac_status); } &&
88991 { ac_try='test -z "$ac_c_werror_flag"
88992 || test ! -s conftest.err'
88993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88994 (eval $ac_try) 2>&5
88995 ac_status=$?
88996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88997 (exit $ac_status); }; } &&
88998 { ac_try='test -s conftest$ac_exeext'
88999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89000 (eval $ac_try) 2>&5
89001 ac_status=$?
89002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89003 (exit $ac_status); }; }; then
89004 eval "$as_ac_var=yes"
89005 else
89006 echo "$as_me: failed program was:" >&5
89007 sed 's/^/| /' conftest.$ac_ext >&5
89009 eval "$as_ac_var=no"
89011 rm -f conftest.err conftest.$ac_objext \
89012 conftest$ac_exeext conftest.$ac_ext
89014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89016 if test `eval echo '${'$as_ac_var'}'` = yes; then
89017 cat >>confdefs.h <<_ACEOF
89018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89019 _ACEOF
89022 done
89024 else
89026 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
89027 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
89028 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
89029 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
89030 echo $ECHO_N "(cached) $ECHO_C" >&6
89031 else
89035 ac_ext=cc
89036 ac_cpp='$CXXCPP $CPPFLAGS'
89037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89041 cat >conftest.$ac_ext <<_ACEOF
89042 /* confdefs.h. */
89043 _ACEOF
89044 cat confdefs.h >>conftest.$ac_ext
89045 cat >>conftest.$ac_ext <<_ACEOF
89046 /* end confdefs.h. */
89047 #include <math.h>
89048 #ifdef HAVE_IEEEFP_H
89049 #include <ieeefp.h>
89050 #endif
89053 main ()
89055 _fabsl(0);
89057 return 0;
89059 _ACEOF
89060 rm -f conftest.$ac_objext
89061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89062 (eval $ac_compile) 2>conftest.er1
89063 ac_status=$?
89064 grep -v '^ *+' conftest.er1 >conftest.err
89065 rm -f conftest.er1
89066 cat conftest.err >&5
89067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89068 (exit $ac_status); } &&
89069 { ac_try='test -z "$ac_cxx_werror_flag"
89070 || test ! -s conftest.err'
89071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89072 (eval $ac_try) 2>&5
89073 ac_status=$?
89074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89075 (exit $ac_status); }; } &&
89076 { ac_try='test -s conftest.$ac_objext'
89077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89078 (eval $ac_try) 2>&5
89079 ac_status=$?
89080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89081 (exit $ac_status); }; }; then
89082 glibcxx_cv_func__fabsl_use=yes
89083 else
89084 echo "$as_me: failed program was:" >&5
89085 sed 's/^/| /' conftest.$ac_ext >&5
89087 glibcxx_cv_func__fabsl_use=no
89089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89090 ac_ext=c
89091 ac_cpp='$CPP $CPPFLAGS'
89092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89100 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
89101 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
89103 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
89105 for ac_func in _fabsl
89107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89108 echo "$as_me:$LINENO: checking for $ac_func" >&5
89109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89110 if eval "test \"\${$as_ac_var+set}\" = set"; then
89111 echo $ECHO_N "(cached) $ECHO_C" >&6
89112 else
89113 if test x$gcc_no_link = xyes; then
89114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89116 { (exit 1); exit 1; }; }
89118 cat >conftest.$ac_ext <<_ACEOF
89119 /* confdefs.h. */
89120 _ACEOF
89121 cat confdefs.h >>conftest.$ac_ext
89122 cat >>conftest.$ac_ext <<_ACEOF
89123 /* end confdefs.h. */
89124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89126 #define $ac_func innocuous_$ac_func
89128 /* System header to define __stub macros and hopefully few prototypes,
89129 which can conflict with char $ac_func (); below.
89130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89131 <limits.h> exists even on freestanding compilers. */
89133 #ifdef __STDC__
89134 # include <limits.h>
89135 #else
89136 # include <assert.h>
89137 #endif
89139 #undef $ac_func
89141 /* Override any gcc2 internal prototype to avoid an error. */
89142 #ifdef __cplusplus
89143 extern "C"
89145 #endif
89146 /* We use char because int might match the return type of a gcc2
89147 builtin and then its argument prototype would still apply. */
89148 char $ac_func ();
89149 /* The GNU C library defines this for functions which it implements
89150 to always fail with ENOSYS. Some functions are actually named
89151 something starting with __ and the normal name is an alias. */
89152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89153 choke me
89154 #else
89155 char (*f) () = $ac_func;
89156 #endif
89157 #ifdef __cplusplus
89159 #endif
89162 main ()
89164 return f != $ac_func;
89166 return 0;
89168 _ACEOF
89169 rm -f conftest.$ac_objext conftest$ac_exeext
89170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89171 (eval $ac_link) 2>conftest.er1
89172 ac_status=$?
89173 grep -v '^ *+' conftest.er1 >conftest.err
89174 rm -f conftest.er1
89175 cat conftest.err >&5
89176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89177 (exit $ac_status); } &&
89178 { ac_try='test -z "$ac_c_werror_flag"
89179 || test ! -s conftest.err'
89180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89181 (eval $ac_try) 2>&5
89182 ac_status=$?
89183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89184 (exit $ac_status); }; } &&
89185 { ac_try='test -s conftest$ac_exeext'
89186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89187 (eval $ac_try) 2>&5
89188 ac_status=$?
89189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89190 (exit $ac_status); }; }; then
89191 eval "$as_ac_var=yes"
89192 else
89193 echo "$as_me: failed program was:" >&5
89194 sed 's/^/| /' conftest.$ac_ext >&5
89196 eval "$as_ac_var=no"
89198 rm -f conftest.err conftest.$ac_objext \
89199 conftest$ac_exeext conftest.$ac_ext
89201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89203 if test `eval echo '${'$as_ac_var'}'` = yes; then
89204 cat >>confdefs.h <<_ACEOF
89205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89206 _ACEOF
89209 done
89219 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
89220 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
89221 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
89222 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
89223 echo $ECHO_N "(cached) $ECHO_C" >&6
89224 else
89228 ac_ext=cc
89229 ac_cpp='$CXXCPP $CPPFLAGS'
89230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89234 cat >conftest.$ac_ext <<_ACEOF
89235 /* confdefs.h. */
89236 _ACEOF
89237 cat confdefs.h >>conftest.$ac_ext
89238 cat >>conftest.$ac_ext <<_ACEOF
89239 /* end confdefs.h. */
89240 #include <math.h>
89242 main ()
89244 fmodl(0, 0);
89246 return 0;
89248 _ACEOF
89249 rm -f conftest.$ac_objext
89250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89251 (eval $ac_compile) 2>conftest.er1
89252 ac_status=$?
89253 grep -v '^ *+' conftest.er1 >conftest.err
89254 rm -f conftest.er1
89255 cat conftest.err >&5
89256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89257 (exit $ac_status); } &&
89258 { ac_try='test -z "$ac_cxx_werror_flag"
89259 || test ! -s conftest.err'
89260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89261 (eval $ac_try) 2>&5
89262 ac_status=$?
89263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89264 (exit $ac_status); }; } &&
89265 { ac_try='test -s conftest.$ac_objext'
89266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89267 (eval $ac_try) 2>&5
89268 ac_status=$?
89269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89270 (exit $ac_status); }; }; then
89271 glibcxx_cv_func_fmodl_use=yes
89272 else
89273 echo "$as_me: failed program was:" >&5
89274 sed 's/^/| /' conftest.$ac_ext >&5
89276 glibcxx_cv_func_fmodl_use=no
89278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89279 ac_ext=c
89280 ac_cpp='$CPP $CPPFLAGS'
89281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89289 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
89290 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
89292 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
89294 for ac_func in fmodl
89296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89297 echo "$as_me:$LINENO: checking for $ac_func" >&5
89298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89299 if eval "test \"\${$as_ac_var+set}\" = set"; then
89300 echo $ECHO_N "(cached) $ECHO_C" >&6
89301 else
89302 if test x$gcc_no_link = xyes; then
89303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89305 { (exit 1); exit 1; }; }
89307 cat >conftest.$ac_ext <<_ACEOF
89308 /* confdefs.h. */
89309 _ACEOF
89310 cat confdefs.h >>conftest.$ac_ext
89311 cat >>conftest.$ac_ext <<_ACEOF
89312 /* end confdefs.h. */
89313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89315 #define $ac_func innocuous_$ac_func
89317 /* System header to define __stub macros and hopefully few prototypes,
89318 which can conflict with char $ac_func (); below.
89319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89320 <limits.h> exists even on freestanding compilers. */
89322 #ifdef __STDC__
89323 # include <limits.h>
89324 #else
89325 # include <assert.h>
89326 #endif
89328 #undef $ac_func
89330 /* Override any gcc2 internal prototype to avoid an error. */
89331 #ifdef __cplusplus
89332 extern "C"
89334 #endif
89335 /* We use char because int might match the return type of a gcc2
89336 builtin and then its argument prototype would still apply. */
89337 char $ac_func ();
89338 /* The GNU C library defines this for functions which it implements
89339 to always fail with ENOSYS. Some functions are actually named
89340 something starting with __ and the normal name is an alias. */
89341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89342 choke me
89343 #else
89344 char (*f) () = $ac_func;
89345 #endif
89346 #ifdef __cplusplus
89348 #endif
89351 main ()
89353 return f != $ac_func;
89355 return 0;
89357 _ACEOF
89358 rm -f conftest.$ac_objext conftest$ac_exeext
89359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89360 (eval $ac_link) 2>conftest.er1
89361 ac_status=$?
89362 grep -v '^ *+' conftest.er1 >conftest.err
89363 rm -f conftest.er1
89364 cat conftest.err >&5
89365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89366 (exit $ac_status); } &&
89367 { ac_try='test -z "$ac_c_werror_flag"
89368 || test ! -s conftest.err'
89369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89370 (eval $ac_try) 2>&5
89371 ac_status=$?
89372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89373 (exit $ac_status); }; } &&
89374 { ac_try='test -s conftest$ac_exeext'
89375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89376 (eval $ac_try) 2>&5
89377 ac_status=$?
89378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89379 (exit $ac_status); }; }; then
89380 eval "$as_ac_var=yes"
89381 else
89382 echo "$as_me: failed program was:" >&5
89383 sed 's/^/| /' conftest.$ac_ext >&5
89385 eval "$as_ac_var=no"
89387 rm -f conftest.err conftest.$ac_objext \
89388 conftest$ac_exeext conftest.$ac_ext
89390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89392 if test `eval echo '${'$as_ac_var'}'` = yes; then
89393 cat >>confdefs.h <<_ACEOF
89394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89395 _ACEOF
89398 done
89400 else
89402 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
89403 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
89404 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
89405 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
89406 echo $ECHO_N "(cached) $ECHO_C" >&6
89407 else
89411 ac_ext=cc
89412 ac_cpp='$CXXCPP $CPPFLAGS'
89413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89417 cat >conftest.$ac_ext <<_ACEOF
89418 /* confdefs.h. */
89419 _ACEOF
89420 cat confdefs.h >>conftest.$ac_ext
89421 cat >>conftest.$ac_ext <<_ACEOF
89422 /* end confdefs.h. */
89423 #include <math.h>
89425 main ()
89427 _fmodl(0, 0);
89429 return 0;
89431 _ACEOF
89432 rm -f conftest.$ac_objext
89433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89434 (eval $ac_compile) 2>conftest.er1
89435 ac_status=$?
89436 grep -v '^ *+' conftest.er1 >conftest.err
89437 rm -f conftest.er1
89438 cat conftest.err >&5
89439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89440 (exit $ac_status); } &&
89441 { ac_try='test -z "$ac_cxx_werror_flag"
89442 || test ! -s conftest.err'
89443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89444 (eval $ac_try) 2>&5
89445 ac_status=$?
89446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89447 (exit $ac_status); }; } &&
89448 { ac_try='test -s conftest.$ac_objext'
89449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89450 (eval $ac_try) 2>&5
89451 ac_status=$?
89452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89453 (exit $ac_status); }; }; then
89454 glibcxx_cv_func__fmodl_use=yes
89455 else
89456 echo "$as_me: failed program was:" >&5
89457 sed 's/^/| /' conftest.$ac_ext >&5
89459 glibcxx_cv_func__fmodl_use=no
89461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89462 ac_ext=c
89463 ac_cpp='$CPP $CPPFLAGS'
89464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89472 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
89473 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
89475 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
89477 for ac_func in _fmodl
89479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89480 echo "$as_me:$LINENO: checking for $ac_func" >&5
89481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89482 if eval "test \"\${$as_ac_var+set}\" = set"; then
89483 echo $ECHO_N "(cached) $ECHO_C" >&6
89484 else
89485 if test x$gcc_no_link = xyes; then
89486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89488 { (exit 1); exit 1; }; }
89490 cat >conftest.$ac_ext <<_ACEOF
89491 /* confdefs.h. */
89492 _ACEOF
89493 cat confdefs.h >>conftest.$ac_ext
89494 cat >>conftest.$ac_ext <<_ACEOF
89495 /* end confdefs.h. */
89496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89498 #define $ac_func innocuous_$ac_func
89500 /* System header to define __stub macros and hopefully few prototypes,
89501 which can conflict with char $ac_func (); below.
89502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89503 <limits.h> exists even on freestanding compilers. */
89505 #ifdef __STDC__
89506 # include <limits.h>
89507 #else
89508 # include <assert.h>
89509 #endif
89511 #undef $ac_func
89513 /* Override any gcc2 internal prototype to avoid an error. */
89514 #ifdef __cplusplus
89515 extern "C"
89517 #endif
89518 /* We use char because int might match the return type of a gcc2
89519 builtin and then its argument prototype would still apply. */
89520 char $ac_func ();
89521 /* The GNU C library defines this for functions which it implements
89522 to always fail with ENOSYS. Some functions are actually named
89523 something starting with __ and the normal name is an alias. */
89524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89525 choke me
89526 #else
89527 char (*f) () = $ac_func;
89528 #endif
89529 #ifdef __cplusplus
89531 #endif
89534 main ()
89536 return f != $ac_func;
89538 return 0;
89540 _ACEOF
89541 rm -f conftest.$ac_objext conftest$ac_exeext
89542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89543 (eval $ac_link) 2>conftest.er1
89544 ac_status=$?
89545 grep -v '^ *+' conftest.er1 >conftest.err
89546 rm -f conftest.er1
89547 cat conftest.err >&5
89548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89549 (exit $ac_status); } &&
89550 { ac_try='test -z "$ac_c_werror_flag"
89551 || test ! -s conftest.err'
89552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89553 (eval $ac_try) 2>&5
89554 ac_status=$?
89555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89556 (exit $ac_status); }; } &&
89557 { ac_try='test -s conftest$ac_exeext'
89558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89559 (eval $ac_try) 2>&5
89560 ac_status=$?
89561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89562 (exit $ac_status); }; }; then
89563 eval "$as_ac_var=yes"
89564 else
89565 echo "$as_me: failed program was:" >&5
89566 sed 's/^/| /' conftest.$ac_ext >&5
89568 eval "$as_ac_var=no"
89570 rm -f conftest.err conftest.$ac_objext \
89571 conftest$ac_exeext conftest.$ac_ext
89573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89575 if test `eval echo '${'$as_ac_var'}'` = yes; then
89576 cat >>confdefs.h <<_ACEOF
89577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89578 _ACEOF
89581 done
89591 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
89592 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
89593 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
89594 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
89595 echo $ECHO_N "(cached) $ECHO_C" >&6
89596 else
89600 ac_ext=cc
89601 ac_cpp='$CXXCPP $CPPFLAGS'
89602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89606 cat >conftest.$ac_ext <<_ACEOF
89607 /* confdefs.h. */
89608 _ACEOF
89609 cat confdefs.h >>conftest.$ac_ext
89610 cat >>conftest.$ac_ext <<_ACEOF
89611 /* end confdefs.h. */
89612 #include <math.h>
89614 main ()
89616 frexpl(0, 0);
89618 return 0;
89620 _ACEOF
89621 rm -f conftest.$ac_objext
89622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89623 (eval $ac_compile) 2>conftest.er1
89624 ac_status=$?
89625 grep -v '^ *+' conftest.er1 >conftest.err
89626 rm -f conftest.er1
89627 cat conftest.err >&5
89628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89629 (exit $ac_status); } &&
89630 { ac_try='test -z "$ac_cxx_werror_flag"
89631 || test ! -s conftest.err'
89632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89633 (eval $ac_try) 2>&5
89634 ac_status=$?
89635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89636 (exit $ac_status); }; } &&
89637 { ac_try='test -s conftest.$ac_objext'
89638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89639 (eval $ac_try) 2>&5
89640 ac_status=$?
89641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89642 (exit $ac_status); }; }; then
89643 glibcxx_cv_func_frexpl_use=yes
89644 else
89645 echo "$as_me: failed program was:" >&5
89646 sed 's/^/| /' conftest.$ac_ext >&5
89648 glibcxx_cv_func_frexpl_use=no
89650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89651 ac_ext=c
89652 ac_cpp='$CPP $CPPFLAGS'
89653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89661 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
89662 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
89664 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
89666 for ac_func in frexpl
89668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89669 echo "$as_me:$LINENO: checking for $ac_func" >&5
89670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89671 if eval "test \"\${$as_ac_var+set}\" = set"; then
89672 echo $ECHO_N "(cached) $ECHO_C" >&6
89673 else
89674 if test x$gcc_no_link = xyes; then
89675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89677 { (exit 1); exit 1; }; }
89679 cat >conftest.$ac_ext <<_ACEOF
89680 /* confdefs.h. */
89681 _ACEOF
89682 cat confdefs.h >>conftest.$ac_ext
89683 cat >>conftest.$ac_ext <<_ACEOF
89684 /* end confdefs.h. */
89685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89687 #define $ac_func innocuous_$ac_func
89689 /* System header to define __stub macros and hopefully few prototypes,
89690 which can conflict with char $ac_func (); below.
89691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89692 <limits.h> exists even on freestanding compilers. */
89694 #ifdef __STDC__
89695 # include <limits.h>
89696 #else
89697 # include <assert.h>
89698 #endif
89700 #undef $ac_func
89702 /* Override any gcc2 internal prototype to avoid an error. */
89703 #ifdef __cplusplus
89704 extern "C"
89706 #endif
89707 /* We use char because int might match the return type of a gcc2
89708 builtin and then its argument prototype would still apply. */
89709 char $ac_func ();
89710 /* The GNU C library defines this for functions which it implements
89711 to always fail with ENOSYS. Some functions are actually named
89712 something starting with __ and the normal name is an alias. */
89713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89714 choke me
89715 #else
89716 char (*f) () = $ac_func;
89717 #endif
89718 #ifdef __cplusplus
89720 #endif
89723 main ()
89725 return f != $ac_func;
89727 return 0;
89729 _ACEOF
89730 rm -f conftest.$ac_objext conftest$ac_exeext
89731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89732 (eval $ac_link) 2>conftest.er1
89733 ac_status=$?
89734 grep -v '^ *+' conftest.er1 >conftest.err
89735 rm -f conftest.er1
89736 cat conftest.err >&5
89737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89738 (exit $ac_status); } &&
89739 { ac_try='test -z "$ac_c_werror_flag"
89740 || test ! -s conftest.err'
89741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89742 (eval $ac_try) 2>&5
89743 ac_status=$?
89744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89745 (exit $ac_status); }; } &&
89746 { ac_try='test -s conftest$ac_exeext'
89747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89748 (eval $ac_try) 2>&5
89749 ac_status=$?
89750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89751 (exit $ac_status); }; }; then
89752 eval "$as_ac_var=yes"
89753 else
89754 echo "$as_me: failed program was:" >&5
89755 sed 's/^/| /' conftest.$ac_ext >&5
89757 eval "$as_ac_var=no"
89759 rm -f conftest.err conftest.$ac_objext \
89760 conftest$ac_exeext conftest.$ac_ext
89762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89764 if test `eval echo '${'$as_ac_var'}'` = yes; then
89765 cat >>confdefs.h <<_ACEOF
89766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89767 _ACEOF
89770 done
89772 else
89774 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
89775 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
89776 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
89777 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
89778 echo $ECHO_N "(cached) $ECHO_C" >&6
89779 else
89783 ac_ext=cc
89784 ac_cpp='$CXXCPP $CPPFLAGS'
89785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89789 cat >conftest.$ac_ext <<_ACEOF
89790 /* confdefs.h. */
89791 _ACEOF
89792 cat confdefs.h >>conftest.$ac_ext
89793 cat >>conftest.$ac_ext <<_ACEOF
89794 /* end confdefs.h. */
89795 #include <math.h>
89797 main ()
89799 _frexpl(0, 0);
89801 return 0;
89803 _ACEOF
89804 rm -f conftest.$ac_objext
89805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89806 (eval $ac_compile) 2>conftest.er1
89807 ac_status=$?
89808 grep -v '^ *+' conftest.er1 >conftest.err
89809 rm -f conftest.er1
89810 cat conftest.err >&5
89811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89812 (exit $ac_status); } &&
89813 { ac_try='test -z "$ac_cxx_werror_flag"
89814 || test ! -s conftest.err'
89815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89816 (eval $ac_try) 2>&5
89817 ac_status=$?
89818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89819 (exit $ac_status); }; } &&
89820 { ac_try='test -s conftest.$ac_objext'
89821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89822 (eval $ac_try) 2>&5
89823 ac_status=$?
89824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89825 (exit $ac_status); }; }; then
89826 glibcxx_cv_func__frexpl_use=yes
89827 else
89828 echo "$as_me: failed program was:" >&5
89829 sed 's/^/| /' conftest.$ac_ext >&5
89831 glibcxx_cv_func__frexpl_use=no
89833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89834 ac_ext=c
89835 ac_cpp='$CPP $CPPFLAGS'
89836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89844 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
89845 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
89847 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
89849 for ac_func in _frexpl
89851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89852 echo "$as_me:$LINENO: checking for $ac_func" >&5
89853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89854 if eval "test \"\${$as_ac_var+set}\" = set"; then
89855 echo $ECHO_N "(cached) $ECHO_C" >&6
89856 else
89857 if test x$gcc_no_link = xyes; then
89858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89860 { (exit 1); exit 1; }; }
89862 cat >conftest.$ac_ext <<_ACEOF
89863 /* confdefs.h. */
89864 _ACEOF
89865 cat confdefs.h >>conftest.$ac_ext
89866 cat >>conftest.$ac_ext <<_ACEOF
89867 /* end confdefs.h. */
89868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89870 #define $ac_func innocuous_$ac_func
89872 /* System header to define __stub macros and hopefully few prototypes,
89873 which can conflict with char $ac_func (); below.
89874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89875 <limits.h> exists even on freestanding compilers. */
89877 #ifdef __STDC__
89878 # include <limits.h>
89879 #else
89880 # include <assert.h>
89881 #endif
89883 #undef $ac_func
89885 /* Override any gcc2 internal prototype to avoid an error. */
89886 #ifdef __cplusplus
89887 extern "C"
89889 #endif
89890 /* We use char because int might match the return type of a gcc2
89891 builtin and then its argument prototype would still apply. */
89892 char $ac_func ();
89893 /* The GNU C library defines this for functions which it implements
89894 to always fail with ENOSYS. Some functions are actually named
89895 something starting with __ and the normal name is an alias. */
89896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89897 choke me
89898 #else
89899 char (*f) () = $ac_func;
89900 #endif
89901 #ifdef __cplusplus
89903 #endif
89906 main ()
89908 return f != $ac_func;
89910 return 0;
89912 _ACEOF
89913 rm -f conftest.$ac_objext conftest$ac_exeext
89914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89915 (eval $ac_link) 2>conftest.er1
89916 ac_status=$?
89917 grep -v '^ *+' conftest.er1 >conftest.err
89918 rm -f conftest.er1
89919 cat conftest.err >&5
89920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89921 (exit $ac_status); } &&
89922 { ac_try='test -z "$ac_c_werror_flag"
89923 || test ! -s conftest.err'
89924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89925 (eval $ac_try) 2>&5
89926 ac_status=$?
89927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89928 (exit $ac_status); }; } &&
89929 { ac_try='test -s conftest$ac_exeext'
89930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89931 (eval $ac_try) 2>&5
89932 ac_status=$?
89933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89934 (exit $ac_status); }; }; then
89935 eval "$as_ac_var=yes"
89936 else
89937 echo "$as_me: failed program was:" >&5
89938 sed 's/^/| /' conftest.$ac_ext >&5
89940 eval "$as_ac_var=no"
89942 rm -f conftest.err conftest.$ac_objext \
89943 conftest$ac_exeext conftest.$ac_ext
89945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89947 if test `eval echo '${'$as_ac_var'}'` = yes; then
89948 cat >>confdefs.h <<_ACEOF
89949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89950 _ACEOF
89953 done
89963 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
89964 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
89965 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
89966 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
89967 echo $ECHO_N "(cached) $ECHO_C" >&6
89968 else
89972 ac_ext=cc
89973 ac_cpp='$CXXCPP $CPPFLAGS'
89974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89978 cat >conftest.$ac_ext <<_ACEOF
89979 /* confdefs.h. */
89980 _ACEOF
89981 cat confdefs.h >>conftest.$ac_ext
89982 cat >>conftest.$ac_ext <<_ACEOF
89983 /* end confdefs.h. */
89984 #include <math.h>
89986 main ()
89988 hypotl(0, 0);
89990 return 0;
89992 _ACEOF
89993 rm -f conftest.$ac_objext
89994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89995 (eval $ac_compile) 2>conftest.er1
89996 ac_status=$?
89997 grep -v '^ *+' conftest.er1 >conftest.err
89998 rm -f conftest.er1
89999 cat conftest.err >&5
90000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90001 (exit $ac_status); } &&
90002 { ac_try='test -z "$ac_cxx_werror_flag"
90003 || test ! -s conftest.err'
90004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90005 (eval $ac_try) 2>&5
90006 ac_status=$?
90007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90008 (exit $ac_status); }; } &&
90009 { ac_try='test -s conftest.$ac_objext'
90010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90011 (eval $ac_try) 2>&5
90012 ac_status=$?
90013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90014 (exit $ac_status); }; }; then
90015 glibcxx_cv_func_hypotl_use=yes
90016 else
90017 echo "$as_me: failed program was:" >&5
90018 sed 's/^/| /' conftest.$ac_ext >&5
90020 glibcxx_cv_func_hypotl_use=no
90022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90023 ac_ext=c
90024 ac_cpp='$CPP $CPPFLAGS'
90025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90033 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
90034 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
90036 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
90038 for ac_func in hypotl
90040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90041 echo "$as_me:$LINENO: checking for $ac_func" >&5
90042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90043 if eval "test \"\${$as_ac_var+set}\" = set"; then
90044 echo $ECHO_N "(cached) $ECHO_C" >&6
90045 else
90046 if test x$gcc_no_link = xyes; then
90047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90049 { (exit 1); exit 1; }; }
90051 cat >conftest.$ac_ext <<_ACEOF
90052 /* confdefs.h. */
90053 _ACEOF
90054 cat confdefs.h >>conftest.$ac_ext
90055 cat >>conftest.$ac_ext <<_ACEOF
90056 /* end confdefs.h. */
90057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90059 #define $ac_func innocuous_$ac_func
90061 /* System header to define __stub macros and hopefully few prototypes,
90062 which can conflict with char $ac_func (); below.
90063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90064 <limits.h> exists even on freestanding compilers. */
90066 #ifdef __STDC__
90067 # include <limits.h>
90068 #else
90069 # include <assert.h>
90070 #endif
90072 #undef $ac_func
90074 /* Override any gcc2 internal prototype to avoid an error. */
90075 #ifdef __cplusplus
90076 extern "C"
90078 #endif
90079 /* We use char because int might match the return type of a gcc2
90080 builtin and then its argument prototype would still apply. */
90081 char $ac_func ();
90082 /* The GNU C library defines this for functions which it implements
90083 to always fail with ENOSYS. Some functions are actually named
90084 something starting with __ and the normal name is an alias. */
90085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90086 choke me
90087 #else
90088 char (*f) () = $ac_func;
90089 #endif
90090 #ifdef __cplusplus
90092 #endif
90095 main ()
90097 return f != $ac_func;
90099 return 0;
90101 _ACEOF
90102 rm -f conftest.$ac_objext conftest$ac_exeext
90103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90104 (eval $ac_link) 2>conftest.er1
90105 ac_status=$?
90106 grep -v '^ *+' conftest.er1 >conftest.err
90107 rm -f conftest.er1
90108 cat conftest.err >&5
90109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90110 (exit $ac_status); } &&
90111 { ac_try='test -z "$ac_c_werror_flag"
90112 || test ! -s conftest.err'
90113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90114 (eval $ac_try) 2>&5
90115 ac_status=$?
90116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90117 (exit $ac_status); }; } &&
90118 { ac_try='test -s conftest$ac_exeext'
90119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90120 (eval $ac_try) 2>&5
90121 ac_status=$?
90122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90123 (exit $ac_status); }; }; then
90124 eval "$as_ac_var=yes"
90125 else
90126 echo "$as_me: failed program was:" >&5
90127 sed 's/^/| /' conftest.$ac_ext >&5
90129 eval "$as_ac_var=no"
90131 rm -f conftest.err conftest.$ac_objext \
90132 conftest$ac_exeext conftest.$ac_ext
90134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90136 if test `eval echo '${'$as_ac_var'}'` = yes; then
90137 cat >>confdefs.h <<_ACEOF
90138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90139 _ACEOF
90142 done
90144 else
90146 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
90147 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
90148 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
90149 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
90150 echo $ECHO_N "(cached) $ECHO_C" >&6
90151 else
90155 ac_ext=cc
90156 ac_cpp='$CXXCPP $CPPFLAGS'
90157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90161 cat >conftest.$ac_ext <<_ACEOF
90162 /* confdefs.h. */
90163 _ACEOF
90164 cat confdefs.h >>conftest.$ac_ext
90165 cat >>conftest.$ac_ext <<_ACEOF
90166 /* end confdefs.h. */
90167 #include <math.h>
90169 main ()
90171 _hypotl(0, 0);
90173 return 0;
90175 _ACEOF
90176 rm -f conftest.$ac_objext
90177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90178 (eval $ac_compile) 2>conftest.er1
90179 ac_status=$?
90180 grep -v '^ *+' conftest.er1 >conftest.err
90181 rm -f conftest.er1
90182 cat conftest.err >&5
90183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90184 (exit $ac_status); } &&
90185 { ac_try='test -z "$ac_cxx_werror_flag"
90186 || test ! -s conftest.err'
90187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90188 (eval $ac_try) 2>&5
90189 ac_status=$?
90190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90191 (exit $ac_status); }; } &&
90192 { ac_try='test -s conftest.$ac_objext'
90193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90194 (eval $ac_try) 2>&5
90195 ac_status=$?
90196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90197 (exit $ac_status); }; }; then
90198 glibcxx_cv_func__hypotl_use=yes
90199 else
90200 echo "$as_me: failed program was:" >&5
90201 sed 's/^/| /' conftest.$ac_ext >&5
90203 glibcxx_cv_func__hypotl_use=no
90205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90206 ac_ext=c
90207 ac_cpp='$CPP $CPPFLAGS'
90208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90216 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
90217 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
90219 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
90221 for ac_func in _hypotl
90223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90224 echo "$as_me:$LINENO: checking for $ac_func" >&5
90225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90226 if eval "test \"\${$as_ac_var+set}\" = set"; then
90227 echo $ECHO_N "(cached) $ECHO_C" >&6
90228 else
90229 if test x$gcc_no_link = xyes; then
90230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90232 { (exit 1); exit 1; }; }
90234 cat >conftest.$ac_ext <<_ACEOF
90235 /* confdefs.h. */
90236 _ACEOF
90237 cat confdefs.h >>conftest.$ac_ext
90238 cat >>conftest.$ac_ext <<_ACEOF
90239 /* end confdefs.h. */
90240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90242 #define $ac_func innocuous_$ac_func
90244 /* System header to define __stub macros and hopefully few prototypes,
90245 which can conflict with char $ac_func (); below.
90246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90247 <limits.h> exists even on freestanding compilers. */
90249 #ifdef __STDC__
90250 # include <limits.h>
90251 #else
90252 # include <assert.h>
90253 #endif
90255 #undef $ac_func
90257 /* Override any gcc2 internal prototype to avoid an error. */
90258 #ifdef __cplusplus
90259 extern "C"
90261 #endif
90262 /* We use char because int might match the return type of a gcc2
90263 builtin and then its argument prototype would still apply. */
90264 char $ac_func ();
90265 /* The GNU C library defines this for functions which it implements
90266 to always fail with ENOSYS. Some functions are actually named
90267 something starting with __ and the normal name is an alias. */
90268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90269 choke me
90270 #else
90271 char (*f) () = $ac_func;
90272 #endif
90273 #ifdef __cplusplus
90275 #endif
90278 main ()
90280 return f != $ac_func;
90282 return 0;
90284 _ACEOF
90285 rm -f conftest.$ac_objext conftest$ac_exeext
90286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90287 (eval $ac_link) 2>conftest.er1
90288 ac_status=$?
90289 grep -v '^ *+' conftest.er1 >conftest.err
90290 rm -f conftest.er1
90291 cat conftest.err >&5
90292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90293 (exit $ac_status); } &&
90294 { ac_try='test -z "$ac_c_werror_flag"
90295 || test ! -s conftest.err'
90296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90297 (eval $ac_try) 2>&5
90298 ac_status=$?
90299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90300 (exit $ac_status); }; } &&
90301 { ac_try='test -s conftest$ac_exeext'
90302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90303 (eval $ac_try) 2>&5
90304 ac_status=$?
90305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90306 (exit $ac_status); }; }; then
90307 eval "$as_ac_var=yes"
90308 else
90309 echo "$as_me: failed program was:" >&5
90310 sed 's/^/| /' conftest.$ac_ext >&5
90312 eval "$as_ac_var=no"
90314 rm -f conftest.err conftest.$ac_objext \
90315 conftest$ac_exeext conftest.$ac_ext
90317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90319 if test `eval echo '${'$as_ac_var'}'` = yes; then
90320 cat >>confdefs.h <<_ACEOF
90321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90322 _ACEOF
90325 done
90335 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
90336 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
90337 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
90338 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
90339 echo $ECHO_N "(cached) $ECHO_C" >&6
90340 else
90344 ac_ext=cc
90345 ac_cpp='$CXXCPP $CPPFLAGS'
90346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90350 cat >conftest.$ac_ext <<_ACEOF
90351 /* confdefs.h. */
90352 _ACEOF
90353 cat confdefs.h >>conftest.$ac_ext
90354 cat >>conftest.$ac_ext <<_ACEOF
90355 /* end confdefs.h. */
90356 #include <math.h>
90358 main ()
90360 ldexpl(0, 0);
90362 return 0;
90364 _ACEOF
90365 rm -f conftest.$ac_objext
90366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90367 (eval $ac_compile) 2>conftest.er1
90368 ac_status=$?
90369 grep -v '^ *+' conftest.er1 >conftest.err
90370 rm -f conftest.er1
90371 cat conftest.err >&5
90372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90373 (exit $ac_status); } &&
90374 { ac_try='test -z "$ac_cxx_werror_flag"
90375 || test ! -s conftest.err'
90376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90377 (eval $ac_try) 2>&5
90378 ac_status=$?
90379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90380 (exit $ac_status); }; } &&
90381 { ac_try='test -s conftest.$ac_objext'
90382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90383 (eval $ac_try) 2>&5
90384 ac_status=$?
90385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90386 (exit $ac_status); }; }; then
90387 glibcxx_cv_func_ldexpl_use=yes
90388 else
90389 echo "$as_me: failed program was:" >&5
90390 sed 's/^/| /' conftest.$ac_ext >&5
90392 glibcxx_cv_func_ldexpl_use=no
90394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90395 ac_ext=c
90396 ac_cpp='$CPP $CPPFLAGS'
90397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90405 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
90406 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
90408 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
90410 for ac_func in ldexpl
90412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90413 echo "$as_me:$LINENO: checking for $ac_func" >&5
90414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90415 if eval "test \"\${$as_ac_var+set}\" = set"; then
90416 echo $ECHO_N "(cached) $ECHO_C" >&6
90417 else
90418 if test x$gcc_no_link = xyes; then
90419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90421 { (exit 1); exit 1; }; }
90423 cat >conftest.$ac_ext <<_ACEOF
90424 /* confdefs.h. */
90425 _ACEOF
90426 cat confdefs.h >>conftest.$ac_ext
90427 cat >>conftest.$ac_ext <<_ACEOF
90428 /* end confdefs.h. */
90429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90431 #define $ac_func innocuous_$ac_func
90433 /* System header to define __stub macros and hopefully few prototypes,
90434 which can conflict with char $ac_func (); below.
90435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90436 <limits.h> exists even on freestanding compilers. */
90438 #ifdef __STDC__
90439 # include <limits.h>
90440 #else
90441 # include <assert.h>
90442 #endif
90444 #undef $ac_func
90446 /* Override any gcc2 internal prototype to avoid an error. */
90447 #ifdef __cplusplus
90448 extern "C"
90450 #endif
90451 /* We use char because int might match the return type of a gcc2
90452 builtin and then its argument prototype would still apply. */
90453 char $ac_func ();
90454 /* The GNU C library defines this for functions which it implements
90455 to always fail with ENOSYS. Some functions are actually named
90456 something starting with __ and the normal name is an alias. */
90457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90458 choke me
90459 #else
90460 char (*f) () = $ac_func;
90461 #endif
90462 #ifdef __cplusplus
90464 #endif
90467 main ()
90469 return f != $ac_func;
90471 return 0;
90473 _ACEOF
90474 rm -f conftest.$ac_objext conftest$ac_exeext
90475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90476 (eval $ac_link) 2>conftest.er1
90477 ac_status=$?
90478 grep -v '^ *+' conftest.er1 >conftest.err
90479 rm -f conftest.er1
90480 cat conftest.err >&5
90481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90482 (exit $ac_status); } &&
90483 { ac_try='test -z "$ac_c_werror_flag"
90484 || test ! -s conftest.err'
90485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90486 (eval $ac_try) 2>&5
90487 ac_status=$?
90488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90489 (exit $ac_status); }; } &&
90490 { ac_try='test -s conftest$ac_exeext'
90491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90492 (eval $ac_try) 2>&5
90493 ac_status=$?
90494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90495 (exit $ac_status); }; }; then
90496 eval "$as_ac_var=yes"
90497 else
90498 echo "$as_me: failed program was:" >&5
90499 sed 's/^/| /' conftest.$ac_ext >&5
90501 eval "$as_ac_var=no"
90503 rm -f conftest.err conftest.$ac_objext \
90504 conftest$ac_exeext conftest.$ac_ext
90506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90508 if test `eval echo '${'$as_ac_var'}'` = yes; then
90509 cat >>confdefs.h <<_ACEOF
90510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90511 _ACEOF
90514 done
90516 else
90518 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
90519 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
90520 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
90521 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
90522 echo $ECHO_N "(cached) $ECHO_C" >&6
90523 else
90527 ac_ext=cc
90528 ac_cpp='$CXXCPP $CPPFLAGS'
90529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90533 cat >conftest.$ac_ext <<_ACEOF
90534 /* confdefs.h. */
90535 _ACEOF
90536 cat confdefs.h >>conftest.$ac_ext
90537 cat >>conftest.$ac_ext <<_ACEOF
90538 /* end confdefs.h. */
90539 #include <math.h>
90541 main ()
90543 _ldexpl(0, 0);
90545 return 0;
90547 _ACEOF
90548 rm -f conftest.$ac_objext
90549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90550 (eval $ac_compile) 2>conftest.er1
90551 ac_status=$?
90552 grep -v '^ *+' conftest.er1 >conftest.err
90553 rm -f conftest.er1
90554 cat conftest.err >&5
90555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90556 (exit $ac_status); } &&
90557 { ac_try='test -z "$ac_cxx_werror_flag"
90558 || test ! -s conftest.err'
90559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90560 (eval $ac_try) 2>&5
90561 ac_status=$?
90562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90563 (exit $ac_status); }; } &&
90564 { ac_try='test -s conftest.$ac_objext'
90565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90566 (eval $ac_try) 2>&5
90567 ac_status=$?
90568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90569 (exit $ac_status); }; }; then
90570 glibcxx_cv_func__ldexpl_use=yes
90571 else
90572 echo "$as_me: failed program was:" >&5
90573 sed 's/^/| /' conftest.$ac_ext >&5
90575 glibcxx_cv_func__ldexpl_use=no
90577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90578 ac_ext=c
90579 ac_cpp='$CPP $CPPFLAGS'
90580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
90589 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
90591 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
90593 for ac_func in _ldexpl
90595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90596 echo "$as_me:$LINENO: checking for $ac_func" >&5
90597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90598 if eval "test \"\${$as_ac_var+set}\" = set"; then
90599 echo $ECHO_N "(cached) $ECHO_C" >&6
90600 else
90601 if test x$gcc_no_link = xyes; then
90602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90604 { (exit 1); exit 1; }; }
90606 cat >conftest.$ac_ext <<_ACEOF
90607 /* confdefs.h. */
90608 _ACEOF
90609 cat confdefs.h >>conftest.$ac_ext
90610 cat >>conftest.$ac_ext <<_ACEOF
90611 /* end confdefs.h. */
90612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90614 #define $ac_func innocuous_$ac_func
90616 /* System header to define __stub macros and hopefully few prototypes,
90617 which can conflict with char $ac_func (); below.
90618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90619 <limits.h> exists even on freestanding compilers. */
90621 #ifdef __STDC__
90622 # include <limits.h>
90623 #else
90624 # include <assert.h>
90625 #endif
90627 #undef $ac_func
90629 /* Override any gcc2 internal prototype to avoid an error. */
90630 #ifdef __cplusplus
90631 extern "C"
90633 #endif
90634 /* We use char because int might match the return type of a gcc2
90635 builtin and then its argument prototype would still apply. */
90636 char $ac_func ();
90637 /* The GNU C library defines this for functions which it implements
90638 to always fail with ENOSYS. Some functions are actually named
90639 something starting with __ and the normal name is an alias. */
90640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90641 choke me
90642 #else
90643 char (*f) () = $ac_func;
90644 #endif
90645 #ifdef __cplusplus
90647 #endif
90650 main ()
90652 return f != $ac_func;
90654 return 0;
90656 _ACEOF
90657 rm -f conftest.$ac_objext conftest$ac_exeext
90658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90659 (eval $ac_link) 2>conftest.er1
90660 ac_status=$?
90661 grep -v '^ *+' conftest.er1 >conftest.err
90662 rm -f conftest.er1
90663 cat conftest.err >&5
90664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90665 (exit $ac_status); } &&
90666 { ac_try='test -z "$ac_c_werror_flag"
90667 || test ! -s conftest.err'
90668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90669 (eval $ac_try) 2>&5
90670 ac_status=$?
90671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90672 (exit $ac_status); }; } &&
90673 { ac_try='test -s conftest$ac_exeext'
90674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90675 (eval $ac_try) 2>&5
90676 ac_status=$?
90677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90678 (exit $ac_status); }; }; then
90679 eval "$as_ac_var=yes"
90680 else
90681 echo "$as_me: failed program was:" >&5
90682 sed 's/^/| /' conftest.$ac_ext >&5
90684 eval "$as_ac_var=no"
90686 rm -f conftest.err conftest.$ac_objext \
90687 conftest$ac_exeext conftest.$ac_ext
90689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90691 if test `eval echo '${'$as_ac_var'}'` = yes; then
90692 cat >>confdefs.h <<_ACEOF
90693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90694 _ACEOF
90697 done
90707 echo "$as_me:$LINENO: checking for logl declaration" >&5
90708 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
90709 if test x${glibcxx_cv_func_logl_use+set} != xset; then
90710 if test "${glibcxx_cv_func_logl_use+set}" = set; then
90711 echo $ECHO_N "(cached) $ECHO_C" >&6
90712 else
90716 ac_ext=cc
90717 ac_cpp='$CXXCPP $CPPFLAGS'
90718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90722 cat >conftest.$ac_ext <<_ACEOF
90723 /* confdefs.h. */
90724 _ACEOF
90725 cat confdefs.h >>conftest.$ac_ext
90726 cat >>conftest.$ac_ext <<_ACEOF
90727 /* end confdefs.h. */
90728 #include <math.h>
90729 #ifdef HAVE_IEEEFP_H
90730 #include <ieeefp.h>
90731 #endif
90734 main ()
90736 logl(0);
90738 return 0;
90740 _ACEOF
90741 rm -f conftest.$ac_objext
90742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90743 (eval $ac_compile) 2>conftest.er1
90744 ac_status=$?
90745 grep -v '^ *+' conftest.er1 >conftest.err
90746 rm -f conftest.er1
90747 cat conftest.err >&5
90748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90749 (exit $ac_status); } &&
90750 { ac_try='test -z "$ac_cxx_werror_flag"
90751 || test ! -s conftest.err'
90752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90753 (eval $ac_try) 2>&5
90754 ac_status=$?
90755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90756 (exit $ac_status); }; } &&
90757 { ac_try='test -s conftest.$ac_objext'
90758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90759 (eval $ac_try) 2>&5
90760 ac_status=$?
90761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90762 (exit $ac_status); }; }; then
90763 glibcxx_cv_func_logl_use=yes
90764 else
90765 echo "$as_me: failed program was:" >&5
90766 sed 's/^/| /' conftest.$ac_ext >&5
90768 glibcxx_cv_func_logl_use=no
90770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90771 ac_ext=c
90772 ac_cpp='$CPP $CPPFLAGS'
90773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
90782 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
90784 if test x$glibcxx_cv_func_logl_use = x"yes"; then
90786 for ac_func in logl
90788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90789 echo "$as_me:$LINENO: checking for $ac_func" >&5
90790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90791 if eval "test \"\${$as_ac_var+set}\" = set"; then
90792 echo $ECHO_N "(cached) $ECHO_C" >&6
90793 else
90794 if test x$gcc_no_link = xyes; then
90795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90797 { (exit 1); exit 1; }; }
90799 cat >conftest.$ac_ext <<_ACEOF
90800 /* confdefs.h. */
90801 _ACEOF
90802 cat confdefs.h >>conftest.$ac_ext
90803 cat >>conftest.$ac_ext <<_ACEOF
90804 /* end confdefs.h. */
90805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90807 #define $ac_func innocuous_$ac_func
90809 /* System header to define __stub macros and hopefully few prototypes,
90810 which can conflict with char $ac_func (); below.
90811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90812 <limits.h> exists even on freestanding compilers. */
90814 #ifdef __STDC__
90815 # include <limits.h>
90816 #else
90817 # include <assert.h>
90818 #endif
90820 #undef $ac_func
90822 /* Override any gcc2 internal prototype to avoid an error. */
90823 #ifdef __cplusplus
90824 extern "C"
90826 #endif
90827 /* We use char because int might match the return type of a gcc2
90828 builtin and then its argument prototype would still apply. */
90829 char $ac_func ();
90830 /* The GNU C library defines this for functions which it implements
90831 to always fail with ENOSYS. Some functions are actually named
90832 something starting with __ and the normal name is an alias. */
90833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90834 choke me
90835 #else
90836 char (*f) () = $ac_func;
90837 #endif
90838 #ifdef __cplusplus
90840 #endif
90843 main ()
90845 return f != $ac_func;
90847 return 0;
90849 _ACEOF
90850 rm -f conftest.$ac_objext conftest$ac_exeext
90851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90852 (eval $ac_link) 2>conftest.er1
90853 ac_status=$?
90854 grep -v '^ *+' conftest.er1 >conftest.err
90855 rm -f conftest.er1
90856 cat conftest.err >&5
90857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90858 (exit $ac_status); } &&
90859 { ac_try='test -z "$ac_c_werror_flag"
90860 || test ! -s conftest.err'
90861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90862 (eval $ac_try) 2>&5
90863 ac_status=$?
90864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90865 (exit $ac_status); }; } &&
90866 { ac_try='test -s conftest$ac_exeext'
90867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90868 (eval $ac_try) 2>&5
90869 ac_status=$?
90870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90871 (exit $ac_status); }; }; then
90872 eval "$as_ac_var=yes"
90873 else
90874 echo "$as_me: failed program was:" >&5
90875 sed 's/^/| /' conftest.$ac_ext >&5
90877 eval "$as_ac_var=no"
90879 rm -f conftest.err conftest.$ac_objext \
90880 conftest$ac_exeext conftest.$ac_ext
90882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90884 if test `eval echo '${'$as_ac_var'}'` = yes; then
90885 cat >>confdefs.h <<_ACEOF
90886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90887 _ACEOF
90890 done
90892 else
90894 echo "$as_me:$LINENO: checking for _logl declaration" >&5
90895 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
90896 if test x${glibcxx_cv_func__logl_use+set} != xset; then
90897 if test "${glibcxx_cv_func__logl_use+set}" = set; then
90898 echo $ECHO_N "(cached) $ECHO_C" >&6
90899 else
90903 ac_ext=cc
90904 ac_cpp='$CXXCPP $CPPFLAGS'
90905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90909 cat >conftest.$ac_ext <<_ACEOF
90910 /* confdefs.h. */
90911 _ACEOF
90912 cat confdefs.h >>conftest.$ac_ext
90913 cat >>conftest.$ac_ext <<_ACEOF
90914 /* end confdefs.h. */
90915 #include <math.h>
90916 #ifdef HAVE_IEEEFP_H
90917 #include <ieeefp.h>
90918 #endif
90921 main ()
90923 _logl(0);
90925 return 0;
90927 _ACEOF
90928 rm -f conftest.$ac_objext
90929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90930 (eval $ac_compile) 2>conftest.er1
90931 ac_status=$?
90932 grep -v '^ *+' conftest.er1 >conftest.err
90933 rm -f conftest.er1
90934 cat conftest.err >&5
90935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90936 (exit $ac_status); } &&
90937 { ac_try='test -z "$ac_cxx_werror_flag"
90938 || test ! -s conftest.err'
90939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90940 (eval $ac_try) 2>&5
90941 ac_status=$?
90942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90943 (exit $ac_status); }; } &&
90944 { ac_try='test -s conftest.$ac_objext'
90945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90946 (eval $ac_try) 2>&5
90947 ac_status=$?
90948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90949 (exit $ac_status); }; }; then
90950 glibcxx_cv_func__logl_use=yes
90951 else
90952 echo "$as_me: failed program was:" >&5
90953 sed 's/^/| /' conftest.$ac_ext >&5
90955 glibcxx_cv_func__logl_use=no
90957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90958 ac_ext=c
90959 ac_cpp='$CPP $CPPFLAGS'
90960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90968 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
90969 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
90971 if test x$glibcxx_cv_func__logl_use = x"yes"; then
90973 for ac_func in _logl
90975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90976 echo "$as_me:$LINENO: checking for $ac_func" >&5
90977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90978 if eval "test \"\${$as_ac_var+set}\" = set"; then
90979 echo $ECHO_N "(cached) $ECHO_C" >&6
90980 else
90981 if test x$gcc_no_link = xyes; then
90982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90984 { (exit 1); exit 1; }; }
90986 cat >conftest.$ac_ext <<_ACEOF
90987 /* confdefs.h. */
90988 _ACEOF
90989 cat confdefs.h >>conftest.$ac_ext
90990 cat >>conftest.$ac_ext <<_ACEOF
90991 /* end confdefs.h. */
90992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90994 #define $ac_func innocuous_$ac_func
90996 /* System header to define __stub macros and hopefully few prototypes,
90997 which can conflict with char $ac_func (); below.
90998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90999 <limits.h> exists even on freestanding compilers. */
91001 #ifdef __STDC__
91002 # include <limits.h>
91003 #else
91004 # include <assert.h>
91005 #endif
91007 #undef $ac_func
91009 /* Override any gcc2 internal prototype to avoid an error. */
91010 #ifdef __cplusplus
91011 extern "C"
91013 #endif
91014 /* We use char because int might match the return type of a gcc2
91015 builtin and then its argument prototype would still apply. */
91016 char $ac_func ();
91017 /* The GNU C library defines this for functions which it implements
91018 to always fail with ENOSYS. Some functions are actually named
91019 something starting with __ and the normal name is an alias. */
91020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91021 choke me
91022 #else
91023 char (*f) () = $ac_func;
91024 #endif
91025 #ifdef __cplusplus
91027 #endif
91030 main ()
91032 return f != $ac_func;
91034 return 0;
91036 _ACEOF
91037 rm -f conftest.$ac_objext conftest$ac_exeext
91038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91039 (eval $ac_link) 2>conftest.er1
91040 ac_status=$?
91041 grep -v '^ *+' conftest.er1 >conftest.err
91042 rm -f conftest.er1
91043 cat conftest.err >&5
91044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91045 (exit $ac_status); } &&
91046 { ac_try='test -z "$ac_c_werror_flag"
91047 || test ! -s conftest.err'
91048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91049 (eval $ac_try) 2>&5
91050 ac_status=$?
91051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91052 (exit $ac_status); }; } &&
91053 { ac_try='test -s conftest$ac_exeext'
91054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91055 (eval $ac_try) 2>&5
91056 ac_status=$?
91057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91058 (exit $ac_status); }; }; then
91059 eval "$as_ac_var=yes"
91060 else
91061 echo "$as_me: failed program was:" >&5
91062 sed 's/^/| /' conftest.$ac_ext >&5
91064 eval "$as_ac_var=no"
91066 rm -f conftest.err conftest.$ac_objext \
91067 conftest$ac_exeext conftest.$ac_ext
91069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91071 if test `eval echo '${'$as_ac_var'}'` = yes; then
91072 cat >>confdefs.h <<_ACEOF
91073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91074 _ACEOF
91077 done
91087 echo "$as_me:$LINENO: checking for log10l declaration" >&5
91088 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
91089 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
91090 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
91091 echo $ECHO_N "(cached) $ECHO_C" >&6
91092 else
91096 ac_ext=cc
91097 ac_cpp='$CXXCPP $CPPFLAGS'
91098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91102 cat >conftest.$ac_ext <<_ACEOF
91103 /* confdefs.h. */
91104 _ACEOF
91105 cat confdefs.h >>conftest.$ac_ext
91106 cat >>conftest.$ac_ext <<_ACEOF
91107 /* end confdefs.h. */
91108 #include <math.h>
91109 #ifdef HAVE_IEEEFP_H
91110 #include <ieeefp.h>
91111 #endif
91114 main ()
91116 log10l(0);
91118 return 0;
91120 _ACEOF
91121 rm -f conftest.$ac_objext
91122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91123 (eval $ac_compile) 2>conftest.er1
91124 ac_status=$?
91125 grep -v '^ *+' conftest.er1 >conftest.err
91126 rm -f conftest.er1
91127 cat conftest.err >&5
91128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91129 (exit $ac_status); } &&
91130 { ac_try='test -z "$ac_cxx_werror_flag"
91131 || test ! -s conftest.err'
91132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91133 (eval $ac_try) 2>&5
91134 ac_status=$?
91135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91136 (exit $ac_status); }; } &&
91137 { ac_try='test -s conftest.$ac_objext'
91138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91139 (eval $ac_try) 2>&5
91140 ac_status=$?
91141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91142 (exit $ac_status); }; }; then
91143 glibcxx_cv_func_log10l_use=yes
91144 else
91145 echo "$as_me: failed program was:" >&5
91146 sed 's/^/| /' conftest.$ac_ext >&5
91148 glibcxx_cv_func_log10l_use=no
91150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91151 ac_ext=c
91152 ac_cpp='$CPP $CPPFLAGS'
91153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91161 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
91162 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
91164 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
91166 for ac_func in log10l
91168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91169 echo "$as_me:$LINENO: checking for $ac_func" >&5
91170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91171 if eval "test \"\${$as_ac_var+set}\" = set"; then
91172 echo $ECHO_N "(cached) $ECHO_C" >&6
91173 else
91174 if test x$gcc_no_link = xyes; then
91175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91177 { (exit 1); exit 1; }; }
91179 cat >conftest.$ac_ext <<_ACEOF
91180 /* confdefs.h. */
91181 _ACEOF
91182 cat confdefs.h >>conftest.$ac_ext
91183 cat >>conftest.$ac_ext <<_ACEOF
91184 /* end confdefs.h. */
91185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91187 #define $ac_func innocuous_$ac_func
91189 /* System header to define __stub macros and hopefully few prototypes,
91190 which can conflict with char $ac_func (); below.
91191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91192 <limits.h> exists even on freestanding compilers. */
91194 #ifdef __STDC__
91195 # include <limits.h>
91196 #else
91197 # include <assert.h>
91198 #endif
91200 #undef $ac_func
91202 /* Override any gcc2 internal prototype to avoid an error. */
91203 #ifdef __cplusplus
91204 extern "C"
91206 #endif
91207 /* We use char because int might match the return type of a gcc2
91208 builtin and then its argument prototype would still apply. */
91209 char $ac_func ();
91210 /* The GNU C library defines this for functions which it implements
91211 to always fail with ENOSYS. Some functions are actually named
91212 something starting with __ and the normal name is an alias. */
91213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91214 choke me
91215 #else
91216 char (*f) () = $ac_func;
91217 #endif
91218 #ifdef __cplusplus
91220 #endif
91223 main ()
91225 return f != $ac_func;
91227 return 0;
91229 _ACEOF
91230 rm -f conftest.$ac_objext conftest$ac_exeext
91231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91232 (eval $ac_link) 2>conftest.er1
91233 ac_status=$?
91234 grep -v '^ *+' conftest.er1 >conftest.err
91235 rm -f conftest.er1
91236 cat conftest.err >&5
91237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91238 (exit $ac_status); } &&
91239 { ac_try='test -z "$ac_c_werror_flag"
91240 || test ! -s conftest.err'
91241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91242 (eval $ac_try) 2>&5
91243 ac_status=$?
91244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91245 (exit $ac_status); }; } &&
91246 { ac_try='test -s conftest$ac_exeext'
91247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91248 (eval $ac_try) 2>&5
91249 ac_status=$?
91250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91251 (exit $ac_status); }; }; then
91252 eval "$as_ac_var=yes"
91253 else
91254 echo "$as_me: failed program was:" >&5
91255 sed 's/^/| /' conftest.$ac_ext >&5
91257 eval "$as_ac_var=no"
91259 rm -f conftest.err conftest.$ac_objext \
91260 conftest$ac_exeext conftest.$ac_ext
91262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91264 if test `eval echo '${'$as_ac_var'}'` = yes; then
91265 cat >>confdefs.h <<_ACEOF
91266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91267 _ACEOF
91270 done
91272 else
91274 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
91275 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
91276 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
91277 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
91278 echo $ECHO_N "(cached) $ECHO_C" >&6
91279 else
91283 ac_ext=cc
91284 ac_cpp='$CXXCPP $CPPFLAGS'
91285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91289 cat >conftest.$ac_ext <<_ACEOF
91290 /* confdefs.h. */
91291 _ACEOF
91292 cat confdefs.h >>conftest.$ac_ext
91293 cat >>conftest.$ac_ext <<_ACEOF
91294 /* end confdefs.h. */
91295 #include <math.h>
91296 #ifdef HAVE_IEEEFP_H
91297 #include <ieeefp.h>
91298 #endif
91301 main ()
91303 _log10l(0);
91305 return 0;
91307 _ACEOF
91308 rm -f conftest.$ac_objext
91309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91310 (eval $ac_compile) 2>conftest.er1
91311 ac_status=$?
91312 grep -v '^ *+' conftest.er1 >conftest.err
91313 rm -f conftest.er1
91314 cat conftest.err >&5
91315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91316 (exit $ac_status); } &&
91317 { ac_try='test -z "$ac_cxx_werror_flag"
91318 || test ! -s conftest.err'
91319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91320 (eval $ac_try) 2>&5
91321 ac_status=$?
91322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91323 (exit $ac_status); }; } &&
91324 { ac_try='test -s conftest.$ac_objext'
91325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91326 (eval $ac_try) 2>&5
91327 ac_status=$?
91328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91329 (exit $ac_status); }; }; then
91330 glibcxx_cv_func__log10l_use=yes
91331 else
91332 echo "$as_me: failed program was:" >&5
91333 sed 's/^/| /' conftest.$ac_ext >&5
91335 glibcxx_cv_func__log10l_use=no
91337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91338 ac_ext=c
91339 ac_cpp='$CPP $CPPFLAGS'
91340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91348 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
91349 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
91351 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
91353 for ac_func in _log10l
91355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91356 echo "$as_me:$LINENO: checking for $ac_func" >&5
91357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91358 if eval "test \"\${$as_ac_var+set}\" = set"; then
91359 echo $ECHO_N "(cached) $ECHO_C" >&6
91360 else
91361 if test x$gcc_no_link = xyes; then
91362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91364 { (exit 1); exit 1; }; }
91366 cat >conftest.$ac_ext <<_ACEOF
91367 /* confdefs.h. */
91368 _ACEOF
91369 cat confdefs.h >>conftest.$ac_ext
91370 cat >>conftest.$ac_ext <<_ACEOF
91371 /* end confdefs.h. */
91372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91374 #define $ac_func innocuous_$ac_func
91376 /* System header to define __stub macros and hopefully few prototypes,
91377 which can conflict with char $ac_func (); below.
91378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91379 <limits.h> exists even on freestanding compilers. */
91381 #ifdef __STDC__
91382 # include <limits.h>
91383 #else
91384 # include <assert.h>
91385 #endif
91387 #undef $ac_func
91389 /* Override any gcc2 internal prototype to avoid an error. */
91390 #ifdef __cplusplus
91391 extern "C"
91393 #endif
91394 /* We use char because int might match the return type of a gcc2
91395 builtin and then its argument prototype would still apply. */
91396 char $ac_func ();
91397 /* The GNU C library defines this for functions which it implements
91398 to always fail with ENOSYS. Some functions are actually named
91399 something starting with __ and the normal name is an alias. */
91400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91401 choke me
91402 #else
91403 char (*f) () = $ac_func;
91404 #endif
91405 #ifdef __cplusplus
91407 #endif
91410 main ()
91412 return f != $ac_func;
91414 return 0;
91416 _ACEOF
91417 rm -f conftest.$ac_objext conftest$ac_exeext
91418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91419 (eval $ac_link) 2>conftest.er1
91420 ac_status=$?
91421 grep -v '^ *+' conftest.er1 >conftest.err
91422 rm -f conftest.er1
91423 cat conftest.err >&5
91424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91425 (exit $ac_status); } &&
91426 { ac_try='test -z "$ac_c_werror_flag"
91427 || test ! -s conftest.err'
91428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91429 (eval $ac_try) 2>&5
91430 ac_status=$?
91431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91432 (exit $ac_status); }; } &&
91433 { ac_try='test -s conftest$ac_exeext'
91434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91435 (eval $ac_try) 2>&5
91436 ac_status=$?
91437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91438 (exit $ac_status); }; }; then
91439 eval "$as_ac_var=yes"
91440 else
91441 echo "$as_me: failed program was:" >&5
91442 sed 's/^/| /' conftest.$ac_ext >&5
91444 eval "$as_ac_var=no"
91446 rm -f conftest.err conftest.$ac_objext \
91447 conftest$ac_exeext conftest.$ac_ext
91449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91451 if test `eval echo '${'$as_ac_var'}'` = yes; then
91452 cat >>confdefs.h <<_ACEOF
91453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91454 _ACEOF
91457 done
91467 echo "$as_me:$LINENO: checking for modfl declaration" >&5
91468 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
91469 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
91470 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
91471 echo $ECHO_N "(cached) $ECHO_C" >&6
91472 else
91476 ac_ext=cc
91477 ac_cpp='$CXXCPP $CPPFLAGS'
91478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91482 cat >conftest.$ac_ext <<_ACEOF
91483 /* confdefs.h. */
91484 _ACEOF
91485 cat confdefs.h >>conftest.$ac_ext
91486 cat >>conftest.$ac_ext <<_ACEOF
91487 /* end confdefs.h. */
91488 #include <math.h>
91490 main ()
91492 modfl(0, 0);
91494 return 0;
91496 _ACEOF
91497 rm -f conftest.$ac_objext
91498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91499 (eval $ac_compile) 2>conftest.er1
91500 ac_status=$?
91501 grep -v '^ *+' conftest.er1 >conftest.err
91502 rm -f conftest.er1
91503 cat conftest.err >&5
91504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91505 (exit $ac_status); } &&
91506 { ac_try='test -z "$ac_cxx_werror_flag"
91507 || test ! -s conftest.err'
91508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91509 (eval $ac_try) 2>&5
91510 ac_status=$?
91511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91512 (exit $ac_status); }; } &&
91513 { ac_try='test -s conftest.$ac_objext'
91514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91515 (eval $ac_try) 2>&5
91516 ac_status=$?
91517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91518 (exit $ac_status); }; }; then
91519 glibcxx_cv_func_modfl_use=yes
91520 else
91521 echo "$as_me: failed program was:" >&5
91522 sed 's/^/| /' conftest.$ac_ext >&5
91524 glibcxx_cv_func_modfl_use=no
91526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91527 ac_ext=c
91528 ac_cpp='$CPP $CPPFLAGS'
91529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91537 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
91538 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
91540 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
91542 for ac_func in modfl
91544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91545 echo "$as_me:$LINENO: checking for $ac_func" >&5
91546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91547 if eval "test \"\${$as_ac_var+set}\" = set"; then
91548 echo $ECHO_N "(cached) $ECHO_C" >&6
91549 else
91550 if test x$gcc_no_link = xyes; then
91551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91553 { (exit 1); exit 1; }; }
91555 cat >conftest.$ac_ext <<_ACEOF
91556 /* confdefs.h. */
91557 _ACEOF
91558 cat confdefs.h >>conftest.$ac_ext
91559 cat >>conftest.$ac_ext <<_ACEOF
91560 /* end confdefs.h. */
91561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91563 #define $ac_func innocuous_$ac_func
91565 /* System header to define __stub macros and hopefully few prototypes,
91566 which can conflict with char $ac_func (); below.
91567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91568 <limits.h> exists even on freestanding compilers. */
91570 #ifdef __STDC__
91571 # include <limits.h>
91572 #else
91573 # include <assert.h>
91574 #endif
91576 #undef $ac_func
91578 /* Override any gcc2 internal prototype to avoid an error. */
91579 #ifdef __cplusplus
91580 extern "C"
91582 #endif
91583 /* We use char because int might match the return type of a gcc2
91584 builtin and then its argument prototype would still apply. */
91585 char $ac_func ();
91586 /* The GNU C library defines this for functions which it implements
91587 to always fail with ENOSYS. Some functions are actually named
91588 something starting with __ and the normal name is an alias. */
91589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91590 choke me
91591 #else
91592 char (*f) () = $ac_func;
91593 #endif
91594 #ifdef __cplusplus
91596 #endif
91599 main ()
91601 return f != $ac_func;
91603 return 0;
91605 _ACEOF
91606 rm -f conftest.$ac_objext conftest$ac_exeext
91607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91608 (eval $ac_link) 2>conftest.er1
91609 ac_status=$?
91610 grep -v '^ *+' conftest.er1 >conftest.err
91611 rm -f conftest.er1
91612 cat conftest.err >&5
91613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91614 (exit $ac_status); } &&
91615 { ac_try='test -z "$ac_c_werror_flag"
91616 || test ! -s conftest.err'
91617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91618 (eval $ac_try) 2>&5
91619 ac_status=$?
91620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91621 (exit $ac_status); }; } &&
91622 { ac_try='test -s conftest$ac_exeext'
91623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91624 (eval $ac_try) 2>&5
91625 ac_status=$?
91626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91627 (exit $ac_status); }; }; then
91628 eval "$as_ac_var=yes"
91629 else
91630 echo "$as_me: failed program was:" >&5
91631 sed 's/^/| /' conftest.$ac_ext >&5
91633 eval "$as_ac_var=no"
91635 rm -f conftest.err conftest.$ac_objext \
91636 conftest$ac_exeext conftest.$ac_ext
91638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91640 if test `eval echo '${'$as_ac_var'}'` = yes; then
91641 cat >>confdefs.h <<_ACEOF
91642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91643 _ACEOF
91646 done
91648 else
91650 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
91651 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
91652 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
91653 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
91654 echo $ECHO_N "(cached) $ECHO_C" >&6
91655 else
91659 ac_ext=cc
91660 ac_cpp='$CXXCPP $CPPFLAGS'
91661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91665 cat >conftest.$ac_ext <<_ACEOF
91666 /* confdefs.h. */
91667 _ACEOF
91668 cat confdefs.h >>conftest.$ac_ext
91669 cat >>conftest.$ac_ext <<_ACEOF
91670 /* end confdefs.h. */
91671 #include <math.h>
91673 main ()
91675 _modfl(0, 0);
91677 return 0;
91679 _ACEOF
91680 rm -f conftest.$ac_objext
91681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91682 (eval $ac_compile) 2>conftest.er1
91683 ac_status=$?
91684 grep -v '^ *+' conftest.er1 >conftest.err
91685 rm -f conftest.er1
91686 cat conftest.err >&5
91687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91688 (exit $ac_status); } &&
91689 { ac_try='test -z "$ac_cxx_werror_flag"
91690 || test ! -s conftest.err'
91691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91692 (eval $ac_try) 2>&5
91693 ac_status=$?
91694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91695 (exit $ac_status); }; } &&
91696 { ac_try='test -s conftest.$ac_objext'
91697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91698 (eval $ac_try) 2>&5
91699 ac_status=$?
91700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91701 (exit $ac_status); }; }; then
91702 glibcxx_cv_func__modfl_use=yes
91703 else
91704 echo "$as_me: failed program was:" >&5
91705 sed 's/^/| /' conftest.$ac_ext >&5
91707 glibcxx_cv_func__modfl_use=no
91709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91710 ac_ext=c
91711 ac_cpp='$CPP $CPPFLAGS'
91712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91720 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
91721 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
91723 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
91725 for ac_func in _modfl
91727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91728 echo "$as_me:$LINENO: checking for $ac_func" >&5
91729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91730 if eval "test \"\${$as_ac_var+set}\" = set"; then
91731 echo $ECHO_N "(cached) $ECHO_C" >&6
91732 else
91733 if test x$gcc_no_link = xyes; then
91734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91736 { (exit 1); exit 1; }; }
91738 cat >conftest.$ac_ext <<_ACEOF
91739 /* confdefs.h. */
91740 _ACEOF
91741 cat confdefs.h >>conftest.$ac_ext
91742 cat >>conftest.$ac_ext <<_ACEOF
91743 /* end confdefs.h. */
91744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91746 #define $ac_func innocuous_$ac_func
91748 /* System header to define __stub macros and hopefully few prototypes,
91749 which can conflict with char $ac_func (); below.
91750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91751 <limits.h> exists even on freestanding compilers. */
91753 #ifdef __STDC__
91754 # include <limits.h>
91755 #else
91756 # include <assert.h>
91757 #endif
91759 #undef $ac_func
91761 /* Override any gcc2 internal prototype to avoid an error. */
91762 #ifdef __cplusplus
91763 extern "C"
91765 #endif
91766 /* We use char because int might match the return type of a gcc2
91767 builtin and then its argument prototype would still apply. */
91768 char $ac_func ();
91769 /* The GNU C library defines this for functions which it implements
91770 to always fail with ENOSYS. Some functions are actually named
91771 something starting with __ and the normal name is an alias. */
91772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91773 choke me
91774 #else
91775 char (*f) () = $ac_func;
91776 #endif
91777 #ifdef __cplusplus
91779 #endif
91782 main ()
91784 return f != $ac_func;
91786 return 0;
91788 _ACEOF
91789 rm -f conftest.$ac_objext conftest$ac_exeext
91790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91791 (eval $ac_link) 2>conftest.er1
91792 ac_status=$?
91793 grep -v '^ *+' conftest.er1 >conftest.err
91794 rm -f conftest.er1
91795 cat conftest.err >&5
91796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91797 (exit $ac_status); } &&
91798 { ac_try='test -z "$ac_c_werror_flag"
91799 || test ! -s conftest.err'
91800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91801 (eval $ac_try) 2>&5
91802 ac_status=$?
91803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91804 (exit $ac_status); }; } &&
91805 { ac_try='test -s conftest$ac_exeext'
91806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91807 (eval $ac_try) 2>&5
91808 ac_status=$?
91809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91810 (exit $ac_status); }; }; then
91811 eval "$as_ac_var=yes"
91812 else
91813 echo "$as_me: failed program was:" >&5
91814 sed 's/^/| /' conftest.$ac_ext >&5
91816 eval "$as_ac_var=no"
91818 rm -f conftest.err conftest.$ac_objext \
91819 conftest$ac_exeext conftest.$ac_ext
91821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91823 if test `eval echo '${'$as_ac_var'}'` = yes; then
91824 cat >>confdefs.h <<_ACEOF
91825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91826 _ACEOF
91829 done
91839 echo "$as_me:$LINENO: checking for powl declaration" >&5
91840 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
91841 if test x${glibcxx_cv_func_powl_use+set} != xset; then
91842 if test "${glibcxx_cv_func_powl_use+set}" = set; then
91843 echo $ECHO_N "(cached) $ECHO_C" >&6
91844 else
91848 ac_ext=cc
91849 ac_cpp='$CXXCPP $CPPFLAGS'
91850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91854 cat >conftest.$ac_ext <<_ACEOF
91855 /* confdefs.h. */
91856 _ACEOF
91857 cat confdefs.h >>conftest.$ac_ext
91858 cat >>conftest.$ac_ext <<_ACEOF
91859 /* end confdefs.h. */
91860 #include <math.h>
91862 main ()
91864 powl(0, 0);
91866 return 0;
91868 _ACEOF
91869 rm -f conftest.$ac_objext
91870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91871 (eval $ac_compile) 2>conftest.er1
91872 ac_status=$?
91873 grep -v '^ *+' conftest.er1 >conftest.err
91874 rm -f conftest.er1
91875 cat conftest.err >&5
91876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91877 (exit $ac_status); } &&
91878 { ac_try='test -z "$ac_cxx_werror_flag"
91879 || test ! -s conftest.err'
91880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91881 (eval $ac_try) 2>&5
91882 ac_status=$?
91883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91884 (exit $ac_status); }; } &&
91885 { ac_try='test -s conftest.$ac_objext'
91886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91887 (eval $ac_try) 2>&5
91888 ac_status=$?
91889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91890 (exit $ac_status); }; }; then
91891 glibcxx_cv_func_powl_use=yes
91892 else
91893 echo "$as_me: failed program was:" >&5
91894 sed 's/^/| /' conftest.$ac_ext >&5
91896 glibcxx_cv_func_powl_use=no
91898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91899 ac_ext=c
91900 ac_cpp='$CPP $CPPFLAGS'
91901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91909 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
91910 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
91912 if test x$glibcxx_cv_func_powl_use = x"yes"; then
91914 for ac_func in powl
91916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91917 echo "$as_me:$LINENO: checking for $ac_func" >&5
91918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91919 if eval "test \"\${$as_ac_var+set}\" = set"; then
91920 echo $ECHO_N "(cached) $ECHO_C" >&6
91921 else
91922 if test x$gcc_no_link = xyes; then
91923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91925 { (exit 1); exit 1; }; }
91927 cat >conftest.$ac_ext <<_ACEOF
91928 /* confdefs.h. */
91929 _ACEOF
91930 cat confdefs.h >>conftest.$ac_ext
91931 cat >>conftest.$ac_ext <<_ACEOF
91932 /* end confdefs.h. */
91933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91935 #define $ac_func innocuous_$ac_func
91937 /* System header to define __stub macros and hopefully few prototypes,
91938 which can conflict with char $ac_func (); below.
91939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91940 <limits.h> exists even on freestanding compilers. */
91942 #ifdef __STDC__
91943 # include <limits.h>
91944 #else
91945 # include <assert.h>
91946 #endif
91948 #undef $ac_func
91950 /* Override any gcc2 internal prototype to avoid an error. */
91951 #ifdef __cplusplus
91952 extern "C"
91954 #endif
91955 /* We use char because int might match the return type of a gcc2
91956 builtin and then its argument prototype would still apply. */
91957 char $ac_func ();
91958 /* The GNU C library defines this for functions which it implements
91959 to always fail with ENOSYS. Some functions are actually named
91960 something starting with __ and the normal name is an alias. */
91961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91962 choke me
91963 #else
91964 char (*f) () = $ac_func;
91965 #endif
91966 #ifdef __cplusplus
91968 #endif
91971 main ()
91973 return f != $ac_func;
91975 return 0;
91977 _ACEOF
91978 rm -f conftest.$ac_objext conftest$ac_exeext
91979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91980 (eval $ac_link) 2>conftest.er1
91981 ac_status=$?
91982 grep -v '^ *+' conftest.er1 >conftest.err
91983 rm -f conftest.er1
91984 cat conftest.err >&5
91985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91986 (exit $ac_status); } &&
91987 { ac_try='test -z "$ac_c_werror_flag"
91988 || test ! -s conftest.err'
91989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91990 (eval $ac_try) 2>&5
91991 ac_status=$?
91992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91993 (exit $ac_status); }; } &&
91994 { ac_try='test -s conftest$ac_exeext'
91995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91996 (eval $ac_try) 2>&5
91997 ac_status=$?
91998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91999 (exit $ac_status); }; }; then
92000 eval "$as_ac_var=yes"
92001 else
92002 echo "$as_me: failed program was:" >&5
92003 sed 's/^/| /' conftest.$ac_ext >&5
92005 eval "$as_ac_var=no"
92007 rm -f conftest.err conftest.$ac_objext \
92008 conftest$ac_exeext conftest.$ac_ext
92010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92012 if test `eval echo '${'$as_ac_var'}'` = yes; then
92013 cat >>confdefs.h <<_ACEOF
92014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92015 _ACEOF
92018 done
92020 else
92022 echo "$as_me:$LINENO: checking for _powl declaration" >&5
92023 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
92024 if test x${glibcxx_cv_func__powl_use+set} != xset; then
92025 if test "${glibcxx_cv_func__powl_use+set}" = set; then
92026 echo $ECHO_N "(cached) $ECHO_C" >&6
92027 else
92031 ac_ext=cc
92032 ac_cpp='$CXXCPP $CPPFLAGS'
92033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92037 cat >conftest.$ac_ext <<_ACEOF
92038 /* confdefs.h. */
92039 _ACEOF
92040 cat confdefs.h >>conftest.$ac_ext
92041 cat >>conftest.$ac_ext <<_ACEOF
92042 /* end confdefs.h. */
92043 #include <math.h>
92045 main ()
92047 _powl(0, 0);
92049 return 0;
92051 _ACEOF
92052 rm -f conftest.$ac_objext
92053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92054 (eval $ac_compile) 2>conftest.er1
92055 ac_status=$?
92056 grep -v '^ *+' conftest.er1 >conftest.err
92057 rm -f conftest.er1
92058 cat conftest.err >&5
92059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92060 (exit $ac_status); } &&
92061 { ac_try='test -z "$ac_cxx_werror_flag"
92062 || test ! -s conftest.err'
92063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92064 (eval $ac_try) 2>&5
92065 ac_status=$?
92066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92067 (exit $ac_status); }; } &&
92068 { ac_try='test -s conftest.$ac_objext'
92069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92070 (eval $ac_try) 2>&5
92071 ac_status=$?
92072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92073 (exit $ac_status); }; }; then
92074 glibcxx_cv_func__powl_use=yes
92075 else
92076 echo "$as_me: failed program was:" >&5
92077 sed 's/^/| /' conftest.$ac_ext >&5
92079 glibcxx_cv_func__powl_use=no
92081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92082 ac_ext=c
92083 ac_cpp='$CPP $CPPFLAGS'
92084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92092 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
92093 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
92095 if test x$glibcxx_cv_func__powl_use = x"yes"; then
92097 for ac_func in _powl
92099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92100 echo "$as_me:$LINENO: checking for $ac_func" >&5
92101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92102 if eval "test \"\${$as_ac_var+set}\" = set"; then
92103 echo $ECHO_N "(cached) $ECHO_C" >&6
92104 else
92105 if test x$gcc_no_link = xyes; then
92106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92108 { (exit 1); exit 1; }; }
92110 cat >conftest.$ac_ext <<_ACEOF
92111 /* confdefs.h. */
92112 _ACEOF
92113 cat confdefs.h >>conftest.$ac_ext
92114 cat >>conftest.$ac_ext <<_ACEOF
92115 /* end confdefs.h. */
92116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92118 #define $ac_func innocuous_$ac_func
92120 /* System header to define __stub macros and hopefully few prototypes,
92121 which can conflict with char $ac_func (); below.
92122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92123 <limits.h> exists even on freestanding compilers. */
92125 #ifdef __STDC__
92126 # include <limits.h>
92127 #else
92128 # include <assert.h>
92129 #endif
92131 #undef $ac_func
92133 /* Override any gcc2 internal prototype to avoid an error. */
92134 #ifdef __cplusplus
92135 extern "C"
92137 #endif
92138 /* We use char because int might match the return type of a gcc2
92139 builtin and then its argument prototype would still apply. */
92140 char $ac_func ();
92141 /* The GNU C library defines this for functions which it implements
92142 to always fail with ENOSYS. Some functions are actually named
92143 something starting with __ and the normal name is an alias. */
92144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92145 choke me
92146 #else
92147 char (*f) () = $ac_func;
92148 #endif
92149 #ifdef __cplusplus
92151 #endif
92154 main ()
92156 return f != $ac_func;
92158 return 0;
92160 _ACEOF
92161 rm -f conftest.$ac_objext conftest$ac_exeext
92162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92163 (eval $ac_link) 2>conftest.er1
92164 ac_status=$?
92165 grep -v '^ *+' conftest.er1 >conftest.err
92166 rm -f conftest.er1
92167 cat conftest.err >&5
92168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92169 (exit $ac_status); } &&
92170 { ac_try='test -z "$ac_c_werror_flag"
92171 || test ! -s conftest.err'
92172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92173 (eval $ac_try) 2>&5
92174 ac_status=$?
92175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92176 (exit $ac_status); }; } &&
92177 { ac_try='test -s conftest$ac_exeext'
92178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92179 (eval $ac_try) 2>&5
92180 ac_status=$?
92181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92182 (exit $ac_status); }; }; then
92183 eval "$as_ac_var=yes"
92184 else
92185 echo "$as_me: failed program was:" >&5
92186 sed 's/^/| /' conftest.$ac_ext >&5
92188 eval "$as_ac_var=no"
92190 rm -f conftest.err conftest.$ac_objext \
92191 conftest$ac_exeext conftest.$ac_ext
92193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92195 if test `eval echo '${'$as_ac_var'}'` = yes; then
92196 cat >>confdefs.h <<_ACEOF
92197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92198 _ACEOF
92201 done
92211 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
92212 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
92213 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
92214 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
92215 echo $ECHO_N "(cached) $ECHO_C" >&6
92216 else
92220 ac_ext=cc
92221 ac_cpp='$CXXCPP $CPPFLAGS'
92222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92226 cat >conftest.$ac_ext <<_ACEOF
92227 /* confdefs.h. */
92228 _ACEOF
92229 cat confdefs.h >>conftest.$ac_ext
92230 cat >>conftest.$ac_ext <<_ACEOF
92231 /* end confdefs.h. */
92232 #include <math.h>
92233 #ifdef HAVE_IEEEFP_H
92234 #include <ieeefp.h>
92235 #endif
92238 main ()
92240 sqrtl(0);
92242 return 0;
92244 _ACEOF
92245 rm -f conftest.$ac_objext
92246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92247 (eval $ac_compile) 2>conftest.er1
92248 ac_status=$?
92249 grep -v '^ *+' conftest.er1 >conftest.err
92250 rm -f conftest.er1
92251 cat conftest.err >&5
92252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92253 (exit $ac_status); } &&
92254 { ac_try='test -z "$ac_cxx_werror_flag"
92255 || test ! -s conftest.err'
92256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92257 (eval $ac_try) 2>&5
92258 ac_status=$?
92259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92260 (exit $ac_status); }; } &&
92261 { ac_try='test -s conftest.$ac_objext'
92262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92263 (eval $ac_try) 2>&5
92264 ac_status=$?
92265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92266 (exit $ac_status); }; }; then
92267 glibcxx_cv_func_sqrtl_use=yes
92268 else
92269 echo "$as_me: failed program was:" >&5
92270 sed 's/^/| /' conftest.$ac_ext >&5
92272 glibcxx_cv_func_sqrtl_use=no
92274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92275 ac_ext=c
92276 ac_cpp='$CPP $CPPFLAGS'
92277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92285 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
92286 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
92288 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
92290 for ac_func in sqrtl
92292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92293 echo "$as_me:$LINENO: checking for $ac_func" >&5
92294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92295 if eval "test \"\${$as_ac_var+set}\" = set"; then
92296 echo $ECHO_N "(cached) $ECHO_C" >&6
92297 else
92298 if test x$gcc_no_link = xyes; then
92299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92301 { (exit 1); exit 1; }; }
92303 cat >conftest.$ac_ext <<_ACEOF
92304 /* confdefs.h. */
92305 _ACEOF
92306 cat confdefs.h >>conftest.$ac_ext
92307 cat >>conftest.$ac_ext <<_ACEOF
92308 /* end confdefs.h. */
92309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92311 #define $ac_func innocuous_$ac_func
92313 /* System header to define __stub macros and hopefully few prototypes,
92314 which can conflict with char $ac_func (); below.
92315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92316 <limits.h> exists even on freestanding compilers. */
92318 #ifdef __STDC__
92319 # include <limits.h>
92320 #else
92321 # include <assert.h>
92322 #endif
92324 #undef $ac_func
92326 /* Override any gcc2 internal prototype to avoid an error. */
92327 #ifdef __cplusplus
92328 extern "C"
92330 #endif
92331 /* We use char because int might match the return type of a gcc2
92332 builtin and then its argument prototype would still apply. */
92333 char $ac_func ();
92334 /* The GNU C library defines this for functions which it implements
92335 to always fail with ENOSYS. Some functions are actually named
92336 something starting with __ and the normal name is an alias. */
92337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92338 choke me
92339 #else
92340 char (*f) () = $ac_func;
92341 #endif
92342 #ifdef __cplusplus
92344 #endif
92347 main ()
92349 return f != $ac_func;
92351 return 0;
92353 _ACEOF
92354 rm -f conftest.$ac_objext conftest$ac_exeext
92355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92356 (eval $ac_link) 2>conftest.er1
92357 ac_status=$?
92358 grep -v '^ *+' conftest.er1 >conftest.err
92359 rm -f conftest.er1
92360 cat conftest.err >&5
92361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92362 (exit $ac_status); } &&
92363 { ac_try='test -z "$ac_c_werror_flag"
92364 || test ! -s conftest.err'
92365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92366 (eval $ac_try) 2>&5
92367 ac_status=$?
92368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92369 (exit $ac_status); }; } &&
92370 { ac_try='test -s conftest$ac_exeext'
92371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92372 (eval $ac_try) 2>&5
92373 ac_status=$?
92374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92375 (exit $ac_status); }; }; then
92376 eval "$as_ac_var=yes"
92377 else
92378 echo "$as_me: failed program was:" >&5
92379 sed 's/^/| /' conftest.$ac_ext >&5
92381 eval "$as_ac_var=no"
92383 rm -f conftest.err conftest.$ac_objext \
92384 conftest$ac_exeext conftest.$ac_ext
92386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92388 if test `eval echo '${'$as_ac_var'}'` = yes; then
92389 cat >>confdefs.h <<_ACEOF
92390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92391 _ACEOF
92394 done
92396 else
92398 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
92399 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
92400 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
92401 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
92402 echo $ECHO_N "(cached) $ECHO_C" >&6
92403 else
92407 ac_ext=cc
92408 ac_cpp='$CXXCPP $CPPFLAGS'
92409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92413 cat >conftest.$ac_ext <<_ACEOF
92414 /* confdefs.h. */
92415 _ACEOF
92416 cat confdefs.h >>conftest.$ac_ext
92417 cat >>conftest.$ac_ext <<_ACEOF
92418 /* end confdefs.h. */
92419 #include <math.h>
92420 #ifdef HAVE_IEEEFP_H
92421 #include <ieeefp.h>
92422 #endif
92425 main ()
92427 _sqrtl(0);
92429 return 0;
92431 _ACEOF
92432 rm -f conftest.$ac_objext
92433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92434 (eval $ac_compile) 2>conftest.er1
92435 ac_status=$?
92436 grep -v '^ *+' conftest.er1 >conftest.err
92437 rm -f conftest.er1
92438 cat conftest.err >&5
92439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92440 (exit $ac_status); } &&
92441 { ac_try='test -z "$ac_cxx_werror_flag"
92442 || test ! -s conftest.err'
92443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92444 (eval $ac_try) 2>&5
92445 ac_status=$?
92446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92447 (exit $ac_status); }; } &&
92448 { ac_try='test -s conftest.$ac_objext'
92449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92450 (eval $ac_try) 2>&5
92451 ac_status=$?
92452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92453 (exit $ac_status); }; }; then
92454 glibcxx_cv_func__sqrtl_use=yes
92455 else
92456 echo "$as_me: failed program was:" >&5
92457 sed 's/^/| /' conftest.$ac_ext >&5
92459 glibcxx_cv_func__sqrtl_use=no
92461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92462 ac_ext=c
92463 ac_cpp='$CPP $CPPFLAGS'
92464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92472 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
92473 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
92475 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
92477 for ac_func in _sqrtl
92479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92480 echo "$as_me:$LINENO: checking for $ac_func" >&5
92481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92482 if eval "test \"\${$as_ac_var+set}\" = set"; then
92483 echo $ECHO_N "(cached) $ECHO_C" >&6
92484 else
92485 if test x$gcc_no_link = xyes; then
92486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92488 { (exit 1); exit 1; }; }
92490 cat >conftest.$ac_ext <<_ACEOF
92491 /* confdefs.h. */
92492 _ACEOF
92493 cat confdefs.h >>conftest.$ac_ext
92494 cat >>conftest.$ac_ext <<_ACEOF
92495 /* end confdefs.h. */
92496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92498 #define $ac_func innocuous_$ac_func
92500 /* System header to define __stub macros and hopefully few prototypes,
92501 which can conflict with char $ac_func (); below.
92502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92503 <limits.h> exists even on freestanding compilers. */
92505 #ifdef __STDC__
92506 # include <limits.h>
92507 #else
92508 # include <assert.h>
92509 #endif
92511 #undef $ac_func
92513 /* Override any gcc2 internal prototype to avoid an error. */
92514 #ifdef __cplusplus
92515 extern "C"
92517 #endif
92518 /* We use char because int might match the return type of a gcc2
92519 builtin and then its argument prototype would still apply. */
92520 char $ac_func ();
92521 /* The GNU C library defines this for functions which it implements
92522 to always fail with ENOSYS. Some functions are actually named
92523 something starting with __ and the normal name is an alias. */
92524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92525 choke me
92526 #else
92527 char (*f) () = $ac_func;
92528 #endif
92529 #ifdef __cplusplus
92531 #endif
92534 main ()
92536 return f != $ac_func;
92538 return 0;
92540 _ACEOF
92541 rm -f conftest.$ac_objext conftest$ac_exeext
92542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92543 (eval $ac_link) 2>conftest.er1
92544 ac_status=$?
92545 grep -v '^ *+' conftest.er1 >conftest.err
92546 rm -f conftest.er1
92547 cat conftest.err >&5
92548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92549 (exit $ac_status); } &&
92550 { ac_try='test -z "$ac_c_werror_flag"
92551 || test ! -s conftest.err'
92552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92553 (eval $ac_try) 2>&5
92554 ac_status=$?
92555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92556 (exit $ac_status); }; } &&
92557 { ac_try='test -s conftest$ac_exeext'
92558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92559 (eval $ac_try) 2>&5
92560 ac_status=$?
92561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92562 (exit $ac_status); }; }; then
92563 eval "$as_ac_var=yes"
92564 else
92565 echo "$as_me: failed program was:" >&5
92566 sed 's/^/| /' conftest.$ac_ext >&5
92568 eval "$as_ac_var=no"
92570 rm -f conftest.err conftest.$ac_objext \
92571 conftest$ac_exeext conftest.$ac_ext
92573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92575 if test `eval echo '${'$as_ac_var'}'` = yes; then
92576 cat >>confdefs.h <<_ACEOF
92577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92578 _ACEOF
92581 done
92591 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
92592 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
92593 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
92594 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
92595 echo $ECHO_N "(cached) $ECHO_C" >&6
92596 else
92600 ac_ext=cc
92601 ac_cpp='$CXXCPP $CPPFLAGS'
92602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92606 cat >conftest.$ac_ext <<_ACEOF
92607 /* confdefs.h. */
92608 _ACEOF
92609 cat confdefs.h >>conftest.$ac_ext
92610 cat >>conftest.$ac_ext <<_ACEOF
92611 /* end confdefs.h. */
92612 #include <math.h>
92614 main ()
92616 sincosl(0, 0, 0);
92618 return 0;
92620 _ACEOF
92621 rm -f conftest.$ac_objext
92622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92623 (eval $ac_compile) 2>conftest.er1
92624 ac_status=$?
92625 grep -v '^ *+' conftest.er1 >conftest.err
92626 rm -f conftest.er1
92627 cat conftest.err >&5
92628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92629 (exit $ac_status); } &&
92630 { ac_try='test -z "$ac_cxx_werror_flag"
92631 || test ! -s conftest.err'
92632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92633 (eval $ac_try) 2>&5
92634 ac_status=$?
92635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92636 (exit $ac_status); }; } &&
92637 { ac_try='test -s conftest.$ac_objext'
92638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92639 (eval $ac_try) 2>&5
92640 ac_status=$?
92641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92642 (exit $ac_status); }; }; then
92643 glibcxx_cv_func_sincosl_use=yes
92644 else
92645 echo "$as_me: failed program was:" >&5
92646 sed 's/^/| /' conftest.$ac_ext >&5
92648 glibcxx_cv_func_sincosl_use=no
92650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92651 ac_ext=c
92652 ac_cpp='$CPP $CPPFLAGS'
92653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92661 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
92662 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
92664 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
92666 for ac_func in sincosl
92668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92669 echo "$as_me:$LINENO: checking for $ac_func" >&5
92670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92671 if eval "test \"\${$as_ac_var+set}\" = set"; then
92672 echo $ECHO_N "(cached) $ECHO_C" >&6
92673 else
92674 if test x$gcc_no_link = xyes; then
92675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92677 { (exit 1); exit 1; }; }
92679 cat >conftest.$ac_ext <<_ACEOF
92680 /* confdefs.h. */
92681 _ACEOF
92682 cat confdefs.h >>conftest.$ac_ext
92683 cat >>conftest.$ac_ext <<_ACEOF
92684 /* end confdefs.h. */
92685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92687 #define $ac_func innocuous_$ac_func
92689 /* System header to define __stub macros and hopefully few prototypes,
92690 which can conflict with char $ac_func (); below.
92691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92692 <limits.h> exists even on freestanding compilers. */
92694 #ifdef __STDC__
92695 # include <limits.h>
92696 #else
92697 # include <assert.h>
92698 #endif
92700 #undef $ac_func
92702 /* Override any gcc2 internal prototype to avoid an error. */
92703 #ifdef __cplusplus
92704 extern "C"
92706 #endif
92707 /* We use char because int might match the return type of a gcc2
92708 builtin and then its argument prototype would still apply. */
92709 char $ac_func ();
92710 /* The GNU C library defines this for functions which it implements
92711 to always fail with ENOSYS. Some functions are actually named
92712 something starting with __ and the normal name is an alias. */
92713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92714 choke me
92715 #else
92716 char (*f) () = $ac_func;
92717 #endif
92718 #ifdef __cplusplus
92720 #endif
92723 main ()
92725 return f != $ac_func;
92727 return 0;
92729 _ACEOF
92730 rm -f conftest.$ac_objext conftest$ac_exeext
92731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92732 (eval $ac_link) 2>conftest.er1
92733 ac_status=$?
92734 grep -v '^ *+' conftest.er1 >conftest.err
92735 rm -f conftest.er1
92736 cat conftest.err >&5
92737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92738 (exit $ac_status); } &&
92739 { ac_try='test -z "$ac_c_werror_flag"
92740 || test ! -s conftest.err'
92741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92742 (eval $ac_try) 2>&5
92743 ac_status=$?
92744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92745 (exit $ac_status); }; } &&
92746 { ac_try='test -s conftest$ac_exeext'
92747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92748 (eval $ac_try) 2>&5
92749 ac_status=$?
92750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92751 (exit $ac_status); }; }; then
92752 eval "$as_ac_var=yes"
92753 else
92754 echo "$as_me: failed program was:" >&5
92755 sed 's/^/| /' conftest.$ac_ext >&5
92757 eval "$as_ac_var=no"
92759 rm -f conftest.err conftest.$ac_objext \
92760 conftest$ac_exeext conftest.$ac_ext
92762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92764 if test `eval echo '${'$as_ac_var'}'` = yes; then
92765 cat >>confdefs.h <<_ACEOF
92766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92767 _ACEOF
92770 done
92772 else
92774 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
92775 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
92776 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
92777 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
92778 echo $ECHO_N "(cached) $ECHO_C" >&6
92779 else
92783 ac_ext=cc
92784 ac_cpp='$CXXCPP $CPPFLAGS'
92785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92789 cat >conftest.$ac_ext <<_ACEOF
92790 /* confdefs.h. */
92791 _ACEOF
92792 cat confdefs.h >>conftest.$ac_ext
92793 cat >>conftest.$ac_ext <<_ACEOF
92794 /* end confdefs.h. */
92795 #include <math.h>
92797 main ()
92799 _sincosl(0, 0, 0);
92801 return 0;
92803 _ACEOF
92804 rm -f conftest.$ac_objext
92805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92806 (eval $ac_compile) 2>conftest.er1
92807 ac_status=$?
92808 grep -v '^ *+' conftest.er1 >conftest.err
92809 rm -f conftest.er1
92810 cat conftest.err >&5
92811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92812 (exit $ac_status); } &&
92813 { ac_try='test -z "$ac_cxx_werror_flag"
92814 || test ! -s conftest.err'
92815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92816 (eval $ac_try) 2>&5
92817 ac_status=$?
92818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92819 (exit $ac_status); }; } &&
92820 { ac_try='test -s conftest.$ac_objext'
92821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92822 (eval $ac_try) 2>&5
92823 ac_status=$?
92824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92825 (exit $ac_status); }; }; then
92826 glibcxx_cv_func__sincosl_use=yes
92827 else
92828 echo "$as_me: failed program was:" >&5
92829 sed 's/^/| /' conftest.$ac_ext >&5
92831 glibcxx_cv_func__sincosl_use=no
92833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92834 ac_ext=c
92835 ac_cpp='$CPP $CPPFLAGS'
92836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92844 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
92845 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
92847 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
92849 for ac_func in _sincosl
92851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92852 echo "$as_me:$LINENO: checking for $ac_func" >&5
92853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92854 if eval "test \"\${$as_ac_var+set}\" = set"; then
92855 echo $ECHO_N "(cached) $ECHO_C" >&6
92856 else
92857 if test x$gcc_no_link = xyes; then
92858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92860 { (exit 1); exit 1; }; }
92862 cat >conftest.$ac_ext <<_ACEOF
92863 /* confdefs.h. */
92864 _ACEOF
92865 cat confdefs.h >>conftest.$ac_ext
92866 cat >>conftest.$ac_ext <<_ACEOF
92867 /* end confdefs.h. */
92868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92870 #define $ac_func innocuous_$ac_func
92872 /* System header to define __stub macros and hopefully few prototypes,
92873 which can conflict with char $ac_func (); below.
92874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92875 <limits.h> exists even on freestanding compilers. */
92877 #ifdef __STDC__
92878 # include <limits.h>
92879 #else
92880 # include <assert.h>
92881 #endif
92883 #undef $ac_func
92885 /* Override any gcc2 internal prototype to avoid an error. */
92886 #ifdef __cplusplus
92887 extern "C"
92889 #endif
92890 /* We use char because int might match the return type of a gcc2
92891 builtin and then its argument prototype would still apply. */
92892 char $ac_func ();
92893 /* The GNU C library defines this for functions which it implements
92894 to always fail with ENOSYS. Some functions are actually named
92895 something starting with __ and the normal name is an alias. */
92896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92897 choke me
92898 #else
92899 char (*f) () = $ac_func;
92900 #endif
92901 #ifdef __cplusplus
92903 #endif
92906 main ()
92908 return f != $ac_func;
92910 return 0;
92912 _ACEOF
92913 rm -f conftest.$ac_objext conftest$ac_exeext
92914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92915 (eval $ac_link) 2>conftest.er1
92916 ac_status=$?
92917 grep -v '^ *+' conftest.er1 >conftest.err
92918 rm -f conftest.er1
92919 cat conftest.err >&5
92920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92921 (exit $ac_status); } &&
92922 { ac_try='test -z "$ac_c_werror_flag"
92923 || test ! -s conftest.err'
92924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92925 (eval $ac_try) 2>&5
92926 ac_status=$?
92927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92928 (exit $ac_status); }; } &&
92929 { ac_try='test -s conftest$ac_exeext'
92930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92931 (eval $ac_try) 2>&5
92932 ac_status=$?
92933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92934 (exit $ac_status); }; }; then
92935 eval "$as_ac_var=yes"
92936 else
92937 echo "$as_me: failed program was:" >&5
92938 sed 's/^/| /' conftest.$ac_ext >&5
92940 eval "$as_ac_var=no"
92942 rm -f conftest.err conftest.$ac_objext \
92943 conftest$ac_exeext conftest.$ac_ext
92945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92947 if test `eval echo '${'$as_ac_var'}'` = yes; then
92948 cat >>confdefs.h <<_ACEOF
92949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92950 _ACEOF
92953 done
92963 echo "$as_me:$LINENO: checking for finitel declaration" >&5
92964 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
92965 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
92966 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
92967 echo $ECHO_N "(cached) $ECHO_C" >&6
92968 else
92972 ac_ext=cc
92973 ac_cpp='$CXXCPP $CPPFLAGS'
92974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92978 cat >conftest.$ac_ext <<_ACEOF
92979 /* confdefs.h. */
92980 _ACEOF
92981 cat confdefs.h >>conftest.$ac_ext
92982 cat >>conftest.$ac_ext <<_ACEOF
92983 /* end confdefs.h. */
92984 #include <math.h>
92985 #ifdef HAVE_IEEEFP_H
92986 #include <ieeefp.h>
92987 #endif
92990 main ()
92992 finitel(0);
92994 return 0;
92996 _ACEOF
92997 rm -f conftest.$ac_objext
92998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92999 (eval $ac_compile) 2>conftest.er1
93000 ac_status=$?
93001 grep -v '^ *+' conftest.er1 >conftest.err
93002 rm -f conftest.er1
93003 cat conftest.err >&5
93004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93005 (exit $ac_status); } &&
93006 { ac_try='test -z "$ac_cxx_werror_flag"
93007 || test ! -s conftest.err'
93008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93009 (eval $ac_try) 2>&5
93010 ac_status=$?
93011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93012 (exit $ac_status); }; } &&
93013 { ac_try='test -s conftest.$ac_objext'
93014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93015 (eval $ac_try) 2>&5
93016 ac_status=$?
93017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93018 (exit $ac_status); }; }; then
93019 glibcxx_cv_func_finitel_use=yes
93020 else
93021 echo "$as_me: failed program was:" >&5
93022 sed 's/^/| /' conftest.$ac_ext >&5
93024 glibcxx_cv_func_finitel_use=no
93026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93027 ac_ext=c
93028 ac_cpp='$CPP $CPPFLAGS'
93029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93037 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
93038 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
93040 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
93042 for ac_func in finitel
93044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93045 echo "$as_me:$LINENO: checking for $ac_func" >&5
93046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93047 if eval "test \"\${$as_ac_var+set}\" = set"; then
93048 echo $ECHO_N "(cached) $ECHO_C" >&6
93049 else
93050 if test x$gcc_no_link = xyes; then
93051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93053 { (exit 1); exit 1; }; }
93055 cat >conftest.$ac_ext <<_ACEOF
93056 /* confdefs.h. */
93057 _ACEOF
93058 cat confdefs.h >>conftest.$ac_ext
93059 cat >>conftest.$ac_ext <<_ACEOF
93060 /* end confdefs.h. */
93061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93063 #define $ac_func innocuous_$ac_func
93065 /* System header to define __stub macros and hopefully few prototypes,
93066 which can conflict with char $ac_func (); below.
93067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93068 <limits.h> exists even on freestanding compilers. */
93070 #ifdef __STDC__
93071 # include <limits.h>
93072 #else
93073 # include <assert.h>
93074 #endif
93076 #undef $ac_func
93078 /* Override any gcc2 internal prototype to avoid an error. */
93079 #ifdef __cplusplus
93080 extern "C"
93082 #endif
93083 /* We use char because int might match the return type of a gcc2
93084 builtin and then its argument prototype would still apply. */
93085 char $ac_func ();
93086 /* The GNU C library defines this for functions which it implements
93087 to always fail with ENOSYS. Some functions are actually named
93088 something starting with __ and the normal name is an alias. */
93089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93090 choke me
93091 #else
93092 char (*f) () = $ac_func;
93093 #endif
93094 #ifdef __cplusplus
93096 #endif
93099 main ()
93101 return f != $ac_func;
93103 return 0;
93105 _ACEOF
93106 rm -f conftest.$ac_objext conftest$ac_exeext
93107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93108 (eval $ac_link) 2>conftest.er1
93109 ac_status=$?
93110 grep -v '^ *+' conftest.er1 >conftest.err
93111 rm -f conftest.er1
93112 cat conftest.err >&5
93113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93114 (exit $ac_status); } &&
93115 { ac_try='test -z "$ac_c_werror_flag"
93116 || test ! -s conftest.err'
93117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93118 (eval $ac_try) 2>&5
93119 ac_status=$?
93120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93121 (exit $ac_status); }; } &&
93122 { ac_try='test -s conftest$ac_exeext'
93123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93124 (eval $ac_try) 2>&5
93125 ac_status=$?
93126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93127 (exit $ac_status); }; }; then
93128 eval "$as_ac_var=yes"
93129 else
93130 echo "$as_me: failed program was:" >&5
93131 sed 's/^/| /' conftest.$ac_ext >&5
93133 eval "$as_ac_var=no"
93135 rm -f conftest.err conftest.$ac_objext \
93136 conftest$ac_exeext conftest.$ac_ext
93138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93140 if test `eval echo '${'$as_ac_var'}'` = yes; then
93141 cat >>confdefs.h <<_ACEOF
93142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93143 _ACEOF
93146 done
93148 else
93150 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
93151 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
93152 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
93153 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
93154 echo $ECHO_N "(cached) $ECHO_C" >&6
93155 else
93159 ac_ext=cc
93160 ac_cpp='$CXXCPP $CPPFLAGS'
93161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93165 cat >conftest.$ac_ext <<_ACEOF
93166 /* confdefs.h. */
93167 _ACEOF
93168 cat confdefs.h >>conftest.$ac_ext
93169 cat >>conftest.$ac_ext <<_ACEOF
93170 /* end confdefs.h. */
93171 #include <math.h>
93172 #ifdef HAVE_IEEEFP_H
93173 #include <ieeefp.h>
93174 #endif
93177 main ()
93179 _finitel(0);
93181 return 0;
93183 _ACEOF
93184 rm -f conftest.$ac_objext
93185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93186 (eval $ac_compile) 2>conftest.er1
93187 ac_status=$?
93188 grep -v '^ *+' conftest.er1 >conftest.err
93189 rm -f conftest.er1
93190 cat conftest.err >&5
93191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93192 (exit $ac_status); } &&
93193 { ac_try='test -z "$ac_cxx_werror_flag"
93194 || test ! -s conftest.err'
93195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93196 (eval $ac_try) 2>&5
93197 ac_status=$?
93198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93199 (exit $ac_status); }; } &&
93200 { ac_try='test -s conftest.$ac_objext'
93201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93202 (eval $ac_try) 2>&5
93203 ac_status=$?
93204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93205 (exit $ac_status); }; }; then
93206 glibcxx_cv_func__finitel_use=yes
93207 else
93208 echo "$as_me: failed program was:" >&5
93209 sed 's/^/| /' conftest.$ac_ext >&5
93211 glibcxx_cv_func__finitel_use=no
93213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93214 ac_ext=c
93215 ac_cpp='$CPP $CPPFLAGS'
93216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93224 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
93225 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
93227 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
93229 for ac_func in _finitel
93231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93232 echo "$as_me:$LINENO: checking for $ac_func" >&5
93233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93234 if eval "test \"\${$as_ac_var+set}\" = set"; then
93235 echo $ECHO_N "(cached) $ECHO_C" >&6
93236 else
93237 if test x$gcc_no_link = xyes; then
93238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93240 { (exit 1); exit 1; }; }
93242 cat >conftest.$ac_ext <<_ACEOF
93243 /* confdefs.h. */
93244 _ACEOF
93245 cat confdefs.h >>conftest.$ac_ext
93246 cat >>conftest.$ac_ext <<_ACEOF
93247 /* end confdefs.h. */
93248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93250 #define $ac_func innocuous_$ac_func
93252 /* System header to define __stub macros and hopefully few prototypes,
93253 which can conflict with char $ac_func (); below.
93254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93255 <limits.h> exists even on freestanding compilers. */
93257 #ifdef __STDC__
93258 # include <limits.h>
93259 #else
93260 # include <assert.h>
93261 #endif
93263 #undef $ac_func
93265 /* Override any gcc2 internal prototype to avoid an error. */
93266 #ifdef __cplusplus
93267 extern "C"
93269 #endif
93270 /* We use char because int might match the return type of a gcc2
93271 builtin and then its argument prototype would still apply. */
93272 char $ac_func ();
93273 /* The GNU C library defines this for functions which it implements
93274 to always fail with ENOSYS. Some functions are actually named
93275 something starting with __ and the normal name is an alias. */
93276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93277 choke me
93278 #else
93279 char (*f) () = $ac_func;
93280 #endif
93281 #ifdef __cplusplus
93283 #endif
93286 main ()
93288 return f != $ac_func;
93290 return 0;
93292 _ACEOF
93293 rm -f conftest.$ac_objext conftest$ac_exeext
93294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93295 (eval $ac_link) 2>conftest.er1
93296 ac_status=$?
93297 grep -v '^ *+' conftest.er1 >conftest.err
93298 rm -f conftest.er1
93299 cat conftest.err >&5
93300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93301 (exit $ac_status); } &&
93302 { ac_try='test -z "$ac_c_werror_flag"
93303 || test ! -s conftest.err'
93304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93305 (eval $ac_try) 2>&5
93306 ac_status=$?
93307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93308 (exit $ac_status); }; } &&
93309 { ac_try='test -s conftest$ac_exeext'
93310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93311 (eval $ac_try) 2>&5
93312 ac_status=$?
93313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93314 (exit $ac_status); }; }; then
93315 eval "$as_ac_var=yes"
93316 else
93317 echo "$as_me: failed program was:" >&5
93318 sed 's/^/| /' conftest.$ac_ext >&5
93320 eval "$as_ac_var=no"
93322 rm -f conftest.err conftest.$ac_objext \
93323 conftest$ac_exeext conftest.$ac_ext
93325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93327 if test `eval echo '${'$as_ac_var'}'` = yes; then
93328 cat >>confdefs.h <<_ACEOF
93329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93330 _ACEOF
93333 done
93342 LIBS="$ac_save_LIBS"
93343 CXXFLAGS="$ac_save_CXXFLAGS"
93346 ac_test_CXXFLAGS="${CXXFLAGS+set}"
93347 ac_save_CXXFLAGS="$CXXFLAGS"
93348 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
93351 echo "$as_me:$LINENO: checking for strtold declaration" >&5
93352 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
93353 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
93354 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
93355 echo $ECHO_N "(cached) $ECHO_C" >&6
93356 else
93360 ac_ext=cc
93361 ac_cpp='$CXXCPP $CPPFLAGS'
93362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93366 cat >conftest.$ac_ext <<_ACEOF
93367 /* confdefs.h. */
93368 _ACEOF
93369 cat confdefs.h >>conftest.$ac_ext
93370 cat >>conftest.$ac_ext <<_ACEOF
93371 /* end confdefs.h. */
93372 #include <stdlib.h>
93374 main ()
93376 strtold(0, 0);
93378 return 0;
93380 _ACEOF
93381 rm -f conftest.$ac_objext
93382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93383 (eval $ac_compile) 2>conftest.er1
93384 ac_status=$?
93385 grep -v '^ *+' conftest.er1 >conftest.err
93386 rm -f conftest.er1
93387 cat conftest.err >&5
93388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93389 (exit $ac_status); } &&
93390 { ac_try='test -z "$ac_cxx_werror_flag"
93391 || test ! -s conftest.err'
93392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93393 (eval $ac_try) 2>&5
93394 ac_status=$?
93395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93396 (exit $ac_status); }; } &&
93397 { ac_try='test -s conftest.$ac_objext'
93398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93399 (eval $ac_try) 2>&5
93400 ac_status=$?
93401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93402 (exit $ac_status); }; }; then
93403 glibcxx_cv_func_strtold_use=yes
93404 else
93405 echo "$as_me: failed program was:" >&5
93406 sed 's/^/| /' conftest.$ac_ext >&5
93408 glibcxx_cv_func_strtold_use=no
93410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93411 ac_ext=c
93412 ac_cpp='$CPP $CPPFLAGS'
93413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93421 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
93422 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
93423 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
93425 for ac_func in strtold
93427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93428 echo "$as_me:$LINENO: checking for $ac_func" >&5
93429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93430 if eval "test \"\${$as_ac_var+set}\" = set"; then
93431 echo $ECHO_N "(cached) $ECHO_C" >&6
93432 else
93433 if test x$gcc_no_link = xyes; then
93434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93436 { (exit 1); exit 1; }; }
93438 cat >conftest.$ac_ext <<_ACEOF
93439 /* confdefs.h. */
93440 _ACEOF
93441 cat confdefs.h >>conftest.$ac_ext
93442 cat >>conftest.$ac_ext <<_ACEOF
93443 /* end confdefs.h. */
93444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93446 #define $ac_func innocuous_$ac_func
93448 /* System header to define __stub macros and hopefully few prototypes,
93449 which can conflict with char $ac_func (); below.
93450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93451 <limits.h> exists even on freestanding compilers. */
93453 #ifdef __STDC__
93454 # include <limits.h>
93455 #else
93456 # include <assert.h>
93457 #endif
93459 #undef $ac_func
93461 /* Override any gcc2 internal prototype to avoid an error. */
93462 #ifdef __cplusplus
93463 extern "C"
93465 #endif
93466 /* We use char because int might match the return type of a gcc2
93467 builtin and then its argument prototype would still apply. */
93468 char $ac_func ();
93469 /* The GNU C library defines this for functions which it implements
93470 to always fail with ENOSYS. Some functions are actually named
93471 something starting with __ and the normal name is an alias. */
93472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93473 choke me
93474 #else
93475 char (*f) () = $ac_func;
93476 #endif
93477 #ifdef __cplusplus
93479 #endif
93482 main ()
93484 return f != $ac_func;
93486 return 0;
93488 _ACEOF
93489 rm -f conftest.$ac_objext conftest$ac_exeext
93490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93491 (eval $ac_link) 2>conftest.er1
93492 ac_status=$?
93493 grep -v '^ *+' conftest.er1 >conftest.err
93494 rm -f conftest.er1
93495 cat conftest.err >&5
93496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93497 (exit $ac_status); } &&
93498 { ac_try='test -z "$ac_c_werror_flag"
93499 || test ! -s conftest.err'
93500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93501 (eval $ac_try) 2>&5
93502 ac_status=$?
93503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93504 (exit $ac_status); }; } &&
93505 { ac_try='test -s conftest$ac_exeext'
93506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93507 (eval $ac_try) 2>&5
93508 ac_status=$?
93509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93510 (exit $ac_status); }; }; then
93511 eval "$as_ac_var=yes"
93512 else
93513 echo "$as_me: failed program was:" >&5
93514 sed 's/^/| /' conftest.$ac_ext >&5
93516 eval "$as_ac_var=no"
93518 rm -f conftest.err conftest.$ac_objext \
93519 conftest$ac_exeext conftest.$ac_ext
93521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93523 if test `eval echo '${'$as_ac_var'}'` = yes; then
93524 cat >>confdefs.h <<_ACEOF
93525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93526 _ACEOF
93529 done
93537 echo "$as_me:$LINENO: checking for strtof declaration" >&5
93538 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
93539 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
93540 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
93541 echo $ECHO_N "(cached) $ECHO_C" >&6
93542 else
93546 ac_ext=cc
93547 ac_cpp='$CXXCPP $CPPFLAGS'
93548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93552 cat >conftest.$ac_ext <<_ACEOF
93553 /* confdefs.h. */
93554 _ACEOF
93555 cat confdefs.h >>conftest.$ac_ext
93556 cat >>conftest.$ac_ext <<_ACEOF
93557 /* end confdefs.h. */
93558 #include <stdlib.h>
93560 main ()
93562 strtof(0, 0);
93564 return 0;
93566 _ACEOF
93567 rm -f conftest.$ac_objext
93568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93569 (eval $ac_compile) 2>conftest.er1
93570 ac_status=$?
93571 grep -v '^ *+' conftest.er1 >conftest.err
93572 rm -f conftest.er1
93573 cat conftest.err >&5
93574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93575 (exit $ac_status); } &&
93576 { ac_try='test -z "$ac_cxx_werror_flag"
93577 || test ! -s conftest.err'
93578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93579 (eval $ac_try) 2>&5
93580 ac_status=$?
93581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93582 (exit $ac_status); }; } &&
93583 { ac_try='test -s conftest.$ac_objext'
93584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93585 (eval $ac_try) 2>&5
93586 ac_status=$?
93587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93588 (exit $ac_status); }; }; then
93589 glibcxx_cv_func_strtof_use=yes
93590 else
93591 echo "$as_me: failed program was:" >&5
93592 sed 's/^/| /' conftest.$ac_ext >&5
93594 glibcxx_cv_func_strtof_use=no
93596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93597 ac_ext=c
93598 ac_cpp='$CPP $CPPFLAGS'
93599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93607 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
93608 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
93609 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
93611 for ac_func in strtof
93613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93614 echo "$as_me:$LINENO: checking for $ac_func" >&5
93615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93616 if eval "test \"\${$as_ac_var+set}\" = set"; then
93617 echo $ECHO_N "(cached) $ECHO_C" >&6
93618 else
93619 if test x$gcc_no_link = xyes; then
93620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93622 { (exit 1); exit 1; }; }
93624 cat >conftest.$ac_ext <<_ACEOF
93625 /* confdefs.h. */
93626 _ACEOF
93627 cat confdefs.h >>conftest.$ac_ext
93628 cat >>conftest.$ac_ext <<_ACEOF
93629 /* end confdefs.h. */
93630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93632 #define $ac_func innocuous_$ac_func
93634 /* System header to define __stub macros and hopefully few prototypes,
93635 which can conflict with char $ac_func (); below.
93636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93637 <limits.h> exists even on freestanding compilers. */
93639 #ifdef __STDC__
93640 # include <limits.h>
93641 #else
93642 # include <assert.h>
93643 #endif
93645 #undef $ac_func
93647 /* Override any gcc2 internal prototype to avoid an error. */
93648 #ifdef __cplusplus
93649 extern "C"
93651 #endif
93652 /* We use char because int might match the return type of a gcc2
93653 builtin and then its argument prototype would still apply. */
93654 char $ac_func ();
93655 /* The GNU C library defines this for functions which it implements
93656 to always fail with ENOSYS. Some functions are actually named
93657 something starting with __ and the normal name is an alias. */
93658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93659 choke me
93660 #else
93661 char (*f) () = $ac_func;
93662 #endif
93663 #ifdef __cplusplus
93665 #endif
93668 main ()
93670 return f != $ac_func;
93672 return 0;
93674 _ACEOF
93675 rm -f conftest.$ac_objext conftest$ac_exeext
93676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93677 (eval $ac_link) 2>conftest.er1
93678 ac_status=$?
93679 grep -v '^ *+' conftest.er1 >conftest.err
93680 rm -f conftest.er1
93681 cat conftest.err >&5
93682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93683 (exit $ac_status); } &&
93684 { ac_try='test -z "$ac_c_werror_flag"
93685 || test ! -s conftest.err'
93686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93687 (eval $ac_try) 2>&5
93688 ac_status=$?
93689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93690 (exit $ac_status); }; } &&
93691 { ac_try='test -s conftest$ac_exeext'
93692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93693 (eval $ac_try) 2>&5
93694 ac_status=$?
93695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93696 (exit $ac_status); }; }; then
93697 eval "$as_ac_var=yes"
93698 else
93699 echo "$as_me: failed program was:" >&5
93700 sed 's/^/| /' conftest.$ac_ext >&5
93702 eval "$as_ac_var=no"
93704 rm -f conftest.err conftest.$ac_objext \
93705 conftest$ac_exeext conftest.$ac_ext
93707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93709 if test `eval echo '${'$as_ac_var'}'` = yes; then
93710 cat >>confdefs.h <<_ACEOF
93711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93712 _ACEOF
93715 done
93723 CXXFLAGS="$ac_save_CXXFLAGS"
93727 *djgpp)
93728 # GLIBCXX_CHECK_MATH_SUPPORT
93729 cat >>confdefs.h <<\_ACEOF
93730 #define HAVE_ISINF 1
93731 _ACEOF
93733 cat >>confdefs.h <<\_ACEOF
93734 #define HAVE_ISNAN 1
93735 _ACEOF
93737 cat >>confdefs.h <<\_ACEOF
93738 #define HAVE_FINITE 1
93739 _ACEOF
93741 cat >>confdefs.h <<\_ACEOF
93742 #define HAVE_SINCOS 1
93743 _ACEOF
93745 cat >>confdefs.h <<\_ACEOF
93746 #define HAVE_HYPOT 1
93747 _ACEOF
93751 *-freebsd*)
93752 SECTION_FLAGS='-ffunction-sections -fdata-sections'
93755 # If we're not using GNU ld, then there's no point in even trying these
93756 # tests. Check for that first. We should have already tested for gld
93757 # by now (in libtool), but require it now just to be safe...
93758 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
93759 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
93763 # The name set by libtool depends on the version of libtool. Shame on us
93764 # for depending on an impl detail, but c'est la vie. Older versions used
93765 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
93766 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
93767 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
93768 # set (hence we're using an older libtool), then set it.
93769 if test x${with_gnu_ld+set} != xset; then
93770 if test x${ac_cv_prog_gnu_ld+set} != xset; then
93771 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
93772 with_gnu_ld=no
93773 else
93774 with_gnu_ld=$ac_cv_prog_gnu_ld
93778 # Start by getting the version number. I think the libtool test already
93779 # does some of this, but throws away the result.
93780 glibcxx_ld_is_gold=no
93781 if test x"$with_gnu_ld" = x"yes"; then
93782 echo "$as_me:$LINENO: checking for ld version" >&5
93783 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
93785 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
93786 glibcxx_ld_is_gold=yes
93788 ldver=`$LD --version 2>/dev/null | head -1 | \
93789 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
93791 glibcxx_gnu_ld_version=`echo $ldver | \
93792 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
93793 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
93794 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
93797 # Set --gc-sections.
93798 glibcxx_have_gc_sections=no
93799 if test "$glibcxx_ld_is_gold" = "yes"; then
93800 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
93801 glibcxx_have_gc_sections=yes
93803 else
93804 glibcxx_gcsections_min_ld=21602
93805 if test x"$with_gnu_ld" = x"yes" &&
93806 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
93807 glibcxx_have_gc_sections=yes
93810 if test "$glibcxx_have_gc_sections" = "yes"; then
93811 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
93812 # NB: This flag only works reliably after 2.16.1. Configure tests
93813 # for this are difficult, so hard wire a value that should work.
93815 ac_test_CFLAGS="${CFLAGS+set}"
93816 ac_save_CFLAGS="$CFLAGS"
93817 CFLAGS='-Wl,--gc-sections'
93819 # Check for -Wl,--gc-sections
93820 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
93821 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
93822 if test x$gcc_no_link = xyes; then
93823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93825 { (exit 1); exit 1; }; }
93827 cat >conftest.$ac_ext <<_ACEOF
93828 /* confdefs.h. */
93829 _ACEOF
93830 cat confdefs.h >>conftest.$ac_ext
93831 cat >>conftest.$ac_ext <<_ACEOF
93832 /* end confdefs.h. */
93833 int one(void) { return 1; }
93834 int two(void) { return 2; }
93837 main ()
93839 two();
93841 return 0;
93843 _ACEOF
93844 rm -f conftest.$ac_objext conftest$ac_exeext
93845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93846 (eval $ac_link) 2>conftest.er1
93847 ac_status=$?
93848 grep -v '^ *+' conftest.er1 >conftest.err
93849 rm -f conftest.er1
93850 cat conftest.err >&5
93851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93852 (exit $ac_status); } &&
93853 { ac_try='test -z "$ac_c_werror_flag"
93854 || test ! -s conftest.err'
93855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93856 (eval $ac_try) 2>&5
93857 ac_status=$?
93858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93859 (exit $ac_status); }; } &&
93860 { ac_try='test -s conftest$ac_exeext'
93861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93862 (eval $ac_try) 2>&5
93863 ac_status=$?
93864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93865 (exit $ac_status); }; }; then
93866 ac_gcsections=yes
93867 else
93868 echo "$as_me: failed program was:" >&5
93869 sed 's/^/| /' conftest.$ac_ext >&5
93871 ac_gcsections=no
93873 rm -f conftest.err conftest.$ac_objext \
93874 conftest$ac_exeext conftest.$ac_ext
93875 if test "$ac_gcsections" = "yes"; then
93876 rm -f conftest.c
93877 touch conftest.c
93878 if $CC -c conftest.c; then
93879 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
93880 grep "Warning: gc-sections option ignored" > /dev/null; then
93881 ac_gcsections=no
93884 rm -f conftest.c conftest.o conftest
93886 if test "$ac_gcsections" = "yes"; then
93887 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
93889 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
93890 echo "${ECHO_T}$ac_gcsections" >&6
93892 if test "$ac_test_CFLAGS" = set; then
93893 CFLAGS="$ac_save_CFLAGS"
93894 else
93895 # this is the suspicious part
93896 CFLAGS=''
93900 # Set -z,relro.
93901 # Note this is only for shared objects.
93902 ac_ld_relro=no
93903 if test x"$with_gnu_ld" = x"yes"; then
93904 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
93905 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
93906 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
93907 if test -n "$cxx_z_relo"; then
93908 OPT_LDFLAGS="-Wl,-z,relro"
93909 ac_ld_relro=yes
93911 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
93912 echo "${ECHO_T}$ac_ld_relro" >&6
93915 # Set linker optimization flags.
93916 if test x"$with_gnu_ld" = x"yes"; then
93917 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
93923 cat >>confdefs.h <<\_ACEOF
93924 #define HAVE_SETENV 1
93925 _ACEOF
93927 cat >>confdefs.h <<\_ACEOF
93928 #define HAVE_FINITEF 1
93929 _ACEOF
93931 cat >>confdefs.h <<\_ACEOF
93932 #define HAVE_FINITE 1
93933 _ACEOF
93935 cat >>confdefs.h <<\_ACEOF
93936 #define HAVE_FREXPF 1
93937 _ACEOF
93939 cat >>confdefs.h <<\_ACEOF
93940 #define HAVE_HYPOT 1
93941 _ACEOF
93943 cat >>confdefs.h <<\_ACEOF
93944 #define HAVE_HYPOTF 1
93945 _ACEOF
93947 cat >>confdefs.h <<\_ACEOF
93948 #define HAVE_ISINF 1
93949 _ACEOF
93951 cat >>confdefs.h <<\_ACEOF
93952 #define HAVE_ISNAN 1
93953 _ACEOF
93955 cat >>confdefs.h <<\_ACEOF
93956 #define HAVE_ISNANF 1
93957 _ACEOF
93960 cat >>confdefs.h <<\_ACEOF
93961 #define HAVE_ACOSF 1
93962 _ACEOF
93964 cat >>confdefs.h <<\_ACEOF
93965 #define HAVE_ASINF 1
93966 _ACEOF
93968 cat >>confdefs.h <<\_ACEOF
93969 #define HAVE_ATAN2F 1
93970 _ACEOF
93972 cat >>confdefs.h <<\_ACEOF
93973 #define HAVE_ATANF 1
93974 _ACEOF
93976 cat >>confdefs.h <<\_ACEOF
93977 #define HAVE_CEILF 1
93978 _ACEOF
93980 cat >>confdefs.h <<\_ACEOF
93981 #define HAVE_COSF 1
93982 _ACEOF
93984 cat >>confdefs.h <<\_ACEOF
93985 #define HAVE_COSHF 1
93986 _ACEOF
93988 cat >>confdefs.h <<\_ACEOF
93989 #define HAVE_EXPF 1
93990 _ACEOF
93992 cat >>confdefs.h <<\_ACEOF
93993 #define HAVE_FABSF 1
93994 _ACEOF
93996 cat >>confdefs.h <<\_ACEOF
93997 #define HAVE_FLOORF 1
93998 _ACEOF
94000 cat >>confdefs.h <<\_ACEOF
94001 #define HAVE_FMODF 1
94002 _ACEOF
94004 cat >>confdefs.h <<\_ACEOF
94005 #define HAVE_FREXPF 1
94006 _ACEOF
94008 cat >>confdefs.h <<\_ACEOF
94009 #define HAVE_LDEXPF 1
94010 _ACEOF
94012 cat >>confdefs.h <<\_ACEOF
94013 #define HAVE_LOG10F 1
94014 _ACEOF
94016 cat >>confdefs.h <<\_ACEOF
94017 #define HAVE_LOGF 1
94018 _ACEOF
94020 cat >>confdefs.h <<\_ACEOF
94021 #define HAVE_MODFF 1
94022 _ACEOF
94024 cat >>confdefs.h <<\_ACEOF
94025 #define HAVE_POWF 1
94026 _ACEOF
94028 cat >>confdefs.h <<\_ACEOF
94029 #define HAVE_SINF 1
94030 _ACEOF
94032 cat >>confdefs.h <<\_ACEOF
94033 #define HAVE_SINHF 1
94034 _ACEOF
94036 cat >>confdefs.h <<\_ACEOF
94037 #define HAVE_SQRTF 1
94038 _ACEOF
94040 cat >>confdefs.h <<\_ACEOF
94041 #define HAVE_TANF 1
94042 _ACEOF
94044 cat >>confdefs.h <<\_ACEOF
94045 #define HAVE_TANHF 1
94046 _ACEOF
94048 if test x"long_double_math_on_this_cpu" = x"yes"; then
94049 cat >>confdefs.h <<\_ACEOF
94050 #define HAVE_FINITEL 1
94051 _ACEOF
94053 cat >>confdefs.h <<\_ACEOF
94054 #define HAVE_ISINFL 1
94055 _ACEOF
94057 cat >>confdefs.h <<\_ACEOF
94058 #define HAVE_ISNANL 1
94059 _ACEOF
94063 *-hpux*)
94064 SECTION_FLAGS='-ffunction-sections -fdata-sections'
94067 # If we're not using GNU ld, then there's no point in even trying these
94068 # tests. Check for that first. We should have already tested for gld
94069 # by now (in libtool), but require it now just to be safe...
94070 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
94071 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
94075 # The name set by libtool depends on the version of libtool. Shame on us
94076 # for depending on an impl detail, but c'est la vie. Older versions used
94077 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
94078 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
94079 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
94080 # set (hence we're using an older libtool), then set it.
94081 if test x${with_gnu_ld+set} != xset; then
94082 if test x${ac_cv_prog_gnu_ld+set} != xset; then
94083 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
94084 with_gnu_ld=no
94085 else
94086 with_gnu_ld=$ac_cv_prog_gnu_ld
94090 # Start by getting the version number. I think the libtool test already
94091 # does some of this, but throws away the result.
94092 glibcxx_ld_is_gold=no
94093 if test x"$with_gnu_ld" = x"yes"; then
94094 echo "$as_me:$LINENO: checking for ld version" >&5
94095 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
94097 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
94098 glibcxx_ld_is_gold=yes
94100 ldver=`$LD --version 2>/dev/null | head -1 | \
94101 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
94103 glibcxx_gnu_ld_version=`echo $ldver | \
94104 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
94105 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
94106 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
94109 # Set --gc-sections.
94110 glibcxx_have_gc_sections=no
94111 if test "$glibcxx_ld_is_gold" = "yes"; then
94112 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
94113 glibcxx_have_gc_sections=yes
94115 else
94116 glibcxx_gcsections_min_ld=21602
94117 if test x"$with_gnu_ld" = x"yes" &&
94118 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
94119 glibcxx_have_gc_sections=yes
94122 if test "$glibcxx_have_gc_sections" = "yes"; then
94123 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
94124 # NB: This flag only works reliably after 2.16.1. Configure tests
94125 # for this are difficult, so hard wire a value that should work.
94127 ac_test_CFLAGS="${CFLAGS+set}"
94128 ac_save_CFLAGS="$CFLAGS"
94129 CFLAGS='-Wl,--gc-sections'
94131 # Check for -Wl,--gc-sections
94132 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
94133 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
94134 if test x$gcc_no_link = xyes; then
94135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94137 { (exit 1); exit 1; }; }
94139 cat >conftest.$ac_ext <<_ACEOF
94140 /* confdefs.h. */
94141 _ACEOF
94142 cat confdefs.h >>conftest.$ac_ext
94143 cat >>conftest.$ac_ext <<_ACEOF
94144 /* end confdefs.h. */
94145 int one(void) { return 1; }
94146 int two(void) { return 2; }
94149 main ()
94151 two();
94153 return 0;
94155 _ACEOF
94156 rm -f conftest.$ac_objext conftest$ac_exeext
94157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94158 (eval $ac_link) 2>conftest.er1
94159 ac_status=$?
94160 grep -v '^ *+' conftest.er1 >conftest.err
94161 rm -f conftest.er1
94162 cat conftest.err >&5
94163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94164 (exit $ac_status); } &&
94165 { ac_try='test -z "$ac_c_werror_flag"
94166 || test ! -s conftest.err'
94167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94168 (eval $ac_try) 2>&5
94169 ac_status=$?
94170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94171 (exit $ac_status); }; } &&
94172 { ac_try='test -s conftest$ac_exeext'
94173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94174 (eval $ac_try) 2>&5
94175 ac_status=$?
94176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94177 (exit $ac_status); }; }; then
94178 ac_gcsections=yes
94179 else
94180 echo "$as_me: failed program was:" >&5
94181 sed 's/^/| /' conftest.$ac_ext >&5
94183 ac_gcsections=no
94185 rm -f conftest.err conftest.$ac_objext \
94186 conftest$ac_exeext conftest.$ac_ext
94187 if test "$ac_gcsections" = "yes"; then
94188 rm -f conftest.c
94189 touch conftest.c
94190 if $CC -c conftest.c; then
94191 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
94192 grep "Warning: gc-sections option ignored" > /dev/null; then
94193 ac_gcsections=no
94196 rm -f conftest.c conftest.o conftest
94198 if test "$ac_gcsections" = "yes"; then
94199 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
94201 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
94202 echo "${ECHO_T}$ac_gcsections" >&6
94204 if test "$ac_test_CFLAGS" = set; then
94205 CFLAGS="$ac_save_CFLAGS"
94206 else
94207 # this is the suspicious part
94208 CFLAGS=''
94212 # Set -z,relro.
94213 # Note this is only for shared objects.
94214 ac_ld_relro=no
94215 if test x"$with_gnu_ld" = x"yes"; then
94216 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
94217 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
94218 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
94219 if test -n "$cxx_z_relo"; then
94220 OPT_LDFLAGS="-Wl,-z,relro"
94221 ac_ld_relro=yes
94223 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
94224 echo "${ECHO_T}$ac_ld_relro" >&6
94227 # Set linker optimization flags.
94228 if test x"$with_gnu_ld" = x"yes"; then
94229 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
94236 # GLIBCXX_CHECK_MATH_SUPPORT
94237 cat >>confdefs.h <<\_ACEOF
94238 #define HAVE_ISNAN 1
94239 _ACEOF
94241 cat >>confdefs.h <<\_ACEOF
94242 #define HAVE_HYPOT 1
94243 _ACEOF
94245 cat >>confdefs.h <<\_ACEOF
94246 #define HAVE_ACOSF 1
94247 _ACEOF
94249 cat >>confdefs.h <<\_ACEOF
94250 #define HAVE_ASINF 1
94251 _ACEOF
94253 cat >>confdefs.h <<\_ACEOF
94254 #define HAVE_ATANF 1
94255 _ACEOF
94257 cat >>confdefs.h <<\_ACEOF
94258 #define HAVE_COSF 1
94259 _ACEOF
94261 cat >>confdefs.h <<\_ACEOF
94262 #define HAVE_COSHF 1
94263 _ACEOF
94265 cat >>confdefs.h <<\_ACEOF
94266 #define HAVE_SINF 1
94267 _ACEOF
94269 cat >>confdefs.h <<\_ACEOF
94270 #define HAVE_SINHF 1
94271 _ACEOF
94273 cat >>confdefs.h <<\_ACEOF
94274 #define HAVE_TANF 1
94275 _ACEOF
94277 cat >>confdefs.h <<\_ACEOF
94278 #define HAVE_TANHF 1
94279 _ACEOF
94281 cat >>confdefs.h <<\_ACEOF
94282 #define HAVE_EXPF 1
94283 _ACEOF
94285 cat >>confdefs.h <<\_ACEOF
94286 #define HAVE_ATAN2F 1
94287 _ACEOF
94289 cat >>confdefs.h <<\_ACEOF
94290 #define HAVE_FABSF 1
94291 _ACEOF
94293 cat >>confdefs.h <<\_ACEOF
94294 #define HAVE_FMODF 1
94295 _ACEOF
94297 cat >>confdefs.h <<\_ACEOF
94298 #define HAVE_FREXPF 1
94299 _ACEOF
94301 cat >>confdefs.h <<\_ACEOF
94302 #define HAVE_LOGF 1
94303 _ACEOF
94305 cat >>confdefs.h <<\_ACEOF
94306 #define HAVE_LOG10F 1
94307 _ACEOF
94309 cat >>confdefs.h <<\_ACEOF
94310 #define HAVE_MODF 1
94311 _ACEOF
94313 cat >>confdefs.h <<\_ACEOF
94314 #define HAVE_POWF 1
94315 _ACEOF
94317 cat >>confdefs.h <<\_ACEOF
94318 #define HAVE_SQRTF 1
94319 _ACEOF
94322 # GLIBCXX_CHECK_STDLIB_SUPPORT
94323 cat >>confdefs.h <<\_ACEOF
94324 #define HAVE_STRTOLD 1
94325 _ACEOF
94329 # Check whether --enable-tls or --disable-tls was given.
94330 if test "${enable_tls+set}" = set; then
94331 enableval="$enable_tls"
94333 case "$enableval" in
94334 yes|no) ;;
94335 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
94336 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
94337 { (exit 1); exit 1; }; } ;;
94338 esac
94340 else
94341 enable_tls=yes
94344 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
94345 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
94346 if test "${gcc_cv_have_tls+set}" = set; then
94347 echo $ECHO_N "(cached) $ECHO_C" >&6
94348 else
94350 if test "$cross_compiling" = yes; then
94351 if test x$gcc_no_link = xyes; then
94352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94354 { (exit 1); exit 1; }; }
94356 cat >conftest.$ac_ext <<_ACEOF
94357 __thread int a; int b; int main() { return a = b; }
94358 _ACEOF
94359 rm -f conftest.$ac_objext conftest$ac_exeext
94360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94361 (eval $ac_link) 2>conftest.er1
94362 ac_status=$?
94363 grep -v '^ *+' conftest.er1 >conftest.err
94364 rm -f conftest.er1
94365 cat conftest.err >&5
94366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94367 (exit $ac_status); } &&
94368 { ac_try='test -z "$ac_c_werror_flag"
94369 || test ! -s conftest.err'
94370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94371 (eval $ac_try) 2>&5
94372 ac_status=$?
94373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94374 (exit $ac_status); }; } &&
94375 { ac_try='test -s conftest$ac_exeext'
94376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94377 (eval $ac_try) 2>&5
94378 ac_status=$?
94379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94380 (exit $ac_status); }; }; then
94381 gcc_cv_have_tls=yes
94382 else
94383 echo "$as_me: failed program was:" >&5
94384 sed 's/^/| /' conftest.$ac_ext >&5
94386 gcc_cv_have_tls=no
94388 rm -f conftest.err conftest.$ac_objext \
94389 conftest$ac_exeext conftest.$ac_ext
94392 else
94393 cat >conftest.$ac_ext <<_ACEOF
94394 __thread int a; int b; int main() { return a = b; }
94395 _ACEOF
94396 rm -f conftest$ac_exeext
94397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94398 (eval $ac_link) 2>&5
94399 ac_status=$?
94400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94401 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
94402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94403 (eval $ac_try) 2>&5
94404 ac_status=$?
94405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94406 (exit $ac_status); }; }; then
94407 chktls_save_LDFLAGS="$LDFLAGS"
94408 LDFLAGS="-static $LDFLAGS"
94409 if test x$gcc_no_link = xyes; then
94410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94412 { (exit 1); exit 1; }; }
94414 cat >conftest.$ac_ext <<_ACEOF
94415 int main() { return 0; }
94416 _ACEOF
94417 rm -f conftest.$ac_objext conftest$ac_exeext
94418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94419 (eval $ac_link) 2>conftest.er1
94420 ac_status=$?
94421 grep -v '^ *+' conftest.er1 >conftest.err
94422 rm -f conftest.er1
94423 cat conftest.err >&5
94424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94425 (exit $ac_status); } &&
94426 { ac_try='test -z "$ac_c_werror_flag"
94427 || test ! -s conftest.err'
94428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94429 (eval $ac_try) 2>&5
94430 ac_status=$?
94431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94432 (exit $ac_status); }; } &&
94433 { ac_try='test -s conftest$ac_exeext'
94434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94435 (eval $ac_try) 2>&5
94436 ac_status=$?
94437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94438 (exit $ac_status); }; }; then
94439 if test "$cross_compiling" = yes; then
94440 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
94441 echo "$as_me: error: in \`$ac_pwd':" >&2;}
94442 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
94443 See \`config.log' for more details." >&5
94444 echo "$as_me: error: cannot run test program while cross compiling
94445 See \`config.log' for more details." >&2;}
94446 { (exit 1); exit 1; }; }; }
94447 else
94448 cat >conftest.$ac_ext <<_ACEOF
94449 __thread int a; int b; int main() { return a = b; }
94450 _ACEOF
94451 rm -f conftest$ac_exeext
94452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94453 (eval $ac_link) 2>&5
94454 ac_status=$?
94455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94456 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
94457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94458 (eval $ac_try) 2>&5
94459 ac_status=$?
94460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94461 (exit $ac_status); }; }; then
94462 gcc_cv_have_tls=yes
94463 else
94464 echo "$as_me: program exited with status $ac_status" >&5
94465 echo "$as_me: failed program was:" >&5
94466 sed 's/^/| /' conftest.$ac_ext >&5
94468 ( exit $ac_status )
94469 gcc_cv_have_tls=no
94471 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
94473 else
94474 echo "$as_me: failed program was:" >&5
94475 sed 's/^/| /' conftest.$ac_ext >&5
94477 gcc_cv_have_tls=yes
94479 rm -f conftest.err conftest.$ac_objext \
94480 conftest$ac_exeext conftest.$ac_ext
94481 LDFLAGS="$chktls_save_LDFLAGS"
94482 if test $gcc_cv_have_tls = yes; then
94483 chktls_save_CFLAGS="$CFLAGS"
94484 thread_CFLAGS=failed
94485 for flag in '' '-pthread' '-lpthread'; do
94486 CFLAGS="$flag $chktls_save_CFLAGS"
94487 if test x$gcc_no_link = xyes; then
94488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94490 { (exit 1); exit 1; }; }
94492 cat >conftest.$ac_ext <<_ACEOF
94493 /* confdefs.h. */
94494 _ACEOF
94495 cat confdefs.h >>conftest.$ac_ext
94496 cat >>conftest.$ac_ext <<_ACEOF
94497 /* end confdefs.h. */
94498 #include <pthread.h>
94499 void *g(void *d) { return NULL; }
94501 main ()
94503 pthread_t t; pthread_create(&t,NULL,g,NULL);
94505 return 0;
94507 _ACEOF
94508 rm -f conftest.$ac_objext conftest$ac_exeext
94509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94510 (eval $ac_link) 2>conftest.er1
94511 ac_status=$?
94512 grep -v '^ *+' conftest.er1 >conftest.err
94513 rm -f conftest.er1
94514 cat conftest.err >&5
94515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94516 (exit $ac_status); } &&
94517 { ac_try='test -z "$ac_c_werror_flag"
94518 || test ! -s conftest.err'
94519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94520 (eval $ac_try) 2>&5
94521 ac_status=$?
94522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94523 (exit $ac_status); }; } &&
94524 { ac_try='test -s conftest$ac_exeext'
94525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94526 (eval $ac_try) 2>&5
94527 ac_status=$?
94528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94529 (exit $ac_status); }; }; then
94530 thread_CFLAGS="$flag"
94531 else
94532 echo "$as_me: failed program was:" >&5
94533 sed 's/^/| /' conftest.$ac_ext >&5
94536 rm -f conftest.err conftest.$ac_objext \
94537 conftest$ac_exeext conftest.$ac_ext
94538 if test "X$thread_CFLAGS" != Xfailed; then
94539 break
94541 done
94542 CFLAGS="$chktls_save_CFLAGS"
94543 if test "X$thread_CFLAGS" != Xfailed; then
94544 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
94545 if test "$cross_compiling" = yes; then
94546 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
94547 echo "$as_me: error: in \`$ac_pwd':" >&2;}
94548 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
94549 See \`config.log' for more details." >&5
94550 echo "$as_me: error: cannot run test program while cross compiling
94551 See \`config.log' for more details." >&2;}
94552 { (exit 1); exit 1; }; }; }
94553 else
94554 cat >conftest.$ac_ext <<_ACEOF
94555 /* confdefs.h. */
94556 _ACEOF
94557 cat confdefs.h >>conftest.$ac_ext
94558 cat >>conftest.$ac_ext <<_ACEOF
94559 /* end confdefs.h. */
94560 #include <pthread.h>
94561 __thread int a;
94562 static int *a_in_other_thread;
94563 static void *
94564 thread_func (void *arg)
94566 a_in_other_thread = &a;
94567 return (void *)0;
94570 main ()
94572 pthread_t thread;
94573 void *thread_retval;
94574 int *a_in_main_thread;
94575 if (pthread_create (&thread, (pthread_attr_t *)0,
94576 thread_func, (void *)0))
94577 return 0;
94578 a_in_main_thread = &a;
94579 if (pthread_join (thread, &thread_retval))
94580 return 0;
94581 return (a_in_other_thread == a_in_main_thread);
94583 return 0;
94585 _ACEOF
94586 rm -f conftest$ac_exeext
94587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94588 (eval $ac_link) 2>&5
94589 ac_status=$?
94590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94591 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
94592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94593 (eval $ac_try) 2>&5
94594 ac_status=$?
94595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94596 (exit $ac_status); }; }; then
94597 gcc_cv_have_tls=yes
94598 else
94599 echo "$as_me: program exited with status $ac_status" >&5
94600 echo "$as_me: failed program was:" >&5
94601 sed 's/^/| /' conftest.$ac_ext >&5
94603 ( exit $ac_status )
94604 gcc_cv_have_tls=no
94606 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
94608 CFLAGS="$chktls_save_CFLAGS"
94611 else
94612 echo "$as_me: program exited with status $ac_status" >&5
94613 echo "$as_me: failed program was:" >&5
94614 sed 's/^/| /' conftest.$ac_ext >&5
94616 ( exit $ac_status )
94617 gcc_cv_have_tls=no
94619 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
94622 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
94623 echo "${ECHO_T}$gcc_cv_have_tls" >&6
94624 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
94626 cat >>confdefs.h <<\_ACEOF
94627 #define HAVE_TLS 1
94628 _ACEOF
94631 case "$target" in
94632 *-hpux10*)
94633 cat >>confdefs.h <<\_ACEOF
94634 #define HAVE_ISINF 1
94635 _ACEOF
94637 cat >>confdefs.h <<\_ACEOF
94638 #define HAVE_ISINFF 1
94639 _ACEOF
94641 cat >>confdefs.h <<\_ACEOF
94642 #define HAVE_ISNANF 1
94643 _ACEOF
94645 cat >>confdefs.h <<\_ACEOF
94646 #define HAVE_FINITE 1
94647 _ACEOF
94649 cat >>confdefs.h <<\_ACEOF
94650 #define HAVE_FINITEF 1
94651 _ACEOF
94654 esac
94656 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
94658 # All these tests are for C++; save the language and the compiler flags.
94659 # The CXXFLAGS thing is suspicious, but based on similar bits previously
94660 # found in GLIBCXX_CONFIGURE.
94663 ac_ext=cc
94664 ac_cpp='$CXXCPP $CPPFLAGS'
94665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94669 ac_test_CXXFLAGS="${CXXFLAGS+set}"
94670 ac_save_CXXFLAGS="$CXXFLAGS"
94672 # Check for maintainer-mode bits.
94673 if test x"$USE_MAINTAINER_MODE" = xno; then
94674 WERROR=''
94675 else
94676 WERROR='-Werror'
94679 # Check for -ffunction-sections -fdata-sections
94680 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
94681 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
94682 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
94683 cat >conftest.$ac_ext <<_ACEOF
94684 /* confdefs.h. */
94685 _ACEOF
94686 cat confdefs.h >>conftest.$ac_ext
94687 cat >>conftest.$ac_ext <<_ACEOF
94688 /* end confdefs.h. */
94689 int foo; void bar() { };
94691 main ()
94695 return 0;
94697 _ACEOF
94698 rm -f conftest.$ac_objext
94699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94700 (eval $ac_compile) 2>conftest.er1
94701 ac_status=$?
94702 grep -v '^ *+' conftest.er1 >conftest.err
94703 rm -f conftest.er1
94704 cat conftest.err >&5
94705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94706 (exit $ac_status); } &&
94707 { ac_try='test -z "$ac_cxx_werror_flag"
94708 || test ! -s conftest.err'
94709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94710 (eval $ac_try) 2>&5
94711 ac_status=$?
94712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94713 (exit $ac_status); }; } &&
94714 { ac_try='test -s conftest.$ac_objext'
94715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94716 (eval $ac_try) 2>&5
94717 ac_status=$?
94718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94719 (exit $ac_status); }; }; then
94720 ac_fdsections=yes
94721 else
94722 echo "$as_me: failed program was:" >&5
94723 sed 's/^/| /' conftest.$ac_ext >&5
94725 ac_fdsections=no
94727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94728 if test "$ac_test_CXXFLAGS" = set; then
94729 CXXFLAGS="$ac_save_CXXFLAGS"
94730 else
94731 # this is the suspicious part
94732 CXXFLAGS=''
94734 if test x"$ac_fdsections" = x"yes"; then
94735 SECTION_FLAGS='-ffunction-sections -fdata-sections'
94737 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
94738 echo "${ECHO_T}$ac_fdsections" >&6
94740 ac_ext=c
94741 ac_cpp='$CPP $CPPFLAGS'
94742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94750 # If we're not using GNU ld, then there's no point in even trying these
94751 # tests. Check for that first. We should have already tested for gld
94752 # by now (in libtool), but require it now just to be safe...
94753 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
94754 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
94758 # The name set by libtool depends on the version of libtool. Shame on us
94759 # for depending on an impl detail, but c'est la vie. Older versions used
94760 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
94761 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
94762 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
94763 # set (hence we're using an older libtool), then set it.
94764 if test x${with_gnu_ld+set} != xset; then
94765 if test x${ac_cv_prog_gnu_ld+set} != xset; then
94766 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
94767 with_gnu_ld=no
94768 else
94769 with_gnu_ld=$ac_cv_prog_gnu_ld
94773 # Start by getting the version number. I think the libtool test already
94774 # does some of this, but throws away the result.
94775 glibcxx_ld_is_gold=no
94776 if test x"$with_gnu_ld" = x"yes"; then
94777 echo "$as_me:$LINENO: checking for ld version" >&5
94778 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
94780 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
94781 glibcxx_ld_is_gold=yes
94783 ldver=`$LD --version 2>/dev/null | head -1 | \
94784 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
94786 glibcxx_gnu_ld_version=`echo $ldver | \
94787 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
94788 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
94789 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
94792 # Set --gc-sections.
94793 glibcxx_have_gc_sections=no
94794 if test "$glibcxx_ld_is_gold" = "yes"; then
94795 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
94796 glibcxx_have_gc_sections=yes
94798 else
94799 glibcxx_gcsections_min_ld=21602
94800 if test x"$with_gnu_ld" = x"yes" &&
94801 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
94802 glibcxx_have_gc_sections=yes
94805 if test "$glibcxx_have_gc_sections" = "yes"; then
94806 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
94807 # NB: This flag only works reliably after 2.16.1. Configure tests
94808 # for this are difficult, so hard wire a value that should work.
94810 ac_test_CFLAGS="${CFLAGS+set}"
94811 ac_save_CFLAGS="$CFLAGS"
94812 CFLAGS='-Wl,--gc-sections'
94814 # Check for -Wl,--gc-sections
94815 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
94816 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
94817 if test x$gcc_no_link = xyes; then
94818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94820 { (exit 1); exit 1; }; }
94822 cat >conftest.$ac_ext <<_ACEOF
94823 /* confdefs.h. */
94824 _ACEOF
94825 cat confdefs.h >>conftest.$ac_ext
94826 cat >>conftest.$ac_ext <<_ACEOF
94827 /* end confdefs.h. */
94828 int one(void) { return 1; }
94829 int two(void) { return 2; }
94832 main ()
94834 two();
94836 return 0;
94838 _ACEOF
94839 rm -f conftest.$ac_objext conftest$ac_exeext
94840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94841 (eval $ac_link) 2>conftest.er1
94842 ac_status=$?
94843 grep -v '^ *+' conftest.er1 >conftest.err
94844 rm -f conftest.er1
94845 cat conftest.err >&5
94846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94847 (exit $ac_status); } &&
94848 { ac_try='test -z "$ac_c_werror_flag"
94849 || test ! -s conftest.err'
94850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94851 (eval $ac_try) 2>&5
94852 ac_status=$?
94853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94854 (exit $ac_status); }; } &&
94855 { ac_try='test -s conftest$ac_exeext'
94856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94857 (eval $ac_try) 2>&5
94858 ac_status=$?
94859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94860 (exit $ac_status); }; }; then
94861 ac_gcsections=yes
94862 else
94863 echo "$as_me: failed program was:" >&5
94864 sed 's/^/| /' conftest.$ac_ext >&5
94866 ac_gcsections=no
94868 rm -f conftest.err conftest.$ac_objext \
94869 conftest$ac_exeext conftest.$ac_ext
94870 if test "$ac_gcsections" = "yes"; then
94871 rm -f conftest.c
94872 touch conftest.c
94873 if $CC -c conftest.c; then
94874 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
94875 grep "Warning: gc-sections option ignored" > /dev/null; then
94876 ac_gcsections=no
94879 rm -f conftest.c conftest.o conftest
94881 if test "$ac_gcsections" = "yes"; then
94882 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
94884 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
94885 echo "${ECHO_T}$ac_gcsections" >&6
94887 if test "$ac_test_CFLAGS" = set; then
94888 CFLAGS="$ac_save_CFLAGS"
94889 else
94890 # this is the suspicious part
94891 CFLAGS=''
94895 # Set -z,relro.
94896 # Note this is only for shared objects.
94897 ac_ld_relro=no
94898 if test x"$with_gnu_ld" = x"yes"; then
94899 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
94900 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
94901 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
94902 if test -n "$cxx_z_relo"; then
94903 OPT_LDFLAGS="-Wl,-z,relro"
94904 ac_ld_relro=yes
94906 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
94907 echo "${ECHO_T}$ac_ld_relro" >&6
94910 # Set linker optimization flags.
94911 if test x"$with_gnu_ld" = x"yes"; then
94912 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
94919 ac_test_CXXFLAGS="${CXXFLAGS+set}"
94920 ac_save_CXXFLAGS="$CXXFLAGS"
94921 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
94923 echo "$as_me:$LINENO: checking for sin in -lm" >&5
94924 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
94925 if test "${ac_cv_lib_m_sin+set}" = set; then
94926 echo $ECHO_N "(cached) $ECHO_C" >&6
94927 else
94928 ac_check_lib_save_LIBS=$LIBS
94929 LIBS="-lm $LIBS"
94930 if test x$gcc_no_link = xyes; then
94931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94933 { (exit 1); exit 1; }; }
94935 cat >conftest.$ac_ext <<_ACEOF
94936 /* confdefs.h. */
94937 _ACEOF
94938 cat confdefs.h >>conftest.$ac_ext
94939 cat >>conftest.$ac_ext <<_ACEOF
94940 /* end confdefs.h. */
94942 /* Override any gcc2 internal prototype to avoid an error. */
94943 #ifdef __cplusplus
94944 extern "C"
94945 #endif
94946 /* We use char because int might match the return type of a gcc2
94947 builtin and then its argument prototype would still apply. */
94948 char sin ();
94950 main ()
94952 sin ();
94954 return 0;
94956 _ACEOF
94957 rm -f conftest.$ac_objext conftest$ac_exeext
94958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94959 (eval $ac_link) 2>conftest.er1
94960 ac_status=$?
94961 grep -v '^ *+' conftest.er1 >conftest.err
94962 rm -f conftest.er1
94963 cat conftest.err >&5
94964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94965 (exit $ac_status); } &&
94966 { ac_try='test -z "$ac_c_werror_flag"
94967 || test ! -s conftest.err'
94968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94969 (eval $ac_try) 2>&5
94970 ac_status=$?
94971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94972 (exit $ac_status); }; } &&
94973 { ac_try='test -s conftest$ac_exeext'
94974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94975 (eval $ac_try) 2>&5
94976 ac_status=$?
94977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94978 (exit $ac_status); }; }; then
94979 ac_cv_lib_m_sin=yes
94980 else
94981 echo "$as_me: failed program was:" >&5
94982 sed 's/^/| /' conftest.$ac_ext >&5
94984 ac_cv_lib_m_sin=no
94986 rm -f conftest.err conftest.$ac_objext \
94987 conftest$ac_exeext conftest.$ac_ext
94988 LIBS=$ac_check_lib_save_LIBS
94990 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
94991 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
94992 if test $ac_cv_lib_m_sin = yes; then
94993 libm="-lm"
94996 ac_save_LIBS="$LIBS"
94997 LIBS="$LIBS $libm"
95001 echo "$as_me:$LINENO: checking for isinf declaration" >&5
95002 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
95003 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
95004 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
95005 echo $ECHO_N "(cached) $ECHO_C" >&6
95006 else
95010 ac_ext=cc
95011 ac_cpp='$CXXCPP $CPPFLAGS'
95012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95016 cat >conftest.$ac_ext <<_ACEOF
95017 /* confdefs.h. */
95018 _ACEOF
95019 cat confdefs.h >>conftest.$ac_ext
95020 cat >>conftest.$ac_ext <<_ACEOF
95021 /* end confdefs.h. */
95022 #include <math.h>
95023 #ifdef HAVE_IEEEFP_H
95024 #include <ieeefp.h>
95025 #endif
95028 main ()
95030 isinf(0);
95032 return 0;
95034 _ACEOF
95035 rm -f conftest.$ac_objext
95036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95037 (eval $ac_compile) 2>conftest.er1
95038 ac_status=$?
95039 grep -v '^ *+' conftest.er1 >conftest.err
95040 rm -f conftest.er1
95041 cat conftest.err >&5
95042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95043 (exit $ac_status); } &&
95044 { ac_try='test -z "$ac_cxx_werror_flag"
95045 || test ! -s conftest.err'
95046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95047 (eval $ac_try) 2>&5
95048 ac_status=$?
95049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95050 (exit $ac_status); }; } &&
95051 { ac_try='test -s conftest.$ac_objext'
95052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95053 (eval $ac_try) 2>&5
95054 ac_status=$?
95055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95056 (exit $ac_status); }; }; then
95057 glibcxx_cv_func_isinf_use=yes
95058 else
95059 echo "$as_me: failed program was:" >&5
95060 sed 's/^/| /' conftest.$ac_ext >&5
95062 glibcxx_cv_func_isinf_use=no
95064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95065 ac_ext=c
95066 ac_cpp='$CPP $CPPFLAGS'
95067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95075 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
95076 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
95078 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
95080 for ac_func in isinf
95082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95083 echo "$as_me:$LINENO: checking for $ac_func" >&5
95084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95085 if eval "test \"\${$as_ac_var+set}\" = set"; then
95086 echo $ECHO_N "(cached) $ECHO_C" >&6
95087 else
95088 if test x$gcc_no_link = xyes; then
95089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95091 { (exit 1); exit 1; }; }
95093 cat >conftest.$ac_ext <<_ACEOF
95094 /* confdefs.h. */
95095 _ACEOF
95096 cat confdefs.h >>conftest.$ac_ext
95097 cat >>conftest.$ac_ext <<_ACEOF
95098 /* end confdefs.h. */
95099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95101 #define $ac_func innocuous_$ac_func
95103 /* System header to define __stub macros and hopefully few prototypes,
95104 which can conflict with char $ac_func (); below.
95105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95106 <limits.h> exists even on freestanding compilers. */
95108 #ifdef __STDC__
95109 # include <limits.h>
95110 #else
95111 # include <assert.h>
95112 #endif
95114 #undef $ac_func
95116 /* Override any gcc2 internal prototype to avoid an error. */
95117 #ifdef __cplusplus
95118 extern "C"
95120 #endif
95121 /* We use char because int might match the return type of a gcc2
95122 builtin and then its argument prototype would still apply. */
95123 char $ac_func ();
95124 /* The GNU C library defines this for functions which it implements
95125 to always fail with ENOSYS. Some functions are actually named
95126 something starting with __ and the normal name is an alias. */
95127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95128 choke me
95129 #else
95130 char (*f) () = $ac_func;
95131 #endif
95132 #ifdef __cplusplus
95134 #endif
95137 main ()
95139 return f != $ac_func;
95141 return 0;
95143 _ACEOF
95144 rm -f conftest.$ac_objext conftest$ac_exeext
95145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95146 (eval $ac_link) 2>conftest.er1
95147 ac_status=$?
95148 grep -v '^ *+' conftest.er1 >conftest.err
95149 rm -f conftest.er1
95150 cat conftest.err >&5
95151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95152 (exit $ac_status); } &&
95153 { ac_try='test -z "$ac_c_werror_flag"
95154 || test ! -s conftest.err'
95155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95156 (eval $ac_try) 2>&5
95157 ac_status=$?
95158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95159 (exit $ac_status); }; } &&
95160 { ac_try='test -s conftest$ac_exeext'
95161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95162 (eval $ac_try) 2>&5
95163 ac_status=$?
95164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95165 (exit $ac_status); }; }; then
95166 eval "$as_ac_var=yes"
95167 else
95168 echo "$as_me: failed program was:" >&5
95169 sed 's/^/| /' conftest.$ac_ext >&5
95171 eval "$as_ac_var=no"
95173 rm -f conftest.err conftest.$ac_objext \
95174 conftest$ac_exeext conftest.$ac_ext
95176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95178 if test `eval echo '${'$as_ac_var'}'` = yes; then
95179 cat >>confdefs.h <<_ACEOF
95180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95181 _ACEOF
95184 done
95186 else
95188 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
95189 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
95190 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
95191 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
95192 echo $ECHO_N "(cached) $ECHO_C" >&6
95193 else
95197 ac_ext=cc
95198 ac_cpp='$CXXCPP $CPPFLAGS'
95199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95203 cat >conftest.$ac_ext <<_ACEOF
95204 /* confdefs.h. */
95205 _ACEOF
95206 cat confdefs.h >>conftest.$ac_ext
95207 cat >>conftest.$ac_ext <<_ACEOF
95208 /* end confdefs.h. */
95209 #include <math.h>
95210 #ifdef HAVE_IEEEFP_H
95211 #include <ieeefp.h>
95212 #endif
95215 main ()
95217 _isinf(0);
95219 return 0;
95221 _ACEOF
95222 rm -f conftest.$ac_objext
95223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95224 (eval $ac_compile) 2>conftest.er1
95225 ac_status=$?
95226 grep -v '^ *+' conftest.er1 >conftest.err
95227 rm -f conftest.er1
95228 cat conftest.err >&5
95229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95230 (exit $ac_status); } &&
95231 { ac_try='test -z "$ac_cxx_werror_flag"
95232 || test ! -s conftest.err'
95233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95234 (eval $ac_try) 2>&5
95235 ac_status=$?
95236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95237 (exit $ac_status); }; } &&
95238 { ac_try='test -s conftest.$ac_objext'
95239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95240 (eval $ac_try) 2>&5
95241 ac_status=$?
95242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95243 (exit $ac_status); }; }; then
95244 glibcxx_cv_func__isinf_use=yes
95245 else
95246 echo "$as_me: failed program was:" >&5
95247 sed 's/^/| /' conftest.$ac_ext >&5
95249 glibcxx_cv_func__isinf_use=no
95251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95252 ac_ext=c
95253 ac_cpp='$CPP $CPPFLAGS'
95254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95262 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
95263 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
95265 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
95267 for ac_func in _isinf
95269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95270 echo "$as_me:$LINENO: checking for $ac_func" >&5
95271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95272 if eval "test \"\${$as_ac_var+set}\" = set"; then
95273 echo $ECHO_N "(cached) $ECHO_C" >&6
95274 else
95275 if test x$gcc_no_link = xyes; then
95276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95278 { (exit 1); exit 1; }; }
95280 cat >conftest.$ac_ext <<_ACEOF
95281 /* confdefs.h. */
95282 _ACEOF
95283 cat confdefs.h >>conftest.$ac_ext
95284 cat >>conftest.$ac_ext <<_ACEOF
95285 /* end confdefs.h. */
95286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95288 #define $ac_func innocuous_$ac_func
95290 /* System header to define __stub macros and hopefully few prototypes,
95291 which can conflict with char $ac_func (); below.
95292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95293 <limits.h> exists even on freestanding compilers. */
95295 #ifdef __STDC__
95296 # include <limits.h>
95297 #else
95298 # include <assert.h>
95299 #endif
95301 #undef $ac_func
95303 /* Override any gcc2 internal prototype to avoid an error. */
95304 #ifdef __cplusplus
95305 extern "C"
95307 #endif
95308 /* We use char because int might match the return type of a gcc2
95309 builtin and then its argument prototype would still apply. */
95310 char $ac_func ();
95311 /* The GNU C library defines this for functions which it implements
95312 to always fail with ENOSYS. Some functions are actually named
95313 something starting with __ and the normal name is an alias. */
95314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95315 choke me
95316 #else
95317 char (*f) () = $ac_func;
95318 #endif
95319 #ifdef __cplusplus
95321 #endif
95324 main ()
95326 return f != $ac_func;
95328 return 0;
95330 _ACEOF
95331 rm -f conftest.$ac_objext conftest$ac_exeext
95332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95333 (eval $ac_link) 2>conftest.er1
95334 ac_status=$?
95335 grep -v '^ *+' conftest.er1 >conftest.err
95336 rm -f conftest.er1
95337 cat conftest.err >&5
95338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95339 (exit $ac_status); } &&
95340 { ac_try='test -z "$ac_c_werror_flag"
95341 || test ! -s conftest.err'
95342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95343 (eval $ac_try) 2>&5
95344 ac_status=$?
95345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95346 (exit $ac_status); }; } &&
95347 { ac_try='test -s conftest$ac_exeext'
95348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95349 (eval $ac_try) 2>&5
95350 ac_status=$?
95351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95352 (exit $ac_status); }; }; then
95353 eval "$as_ac_var=yes"
95354 else
95355 echo "$as_me: failed program was:" >&5
95356 sed 's/^/| /' conftest.$ac_ext >&5
95358 eval "$as_ac_var=no"
95360 rm -f conftest.err conftest.$ac_objext \
95361 conftest$ac_exeext conftest.$ac_ext
95363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95365 if test `eval echo '${'$as_ac_var'}'` = yes; then
95366 cat >>confdefs.h <<_ACEOF
95367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95368 _ACEOF
95371 done
95381 echo "$as_me:$LINENO: checking for isnan declaration" >&5
95382 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
95383 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
95384 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
95385 echo $ECHO_N "(cached) $ECHO_C" >&6
95386 else
95390 ac_ext=cc
95391 ac_cpp='$CXXCPP $CPPFLAGS'
95392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95396 cat >conftest.$ac_ext <<_ACEOF
95397 /* confdefs.h. */
95398 _ACEOF
95399 cat confdefs.h >>conftest.$ac_ext
95400 cat >>conftest.$ac_ext <<_ACEOF
95401 /* end confdefs.h. */
95402 #include <math.h>
95403 #ifdef HAVE_IEEEFP_H
95404 #include <ieeefp.h>
95405 #endif
95408 main ()
95410 isnan(0);
95412 return 0;
95414 _ACEOF
95415 rm -f conftest.$ac_objext
95416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95417 (eval $ac_compile) 2>conftest.er1
95418 ac_status=$?
95419 grep -v '^ *+' conftest.er1 >conftest.err
95420 rm -f conftest.er1
95421 cat conftest.err >&5
95422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95423 (exit $ac_status); } &&
95424 { ac_try='test -z "$ac_cxx_werror_flag"
95425 || test ! -s conftest.err'
95426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95427 (eval $ac_try) 2>&5
95428 ac_status=$?
95429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95430 (exit $ac_status); }; } &&
95431 { ac_try='test -s conftest.$ac_objext'
95432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95433 (eval $ac_try) 2>&5
95434 ac_status=$?
95435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95436 (exit $ac_status); }; }; then
95437 glibcxx_cv_func_isnan_use=yes
95438 else
95439 echo "$as_me: failed program was:" >&5
95440 sed 's/^/| /' conftest.$ac_ext >&5
95442 glibcxx_cv_func_isnan_use=no
95444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95445 ac_ext=c
95446 ac_cpp='$CPP $CPPFLAGS'
95447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95455 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
95456 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
95458 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
95460 for ac_func in isnan
95462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95463 echo "$as_me:$LINENO: checking for $ac_func" >&5
95464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95465 if eval "test \"\${$as_ac_var+set}\" = set"; then
95466 echo $ECHO_N "(cached) $ECHO_C" >&6
95467 else
95468 if test x$gcc_no_link = xyes; then
95469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95471 { (exit 1); exit 1; }; }
95473 cat >conftest.$ac_ext <<_ACEOF
95474 /* confdefs.h. */
95475 _ACEOF
95476 cat confdefs.h >>conftest.$ac_ext
95477 cat >>conftest.$ac_ext <<_ACEOF
95478 /* end confdefs.h. */
95479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95481 #define $ac_func innocuous_$ac_func
95483 /* System header to define __stub macros and hopefully few prototypes,
95484 which can conflict with char $ac_func (); below.
95485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95486 <limits.h> exists even on freestanding compilers. */
95488 #ifdef __STDC__
95489 # include <limits.h>
95490 #else
95491 # include <assert.h>
95492 #endif
95494 #undef $ac_func
95496 /* Override any gcc2 internal prototype to avoid an error. */
95497 #ifdef __cplusplus
95498 extern "C"
95500 #endif
95501 /* We use char because int might match the return type of a gcc2
95502 builtin and then its argument prototype would still apply. */
95503 char $ac_func ();
95504 /* The GNU C library defines this for functions which it implements
95505 to always fail with ENOSYS. Some functions are actually named
95506 something starting with __ and the normal name is an alias. */
95507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95508 choke me
95509 #else
95510 char (*f) () = $ac_func;
95511 #endif
95512 #ifdef __cplusplus
95514 #endif
95517 main ()
95519 return f != $ac_func;
95521 return 0;
95523 _ACEOF
95524 rm -f conftest.$ac_objext conftest$ac_exeext
95525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95526 (eval $ac_link) 2>conftest.er1
95527 ac_status=$?
95528 grep -v '^ *+' conftest.er1 >conftest.err
95529 rm -f conftest.er1
95530 cat conftest.err >&5
95531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95532 (exit $ac_status); } &&
95533 { ac_try='test -z "$ac_c_werror_flag"
95534 || test ! -s conftest.err'
95535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95536 (eval $ac_try) 2>&5
95537 ac_status=$?
95538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95539 (exit $ac_status); }; } &&
95540 { ac_try='test -s conftest$ac_exeext'
95541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95542 (eval $ac_try) 2>&5
95543 ac_status=$?
95544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95545 (exit $ac_status); }; }; then
95546 eval "$as_ac_var=yes"
95547 else
95548 echo "$as_me: failed program was:" >&5
95549 sed 's/^/| /' conftest.$ac_ext >&5
95551 eval "$as_ac_var=no"
95553 rm -f conftest.err conftest.$ac_objext \
95554 conftest$ac_exeext conftest.$ac_ext
95556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95558 if test `eval echo '${'$as_ac_var'}'` = yes; then
95559 cat >>confdefs.h <<_ACEOF
95560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95561 _ACEOF
95564 done
95566 else
95568 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
95569 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
95570 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
95571 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
95572 echo $ECHO_N "(cached) $ECHO_C" >&6
95573 else
95577 ac_ext=cc
95578 ac_cpp='$CXXCPP $CPPFLAGS'
95579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95583 cat >conftest.$ac_ext <<_ACEOF
95584 /* confdefs.h. */
95585 _ACEOF
95586 cat confdefs.h >>conftest.$ac_ext
95587 cat >>conftest.$ac_ext <<_ACEOF
95588 /* end confdefs.h. */
95589 #include <math.h>
95590 #ifdef HAVE_IEEEFP_H
95591 #include <ieeefp.h>
95592 #endif
95595 main ()
95597 _isnan(0);
95599 return 0;
95601 _ACEOF
95602 rm -f conftest.$ac_objext
95603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95604 (eval $ac_compile) 2>conftest.er1
95605 ac_status=$?
95606 grep -v '^ *+' conftest.er1 >conftest.err
95607 rm -f conftest.er1
95608 cat conftest.err >&5
95609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95610 (exit $ac_status); } &&
95611 { ac_try='test -z "$ac_cxx_werror_flag"
95612 || test ! -s conftest.err'
95613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95614 (eval $ac_try) 2>&5
95615 ac_status=$?
95616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95617 (exit $ac_status); }; } &&
95618 { ac_try='test -s conftest.$ac_objext'
95619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95620 (eval $ac_try) 2>&5
95621 ac_status=$?
95622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95623 (exit $ac_status); }; }; then
95624 glibcxx_cv_func__isnan_use=yes
95625 else
95626 echo "$as_me: failed program was:" >&5
95627 sed 's/^/| /' conftest.$ac_ext >&5
95629 glibcxx_cv_func__isnan_use=no
95631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95632 ac_ext=c
95633 ac_cpp='$CPP $CPPFLAGS'
95634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95642 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
95643 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
95645 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
95647 for ac_func in _isnan
95649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95650 echo "$as_me:$LINENO: checking for $ac_func" >&5
95651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95652 if eval "test \"\${$as_ac_var+set}\" = set"; then
95653 echo $ECHO_N "(cached) $ECHO_C" >&6
95654 else
95655 if test x$gcc_no_link = xyes; then
95656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95658 { (exit 1); exit 1; }; }
95660 cat >conftest.$ac_ext <<_ACEOF
95661 /* confdefs.h. */
95662 _ACEOF
95663 cat confdefs.h >>conftest.$ac_ext
95664 cat >>conftest.$ac_ext <<_ACEOF
95665 /* end confdefs.h. */
95666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95668 #define $ac_func innocuous_$ac_func
95670 /* System header to define __stub macros and hopefully few prototypes,
95671 which can conflict with char $ac_func (); below.
95672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95673 <limits.h> exists even on freestanding compilers. */
95675 #ifdef __STDC__
95676 # include <limits.h>
95677 #else
95678 # include <assert.h>
95679 #endif
95681 #undef $ac_func
95683 /* Override any gcc2 internal prototype to avoid an error. */
95684 #ifdef __cplusplus
95685 extern "C"
95687 #endif
95688 /* We use char because int might match the return type of a gcc2
95689 builtin and then its argument prototype would still apply. */
95690 char $ac_func ();
95691 /* The GNU C library defines this for functions which it implements
95692 to always fail with ENOSYS. Some functions are actually named
95693 something starting with __ and the normal name is an alias. */
95694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95695 choke me
95696 #else
95697 char (*f) () = $ac_func;
95698 #endif
95699 #ifdef __cplusplus
95701 #endif
95704 main ()
95706 return f != $ac_func;
95708 return 0;
95710 _ACEOF
95711 rm -f conftest.$ac_objext conftest$ac_exeext
95712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95713 (eval $ac_link) 2>conftest.er1
95714 ac_status=$?
95715 grep -v '^ *+' conftest.er1 >conftest.err
95716 rm -f conftest.er1
95717 cat conftest.err >&5
95718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95719 (exit $ac_status); } &&
95720 { ac_try='test -z "$ac_c_werror_flag"
95721 || test ! -s conftest.err'
95722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95723 (eval $ac_try) 2>&5
95724 ac_status=$?
95725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95726 (exit $ac_status); }; } &&
95727 { ac_try='test -s conftest$ac_exeext'
95728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95729 (eval $ac_try) 2>&5
95730 ac_status=$?
95731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95732 (exit $ac_status); }; }; then
95733 eval "$as_ac_var=yes"
95734 else
95735 echo "$as_me: failed program was:" >&5
95736 sed 's/^/| /' conftest.$ac_ext >&5
95738 eval "$as_ac_var=no"
95740 rm -f conftest.err conftest.$ac_objext \
95741 conftest$ac_exeext conftest.$ac_ext
95743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95745 if test `eval echo '${'$as_ac_var'}'` = yes; then
95746 cat >>confdefs.h <<_ACEOF
95747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95748 _ACEOF
95751 done
95761 echo "$as_me:$LINENO: checking for finite declaration" >&5
95762 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
95763 if test x${glibcxx_cv_func_finite_use+set} != xset; then
95764 if test "${glibcxx_cv_func_finite_use+set}" = set; then
95765 echo $ECHO_N "(cached) $ECHO_C" >&6
95766 else
95770 ac_ext=cc
95771 ac_cpp='$CXXCPP $CPPFLAGS'
95772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95776 cat >conftest.$ac_ext <<_ACEOF
95777 /* confdefs.h. */
95778 _ACEOF
95779 cat confdefs.h >>conftest.$ac_ext
95780 cat >>conftest.$ac_ext <<_ACEOF
95781 /* end confdefs.h. */
95782 #include <math.h>
95783 #ifdef HAVE_IEEEFP_H
95784 #include <ieeefp.h>
95785 #endif
95788 main ()
95790 finite(0);
95792 return 0;
95794 _ACEOF
95795 rm -f conftest.$ac_objext
95796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95797 (eval $ac_compile) 2>conftest.er1
95798 ac_status=$?
95799 grep -v '^ *+' conftest.er1 >conftest.err
95800 rm -f conftest.er1
95801 cat conftest.err >&5
95802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95803 (exit $ac_status); } &&
95804 { ac_try='test -z "$ac_cxx_werror_flag"
95805 || test ! -s conftest.err'
95806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95807 (eval $ac_try) 2>&5
95808 ac_status=$?
95809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95810 (exit $ac_status); }; } &&
95811 { ac_try='test -s conftest.$ac_objext'
95812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95813 (eval $ac_try) 2>&5
95814 ac_status=$?
95815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95816 (exit $ac_status); }; }; then
95817 glibcxx_cv_func_finite_use=yes
95818 else
95819 echo "$as_me: failed program was:" >&5
95820 sed 's/^/| /' conftest.$ac_ext >&5
95822 glibcxx_cv_func_finite_use=no
95824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95825 ac_ext=c
95826 ac_cpp='$CPP $CPPFLAGS'
95827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95835 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
95836 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
95838 if test x$glibcxx_cv_func_finite_use = x"yes"; then
95840 for ac_func in finite
95842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95843 echo "$as_me:$LINENO: checking for $ac_func" >&5
95844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95845 if eval "test \"\${$as_ac_var+set}\" = set"; then
95846 echo $ECHO_N "(cached) $ECHO_C" >&6
95847 else
95848 if test x$gcc_no_link = xyes; then
95849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95851 { (exit 1); exit 1; }; }
95853 cat >conftest.$ac_ext <<_ACEOF
95854 /* confdefs.h. */
95855 _ACEOF
95856 cat confdefs.h >>conftest.$ac_ext
95857 cat >>conftest.$ac_ext <<_ACEOF
95858 /* end confdefs.h. */
95859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95861 #define $ac_func innocuous_$ac_func
95863 /* System header to define __stub macros and hopefully few prototypes,
95864 which can conflict with char $ac_func (); below.
95865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95866 <limits.h> exists even on freestanding compilers. */
95868 #ifdef __STDC__
95869 # include <limits.h>
95870 #else
95871 # include <assert.h>
95872 #endif
95874 #undef $ac_func
95876 /* Override any gcc2 internal prototype to avoid an error. */
95877 #ifdef __cplusplus
95878 extern "C"
95880 #endif
95881 /* We use char because int might match the return type of a gcc2
95882 builtin and then its argument prototype would still apply. */
95883 char $ac_func ();
95884 /* The GNU C library defines this for functions which it implements
95885 to always fail with ENOSYS. Some functions are actually named
95886 something starting with __ and the normal name is an alias. */
95887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95888 choke me
95889 #else
95890 char (*f) () = $ac_func;
95891 #endif
95892 #ifdef __cplusplus
95894 #endif
95897 main ()
95899 return f != $ac_func;
95901 return 0;
95903 _ACEOF
95904 rm -f conftest.$ac_objext conftest$ac_exeext
95905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95906 (eval $ac_link) 2>conftest.er1
95907 ac_status=$?
95908 grep -v '^ *+' conftest.er1 >conftest.err
95909 rm -f conftest.er1
95910 cat conftest.err >&5
95911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95912 (exit $ac_status); } &&
95913 { ac_try='test -z "$ac_c_werror_flag"
95914 || test ! -s conftest.err'
95915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95916 (eval $ac_try) 2>&5
95917 ac_status=$?
95918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95919 (exit $ac_status); }; } &&
95920 { ac_try='test -s conftest$ac_exeext'
95921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95922 (eval $ac_try) 2>&5
95923 ac_status=$?
95924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95925 (exit $ac_status); }; }; then
95926 eval "$as_ac_var=yes"
95927 else
95928 echo "$as_me: failed program was:" >&5
95929 sed 's/^/| /' conftest.$ac_ext >&5
95931 eval "$as_ac_var=no"
95933 rm -f conftest.err conftest.$ac_objext \
95934 conftest$ac_exeext conftest.$ac_ext
95936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95938 if test `eval echo '${'$as_ac_var'}'` = yes; then
95939 cat >>confdefs.h <<_ACEOF
95940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95941 _ACEOF
95944 done
95946 else
95948 echo "$as_me:$LINENO: checking for _finite declaration" >&5
95949 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
95950 if test x${glibcxx_cv_func__finite_use+set} != xset; then
95951 if test "${glibcxx_cv_func__finite_use+set}" = set; then
95952 echo $ECHO_N "(cached) $ECHO_C" >&6
95953 else
95957 ac_ext=cc
95958 ac_cpp='$CXXCPP $CPPFLAGS'
95959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95963 cat >conftest.$ac_ext <<_ACEOF
95964 /* confdefs.h. */
95965 _ACEOF
95966 cat confdefs.h >>conftest.$ac_ext
95967 cat >>conftest.$ac_ext <<_ACEOF
95968 /* end confdefs.h. */
95969 #include <math.h>
95970 #ifdef HAVE_IEEEFP_H
95971 #include <ieeefp.h>
95972 #endif
95975 main ()
95977 _finite(0);
95979 return 0;
95981 _ACEOF
95982 rm -f conftest.$ac_objext
95983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95984 (eval $ac_compile) 2>conftest.er1
95985 ac_status=$?
95986 grep -v '^ *+' conftest.er1 >conftest.err
95987 rm -f conftest.er1
95988 cat conftest.err >&5
95989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95990 (exit $ac_status); } &&
95991 { ac_try='test -z "$ac_cxx_werror_flag"
95992 || test ! -s conftest.err'
95993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95994 (eval $ac_try) 2>&5
95995 ac_status=$?
95996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95997 (exit $ac_status); }; } &&
95998 { ac_try='test -s conftest.$ac_objext'
95999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96000 (eval $ac_try) 2>&5
96001 ac_status=$?
96002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96003 (exit $ac_status); }; }; then
96004 glibcxx_cv_func__finite_use=yes
96005 else
96006 echo "$as_me: failed program was:" >&5
96007 sed 's/^/| /' conftest.$ac_ext >&5
96009 glibcxx_cv_func__finite_use=no
96011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96012 ac_ext=c
96013 ac_cpp='$CPP $CPPFLAGS'
96014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96022 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
96023 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
96025 if test x$glibcxx_cv_func__finite_use = x"yes"; then
96027 for ac_func in _finite
96029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96030 echo "$as_me:$LINENO: checking for $ac_func" >&5
96031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96032 if eval "test \"\${$as_ac_var+set}\" = set"; then
96033 echo $ECHO_N "(cached) $ECHO_C" >&6
96034 else
96035 if test x$gcc_no_link = xyes; then
96036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96038 { (exit 1); exit 1; }; }
96040 cat >conftest.$ac_ext <<_ACEOF
96041 /* confdefs.h. */
96042 _ACEOF
96043 cat confdefs.h >>conftest.$ac_ext
96044 cat >>conftest.$ac_ext <<_ACEOF
96045 /* end confdefs.h. */
96046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96048 #define $ac_func innocuous_$ac_func
96050 /* System header to define __stub macros and hopefully few prototypes,
96051 which can conflict with char $ac_func (); below.
96052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96053 <limits.h> exists even on freestanding compilers. */
96055 #ifdef __STDC__
96056 # include <limits.h>
96057 #else
96058 # include <assert.h>
96059 #endif
96061 #undef $ac_func
96063 /* Override any gcc2 internal prototype to avoid an error. */
96064 #ifdef __cplusplus
96065 extern "C"
96067 #endif
96068 /* We use char because int might match the return type of a gcc2
96069 builtin and then its argument prototype would still apply. */
96070 char $ac_func ();
96071 /* The GNU C library defines this for functions which it implements
96072 to always fail with ENOSYS. Some functions are actually named
96073 something starting with __ and the normal name is an alias. */
96074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96075 choke me
96076 #else
96077 char (*f) () = $ac_func;
96078 #endif
96079 #ifdef __cplusplus
96081 #endif
96084 main ()
96086 return f != $ac_func;
96088 return 0;
96090 _ACEOF
96091 rm -f conftest.$ac_objext conftest$ac_exeext
96092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96093 (eval $ac_link) 2>conftest.er1
96094 ac_status=$?
96095 grep -v '^ *+' conftest.er1 >conftest.err
96096 rm -f conftest.er1
96097 cat conftest.err >&5
96098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96099 (exit $ac_status); } &&
96100 { ac_try='test -z "$ac_c_werror_flag"
96101 || test ! -s conftest.err'
96102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96103 (eval $ac_try) 2>&5
96104 ac_status=$?
96105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96106 (exit $ac_status); }; } &&
96107 { ac_try='test -s conftest$ac_exeext'
96108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96109 (eval $ac_try) 2>&5
96110 ac_status=$?
96111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96112 (exit $ac_status); }; }; then
96113 eval "$as_ac_var=yes"
96114 else
96115 echo "$as_me: failed program was:" >&5
96116 sed 's/^/| /' conftest.$ac_ext >&5
96118 eval "$as_ac_var=no"
96120 rm -f conftest.err conftest.$ac_objext \
96121 conftest$ac_exeext conftest.$ac_ext
96123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96125 if test `eval echo '${'$as_ac_var'}'` = yes; then
96126 cat >>confdefs.h <<_ACEOF
96127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96128 _ACEOF
96131 done
96141 echo "$as_me:$LINENO: checking for sincos declaration" >&5
96142 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
96143 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
96144 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
96145 echo $ECHO_N "(cached) $ECHO_C" >&6
96146 else
96150 ac_ext=cc
96151 ac_cpp='$CXXCPP $CPPFLAGS'
96152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96156 cat >conftest.$ac_ext <<_ACEOF
96157 /* confdefs.h. */
96158 _ACEOF
96159 cat confdefs.h >>conftest.$ac_ext
96160 cat >>conftest.$ac_ext <<_ACEOF
96161 /* end confdefs.h. */
96162 #include <math.h>
96164 main ()
96166 sincos(0, 0, 0);
96168 return 0;
96170 _ACEOF
96171 rm -f conftest.$ac_objext
96172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96173 (eval $ac_compile) 2>conftest.er1
96174 ac_status=$?
96175 grep -v '^ *+' conftest.er1 >conftest.err
96176 rm -f conftest.er1
96177 cat conftest.err >&5
96178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96179 (exit $ac_status); } &&
96180 { ac_try='test -z "$ac_cxx_werror_flag"
96181 || test ! -s conftest.err'
96182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96183 (eval $ac_try) 2>&5
96184 ac_status=$?
96185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96186 (exit $ac_status); }; } &&
96187 { ac_try='test -s conftest.$ac_objext'
96188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96189 (eval $ac_try) 2>&5
96190 ac_status=$?
96191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96192 (exit $ac_status); }; }; then
96193 glibcxx_cv_func_sincos_use=yes
96194 else
96195 echo "$as_me: failed program was:" >&5
96196 sed 's/^/| /' conftest.$ac_ext >&5
96198 glibcxx_cv_func_sincos_use=no
96200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96201 ac_ext=c
96202 ac_cpp='$CPP $CPPFLAGS'
96203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96211 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
96212 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
96214 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
96216 for ac_func in sincos
96218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96219 echo "$as_me:$LINENO: checking for $ac_func" >&5
96220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96221 if eval "test \"\${$as_ac_var+set}\" = set"; then
96222 echo $ECHO_N "(cached) $ECHO_C" >&6
96223 else
96224 if test x$gcc_no_link = xyes; then
96225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96227 { (exit 1); exit 1; }; }
96229 cat >conftest.$ac_ext <<_ACEOF
96230 /* confdefs.h. */
96231 _ACEOF
96232 cat confdefs.h >>conftest.$ac_ext
96233 cat >>conftest.$ac_ext <<_ACEOF
96234 /* end confdefs.h. */
96235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96237 #define $ac_func innocuous_$ac_func
96239 /* System header to define __stub macros and hopefully few prototypes,
96240 which can conflict with char $ac_func (); below.
96241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96242 <limits.h> exists even on freestanding compilers. */
96244 #ifdef __STDC__
96245 # include <limits.h>
96246 #else
96247 # include <assert.h>
96248 #endif
96250 #undef $ac_func
96252 /* Override any gcc2 internal prototype to avoid an error. */
96253 #ifdef __cplusplus
96254 extern "C"
96256 #endif
96257 /* We use char because int might match the return type of a gcc2
96258 builtin and then its argument prototype would still apply. */
96259 char $ac_func ();
96260 /* The GNU C library defines this for functions which it implements
96261 to always fail with ENOSYS. Some functions are actually named
96262 something starting with __ and the normal name is an alias. */
96263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96264 choke me
96265 #else
96266 char (*f) () = $ac_func;
96267 #endif
96268 #ifdef __cplusplus
96270 #endif
96273 main ()
96275 return f != $ac_func;
96277 return 0;
96279 _ACEOF
96280 rm -f conftest.$ac_objext conftest$ac_exeext
96281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96282 (eval $ac_link) 2>conftest.er1
96283 ac_status=$?
96284 grep -v '^ *+' conftest.er1 >conftest.err
96285 rm -f conftest.er1
96286 cat conftest.err >&5
96287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96288 (exit $ac_status); } &&
96289 { ac_try='test -z "$ac_c_werror_flag"
96290 || test ! -s conftest.err'
96291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96292 (eval $ac_try) 2>&5
96293 ac_status=$?
96294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96295 (exit $ac_status); }; } &&
96296 { ac_try='test -s conftest$ac_exeext'
96297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96298 (eval $ac_try) 2>&5
96299 ac_status=$?
96300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96301 (exit $ac_status); }; }; then
96302 eval "$as_ac_var=yes"
96303 else
96304 echo "$as_me: failed program was:" >&5
96305 sed 's/^/| /' conftest.$ac_ext >&5
96307 eval "$as_ac_var=no"
96309 rm -f conftest.err conftest.$ac_objext \
96310 conftest$ac_exeext conftest.$ac_ext
96312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96314 if test `eval echo '${'$as_ac_var'}'` = yes; then
96315 cat >>confdefs.h <<_ACEOF
96316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96317 _ACEOF
96320 done
96322 else
96324 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
96325 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
96326 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
96327 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
96328 echo $ECHO_N "(cached) $ECHO_C" >&6
96329 else
96333 ac_ext=cc
96334 ac_cpp='$CXXCPP $CPPFLAGS'
96335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96339 cat >conftest.$ac_ext <<_ACEOF
96340 /* confdefs.h. */
96341 _ACEOF
96342 cat confdefs.h >>conftest.$ac_ext
96343 cat >>conftest.$ac_ext <<_ACEOF
96344 /* end confdefs.h. */
96345 #include <math.h>
96347 main ()
96349 _sincos(0, 0, 0);
96351 return 0;
96353 _ACEOF
96354 rm -f conftest.$ac_objext
96355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96356 (eval $ac_compile) 2>conftest.er1
96357 ac_status=$?
96358 grep -v '^ *+' conftest.er1 >conftest.err
96359 rm -f conftest.er1
96360 cat conftest.err >&5
96361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96362 (exit $ac_status); } &&
96363 { ac_try='test -z "$ac_cxx_werror_flag"
96364 || test ! -s conftest.err'
96365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96366 (eval $ac_try) 2>&5
96367 ac_status=$?
96368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96369 (exit $ac_status); }; } &&
96370 { ac_try='test -s conftest.$ac_objext'
96371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96372 (eval $ac_try) 2>&5
96373 ac_status=$?
96374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96375 (exit $ac_status); }; }; then
96376 glibcxx_cv_func__sincos_use=yes
96377 else
96378 echo "$as_me: failed program was:" >&5
96379 sed 's/^/| /' conftest.$ac_ext >&5
96381 glibcxx_cv_func__sincos_use=no
96383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96384 ac_ext=c
96385 ac_cpp='$CPP $CPPFLAGS'
96386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96394 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
96395 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
96397 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
96399 for ac_func in _sincos
96401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96402 echo "$as_me:$LINENO: checking for $ac_func" >&5
96403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96404 if eval "test \"\${$as_ac_var+set}\" = set"; then
96405 echo $ECHO_N "(cached) $ECHO_C" >&6
96406 else
96407 if test x$gcc_no_link = xyes; then
96408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96410 { (exit 1); exit 1; }; }
96412 cat >conftest.$ac_ext <<_ACEOF
96413 /* confdefs.h. */
96414 _ACEOF
96415 cat confdefs.h >>conftest.$ac_ext
96416 cat >>conftest.$ac_ext <<_ACEOF
96417 /* end confdefs.h. */
96418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96420 #define $ac_func innocuous_$ac_func
96422 /* System header to define __stub macros and hopefully few prototypes,
96423 which can conflict with char $ac_func (); below.
96424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96425 <limits.h> exists even on freestanding compilers. */
96427 #ifdef __STDC__
96428 # include <limits.h>
96429 #else
96430 # include <assert.h>
96431 #endif
96433 #undef $ac_func
96435 /* Override any gcc2 internal prototype to avoid an error. */
96436 #ifdef __cplusplus
96437 extern "C"
96439 #endif
96440 /* We use char because int might match the return type of a gcc2
96441 builtin and then its argument prototype would still apply. */
96442 char $ac_func ();
96443 /* The GNU C library defines this for functions which it implements
96444 to always fail with ENOSYS. Some functions are actually named
96445 something starting with __ and the normal name is an alias. */
96446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96447 choke me
96448 #else
96449 char (*f) () = $ac_func;
96450 #endif
96451 #ifdef __cplusplus
96453 #endif
96456 main ()
96458 return f != $ac_func;
96460 return 0;
96462 _ACEOF
96463 rm -f conftest.$ac_objext conftest$ac_exeext
96464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96465 (eval $ac_link) 2>conftest.er1
96466 ac_status=$?
96467 grep -v '^ *+' conftest.er1 >conftest.err
96468 rm -f conftest.er1
96469 cat conftest.err >&5
96470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96471 (exit $ac_status); } &&
96472 { ac_try='test -z "$ac_c_werror_flag"
96473 || test ! -s conftest.err'
96474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96475 (eval $ac_try) 2>&5
96476 ac_status=$?
96477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96478 (exit $ac_status); }; } &&
96479 { ac_try='test -s conftest$ac_exeext'
96480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96481 (eval $ac_try) 2>&5
96482 ac_status=$?
96483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96484 (exit $ac_status); }; }; then
96485 eval "$as_ac_var=yes"
96486 else
96487 echo "$as_me: failed program was:" >&5
96488 sed 's/^/| /' conftest.$ac_ext >&5
96490 eval "$as_ac_var=no"
96492 rm -f conftest.err conftest.$ac_objext \
96493 conftest$ac_exeext conftest.$ac_ext
96495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96497 if test `eval echo '${'$as_ac_var'}'` = yes; then
96498 cat >>confdefs.h <<_ACEOF
96499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96500 _ACEOF
96503 done
96513 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
96514 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
96515 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
96516 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
96517 echo $ECHO_N "(cached) $ECHO_C" >&6
96518 else
96522 ac_ext=cc
96523 ac_cpp='$CXXCPP $CPPFLAGS'
96524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96528 cat >conftest.$ac_ext <<_ACEOF
96529 /* confdefs.h. */
96530 _ACEOF
96531 cat confdefs.h >>conftest.$ac_ext
96532 cat >>conftest.$ac_ext <<_ACEOF
96533 /* end confdefs.h. */
96534 #include <math.h>
96535 #ifdef HAVE_IEEEFP_H
96536 #include <ieeefp.h>
96537 #endif
96540 main ()
96542 fpclass(0);
96544 return 0;
96546 _ACEOF
96547 rm -f conftest.$ac_objext
96548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96549 (eval $ac_compile) 2>conftest.er1
96550 ac_status=$?
96551 grep -v '^ *+' conftest.er1 >conftest.err
96552 rm -f conftest.er1
96553 cat conftest.err >&5
96554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96555 (exit $ac_status); } &&
96556 { ac_try='test -z "$ac_cxx_werror_flag"
96557 || test ! -s conftest.err'
96558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96559 (eval $ac_try) 2>&5
96560 ac_status=$?
96561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96562 (exit $ac_status); }; } &&
96563 { ac_try='test -s conftest.$ac_objext'
96564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96565 (eval $ac_try) 2>&5
96566 ac_status=$?
96567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96568 (exit $ac_status); }; }; then
96569 glibcxx_cv_func_fpclass_use=yes
96570 else
96571 echo "$as_me: failed program was:" >&5
96572 sed 's/^/| /' conftest.$ac_ext >&5
96574 glibcxx_cv_func_fpclass_use=no
96576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96577 ac_ext=c
96578 ac_cpp='$CPP $CPPFLAGS'
96579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96587 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
96588 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
96590 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
96592 for ac_func in fpclass
96594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96595 echo "$as_me:$LINENO: checking for $ac_func" >&5
96596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96597 if eval "test \"\${$as_ac_var+set}\" = set"; then
96598 echo $ECHO_N "(cached) $ECHO_C" >&6
96599 else
96600 if test x$gcc_no_link = xyes; then
96601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96603 { (exit 1); exit 1; }; }
96605 cat >conftest.$ac_ext <<_ACEOF
96606 /* confdefs.h. */
96607 _ACEOF
96608 cat confdefs.h >>conftest.$ac_ext
96609 cat >>conftest.$ac_ext <<_ACEOF
96610 /* end confdefs.h. */
96611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96613 #define $ac_func innocuous_$ac_func
96615 /* System header to define __stub macros and hopefully few prototypes,
96616 which can conflict with char $ac_func (); below.
96617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96618 <limits.h> exists even on freestanding compilers. */
96620 #ifdef __STDC__
96621 # include <limits.h>
96622 #else
96623 # include <assert.h>
96624 #endif
96626 #undef $ac_func
96628 /* Override any gcc2 internal prototype to avoid an error. */
96629 #ifdef __cplusplus
96630 extern "C"
96632 #endif
96633 /* We use char because int might match the return type of a gcc2
96634 builtin and then its argument prototype would still apply. */
96635 char $ac_func ();
96636 /* The GNU C library defines this for functions which it implements
96637 to always fail with ENOSYS. Some functions are actually named
96638 something starting with __ and the normal name is an alias. */
96639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96640 choke me
96641 #else
96642 char (*f) () = $ac_func;
96643 #endif
96644 #ifdef __cplusplus
96646 #endif
96649 main ()
96651 return f != $ac_func;
96653 return 0;
96655 _ACEOF
96656 rm -f conftest.$ac_objext conftest$ac_exeext
96657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96658 (eval $ac_link) 2>conftest.er1
96659 ac_status=$?
96660 grep -v '^ *+' conftest.er1 >conftest.err
96661 rm -f conftest.er1
96662 cat conftest.err >&5
96663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96664 (exit $ac_status); } &&
96665 { ac_try='test -z "$ac_c_werror_flag"
96666 || test ! -s conftest.err'
96667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96668 (eval $ac_try) 2>&5
96669 ac_status=$?
96670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96671 (exit $ac_status); }; } &&
96672 { ac_try='test -s conftest$ac_exeext'
96673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96674 (eval $ac_try) 2>&5
96675 ac_status=$?
96676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96677 (exit $ac_status); }; }; then
96678 eval "$as_ac_var=yes"
96679 else
96680 echo "$as_me: failed program was:" >&5
96681 sed 's/^/| /' conftest.$ac_ext >&5
96683 eval "$as_ac_var=no"
96685 rm -f conftest.err conftest.$ac_objext \
96686 conftest$ac_exeext conftest.$ac_ext
96688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96690 if test `eval echo '${'$as_ac_var'}'` = yes; then
96691 cat >>confdefs.h <<_ACEOF
96692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96693 _ACEOF
96696 done
96698 else
96700 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
96701 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
96702 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
96703 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
96704 echo $ECHO_N "(cached) $ECHO_C" >&6
96705 else
96709 ac_ext=cc
96710 ac_cpp='$CXXCPP $CPPFLAGS'
96711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96715 cat >conftest.$ac_ext <<_ACEOF
96716 /* confdefs.h. */
96717 _ACEOF
96718 cat confdefs.h >>conftest.$ac_ext
96719 cat >>conftest.$ac_ext <<_ACEOF
96720 /* end confdefs.h. */
96721 #include <math.h>
96722 #ifdef HAVE_IEEEFP_H
96723 #include <ieeefp.h>
96724 #endif
96727 main ()
96729 _fpclass(0);
96731 return 0;
96733 _ACEOF
96734 rm -f conftest.$ac_objext
96735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96736 (eval $ac_compile) 2>conftest.er1
96737 ac_status=$?
96738 grep -v '^ *+' conftest.er1 >conftest.err
96739 rm -f conftest.er1
96740 cat conftest.err >&5
96741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96742 (exit $ac_status); } &&
96743 { ac_try='test -z "$ac_cxx_werror_flag"
96744 || test ! -s conftest.err'
96745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96746 (eval $ac_try) 2>&5
96747 ac_status=$?
96748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96749 (exit $ac_status); }; } &&
96750 { ac_try='test -s conftest.$ac_objext'
96751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96752 (eval $ac_try) 2>&5
96753 ac_status=$?
96754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96755 (exit $ac_status); }; }; then
96756 glibcxx_cv_func__fpclass_use=yes
96757 else
96758 echo "$as_me: failed program was:" >&5
96759 sed 's/^/| /' conftest.$ac_ext >&5
96761 glibcxx_cv_func__fpclass_use=no
96763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96764 ac_ext=c
96765 ac_cpp='$CPP $CPPFLAGS'
96766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96774 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
96775 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
96777 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
96779 for ac_func in _fpclass
96781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96782 echo "$as_me:$LINENO: checking for $ac_func" >&5
96783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96784 if eval "test \"\${$as_ac_var+set}\" = set"; then
96785 echo $ECHO_N "(cached) $ECHO_C" >&6
96786 else
96787 if test x$gcc_no_link = xyes; then
96788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96790 { (exit 1); exit 1; }; }
96792 cat >conftest.$ac_ext <<_ACEOF
96793 /* confdefs.h. */
96794 _ACEOF
96795 cat confdefs.h >>conftest.$ac_ext
96796 cat >>conftest.$ac_ext <<_ACEOF
96797 /* end confdefs.h. */
96798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96800 #define $ac_func innocuous_$ac_func
96802 /* System header to define __stub macros and hopefully few prototypes,
96803 which can conflict with char $ac_func (); below.
96804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96805 <limits.h> exists even on freestanding compilers. */
96807 #ifdef __STDC__
96808 # include <limits.h>
96809 #else
96810 # include <assert.h>
96811 #endif
96813 #undef $ac_func
96815 /* Override any gcc2 internal prototype to avoid an error. */
96816 #ifdef __cplusplus
96817 extern "C"
96819 #endif
96820 /* We use char because int might match the return type of a gcc2
96821 builtin and then its argument prototype would still apply. */
96822 char $ac_func ();
96823 /* The GNU C library defines this for functions which it implements
96824 to always fail with ENOSYS. Some functions are actually named
96825 something starting with __ and the normal name is an alias. */
96826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96827 choke me
96828 #else
96829 char (*f) () = $ac_func;
96830 #endif
96831 #ifdef __cplusplus
96833 #endif
96836 main ()
96838 return f != $ac_func;
96840 return 0;
96842 _ACEOF
96843 rm -f conftest.$ac_objext conftest$ac_exeext
96844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96845 (eval $ac_link) 2>conftest.er1
96846 ac_status=$?
96847 grep -v '^ *+' conftest.er1 >conftest.err
96848 rm -f conftest.er1
96849 cat conftest.err >&5
96850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96851 (exit $ac_status); } &&
96852 { ac_try='test -z "$ac_c_werror_flag"
96853 || test ! -s conftest.err'
96854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96855 (eval $ac_try) 2>&5
96856 ac_status=$?
96857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96858 (exit $ac_status); }; } &&
96859 { ac_try='test -s conftest$ac_exeext'
96860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96861 (eval $ac_try) 2>&5
96862 ac_status=$?
96863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96864 (exit $ac_status); }; }; then
96865 eval "$as_ac_var=yes"
96866 else
96867 echo "$as_me: failed program was:" >&5
96868 sed 's/^/| /' conftest.$ac_ext >&5
96870 eval "$as_ac_var=no"
96872 rm -f conftest.err conftest.$ac_objext \
96873 conftest$ac_exeext conftest.$ac_ext
96875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96877 if test `eval echo '${'$as_ac_var'}'` = yes; then
96878 cat >>confdefs.h <<_ACEOF
96879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96880 _ACEOF
96883 done
96893 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
96894 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
96895 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
96896 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
96897 echo $ECHO_N "(cached) $ECHO_C" >&6
96898 else
96902 ac_ext=cc
96903 ac_cpp='$CXXCPP $CPPFLAGS'
96904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96908 cat >conftest.$ac_ext <<_ACEOF
96909 /* confdefs.h. */
96910 _ACEOF
96911 cat confdefs.h >>conftest.$ac_ext
96912 cat >>conftest.$ac_ext <<_ACEOF
96913 /* end confdefs.h. */
96914 #include <math.h>
96915 #ifdef HAVE_IEEEFP_H
96916 #include <ieeefp.h>
96917 #endif
96920 main ()
96922 qfpclass(0);
96924 return 0;
96926 _ACEOF
96927 rm -f conftest.$ac_objext
96928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96929 (eval $ac_compile) 2>conftest.er1
96930 ac_status=$?
96931 grep -v '^ *+' conftest.er1 >conftest.err
96932 rm -f conftest.er1
96933 cat conftest.err >&5
96934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96935 (exit $ac_status); } &&
96936 { ac_try='test -z "$ac_cxx_werror_flag"
96937 || test ! -s conftest.err'
96938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96939 (eval $ac_try) 2>&5
96940 ac_status=$?
96941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96942 (exit $ac_status); }; } &&
96943 { ac_try='test -s conftest.$ac_objext'
96944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96945 (eval $ac_try) 2>&5
96946 ac_status=$?
96947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96948 (exit $ac_status); }; }; then
96949 glibcxx_cv_func_qfpclass_use=yes
96950 else
96951 echo "$as_me: failed program was:" >&5
96952 sed 's/^/| /' conftest.$ac_ext >&5
96954 glibcxx_cv_func_qfpclass_use=no
96956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96957 ac_ext=c
96958 ac_cpp='$CPP $CPPFLAGS'
96959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96967 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
96968 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
96970 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
96972 for ac_func in qfpclass
96974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96975 echo "$as_me:$LINENO: checking for $ac_func" >&5
96976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96977 if eval "test \"\${$as_ac_var+set}\" = set"; then
96978 echo $ECHO_N "(cached) $ECHO_C" >&6
96979 else
96980 if test x$gcc_no_link = xyes; then
96981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96983 { (exit 1); exit 1; }; }
96985 cat >conftest.$ac_ext <<_ACEOF
96986 /* confdefs.h. */
96987 _ACEOF
96988 cat confdefs.h >>conftest.$ac_ext
96989 cat >>conftest.$ac_ext <<_ACEOF
96990 /* end confdefs.h. */
96991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96993 #define $ac_func innocuous_$ac_func
96995 /* System header to define __stub macros and hopefully few prototypes,
96996 which can conflict with char $ac_func (); below.
96997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96998 <limits.h> exists even on freestanding compilers. */
97000 #ifdef __STDC__
97001 # include <limits.h>
97002 #else
97003 # include <assert.h>
97004 #endif
97006 #undef $ac_func
97008 /* Override any gcc2 internal prototype to avoid an error. */
97009 #ifdef __cplusplus
97010 extern "C"
97012 #endif
97013 /* We use char because int might match the return type of a gcc2
97014 builtin and then its argument prototype would still apply. */
97015 char $ac_func ();
97016 /* The GNU C library defines this for functions which it implements
97017 to always fail with ENOSYS. Some functions are actually named
97018 something starting with __ and the normal name is an alias. */
97019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97020 choke me
97021 #else
97022 char (*f) () = $ac_func;
97023 #endif
97024 #ifdef __cplusplus
97026 #endif
97029 main ()
97031 return f != $ac_func;
97033 return 0;
97035 _ACEOF
97036 rm -f conftest.$ac_objext conftest$ac_exeext
97037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97038 (eval $ac_link) 2>conftest.er1
97039 ac_status=$?
97040 grep -v '^ *+' conftest.er1 >conftest.err
97041 rm -f conftest.er1
97042 cat conftest.err >&5
97043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97044 (exit $ac_status); } &&
97045 { ac_try='test -z "$ac_c_werror_flag"
97046 || test ! -s conftest.err'
97047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97048 (eval $ac_try) 2>&5
97049 ac_status=$?
97050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97051 (exit $ac_status); }; } &&
97052 { ac_try='test -s conftest$ac_exeext'
97053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97054 (eval $ac_try) 2>&5
97055 ac_status=$?
97056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97057 (exit $ac_status); }; }; then
97058 eval "$as_ac_var=yes"
97059 else
97060 echo "$as_me: failed program was:" >&5
97061 sed 's/^/| /' conftest.$ac_ext >&5
97063 eval "$as_ac_var=no"
97065 rm -f conftest.err conftest.$ac_objext \
97066 conftest$ac_exeext conftest.$ac_ext
97068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97070 if test `eval echo '${'$as_ac_var'}'` = yes; then
97071 cat >>confdefs.h <<_ACEOF
97072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97073 _ACEOF
97076 done
97078 else
97080 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
97081 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
97082 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
97083 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
97084 echo $ECHO_N "(cached) $ECHO_C" >&6
97085 else
97089 ac_ext=cc
97090 ac_cpp='$CXXCPP $CPPFLAGS'
97091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97095 cat >conftest.$ac_ext <<_ACEOF
97096 /* confdefs.h. */
97097 _ACEOF
97098 cat confdefs.h >>conftest.$ac_ext
97099 cat >>conftest.$ac_ext <<_ACEOF
97100 /* end confdefs.h. */
97101 #include <math.h>
97102 #ifdef HAVE_IEEEFP_H
97103 #include <ieeefp.h>
97104 #endif
97107 main ()
97109 _qfpclass(0);
97111 return 0;
97113 _ACEOF
97114 rm -f conftest.$ac_objext
97115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97116 (eval $ac_compile) 2>conftest.er1
97117 ac_status=$?
97118 grep -v '^ *+' conftest.er1 >conftest.err
97119 rm -f conftest.er1
97120 cat conftest.err >&5
97121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97122 (exit $ac_status); } &&
97123 { ac_try='test -z "$ac_cxx_werror_flag"
97124 || test ! -s conftest.err'
97125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97126 (eval $ac_try) 2>&5
97127 ac_status=$?
97128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97129 (exit $ac_status); }; } &&
97130 { ac_try='test -s conftest.$ac_objext'
97131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97132 (eval $ac_try) 2>&5
97133 ac_status=$?
97134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97135 (exit $ac_status); }; }; then
97136 glibcxx_cv_func__qfpclass_use=yes
97137 else
97138 echo "$as_me: failed program was:" >&5
97139 sed 's/^/| /' conftest.$ac_ext >&5
97141 glibcxx_cv_func__qfpclass_use=no
97143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97144 ac_ext=c
97145 ac_cpp='$CPP $CPPFLAGS'
97146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97154 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
97155 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
97157 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
97159 for ac_func in _qfpclass
97161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97162 echo "$as_me:$LINENO: checking for $ac_func" >&5
97163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97164 if eval "test \"\${$as_ac_var+set}\" = set"; then
97165 echo $ECHO_N "(cached) $ECHO_C" >&6
97166 else
97167 if test x$gcc_no_link = xyes; then
97168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97170 { (exit 1); exit 1; }; }
97172 cat >conftest.$ac_ext <<_ACEOF
97173 /* confdefs.h. */
97174 _ACEOF
97175 cat confdefs.h >>conftest.$ac_ext
97176 cat >>conftest.$ac_ext <<_ACEOF
97177 /* end confdefs.h. */
97178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97180 #define $ac_func innocuous_$ac_func
97182 /* System header to define __stub macros and hopefully few prototypes,
97183 which can conflict with char $ac_func (); below.
97184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97185 <limits.h> exists even on freestanding compilers. */
97187 #ifdef __STDC__
97188 # include <limits.h>
97189 #else
97190 # include <assert.h>
97191 #endif
97193 #undef $ac_func
97195 /* Override any gcc2 internal prototype to avoid an error. */
97196 #ifdef __cplusplus
97197 extern "C"
97199 #endif
97200 /* We use char because int might match the return type of a gcc2
97201 builtin and then its argument prototype would still apply. */
97202 char $ac_func ();
97203 /* The GNU C library defines this for functions which it implements
97204 to always fail with ENOSYS. Some functions are actually named
97205 something starting with __ and the normal name is an alias. */
97206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97207 choke me
97208 #else
97209 char (*f) () = $ac_func;
97210 #endif
97211 #ifdef __cplusplus
97213 #endif
97216 main ()
97218 return f != $ac_func;
97220 return 0;
97222 _ACEOF
97223 rm -f conftest.$ac_objext conftest$ac_exeext
97224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97225 (eval $ac_link) 2>conftest.er1
97226 ac_status=$?
97227 grep -v '^ *+' conftest.er1 >conftest.err
97228 rm -f conftest.er1
97229 cat conftest.err >&5
97230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97231 (exit $ac_status); } &&
97232 { ac_try='test -z "$ac_c_werror_flag"
97233 || test ! -s conftest.err'
97234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97235 (eval $ac_try) 2>&5
97236 ac_status=$?
97237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97238 (exit $ac_status); }; } &&
97239 { ac_try='test -s conftest$ac_exeext'
97240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97241 (eval $ac_try) 2>&5
97242 ac_status=$?
97243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97244 (exit $ac_status); }; }; then
97245 eval "$as_ac_var=yes"
97246 else
97247 echo "$as_me: failed program was:" >&5
97248 sed 's/^/| /' conftest.$ac_ext >&5
97250 eval "$as_ac_var=no"
97252 rm -f conftest.err conftest.$ac_objext \
97253 conftest$ac_exeext conftest.$ac_ext
97255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97257 if test `eval echo '${'$as_ac_var'}'` = yes; then
97258 cat >>confdefs.h <<_ACEOF
97259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97260 _ACEOF
97263 done
97273 echo "$as_me:$LINENO: checking for hypot declaration" >&5
97274 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
97275 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
97276 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
97277 echo $ECHO_N "(cached) $ECHO_C" >&6
97278 else
97282 ac_ext=cc
97283 ac_cpp='$CXXCPP $CPPFLAGS'
97284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97288 cat >conftest.$ac_ext <<_ACEOF
97289 /* confdefs.h. */
97290 _ACEOF
97291 cat confdefs.h >>conftest.$ac_ext
97292 cat >>conftest.$ac_ext <<_ACEOF
97293 /* end confdefs.h. */
97294 #include <math.h>
97296 main ()
97298 hypot(0, 0);
97300 return 0;
97302 _ACEOF
97303 rm -f conftest.$ac_objext
97304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97305 (eval $ac_compile) 2>conftest.er1
97306 ac_status=$?
97307 grep -v '^ *+' conftest.er1 >conftest.err
97308 rm -f conftest.er1
97309 cat conftest.err >&5
97310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97311 (exit $ac_status); } &&
97312 { ac_try='test -z "$ac_cxx_werror_flag"
97313 || test ! -s conftest.err'
97314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97315 (eval $ac_try) 2>&5
97316 ac_status=$?
97317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97318 (exit $ac_status); }; } &&
97319 { ac_try='test -s conftest.$ac_objext'
97320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97321 (eval $ac_try) 2>&5
97322 ac_status=$?
97323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97324 (exit $ac_status); }; }; then
97325 glibcxx_cv_func_hypot_use=yes
97326 else
97327 echo "$as_me: failed program was:" >&5
97328 sed 's/^/| /' conftest.$ac_ext >&5
97330 glibcxx_cv_func_hypot_use=no
97332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97333 ac_ext=c
97334 ac_cpp='$CPP $CPPFLAGS'
97335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97343 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
97344 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
97346 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
97348 for ac_func in hypot
97350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97351 echo "$as_me:$LINENO: checking for $ac_func" >&5
97352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97353 if eval "test \"\${$as_ac_var+set}\" = set"; then
97354 echo $ECHO_N "(cached) $ECHO_C" >&6
97355 else
97356 if test x$gcc_no_link = xyes; then
97357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97359 { (exit 1); exit 1; }; }
97361 cat >conftest.$ac_ext <<_ACEOF
97362 /* confdefs.h. */
97363 _ACEOF
97364 cat confdefs.h >>conftest.$ac_ext
97365 cat >>conftest.$ac_ext <<_ACEOF
97366 /* end confdefs.h. */
97367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97369 #define $ac_func innocuous_$ac_func
97371 /* System header to define __stub macros and hopefully few prototypes,
97372 which can conflict with char $ac_func (); below.
97373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97374 <limits.h> exists even on freestanding compilers. */
97376 #ifdef __STDC__
97377 # include <limits.h>
97378 #else
97379 # include <assert.h>
97380 #endif
97382 #undef $ac_func
97384 /* Override any gcc2 internal prototype to avoid an error. */
97385 #ifdef __cplusplus
97386 extern "C"
97388 #endif
97389 /* We use char because int might match the return type of a gcc2
97390 builtin and then its argument prototype would still apply. */
97391 char $ac_func ();
97392 /* The GNU C library defines this for functions which it implements
97393 to always fail with ENOSYS. Some functions are actually named
97394 something starting with __ and the normal name is an alias. */
97395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97396 choke me
97397 #else
97398 char (*f) () = $ac_func;
97399 #endif
97400 #ifdef __cplusplus
97402 #endif
97405 main ()
97407 return f != $ac_func;
97409 return 0;
97411 _ACEOF
97412 rm -f conftest.$ac_objext conftest$ac_exeext
97413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97414 (eval $ac_link) 2>conftest.er1
97415 ac_status=$?
97416 grep -v '^ *+' conftest.er1 >conftest.err
97417 rm -f conftest.er1
97418 cat conftest.err >&5
97419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97420 (exit $ac_status); } &&
97421 { ac_try='test -z "$ac_c_werror_flag"
97422 || test ! -s conftest.err'
97423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97424 (eval $ac_try) 2>&5
97425 ac_status=$?
97426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97427 (exit $ac_status); }; } &&
97428 { ac_try='test -s conftest$ac_exeext'
97429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97430 (eval $ac_try) 2>&5
97431 ac_status=$?
97432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97433 (exit $ac_status); }; }; then
97434 eval "$as_ac_var=yes"
97435 else
97436 echo "$as_me: failed program was:" >&5
97437 sed 's/^/| /' conftest.$ac_ext >&5
97439 eval "$as_ac_var=no"
97441 rm -f conftest.err conftest.$ac_objext \
97442 conftest$ac_exeext conftest.$ac_ext
97444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97446 if test `eval echo '${'$as_ac_var'}'` = yes; then
97447 cat >>confdefs.h <<_ACEOF
97448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97449 _ACEOF
97452 done
97454 else
97456 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
97457 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
97458 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
97459 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
97460 echo $ECHO_N "(cached) $ECHO_C" >&6
97461 else
97465 ac_ext=cc
97466 ac_cpp='$CXXCPP $CPPFLAGS'
97467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97471 cat >conftest.$ac_ext <<_ACEOF
97472 /* confdefs.h. */
97473 _ACEOF
97474 cat confdefs.h >>conftest.$ac_ext
97475 cat >>conftest.$ac_ext <<_ACEOF
97476 /* end confdefs.h. */
97477 #include <math.h>
97479 main ()
97481 _hypot(0, 0);
97483 return 0;
97485 _ACEOF
97486 rm -f conftest.$ac_objext
97487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97488 (eval $ac_compile) 2>conftest.er1
97489 ac_status=$?
97490 grep -v '^ *+' conftest.er1 >conftest.err
97491 rm -f conftest.er1
97492 cat conftest.err >&5
97493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97494 (exit $ac_status); } &&
97495 { ac_try='test -z "$ac_cxx_werror_flag"
97496 || test ! -s conftest.err'
97497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97498 (eval $ac_try) 2>&5
97499 ac_status=$?
97500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97501 (exit $ac_status); }; } &&
97502 { ac_try='test -s conftest.$ac_objext'
97503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97504 (eval $ac_try) 2>&5
97505 ac_status=$?
97506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97507 (exit $ac_status); }; }; then
97508 glibcxx_cv_func__hypot_use=yes
97509 else
97510 echo "$as_me: failed program was:" >&5
97511 sed 's/^/| /' conftest.$ac_ext >&5
97513 glibcxx_cv_func__hypot_use=no
97515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97516 ac_ext=c
97517 ac_cpp='$CPP $CPPFLAGS'
97518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97526 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
97527 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
97529 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
97531 for ac_func in _hypot
97533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97534 echo "$as_me:$LINENO: checking for $ac_func" >&5
97535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97536 if eval "test \"\${$as_ac_var+set}\" = set"; then
97537 echo $ECHO_N "(cached) $ECHO_C" >&6
97538 else
97539 if test x$gcc_no_link = xyes; then
97540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97542 { (exit 1); exit 1; }; }
97544 cat >conftest.$ac_ext <<_ACEOF
97545 /* confdefs.h. */
97546 _ACEOF
97547 cat confdefs.h >>conftest.$ac_ext
97548 cat >>conftest.$ac_ext <<_ACEOF
97549 /* end confdefs.h. */
97550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97552 #define $ac_func innocuous_$ac_func
97554 /* System header to define __stub macros and hopefully few prototypes,
97555 which can conflict with char $ac_func (); below.
97556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97557 <limits.h> exists even on freestanding compilers. */
97559 #ifdef __STDC__
97560 # include <limits.h>
97561 #else
97562 # include <assert.h>
97563 #endif
97565 #undef $ac_func
97567 /* Override any gcc2 internal prototype to avoid an error. */
97568 #ifdef __cplusplus
97569 extern "C"
97571 #endif
97572 /* We use char because int might match the return type of a gcc2
97573 builtin and then its argument prototype would still apply. */
97574 char $ac_func ();
97575 /* The GNU C library defines this for functions which it implements
97576 to always fail with ENOSYS. Some functions are actually named
97577 something starting with __ and the normal name is an alias. */
97578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97579 choke me
97580 #else
97581 char (*f) () = $ac_func;
97582 #endif
97583 #ifdef __cplusplus
97585 #endif
97588 main ()
97590 return f != $ac_func;
97592 return 0;
97594 _ACEOF
97595 rm -f conftest.$ac_objext conftest$ac_exeext
97596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97597 (eval $ac_link) 2>conftest.er1
97598 ac_status=$?
97599 grep -v '^ *+' conftest.er1 >conftest.err
97600 rm -f conftest.er1
97601 cat conftest.err >&5
97602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97603 (exit $ac_status); } &&
97604 { ac_try='test -z "$ac_c_werror_flag"
97605 || test ! -s conftest.err'
97606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97607 (eval $ac_try) 2>&5
97608 ac_status=$?
97609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97610 (exit $ac_status); }; } &&
97611 { ac_try='test -s conftest$ac_exeext'
97612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97613 (eval $ac_try) 2>&5
97614 ac_status=$?
97615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97616 (exit $ac_status); }; }; then
97617 eval "$as_ac_var=yes"
97618 else
97619 echo "$as_me: failed program was:" >&5
97620 sed 's/^/| /' conftest.$ac_ext >&5
97622 eval "$as_ac_var=no"
97624 rm -f conftest.err conftest.$ac_objext \
97625 conftest$ac_exeext conftest.$ac_ext
97627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97629 if test `eval echo '${'$as_ac_var'}'` = yes; then
97630 cat >>confdefs.h <<_ACEOF
97631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97632 _ACEOF
97635 done
97645 echo "$as_me:$LINENO: checking for float trig functions" >&5
97646 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
97647 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
97648 echo $ECHO_N "(cached) $ECHO_C" >&6
97649 else
97653 ac_ext=cc
97654 ac_cpp='$CXXCPP $CPPFLAGS'
97655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97659 cat >conftest.$ac_ext <<_ACEOF
97660 /* confdefs.h. */
97661 _ACEOF
97662 cat confdefs.h >>conftest.$ac_ext
97663 cat >>conftest.$ac_ext <<_ACEOF
97664 /* end confdefs.h. */
97665 #include <math.h>
97667 main ()
97669 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
97671 return 0;
97673 _ACEOF
97674 rm -f conftest.$ac_objext
97675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97676 (eval $ac_compile) 2>conftest.er1
97677 ac_status=$?
97678 grep -v '^ *+' conftest.er1 >conftest.err
97679 rm -f conftest.er1
97680 cat conftest.err >&5
97681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97682 (exit $ac_status); } &&
97683 { ac_try='test -z "$ac_cxx_werror_flag"
97684 || test ! -s conftest.err'
97685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97686 (eval $ac_try) 2>&5
97687 ac_status=$?
97688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97689 (exit $ac_status); }; } &&
97690 { ac_try='test -s conftest.$ac_objext'
97691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97692 (eval $ac_try) 2>&5
97693 ac_status=$?
97694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97695 (exit $ac_status); }; }; then
97696 glibcxx_cv_func_float_trig_use=yes
97697 else
97698 echo "$as_me: failed program was:" >&5
97699 sed 's/^/| /' conftest.$ac_ext >&5
97701 glibcxx_cv_func_float_trig_use=no
97703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97704 ac_ext=c
97705 ac_cpp='$CPP $CPPFLAGS'
97706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97712 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
97713 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
97714 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
97724 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
97726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97727 echo "$as_me:$LINENO: checking for $ac_func" >&5
97728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97729 if eval "test \"\${$as_ac_var+set}\" = set"; then
97730 echo $ECHO_N "(cached) $ECHO_C" >&6
97731 else
97732 if test x$gcc_no_link = xyes; then
97733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97735 { (exit 1); exit 1; }; }
97737 cat >conftest.$ac_ext <<_ACEOF
97738 /* confdefs.h. */
97739 _ACEOF
97740 cat confdefs.h >>conftest.$ac_ext
97741 cat >>conftest.$ac_ext <<_ACEOF
97742 /* end confdefs.h. */
97743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97745 #define $ac_func innocuous_$ac_func
97747 /* System header to define __stub macros and hopefully few prototypes,
97748 which can conflict with char $ac_func (); below.
97749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97750 <limits.h> exists even on freestanding compilers. */
97752 #ifdef __STDC__
97753 # include <limits.h>
97754 #else
97755 # include <assert.h>
97756 #endif
97758 #undef $ac_func
97760 /* Override any gcc2 internal prototype to avoid an error. */
97761 #ifdef __cplusplus
97762 extern "C"
97764 #endif
97765 /* We use char because int might match the return type of a gcc2
97766 builtin and then its argument prototype would still apply. */
97767 char $ac_func ();
97768 /* The GNU C library defines this for functions which it implements
97769 to always fail with ENOSYS. Some functions are actually named
97770 something starting with __ and the normal name is an alias. */
97771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97772 choke me
97773 #else
97774 char (*f) () = $ac_func;
97775 #endif
97776 #ifdef __cplusplus
97778 #endif
97781 main ()
97783 return f != $ac_func;
97785 return 0;
97787 _ACEOF
97788 rm -f conftest.$ac_objext conftest$ac_exeext
97789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97790 (eval $ac_link) 2>conftest.er1
97791 ac_status=$?
97792 grep -v '^ *+' conftest.er1 >conftest.err
97793 rm -f conftest.er1
97794 cat conftest.err >&5
97795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97796 (exit $ac_status); } &&
97797 { ac_try='test -z "$ac_c_werror_flag"
97798 || test ! -s conftest.err'
97799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97800 (eval $ac_try) 2>&5
97801 ac_status=$?
97802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97803 (exit $ac_status); }; } &&
97804 { ac_try='test -s conftest$ac_exeext'
97805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97806 (eval $ac_try) 2>&5
97807 ac_status=$?
97808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97809 (exit $ac_status); }; }; then
97810 eval "$as_ac_var=yes"
97811 else
97812 echo "$as_me: failed program was:" >&5
97813 sed 's/^/| /' conftest.$ac_ext >&5
97815 eval "$as_ac_var=no"
97817 rm -f conftest.err conftest.$ac_objext \
97818 conftest$ac_exeext conftest.$ac_ext
97820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97822 if test `eval echo '${'$as_ac_var'}'` = yes; then
97823 cat >>confdefs.h <<_ACEOF
97824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97825 _ACEOF
97828 done
97830 else
97831 echo "$as_me:$LINENO: checking for _float trig functions" >&5
97832 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
97833 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
97834 echo $ECHO_N "(cached) $ECHO_C" >&6
97835 else
97839 ac_ext=cc
97840 ac_cpp='$CXXCPP $CPPFLAGS'
97841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97845 cat >conftest.$ac_ext <<_ACEOF
97846 /* confdefs.h. */
97847 _ACEOF
97848 cat confdefs.h >>conftest.$ac_ext
97849 cat >>conftest.$ac_ext <<_ACEOF
97850 /* end confdefs.h. */
97851 #include <math.h>
97853 main ()
97855 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
97857 return 0;
97859 _ACEOF
97860 rm -f conftest.$ac_objext
97861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97862 (eval $ac_compile) 2>conftest.er1
97863 ac_status=$?
97864 grep -v '^ *+' conftest.er1 >conftest.err
97865 rm -f conftest.er1
97866 cat conftest.err >&5
97867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97868 (exit $ac_status); } &&
97869 { ac_try='test -z "$ac_cxx_werror_flag"
97870 || test ! -s conftest.err'
97871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97872 (eval $ac_try) 2>&5
97873 ac_status=$?
97874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97875 (exit $ac_status); }; } &&
97876 { ac_try='test -s conftest.$ac_objext'
97877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97878 (eval $ac_try) 2>&5
97879 ac_status=$?
97880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97881 (exit $ac_status); }; }; then
97882 glibcxx_cv_func__float_trig_use=yes
97883 else
97884 echo "$as_me: failed program was:" >&5
97885 sed 's/^/| /' conftest.$ac_ext >&5
97887 glibcxx_cv_func__float_trig_use=no
97889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97890 ac_ext=c
97891 ac_cpp='$CPP $CPPFLAGS'
97892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
97899 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
97900 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
97910 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
97912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97913 echo "$as_me:$LINENO: checking for $ac_func" >&5
97914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97915 if eval "test \"\${$as_ac_var+set}\" = set"; then
97916 echo $ECHO_N "(cached) $ECHO_C" >&6
97917 else
97918 if test x$gcc_no_link = xyes; then
97919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97921 { (exit 1); exit 1; }; }
97923 cat >conftest.$ac_ext <<_ACEOF
97924 /* confdefs.h. */
97925 _ACEOF
97926 cat confdefs.h >>conftest.$ac_ext
97927 cat >>conftest.$ac_ext <<_ACEOF
97928 /* end confdefs.h. */
97929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97931 #define $ac_func innocuous_$ac_func
97933 /* System header to define __stub macros and hopefully few prototypes,
97934 which can conflict with char $ac_func (); below.
97935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97936 <limits.h> exists even on freestanding compilers. */
97938 #ifdef __STDC__
97939 # include <limits.h>
97940 #else
97941 # include <assert.h>
97942 #endif
97944 #undef $ac_func
97946 /* Override any gcc2 internal prototype to avoid an error. */
97947 #ifdef __cplusplus
97948 extern "C"
97950 #endif
97951 /* We use char because int might match the return type of a gcc2
97952 builtin and then its argument prototype would still apply. */
97953 char $ac_func ();
97954 /* The GNU C library defines this for functions which it implements
97955 to always fail with ENOSYS. Some functions are actually named
97956 something starting with __ and the normal name is an alias. */
97957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97958 choke me
97959 #else
97960 char (*f) () = $ac_func;
97961 #endif
97962 #ifdef __cplusplus
97964 #endif
97967 main ()
97969 return f != $ac_func;
97971 return 0;
97973 _ACEOF
97974 rm -f conftest.$ac_objext conftest$ac_exeext
97975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97976 (eval $ac_link) 2>conftest.er1
97977 ac_status=$?
97978 grep -v '^ *+' conftest.er1 >conftest.err
97979 rm -f conftest.er1
97980 cat conftest.err >&5
97981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97982 (exit $ac_status); } &&
97983 { ac_try='test -z "$ac_c_werror_flag"
97984 || test ! -s conftest.err'
97985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97986 (eval $ac_try) 2>&5
97987 ac_status=$?
97988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97989 (exit $ac_status); }; } &&
97990 { ac_try='test -s conftest$ac_exeext'
97991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97992 (eval $ac_try) 2>&5
97993 ac_status=$?
97994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97995 (exit $ac_status); }; }; then
97996 eval "$as_ac_var=yes"
97997 else
97998 echo "$as_me: failed program was:" >&5
97999 sed 's/^/| /' conftest.$ac_ext >&5
98001 eval "$as_ac_var=no"
98003 rm -f conftest.err conftest.$ac_objext \
98004 conftest$ac_exeext conftest.$ac_ext
98006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98008 if test `eval echo '${'$as_ac_var'}'` = yes; then
98009 cat >>confdefs.h <<_ACEOF
98010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98011 _ACEOF
98014 done
98032 echo "$as_me:$LINENO: checking for float round functions" >&5
98033 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
98034 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
98035 echo $ECHO_N "(cached) $ECHO_C" >&6
98036 else
98040 ac_ext=cc
98041 ac_cpp='$CXXCPP $CPPFLAGS'
98042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98046 cat >conftest.$ac_ext <<_ACEOF
98047 /* confdefs.h. */
98048 _ACEOF
98049 cat confdefs.h >>conftest.$ac_ext
98050 cat >>conftest.$ac_ext <<_ACEOF
98051 /* end confdefs.h. */
98052 #include <math.h>
98054 main ()
98056 ceilf (0); floorf (0);
98058 return 0;
98060 _ACEOF
98061 rm -f conftest.$ac_objext
98062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98063 (eval $ac_compile) 2>conftest.er1
98064 ac_status=$?
98065 grep -v '^ *+' conftest.er1 >conftest.err
98066 rm -f conftest.er1
98067 cat conftest.err >&5
98068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98069 (exit $ac_status); } &&
98070 { ac_try='test -z "$ac_cxx_werror_flag"
98071 || test ! -s conftest.err'
98072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98073 (eval $ac_try) 2>&5
98074 ac_status=$?
98075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98076 (exit $ac_status); }; } &&
98077 { ac_try='test -s conftest.$ac_objext'
98078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98079 (eval $ac_try) 2>&5
98080 ac_status=$?
98081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98082 (exit $ac_status); }; }; then
98083 glibcxx_cv_func_float_round_use=yes
98084 else
98085 echo "$as_me: failed program was:" >&5
98086 sed 's/^/| /' conftest.$ac_ext >&5
98088 glibcxx_cv_func_float_round_use=no
98090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98091 ac_ext=c
98092 ac_cpp='$CPP $CPPFLAGS'
98093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98099 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
98100 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
98101 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
98104 for ac_func in ceilf floorf
98106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98107 echo "$as_me:$LINENO: checking for $ac_func" >&5
98108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98109 if eval "test \"\${$as_ac_var+set}\" = set"; then
98110 echo $ECHO_N "(cached) $ECHO_C" >&6
98111 else
98112 if test x$gcc_no_link = xyes; then
98113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98115 { (exit 1); exit 1; }; }
98117 cat >conftest.$ac_ext <<_ACEOF
98118 /* confdefs.h. */
98119 _ACEOF
98120 cat confdefs.h >>conftest.$ac_ext
98121 cat >>conftest.$ac_ext <<_ACEOF
98122 /* end confdefs.h. */
98123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98125 #define $ac_func innocuous_$ac_func
98127 /* System header to define __stub macros and hopefully few prototypes,
98128 which can conflict with char $ac_func (); below.
98129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98130 <limits.h> exists even on freestanding compilers. */
98132 #ifdef __STDC__
98133 # include <limits.h>
98134 #else
98135 # include <assert.h>
98136 #endif
98138 #undef $ac_func
98140 /* Override any gcc2 internal prototype to avoid an error. */
98141 #ifdef __cplusplus
98142 extern "C"
98144 #endif
98145 /* We use char because int might match the return type of a gcc2
98146 builtin and then its argument prototype would still apply. */
98147 char $ac_func ();
98148 /* The GNU C library defines this for functions which it implements
98149 to always fail with ENOSYS. Some functions are actually named
98150 something starting with __ and the normal name is an alias. */
98151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98152 choke me
98153 #else
98154 char (*f) () = $ac_func;
98155 #endif
98156 #ifdef __cplusplus
98158 #endif
98161 main ()
98163 return f != $ac_func;
98165 return 0;
98167 _ACEOF
98168 rm -f conftest.$ac_objext conftest$ac_exeext
98169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98170 (eval $ac_link) 2>conftest.er1
98171 ac_status=$?
98172 grep -v '^ *+' conftest.er1 >conftest.err
98173 rm -f conftest.er1
98174 cat conftest.err >&5
98175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98176 (exit $ac_status); } &&
98177 { ac_try='test -z "$ac_c_werror_flag"
98178 || test ! -s conftest.err'
98179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98180 (eval $ac_try) 2>&5
98181 ac_status=$?
98182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98183 (exit $ac_status); }; } &&
98184 { ac_try='test -s conftest$ac_exeext'
98185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98186 (eval $ac_try) 2>&5
98187 ac_status=$?
98188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98189 (exit $ac_status); }; }; then
98190 eval "$as_ac_var=yes"
98191 else
98192 echo "$as_me: failed program was:" >&5
98193 sed 's/^/| /' conftest.$ac_ext >&5
98195 eval "$as_ac_var=no"
98197 rm -f conftest.err conftest.$ac_objext \
98198 conftest$ac_exeext conftest.$ac_ext
98200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98202 if test `eval echo '${'$as_ac_var'}'` = yes; then
98203 cat >>confdefs.h <<_ACEOF
98204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98205 _ACEOF
98208 done
98210 else
98211 echo "$as_me:$LINENO: checking for _float round functions" >&5
98212 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
98213 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
98214 echo $ECHO_N "(cached) $ECHO_C" >&6
98215 else
98219 ac_ext=cc
98220 ac_cpp='$CXXCPP $CPPFLAGS'
98221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98225 cat >conftest.$ac_ext <<_ACEOF
98226 /* confdefs.h. */
98227 _ACEOF
98228 cat confdefs.h >>conftest.$ac_ext
98229 cat >>conftest.$ac_ext <<_ACEOF
98230 /* end confdefs.h. */
98231 #include <math.h>
98233 main ()
98235 _ceilf (0); _floorf (0);
98237 return 0;
98239 _ACEOF
98240 rm -f conftest.$ac_objext
98241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98242 (eval $ac_compile) 2>conftest.er1
98243 ac_status=$?
98244 grep -v '^ *+' conftest.er1 >conftest.err
98245 rm -f conftest.er1
98246 cat conftest.err >&5
98247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98248 (exit $ac_status); } &&
98249 { ac_try='test -z "$ac_cxx_werror_flag"
98250 || test ! -s conftest.err'
98251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98252 (eval $ac_try) 2>&5
98253 ac_status=$?
98254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98255 (exit $ac_status); }; } &&
98256 { ac_try='test -s conftest.$ac_objext'
98257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98258 (eval $ac_try) 2>&5
98259 ac_status=$?
98260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98261 (exit $ac_status); }; }; then
98262 glibcxx_cv_func__float_round_use=yes
98263 else
98264 echo "$as_me: failed program was:" >&5
98265 sed 's/^/| /' conftest.$ac_ext >&5
98267 glibcxx_cv_func__float_round_use=no
98269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98270 ac_ext=c
98271 ac_cpp='$CPP $CPPFLAGS'
98272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
98279 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
98280 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
98283 for ac_func in _ceilf _floorf
98285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98286 echo "$as_me:$LINENO: checking for $ac_func" >&5
98287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98288 if eval "test \"\${$as_ac_var+set}\" = set"; then
98289 echo $ECHO_N "(cached) $ECHO_C" >&6
98290 else
98291 if test x$gcc_no_link = xyes; then
98292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98294 { (exit 1); exit 1; }; }
98296 cat >conftest.$ac_ext <<_ACEOF
98297 /* confdefs.h. */
98298 _ACEOF
98299 cat confdefs.h >>conftest.$ac_ext
98300 cat >>conftest.$ac_ext <<_ACEOF
98301 /* end confdefs.h. */
98302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98304 #define $ac_func innocuous_$ac_func
98306 /* System header to define __stub macros and hopefully few prototypes,
98307 which can conflict with char $ac_func (); below.
98308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98309 <limits.h> exists even on freestanding compilers. */
98311 #ifdef __STDC__
98312 # include <limits.h>
98313 #else
98314 # include <assert.h>
98315 #endif
98317 #undef $ac_func
98319 /* Override any gcc2 internal prototype to avoid an error. */
98320 #ifdef __cplusplus
98321 extern "C"
98323 #endif
98324 /* We use char because int might match the return type of a gcc2
98325 builtin and then its argument prototype would still apply. */
98326 char $ac_func ();
98327 /* The GNU C library defines this for functions which it implements
98328 to always fail with ENOSYS. Some functions are actually named
98329 something starting with __ and the normal name is an alias. */
98330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98331 choke me
98332 #else
98333 char (*f) () = $ac_func;
98334 #endif
98335 #ifdef __cplusplus
98337 #endif
98340 main ()
98342 return f != $ac_func;
98344 return 0;
98346 _ACEOF
98347 rm -f conftest.$ac_objext conftest$ac_exeext
98348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98349 (eval $ac_link) 2>conftest.er1
98350 ac_status=$?
98351 grep -v '^ *+' conftest.er1 >conftest.err
98352 rm -f conftest.er1
98353 cat conftest.err >&5
98354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98355 (exit $ac_status); } &&
98356 { ac_try='test -z "$ac_c_werror_flag"
98357 || test ! -s conftest.err'
98358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98359 (eval $ac_try) 2>&5
98360 ac_status=$?
98361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98362 (exit $ac_status); }; } &&
98363 { ac_try='test -s conftest$ac_exeext'
98364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98365 (eval $ac_try) 2>&5
98366 ac_status=$?
98367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98368 (exit $ac_status); }; }; then
98369 eval "$as_ac_var=yes"
98370 else
98371 echo "$as_me: failed program was:" >&5
98372 sed 's/^/| /' conftest.$ac_ext >&5
98374 eval "$as_ac_var=no"
98376 rm -f conftest.err conftest.$ac_objext \
98377 conftest$ac_exeext conftest.$ac_ext
98379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98381 if test `eval echo '${'$as_ac_var'}'` = yes; then
98382 cat >>confdefs.h <<_ACEOF
98383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98384 _ACEOF
98387 done
98399 echo "$as_me:$LINENO: checking for expf declaration" >&5
98400 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
98401 if test x${glibcxx_cv_func_expf_use+set} != xset; then
98402 if test "${glibcxx_cv_func_expf_use+set}" = set; then
98403 echo $ECHO_N "(cached) $ECHO_C" >&6
98404 else
98408 ac_ext=cc
98409 ac_cpp='$CXXCPP $CPPFLAGS'
98410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98414 cat >conftest.$ac_ext <<_ACEOF
98415 /* confdefs.h. */
98416 _ACEOF
98417 cat confdefs.h >>conftest.$ac_ext
98418 cat >>conftest.$ac_ext <<_ACEOF
98419 /* end confdefs.h. */
98420 #include <math.h>
98421 #ifdef HAVE_IEEEFP_H
98422 #include <ieeefp.h>
98423 #endif
98426 main ()
98428 expf(0);
98430 return 0;
98432 _ACEOF
98433 rm -f conftest.$ac_objext
98434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98435 (eval $ac_compile) 2>conftest.er1
98436 ac_status=$?
98437 grep -v '^ *+' conftest.er1 >conftest.err
98438 rm -f conftest.er1
98439 cat conftest.err >&5
98440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98441 (exit $ac_status); } &&
98442 { ac_try='test -z "$ac_cxx_werror_flag"
98443 || test ! -s conftest.err'
98444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98445 (eval $ac_try) 2>&5
98446 ac_status=$?
98447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98448 (exit $ac_status); }; } &&
98449 { ac_try='test -s conftest.$ac_objext'
98450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98451 (eval $ac_try) 2>&5
98452 ac_status=$?
98453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98454 (exit $ac_status); }; }; then
98455 glibcxx_cv_func_expf_use=yes
98456 else
98457 echo "$as_me: failed program was:" >&5
98458 sed 's/^/| /' conftest.$ac_ext >&5
98460 glibcxx_cv_func_expf_use=no
98462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98463 ac_ext=c
98464 ac_cpp='$CPP $CPPFLAGS'
98465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98473 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
98474 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
98476 if test x$glibcxx_cv_func_expf_use = x"yes"; then
98478 for ac_func in expf
98480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98481 echo "$as_me:$LINENO: checking for $ac_func" >&5
98482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98483 if eval "test \"\${$as_ac_var+set}\" = set"; then
98484 echo $ECHO_N "(cached) $ECHO_C" >&6
98485 else
98486 if test x$gcc_no_link = xyes; then
98487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98489 { (exit 1); exit 1; }; }
98491 cat >conftest.$ac_ext <<_ACEOF
98492 /* confdefs.h. */
98493 _ACEOF
98494 cat confdefs.h >>conftest.$ac_ext
98495 cat >>conftest.$ac_ext <<_ACEOF
98496 /* end confdefs.h. */
98497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98499 #define $ac_func innocuous_$ac_func
98501 /* System header to define __stub macros and hopefully few prototypes,
98502 which can conflict with char $ac_func (); below.
98503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98504 <limits.h> exists even on freestanding compilers. */
98506 #ifdef __STDC__
98507 # include <limits.h>
98508 #else
98509 # include <assert.h>
98510 #endif
98512 #undef $ac_func
98514 /* Override any gcc2 internal prototype to avoid an error. */
98515 #ifdef __cplusplus
98516 extern "C"
98518 #endif
98519 /* We use char because int might match the return type of a gcc2
98520 builtin and then its argument prototype would still apply. */
98521 char $ac_func ();
98522 /* The GNU C library defines this for functions which it implements
98523 to always fail with ENOSYS. Some functions are actually named
98524 something starting with __ and the normal name is an alias. */
98525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98526 choke me
98527 #else
98528 char (*f) () = $ac_func;
98529 #endif
98530 #ifdef __cplusplus
98532 #endif
98535 main ()
98537 return f != $ac_func;
98539 return 0;
98541 _ACEOF
98542 rm -f conftest.$ac_objext conftest$ac_exeext
98543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98544 (eval $ac_link) 2>conftest.er1
98545 ac_status=$?
98546 grep -v '^ *+' conftest.er1 >conftest.err
98547 rm -f conftest.er1
98548 cat conftest.err >&5
98549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98550 (exit $ac_status); } &&
98551 { ac_try='test -z "$ac_c_werror_flag"
98552 || test ! -s conftest.err'
98553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98554 (eval $ac_try) 2>&5
98555 ac_status=$?
98556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98557 (exit $ac_status); }; } &&
98558 { ac_try='test -s conftest$ac_exeext'
98559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98560 (eval $ac_try) 2>&5
98561 ac_status=$?
98562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98563 (exit $ac_status); }; }; then
98564 eval "$as_ac_var=yes"
98565 else
98566 echo "$as_me: failed program was:" >&5
98567 sed 's/^/| /' conftest.$ac_ext >&5
98569 eval "$as_ac_var=no"
98571 rm -f conftest.err conftest.$ac_objext \
98572 conftest$ac_exeext conftest.$ac_ext
98574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98576 if test `eval echo '${'$as_ac_var'}'` = yes; then
98577 cat >>confdefs.h <<_ACEOF
98578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98579 _ACEOF
98582 done
98584 else
98586 echo "$as_me:$LINENO: checking for _expf declaration" >&5
98587 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
98588 if test x${glibcxx_cv_func__expf_use+set} != xset; then
98589 if test "${glibcxx_cv_func__expf_use+set}" = set; then
98590 echo $ECHO_N "(cached) $ECHO_C" >&6
98591 else
98595 ac_ext=cc
98596 ac_cpp='$CXXCPP $CPPFLAGS'
98597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98601 cat >conftest.$ac_ext <<_ACEOF
98602 /* confdefs.h. */
98603 _ACEOF
98604 cat confdefs.h >>conftest.$ac_ext
98605 cat >>conftest.$ac_ext <<_ACEOF
98606 /* end confdefs.h. */
98607 #include <math.h>
98608 #ifdef HAVE_IEEEFP_H
98609 #include <ieeefp.h>
98610 #endif
98613 main ()
98615 _expf(0);
98617 return 0;
98619 _ACEOF
98620 rm -f conftest.$ac_objext
98621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98622 (eval $ac_compile) 2>conftest.er1
98623 ac_status=$?
98624 grep -v '^ *+' conftest.er1 >conftest.err
98625 rm -f conftest.er1
98626 cat conftest.err >&5
98627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98628 (exit $ac_status); } &&
98629 { ac_try='test -z "$ac_cxx_werror_flag"
98630 || test ! -s conftest.err'
98631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98632 (eval $ac_try) 2>&5
98633 ac_status=$?
98634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98635 (exit $ac_status); }; } &&
98636 { ac_try='test -s conftest.$ac_objext'
98637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98638 (eval $ac_try) 2>&5
98639 ac_status=$?
98640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98641 (exit $ac_status); }; }; then
98642 glibcxx_cv_func__expf_use=yes
98643 else
98644 echo "$as_me: failed program was:" >&5
98645 sed 's/^/| /' conftest.$ac_ext >&5
98647 glibcxx_cv_func__expf_use=no
98649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98650 ac_ext=c
98651 ac_cpp='$CPP $CPPFLAGS'
98652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98660 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
98661 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
98663 if test x$glibcxx_cv_func__expf_use = x"yes"; then
98665 for ac_func in _expf
98667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98668 echo "$as_me:$LINENO: checking for $ac_func" >&5
98669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98670 if eval "test \"\${$as_ac_var+set}\" = set"; then
98671 echo $ECHO_N "(cached) $ECHO_C" >&6
98672 else
98673 if test x$gcc_no_link = xyes; then
98674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98676 { (exit 1); exit 1; }; }
98678 cat >conftest.$ac_ext <<_ACEOF
98679 /* confdefs.h. */
98680 _ACEOF
98681 cat confdefs.h >>conftest.$ac_ext
98682 cat >>conftest.$ac_ext <<_ACEOF
98683 /* end confdefs.h. */
98684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98686 #define $ac_func innocuous_$ac_func
98688 /* System header to define __stub macros and hopefully few prototypes,
98689 which can conflict with char $ac_func (); below.
98690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98691 <limits.h> exists even on freestanding compilers. */
98693 #ifdef __STDC__
98694 # include <limits.h>
98695 #else
98696 # include <assert.h>
98697 #endif
98699 #undef $ac_func
98701 /* Override any gcc2 internal prototype to avoid an error. */
98702 #ifdef __cplusplus
98703 extern "C"
98705 #endif
98706 /* We use char because int might match the return type of a gcc2
98707 builtin and then its argument prototype would still apply. */
98708 char $ac_func ();
98709 /* The GNU C library defines this for functions which it implements
98710 to always fail with ENOSYS. Some functions are actually named
98711 something starting with __ and the normal name is an alias. */
98712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98713 choke me
98714 #else
98715 char (*f) () = $ac_func;
98716 #endif
98717 #ifdef __cplusplus
98719 #endif
98722 main ()
98724 return f != $ac_func;
98726 return 0;
98728 _ACEOF
98729 rm -f conftest.$ac_objext conftest$ac_exeext
98730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98731 (eval $ac_link) 2>conftest.er1
98732 ac_status=$?
98733 grep -v '^ *+' conftest.er1 >conftest.err
98734 rm -f conftest.er1
98735 cat conftest.err >&5
98736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98737 (exit $ac_status); } &&
98738 { ac_try='test -z "$ac_c_werror_flag"
98739 || test ! -s conftest.err'
98740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98741 (eval $ac_try) 2>&5
98742 ac_status=$?
98743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98744 (exit $ac_status); }; } &&
98745 { ac_try='test -s conftest$ac_exeext'
98746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98747 (eval $ac_try) 2>&5
98748 ac_status=$?
98749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98750 (exit $ac_status); }; }; then
98751 eval "$as_ac_var=yes"
98752 else
98753 echo "$as_me: failed program was:" >&5
98754 sed 's/^/| /' conftest.$ac_ext >&5
98756 eval "$as_ac_var=no"
98758 rm -f conftest.err conftest.$ac_objext \
98759 conftest$ac_exeext conftest.$ac_ext
98761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98763 if test `eval echo '${'$as_ac_var'}'` = yes; then
98764 cat >>confdefs.h <<_ACEOF
98765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98766 _ACEOF
98769 done
98779 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
98780 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
98781 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
98782 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
98783 echo $ECHO_N "(cached) $ECHO_C" >&6
98784 else
98788 ac_ext=cc
98789 ac_cpp='$CXXCPP $CPPFLAGS'
98790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98794 cat >conftest.$ac_ext <<_ACEOF
98795 /* confdefs.h. */
98796 _ACEOF
98797 cat confdefs.h >>conftest.$ac_ext
98798 cat >>conftest.$ac_ext <<_ACEOF
98799 /* end confdefs.h. */
98800 #include <math.h>
98801 #ifdef HAVE_IEEEFP_H
98802 #include <ieeefp.h>
98803 #endif
98806 main ()
98808 isnanf(0);
98810 return 0;
98812 _ACEOF
98813 rm -f conftest.$ac_objext
98814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98815 (eval $ac_compile) 2>conftest.er1
98816 ac_status=$?
98817 grep -v '^ *+' conftest.er1 >conftest.err
98818 rm -f conftest.er1
98819 cat conftest.err >&5
98820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98821 (exit $ac_status); } &&
98822 { ac_try='test -z "$ac_cxx_werror_flag"
98823 || test ! -s conftest.err'
98824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98825 (eval $ac_try) 2>&5
98826 ac_status=$?
98827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98828 (exit $ac_status); }; } &&
98829 { ac_try='test -s conftest.$ac_objext'
98830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98831 (eval $ac_try) 2>&5
98832 ac_status=$?
98833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98834 (exit $ac_status); }; }; then
98835 glibcxx_cv_func_isnanf_use=yes
98836 else
98837 echo "$as_me: failed program was:" >&5
98838 sed 's/^/| /' conftest.$ac_ext >&5
98840 glibcxx_cv_func_isnanf_use=no
98842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98843 ac_ext=c
98844 ac_cpp='$CPP $CPPFLAGS'
98845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98853 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
98854 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
98856 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
98858 for ac_func in isnanf
98860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98861 echo "$as_me:$LINENO: checking for $ac_func" >&5
98862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98863 if eval "test \"\${$as_ac_var+set}\" = set"; then
98864 echo $ECHO_N "(cached) $ECHO_C" >&6
98865 else
98866 if test x$gcc_no_link = xyes; then
98867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98869 { (exit 1); exit 1; }; }
98871 cat >conftest.$ac_ext <<_ACEOF
98872 /* confdefs.h. */
98873 _ACEOF
98874 cat confdefs.h >>conftest.$ac_ext
98875 cat >>conftest.$ac_ext <<_ACEOF
98876 /* end confdefs.h. */
98877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98879 #define $ac_func innocuous_$ac_func
98881 /* System header to define __stub macros and hopefully few prototypes,
98882 which can conflict with char $ac_func (); below.
98883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98884 <limits.h> exists even on freestanding compilers. */
98886 #ifdef __STDC__
98887 # include <limits.h>
98888 #else
98889 # include <assert.h>
98890 #endif
98892 #undef $ac_func
98894 /* Override any gcc2 internal prototype to avoid an error. */
98895 #ifdef __cplusplus
98896 extern "C"
98898 #endif
98899 /* We use char because int might match the return type of a gcc2
98900 builtin and then its argument prototype would still apply. */
98901 char $ac_func ();
98902 /* The GNU C library defines this for functions which it implements
98903 to always fail with ENOSYS. Some functions are actually named
98904 something starting with __ and the normal name is an alias. */
98905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98906 choke me
98907 #else
98908 char (*f) () = $ac_func;
98909 #endif
98910 #ifdef __cplusplus
98912 #endif
98915 main ()
98917 return f != $ac_func;
98919 return 0;
98921 _ACEOF
98922 rm -f conftest.$ac_objext conftest$ac_exeext
98923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98924 (eval $ac_link) 2>conftest.er1
98925 ac_status=$?
98926 grep -v '^ *+' conftest.er1 >conftest.err
98927 rm -f conftest.er1
98928 cat conftest.err >&5
98929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98930 (exit $ac_status); } &&
98931 { ac_try='test -z "$ac_c_werror_flag"
98932 || test ! -s conftest.err'
98933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98934 (eval $ac_try) 2>&5
98935 ac_status=$?
98936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98937 (exit $ac_status); }; } &&
98938 { ac_try='test -s conftest$ac_exeext'
98939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98940 (eval $ac_try) 2>&5
98941 ac_status=$?
98942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98943 (exit $ac_status); }; }; then
98944 eval "$as_ac_var=yes"
98945 else
98946 echo "$as_me: failed program was:" >&5
98947 sed 's/^/| /' conftest.$ac_ext >&5
98949 eval "$as_ac_var=no"
98951 rm -f conftest.err conftest.$ac_objext \
98952 conftest$ac_exeext conftest.$ac_ext
98954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98956 if test `eval echo '${'$as_ac_var'}'` = yes; then
98957 cat >>confdefs.h <<_ACEOF
98958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98959 _ACEOF
98962 done
98964 else
98966 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
98967 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
98968 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
98969 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
98970 echo $ECHO_N "(cached) $ECHO_C" >&6
98971 else
98975 ac_ext=cc
98976 ac_cpp='$CXXCPP $CPPFLAGS'
98977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98981 cat >conftest.$ac_ext <<_ACEOF
98982 /* confdefs.h. */
98983 _ACEOF
98984 cat confdefs.h >>conftest.$ac_ext
98985 cat >>conftest.$ac_ext <<_ACEOF
98986 /* end confdefs.h. */
98987 #include <math.h>
98988 #ifdef HAVE_IEEEFP_H
98989 #include <ieeefp.h>
98990 #endif
98993 main ()
98995 _isnanf(0);
98997 return 0;
98999 _ACEOF
99000 rm -f conftest.$ac_objext
99001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99002 (eval $ac_compile) 2>conftest.er1
99003 ac_status=$?
99004 grep -v '^ *+' conftest.er1 >conftest.err
99005 rm -f conftest.er1
99006 cat conftest.err >&5
99007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99008 (exit $ac_status); } &&
99009 { ac_try='test -z "$ac_cxx_werror_flag"
99010 || test ! -s conftest.err'
99011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99012 (eval $ac_try) 2>&5
99013 ac_status=$?
99014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99015 (exit $ac_status); }; } &&
99016 { ac_try='test -s conftest.$ac_objext'
99017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99018 (eval $ac_try) 2>&5
99019 ac_status=$?
99020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99021 (exit $ac_status); }; }; then
99022 glibcxx_cv_func__isnanf_use=yes
99023 else
99024 echo "$as_me: failed program was:" >&5
99025 sed 's/^/| /' conftest.$ac_ext >&5
99027 glibcxx_cv_func__isnanf_use=no
99029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99030 ac_ext=c
99031 ac_cpp='$CPP $CPPFLAGS'
99032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
99041 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
99043 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
99045 for ac_func in _isnanf
99047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99048 echo "$as_me:$LINENO: checking for $ac_func" >&5
99049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99050 if eval "test \"\${$as_ac_var+set}\" = set"; then
99051 echo $ECHO_N "(cached) $ECHO_C" >&6
99052 else
99053 if test x$gcc_no_link = xyes; then
99054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99056 { (exit 1); exit 1; }; }
99058 cat >conftest.$ac_ext <<_ACEOF
99059 /* confdefs.h. */
99060 _ACEOF
99061 cat confdefs.h >>conftest.$ac_ext
99062 cat >>conftest.$ac_ext <<_ACEOF
99063 /* end confdefs.h. */
99064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99066 #define $ac_func innocuous_$ac_func
99068 /* System header to define __stub macros and hopefully few prototypes,
99069 which can conflict with char $ac_func (); below.
99070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99071 <limits.h> exists even on freestanding compilers. */
99073 #ifdef __STDC__
99074 # include <limits.h>
99075 #else
99076 # include <assert.h>
99077 #endif
99079 #undef $ac_func
99081 /* Override any gcc2 internal prototype to avoid an error. */
99082 #ifdef __cplusplus
99083 extern "C"
99085 #endif
99086 /* We use char because int might match the return type of a gcc2
99087 builtin and then its argument prototype would still apply. */
99088 char $ac_func ();
99089 /* The GNU C library defines this for functions which it implements
99090 to always fail with ENOSYS. Some functions are actually named
99091 something starting with __ and the normal name is an alias. */
99092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99093 choke me
99094 #else
99095 char (*f) () = $ac_func;
99096 #endif
99097 #ifdef __cplusplus
99099 #endif
99102 main ()
99104 return f != $ac_func;
99106 return 0;
99108 _ACEOF
99109 rm -f conftest.$ac_objext conftest$ac_exeext
99110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99111 (eval $ac_link) 2>conftest.er1
99112 ac_status=$?
99113 grep -v '^ *+' conftest.er1 >conftest.err
99114 rm -f conftest.er1
99115 cat conftest.err >&5
99116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99117 (exit $ac_status); } &&
99118 { ac_try='test -z "$ac_c_werror_flag"
99119 || test ! -s conftest.err'
99120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99121 (eval $ac_try) 2>&5
99122 ac_status=$?
99123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99124 (exit $ac_status); }; } &&
99125 { ac_try='test -s conftest$ac_exeext'
99126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99127 (eval $ac_try) 2>&5
99128 ac_status=$?
99129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99130 (exit $ac_status); }; }; then
99131 eval "$as_ac_var=yes"
99132 else
99133 echo "$as_me: failed program was:" >&5
99134 sed 's/^/| /' conftest.$ac_ext >&5
99136 eval "$as_ac_var=no"
99138 rm -f conftest.err conftest.$ac_objext \
99139 conftest$ac_exeext conftest.$ac_ext
99141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99143 if test `eval echo '${'$as_ac_var'}'` = yes; then
99144 cat >>confdefs.h <<_ACEOF
99145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99146 _ACEOF
99149 done
99159 echo "$as_me:$LINENO: checking for isinff declaration" >&5
99160 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
99161 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
99162 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
99163 echo $ECHO_N "(cached) $ECHO_C" >&6
99164 else
99168 ac_ext=cc
99169 ac_cpp='$CXXCPP $CPPFLAGS'
99170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99174 cat >conftest.$ac_ext <<_ACEOF
99175 /* confdefs.h. */
99176 _ACEOF
99177 cat confdefs.h >>conftest.$ac_ext
99178 cat >>conftest.$ac_ext <<_ACEOF
99179 /* end confdefs.h. */
99180 #include <math.h>
99181 #ifdef HAVE_IEEEFP_H
99182 #include <ieeefp.h>
99183 #endif
99186 main ()
99188 isinff(0);
99190 return 0;
99192 _ACEOF
99193 rm -f conftest.$ac_objext
99194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99195 (eval $ac_compile) 2>conftest.er1
99196 ac_status=$?
99197 grep -v '^ *+' conftest.er1 >conftest.err
99198 rm -f conftest.er1
99199 cat conftest.err >&5
99200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99201 (exit $ac_status); } &&
99202 { ac_try='test -z "$ac_cxx_werror_flag"
99203 || test ! -s conftest.err'
99204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99205 (eval $ac_try) 2>&5
99206 ac_status=$?
99207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99208 (exit $ac_status); }; } &&
99209 { ac_try='test -s conftest.$ac_objext'
99210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99211 (eval $ac_try) 2>&5
99212 ac_status=$?
99213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99214 (exit $ac_status); }; }; then
99215 glibcxx_cv_func_isinff_use=yes
99216 else
99217 echo "$as_me: failed program was:" >&5
99218 sed 's/^/| /' conftest.$ac_ext >&5
99220 glibcxx_cv_func_isinff_use=no
99222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99223 ac_ext=c
99224 ac_cpp='$CPP $CPPFLAGS'
99225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
99234 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
99236 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
99238 for ac_func in isinff
99240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99241 echo "$as_me:$LINENO: checking for $ac_func" >&5
99242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99243 if eval "test \"\${$as_ac_var+set}\" = set"; then
99244 echo $ECHO_N "(cached) $ECHO_C" >&6
99245 else
99246 if test x$gcc_no_link = xyes; then
99247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99249 { (exit 1); exit 1; }; }
99251 cat >conftest.$ac_ext <<_ACEOF
99252 /* confdefs.h. */
99253 _ACEOF
99254 cat confdefs.h >>conftest.$ac_ext
99255 cat >>conftest.$ac_ext <<_ACEOF
99256 /* end confdefs.h. */
99257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99259 #define $ac_func innocuous_$ac_func
99261 /* System header to define __stub macros and hopefully few prototypes,
99262 which can conflict with char $ac_func (); below.
99263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99264 <limits.h> exists even on freestanding compilers. */
99266 #ifdef __STDC__
99267 # include <limits.h>
99268 #else
99269 # include <assert.h>
99270 #endif
99272 #undef $ac_func
99274 /* Override any gcc2 internal prototype to avoid an error. */
99275 #ifdef __cplusplus
99276 extern "C"
99278 #endif
99279 /* We use char because int might match the return type of a gcc2
99280 builtin and then its argument prototype would still apply. */
99281 char $ac_func ();
99282 /* The GNU C library defines this for functions which it implements
99283 to always fail with ENOSYS. Some functions are actually named
99284 something starting with __ and the normal name is an alias. */
99285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99286 choke me
99287 #else
99288 char (*f) () = $ac_func;
99289 #endif
99290 #ifdef __cplusplus
99292 #endif
99295 main ()
99297 return f != $ac_func;
99299 return 0;
99301 _ACEOF
99302 rm -f conftest.$ac_objext conftest$ac_exeext
99303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99304 (eval $ac_link) 2>conftest.er1
99305 ac_status=$?
99306 grep -v '^ *+' conftest.er1 >conftest.err
99307 rm -f conftest.er1
99308 cat conftest.err >&5
99309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99310 (exit $ac_status); } &&
99311 { ac_try='test -z "$ac_c_werror_flag"
99312 || test ! -s conftest.err'
99313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99314 (eval $ac_try) 2>&5
99315 ac_status=$?
99316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99317 (exit $ac_status); }; } &&
99318 { ac_try='test -s conftest$ac_exeext'
99319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99320 (eval $ac_try) 2>&5
99321 ac_status=$?
99322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99323 (exit $ac_status); }; }; then
99324 eval "$as_ac_var=yes"
99325 else
99326 echo "$as_me: failed program was:" >&5
99327 sed 's/^/| /' conftest.$ac_ext >&5
99329 eval "$as_ac_var=no"
99331 rm -f conftest.err conftest.$ac_objext \
99332 conftest$ac_exeext conftest.$ac_ext
99334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99336 if test `eval echo '${'$as_ac_var'}'` = yes; then
99337 cat >>confdefs.h <<_ACEOF
99338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99339 _ACEOF
99342 done
99344 else
99346 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
99347 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
99348 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
99349 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
99350 echo $ECHO_N "(cached) $ECHO_C" >&6
99351 else
99355 ac_ext=cc
99356 ac_cpp='$CXXCPP $CPPFLAGS'
99357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99361 cat >conftest.$ac_ext <<_ACEOF
99362 /* confdefs.h. */
99363 _ACEOF
99364 cat confdefs.h >>conftest.$ac_ext
99365 cat >>conftest.$ac_ext <<_ACEOF
99366 /* end confdefs.h. */
99367 #include <math.h>
99368 #ifdef HAVE_IEEEFP_H
99369 #include <ieeefp.h>
99370 #endif
99373 main ()
99375 _isinff(0);
99377 return 0;
99379 _ACEOF
99380 rm -f conftest.$ac_objext
99381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99382 (eval $ac_compile) 2>conftest.er1
99383 ac_status=$?
99384 grep -v '^ *+' conftest.er1 >conftest.err
99385 rm -f conftest.er1
99386 cat conftest.err >&5
99387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99388 (exit $ac_status); } &&
99389 { ac_try='test -z "$ac_cxx_werror_flag"
99390 || test ! -s conftest.err'
99391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99392 (eval $ac_try) 2>&5
99393 ac_status=$?
99394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99395 (exit $ac_status); }; } &&
99396 { ac_try='test -s conftest.$ac_objext'
99397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99398 (eval $ac_try) 2>&5
99399 ac_status=$?
99400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99401 (exit $ac_status); }; }; then
99402 glibcxx_cv_func__isinff_use=yes
99403 else
99404 echo "$as_me: failed program was:" >&5
99405 sed 's/^/| /' conftest.$ac_ext >&5
99407 glibcxx_cv_func__isinff_use=no
99409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99410 ac_ext=c
99411 ac_cpp='$CPP $CPPFLAGS'
99412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
99421 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
99423 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
99425 for ac_func in _isinff
99427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99428 echo "$as_me:$LINENO: checking for $ac_func" >&5
99429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99430 if eval "test \"\${$as_ac_var+set}\" = set"; then
99431 echo $ECHO_N "(cached) $ECHO_C" >&6
99432 else
99433 if test x$gcc_no_link = xyes; then
99434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99436 { (exit 1); exit 1; }; }
99438 cat >conftest.$ac_ext <<_ACEOF
99439 /* confdefs.h. */
99440 _ACEOF
99441 cat confdefs.h >>conftest.$ac_ext
99442 cat >>conftest.$ac_ext <<_ACEOF
99443 /* end confdefs.h. */
99444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99446 #define $ac_func innocuous_$ac_func
99448 /* System header to define __stub macros and hopefully few prototypes,
99449 which can conflict with char $ac_func (); below.
99450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99451 <limits.h> exists even on freestanding compilers. */
99453 #ifdef __STDC__
99454 # include <limits.h>
99455 #else
99456 # include <assert.h>
99457 #endif
99459 #undef $ac_func
99461 /* Override any gcc2 internal prototype to avoid an error. */
99462 #ifdef __cplusplus
99463 extern "C"
99465 #endif
99466 /* We use char because int might match the return type of a gcc2
99467 builtin and then its argument prototype would still apply. */
99468 char $ac_func ();
99469 /* The GNU C library defines this for functions which it implements
99470 to always fail with ENOSYS. Some functions are actually named
99471 something starting with __ and the normal name is an alias. */
99472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99473 choke me
99474 #else
99475 char (*f) () = $ac_func;
99476 #endif
99477 #ifdef __cplusplus
99479 #endif
99482 main ()
99484 return f != $ac_func;
99486 return 0;
99488 _ACEOF
99489 rm -f conftest.$ac_objext conftest$ac_exeext
99490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99491 (eval $ac_link) 2>conftest.er1
99492 ac_status=$?
99493 grep -v '^ *+' conftest.er1 >conftest.err
99494 rm -f conftest.er1
99495 cat conftest.err >&5
99496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99497 (exit $ac_status); } &&
99498 { ac_try='test -z "$ac_c_werror_flag"
99499 || test ! -s conftest.err'
99500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99501 (eval $ac_try) 2>&5
99502 ac_status=$?
99503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99504 (exit $ac_status); }; } &&
99505 { ac_try='test -s conftest$ac_exeext'
99506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99507 (eval $ac_try) 2>&5
99508 ac_status=$?
99509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99510 (exit $ac_status); }; }; then
99511 eval "$as_ac_var=yes"
99512 else
99513 echo "$as_me: failed program was:" >&5
99514 sed 's/^/| /' conftest.$ac_ext >&5
99516 eval "$as_ac_var=no"
99518 rm -f conftest.err conftest.$ac_objext \
99519 conftest$ac_exeext conftest.$ac_ext
99521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99523 if test `eval echo '${'$as_ac_var'}'` = yes; then
99524 cat >>confdefs.h <<_ACEOF
99525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99526 _ACEOF
99529 done
99539 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
99540 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
99541 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
99542 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
99543 echo $ECHO_N "(cached) $ECHO_C" >&6
99544 else
99548 ac_ext=cc
99549 ac_cpp='$CXXCPP $CPPFLAGS'
99550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99554 cat >conftest.$ac_ext <<_ACEOF
99555 /* confdefs.h. */
99556 _ACEOF
99557 cat confdefs.h >>conftest.$ac_ext
99558 cat >>conftest.$ac_ext <<_ACEOF
99559 /* end confdefs.h. */
99560 #include <math.h>
99562 main ()
99564 atan2f(0, 0);
99566 return 0;
99568 _ACEOF
99569 rm -f conftest.$ac_objext
99570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99571 (eval $ac_compile) 2>conftest.er1
99572 ac_status=$?
99573 grep -v '^ *+' conftest.er1 >conftest.err
99574 rm -f conftest.er1
99575 cat conftest.err >&5
99576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99577 (exit $ac_status); } &&
99578 { ac_try='test -z "$ac_cxx_werror_flag"
99579 || test ! -s conftest.err'
99580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99581 (eval $ac_try) 2>&5
99582 ac_status=$?
99583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99584 (exit $ac_status); }; } &&
99585 { ac_try='test -s conftest.$ac_objext'
99586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99587 (eval $ac_try) 2>&5
99588 ac_status=$?
99589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99590 (exit $ac_status); }; }; then
99591 glibcxx_cv_func_atan2f_use=yes
99592 else
99593 echo "$as_me: failed program was:" >&5
99594 sed 's/^/| /' conftest.$ac_ext >&5
99596 glibcxx_cv_func_atan2f_use=no
99598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99599 ac_ext=c
99600 ac_cpp='$CPP $CPPFLAGS'
99601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99609 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
99610 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
99612 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
99614 for ac_func in atan2f
99616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99617 echo "$as_me:$LINENO: checking for $ac_func" >&5
99618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99619 if eval "test \"\${$as_ac_var+set}\" = set"; then
99620 echo $ECHO_N "(cached) $ECHO_C" >&6
99621 else
99622 if test x$gcc_no_link = xyes; then
99623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99625 { (exit 1); exit 1; }; }
99627 cat >conftest.$ac_ext <<_ACEOF
99628 /* confdefs.h. */
99629 _ACEOF
99630 cat confdefs.h >>conftest.$ac_ext
99631 cat >>conftest.$ac_ext <<_ACEOF
99632 /* end confdefs.h. */
99633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99635 #define $ac_func innocuous_$ac_func
99637 /* System header to define __stub macros and hopefully few prototypes,
99638 which can conflict with char $ac_func (); below.
99639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99640 <limits.h> exists even on freestanding compilers. */
99642 #ifdef __STDC__
99643 # include <limits.h>
99644 #else
99645 # include <assert.h>
99646 #endif
99648 #undef $ac_func
99650 /* Override any gcc2 internal prototype to avoid an error. */
99651 #ifdef __cplusplus
99652 extern "C"
99654 #endif
99655 /* We use char because int might match the return type of a gcc2
99656 builtin and then its argument prototype would still apply. */
99657 char $ac_func ();
99658 /* The GNU C library defines this for functions which it implements
99659 to always fail with ENOSYS. Some functions are actually named
99660 something starting with __ and the normal name is an alias. */
99661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99662 choke me
99663 #else
99664 char (*f) () = $ac_func;
99665 #endif
99666 #ifdef __cplusplus
99668 #endif
99671 main ()
99673 return f != $ac_func;
99675 return 0;
99677 _ACEOF
99678 rm -f conftest.$ac_objext conftest$ac_exeext
99679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99680 (eval $ac_link) 2>conftest.er1
99681 ac_status=$?
99682 grep -v '^ *+' conftest.er1 >conftest.err
99683 rm -f conftest.er1
99684 cat conftest.err >&5
99685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99686 (exit $ac_status); } &&
99687 { ac_try='test -z "$ac_c_werror_flag"
99688 || test ! -s conftest.err'
99689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99690 (eval $ac_try) 2>&5
99691 ac_status=$?
99692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99693 (exit $ac_status); }; } &&
99694 { ac_try='test -s conftest$ac_exeext'
99695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99696 (eval $ac_try) 2>&5
99697 ac_status=$?
99698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99699 (exit $ac_status); }; }; then
99700 eval "$as_ac_var=yes"
99701 else
99702 echo "$as_me: failed program was:" >&5
99703 sed 's/^/| /' conftest.$ac_ext >&5
99705 eval "$as_ac_var=no"
99707 rm -f conftest.err conftest.$ac_objext \
99708 conftest$ac_exeext conftest.$ac_ext
99710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99712 if test `eval echo '${'$as_ac_var'}'` = yes; then
99713 cat >>confdefs.h <<_ACEOF
99714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99715 _ACEOF
99718 done
99720 else
99722 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
99723 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
99724 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
99725 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
99726 echo $ECHO_N "(cached) $ECHO_C" >&6
99727 else
99731 ac_ext=cc
99732 ac_cpp='$CXXCPP $CPPFLAGS'
99733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99737 cat >conftest.$ac_ext <<_ACEOF
99738 /* confdefs.h. */
99739 _ACEOF
99740 cat confdefs.h >>conftest.$ac_ext
99741 cat >>conftest.$ac_ext <<_ACEOF
99742 /* end confdefs.h. */
99743 #include <math.h>
99745 main ()
99747 _atan2f(0, 0);
99749 return 0;
99751 _ACEOF
99752 rm -f conftest.$ac_objext
99753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99754 (eval $ac_compile) 2>conftest.er1
99755 ac_status=$?
99756 grep -v '^ *+' conftest.er1 >conftest.err
99757 rm -f conftest.er1
99758 cat conftest.err >&5
99759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99760 (exit $ac_status); } &&
99761 { ac_try='test -z "$ac_cxx_werror_flag"
99762 || test ! -s conftest.err'
99763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99764 (eval $ac_try) 2>&5
99765 ac_status=$?
99766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99767 (exit $ac_status); }; } &&
99768 { ac_try='test -s conftest.$ac_objext'
99769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99770 (eval $ac_try) 2>&5
99771 ac_status=$?
99772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99773 (exit $ac_status); }; }; then
99774 glibcxx_cv_func__atan2f_use=yes
99775 else
99776 echo "$as_me: failed program was:" >&5
99777 sed 's/^/| /' conftest.$ac_ext >&5
99779 glibcxx_cv_func__atan2f_use=no
99781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99782 ac_ext=c
99783 ac_cpp='$CPP $CPPFLAGS'
99784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
99793 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
99795 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
99797 for ac_func in _atan2f
99799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99800 echo "$as_me:$LINENO: checking for $ac_func" >&5
99801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99802 if eval "test \"\${$as_ac_var+set}\" = set"; then
99803 echo $ECHO_N "(cached) $ECHO_C" >&6
99804 else
99805 if test x$gcc_no_link = xyes; then
99806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99808 { (exit 1); exit 1; }; }
99810 cat >conftest.$ac_ext <<_ACEOF
99811 /* confdefs.h. */
99812 _ACEOF
99813 cat confdefs.h >>conftest.$ac_ext
99814 cat >>conftest.$ac_ext <<_ACEOF
99815 /* end confdefs.h. */
99816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99818 #define $ac_func innocuous_$ac_func
99820 /* System header to define __stub macros and hopefully few prototypes,
99821 which can conflict with char $ac_func (); below.
99822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99823 <limits.h> exists even on freestanding compilers. */
99825 #ifdef __STDC__
99826 # include <limits.h>
99827 #else
99828 # include <assert.h>
99829 #endif
99831 #undef $ac_func
99833 /* Override any gcc2 internal prototype to avoid an error. */
99834 #ifdef __cplusplus
99835 extern "C"
99837 #endif
99838 /* We use char because int might match the return type of a gcc2
99839 builtin and then its argument prototype would still apply. */
99840 char $ac_func ();
99841 /* The GNU C library defines this for functions which it implements
99842 to always fail with ENOSYS. Some functions are actually named
99843 something starting with __ and the normal name is an alias. */
99844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99845 choke me
99846 #else
99847 char (*f) () = $ac_func;
99848 #endif
99849 #ifdef __cplusplus
99851 #endif
99854 main ()
99856 return f != $ac_func;
99858 return 0;
99860 _ACEOF
99861 rm -f conftest.$ac_objext conftest$ac_exeext
99862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99863 (eval $ac_link) 2>conftest.er1
99864 ac_status=$?
99865 grep -v '^ *+' conftest.er1 >conftest.err
99866 rm -f conftest.er1
99867 cat conftest.err >&5
99868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99869 (exit $ac_status); } &&
99870 { ac_try='test -z "$ac_c_werror_flag"
99871 || test ! -s conftest.err'
99872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99873 (eval $ac_try) 2>&5
99874 ac_status=$?
99875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99876 (exit $ac_status); }; } &&
99877 { ac_try='test -s conftest$ac_exeext'
99878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99879 (eval $ac_try) 2>&5
99880 ac_status=$?
99881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99882 (exit $ac_status); }; }; then
99883 eval "$as_ac_var=yes"
99884 else
99885 echo "$as_me: failed program was:" >&5
99886 sed 's/^/| /' conftest.$ac_ext >&5
99888 eval "$as_ac_var=no"
99890 rm -f conftest.err conftest.$ac_objext \
99891 conftest$ac_exeext conftest.$ac_ext
99893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99895 if test `eval echo '${'$as_ac_var'}'` = yes; then
99896 cat >>confdefs.h <<_ACEOF
99897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99898 _ACEOF
99901 done
99911 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
99912 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
99913 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
99914 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
99915 echo $ECHO_N "(cached) $ECHO_C" >&6
99916 else
99920 ac_ext=cc
99921 ac_cpp='$CXXCPP $CPPFLAGS'
99922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99926 cat >conftest.$ac_ext <<_ACEOF
99927 /* confdefs.h. */
99928 _ACEOF
99929 cat confdefs.h >>conftest.$ac_ext
99930 cat >>conftest.$ac_ext <<_ACEOF
99931 /* end confdefs.h. */
99932 #include <math.h>
99933 #ifdef HAVE_IEEEFP_H
99934 #include <ieeefp.h>
99935 #endif
99938 main ()
99940 fabsf(0);
99942 return 0;
99944 _ACEOF
99945 rm -f conftest.$ac_objext
99946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99947 (eval $ac_compile) 2>conftest.er1
99948 ac_status=$?
99949 grep -v '^ *+' conftest.er1 >conftest.err
99950 rm -f conftest.er1
99951 cat conftest.err >&5
99952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99953 (exit $ac_status); } &&
99954 { ac_try='test -z "$ac_cxx_werror_flag"
99955 || test ! -s conftest.err'
99956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99957 (eval $ac_try) 2>&5
99958 ac_status=$?
99959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99960 (exit $ac_status); }; } &&
99961 { ac_try='test -s conftest.$ac_objext'
99962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99963 (eval $ac_try) 2>&5
99964 ac_status=$?
99965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99966 (exit $ac_status); }; }; then
99967 glibcxx_cv_func_fabsf_use=yes
99968 else
99969 echo "$as_me: failed program was:" >&5
99970 sed 's/^/| /' conftest.$ac_ext >&5
99972 glibcxx_cv_func_fabsf_use=no
99974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99975 ac_ext=c
99976 ac_cpp='$CPP $CPPFLAGS'
99977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99985 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
99986 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
99988 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
99990 for ac_func in fabsf
99992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99993 echo "$as_me:$LINENO: checking for $ac_func" >&5
99994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99995 if eval "test \"\${$as_ac_var+set}\" = set"; then
99996 echo $ECHO_N "(cached) $ECHO_C" >&6
99997 else
99998 if test x$gcc_no_link = xyes; then
99999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100001 { (exit 1); exit 1; }; }
100003 cat >conftest.$ac_ext <<_ACEOF
100004 /* confdefs.h. */
100005 _ACEOF
100006 cat confdefs.h >>conftest.$ac_ext
100007 cat >>conftest.$ac_ext <<_ACEOF
100008 /* end confdefs.h. */
100009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100011 #define $ac_func innocuous_$ac_func
100013 /* System header to define __stub macros and hopefully few prototypes,
100014 which can conflict with char $ac_func (); below.
100015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100016 <limits.h> exists even on freestanding compilers. */
100018 #ifdef __STDC__
100019 # include <limits.h>
100020 #else
100021 # include <assert.h>
100022 #endif
100024 #undef $ac_func
100026 /* Override any gcc2 internal prototype to avoid an error. */
100027 #ifdef __cplusplus
100028 extern "C"
100030 #endif
100031 /* We use char because int might match the return type of a gcc2
100032 builtin and then its argument prototype would still apply. */
100033 char $ac_func ();
100034 /* The GNU C library defines this for functions which it implements
100035 to always fail with ENOSYS. Some functions are actually named
100036 something starting with __ and the normal name is an alias. */
100037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100038 choke me
100039 #else
100040 char (*f) () = $ac_func;
100041 #endif
100042 #ifdef __cplusplus
100044 #endif
100047 main ()
100049 return f != $ac_func;
100051 return 0;
100053 _ACEOF
100054 rm -f conftest.$ac_objext conftest$ac_exeext
100055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100056 (eval $ac_link) 2>conftest.er1
100057 ac_status=$?
100058 grep -v '^ *+' conftest.er1 >conftest.err
100059 rm -f conftest.er1
100060 cat conftest.err >&5
100061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100062 (exit $ac_status); } &&
100063 { ac_try='test -z "$ac_c_werror_flag"
100064 || test ! -s conftest.err'
100065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100066 (eval $ac_try) 2>&5
100067 ac_status=$?
100068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100069 (exit $ac_status); }; } &&
100070 { ac_try='test -s conftest$ac_exeext'
100071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100072 (eval $ac_try) 2>&5
100073 ac_status=$?
100074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100075 (exit $ac_status); }; }; then
100076 eval "$as_ac_var=yes"
100078 echo "$as_me: failed program was:" >&5
100079 sed 's/^/| /' conftest.$ac_ext >&5
100081 eval "$as_ac_var=no"
100083 rm -f conftest.err conftest.$ac_objext \
100084 conftest$ac_exeext conftest.$ac_ext
100086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100088 if test `eval echo '${'$as_ac_var'}'` = yes; then
100089 cat >>confdefs.h <<_ACEOF
100090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100091 _ACEOF
100098 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
100099 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
100100 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
100101 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
100102 echo $ECHO_N "(cached) $ECHO_C" >&6
100107 ac_ext=cc
100108 ac_cpp='$CXXCPP $CPPFLAGS'
100109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100113 cat >conftest.$ac_ext <<_ACEOF
100114 /* confdefs.h. */
100115 _ACEOF
100116 cat confdefs.h >>conftest.$ac_ext
100117 cat >>conftest.$ac_ext <<_ACEOF
100118 /* end confdefs.h. */
100119 #include <math.h>
100120 #ifdef HAVE_IEEEFP_H
100121 #include <ieeefp.h>
100122 #endif
100125 main ()
100127 _fabsf(0);
100129 return 0;
100131 _ACEOF
100132 rm -f conftest.$ac_objext
100133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100134 (eval $ac_compile) 2>conftest.er1
100135 ac_status=$?
100136 grep -v '^ *+' conftest.er1 >conftest.err
100137 rm -f conftest.er1
100138 cat conftest.err >&5
100139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100140 (exit $ac_status); } &&
100141 { ac_try='test -z "$ac_cxx_werror_flag"
100142 || test ! -s conftest.err'
100143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100144 (eval $ac_try) 2>&5
100145 ac_status=$?
100146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100147 (exit $ac_status); }; } &&
100148 { ac_try='test -s conftest.$ac_objext'
100149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100150 (eval $ac_try) 2>&5
100151 ac_status=$?
100152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100153 (exit $ac_status); }; }; then
100154 glibcxx_cv_func__fabsf_use=yes
100156 echo "$as_me: failed program was:" >&5
100157 sed 's/^/| /' conftest.$ac_ext >&5
100159 glibcxx_cv_func__fabsf_use=no
100161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100162 ac_ext=c
100163 ac_cpp='$CPP $CPPFLAGS'
100164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100172 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
100173 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
100175 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
100177 for ac_func in _fabsf
100179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100180 echo "$as_me:$LINENO: checking for $ac_func" >&5
100181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100182 if eval "test \"\${$as_ac_var+set}\" = set"; then
100183 echo $ECHO_N "(cached) $ECHO_C" >&6
100185 if test x$gcc_no_link = xyes; then
100186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100188 { (exit 1); exit 1; }; }
100190 cat >conftest.$ac_ext <<_ACEOF
100191 /* confdefs.h. */
100192 _ACEOF
100193 cat confdefs.h >>conftest.$ac_ext
100194 cat >>conftest.$ac_ext <<_ACEOF
100195 /* end confdefs.h. */
100196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100198 #define $ac_func innocuous_$ac_func
100200 /* System header to define __stub macros and hopefully few prototypes,
100201 which can conflict with char $ac_func (); below.
100202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100203 <limits.h> exists even on freestanding compilers. */
100205 #ifdef __STDC__
100206 # include <limits.h>
100207 #else
100208 # include <assert.h>
100209 #endif
100211 #undef $ac_func
100213 /* Override any gcc2 internal prototype to avoid an error. */
100214 #ifdef __cplusplus
100215 extern "C"
100217 #endif
100218 /* We use char because int might match the return type of a gcc2
100219 builtin and then its argument prototype would still apply. */
100220 char $ac_func ();
100221 /* The GNU C library defines this for functions which it implements
100222 to always fail with ENOSYS. Some functions are actually named
100223 something starting with __ and the normal name is an alias. */
100224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100225 choke me
100226 #else
100227 char (*f) () = $ac_func;
100228 #endif
100229 #ifdef __cplusplus
100231 #endif
100234 main ()
100236 return f != $ac_func;
100238 return 0;
100240 _ACEOF
100241 rm -f conftest.$ac_objext conftest$ac_exeext
100242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100243 (eval $ac_link) 2>conftest.er1
100244 ac_status=$?
100245 grep -v '^ *+' conftest.er1 >conftest.err
100246 rm -f conftest.er1
100247 cat conftest.err >&5
100248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100249 (exit $ac_status); } &&
100250 { ac_try='test -z "$ac_c_werror_flag"
100251 || test ! -s conftest.err'
100252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100253 (eval $ac_try) 2>&5
100254 ac_status=$?
100255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100256 (exit $ac_status); }; } &&
100257 { ac_try='test -s conftest$ac_exeext'
100258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100259 (eval $ac_try) 2>&5
100260 ac_status=$?
100261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100262 (exit $ac_status); }; }; then
100263 eval "$as_ac_var=yes"
100265 echo "$as_me: failed program was:" >&5
100266 sed 's/^/| /' conftest.$ac_ext >&5
100268 eval "$as_ac_var=no"
100270 rm -f conftest.err conftest.$ac_objext \
100271 conftest$ac_exeext conftest.$ac_ext
100273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100275 if test `eval echo '${'$as_ac_var'}'` = yes; then
100276 cat >>confdefs.h <<_ACEOF
100277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100278 _ACEOF
100291 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
100292 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
100293 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
100294 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
100295 echo $ECHO_N "(cached) $ECHO_C" >&6
100300 ac_ext=cc
100301 ac_cpp='$CXXCPP $CPPFLAGS'
100302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100306 cat >conftest.$ac_ext <<_ACEOF
100307 /* confdefs.h. */
100308 _ACEOF
100309 cat confdefs.h >>conftest.$ac_ext
100310 cat >>conftest.$ac_ext <<_ACEOF
100311 /* end confdefs.h. */
100312 #include <math.h>
100314 main ()
100316 fmodf(0, 0);
100318 return 0;
100320 _ACEOF
100321 rm -f conftest.$ac_objext
100322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100323 (eval $ac_compile) 2>conftest.er1
100324 ac_status=$?
100325 grep -v '^ *+' conftest.er1 >conftest.err
100326 rm -f conftest.er1
100327 cat conftest.err >&5
100328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100329 (exit $ac_status); } &&
100330 { ac_try='test -z "$ac_cxx_werror_flag"
100331 || test ! -s conftest.err'
100332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100333 (eval $ac_try) 2>&5
100334 ac_status=$?
100335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100336 (exit $ac_status); }; } &&
100337 { ac_try='test -s conftest.$ac_objext'
100338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100339 (eval $ac_try) 2>&5
100340 ac_status=$?
100341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100342 (exit $ac_status); }; }; then
100343 glibcxx_cv_func_fmodf_use=yes
100345 echo "$as_me: failed program was:" >&5
100346 sed 's/^/| /' conftest.$ac_ext >&5
100348 glibcxx_cv_func_fmodf_use=no
100350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100351 ac_ext=c
100352 ac_cpp='$CPP $CPPFLAGS'
100353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100361 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
100362 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
100364 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
100366 for ac_func in fmodf
100368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100369 echo "$as_me:$LINENO: checking for $ac_func" >&5
100370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100371 if eval "test \"\${$as_ac_var+set}\" = set"; then
100372 echo $ECHO_N "(cached) $ECHO_C" >&6
100374 if test x$gcc_no_link = xyes; then
100375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100377 { (exit 1); exit 1; }; }
100379 cat >conftest.$ac_ext <<_ACEOF
100380 /* confdefs.h. */
100381 _ACEOF
100382 cat confdefs.h >>conftest.$ac_ext
100383 cat >>conftest.$ac_ext <<_ACEOF
100384 /* end confdefs.h. */
100385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100387 #define $ac_func innocuous_$ac_func
100389 /* System header to define __stub macros and hopefully few prototypes,
100390 which can conflict with char $ac_func (); below.
100391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100392 <limits.h> exists even on freestanding compilers. */
100394 #ifdef __STDC__
100395 # include <limits.h>
100396 #else
100397 # include <assert.h>
100398 #endif
100400 #undef $ac_func
100402 /* Override any gcc2 internal prototype to avoid an error. */
100403 #ifdef __cplusplus
100404 extern "C"
100406 #endif
100407 /* We use char because int might match the return type of a gcc2
100408 builtin and then its argument prototype would still apply. */
100409 char $ac_func ();
100410 /* The GNU C library defines this for functions which it implements
100411 to always fail with ENOSYS. Some functions are actually named
100412 something starting with __ and the normal name is an alias. */
100413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100414 choke me
100415 #else
100416 char (*f) () = $ac_func;
100417 #endif
100418 #ifdef __cplusplus
100420 #endif
100423 main ()
100425 return f != $ac_func;
100427 return 0;
100429 _ACEOF
100430 rm -f conftest.$ac_objext conftest$ac_exeext
100431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100432 (eval $ac_link) 2>conftest.er1
100433 ac_status=$?
100434 grep -v '^ *+' conftest.er1 >conftest.err
100435 rm -f conftest.er1
100436 cat conftest.err >&5
100437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100438 (exit $ac_status); } &&
100439 { ac_try='test -z "$ac_c_werror_flag"
100440 || test ! -s conftest.err'
100441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100442 (eval $ac_try) 2>&5
100443 ac_status=$?
100444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100445 (exit $ac_status); }; } &&
100446 { ac_try='test -s conftest$ac_exeext'
100447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100448 (eval $ac_try) 2>&5
100449 ac_status=$?
100450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100451 (exit $ac_status); }; }; then
100452 eval "$as_ac_var=yes"
100454 echo "$as_me: failed program was:" >&5
100455 sed 's/^/| /' conftest.$ac_ext >&5
100457 eval "$as_ac_var=no"
100459 rm -f conftest.err conftest.$ac_objext \
100460 conftest$ac_exeext conftest.$ac_ext
100462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100464 if test `eval echo '${'$as_ac_var'}'` = yes; then
100465 cat >>confdefs.h <<_ACEOF
100466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100467 _ACEOF
100474 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
100475 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
100476 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
100477 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
100478 echo $ECHO_N "(cached) $ECHO_C" >&6
100483 ac_ext=cc
100484 ac_cpp='$CXXCPP $CPPFLAGS'
100485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100489 cat >conftest.$ac_ext <<_ACEOF
100490 /* confdefs.h. */
100491 _ACEOF
100492 cat confdefs.h >>conftest.$ac_ext
100493 cat >>conftest.$ac_ext <<_ACEOF
100494 /* end confdefs.h. */
100495 #include <math.h>
100497 main ()
100499 _fmodf(0, 0);
100501 return 0;
100503 _ACEOF
100504 rm -f conftest.$ac_objext
100505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100506 (eval $ac_compile) 2>conftest.er1
100507 ac_status=$?
100508 grep -v '^ *+' conftest.er1 >conftest.err
100509 rm -f conftest.er1
100510 cat conftest.err >&5
100511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100512 (exit $ac_status); } &&
100513 { ac_try='test -z "$ac_cxx_werror_flag"
100514 || test ! -s conftest.err'
100515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100516 (eval $ac_try) 2>&5
100517 ac_status=$?
100518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100519 (exit $ac_status); }; } &&
100520 { ac_try='test -s conftest.$ac_objext'
100521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100522 (eval $ac_try) 2>&5
100523 ac_status=$?
100524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100525 (exit $ac_status); }; }; then
100526 glibcxx_cv_func__fmodf_use=yes
100528 echo "$as_me: failed program was:" >&5
100529 sed 's/^/| /' conftest.$ac_ext >&5
100531 glibcxx_cv_func__fmodf_use=no
100533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100534 ac_ext=c
100535 ac_cpp='$CPP $CPPFLAGS'
100536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
100545 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
100547 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
100549 for ac_func in _fmodf
100551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100552 echo "$as_me:$LINENO: checking for $ac_func" >&5
100553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100554 if eval "test \"\${$as_ac_var+set}\" = set"; then
100555 echo $ECHO_N "(cached) $ECHO_C" >&6
100557 if test x$gcc_no_link = xyes; then
100558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100560 { (exit 1); exit 1; }; }
100562 cat >conftest.$ac_ext <<_ACEOF
100563 /* confdefs.h. */
100564 _ACEOF
100565 cat confdefs.h >>conftest.$ac_ext
100566 cat >>conftest.$ac_ext <<_ACEOF
100567 /* end confdefs.h. */
100568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100570 #define $ac_func innocuous_$ac_func
100572 /* System header to define __stub macros and hopefully few prototypes,
100573 which can conflict with char $ac_func (); below.
100574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100575 <limits.h> exists even on freestanding compilers. */
100577 #ifdef __STDC__
100578 # include <limits.h>
100579 #else
100580 # include <assert.h>
100581 #endif
100583 #undef $ac_func
100585 /* Override any gcc2 internal prototype to avoid an error. */
100586 #ifdef __cplusplus
100587 extern "C"
100589 #endif
100590 /* We use char because int might match the return type of a gcc2
100591 builtin and then its argument prototype would still apply. */
100592 char $ac_func ();
100593 /* The GNU C library defines this for functions which it implements
100594 to always fail with ENOSYS. Some functions are actually named
100595 something starting with __ and the normal name is an alias. */
100596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100597 choke me
100598 #else
100599 char (*f) () = $ac_func;
100600 #endif
100601 #ifdef __cplusplus
100603 #endif
100606 main ()
100608 return f != $ac_func;
100610 return 0;
100612 _ACEOF
100613 rm -f conftest.$ac_objext conftest$ac_exeext
100614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100615 (eval $ac_link) 2>conftest.er1
100616 ac_status=$?
100617 grep -v '^ *+' conftest.er1 >conftest.err
100618 rm -f conftest.er1
100619 cat conftest.err >&5
100620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100621 (exit $ac_status); } &&
100622 { ac_try='test -z "$ac_c_werror_flag"
100623 || test ! -s conftest.err'
100624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100625 (eval $ac_try) 2>&5
100626 ac_status=$?
100627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100628 (exit $ac_status); }; } &&
100629 { ac_try='test -s conftest$ac_exeext'
100630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100631 (eval $ac_try) 2>&5
100632 ac_status=$?
100633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100634 (exit $ac_status); }; }; then
100635 eval "$as_ac_var=yes"
100637 echo "$as_me: failed program was:" >&5
100638 sed 's/^/| /' conftest.$ac_ext >&5
100640 eval "$as_ac_var=no"
100642 rm -f conftest.err conftest.$ac_objext \
100643 conftest$ac_exeext conftest.$ac_ext
100645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100647 if test `eval echo '${'$as_ac_var'}'` = yes; then
100648 cat >>confdefs.h <<_ACEOF
100649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100650 _ACEOF
100663 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
100664 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
100665 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
100666 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
100667 echo $ECHO_N "(cached) $ECHO_C" >&6
100672 ac_ext=cc
100673 ac_cpp='$CXXCPP $CPPFLAGS'
100674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100678 cat >conftest.$ac_ext <<_ACEOF
100679 /* confdefs.h. */
100680 _ACEOF
100681 cat confdefs.h >>conftest.$ac_ext
100682 cat >>conftest.$ac_ext <<_ACEOF
100683 /* end confdefs.h. */
100684 #include <math.h>
100686 main ()
100688 frexpf(0, 0);
100690 return 0;
100692 _ACEOF
100693 rm -f conftest.$ac_objext
100694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100695 (eval $ac_compile) 2>conftest.er1
100696 ac_status=$?
100697 grep -v '^ *+' conftest.er1 >conftest.err
100698 rm -f conftest.er1
100699 cat conftest.err >&5
100700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100701 (exit $ac_status); } &&
100702 { ac_try='test -z "$ac_cxx_werror_flag"
100703 || test ! -s conftest.err'
100704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100705 (eval $ac_try) 2>&5
100706 ac_status=$?
100707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100708 (exit $ac_status); }; } &&
100709 { ac_try='test -s conftest.$ac_objext'
100710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100711 (eval $ac_try) 2>&5
100712 ac_status=$?
100713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100714 (exit $ac_status); }; }; then
100715 glibcxx_cv_func_frexpf_use=yes
100717 echo "$as_me: failed program was:" >&5
100718 sed 's/^/| /' conftest.$ac_ext >&5
100720 glibcxx_cv_func_frexpf_use=no
100722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100723 ac_ext=c
100724 ac_cpp='$CPP $CPPFLAGS'
100725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
100734 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
100736 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
100738 for ac_func in frexpf
100740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100741 echo "$as_me:$LINENO: checking for $ac_func" >&5
100742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100743 if eval "test \"\${$as_ac_var+set}\" = set"; then
100744 echo $ECHO_N "(cached) $ECHO_C" >&6
100746 if test x$gcc_no_link = xyes; then
100747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100749 { (exit 1); exit 1; }; }
100751 cat >conftest.$ac_ext <<_ACEOF
100752 /* confdefs.h. */
100753 _ACEOF
100754 cat confdefs.h >>conftest.$ac_ext
100755 cat >>conftest.$ac_ext <<_ACEOF
100756 /* end confdefs.h. */
100757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100759 #define $ac_func innocuous_$ac_func
100761 /* System header to define __stub macros and hopefully few prototypes,
100762 which can conflict with char $ac_func (); below.
100763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100764 <limits.h> exists even on freestanding compilers. */
100766 #ifdef __STDC__
100767 # include <limits.h>
100768 #else
100769 # include <assert.h>
100770 #endif
100772 #undef $ac_func
100774 /* Override any gcc2 internal prototype to avoid an error. */
100775 #ifdef __cplusplus
100776 extern "C"
100778 #endif
100779 /* We use char because int might match the return type of a gcc2
100780 builtin and then its argument prototype would still apply. */
100781 char $ac_func ();
100782 /* The GNU C library defines this for functions which it implements
100783 to always fail with ENOSYS. Some functions are actually named
100784 something starting with __ and the normal name is an alias. */
100785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100786 choke me
100787 #else
100788 char (*f) () = $ac_func;
100789 #endif
100790 #ifdef __cplusplus
100792 #endif
100795 main ()
100797 return f != $ac_func;
100799 return 0;
100801 _ACEOF
100802 rm -f conftest.$ac_objext conftest$ac_exeext
100803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100804 (eval $ac_link) 2>conftest.er1
100805 ac_status=$?
100806 grep -v '^ *+' conftest.er1 >conftest.err
100807 rm -f conftest.er1
100808 cat conftest.err >&5
100809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100810 (exit $ac_status); } &&
100811 { ac_try='test -z "$ac_c_werror_flag"
100812 || test ! -s conftest.err'
100813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100814 (eval $ac_try) 2>&5
100815 ac_status=$?
100816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100817 (exit $ac_status); }; } &&
100818 { ac_try='test -s conftest$ac_exeext'
100819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100820 (eval $ac_try) 2>&5
100821 ac_status=$?
100822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100823 (exit $ac_status); }; }; then
100824 eval "$as_ac_var=yes"
100826 echo "$as_me: failed program was:" >&5
100827 sed 's/^/| /' conftest.$ac_ext >&5
100829 eval "$as_ac_var=no"
100831 rm -f conftest.err conftest.$ac_objext \
100832 conftest$ac_exeext conftest.$ac_ext
100834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100836 if test `eval echo '${'$as_ac_var'}'` = yes; then
100837 cat >>confdefs.h <<_ACEOF
100838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100839 _ACEOF
100846 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
100847 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
100848 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
100849 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
100850 echo $ECHO_N "(cached) $ECHO_C" >&6
100855 ac_ext=cc
100856 ac_cpp='$CXXCPP $CPPFLAGS'
100857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100861 cat >conftest.$ac_ext <<_ACEOF
100862 /* confdefs.h. */
100863 _ACEOF
100864 cat confdefs.h >>conftest.$ac_ext
100865 cat >>conftest.$ac_ext <<_ACEOF
100866 /* end confdefs.h. */
100867 #include <math.h>
100869 main ()
100871 _frexpf(0, 0);
100873 return 0;
100875 _ACEOF
100876 rm -f conftest.$ac_objext
100877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100878 (eval $ac_compile) 2>conftest.er1
100879 ac_status=$?
100880 grep -v '^ *+' conftest.er1 >conftest.err
100881 rm -f conftest.er1
100882 cat conftest.err >&5
100883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100884 (exit $ac_status); } &&
100885 { ac_try='test -z "$ac_cxx_werror_flag"
100886 || test ! -s conftest.err'
100887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100888 (eval $ac_try) 2>&5
100889 ac_status=$?
100890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100891 (exit $ac_status); }; } &&
100892 { ac_try='test -s conftest.$ac_objext'
100893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100894 (eval $ac_try) 2>&5
100895 ac_status=$?
100896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100897 (exit $ac_status); }; }; then
100898 glibcxx_cv_func__frexpf_use=yes
100900 echo "$as_me: failed program was:" >&5
100901 sed 's/^/| /' conftest.$ac_ext >&5
100903 glibcxx_cv_func__frexpf_use=no
100905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100906 ac_ext=c
100907 ac_cpp='$CPP $CPPFLAGS'
100908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
100917 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
100919 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
100921 for ac_func in _frexpf
100923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100924 echo "$as_me:$LINENO: checking for $ac_func" >&5
100925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100926 if eval "test \"\${$as_ac_var+set}\" = set"; then
100927 echo $ECHO_N "(cached) $ECHO_C" >&6
100929 if test x$gcc_no_link = xyes; then
100930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100932 { (exit 1); exit 1; }; }
100934 cat >conftest.$ac_ext <<_ACEOF
100935 /* confdefs.h. */
100936 _ACEOF
100937 cat confdefs.h >>conftest.$ac_ext
100938 cat >>conftest.$ac_ext <<_ACEOF
100939 /* end confdefs.h. */
100940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100942 #define $ac_func innocuous_$ac_func
100944 /* System header to define __stub macros and hopefully few prototypes,
100945 which can conflict with char $ac_func (); below.
100946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100947 <limits.h> exists even on freestanding compilers. */
100949 #ifdef __STDC__
100950 # include <limits.h>
100951 #else
100952 # include <assert.h>
100953 #endif
100955 #undef $ac_func
100957 /* Override any gcc2 internal prototype to avoid an error. */
100958 #ifdef __cplusplus
100959 extern "C"
100961 #endif
100962 /* We use char because int might match the return type of a gcc2
100963 builtin and then its argument prototype would still apply. */
100964 char $ac_func ();
100965 /* The GNU C library defines this for functions which it implements
100966 to always fail with ENOSYS. Some functions are actually named
100967 something starting with __ and the normal name is an alias. */
100968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100969 choke me
100970 #else
100971 char (*f) () = $ac_func;
100972 #endif
100973 #ifdef __cplusplus
100975 #endif
100978 main ()
100980 return f != $ac_func;
100982 return 0;
100984 _ACEOF
100985 rm -f conftest.$ac_objext conftest$ac_exeext
100986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100987 (eval $ac_link) 2>conftest.er1
100988 ac_status=$?
100989 grep -v '^ *+' conftest.er1 >conftest.err
100990 rm -f conftest.er1
100991 cat conftest.err >&5
100992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100993 (exit $ac_status); } &&
100994 { ac_try='test -z "$ac_c_werror_flag"
100995 || test ! -s conftest.err'
100996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100997 (eval $ac_try) 2>&5
100998 ac_status=$?
100999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101000 (exit $ac_status); }; } &&
101001 { ac_try='test -s conftest$ac_exeext'
101002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101003 (eval $ac_try) 2>&5
101004 ac_status=$?
101005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101006 (exit $ac_status); }; }; then
101007 eval "$as_ac_var=yes"
101009 echo "$as_me: failed program was:" >&5
101010 sed 's/^/| /' conftest.$ac_ext >&5
101012 eval "$as_ac_var=no"
101014 rm -f conftest.err conftest.$ac_objext \
101015 conftest$ac_exeext conftest.$ac_ext
101017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101019 if test `eval echo '${'$as_ac_var'}'` = yes; then
101020 cat >>confdefs.h <<_ACEOF
101021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101022 _ACEOF
101035 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
101036 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
101037 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
101038 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
101039 echo $ECHO_N "(cached) $ECHO_C" >&6
101044 ac_ext=cc
101045 ac_cpp='$CXXCPP $CPPFLAGS'
101046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101050 cat >conftest.$ac_ext <<_ACEOF
101051 /* confdefs.h. */
101052 _ACEOF
101053 cat confdefs.h >>conftest.$ac_ext
101054 cat >>conftest.$ac_ext <<_ACEOF
101055 /* end confdefs.h. */
101056 #include <math.h>
101058 main ()
101060 hypotf(0, 0);
101062 return 0;
101064 _ACEOF
101065 rm -f conftest.$ac_objext
101066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101067 (eval $ac_compile) 2>conftest.er1
101068 ac_status=$?
101069 grep -v '^ *+' conftest.er1 >conftest.err
101070 rm -f conftest.er1
101071 cat conftest.err >&5
101072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101073 (exit $ac_status); } &&
101074 { ac_try='test -z "$ac_cxx_werror_flag"
101075 || test ! -s conftest.err'
101076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101077 (eval $ac_try) 2>&5
101078 ac_status=$?
101079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101080 (exit $ac_status); }; } &&
101081 { ac_try='test -s conftest.$ac_objext'
101082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101083 (eval $ac_try) 2>&5
101084 ac_status=$?
101085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101086 (exit $ac_status); }; }; then
101087 glibcxx_cv_func_hypotf_use=yes
101089 echo "$as_me: failed program was:" >&5
101090 sed 's/^/| /' conftest.$ac_ext >&5
101092 glibcxx_cv_func_hypotf_use=no
101094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101095 ac_ext=c
101096 ac_cpp='$CPP $CPPFLAGS'
101097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
101106 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
101108 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
101110 for ac_func in hypotf
101112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101113 echo "$as_me:$LINENO: checking for $ac_func" >&5
101114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101115 if eval "test \"\${$as_ac_var+set}\" = set"; then
101116 echo $ECHO_N "(cached) $ECHO_C" >&6
101118 if test x$gcc_no_link = xyes; then
101119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101121 { (exit 1); exit 1; }; }
101123 cat >conftest.$ac_ext <<_ACEOF
101124 /* confdefs.h. */
101125 _ACEOF
101126 cat confdefs.h >>conftest.$ac_ext
101127 cat >>conftest.$ac_ext <<_ACEOF
101128 /* end confdefs.h. */
101129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101131 #define $ac_func innocuous_$ac_func
101133 /* System header to define __stub macros and hopefully few prototypes,
101134 which can conflict with char $ac_func (); below.
101135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101136 <limits.h> exists even on freestanding compilers. */
101138 #ifdef __STDC__
101139 # include <limits.h>
101140 #else
101141 # include <assert.h>
101142 #endif
101144 #undef $ac_func
101146 /* Override any gcc2 internal prototype to avoid an error. */
101147 #ifdef __cplusplus
101148 extern "C"
101150 #endif
101151 /* We use char because int might match the return type of a gcc2
101152 builtin and then its argument prototype would still apply. */
101153 char $ac_func ();
101154 /* The GNU C library defines this for functions which it implements
101155 to always fail with ENOSYS. Some functions are actually named
101156 something starting with __ and the normal name is an alias. */
101157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101158 choke me
101159 #else
101160 char (*f) () = $ac_func;
101161 #endif
101162 #ifdef __cplusplus
101164 #endif
101167 main ()
101169 return f != $ac_func;
101171 return 0;
101173 _ACEOF
101174 rm -f conftest.$ac_objext conftest$ac_exeext
101175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101176 (eval $ac_link) 2>conftest.er1
101177 ac_status=$?
101178 grep -v '^ *+' conftest.er1 >conftest.err
101179 rm -f conftest.er1
101180 cat conftest.err >&5
101181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101182 (exit $ac_status); } &&
101183 { ac_try='test -z "$ac_c_werror_flag"
101184 || test ! -s conftest.err'
101185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101186 (eval $ac_try) 2>&5
101187 ac_status=$?
101188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101189 (exit $ac_status); }; } &&
101190 { ac_try='test -s conftest$ac_exeext'
101191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101192 (eval $ac_try) 2>&5
101193 ac_status=$?
101194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101195 (exit $ac_status); }; }; then
101196 eval "$as_ac_var=yes"
101198 echo "$as_me: failed program was:" >&5
101199 sed 's/^/| /' conftest.$ac_ext >&5
101201 eval "$as_ac_var=no"
101203 rm -f conftest.err conftest.$ac_objext \
101204 conftest$ac_exeext conftest.$ac_ext
101206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101208 if test `eval echo '${'$as_ac_var'}'` = yes; then
101209 cat >>confdefs.h <<_ACEOF
101210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101211 _ACEOF
101218 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
101219 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
101220 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
101221 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
101222 echo $ECHO_N "(cached) $ECHO_C" >&6
101227 ac_ext=cc
101228 ac_cpp='$CXXCPP $CPPFLAGS'
101229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101233 cat >conftest.$ac_ext <<_ACEOF
101234 /* confdefs.h. */
101235 _ACEOF
101236 cat confdefs.h >>conftest.$ac_ext
101237 cat >>conftest.$ac_ext <<_ACEOF
101238 /* end confdefs.h. */
101239 #include <math.h>
101241 main ()
101243 _hypotf(0, 0);
101245 return 0;
101247 _ACEOF
101248 rm -f conftest.$ac_objext
101249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101250 (eval $ac_compile) 2>conftest.er1
101251 ac_status=$?
101252 grep -v '^ *+' conftest.er1 >conftest.err
101253 rm -f conftest.er1
101254 cat conftest.err >&5
101255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101256 (exit $ac_status); } &&
101257 { ac_try='test -z "$ac_cxx_werror_flag"
101258 || test ! -s conftest.err'
101259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101260 (eval $ac_try) 2>&5
101261 ac_status=$?
101262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101263 (exit $ac_status); }; } &&
101264 { ac_try='test -s conftest.$ac_objext'
101265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101266 (eval $ac_try) 2>&5
101267 ac_status=$?
101268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101269 (exit $ac_status); }; }; then
101270 glibcxx_cv_func__hypotf_use=yes
101272 echo "$as_me: failed program was:" >&5
101273 sed 's/^/| /' conftest.$ac_ext >&5
101275 glibcxx_cv_func__hypotf_use=no
101277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101278 ac_ext=c
101279 ac_cpp='$CPP $CPPFLAGS'
101280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101288 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
101289 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
101291 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
101293 for ac_func in _hypotf
101295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101296 echo "$as_me:$LINENO: checking for $ac_func" >&5
101297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101298 if eval "test \"\${$as_ac_var+set}\" = set"; then
101299 echo $ECHO_N "(cached) $ECHO_C" >&6
101301 if test x$gcc_no_link = xyes; then
101302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101304 { (exit 1); exit 1; }; }
101306 cat >conftest.$ac_ext <<_ACEOF
101307 /* confdefs.h. */
101308 _ACEOF
101309 cat confdefs.h >>conftest.$ac_ext
101310 cat >>conftest.$ac_ext <<_ACEOF
101311 /* end confdefs.h. */
101312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101314 #define $ac_func innocuous_$ac_func
101316 /* System header to define __stub macros and hopefully few prototypes,
101317 which can conflict with char $ac_func (); below.
101318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101319 <limits.h> exists even on freestanding compilers. */
101321 #ifdef __STDC__
101322 # include <limits.h>
101323 #else
101324 # include <assert.h>
101325 #endif
101327 #undef $ac_func
101329 /* Override any gcc2 internal prototype to avoid an error. */
101330 #ifdef __cplusplus
101331 extern "C"
101333 #endif
101334 /* We use char because int might match the return type of a gcc2
101335 builtin and then its argument prototype would still apply. */
101336 char $ac_func ();
101337 /* The GNU C library defines this for functions which it implements
101338 to always fail with ENOSYS. Some functions are actually named
101339 something starting with __ and the normal name is an alias. */
101340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101341 choke me
101342 #else
101343 char (*f) () = $ac_func;
101344 #endif
101345 #ifdef __cplusplus
101347 #endif
101350 main ()
101352 return f != $ac_func;
101354 return 0;
101356 _ACEOF
101357 rm -f conftest.$ac_objext conftest$ac_exeext
101358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101359 (eval $ac_link) 2>conftest.er1
101360 ac_status=$?
101361 grep -v '^ *+' conftest.er1 >conftest.err
101362 rm -f conftest.er1
101363 cat conftest.err >&5
101364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101365 (exit $ac_status); } &&
101366 { ac_try='test -z "$ac_c_werror_flag"
101367 || test ! -s conftest.err'
101368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101369 (eval $ac_try) 2>&5
101370 ac_status=$?
101371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101372 (exit $ac_status); }; } &&
101373 { ac_try='test -s conftest$ac_exeext'
101374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101375 (eval $ac_try) 2>&5
101376 ac_status=$?
101377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101378 (exit $ac_status); }; }; then
101379 eval "$as_ac_var=yes"
101381 echo "$as_me: failed program was:" >&5
101382 sed 's/^/| /' conftest.$ac_ext >&5
101384 eval "$as_ac_var=no"
101386 rm -f conftest.err conftest.$ac_objext \
101387 conftest$ac_exeext conftest.$ac_ext
101389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101391 if test `eval echo '${'$as_ac_var'}'` = yes; then
101392 cat >>confdefs.h <<_ACEOF
101393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101394 _ACEOF
101407 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
101408 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
101409 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
101410 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
101411 echo $ECHO_N "(cached) $ECHO_C" >&6
101416 ac_ext=cc
101417 ac_cpp='$CXXCPP $CPPFLAGS'
101418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101422 cat >conftest.$ac_ext <<_ACEOF
101423 /* confdefs.h. */
101424 _ACEOF
101425 cat confdefs.h >>conftest.$ac_ext
101426 cat >>conftest.$ac_ext <<_ACEOF
101427 /* end confdefs.h. */
101428 #include <math.h>
101430 main ()
101432 ldexpf(0, 0);
101434 return 0;
101436 _ACEOF
101437 rm -f conftest.$ac_objext
101438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101439 (eval $ac_compile) 2>conftest.er1
101440 ac_status=$?
101441 grep -v '^ *+' conftest.er1 >conftest.err
101442 rm -f conftest.er1
101443 cat conftest.err >&5
101444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101445 (exit $ac_status); } &&
101446 { ac_try='test -z "$ac_cxx_werror_flag"
101447 || test ! -s conftest.err'
101448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101449 (eval $ac_try) 2>&5
101450 ac_status=$?
101451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101452 (exit $ac_status); }; } &&
101453 { ac_try='test -s conftest.$ac_objext'
101454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101455 (eval $ac_try) 2>&5
101456 ac_status=$?
101457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101458 (exit $ac_status); }; }; then
101459 glibcxx_cv_func_ldexpf_use=yes
101461 echo "$as_me: failed program was:" >&5
101462 sed 's/^/| /' conftest.$ac_ext >&5
101464 glibcxx_cv_func_ldexpf_use=no
101466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101467 ac_ext=c
101468 ac_cpp='$CPP $CPPFLAGS'
101469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101477 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
101478 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
101480 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
101482 for ac_func in ldexpf
101484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101485 echo "$as_me:$LINENO: checking for $ac_func" >&5
101486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101487 if eval "test \"\${$as_ac_var+set}\" = set"; then
101488 echo $ECHO_N "(cached) $ECHO_C" >&6
101490 if test x$gcc_no_link = xyes; then
101491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101493 { (exit 1); exit 1; }; }
101495 cat >conftest.$ac_ext <<_ACEOF
101496 /* confdefs.h. */
101497 _ACEOF
101498 cat confdefs.h >>conftest.$ac_ext
101499 cat >>conftest.$ac_ext <<_ACEOF
101500 /* end confdefs.h. */
101501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101503 #define $ac_func innocuous_$ac_func
101505 /* System header to define __stub macros and hopefully few prototypes,
101506 which can conflict with char $ac_func (); below.
101507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101508 <limits.h> exists even on freestanding compilers. */
101510 #ifdef __STDC__
101511 # include <limits.h>
101512 #else
101513 # include <assert.h>
101514 #endif
101516 #undef $ac_func
101518 /* Override any gcc2 internal prototype to avoid an error. */
101519 #ifdef __cplusplus
101520 extern "C"
101522 #endif
101523 /* We use char because int might match the return type of a gcc2
101524 builtin and then its argument prototype would still apply. */
101525 char $ac_func ();
101526 /* The GNU C library defines this for functions which it implements
101527 to always fail with ENOSYS. Some functions are actually named
101528 something starting with __ and the normal name is an alias. */
101529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101530 choke me
101531 #else
101532 char (*f) () = $ac_func;
101533 #endif
101534 #ifdef __cplusplus
101536 #endif
101539 main ()
101541 return f != $ac_func;
101543 return 0;
101545 _ACEOF
101546 rm -f conftest.$ac_objext conftest$ac_exeext
101547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101548 (eval $ac_link) 2>conftest.er1
101549 ac_status=$?
101550 grep -v '^ *+' conftest.er1 >conftest.err
101551 rm -f conftest.er1
101552 cat conftest.err >&5
101553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101554 (exit $ac_status); } &&
101555 { ac_try='test -z "$ac_c_werror_flag"
101556 || test ! -s conftest.err'
101557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101558 (eval $ac_try) 2>&5
101559 ac_status=$?
101560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101561 (exit $ac_status); }; } &&
101562 { ac_try='test -s conftest$ac_exeext'
101563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101564 (eval $ac_try) 2>&5
101565 ac_status=$?
101566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101567 (exit $ac_status); }; }; then
101568 eval "$as_ac_var=yes"
101570 echo "$as_me: failed program was:" >&5
101571 sed 's/^/| /' conftest.$ac_ext >&5
101573 eval "$as_ac_var=no"
101575 rm -f conftest.err conftest.$ac_objext \
101576 conftest$ac_exeext conftest.$ac_ext
101578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101580 if test `eval echo '${'$as_ac_var'}'` = yes; then
101581 cat >>confdefs.h <<_ACEOF
101582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101583 _ACEOF
101590 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
101591 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
101592 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
101593 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
101594 echo $ECHO_N "(cached) $ECHO_C" >&6
101599 ac_ext=cc
101600 ac_cpp='$CXXCPP $CPPFLAGS'
101601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101605 cat >conftest.$ac_ext <<_ACEOF
101606 /* confdefs.h. */
101607 _ACEOF
101608 cat confdefs.h >>conftest.$ac_ext
101609 cat >>conftest.$ac_ext <<_ACEOF
101610 /* end confdefs.h. */
101611 #include <math.h>
101613 main ()
101615 _ldexpf(0, 0);
101617 return 0;
101619 _ACEOF
101620 rm -f conftest.$ac_objext
101621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101622 (eval $ac_compile) 2>conftest.er1
101623 ac_status=$?
101624 grep -v '^ *+' conftest.er1 >conftest.err
101625 rm -f conftest.er1
101626 cat conftest.err >&5
101627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101628 (exit $ac_status); } &&
101629 { ac_try='test -z "$ac_cxx_werror_flag"
101630 || test ! -s conftest.err'
101631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101632 (eval $ac_try) 2>&5
101633 ac_status=$?
101634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101635 (exit $ac_status); }; } &&
101636 { ac_try='test -s conftest.$ac_objext'
101637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101638 (eval $ac_try) 2>&5
101639 ac_status=$?
101640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101641 (exit $ac_status); }; }; then
101642 glibcxx_cv_func__ldexpf_use=yes
101644 echo "$as_me: failed program was:" >&5
101645 sed 's/^/| /' conftest.$ac_ext >&5
101647 glibcxx_cv_func__ldexpf_use=no
101649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101650 ac_ext=c
101651 ac_cpp='$CPP $CPPFLAGS'
101652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101660 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
101661 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
101663 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
101665 for ac_func in _ldexpf
101667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101668 echo "$as_me:$LINENO: checking for $ac_func" >&5
101669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101670 if eval "test \"\${$as_ac_var+set}\" = set"; then
101671 echo $ECHO_N "(cached) $ECHO_C" >&6
101673 if test x$gcc_no_link = xyes; then
101674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101676 { (exit 1); exit 1; }; }
101678 cat >conftest.$ac_ext <<_ACEOF
101679 /* confdefs.h. */
101680 _ACEOF
101681 cat confdefs.h >>conftest.$ac_ext
101682 cat >>conftest.$ac_ext <<_ACEOF
101683 /* end confdefs.h. */
101684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101686 #define $ac_func innocuous_$ac_func
101688 /* System header to define __stub macros and hopefully few prototypes,
101689 which can conflict with char $ac_func (); below.
101690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101691 <limits.h> exists even on freestanding compilers. */
101693 #ifdef __STDC__
101694 # include <limits.h>
101695 #else
101696 # include <assert.h>
101697 #endif
101699 #undef $ac_func
101701 /* Override any gcc2 internal prototype to avoid an error. */
101702 #ifdef __cplusplus
101703 extern "C"
101705 #endif
101706 /* We use char because int might match the return type of a gcc2
101707 builtin and then its argument prototype would still apply. */
101708 char $ac_func ();
101709 /* The GNU C library defines this for functions which it implements
101710 to always fail with ENOSYS. Some functions are actually named
101711 something starting with __ and the normal name is an alias. */
101712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101713 choke me
101714 #else
101715 char (*f) () = $ac_func;
101716 #endif
101717 #ifdef __cplusplus
101719 #endif
101722 main ()
101724 return f != $ac_func;
101726 return 0;
101728 _ACEOF
101729 rm -f conftest.$ac_objext conftest$ac_exeext
101730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101731 (eval $ac_link) 2>conftest.er1
101732 ac_status=$?
101733 grep -v '^ *+' conftest.er1 >conftest.err
101734 rm -f conftest.er1
101735 cat conftest.err >&5
101736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101737 (exit $ac_status); } &&
101738 { ac_try='test -z "$ac_c_werror_flag"
101739 || test ! -s conftest.err'
101740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101741 (eval $ac_try) 2>&5
101742 ac_status=$?
101743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101744 (exit $ac_status); }; } &&
101745 { ac_try='test -s conftest$ac_exeext'
101746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101747 (eval $ac_try) 2>&5
101748 ac_status=$?
101749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101750 (exit $ac_status); }; }; then
101751 eval "$as_ac_var=yes"
101753 echo "$as_me: failed program was:" >&5
101754 sed 's/^/| /' conftest.$ac_ext >&5
101756 eval "$as_ac_var=no"
101758 rm -f conftest.err conftest.$ac_objext \
101759 conftest$ac_exeext conftest.$ac_ext
101761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101763 if test `eval echo '${'$as_ac_var'}'` = yes; then
101764 cat >>confdefs.h <<_ACEOF
101765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101766 _ACEOF
101779 echo "$as_me:$LINENO: checking for logf declaration" >&5
101780 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
101781 if test x${glibcxx_cv_func_logf_use+set} != xset; then
101782 if test "${glibcxx_cv_func_logf_use+set}" = set; then
101783 echo $ECHO_N "(cached) $ECHO_C" >&6
101788 ac_ext=cc
101789 ac_cpp='$CXXCPP $CPPFLAGS'
101790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101794 cat >conftest.$ac_ext <<_ACEOF
101795 /* confdefs.h. */
101796 _ACEOF
101797 cat confdefs.h >>conftest.$ac_ext
101798 cat >>conftest.$ac_ext <<_ACEOF
101799 /* end confdefs.h. */
101800 #include <math.h>
101801 #ifdef HAVE_IEEEFP_H
101802 #include <ieeefp.h>
101803 #endif
101806 main ()
101808 logf(0);
101810 return 0;
101812 _ACEOF
101813 rm -f conftest.$ac_objext
101814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101815 (eval $ac_compile) 2>conftest.er1
101816 ac_status=$?
101817 grep -v '^ *+' conftest.er1 >conftest.err
101818 rm -f conftest.er1
101819 cat conftest.err >&5
101820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101821 (exit $ac_status); } &&
101822 { ac_try='test -z "$ac_cxx_werror_flag"
101823 || test ! -s conftest.err'
101824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101825 (eval $ac_try) 2>&5
101826 ac_status=$?
101827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101828 (exit $ac_status); }; } &&
101829 { ac_try='test -s conftest.$ac_objext'
101830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101831 (eval $ac_try) 2>&5
101832 ac_status=$?
101833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101834 (exit $ac_status); }; }; then
101835 glibcxx_cv_func_logf_use=yes
101837 echo "$as_me: failed program was:" >&5
101838 sed 's/^/| /' conftest.$ac_ext >&5
101840 glibcxx_cv_func_logf_use=no
101842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101843 ac_ext=c
101844 ac_cpp='$CPP $CPPFLAGS'
101845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101853 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
101854 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
101856 if test x$glibcxx_cv_func_logf_use = x"yes"; then
101858 for ac_func in logf
101860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101861 echo "$as_me:$LINENO: checking for $ac_func" >&5
101862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101863 if eval "test \"\${$as_ac_var+set}\" = set"; then
101864 echo $ECHO_N "(cached) $ECHO_C" >&6
101866 if test x$gcc_no_link = xyes; then
101867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101869 { (exit 1); exit 1; }; }
101871 cat >conftest.$ac_ext <<_ACEOF
101872 /* confdefs.h. */
101873 _ACEOF
101874 cat confdefs.h >>conftest.$ac_ext
101875 cat >>conftest.$ac_ext <<_ACEOF
101876 /* end confdefs.h. */
101877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101879 #define $ac_func innocuous_$ac_func
101881 /* System header to define __stub macros and hopefully few prototypes,
101882 which can conflict with char $ac_func (); below.
101883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101884 <limits.h> exists even on freestanding compilers. */
101886 #ifdef __STDC__
101887 # include <limits.h>
101888 #else
101889 # include <assert.h>
101890 #endif
101892 #undef $ac_func
101894 /* Override any gcc2 internal prototype to avoid an error. */
101895 #ifdef __cplusplus
101896 extern "C"
101898 #endif
101899 /* We use char because int might match the return type of a gcc2
101900 builtin and then its argument prototype would still apply. */
101901 char $ac_func ();
101902 /* The GNU C library defines this for functions which it implements
101903 to always fail with ENOSYS. Some functions are actually named
101904 something starting with __ and the normal name is an alias. */
101905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101906 choke me
101907 #else
101908 char (*f) () = $ac_func;
101909 #endif
101910 #ifdef __cplusplus
101912 #endif
101915 main ()
101917 return f != $ac_func;
101919 return 0;
101921 _ACEOF
101922 rm -f conftest.$ac_objext conftest$ac_exeext
101923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101924 (eval $ac_link) 2>conftest.er1
101925 ac_status=$?
101926 grep -v '^ *+' conftest.er1 >conftest.err
101927 rm -f conftest.er1
101928 cat conftest.err >&5
101929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101930 (exit $ac_status); } &&
101931 { ac_try='test -z "$ac_c_werror_flag"
101932 || test ! -s conftest.err'
101933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101934 (eval $ac_try) 2>&5
101935 ac_status=$?
101936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101937 (exit $ac_status); }; } &&
101938 { ac_try='test -s conftest$ac_exeext'
101939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101940 (eval $ac_try) 2>&5
101941 ac_status=$?
101942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101943 (exit $ac_status); }; }; then
101944 eval "$as_ac_var=yes"
101946 echo "$as_me: failed program was:" >&5
101947 sed 's/^/| /' conftest.$ac_ext >&5
101949 eval "$as_ac_var=no"
101951 rm -f conftest.err conftest.$ac_objext \
101952 conftest$ac_exeext conftest.$ac_ext
101954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101956 if test `eval echo '${'$as_ac_var'}'` = yes; then
101957 cat >>confdefs.h <<_ACEOF
101958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101959 _ACEOF
101966 echo "$as_me:$LINENO: checking for _logf declaration" >&5
101967 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
101968 if test x${glibcxx_cv_func__logf_use+set} != xset; then
101969 if test "${glibcxx_cv_func__logf_use+set}" = set; then
101970 echo $ECHO_N "(cached) $ECHO_C" >&6
101975 ac_ext=cc
101976 ac_cpp='$CXXCPP $CPPFLAGS'
101977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101981 cat >conftest.$ac_ext <<_ACEOF
101982 /* confdefs.h. */
101983 _ACEOF
101984 cat confdefs.h >>conftest.$ac_ext
101985 cat >>conftest.$ac_ext <<_ACEOF
101986 /* end confdefs.h. */
101987 #include <math.h>
101988 #ifdef HAVE_IEEEFP_H
101989 #include <ieeefp.h>
101990 #endif
101993 main ()
101995 _logf(0);
101997 return 0;
101999 _ACEOF
102000 rm -f conftest.$ac_objext
102001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102002 (eval $ac_compile) 2>conftest.er1
102003 ac_status=$?
102004 grep -v '^ *+' conftest.er1 >conftest.err
102005 rm -f conftest.er1
102006 cat conftest.err >&5
102007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102008 (exit $ac_status); } &&
102009 { ac_try='test -z "$ac_cxx_werror_flag"
102010 || test ! -s conftest.err'
102011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102012 (eval $ac_try) 2>&5
102013 ac_status=$?
102014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102015 (exit $ac_status); }; } &&
102016 { ac_try='test -s conftest.$ac_objext'
102017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102018 (eval $ac_try) 2>&5
102019 ac_status=$?
102020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102021 (exit $ac_status); }; }; then
102022 glibcxx_cv_func__logf_use=yes
102024 echo "$as_me: failed program was:" >&5
102025 sed 's/^/| /' conftest.$ac_ext >&5
102027 glibcxx_cv_func__logf_use=no
102029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102030 ac_ext=c
102031 ac_cpp='$CPP $CPPFLAGS'
102032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
102041 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
102043 if test x$glibcxx_cv_func__logf_use = x"yes"; then
102045 for ac_func in _logf
102047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102048 echo "$as_me:$LINENO: checking for $ac_func" >&5
102049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102050 if eval "test \"\${$as_ac_var+set}\" = set"; then
102051 echo $ECHO_N "(cached) $ECHO_C" >&6
102053 if test x$gcc_no_link = xyes; then
102054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102056 { (exit 1); exit 1; }; }
102058 cat >conftest.$ac_ext <<_ACEOF
102059 /* confdefs.h. */
102060 _ACEOF
102061 cat confdefs.h >>conftest.$ac_ext
102062 cat >>conftest.$ac_ext <<_ACEOF
102063 /* end confdefs.h. */
102064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102066 #define $ac_func innocuous_$ac_func
102068 /* System header to define __stub macros and hopefully few prototypes,
102069 which can conflict with char $ac_func (); below.
102070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102071 <limits.h> exists even on freestanding compilers. */
102073 #ifdef __STDC__
102074 # include <limits.h>
102075 #else
102076 # include <assert.h>
102077 #endif
102079 #undef $ac_func
102081 /* Override any gcc2 internal prototype to avoid an error. */
102082 #ifdef __cplusplus
102083 extern "C"
102085 #endif
102086 /* We use char because int might match the return type of a gcc2
102087 builtin and then its argument prototype would still apply. */
102088 char $ac_func ();
102089 /* The GNU C library defines this for functions which it implements
102090 to always fail with ENOSYS. Some functions are actually named
102091 something starting with __ and the normal name is an alias. */
102092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102093 choke me
102094 #else
102095 char (*f) () = $ac_func;
102096 #endif
102097 #ifdef __cplusplus
102099 #endif
102102 main ()
102104 return f != $ac_func;
102106 return 0;
102108 _ACEOF
102109 rm -f conftest.$ac_objext conftest$ac_exeext
102110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102111 (eval $ac_link) 2>conftest.er1
102112 ac_status=$?
102113 grep -v '^ *+' conftest.er1 >conftest.err
102114 rm -f conftest.er1
102115 cat conftest.err >&5
102116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102117 (exit $ac_status); } &&
102118 { ac_try='test -z "$ac_c_werror_flag"
102119 || test ! -s conftest.err'
102120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102121 (eval $ac_try) 2>&5
102122 ac_status=$?
102123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102124 (exit $ac_status); }; } &&
102125 { ac_try='test -s conftest$ac_exeext'
102126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102127 (eval $ac_try) 2>&5
102128 ac_status=$?
102129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102130 (exit $ac_status); }; }; then
102131 eval "$as_ac_var=yes"
102133 echo "$as_me: failed program was:" >&5
102134 sed 's/^/| /' conftest.$ac_ext >&5
102136 eval "$as_ac_var=no"
102138 rm -f conftest.err conftest.$ac_objext \
102139 conftest$ac_exeext conftest.$ac_ext
102141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102143 if test `eval echo '${'$as_ac_var'}'` = yes; then
102144 cat >>confdefs.h <<_ACEOF
102145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102146 _ACEOF
102159 echo "$as_me:$LINENO: checking for log10f declaration" >&5
102160 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
102161 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
102162 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
102163 echo $ECHO_N "(cached) $ECHO_C" >&6
102168 ac_ext=cc
102169 ac_cpp='$CXXCPP $CPPFLAGS'
102170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102174 cat >conftest.$ac_ext <<_ACEOF
102175 /* confdefs.h. */
102176 _ACEOF
102177 cat confdefs.h >>conftest.$ac_ext
102178 cat >>conftest.$ac_ext <<_ACEOF
102179 /* end confdefs.h. */
102180 #include <math.h>
102181 #ifdef HAVE_IEEEFP_H
102182 #include <ieeefp.h>
102183 #endif
102186 main ()
102188 log10f(0);
102190 return 0;
102192 _ACEOF
102193 rm -f conftest.$ac_objext
102194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102195 (eval $ac_compile) 2>conftest.er1
102196 ac_status=$?
102197 grep -v '^ *+' conftest.er1 >conftest.err
102198 rm -f conftest.er1
102199 cat conftest.err >&5
102200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102201 (exit $ac_status); } &&
102202 { ac_try='test -z "$ac_cxx_werror_flag"
102203 || test ! -s conftest.err'
102204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102205 (eval $ac_try) 2>&5
102206 ac_status=$?
102207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102208 (exit $ac_status); }; } &&
102209 { ac_try='test -s conftest.$ac_objext'
102210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102211 (eval $ac_try) 2>&5
102212 ac_status=$?
102213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102214 (exit $ac_status); }; }; then
102215 glibcxx_cv_func_log10f_use=yes
102217 echo "$as_me: failed program was:" >&5
102218 sed 's/^/| /' conftest.$ac_ext >&5
102220 glibcxx_cv_func_log10f_use=no
102222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102223 ac_ext=c
102224 ac_cpp='$CPP $CPPFLAGS'
102225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
102234 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
102236 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
102238 for ac_func in log10f
102240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102241 echo "$as_me:$LINENO: checking for $ac_func" >&5
102242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102243 if eval "test \"\${$as_ac_var+set}\" = set"; then
102244 echo $ECHO_N "(cached) $ECHO_C" >&6
102246 if test x$gcc_no_link = xyes; then
102247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102249 { (exit 1); exit 1; }; }
102251 cat >conftest.$ac_ext <<_ACEOF
102252 /* confdefs.h. */
102253 _ACEOF
102254 cat confdefs.h >>conftest.$ac_ext
102255 cat >>conftest.$ac_ext <<_ACEOF
102256 /* end confdefs.h. */
102257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102259 #define $ac_func innocuous_$ac_func
102261 /* System header to define __stub macros and hopefully few prototypes,
102262 which can conflict with char $ac_func (); below.
102263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102264 <limits.h> exists even on freestanding compilers. */
102266 #ifdef __STDC__
102267 # include <limits.h>
102268 #else
102269 # include <assert.h>
102270 #endif
102272 #undef $ac_func
102274 /* Override any gcc2 internal prototype to avoid an error. */
102275 #ifdef __cplusplus
102276 extern "C"
102278 #endif
102279 /* We use char because int might match the return type of a gcc2
102280 builtin and then its argument prototype would still apply. */
102281 char $ac_func ();
102282 /* The GNU C library defines this for functions which it implements
102283 to always fail with ENOSYS. Some functions are actually named
102284 something starting with __ and the normal name is an alias. */
102285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102286 choke me
102287 #else
102288 char (*f) () = $ac_func;
102289 #endif
102290 #ifdef __cplusplus
102292 #endif
102295 main ()
102297 return f != $ac_func;
102299 return 0;
102301 _ACEOF
102302 rm -f conftest.$ac_objext conftest$ac_exeext
102303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102304 (eval $ac_link) 2>conftest.er1
102305 ac_status=$?
102306 grep -v '^ *+' conftest.er1 >conftest.err
102307 rm -f conftest.er1
102308 cat conftest.err >&5
102309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102310 (exit $ac_status); } &&
102311 { ac_try='test -z "$ac_c_werror_flag"
102312 || test ! -s conftest.err'
102313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102314 (eval $ac_try) 2>&5
102315 ac_status=$?
102316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102317 (exit $ac_status); }; } &&
102318 { ac_try='test -s conftest$ac_exeext'
102319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102320 (eval $ac_try) 2>&5
102321 ac_status=$?
102322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102323 (exit $ac_status); }; }; then
102324 eval "$as_ac_var=yes"
102326 echo "$as_me: failed program was:" >&5
102327 sed 's/^/| /' conftest.$ac_ext >&5
102329 eval "$as_ac_var=no"
102331 rm -f conftest.err conftest.$ac_objext \
102332 conftest$ac_exeext conftest.$ac_ext
102334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102336 if test `eval echo '${'$as_ac_var'}'` = yes; then
102337 cat >>confdefs.h <<_ACEOF
102338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102339 _ACEOF
102346 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
102347 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
102348 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
102349 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
102350 echo $ECHO_N "(cached) $ECHO_C" >&6
102355 ac_ext=cc
102356 ac_cpp='$CXXCPP $CPPFLAGS'
102357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102361 cat >conftest.$ac_ext <<_ACEOF
102362 /* confdefs.h. */
102363 _ACEOF
102364 cat confdefs.h >>conftest.$ac_ext
102365 cat >>conftest.$ac_ext <<_ACEOF
102366 /* end confdefs.h. */
102367 #include <math.h>
102368 #ifdef HAVE_IEEEFP_H
102369 #include <ieeefp.h>
102370 #endif
102373 main ()
102375 _log10f(0);
102377 return 0;
102379 _ACEOF
102380 rm -f conftest.$ac_objext
102381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102382 (eval $ac_compile) 2>conftest.er1
102383 ac_status=$?
102384 grep -v '^ *+' conftest.er1 >conftest.err
102385 rm -f conftest.er1
102386 cat conftest.err >&5
102387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102388 (exit $ac_status); } &&
102389 { ac_try='test -z "$ac_cxx_werror_flag"
102390 || test ! -s conftest.err'
102391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102392 (eval $ac_try) 2>&5
102393 ac_status=$?
102394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102395 (exit $ac_status); }; } &&
102396 { ac_try='test -s conftest.$ac_objext'
102397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102398 (eval $ac_try) 2>&5
102399 ac_status=$?
102400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102401 (exit $ac_status); }; }; then
102402 glibcxx_cv_func__log10f_use=yes
102404 echo "$as_me: failed program was:" >&5
102405 sed 's/^/| /' conftest.$ac_ext >&5
102407 glibcxx_cv_func__log10f_use=no
102409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102410 ac_ext=c
102411 ac_cpp='$CPP $CPPFLAGS'
102412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
102421 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
102423 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
102425 for ac_func in _log10f
102427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102428 echo "$as_me:$LINENO: checking for $ac_func" >&5
102429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102430 if eval "test \"\${$as_ac_var+set}\" = set"; then
102431 echo $ECHO_N "(cached) $ECHO_C" >&6
102433 if test x$gcc_no_link = xyes; then
102434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102436 { (exit 1); exit 1; }; }
102438 cat >conftest.$ac_ext <<_ACEOF
102439 /* confdefs.h. */
102440 _ACEOF
102441 cat confdefs.h >>conftest.$ac_ext
102442 cat >>conftest.$ac_ext <<_ACEOF
102443 /* end confdefs.h. */
102444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102446 #define $ac_func innocuous_$ac_func
102448 /* System header to define __stub macros and hopefully few prototypes,
102449 which can conflict with char $ac_func (); below.
102450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102451 <limits.h> exists even on freestanding compilers. */
102453 #ifdef __STDC__
102454 # include <limits.h>
102455 #else
102456 # include <assert.h>
102457 #endif
102459 #undef $ac_func
102461 /* Override any gcc2 internal prototype to avoid an error. */
102462 #ifdef __cplusplus
102463 extern "C"
102465 #endif
102466 /* We use char because int might match the return type of a gcc2
102467 builtin and then its argument prototype would still apply. */
102468 char $ac_func ();
102469 /* The GNU C library defines this for functions which it implements
102470 to always fail with ENOSYS. Some functions are actually named
102471 something starting with __ and the normal name is an alias. */
102472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102473 choke me
102474 #else
102475 char (*f) () = $ac_func;
102476 #endif
102477 #ifdef __cplusplus
102479 #endif
102482 main ()
102484 return f != $ac_func;
102486 return 0;
102488 _ACEOF
102489 rm -f conftest.$ac_objext conftest$ac_exeext
102490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102491 (eval $ac_link) 2>conftest.er1
102492 ac_status=$?
102493 grep -v '^ *+' conftest.er1 >conftest.err
102494 rm -f conftest.er1
102495 cat conftest.err >&5
102496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102497 (exit $ac_status); } &&
102498 { ac_try='test -z "$ac_c_werror_flag"
102499 || test ! -s conftest.err'
102500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102501 (eval $ac_try) 2>&5
102502 ac_status=$?
102503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102504 (exit $ac_status); }; } &&
102505 { ac_try='test -s conftest$ac_exeext'
102506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102507 (eval $ac_try) 2>&5
102508 ac_status=$?
102509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102510 (exit $ac_status); }; }; then
102511 eval "$as_ac_var=yes"
102513 echo "$as_me: failed program was:" >&5
102514 sed 's/^/| /' conftest.$ac_ext >&5
102516 eval "$as_ac_var=no"
102518 rm -f conftest.err conftest.$ac_objext \
102519 conftest$ac_exeext conftest.$ac_ext
102521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102523 if test `eval echo '${'$as_ac_var'}'` = yes; then
102524 cat >>confdefs.h <<_ACEOF
102525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102526 _ACEOF
102539 echo "$as_me:$LINENO: checking for modff declaration" >&5
102540 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
102541 if test x${glibcxx_cv_func_modff_use+set} != xset; then
102542 if test "${glibcxx_cv_func_modff_use+set}" = set; then
102543 echo $ECHO_N "(cached) $ECHO_C" >&6
102548 ac_ext=cc
102549 ac_cpp='$CXXCPP $CPPFLAGS'
102550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102554 cat >conftest.$ac_ext <<_ACEOF
102555 /* confdefs.h. */
102556 _ACEOF
102557 cat confdefs.h >>conftest.$ac_ext
102558 cat >>conftest.$ac_ext <<_ACEOF
102559 /* end confdefs.h. */
102560 #include <math.h>
102562 main ()
102564 modff(0, 0);
102566 return 0;
102568 _ACEOF
102569 rm -f conftest.$ac_objext
102570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102571 (eval $ac_compile) 2>conftest.er1
102572 ac_status=$?
102573 grep -v '^ *+' conftest.er1 >conftest.err
102574 rm -f conftest.er1
102575 cat conftest.err >&5
102576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102577 (exit $ac_status); } &&
102578 { ac_try='test -z "$ac_cxx_werror_flag"
102579 || test ! -s conftest.err'
102580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102581 (eval $ac_try) 2>&5
102582 ac_status=$?
102583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102584 (exit $ac_status); }; } &&
102585 { ac_try='test -s conftest.$ac_objext'
102586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102587 (eval $ac_try) 2>&5
102588 ac_status=$?
102589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102590 (exit $ac_status); }; }; then
102591 glibcxx_cv_func_modff_use=yes
102593 echo "$as_me: failed program was:" >&5
102594 sed 's/^/| /' conftest.$ac_ext >&5
102596 glibcxx_cv_func_modff_use=no
102598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102599 ac_ext=c
102600 ac_cpp='$CPP $CPPFLAGS'
102601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102609 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
102610 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
102612 if test x$glibcxx_cv_func_modff_use = x"yes"; then
102614 for ac_func in modff
102616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102617 echo "$as_me:$LINENO: checking for $ac_func" >&5
102618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102619 if eval "test \"\${$as_ac_var+set}\" = set"; then
102620 echo $ECHO_N "(cached) $ECHO_C" >&6
102622 if test x$gcc_no_link = xyes; then
102623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102625 { (exit 1); exit 1; }; }
102627 cat >conftest.$ac_ext <<_ACEOF
102628 /* confdefs.h. */
102629 _ACEOF
102630 cat confdefs.h >>conftest.$ac_ext
102631 cat >>conftest.$ac_ext <<_ACEOF
102632 /* end confdefs.h. */
102633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102635 #define $ac_func innocuous_$ac_func
102637 /* System header to define __stub macros and hopefully few prototypes,
102638 which can conflict with char $ac_func (); below.
102639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102640 <limits.h> exists even on freestanding compilers. */
102642 #ifdef __STDC__
102643 # include <limits.h>
102644 #else
102645 # include <assert.h>
102646 #endif
102648 #undef $ac_func
102650 /* Override any gcc2 internal prototype to avoid an error. */
102651 #ifdef __cplusplus
102652 extern "C"
102654 #endif
102655 /* We use char because int might match the return type of a gcc2
102656 builtin and then its argument prototype would still apply. */
102657 char $ac_func ();
102658 /* The GNU C library defines this for functions which it implements
102659 to always fail with ENOSYS. Some functions are actually named
102660 something starting with __ and the normal name is an alias. */
102661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102662 choke me
102663 #else
102664 char (*f) () = $ac_func;
102665 #endif
102666 #ifdef __cplusplus
102668 #endif
102671 main ()
102673 return f != $ac_func;
102675 return 0;
102677 _ACEOF
102678 rm -f conftest.$ac_objext conftest$ac_exeext
102679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102680 (eval $ac_link) 2>conftest.er1
102681 ac_status=$?
102682 grep -v '^ *+' conftest.er1 >conftest.err
102683 rm -f conftest.er1
102684 cat conftest.err >&5
102685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102686 (exit $ac_status); } &&
102687 { ac_try='test -z "$ac_c_werror_flag"
102688 || test ! -s conftest.err'
102689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102690 (eval $ac_try) 2>&5
102691 ac_status=$?
102692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102693 (exit $ac_status); }; } &&
102694 { ac_try='test -s conftest$ac_exeext'
102695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102696 (eval $ac_try) 2>&5
102697 ac_status=$?
102698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102699 (exit $ac_status); }; }; then
102700 eval "$as_ac_var=yes"
102702 echo "$as_me: failed program was:" >&5
102703 sed 's/^/| /' conftest.$ac_ext >&5
102705 eval "$as_ac_var=no"
102707 rm -f conftest.err conftest.$ac_objext \
102708 conftest$ac_exeext conftest.$ac_ext
102710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102712 if test `eval echo '${'$as_ac_var'}'` = yes; then
102713 cat >>confdefs.h <<_ACEOF
102714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102715 _ACEOF
102722 echo "$as_me:$LINENO: checking for _modff declaration" >&5
102723 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
102724 if test x${glibcxx_cv_func__modff_use+set} != xset; then
102725 if test "${glibcxx_cv_func__modff_use+set}" = set; then
102726 echo $ECHO_N "(cached) $ECHO_C" >&6
102731 ac_ext=cc
102732 ac_cpp='$CXXCPP $CPPFLAGS'
102733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102737 cat >conftest.$ac_ext <<_ACEOF
102738 /* confdefs.h. */
102739 _ACEOF
102740 cat confdefs.h >>conftest.$ac_ext
102741 cat >>conftest.$ac_ext <<_ACEOF
102742 /* end confdefs.h. */
102743 #include <math.h>
102745 main ()
102747 _modff(0, 0);
102749 return 0;
102751 _ACEOF
102752 rm -f conftest.$ac_objext
102753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102754 (eval $ac_compile) 2>conftest.er1
102755 ac_status=$?
102756 grep -v '^ *+' conftest.er1 >conftest.err
102757 rm -f conftest.er1
102758 cat conftest.err >&5
102759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102760 (exit $ac_status); } &&
102761 { ac_try='test -z "$ac_cxx_werror_flag"
102762 || test ! -s conftest.err'
102763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102764 (eval $ac_try) 2>&5
102765 ac_status=$?
102766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102767 (exit $ac_status); }; } &&
102768 { ac_try='test -s conftest.$ac_objext'
102769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102770 (eval $ac_try) 2>&5
102771 ac_status=$?
102772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102773 (exit $ac_status); }; }; then
102774 glibcxx_cv_func__modff_use=yes
102776 echo "$as_me: failed program was:" >&5
102777 sed 's/^/| /' conftest.$ac_ext >&5
102779 glibcxx_cv_func__modff_use=no
102781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102782 ac_ext=c
102783 ac_cpp='$CPP $CPPFLAGS'
102784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
102793 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
102795 if test x$glibcxx_cv_func__modff_use = x"yes"; then
102797 for ac_func in _modff
102799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102800 echo "$as_me:$LINENO: checking for $ac_func" >&5
102801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102802 if eval "test \"\${$as_ac_var+set}\" = set"; then
102803 echo $ECHO_N "(cached) $ECHO_C" >&6
102805 if test x$gcc_no_link = xyes; then
102806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102808 { (exit 1); exit 1; }; }
102810 cat >conftest.$ac_ext <<_ACEOF
102811 /* confdefs.h. */
102812 _ACEOF
102813 cat confdefs.h >>conftest.$ac_ext
102814 cat >>conftest.$ac_ext <<_ACEOF
102815 /* end confdefs.h. */
102816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102818 #define $ac_func innocuous_$ac_func
102820 /* System header to define __stub macros and hopefully few prototypes,
102821 which can conflict with char $ac_func (); below.
102822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102823 <limits.h> exists even on freestanding compilers. */
102825 #ifdef __STDC__
102826 # include <limits.h>
102827 #else
102828 # include <assert.h>
102829 #endif
102831 #undef $ac_func
102833 /* Override any gcc2 internal prototype to avoid an error. */
102834 #ifdef __cplusplus
102835 extern "C"
102837 #endif
102838 /* We use char because int might match the return type of a gcc2
102839 builtin and then its argument prototype would still apply. */
102840 char $ac_func ();
102841 /* The GNU C library defines this for functions which it implements
102842 to always fail with ENOSYS. Some functions are actually named
102843 something starting with __ and the normal name is an alias. */
102844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102845 choke me
102846 #else
102847 char (*f) () = $ac_func;
102848 #endif
102849 #ifdef __cplusplus
102851 #endif
102854 main ()
102856 return f != $ac_func;
102858 return 0;
102860 _ACEOF
102861 rm -f conftest.$ac_objext conftest$ac_exeext
102862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102863 (eval $ac_link) 2>conftest.er1
102864 ac_status=$?
102865 grep -v '^ *+' conftest.er1 >conftest.err
102866 rm -f conftest.er1
102867 cat conftest.err >&5
102868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102869 (exit $ac_status); } &&
102870 { ac_try='test -z "$ac_c_werror_flag"
102871 || test ! -s conftest.err'
102872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102873 (eval $ac_try) 2>&5
102874 ac_status=$?
102875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102876 (exit $ac_status); }; } &&
102877 { ac_try='test -s conftest$ac_exeext'
102878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102879 (eval $ac_try) 2>&5
102880 ac_status=$?
102881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102882 (exit $ac_status); }; }; then
102883 eval "$as_ac_var=yes"
102885 echo "$as_me: failed program was:" >&5
102886 sed 's/^/| /' conftest.$ac_ext >&5
102888 eval "$as_ac_var=no"
102890 rm -f conftest.err conftest.$ac_objext \
102891 conftest$ac_exeext conftest.$ac_ext
102893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102895 if test `eval echo '${'$as_ac_var'}'` = yes; then
102896 cat >>confdefs.h <<_ACEOF
102897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102898 _ACEOF
102911 echo "$as_me:$LINENO: checking for modf declaration" >&5
102912 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
102913 if test x${glibcxx_cv_func_modf_use+set} != xset; then
102914 if test "${glibcxx_cv_func_modf_use+set}" = set; then
102915 echo $ECHO_N "(cached) $ECHO_C" >&6
102920 ac_ext=cc
102921 ac_cpp='$CXXCPP $CPPFLAGS'
102922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102926 cat >conftest.$ac_ext <<_ACEOF
102927 /* confdefs.h. */
102928 _ACEOF
102929 cat confdefs.h >>conftest.$ac_ext
102930 cat >>conftest.$ac_ext <<_ACEOF
102931 /* end confdefs.h. */
102932 #include <math.h>
102934 main ()
102936 modf(0, 0);
102938 return 0;
102940 _ACEOF
102941 rm -f conftest.$ac_objext
102942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102943 (eval $ac_compile) 2>conftest.er1
102944 ac_status=$?
102945 grep -v '^ *+' conftest.er1 >conftest.err
102946 rm -f conftest.er1
102947 cat conftest.err >&5
102948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102949 (exit $ac_status); } &&
102950 { ac_try='test -z "$ac_cxx_werror_flag"
102951 || test ! -s conftest.err'
102952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102953 (eval $ac_try) 2>&5
102954 ac_status=$?
102955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102956 (exit $ac_status); }; } &&
102957 { ac_try='test -s conftest.$ac_objext'
102958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102959 (eval $ac_try) 2>&5
102960 ac_status=$?
102961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102962 (exit $ac_status); }; }; then
102963 glibcxx_cv_func_modf_use=yes
102965 echo "$as_me: failed program was:" >&5
102966 sed 's/^/| /' conftest.$ac_ext >&5
102968 glibcxx_cv_func_modf_use=no
102970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102971 ac_ext=c
102972 ac_cpp='$CPP $CPPFLAGS'
102973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102981 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
102982 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
102984 if test x$glibcxx_cv_func_modf_use = x"yes"; then
102986 for ac_func in modf
102988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102989 echo "$as_me:$LINENO: checking for $ac_func" >&5
102990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102991 if eval "test \"\${$as_ac_var+set}\" = set"; then
102992 echo $ECHO_N "(cached) $ECHO_C" >&6
102994 if test x$gcc_no_link = xyes; then
102995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102997 { (exit 1); exit 1; }; }
102999 cat >conftest.$ac_ext <<_ACEOF
103000 /* confdefs.h. */
103001 _ACEOF
103002 cat confdefs.h >>conftest.$ac_ext
103003 cat >>conftest.$ac_ext <<_ACEOF
103004 /* end confdefs.h. */
103005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103007 #define $ac_func innocuous_$ac_func
103009 /* System header to define __stub macros and hopefully few prototypes,
103010 which can conflict with char $ac_func (); below.
103011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103012 <limits.h> exists even on freestanding compilers. */
103014 #ifdef __STDC__
103015 # include <limits.h>
103016 #else
103017 # include <assert.h>
103018 #endif
103020 #undef $ac_func
103022 /* Override any gcc2 internal prototype to avoid an error. */
103023 #ifdef __cplusplus
103024 extern "C"
103026 #endif
103027 /* We use char because int might match the return type of a gcc2
103028 builtin and then its argument prototype would still apply. */
103029 char $ac_func ();
103030 /* The GNU C library defines this for functions which it implements
103031 to always fail with ENOSYS. Some functions are actually named
103032 something starting with __ and the normal name is an alias. */
103033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103034 choke me
103035 #else
103036 char (*f) () = $ac_func;
103037 #endif
103038 #ifdef __cplusplus
103040 #endif
103043 main ()
103045 return f != $ac_func;
103047 return 0;
103049 _ACEOF
103050 rm -f conftest.$ac_objext conftest$ac_exeext
103051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103052 (eval $ac_link) 2>conftest.er1
103053 ac_status=$?
103054 grep -v '^ *+' conftest.er1 >conftest.err
103055 rm -f conftest.er1
103056 cat conftest.err >&5
103057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103058 (exit $ac_status); } &&
103059 { ac_try='test -z "$ac_c_werror_flag"
103060 || test ! -s conftest.err'
103061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103062 (eval $ac_try) 2>&5
103063 ac_status=$?
103064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103065 (exit $ac_status); }; } &&
103066 { ac_try='test -s conftest$ac_exeext'
103067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103068 (eval $ac_try) 2>&5
103069 ac_status=$?
103070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103071 (exit $ac_status); }; }; then
103072 eval "$as_ac_var=yes"
103074 echo "$as_me: failed program was:" >&5
103075 sed 's/^/| /' conftest.$ac_ext >&5
103077 eval "$as_ac_var=no"
103079 rm -f conftest.err conftest.$ac_objext \
103080 conftest$ac_exeext conftest.$ac_ext
103082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103084 if test `eval echo '${'$as_ac_var'}'` = yes; then
103085 cat >>confdefs.h <<_ACEOF
103086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103087 _ACEOF
103094 echo "$as_me:$LINENO: checking for _modf declaration" >&5
103095 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
103096 if test x${glibcxx_cv_func__modf_use+set} != xset; then
103097 if test "${glibcxx_cv_func__modf_use+set}" = set; then
103098 echo $ECHO_N "(cached) $ECHO_C" >&6
103103 ac_ext=cc
103104 ac_cpp='$CXXCPP $CPPFLAGS'
103105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103109 cat >conftest.$ac_ext <<_ACEOF
103110 /* confdefs.h. */
103111 _ACEOF
103112 cat confdefs.h >>conftest.$ac_ext
103113 cat >>conftest.$ac_ext <<_ACEOF
103114 /* end confdefs.h. */
103115 #include <math.h>
103117 main ()
103119 _modf(0, 0);
103121 return 0;
103123 _ACEOF
103124 rm -f conftest.$ac_objext
103125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103126 (eval $ac_compile) 2>conftest.er1
103127 ac_status=$?
103128 grep -v '^ *+' conftest.er1 >conftest.err
103129 rm -f conftest.er1
103130 cat conftest.err >&5
103131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103132 (exit $ac_status); } &&
103133 { ac_try='test -z "$ac_cxx_werror_flag"
103134 || test ! -s conftest.err'
103135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103136 (eval $ac_try) 2>&5
103137 ac_status=$?
103138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103139 (exit $ac_status); }; } &&
103140 { ac_try='test -s conftest.$ac_objext'
103141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103142 (eval $ac_try) 2>&5
103143 ac_status=$?
103144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103145 (exit $ac_status); }; }; then
103146 glibcxx_cv_func__modf_use=yes
103148 echo "$as_me: failed program was:" >&5
103149 sed 's/^/| /' conftest.$ac_ext >&5
103151 glibcxx_cv_func__modf_use=no
103153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103154 ac_ext=c
103155 ac_cpp='$CPP $CPPFLAGS'
103156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
103165 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
103167 if test x$glibcxx_cv_func__modf_use = x"yes"; then
103169 for ac_func in _modf
103171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103172 echo "$as_me:$LINENO: checking for $ac_func" >&5
103173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103174 if eval "test \"\${$as_ac_var+set}\" = set"; then
103175 echo $ECHO_N "(cached) $ECHO_C" >&6
103177 if test x$gcc_no_link = xyes; then
103178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103180 { (exit 1); exit 1; }; }
103182 cat >conftest.$ac_ext <<_ACEOF
103183 /* confdefs.h. */
103184 _ACEOF
103185 cat confdefs.h >>conftest.$ac_ext
103186 cat >>conftest.$ac_ext <<_ACEOF
103187 /* end confdefs.h. */
103188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103190 #define $ac_func innocuous_$ac_func
103192 /* System header to define __stub macros and hopefully few prototypes,
103193 which can conflict with char $ac_func (); below.
103194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103195 <limits.h> exists even on freestanding compilers. */
103197 #ifdef __STDC__
103198 # include <limits.h>
103199 #else
103200 # include <assert.h>
103201 #endif
103203 #undef $ac_func
103205 /* Override any gcc2 internal prototype to avoid an error. */
103206 #ifdef __cplusplus
103207 extern "C"
103209 #endif
103210 /* We use char because int might match the return type of a gcc2
103211 builtin and then its argument prototype would still apply. */
103212 char $ac_func ();
103213 /* The GNU C library defines this for functions which it implements
103214 to always fail with ENOSYS. Some functions are actually named
103215 something starting with __ and the normal name is an alias. */
103216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103217 choke me
103218 #else
103219 char (*f) () = $ac_func;
103220 #endif
103221 #ifdef __cplusplus
103223 #endif
103226 main ()
103228 return f != $ac_func;
103230 return 0;
103232 _ACEOF
103233 rm -f conftest.$ac_objext conftest$ac_exeext
103234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103235 (eval $ac_link) 2>conftest.er1
103236 ac_status=$?
103237 grep -v '^ *+' conftest.er1 >conftest.err
103238 rm -f conftest.er1
103239 cat conftest.err >&5
103240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103241 (exit $ac_status); } &&
103242 { ac_try='test -z "$ac_c_werror_flag"
103243 || test ! -s conftest.err'
103244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103245 (eval $ac_try) 2>&5
103246 ac_status=$?
103247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103248 (exit $ac_status); }; } &&
103249 { ac_try='test -s conftest$ac_exeext'
103250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103251 (eval $ac_try) 2>&5
103252 ac_status=$?
103253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103254 (exit $ac_status); }; }; then
103255 eval "$as_ac_var=yes"
103257 echo "$as_me: failed program was:" >&5
103258 sed 's/^/| /' conftest.$ac_ext >&5
103260 eval "$as_ac_var=no"
103262 rm -f conftest.err conftest.$ac_objext \
103263 conftest$ac_exeext conftest.$ac_ext
103265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103267 if test `eval echo '${'$as_ac_var'}'` = yes; then
103268 cat >>confdefs.h <<_ACEOF
103269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103270 _ACEOF
103283 echo "$as_me:$LINENO: checking for powf declaration" >&5
103284 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
103285 if test x${glibcxx_cv_func_powf_use+set} != xset; then
103286 if test "${glibcxx_cv_func_powf_use+set}" = set; then
103287 echo $ECHO_N "(cached) $ECHO_C" >&6
103292 ac_ext=cc
103293 ac_cpp='$CXXCPP $CPPFLAGS'
103294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103298 cat >conftest.$ac_ext <<_ACEOF
103299 /* confdefs.h. */
103300 _ACEOF
103301 cat confdefs.h >>conftest.$ac_ext
103302 cat >>conftest.$ac_ext <<_ACEOF
103303 /* end confdefs.h. */
103304 #include <math.h>
103306 main ()
103308 powf(0, 0);
103310 return 0;
103312 _ACEOF
103313 rm -f conftest.$ac_objext
103314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103315 (eval $ac_compile) 2>conftest.er1
103316 ac_status=$?
103317 grep -v '^ *+' conftest.er1 >conftest.err
103318 rm -f conftest.er1
103319 cat conftest.err >&5
103320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103321 (exit $ac_status); } &&
103322 { ac_try='test -z "$ac_cxx_werror_flag"
103323 || test ! -s conftest.err'
103324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103325 (eval $ac_try) 2>&5
103326 ac_status=$?
103327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103328 (exit $ac_status); }; } &&
103329 { ac_try='test -s conftest.$ac_objext'
103330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103331 (eval $ac_try) 2>&5
103332 ac_status=$?
103333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103334 (exit $ac_status); }; }; then
103335 glibcxx_cv_func_powf_use=yes
103337 echo "$as_me: failed program was:" >&5
103338 sed 's/^/| /' conftest.$ac_ext >&5
103340 glibcxx_cv_func_powf_use=no
103342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103343 ac_ext=c
103344 ac_cpp='$CPP $CPPFLAGS'
103345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103353 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
103354 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
103356 if test x$glibcxx_cv_func_powf_use = x"yes"; then
103358 for ac_func in powf
103360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103361 echo "$as_me:$LINENO: checking for $ac_func" >&5
103362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103363 if eval "test \"\${$as_ac_var+set}\" = set"; then
103364 echo $ECHO_N "(cached) $ECHO_C" >&6
103366 if test x$gcc_no_link = xyes; then
103367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103369 { (exit 1); exit 1; }; }
103371 cat >conftest.$ac_ext <<_ACEOF
103372 /* confdefs.h. */
103373 _ACEOF
103374 cat confdefs.h >>conftest.$ac_ext
103375 cat >>conftest.$ac_ext <<_ACEOF
103376 /* end confdefs.h. */
103377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103379 #define $ac_func innocuous_$ac_func
103381 /* System header to define __stub macros and hopefully few prototypes,
103382 which can conflict with char $ac_func (); below.
103383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103384 <limits.h> exists even on freestanding compilers. */
103386 #ifdef __STDC__
103387 # include <limits.h>
103388 #else
103389 # include <assert.h>
103390 #endif
103392 #undef $ac_func
103394 /* Override any gcc2 internal prototype to avoid an error. */
103395 #ifdef __cplusplus
103396 extern "C"
103398 #endif
103399 /* We use char because int might match the return type of a gcc2
103400 builtin and then its argument prototype would still apply. */
103401 char $ac_func ();
103402 /* The GNU C library defines this for functions which it implements
103403 to always fail with ENOSYS. Some functions are actually named
103404 something starting with __ and the normal name is an alias. */
103405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103406 choke me
103407 #else
103408 char (*f) () = $ac_func;
103409 #endif
103410 #ifdef __cplusplus
103412 #endif
103415 main ()
103417 return f != $ac_func;
103419 return 0;
103421 _ACEOF
103422 rm -f conftest.$ac_objext conftest$ac_exeext
103423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103424 (eval $ac_link) 2>conftest.er1
103425 ac_status=$?
103426 grep -v '^ *+' conftest.er1 >conftest.err
103427 rm -f conftest.er1
103428 cat conftest.err >&5
103429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103430 (exit $ac_status); } &&
103431 { ac_try='test -z "$ac_c_werror_flag"
103432 || test ! -s conftest.err'
103433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103434 (eval $ac_try) 2>&5
103435 ac_status=$?
103436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103437 (exit $ac_status); }; } &&
103438 { ac_try='test -s conftest$ac_exeext'
103439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103440 (eval $ac_try) 2>&5
103441 ac_status=$?
103442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103443 (exit $ac_status); }; }; then
103444 eval "$as_ac_var=yes"
103446 echo "$as_me: failed program was:" >&5
103447 sed 's/^/| /' conftest.$ac_ext >&5
103449 eval "$as_ac_var=no"
103451 rm -f conftest.err conftest.$ac_objext \
103452 conftest$ac_exeext conftest.$ac_ext
103454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103456 if test `eval echo '${'$as_ac_var'}'` = yes; then
103457 cat >>confdefs.h <<_ACEOF
103458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103459 _ACEOF
103466 echo "$as_me:$LINENO: checking for _powf declaration" >&5
103467 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
103468 if test x${glibcxx_cv_func__powf_use+set} != xset; then
103469 if test "${glibcxx_cv_func__powf_use+set}" = set; then
103470 echo $ECHO_N "(cached) $ECHO_C" >&6
103475 ac_ext=cc
103476 ac_cpp='$CXXCPP $CPPFLAGS'
103477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103481 cat >conftest.$ac_ext <<_ACEOF
103482 /* confdefs.h. */
103483 _ACEOF
103484 cat confdefs.h >>conftest.$ac_ext
103485 cat >>conftest.$ac_ext <<_ACEOF
103486 /* end confdefs.h. */
103487 #include <math.h>
103489 main ()
103491 _powf(0, 0);
103493 return 0;
103495 _ACEOF
103496 rm -f conftest.$ac_objext
103497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103498 (eval $ac_compile) 2>conftest.er1
103499 ac_status=$?
103500 grep -v '^ *+' conftest.er1 >conftest.err
103501 rm -f conftest.er1
103502 cat conftest.err >&5
103503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103504 (exit $ac_status); } &&
103505 { ac_try='test -z "$ac_cxx_werror_flag"
103506 || test ! -s conftest.err'
103507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103508 (eval $ac_try) 2>&5
103509 ac_status=$?
103510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103511 (exit $ac_status); }; } &&
103512 { ac_try='test -s conftest.$ac_objext'
103513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103514 (eval $ac_try) 2>&5
103515 ac_status=$?
103516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103517 (exit $ac_status); }; }; then
103518 glibcxx_cv_func__powf_use=yes
103520 echo "$as_me: failed program was:" >&5
103521 sed 's/^/| /' conftest.$ac_ext >&5
103523 glibcxx_cv_func__powf_use=no
103525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103526 ac_ext=c
103527 ac_cpp='$CPP $CPPFLAGS'
103528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103536 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
103537 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
103539 if test x$glibcxx_cv_func__powf_use = x"yes"; then
103541 for ac_func in _powf
103543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103544 echo "$as_me:$LINENO: checking for $ac_func" >&5
103545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103546 if eval "test \"\${$as_ac_var+set}\" = set"; then
103547 echo $ECHO_N "(cached) $ECHO_C" >&6
103549 if test x$gcc_no_link = xyes; then
103550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103552 { (exit 1); exit 1; }; }
103554 cat >conftest.$ac_ext <<_ACEOF
103555 /* confdefs.h. */
103556 _ACEOF
103557 cat confdefs.h >>conftest.$ac_ext
103558 cat >>conftest.$ac_ext <<_ACEOF
103559 /* end confdefs.h. */
103560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103562 #define $ac_func innocuous_$ac_func
103564 /* System header to define __stub macros and hopefully few prototypes,
103565 which can conflict with char $ac_func (); below.
103566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103567 <limits.h> exists even on freestanding compilers. */
103569 #ifdef __STDC__
103570 # include <limits.h>
103571 #else
103572 # include <assert.h>
103573 #endif
103575 #undef $ac_func
103577 /* Override any gcc2 internal prototype to avoid an error. */
103578 #ifdef __cplusplus
103579 extern "C"
103581 #endif
103582 /* We use char because int might match the return type of a gcc2
103583 builtin and then its argument prototype would still apply. */
103584 char $ac_func ();
103585 /* The GNU C library defines this for functions which it implements
103586 to always fail with ENOSYS. Some functions are actually named
103587 something starting with __ and the normal name is an alias. */
103588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103589 choke me
103590 #else
103591 char (*f) () = $ac_func;
103592 #endif
103593 #ifdef __cplusplus
103595 #endif
103598 main ()
103600 return f != $ac_func;
103602 return 0;
103604 _ACEOF
103605 rm -f conftest.$ac_objext conftest$ac_exeext
103606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103607 (eval $ac_link) 2>conftest.er1
103608 ac_status=$?
103609 grep -v '^ *+' conftest.er1 >conftest.err
103610 rm -f conftest.er1
103611 cat conftest.err >&5
103612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103613 (exit $ac_status); } &&
103614 { ac_try='test -z "$ac_c_werror_flag"
103615 || test ! -s conftest.err'
103616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103617 (eval $ac_try) 2>&5
103618 ac_status=$?
103619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103620 (exit $ac_status); }; } &&
103621 { ac_try='test -s conftest$ac_exeext'
103622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103623 (eval $ac_try) 2>&5
103624 ac_status=$?
103625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103626 (exit $ac_status); }; }; then
103627 eval "$as_ac_var=yes"
103629 echo "$as_me: failed program was:" >&5
103630 sed 's/^/| /' conftest.$ac_ext >&5
103632 eval "$as_ac_var=no"
103634 rm -f conftest.err conftest.$ac_objext \
103635 conftest$ac_exeext conftest.$ac_ext
103637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103639 if test `eval echo '${'$as_ac_var'}'` = yes; then
103640 cat >>confdefs.h <<_ACEOF
103641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103642 _ACEOF
103655 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
103656 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
103657 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
103658 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
103659 echo $ECHO_N "(cached) $ECHO_C" >&6
103664 ac_ext=cc
103665 ac_cpp='$CXXCPP $CPPFLAGS'
103666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103670 cat >conftest.$ac_ext <<_ACEOF
103671 /* confdefs.h. */
103672 _ACEOF
103673 cat confdefs.h >>conftest.$ac_ext
103674 cat >>conftest.$ac_ext <<_ACEOF
103675 /* end confdefs.h. */
103676 #include <math.h>
103677 #ifdef HAVE_IEEEFP_H
103678 #include <ieeefp.h>
103679 #endif
103682 main ()
103684 sqrtf(0);
103686 return 0;
103688 _ACEOF
103689 rm -f conftest.$ac_objext
103690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103691 (eval $ac_compile) 2>conftest.er1
103692 ac_status=$?
103693 grep -v '^ *+' conftest.er1 >conftest.err
103694 rm -f conftest.er1
103695 cat conftest.err >&5
103696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103697 (exit $ac_status); } &&
103698 { ac_try='test -z "$ac_cxx_werror_flag"
103699 || test ! -s conftest.err'
103700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103701 (eval $ac_try) 2>&5
103702 ac_status=$?
103703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103704 (exit $ac_status); }; } &&
103705 { ac_try='test -s conftest.$ac_objext'
103706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103707 (eval $ac_try) 2>&5
103708 ac_status=$?
103709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103710 (exit $ac_status); }; }; then
103711 glibcxx_cv_func_sqrtf_use=yes
103713 echo "$as_me: failed program was:" >&5
103714 sed 's/^/| /' conftest.$ac_ext >&5
103716 glibcxx_cv_func_sqrtf_use=no
103718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103719 ac_ext=c
103720 ac_cpp='$CPP $CPPFLAGS'
103721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103729 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
103730 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
103732 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
103734 for ac_func in sqrtf
103736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103737 echo "$as_me:$LINENO: checking for $ac_func" >&5
103738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103739 if eval "test \"\${$as_ac_var+set}\" = set"; then
103740 echo $ECHO_N "(cached) $ECHO_C" >&6
103742 if test x$gcc_no_link = xyes; then
103743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103745 { (exit 1); exit 1; }; }
103747 cat >conftest.$ac_ext <<_ACEOF
103748 /* confdefs.h. */
103749 _ACEOF
103750 cat confdefs.h >>conftest.$ac_ext
103751 cat >>conftest.$ac_ext <<_ACEOF
103752 /* end confdefs.h. */
103753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103755 #define $ac_func innocuous_$ac_func
103757 /* System header to define __stub macros and hopefully few prototypes,
103758 which can conflict with char $ac_func (); below.
103759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103760 <limits.h> exists even on freestanding compilers. */
103762 #ifdef __STDC__
103763 # include <limits.h>
103764 #else
103765 # include <assert.h>
103766 #endif
103768 #undef $ac_func
103770 /* Override any gcc2 internal prototype to avoid an error. */
103771 #ifdef __cplusplus
103772 extern "C"
103774 #endif
103775 /* We use char because int might match the return type of a gcc2
103776 builtin and then its argument prototype would still apply. */
103777 char $ac_func ();
103778 /* The GNU C library defines this for functions which it implements
103779 to always fail with ENOSYS. Some functions are actually named
103780 something starting with __ and the normal name is an alias. */
103781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103782 choke me
103783 #else
103784 char (*f) () = $ac_func;
103785 #endif
103786 #ifdef __cplusplus
103788 #endif
103791 main ()
103793 return f != $ac_func;
103795 return 0;
103797 _ACEOF
103798 rm -f conftest.$ac_objext conftest$ac_exeext
103799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103800 (eval $ac_link) 2>conftest.er1
103801 ac_status=$?
103802 grep -v '^ *+' conftest.er1 >conftest.err
103803 rm -f conftest.er1
103804 cat conftest.err >&5
103805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103806 (exit $ac_status); } &&
103807 { ac_try='test -z "$ac_c_werror_flag"
103808 || test ! -s conftest.err'
103809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103810 (eval $ac_try) 2>&5
103811 ac_status=$?
103812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103813 (exit $ac_status); }; } &&
103814 { ac_try='test -s conftest$ac_exeext'
103815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103816 (eval $ac_try) 2>&5
103817 ac_status=$?
103818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103819 (exit $ac_status); }; }; then
103820 eval "$as_ac_var=yes"
103822 echo "$as_me: failed program was:" >&5
103823 sed 's/^/| /' conftest.$ac_ext >&5
103825 eval "$as_ac_var=no"
103827 rm -f conftest.err conftest.$ac_objext \
103828 conftest$ac_exeext conftest.$ac_ext
103830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103832 if test `eval echo '${'$as_ac_var'}'` = yes; then
103833 cat >>confdefs.h <<_ACEOF
103834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103835 _ACEOF
103842 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
103843 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
103844 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
103845 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
103846 echo $ECHO_N "(cached) $ECHO_C" >&6
103851 ac_ext=cc
103852 ac_cpp='$CXXCPP $CPPFLAGS'
103853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103857 cat >conftest.$ac_ext <<_ACEOF
103858 /* confdefs.h. */
103859 _ACEOF
103860 cat confdefs.h >>conftest.$ac_ext
103861 cat >>conftest.$ac_ext <<_ACEOF
103862 /* end confdefs.h. */
103863 #include <math.h>
103864 #ifdef HAVE_IEEEFP_H
103865 #include <ieeefp.h>
103866 #endif
103869 main ()
103871 _sqrtf(0);
103873 return 0;
103875 _ACEOF
103876 rm -f conftest.$ac_objext
103877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103878 (eval $ac_compile) 2>conftest.er1
103879 ac_status=$?
103880 grep -v '^ *+' conftest.er1 >conftest.err
103881 rm -f conftest.er1
103882 cat conftest.err >&5
103883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103884 (exit $ac_status); } &&
103885 { ac_try='test -z "$ac_cxx_werror_flag"
103886 || test ! -s conftest.err'
103887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103888 (eval $ac_try) 2>&5
103889 ac_status=$?
103890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103891 (exit $ac_status); }; } &&
103892 { ac_try='test -s conftest.$ac_objext'
103893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103894 (eval $ac_try) 2>&5
103895 ac_status=$?
103896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103897 (exit $ac_status); }; }; then
103898 glibcxx_cv_func__sqrtf_use=yes
103900 echo "$as_me: failed program was:" >&5
103901 sed 's/^/| /' conftest.$ac_ext >&5
103903 glibcxx_cv_func__sqrtf_use=no
103905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103906 ac_ext=c
103907 ac_cpp='$CPP $CPPFLAGS'
103908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
103917 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
103919 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
103921 for ac_func in _sqrtf
103923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103924 echo "$as_me:$LINENO: checking for $ac_func" >&5
103925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103926 if eval "test \"\${$as_ac_var+set}\" = set"; then
103927 echo $ECHO_N "(cached) $ECHO_C" >&6
103929 if test x$gcc_no_link = xyes; then
103930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103932 { (exit 1); exit 1; }; }
103934 cat >conftest.$ac_ext <<_ACEOF
103935 /* confdefs.h. */
103936 _ACEOF
103937 cat confdefs.h >>conftest.$ac_ext
103938 cat >>conftest.$ac_ext <<_ACEOF
103939 /* end confdefs.h. */
103940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103942 #define $ac_func innocuous_$ac_func
103944 /* System header to define __stub macros and hopefully few prototypes,
103945 which can conflict with char $ac_func (); below.
103946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103947 <limits.h> exists even on freestanding compilers. */
103949 #ifdef __STDC__
103950 # include <limits.h>
103951 #else
103952 # include <assert.h>
103953 #endif
103955 #undef $ac_func
103957 /* Override any gcc2 internal prototype to avoid an error. */
103958 #ifdef __cplusplus
103959 extern "C"
103961 #endif
103962 /* We use char because int might match the return type of a gcc2
103963 builtin and then its argument prototype would still apply. */
103964 char $ac_func ();
103965 /* The GNU C library defines this for functions which it implements
103966 to always fail with ENOSYS. Some functions are actually named
103967 something starting with __ and the normal name is an alias. */
103968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103969 choke me
103970 #else
103971 char (*f) () = $ac_func;
103972 #endif
103973 #ifdef __cplusplus
103975 #endif
103978 main ()
103980 return f != $ac_func;
103982 return 0;
103984 _ACEOF
103985 rm -f conftest.$ac_objext conftest$ac_exeext
103986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103987 (eval $ac_link) 2>conftest.er1
103988 ac_status=$?
103989 grep -v '^ *+' conftest.er1 >conftest.err
103990 rm -f conftest.er1
103991 cat conftest.err >&5
103992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103993 (exit $ac_status); } &&
103994 { ac_try='test -z "$ac_c_werror_flag"
103995 || test ! -s conftest.err'
103996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103997 (eval $ac_try) 2>&5
103998 ac_status=$?
103999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104000 (exit $ac_status); }; } &&
104001 { ac_try='test -s conftest$ac_exeext'
104002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104003 (eval $ac_try) 2>&5
104004 ac_status=$?
104005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104006 (exit $ac_status); }; }; then
104007 eval "$as_ac_var=yes"
104009 echo "$as_me: failed program was:" >&5
104010 sed 's/^/| /' conftest.$ac_ext >&5
104012 eval "$as_ac_var=no"
104014 rm -f conftest.err conftest.$ac_objext \
104015 conftest$ac_exeext conftest.$ac_ext
104017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104019 if test `eval echo '${'$as_ac_var'}'` = yes; then
104020 cat >>confdefs.h <<_ACEOF
104021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104022 _ACEOF
104035 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
104036 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
104037 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
104038 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
104039 echo $ECHO_N "(cached) $ECHO_C" >&6
104044 ac_ext=cc
104045 ac_cpp='$CXXCPP $CPPFLAGS'
104046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104050 cat >conftest.$ac_ext <<_ACEOF
104051 /* confdefs.h. */
104052 _ACEOF
104053 cat confdefs.h >>conftest.$ac_ext
104054 cat >>conftest.$ac_ext <<_ACEOF
104055 /* end confdefs.h. */
104056 #include <math.h>
104058 main ()
104060 sincosf(0, 0, 0);
104062 return 0;
104064 _ACEOF
104065 rm -f conftest.$ac_objext
104066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104067 (eval $ac_compile) 2>conftest.er1
104068 ac_status=$?
104069 grep -v '^ *+' conftest.er1 >conftest.err
104070 rm -f conftest.er1
104071 cat conftest.err >&5
104072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104073 (exit $ac_status); } &&
104074 { ac_try='test -z "$ac_cxx_werror_flag"
104075 || test ! -s conftest.err'
104076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104077 (eval $ac_try) 2>&5
104078 ac_status=$?
104079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104080 (exit $ac_status); }; } &&
104081 { ac_try='test -s conftest.$ac_objext'
104082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104083 (eval $ac_try) 2>&5
104084 ac_status=$?
104085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104086 (exit $ac_status); }; }; then
104087 glibcxx_cv_func_sincosf_use=yes
104089 echo "$as_me: failed program was:" >&5
104090 sed 's/^/| /' conftest.$ac_ext >&5
104092 glibcxx_cv_func_sincosf_use=no
104094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104095 ac_ext=c
104096 ac_cpp='$CPP $CPPFLAGS'
104097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
104106 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
104108 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
104110 for ac_func in sincosf
104112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104113 echo "$as_me:$LINENO: checking for $ac_func" >&5
104114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104115 if eval "test \"\${$as_ac_var+set}\" = set"; then
104116 echo $ECHO_N "(cached) $ECHO_C" >&6
104118 if test x$gcc_no_link = xyes; then
104119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104121 { (exit 1); exit 1; }; }
104123 cat >conftest.$ac_ext <<_ACEOF
104124 /* confdefs.h. */
104125 _ACEOF
104126 cat confdefs.h >>conftest.$ac_ext
104127 cat >>conftest.$ac_ext <<_ACEOF
104128 /* end confdefs.h. */
104129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104131 #define $ac_func innocuous_$ac_func
104133 /* System header to define __stub macros and hopefully few prototypes,
104134 which can conflict with char $ac_func (); below.
104135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104136 <limits.h> exists even on freestanding compilers. */
104138 #ifdef __STDC__
104139 # include <limits.h>
104140 #else
104141 # include <assert.h>
104142 #endif
104144 #undef $ac_func
104146 /* Override any gcc2 internal prototype to avoid an error. */
104147 #ifdef __cplusplus
104148 extern "C"
104150 #endif
104151 /* We use char because int might match the return type of a gcc2
104152 builtin and then its argument prototype would still apply. */
104153 char $ac_func ();
104154 /* The GNU C library defines this for functions which it implements
104155 to always fail with ENOSYS. Some functions are actually named
104156 something starting with __ and the normal name is an alias. */
104157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104158 choke me
104159 #else
104160 char (*f) () = $ac_func;
104161 #endif
104162 #ifdef __cplusplus
104164 #endif
104167 main ()
104169 return f != $ac_func;
104171 return 0;
104173 _ACEOF
104174 rm -f conftest.$ac_objext conftest$ac_exeext
104175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104176 (eval $ac_link) 2>conftest.er1
104177 ac_status=$?
104178 grep -v '^ *+' conftest.er1 >conftest.err
104179 rm -f conftest.er1
104180 cat conftest.err >&5
104181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104182 (exit $ac_status); } &&
104183 { ac_try='test -z "$ac_c_werror_flag"
104184 || test ! -s conftest.err'
104185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104186 (eval $ac_try) 2>&5
104187 ac_status=$?
104188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104189 (exit $ac_status); }; } &&
104190 { ac_try='test -s conftest$ac_exeext'
104191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104192 (eval $ac_try) 2>&5
104193 ac_status=$?
104194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104195 (exit $ac_status); }; }; then
104196 eval "$as_ac_var=yes"
104198 echo "$as_me: failed program was:" >&5
104199 sed 's/^/| /' conftest.$ac_ext >&5
104201 eval "$as_ac_var=no"
104203 rm -f conftest.err conftest.$ac_objext \
104204 conftest$ac_exeext conftest.$ac_ext
104206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104208 if test `eval echo '${'$as_ac_var'}'` = yes; then
104209 cat >>confdefs.h <<_ACEOF
104210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104211 _ACEOF
104218 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
104219 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
104220 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
104221 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
104222 echo $ECHO_N "(cached) $ECHO_C" >&6
104227 ac_ext=cc
104228 ac_cpp='$CXXCPP $CPPFLAGS'
104229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104233 cat >conftest.$ac_ext <<_ACEOF
104234 /* confdefs.h. */
104235 _ACEOF
104236 cat confdefs.h >>conftest.$ac_ext
104237 cat >>conftest.$ac_ext <<_ACEOF
104238 /* end confdefs.h. */
104239 #include <math.h>
104241 main ()
104243 _sincosf(0, 0, 0);
104245 return 0;
104247 _ACEOF
104248 rm -f conftest.$ac_objext
104249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104250 (eval $ac_compile) 2>conftest.er1
104251 ac_status=$?
104252 grep -v '^ *+' conftest.er1 >conftest.err
104253 rm -f conftest.er1
104254 cat conftest.err >&5
104255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104256 (exit $ac_status); } &&
104257 { ac_try='test -z "$ac_cxx_werror_flag"
104258 || test ! -s conftest.err'
104259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104260 (eval $ac_try) 2>&5
104261 ac_status=$?
104262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104263 (exit $ac_status); }; } &&
104264 { ac_try='test -s conftest.$ac_objext'
104265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104266 (eval $ac_try) 2>&5
104267 ac_status=$?
104268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104269 (exit $ac_status); }; }; then
104270 glibcxx_cv_func__sincosf_use=yes
104272 echo "$as_me: failed program was:" >&5
104273 sed 's/^/| /' conftest.$ac_ext >&5
104275 glibcxx_cv_func__sincosf_use=no
104277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104278 ac_ext=c
104279 ac_cpp='$CPP $CPPFLAGS'
104280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104288 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
104289 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
104291 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
104293 for ac_func in _sincosf
104295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104296 echo "$as_me:$LINENO: checking for $ac_func" >&5
104297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104298 if eval "test \"\${$as_ac_var+set}\" = set"; then
104299 echo $ECHO_N "(cached) $ECHO_C" >&6
104301 if test x$gcc_no_link = xyes; then
104302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104304 { (exit 1); exit 1; }; }
104306 cat >conftest.$ac_ext <<_ACEOF
104307 /* confdefs.h. */
104308 _ACEOF
104309 cat confdefs.h >>conftest.$ac_ext
104310 cat >>conftest.$ac_ext <<_ACEOF
104311 /* end confdefs.h. */
104312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104314 #define $ac_func innocuous_$ac_func
104316 /* System header to define __stub macros and hopefully few prototypes,
104317 which can conflict with char $ac_func (); below.
104318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104319 <limits.h> exists even on freestanding compilers. */
104321 #ifdef __STDC__
104322 # include <limits.h>
104323 #else
104324 # include <assert.h>
104325 #endif
104327 #undef $ac_func
104329 /* Override any gcc2 internal prototype to avoid an error. */
104330 #ifdef __cplusplus
104331 extern "C"
104333 #endif
104334 /* We use char because int might match the return type of a gcc2
104335 builtin and then its argument prototype would still apply. */
104336 char $ac_func ();
104337 /* The GNU C library defines this for functions which it implements
104338 to always fail with ENOSYS. Some functions are actually named
104339 something starting with __ and the normal name is an alias. */
104340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104341 choke me
104342 #else
104343 char (*f) () = $ac_func;
104344 #endif
104345 #ifdef __cplusplus
104347 #endif
104350 main ()
104352 return f != $ac_func;
104354 return 0;
104356 _ACEOF
104357 rm -f conftest.$ac_objext conftest$ac_exeext
104358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104359 (eval $ac_link) 2>conftest.er1
104360 ac_status=$?
104361 grep -v '^ *+' conftest.er1 >conftest.err
104362 rm -f conftest.er1
104363 cat conftest.err >&5
104364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104365 (exit $ac_status); } &&
104366 { ac_try='test -z "$ac_c_werror_flag"
104367 || test ! -s conftest.err'
104368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104369 (eval $ac_try) 2>&5
104370 ac_status=$?
104371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104372 (exit $ac_status); }; } &&
104373 { ac_try='test -s conftest$ac_exeext'
104374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104375 (eval $ac_try) 2>&5
104376 ac_status=$?
104377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104378 (exit $ac_status); }; }; then
104379 eval "$as_ac_var=yes"
104381 echo "$as_me: failed program was:" >&5
104382 sed 's/^/| /' conftest.$ac_ext >&5
104384 eval "$as_ac_var=no"
104386 rm -f conftest.err conftest.$ac_objext \
104387 conftest$ac_exeext conftest.$ac_ext
104389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104391 if test `eval echo '${'$as_ac_var'}'` = yes; then
104392 cat >>confdefs.h <<_ACEOF
104393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104394 _ACEOF
104407 echo "$as_me:$LINENO: checking for finitef declaration" >&5
104408 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
104409 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
104410 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
104411 echo $ECHO_N "(cached) $ECHO_C" >&6
104416 ac_ext=cc
104417 ac_cpp='$CXXCPP $CPPFLAGS'
104418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104422 cat >conftest.$ac_ext <<_ACEOF
104423 /* confdefs.h. */
104424 _ACEOF
104425 cat confdefs.h >>conftest.$ac_ext
104426 cat >>conftest.$ac_ext <<_ACEOF
104427 /* end confdefs.h. */
104428 #include <math.h>
104429 #ifdef HAVE_IEEEFP_H
104430 #include <ieeefp.h>
104431 #endif
104434 main ()
104436 finitef(0);
104438 return 0;
104440 _ACEOF
104441 rm -f conftest.$ac_objext
104442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104443 (eval $ac_compile) 2>conftest.er1
104444 ac_status=$?
104445 grep -v '^ *+' conftest.er1 >conftest.err
104446 rm -f conftest.er1
104447 cat conftest.err >&5
104448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104449 (exit $ac_status); } &&
104450 { ac_try='test -z "$ac_cxx_werror_flag"
104451 || test ! -s conftest.err'
104452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104453 (eval $ac_try) 2>&5
104454 ac_status=$?
104455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104456 (exit $ac_status); }; } &&
104457 { ac_try='test -s conftest.$ac_objext'
104458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104459 (eval $ac_try) 2>&5
104460 ac_status=$?
104461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104462 (exit $ac_status); }; }; then
104463 glibcxx_cv_func_finitef_use=yes
104465 echo "$as_me: failed program was:" >&5
104466 sed 's/^/| /' conftest.$ac_ext >&5
104468 glibcxx_cv_func_finitef_use=no
104470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104471 ac_ext=c
104472 ac_cpp='$CPP $CPPFLAGS'
104473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104481 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
104482 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
104484 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
104486 for ac_func in finitef
104488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104489 echo "$as_me:$LINENO: checking for $ac_func" >&5
104490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104491 if eval "test \"\${$as_ac_var+set}\" = set"; then
104492 echo $ECHO_N "(cached) $ECHO_C" >&6
104494 if test x$gcc_no_link = xyes; then
104495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104497 { (exit 1); exit 1; }; }
104499 cat >conftest.$ac_ext <<_ACEOF
104500 /* confdefs.h. */
104501 _ACEOF
104502 cat confdefs.h >>conftest.$ac_ext
104503 cat >>conftest.$ac_ext <<_ACEOF
104504 /* end confdefs.h. */
104505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104507 #define $ac_func innocuous_$ac_func
104509 /* System header to define __stub macros and hopefully few prototypes,
104510 which can conflict with char $ac_func (); below.
104511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104512 <limits.h> exists even on freestanding compilers. */
104514 #ifdef __STDC__
104515 # include <limits.h>
104516 #else
104517 # include <assert.h>
104518 #endif
104520 #undef $ac_func
104522 /* Override any gcc2 internal prototype to avoid an error. */
104523 #ifdef __cplusplus
104524 extern "C"
104526 #endif
104527 /* We use char because int might match the return type of a gcc2
104528 builtin and then its argument prototype would still apply. */
104529 char $ac_func ();
104530 /* The GNU C library defines this for functions which it implements
104531 to always fail with ENOSYS. Some functions are actually named
104532 something starting with __ and the normal name is an alias. */
104533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104534 choke me
104535 #else
104536 char (*f) () = $ac_func;
104537 #endif
104538 #ifdef __cplusplus
104540 #endif
104543 main ()
104545 return f != $ac_func;
104547 return 0;
104549 _ACEOF
104550 rm -f conftest.$ac_objext conftest$ac_exeext
104551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104552 (eval $ac_link) 2>conftest.er1
104553 ac_status=$?
104554 grep -v '^ *+' conftest.er1 >conftest.err
104555 rm -f conftest.er1
104556 cat conftest.err >&5
104557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104558 (exit $ac_status); } &&
104559 { ac_try='test -z "$ac_c_werror_flag"
104560 || test ! -s conftest.err'
104561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104562 (eval $ac_try) 2>&5
104563 ac_status=$?
104564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104565 (exit $ac_status); }; } &&
104566 { ac_try='test -s conftest$ac_exeext'
104567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104568 (eval $ac_try) 2>&5
104569 ac_status=$?
104570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104571 (exit $ac_status); }; }; then
104572 eval "$as_ac_var=yes"
104574 echo "$as_me: failed program was:" >&5
104575 sed 's/^/| /' conftest.$ac_ext >&5
104577 eval "$as_ac_var=no"
104579 rm -f conftest.err conftest.$ac_objext \
104580 conftest$ac_exeext conftest.$ac_ext
104582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104584 if test `eval echo '${'$as_ac_var'}'` = yes; then
104585 cat >>confdefs.h <<_ACEOF
104586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104587 _ACEOF
104594 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
104595 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
104596 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
104597 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
104598 echo $ECHO_N "(cached) $ECHO_C" >&6
104603 ac_ext=cc
104604 ac_cpp='$CXXCPP $CPPFLAGS'
104605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104609 cat >conftest.$ac_ext <<_ACEOF
104610 /* confdefs.h. */
104611 _ACEOF
104612 cat confdefs.h >>conftest.$ac_ext
104613 cat >>conftest.$ac_ext <<_ACEOF
104614 /* end confdefs.h. */
104615 #include <math.h>
104616 #ifdef HAVE_IEEEFP_H
104617 #include <ieeefp.h>
104618 #endif
104621 main ()
104623 _finitef(0);
104625 return 0;
104627 _ACEOF
104628 rm -f conftest.$ac_objext
104629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104630 (eval $ac_compile) 2>conftest.er1
104631 ac_status=$?
104632 grep -v '^ *+' conftest.er1 >conftest.err
104633 rm -f conftest.er1
104634 cat conftest.err >&5
104635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104636 (exit $ac_status); } &&
104637 { ac_try='test -z "$ac_cxx_werror_flag"
104638 || test ! -s conftest.err'
104639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104640 (eval $ac_try) 2>&5
104641 ac_status=$?
104642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104643 (exit $ac_status); }; } &&
104644 { ac_try='test -s conftest.$ac_objext'
104645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104646 (eval $ac_try) 2>&5
104647 ac_status=$?
104648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104649 (exit $ac_status); }; }; then
104650 glibcxx_cv_func__finitef_use=yes
104652 echo "$as_me: failed program was:" >&5
104653 sed 's/^/| /' conftest.$ac_ext >&5
104655 glibcxx_cv_func__finitef_use=no
104657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104658 ac_ext=c
104659 ac_cpp='$CPP $CPPFLAGS'
104660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
104669 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
104671 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
104673 for ac_func in _finitef
104675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104676 echo "$as_me:$LINENO: checking for $ac_func" >&5
104677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104678 if eval "test \"\${$as_ac_var+set}\" = set"; then
104679 echo $ECHO_N "(cached) $ECHO_C" >&6
104681 if test x$gcc_no_link = xyes; then
104682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104684 { (exit 1); exit 1; }; }
104686 cat >conftest.$ac_ext <<_ACEOF
104687 /* confdefs.h. */
104688 _ACEOF
104689 cat confdefs.h >>conftest.$ac_ext
104690 cat >>conftest.$ac_ext <<_ACEOF
104691 /* end confdefs.h. */
104692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104694 #define $ac_func innocuous_$ac_func
104696 /* System header to define __stub macros and hopefully few prototypes,
104697 which can conflict with char $ac_func (); below.
104698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104699 <limits.h> exists even on freestanding compilers. */
104701 #ifdef __STDC__
104702 # include <limits.h>
104703 #else
104704 # include <assert.h>
104705 #endif
104707 #undef $ac_func
104709 /* Override any gcc2 internal prototype to avoid an error. */
104710 #ifdef __cplusplus
104711 extern "C"
104713 #endif
104714 /* We use char because int might match the return type of a gcc2
104715 builtin and then its argument prototype would still apply. */
104716 char $ac_func ();
104717 /* The GNU C library defines this for functions which it implements
104718 to always fail with ENOSYS. Some functions are actually named
104719 something starting with __ and the normal name is an alias. */
104720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104721 choke me
104722 #else
104723 char (*f) () = $ac_func;
104724 #endif
104725 #ifdef __cplusplus
104727 #endif
104730 main ()
104732 return f != $ac_func;
104734 return 0;
104736 _ACEOF
104737 rm -f conftest.$ac_objext conftest$ac_exeext
104738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104739 (eval $ac_link) 2>conftest.er1
104740 ac_status=$?
104741 grep -v '^ *+' conftest.er1 >conftest.err
104742 rm -f conftest.er1
104743 cat conftest.err >&5
104744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104745 (exit $ac_status); } &&
104746 { ac_try='test -z "$ac_c_werror_flag"
104747 || test ! -s conftest.err'
104748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104749 (eval $ac_try) 2>&5
104750 ac_status=$?
104751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104752 (exit $ac_status); }; } &&
104753 { ac_try='test -s conftest$ac_exeext'
104754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104755 (eval $ac_try) 2>&5
104756 ac_status=$?
104757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104758 (exit $ac_status); }; }; then
104759 eval "$as_ac_var=yes"
104761 echo "$as_me: failed program was:" >&5
104762 sed 's/^/| /' conftest.$ac_ext >&5
104764 eval "$as_ac_var=no"
104766 rm -f conftest.err conftest.$ac_objext \
104767 conftest$ac_exeext conftest.$ac_ext
104769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104771 if test `eval echo '${'$as_ac_var'}'` = yes; then
104772 cat >>confdefs.h <<_ACEOF
104773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104774 _ACEOF
104787 echo "$as_me:$LINENO: checking for long double trig functions" >&5
104788 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
104789 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
104790 echo $ECHO_N "(cached) $ECHO_C" >&6
104795 ac_ext=cc
104796 ac_cpp='$CXXCPP $CPPFLAGS'
104797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104801 cat >conftest.$ac_ext <<_ACEOF
104802 /* confdefs.h. */
104803 _ACEOF
104804 cat confdefs.h >>conftest.$ac_ext
104805 cat >>conftest.$ac_ext <<_ACEOF
104806 /* end confdefs.h. */
104807 #include <math.h>
104809 main ()
104811 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
104813 return 0;
104815 _ACEOF
104816 rm -f conftest.$ac_objext
104817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104818 (eval $ac_compile) 2>conftest.er1
104819 ac_status=$?
104820 grep -v '^ *+' conftest.er1 >conftest.err
104821 rm -f conftest.er1
104822 cat conftest.err >&5
104823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104824 (exit $ac_status); } &&
104825 { ac_try='test -z "$ac_cxx_werror_flag"
104826 || test ! -s conftest.err'
104827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104828 (eval $ac_try) 2>&5
104829 ac_status=$?
104830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104831 (exit $ac_status); }; } &&
104832 { ac_try='test -s conftest.$ac_objext'
104833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104834 (eval $ac_try) 2>&5
104835 ac_status=$?
104836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104837 (exit $ac_status); }; }; then
104838 glibcxx_cv_func_long_double_trig_use=yes
104840 echo "$as_me: failed program was:" >&5
104841 sed 's/^/| /' conftest.$ac_ext >&5
104843 glibcxx_cv_func_long_double_trig_use=no
104845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104846 ac_ext=c
104847 ac_cpp='$CPP $CPPFLAGS'
104848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104854 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
104855 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
104856 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
104866 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
104868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104869 echo "$as_me:$LINENO: checking for $ac_func" >&5
104870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104871 if eval "test \"\${$as_ac_var+set}\" = set"; then
104872 echo $ECHO_N "(cached) $ECHO_C" >&6
104874 if test x$gcc_no_link = xyes; then
104875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104877 { (exit 1); exit 1; }; }
104879 cat >conftest.$ac_ext <<_ACEOF
104880 /* confdefs.h. */
104881 _ACEOF
104882 cat confdefs.h >>conftest.$ac_ext
104883 cat >>conftest.$ac_ext <<_ACEOF
104884 /* end confdefs.h. */
104885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104887 #define $ac_func innocuous_$ac_func
104889 /* System header to define __stub macros and hopefully few prototypes,
104890 which can conflict with char $ac_func (); below.
104891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104892 <limits.h> exists even on freestanding compilers. */
104894 #ifdef __STDC__
104895 # include <limits.h>
104896 #else
104897 # include <assert.h>
104898 #endif
104900 #undef $ac_func
104902 /* Override any gcc2 internal prototype to avoid an error. */
104903 #ifdef __cplusplus
104904 extern "C"
104906 #endif
104907 /* We use char because int might match the return type of a gcc2
104908 builtin and then its argument prototype would still apply. */
104909 char $ac_func ();
104910 /* The GNU C library defines this for functions which it implements
104911 to always fail with ENOSYS. Some functions are actually named
104912 something starting with __ and the normal name is an alias. */
104913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104914 choke me
104915 #else
104916 char (*f) () = $ac_func;
104917 #endif
104918 #ifdef __cplusplus
104920 #endif
104923 main ()
104925 return f != $ac_func;
104927 return 0;
104929 _ACEOF
104930 rm -f conftest.$ac_objext conftest$ac_exeext
104931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104932 (eval $ac_link) 2>conftest.er1
104933 ac_status=$?
104934 grep -v '^ *+' conftest.er1 >conftest.err
104935 rm -f conftest.er1
104936 cat conftest.err >&5
104937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104938 (exit $ac_status); } &&
104939 { ac_try='test -z "$ac_c_werror_flag"
104940 || test ! -s conftest.err'
104941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104942 (eval $ac_try) 2>&5
104943 ac_status=$?
104944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104945 (exit $ac_status); }; } &&
104946 { ac_try='test -s conftest$ac_exeext'
104947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104948 (eval $ac_try) 2>&5
104949 ac_status=$?
104950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104951 (exit $ac_status); }; }; then
104952 eval "$as_ac_var=yes"
104954 echo "$as_me: failed program was:" >&5
104955 sed 's/^/| /' conftest.$ac_ext >&5
104957 eval "$as_ac_var=no"
104959 rm -f conftest.err conftest.$ac_objext \
104960 conftest$ac_exeext conftest.$ac_ext
104962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104964 if test `eval echo '${'$as_ac_var'}'` = yes; then
104965 cat >>confdefs.h <<_ACEOF
104966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104967 _ACEOF
104973 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
104974 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
104975 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
104976 echo $ECHO_N "(cached) $ECHO_C" >&6
104981 ac_ext=cc
104982 ac_cpp='$CXXCPP $CPPFLAGS'
104983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104987 cat >conftest.$ac_ext <<_ACEOF
104988 /* confdefs.h. */
104989 _ACEOF
104990 cat confdefs.h >>conftest.$ac_ext
104991 cat >>conftest.$ac_ext <<_ACEOF
104992 /* end confdefs.h. */
104993 #include <math.h>
104995 main ()
104997 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
104999 return 0;
105001 _ACEOF
105002 rm -f conftest.$ac_objext
105003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105004 (eval $ac_compile) 2>conftest.er1
105005 ac_status=$?
105006 grep -v '^ *+' conftest.er1 >conftest.err
105007 rm -f conftest.er1
105008 cat conftest.err >&5
105009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105010 (exit $ac_status); } &&
105011 { ac_try='test -z "$ac_cxx_werror_flag"
105012 || test ! -s conftest.err'
105013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105014 (eval $ac_try) 2>&5
105015 ac_status=$?
105016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105017 (exit $ac_status); }; } &&
105018 { ac_try='test -s conftest.$ac_objext'
105019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105020 (eval $ac_try) 2>&5
105021 ac_status=$?
105022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105023 (exit $ac_status); }; }; then
105024 glibcxx_cv_func__long_double_trig_use=yes
105026 echo "$as_me: failed program was:" >&5
105027 sed 's/^/| /' conftest.$ac_ext >&5
105029 glibcxx_cv_func__long_double_trig_use=no
105031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105032 ac_ext=c
105033 ac_cpp='$CPP $CPPFLAGS'
105034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
105041 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
105042 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
105052 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
105054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105055 echo "$as_me:$LINENO: checking for $ac_func" >&5
105056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105057 if eval "test \"\${$as_ac_var+set}\" = set"; then
105058 echo $ECHO_N "(cached) $ECHO_C" >&6
105060 if test x$gcc_no_link = xyes; then
105061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105063 { (exit 1); exit 1; }; }
105065 cat >conftest.$ac_ext <<_ACEOF
105066 /* confdefs.h. */
105067 _ACEOF
105068 cat confdefs.h >>conftest.$ac_ext
105069 cat >>conftest.$ac_ext <<_ACEOF
105070 /* end confdefs.h. */
105071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105073 #define $ac_func innocuous_$ac_func
105075 /* System header to define __stub macros and hopefully few prototypes,
105076 which can conflict with char $ac_func (); below.
105077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105078 <limits.h> exists even on freestanding compilers. */
105080 #ifdef __STDC__
105081 # include <limits.h>
105082 #else
105083 # include <assert.h>
105084 #endif
105086 #undef $ac_func
105088 /* Override any gcc2 internal prototype to avoid an error. */
105089 #ifdef __cplusplus
105090 extern "C"
105092 #endif
105093 /* We use char because int might match the return type of a gcc2
105094 builtin and then its argument prototype would still apply. */
105095 char $ac_func ();
105096 /* The GNU C library defines this for functions which it implements
105097 to always fail with ENOSYS. Some functions are actually named
105098 something starting with __ and the normal name is an alias. */
105099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105100 choke me
105101 #else
105102 char (*f) () = $ac_func;
105103 #endif
105104 #ifdef __cplusplus
105106 #endif
105109 main ()
105111 return f != $ac_func;
105113 return 0;
105115 _ACEOF
105116 rm -f conftest.$ac_objext conftest$ac_exeext
105117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105118 (eval $ac_link) 2>conftest.er1
105119 ac_status=$?
105120 grep -v '^ *+' conftest.er1 >conftest.err
105121 rm -f conftest.er1
105122 cat conftest.err >&5
105123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105124 (exit $ac_status); } &&
105125 { ac_try='test -z "$ac_c_werror_flag"
105126 || test ! -s conftest.err'
105127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105128 (eval $ac_try) 2>&5
105129 ac_status=$?
105130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105131 (exit $ac_status); }; } &&
105132 { ac_try='test -s conftest$ac_exeext'
105133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105134 (eval $ac_try) 2>&5
105135 ac_status=$?
105136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105137 (exit $ac_status); }; }; then
105138 eval "$as_ac_var=yes"
105140 echo "$as_me: failed program was:" >&5
105141 sed 's/^/| /' conftest.$ac_ext >&5
105143 eval "$as_ac_var=no"
105145 rm -f conftest.err conftest.$ac_objext \
105146 conftest$ac_exeext conftest.$ac_ext
105148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105150 if test `eval echo '${'$as_ac_var'}'` = yes; then
105151 cat >>confdefs.h <<_ACEOF
105152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105153 _ACEOF
105174 echo "$as_me:$LINENO: checking for long double round functions" >&5
105175 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
105176 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
105177 echo $ECHO_N "(cached) $ECHO_C" >&6
105182 ac_ext=cc
105183 ac_cpp='$CXXCPP $CPPFLAGS'
105184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105188 cat >conftest.$ac_ext <<_ACEOF
105189 /* confdefs.h. */
105190 _ACEOF
105191 cat confdefs.h >>conftest.$ac_ext
105192 cat >>conftest.$ac_ext <<_ACEOF
105193 /* end confdefs.h. */
105194 #include <math.h>
105196 main ()
105198 ceill (0); floorl (0);
105200 return 0;
105202 _ACEOF
105203 rm -f conftest.$ac_objext
105204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105205 (eval $ac_compile) 2>conftest.er1
105206 ac_status=$?
105207 grep -v '^ *+' conftest.er1 >conftest.err
105208 rm -f conftest.er1
105209 cat conftest.err >&5
105210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105211 (exit $ac_status); } &&
105212 { ac_try='test -z "$ac_cxx_werror_flag"
105213 || test ! -s conftest.err'
105214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105215 (eval $ac_try) 2>&5
105216 ac_status=$?
105217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105218 (exit $ac_status); }; } &&
105219 { ac_try='test -s conftest.$ac_objext'
105220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105221 (eval $ac_try) 2>&5
105222 ac_status=$?
105223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105224 (exit $ac_status); }; }; then
105225 glibcxx_cv_func_long_double_round_use=yes
105227 echo "$as_me: failed program was:" >&5
105228 sed 's/^/| /' conftest.$ac_ext >&5
105230 glibcxx_cv_func_long_double_round_use=no
105232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105233 ac_ext=c
105234 ac_cpp='$CPP $CPPFLAGS'
105235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
105242 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
105243 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
105246 for ac_func in ceill floorl
105248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105249 echo "$as_me:$LINENO: checking for $ac_func" >&5
105250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105251 if eval "test \"\${$as_ac_var+set}\" = set"; then
105252 echo $ECHO_N "(cached) $ECHO_C" >&6
105254 if test x$gcc_no_link = xyes; then
105255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105257 { (exit 1); exit 1; }; }
105259 cat >conftest.$ac_ext <<_ACEOF
105260 /* confdefs.h. */
105261 _ACEOF
105262 cat confdefs.h >>conftest.$ac_ext
105263 cat >>conftest.$ac_ext <<_ACEOF
105264 /* end confdefs.h. */
105265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105267 #define $ac_func innocuous_$ac_func
105269 /* System header to define __stub macros and hopefully few prototypes,
105270 which can conflict with char $ac_func (); below.
105271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105272 <limits.h> exists even on freestanding compilers. */
105274 #ifdef __STDC__
105275 # include <limits.h>
105276 #else
105277 # include <assert.h>
105278 #endif
105280 #undef $ac_func
105282 /* Override any gcc2 internal prototype to avoid an error. */
105283 #ifdef __cplusplus
105284 extern "C"
105286 #endif
105287 /* We use char because int might match the return type of a gcc2
105288 builtin and then its argument prototype would still apply. */
105289 char $ac_func ();
105290 /* The GNU C library defines this for functions which it implements
105291 to always fail with ENOSYS. Some functions are actually named
105292 something starting with __ and the normal name is an alias. */
105293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105294 choke me
105295 #else
105296 char (*f) () = $ac_func;
105297 #endif
105298 #ifdef __cplusplus
105300 #endif
105303 main ()
105305 return f != $ac_func;
105307 return 0;
105309 _ACEOF
105310 rm -f conftest.$ac_objext conftest$ac_exeext
105311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105312 (eval $ac_link) 2>conftest.er1
105313 ac_status=$?
105314 grep -v '^ *+' conftest.er1 >conftest.err
105315 rm -f conftest.er1
105316 cat conftest.err >&5
105317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105318 (exit $ac_status); } &&
105319 { ac_try='test -z "$ac_c_werror_flag"
105320 || test ! -s conftest.err'
105321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105322 (eval $ac_try) 2>&5
105323 ac_status=$?
105324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105325 (exit $ac_status); }; } &&
105326 { ac_try='test -s conftest$ac_exeext'
105327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105328 (eval $ac_try) 2>&5
105329 ac_status=$?
105330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105331 (exit $ac_status); }; }; then
105332 eval "$as_ac_var=yes"
105334 echo "$as_me: failed program was:" >&5
105335 sed 's/^/| /' conftest.$ac_ext >&5
105337 eval "$as_ac_var=no"
105339 rm -f conftest.err conftest.$ac_objext \
105340 conftest$ac_exeext conftest.$ac_ext
105342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105344 if test `eval echo '${'$as_ac_var'}'` = yes; then
105345 cat >>confdefs.h <<_ACEOF
105346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105347 _ACEOF
105353 echo "$as_me:$LINENO: checking for _long double round functions" >&5
105354 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
105355 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
105356 echo $ECHO_N "(cached) $ECHO_C" >&6
105361 ac_ext=cc
105362 ac_cpp='$CXXCPP $CPPFLAGS'
105363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105367 cat >conftest.$ac_ext <<_ACEOF
105368 /* confdefs.h. */
105369 _ACEOF
105370 cat confdefs.h >>conftest.$ac_ext
105371 cat >>conftest.$ac_ext <<_ACEOF
105372 /* end confdefs.h. */
105373 #include <math.h>
105375 main ()
105377 _ceill (0); _floorl (0);
105379 return 0;
105381 _ACEOF
105382 rm -f conftest.$ac_objext
105383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105384 (eval $ac_compile) 2>conftest.er1
105385 ac_status=$?
105386 grep -v '^ *+' conftest.er1 >conftest.err
105387 rm -f conftest.er1
105388 cat conftest.err >&5
105389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105390 (exit $ac_status); } &&
105391 { ac_try='test -z "$ac_cxx_werror_flag"
105392 || test ! -s conftest.err'
105393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105394 (eval $ac_try) 2>&5
105395 ac_status=$?
105396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105397 (exit $ac_status); }; } &&
105398 { ac_try='test -s conftest.$ac_objext'
105399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105400 (eval $ac_try) 2>&5
105401 ac_status=$?
105402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105403 (exit $ac_status); }; }; then
105404 glibcxx_cv_func__long_double_round_use=yes
105406 echo "$as_me: failed program was:" >&5
105407 sed 's/^/| /' conftest.$ac_ext >&5
105409 glibcxx_cv_func__long_double_round_use=no
105411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105412 ac_ext=c
105413 ac_cpp='$CPP $CPPFLAGS'
105414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
105421 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
105422 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
105425 for ac_func in _ceill _floorl
105427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105428 echo "$as_me:$LINENO: checking for $ac_func" >&5
105429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105430 if eval "test \"\${$as_ac_var+set}\" = set"; then
105431 echo $ECHO_N "(cached) $ECHO_C" >&6
105433 if test x$gcc_no_link = xyes; then
105434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105436 { (exit 1); exit 1; }; }
105438 cat >conftest.$ac_ext <<_ACEOF
105439 /* confdefs.h. */
105440 _ACEOF
105441 cat confdefs.h >>conftest.$ac_ext
105442 cat >>conftest.$ac_ext <<_ACEOF
105443 /* end confdefs.h. */
105444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105446 #define $ac_func innocuous_$ac_func
105448 /* System header to define __stub macros and hopefully few prototypes,
105449 which can conflict with char $ac_func (); below.
105450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105451 <limits.h> exists even on freestanding compilers. */
105453 #ifdef __STDC__
105454 # include <limits.h>
105455 #else
105456 # include <assert.h>
105457 #endif
105459 #undef $ac_func
105461 /* Override any gcc2 internal prototype to avoid an error. */
105462 #ifdef __cplusplus
105463 extern "C"
105465 #endif
105466 /* We use char because int might match the return type of a gcc2
105467 builtin and then its argument prototype would still apply. */
105468 char $ac_func ();
105469 /* The GNU C library defines this for functions which it implements
105470 to always fail with ENOSYS. Some functions are actually named
105471 something starting with __ and the normal name is an alias. */
105472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105473 choke me
105474 #else
105475 char (*f) () = $ac_func;
105476 #endif
105477 #ifdef __cplusplus
105479 #endif
105482 main ()
105484 return f != $ac_func;
105486 return 0;
105488 _ACEOF
105489 rm -f conftest.$ac_objext conftest$ac_exeext
105490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105491 (eval $ac_link) 2>conftest.er1
105492 ac_status=$?
105493 grep -v '^ *+' conftest.er1 >conftest.err
105494 rm -f conftest.er1
105495 cat conftest.err >&5
105496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105497 (exit $ac_status); } &&
105498 { ac_try='test -z "$ac_c_werror_flag"
105499 || test ! -s conftest.err'
105500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105501 (eval $ac_try) 2>&5
105502 ac_status=$?
105503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105504 (exit $ac_status); }; } &&
105505 { ac_try='test -s conftest$ac_exeext'
105506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105507 (eval $ac_try) 2>&5
105508 ac_status=$?
105509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105510 (exit $ac_status); }; }; then
105511 eval "$as_ac_var=yes"
105513 echo "$as_me: failed program was:" >&5
105514 sed 's/^/| /' conftest.$ac_ext >&5
105516 eval "$as_ac_var=no"
105518 rm -f conftest.err conftest.$ac_objext \
105519 conftest$ac_exeext conftest.$ac_ext
105521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105523 if test `eval echo '${'$as_ac_var'}'` = yes; then
105524 cat >>confdefs.h <<_ACEOF
105525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105526 _ACEOF
105541 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
105542 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
105543 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
105544 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
105545 echo $ECHO_N "(cached) $ECHO_C" >&6
105550 ac_ext=cc
105551 ac_cpp='$CXXCPP $CPPFLAGS'
105552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105556 cat >conftest.$ac_ext <<_ACEOF
105557 /* confdefs.h. */
105558 _ACEOF
105559 cat confdefs.h >>conftest.$ac_ext
105560 cat >>conftest.$ac_ext <<_ACEOF
105561 /* end confdefs.h. */
105562 #include <math.h>
105563 #ifdef HAVE_IEEEFP_H
105564 #include <ieeefp.h>
105565 #endif
105568 main ()
105570 isnanl(0);
105572 return 0;
105574 _ACEOF
105575 rm -f conftest.$ac_objext
105576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105577 (eval $ac_compile) 2>conftest.er1
105578 ac_status=$?
105579 grep -v '^ *+' conftest.er1 >conftest.err
105580 rm -f conftest.er1
105581 cat conftest.err >&5
105582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105583 (exit $ac_status); } &&
105584 { ac_try='test -z "$ac_cxx_werror_flag"
105585 || test ! -s conftest.err'
105586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105587 (eval $ac_try) 2>&5
105588 ac_status=$?
105589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105590 (exit $ac_status); }; } &&
105591 { ac_try='test -s conftest.$ac_objext'
105592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105593 (eval $ac_try) 2>&5
105594 ac_status=$?
105595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105596 (exit $ac_status); }; }; then
105597 glibcxx_cv_func_isnanl_use=yes
105599 echo "$as_me: failed program was:" >&5
105600 sed 's/^/| /' conftest.$ac_ext >&5
105602 glibcxx_cv_func_isnanl_use=no
105604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105605 ac_ext=c
105606 ac_cpp='$CPP $CPPFLAGS'
105607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105615 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
105616 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
105618 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
105620 for ac_func in isnanl
105622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105623 echo "$as_me:$LINENO: checking for $ac_func" >&5
105624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105625 if eval "test \"\${$as_ac_var+set}\" = set"; then
105626 echo $ECHO_N "(cached) $ECHO_C" >&6
105628 if test x$gcc_no_link = xyes; then
105629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105631 { (exit 1); exit 1; }; }
105633 cat >conftest.$ac_ext <<_ACEOF
105634 /* confdefs.h. */
105635 _ACEOF
105636 cat confdefs.h >>conftest.$ac_ext
105637 cat >>conftest.$ac_ext <<_ACEOF
105638 /* end confdefs.h. */
105639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105641 #define $ac_func innocuous_$ac_func
105643 /* System header to define __stub macros and hopefully few prototypes,
105644 which can conflict with char $ac_func (); below.
105645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105646 <limits.h> exists even on freestanding compilers. */
105648 #ifdef __STDC__
105649 # include <limits.h>
105650 #else
105651 # include <assert.h>
105652 #endif
105654 #undef $ac_func
105656 /* Override any gcc2 internal prototype to avoid an error. */
105657 #ifdef __cplusplus
105658 extern "C"
105660 #endif
105661 /* We use char because int might match the return type of a gcc2
105662 builtin and then its argument prototype would still apply. */
105663 char $ac_func ();
105664 /* The GNU C library defines this for functions which it implements
105665 to always fail with ENOSYS. Some functions are actually named
105666 something starting with __ and the normal name is an alias. */
105667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105668 choke me
105669 #else
105670 char (*f) () = $ac_func;
105671 #endif
105672 #ifdef __cplusplus
105674 #endif
105677 main ()
105679 return f != $ac_func;
105681 return 0;
105683 _ACEOF
105684 rm -f conftest.$ac_objext conftest$ac_exeext
105685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105686 (eval $ac_link) 2>conftest.er1
105687 ac_status=$?
105688 grep -v '^ *+' conftest.er1 >conftest.err
105689 rm -f conftest.er1
105690 cat conftest.err >&5
105691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105692 (exit $ac_status); } &&
105693 { ac_try='test -z "$ac_c_werror_flag"
105694 || test ! -s conftest.err'
105695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105696 (eval $ac_try) 2>&5
105697 ac_status=$?
105698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105699 (exit $ac_status); }; } &&
105700 { ac_try='test -s conftest$ac_exeext'
105701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105702 (eval $ac_try) 2>&5
105703 ac_status=$?
105704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105705 (exit $ac_status); }; }; then
105706 eval "$as_ac_var=yes"
105708 echo "$as_me: failed program was:" >&5
105709 sed 's/^/| /' conftest.$ac_ext >&5
105711 eval "$as_ac_var=no"
105713 rm -f conftest.err conftest.$ac_objext \
105714 conftest$ac_exeext conftest.$ac_ext
105716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105718 if test `eval echo '${'$as_ac_var'}'` = yes; then
105719 cat >>confdefs.h <<_ACEOF
105720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105721 _ACEOF
105728 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
105729 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
105730 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
105731 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
105732 echo $ECHO_N "(cached) $ECHO_C" >&6
105737 ac_ext=cc
105738 ac_cpp='$CXXCPP $CPPFLAGS'
105739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105743 cat >conftest.$ac_ext <<_ACEOF
105744 /* confdefs.h. */
105745 _ACEOF
105746 cat confdefs.h >>conftest.$ac_ext
105747 cat >>conftest.$ac_ext <<_ACEOF
105748 /* end confdefs.h. */
105749 #include <math.h>
105750 #ifdef HAVE_IEEEFP_H
105751 #include <ieeefp.h>
105752 #endif
105755 main ()
105757 _isnanl(0);
105759 return 0;
105761 _ACEOF
105762 rm -f conftest.$ac_objext
105763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105764 (eval $ac_compile) 2>conftest.er1
105765 ac_status=$?
105766 grep -v '^ *+' conftest.er1 >conftest.err
105767 rm -f conftest.er1
105768 cat conftest.err >&5
105769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105770 (exit $ac_status); } &&
105771 { ac_try='test -z "$ac_cxx_werror_flag"
105772 || test ! -s conftest.err'
105773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105774 (eval $ac_try) 2>&5
105775 ac_status=$?
105776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105777 (exit $ac_status); }; } &&
105778 { ac_try='test -s conftest.$ac_objext'
105779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105780 (eval $ac_try) 2>&5
105781 ac_status=$?
105782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105783 (exit $ac_status); }; }; then
105784 glibcxx_cv_func__isnanl_use=yes
105786 echo "$as_me: failed program was:" >&5
105787 sed 's/^/| /' conftest.$ac_ext >&5
105789 glibcxx_cv_func__isnanl_use=no
105791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105792 ac_ext=c
105793 ac_cpp='$CPP $CPPFLAGS'
105794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105802 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
105803 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
105805 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
105807 for ac_func in _isnanl
105809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105810 echo "$as_me:$LINENO: checking for $ac_func" >&5
105811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105812 if eval "test \"\${$as_ac_var+set}\" = set"; then
105813 echo $ECHO_N "(cached) $ECHO_C" >&6
105815 if test x$gcc_no_link = xyes; then
105816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105818 { (exit 1); exit 1; }; }
105820 cat >conftest.$ac_ext <<_ACEOF
105821 /* confdefs.h. */
105822 _ACEOF
105823 cat confdefs.h >>conftest.$ac_ext
105824 cat >>conftest.$ac_ext <<_ACEOF
105825 /* end confdefs.h. */
105826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105828 #define $ac_func innocuous_$ac_func
105830 /* System header to define __stub macros and hopefully few prototypes,
105831 which can conflict with char $ac_func (); below.
105832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105833 <limits.h> exists even on freestanding compilers. */
105835 #ifdef __STDC__
105836 # include <limits.h>
105837 #else
105838 # include <assert.h>
105839 #endif
105841 #undef $ac_func
105843 /* Override any gcc2 internal prototype to avoid an error. */
105844 #ifdef __cplusplus
105845 extern "C"
105847 #endif
105848 /* We use char because int might match the return type of a gcc2
105849 builtin and then its argument prototype would still apply. */
105850 char $ac_func ();
105851 /* The GNU C library defines this for functions which it implements
105852 to always fail with ENOSYS. Some functions are actually named
105853 something starting with __ and the normal name is an alias. */
105854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105855 choke me
105856 #else
105857 char (*f) () = $ac_func;
105858 #endif
105859 #ifdef __cplusplus
105861 #endif
105864 main ()
105866 return f != $ac_func;
105868 return 0;
105870 _ACEOF
105871 rm -f conftest.$ac_objext conftest$ac_exeext
105872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105873 (eval $ac_link) 2>conftest.er1
105874 ac_status=$?
105875 grep -v '^ *+' conftest.er1 >conftest.err
105876 rm -f conftest.er1
105877 cat conftest.err >&5
105878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105879 (exit $ac_status); } &&
105880 { ac_try='test -z "$ac_c_werror_flag"
105881 || test ! -s conftest.err'
105882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105883 (eval $ac_try) 2>&5
105884 ac_status=$?
105885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105886 (exit $ac_status); }; } &&
105887 { ac_try='test -s conftest$ac_exeext'
105888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105889 (eval $ac_try) 2>&5
105890 ac_status=$?
105891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105892 (exit $ac_status); }; }; then
105893 eval "$as_ac_var=yes"
105895 echo "$as_me: failed program was:" >&5
105896 sed 's/^/| /' conftest.$ac_ext >&5
105898 eval "$as_ac_var=no"
105900 rm -f conftest.err conftest.$ac_objext \
105901 conftest$ac_exeext conftest.$ac_ext
105903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105905 if test `eval echo '${'$as_ac_var'}'` = yes; then
105906 cat >>confdefs.h <<_ACEOF
105907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105908 _ACEOF
105921 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
105922 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
105923 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
105924 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
105925 echo $ECHO_N "(cached) $ECHO_C" >&6
105930 ac_ext=cc
105931 ac_cpp='$CXXCPP $CPPFLAGS'
105932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105936 cat >conftest.$ac_ext <<_ACEOF
105937 /* confdefs.h. */
105938 _ACEOF
105939 cat confdefs.h >>conftest.$ac_ext
105940 cat >>conftest.$ac_ext <<_ACEOF
105941 /* end confdefs.h. */
105942 #include <math.h>
105943 #ifdef HAVE_IEEEFP_H
105944 #include <ieeefp.h>
105945 #endif
105948 main ()
105950 isinfl(0);
105952 return 0;
105954 _ACEOF
105955 rm -f conftest.$ac_objext
105956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105957 (eval $ac_compile) 2>conftest.er1
105958 ac_status=$?
105959 grep -v '^ *+' conftest.er1 >conftest.err
105960 rm -f conftest.er1
105961 cat conftest.err >&5
105962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105963 (exit $ac_status); } &&
105964 { ac_try='test -z "$ac_cxx_werror_flag"
105965 || test ! -s conftest.err'
105966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105967 (eval $ac_try) 2>&5
105968 ac_status=$?
105969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105970 (exit $ac_status); }; } &&
105971 { ac_try='test -s conftest.$ac_objext'
105972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105973 (eval $ac_try) 2>&5
105974 ac_status=$?
105975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105976 (exit $ac_status); }; }; then
105977 glibcxx_cv_func_isinfl_use=yes
105979 echo "$as_me: failed program was:" >&5
105980 sed 's/^/| /' conftest.$ac_ext >&5
105982 glibcxx_cv_func_isinfl_use=no
105984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105985 ac_ext=c
105986 ac_cpp='$CPP $CPPFLAGS'
105987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
105996 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
105998 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
106000 for ac_func in isinfl
106002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106003 echo "$as_me:$LINENO: checking for $ac_func" >&5
106004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106005 if eval "test \"\${$as_ac_var+set}\" = set"; then
106006 echo $ECHO_N "(cached) $ECHO_C" >&6
106008 if test x$gcc_no_link = xyes; then
106009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106011 { (exit 1); exit 1; }; }
106013 cat >conftest.$ac_ext <<_ACEOF
106014 /* confdefs.h. */
106015 _ACEOF
106016 cat confdefs.h >>conftest.$ac_ext
106017 cat >>conftest.$ac_ext <<_ACEOF
106018 /* end confdefs.h. */
106019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106021 #define $ac_func innocuous_$ac_func
106023 /* System header to define __stub macros and hopefully few prototypes,
106024 which can conflict with char $ac_func (); below.
106025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106026 <limits.h> exists even on freestanding compilers. */
106028 #ifdef __STDC__
106029 # include <limits.h>
106030 #else
106031 # include <assert.h>
106032 #endif
106034 #undef $ac_func
106036 /* Override any gcc2 internal prototype to avoid an error. */
106037 #ifdef __cplusplus
106038 extern "C"
106040 #endif
106041 /* We use char because int might match the return type of a gcc2
106042 builtin and then its argument prototype would still apply. */
106043 char $ac_func ();
106044 /* The GNU C library defines this for functions which it implements
106045 to always fail with ENOSYS. Some functions are actually named
106046 something starting with __ and the normal name is an alias. */
106047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106048 choke me
106049 #else
106050 char (*f) () = $ac_func;
106051 #endif
106052 #ifdef __cplusplus
106054 #endif
106057 main ()
106059 return f != $ac_func;
106061 return 0;
106063 _ACEOF
106064 rm -f conftest.$ac_objext conftest$ac_exeext
106065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106066 (eval $ac_link) 2>conftest.er1
106067 ac_status=$?
106068 grep -v '^ *+' conftest.er1 >conftest.err
106069 rm -f conftest.er1
106070 cat conftest.err >&5
106071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106072 (exit $ac_status); } &&
106073 { ac_try='test -z "$ac_c_werror_flag"
106074 || test ! -s conftest.err'
106075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106076 (eval $ac_try) 2>&5
106077 ac_status=$?
106078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106079 (exit $ac_status); }; } &&
106080 { ac_try='test -s conftest$ac_exeext'
106081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106082 (eval $ac_try) 2>&5
106083 ac_status=$?
106084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106085 (exit $ac_status); }; }; then
106086 eval "$as_ac_var=yes"
106088 echo "$as_me: failed program was:" >&5
106089 sed 's/^/| /' conftest.$ac_ext >&5
106091 eval "$as_ac_var=no"
106093 rm -f conftest.err conftest.$ac_objext \
106094 conftest$ac_exeext conftest.$ac_ext
106096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106098 if test `eval echo '${'$as_ac_var'}'` = yes; then
106099 cat >>confdefs.h <<_ACEOF
106100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106101 _ACEOF
106108 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
106109 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
106110 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
106111 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
106112 echo $ECHO_N "(cached) $ECHO_C" >&6
106117 ac_ext=cc
106118 ac_cpp='$CXXCPP $CPPFLAGS'
106119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106123 cat >conftest.$ac_ext <<_ACEOF
106124 /* confdefs.h. */
106125 _ACEOF
106126 cat confdefs.h >>conftest.$ac_ext
106127 cat >>conftest.$ac_ext <<_ACEOF
106128 /* end confdefs.h. */
106129 #include <math.h>
106130 #ifdef HAVE_IEEEFP_H
106131 #include <ieeefp.h>
106132 #endif
106135 main ()
106137 _isinfl(0);
106139 return 0;
106141 _ACEOF
106142 rm -f conftest.$ac_objext
106143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106144 (eval $ac_compile) 2>conftest.er1
106145 ac_status=$?
106146 grep -v '^ *+' conftest.er1 >conftest.err
106147 rm -f conftest.er1
106148 cat conftest.err >&5
106149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106150 (exit $ac_status); } &&
106151 { ac_try='test -z "$ac_cxx_werror_flag"
106152 || test ! -s conftest.err'
106153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106154 (eval $ac_try) 2>&5
106155 ac_status=$?
106156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106157 (exit $ac_status); }; } &&
106158 { ac_try='test -s conftest.$ac_objext'
106159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106160 (eval $ac_try) 2>&5
106161 ac_status=$?
106162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106163 (exit $ac_status); }; }; then
106164 glibcxx_cv_func__isinfl_use=yes
106166 echo "$as_me: failed program was:" >&5
106167 sed 's/^/| /' conftest.$ac_ext >&5
106169 glibcxx_cv_func__isinfl_use=no
106171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106172 ac_ext=c
106173 ac_cpp='$CPP $CPPFLAGS'
106174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
106183 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
106185 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
106187 for ac_func in _isinfl
106189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106190 echo "$as_me:$LINENO: checking for $ac_func" >&5
106191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106192 if eval "test \"\${$as_ac_var+set}\" = set"; then
106193 echo $ECHO_N "(cached) $ECHO_C" >&6
106195 if test x$gcc_no_link = xyes; then
106196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106198 { (exit 1); exit 1; }; }
106200 cat >conftest.$ac_ext <<_ACEOF
106201 /* confdefs.h. */
106202 _ACEOF
106203 cat confdefs.h >>conftest.$ac_ext
106204 cat >>conftest.$ac_ext <<_ACEOF
106205 /* end confdefs.h. */
106206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106208 #define $ac_func innocuous_$ac_func
106210 /* System header to define __stub macros and hopefully few prototypes,
106211 which can conflict with char $ac_func (); below.
106212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106213 <limits.h> exists even on freestanding compilers. */
106215 #ifdef __STDC__
106216 # include <limits.h>
106217 #else
106218 # include <assert.h>
106219 #endif
106221 #undef $ac_func
106223 /* Override any gcc2 internal prototype to avoid an error. */
106224 #ifdef __cplusplus
106225 extern "C"
106227 #endif
106228 /* We use char because int might match the return type of a gcc2
106229 builtin and then its argument prototype would still apply. */
106230 char $ac_func ();
106231 /* The GNU C library defines this for functions which it implements
106232 to always fail with ENOSYS. Some functions are actually named
106233 something starting with __ and the normal name is an alias. */
106234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106235 choke me
106236 #else
106237 char (*f) () = $ac_func;
106238 #endif
106239 #ifdef __cplusplus
106241 #endif
106244 main ()
106246 return f != $ac_func;
106248 return 0;
106250 _ACEOF
106251 rm -f conftest.$ac_objext conftest$ac_exeext
106252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106253 (eval $ac_link) 2>conftest.er1
106254 ac_status=$?
106255 grep -v '^ *+' conftest.er1 >conftest.err
106256 rm -f conftest.er1
106257 cat conftest.err >&5
106258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106259 (exit $ac_status); } &&
106260 { ac_try='test -z "$ac_c_werror_flag"
106261 || test ! -s conftest.err'
106262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106263 (eval $ac_try) 2>&5
106264 ac_status=$?
106265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106266 (exit $ac_status); }; } &&
106267 { ac_try='test -s conftest$ac_exeext'
106268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106269 (eval $ac_try) 2>&5
106270 ac_status=$?
106271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106272 (exit $ac_status); }; }; then
106273 eval "$as_ac_var=yes"
106275 echo "$as_me: failed program was:" >&5
106276 sed 's/^/| /' conftest.$ac_ext >&5
106278 eval "$as_ac_var=no"
106280 rm -f conftest.err conftest.$ac_objext \
106281 conftest$ac_exeext conftest.$ac_ext
106283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106285 if test `eval echo '${'$as_ac_var'}'` = yes; then
106286 cat >>confdefs.h <<_ACEOF
106287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106288 _ACEOF
106301 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
106302 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
106303 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
106304 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
106305 echo $ECHO_N "(cached) $ECHO_C" >&6
106310 ac_ext=cc
106311 ac_cpp='$CXXCPP $CPPFLAGS'
106312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106316 cat >conftest.$ac_ext <<_ACEOF
106317 /* confdefs.h. */
106318 _ACEOF
106319 cat confdefs.h >>conftest.$ac_ext
106320 cat >>conftest.$ac_ext <<_ACEOF
106321 /* end confdefs.h. */
106322 #include <math.h>
106324 main ()
106326 atan2l(0, 0);
106328 return 0;
106330 _ACEOF
106331 rm -f conftest.$ac_objext
106332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106333 (eval $ac_compile) 2>conftest.er1
106334 ac_status=$?
106335 grep -v '^ *+' conftest.er1 >conftest.err
106336 rm -f conftest.er1
106337 cat conftest.err >&5
106338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106339 (exit $ac_status); } &&
106340 { ac_try='test -z "$ac_cxx_werror_flag"
106341 || test ! -s conftest.err'
106342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106343 (eval $ac_try) 2>&5
106344 ac_status=$?
106345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106346 (exit $ac_status); }; } &&
106347 { ac_try='test -s conftest.$ac_objext'
106348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106349 (eval $ac_try) 2>&5
106350 ac_status=$?
106351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106352 (exit $ac_status); }; }; then
106353 glibcxx_cv_func_atan2l_use=yes
106355 echo "$as_me: failed program was:" >&5
106356 sed 's/^/| /' conftest.$ac_ext >&5
106358 glibcxx_cv_func_atan2l_use=no
106360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106361 ac_ext=c
106362 ac_cpp='$CPP $CPPFLAGS'
106363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
106372 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
106374 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
106376 for ac_func in atan2l
106378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106379 echo "$as_me:$LINENO: checking for $ac_func" >&5
106380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106381 if eval "test \"\${$as_ac_var+set}\" = set"; then
106382 echo $ECHO_N "(cached) $ECHO_C" >&6
106384 if test x$gcc_no_link = xyes; then
106385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106387 { (exit 1); exit 1; }; }
106389 cat >conftest.$ac_ext <<_ACEOF
106390 /* confdefs.h. */
106391 _ACEOF
106392 cat confdefs.h >>conftest.$ac_ext
106393 cat >>conftest.$ac_ext <<_ACEOF
106394 /* end confdefs.h. */
106395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106397 #define $ac_func innocuous_$ac_func
106399 /* System header to define __stub macros and hopefully few prototypes,
106400 which can conflict with char $ac_func (); below.
106401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106402 <limits.h> exists even on freestanding compilers. */
106404 #ifdef __STDC__
106405 # include <limits.h>
106406 #else
106407 # include <assert.h>
106408 #endif
106410 #undef $ac_func
106412 /* Override any gcc2 internal prototype to avoid an error. */
106413 #ifdef __cplusplus
106414 extern "C"
106416 #endif
106417 /* We use char because int might match the return type of a gcc2
106418 builtin and then its argument prototype would still apply. */
106419 char $ac_func ();
106420 /* The GNU C library defines this for functions which it implements
106421 to always fail with ENOSYS. Some functions are actually named
106422 something starting with __ and the normal name is an alias. */
106423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106424 choke me
106425 #else
106426 char (*f) () = $ac_func;
106427 #endif
106428 #ifdef __cplusplus
106430 #endif
106433 main ()
106435 return f != $ac_func;
106437 return 0;
106439 _ACEOF
106440 rm -f conftest.$ac_objext conftest$ac_exeext
106441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106442 (eval $ac_link) 2>conftest.er1
106443 ac_status=$?
106444 grep -v '^ *+' conftest.er1 >conftest.err
106445 rm -f conftest.er1
106446 cat conftest.err >&5
106447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106448 (exit $ac_status); } &&
106449 { ac_try='test -z "$ac_c_werror_flag"
106450 || test ! -s conftest.err'
106451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106452 (eval $ac_try) 2>&5
106453 ac_status=$?
106454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106455 (exit $ac_status); }; } &&
106456 { ac_try='test -s conftest$ac_exeext'
106457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106458 (eval $ac_try) 2>&5
106459 ac_status=$?
106460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106461 (exit $ac_status); }; }; then
106462 eval "$as_ac_var=yes"
106464 echo "$as_me: failed program was:" >&5
106465 sed 's/^/| /' conftest.$ac_ext >&5
106467 eval "$as_ac_var=no"
106469 rm -f conftest.err conftest.$ac_objext \
106470 conftest$ac_exeext conftest.$ac_ext
106472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106474 if test `eval echo '${'$as_ac_var'}'` = yes; then
106475 cat >>confdefs.h <<_ACEOF
106476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106477 _ACEOF
106484 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
106485 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
106486 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
106487 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
106488 echo $ECHO_N "(cached) $ECHO_C" >&6
106493 ac_ext=cc
106494 ac_cpp='$CXXCPP $CPPFLAGS'
106495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106499 cat >conftest.$ac_ext <<_ACEOF
106500 /* confdefs.h. */
106501 _ACEOF
106502 cat confdefs.h >>conftest.$ac_ext
106503 cat >>conftest.$ac_ext <<_ACEOF
106504 /* end confdefs.h. */
106505 #include <math.h>
106507 main ()
106509 _atan2l(0, 0);
106511 return 0;
106513 _ACEOF
106514 rm -f conftest.$ac_objext
106515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106516 (eval $ac_compile) 2>conftest.er1
106517 ac_status=$?
106518 grep -v '^ *+' conftest.er1 >conftest.err
106519 rm -f conftest.er1
106520 cat conftest.err >&5
106521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106522 (exit $ac_status); } &&
106523 { ac_try='test -z "$ac_cxx_werror_flag"
106524 || test ! -s conftest.err'
106525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106526 (eval $ac_try) 2>&5
106527 ac_status=$?
106528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106529 (exit $ac_status); }; } &&
106530 { ac_try='test -s conftest.$ac_objext'
106531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106532 (eval $ac_try) 2>&5
106533 ac_status=$?
106534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106535 (exit $ac_status); }; }; then
106536 glibcxx_cv_func__atan2l_use=yes
106538 echo "$as_me: failed program was:" >&5
106539 sed 's/^/| /' conftest.$ac_ext >&5
106541 glibcxx_cv_func__atan2l_use=no
106543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106544 ac_ext=c
106545 ac_cpp='$CPP $CPPFLAGS'
106546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106554 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
106555 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
106557 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
106559 for ac_func in _atan2l
106561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106562 echo "$as_me:$LINENO: checking for $ac_func" >&5
106563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106564 if eval "test \"\${$as_ac_var+set}\" = set"; then
106565 echo $ECHO_N "(cached) $ECHO_C" >&6
106567 if test x$gcc_no_link = xyes; then
106568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106570 { (exit 1); exit 1; }; }
106572 cat >conftest.$ac_ext <<_ACEOF
106573 /* confdefs.h. */
106574 _ACEOF
106575 cat confdefs.h >>conftest.$ac_ext
106576 cat >>conftest.$ac_ext <<_ACEOF
106577 /* end confdefs.h. */
106578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106580 #define $ac_func innocuous_$ac_func
106582 /* System header to define __stub macros and hopefully few prototypes,
106583 which can conflict with char $ac_func (); below.
106584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106585 <limits.h> exists even on freestanding compilers. */
106587 #ifdef __STDC__
106588 # include <limits.h>
106589 #else
106590 # include <assert.h>
106591 #endif
106593 #undef $ac_func
106595 /* Override any gcc2 internal prototype to avoid an error. */
106596 #ifdef __cplusplus
106597 extern "C"
106599 #endif
106600 /* We use char because int might match the return type of a gcc2
106601 builtin and then its argument prototype would still apply. */
106602 char $ac_func ();
106603 /* The GNU C library defines this for functions which it implements
106604 to always fail with ENOSYS. Some functions are actually named
106605 something starting with __ and the normal name is an alias. */
106606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106607 choke me
106608 #else
106609 char (*f) () = $ac_func;
106610 #endif
106611 #ifdef __cplusplus
106613 #endif
106616 main ()
106618 return f != $ac_func;
106620 return 0;
106622 _ACEOF
106623 rm -f conftest.$ac_objext conftest$ac_exeext
106624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106625 (eval $ac_link) 2>conftest.er1
106626 ac_status=$?
106627 grep -v '^ *+' conftest.er1 >conftest.err
106628 rm -f conftest.er1
106629 cat conftest.err >&5
106630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106631 (exit $ac_status); } &&
106632 { ac_try='test -z "$ac_c_werror_flag"
106633 || test ! -s conftest.err'
106634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106635 (eval $ac_try) 2>&5
106636 ac_status=$?
106637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106638 (exit $ac_status); }; } &&
106639 { ac_try='test -s conftest$ac_exeext'
106640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106641 (eval $ac_try) 2>&5
106642 ac_status=$?
106643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106644 (exit $ac_status); }; }; then
106645 eval "$as_ac_var=yes"
106647 echo "$as_me: failed program was:" >&5
106648 sed 's/^/| /' conftest.$ac_ext >&5
106650 eval "$as_ac_var=no"
106652 rm -f conftest.err conftest.$ac_objext \
106653 conftest$ac_exeext conftest.$ac_ext
106655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106657 if test `eval echo '${'$as_ac_var'}'` = yes; then
106658 cat >>confdefs.h <<_ACEOF
106659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106660 _ACEOF
106673 echo "$as_me:$LINENO: checking for expl declaration" >&5
106674 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
106675 if test x${glibcxx_cv_func_expl_use+set} != xset; then
106676 if test "${glibcxx_cv_func_expl_use+set}" = set; then
106677 echo $ECHO_N "(cached) $ECHO_C" >&6
106682 ac_ext=cc
106683 ac_cpp='$CXXCPP $CPPFLAGS'
106684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106688 cat >conftest.$ac_ext <<_ACEOF
106689 /* confdefs.h. */
106690 _ACEOF
106691 cat confdefs.h >>conftest.$ac_ext
106692 cat >>conftest.$ac_ext <<_ACEOF
106693 /* end confdefs.h. */
106694 #include <math.h>
106695 #ifdef HAVE_IEEEFP_H
106696 #include <ieeefp.h>
106697 #endif
106700 main ()
106702 expl(0);
106704 return 0;
106706 _ACEOF
106707 rm -f conftest.$ac_objext
106708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106709 (eval $ac_compile) 2>conftest.er1
106710 ac_status=$?
106711 grep -v '^ *+' conftest.er1 >conftest.err
106712 rm -f conftest.er1
106713 cat conftest.err >&5
106714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106715 (exit $ac_status); } &&
106716 { ac_try='test -z "$ac_cxx_werror_flag"
106717 || test ! -s conftest.err'
106718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106719 (eval $ac_try) 2>&5
106720 ac_status=$?
106721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106722 (exit $ac_status); }; } &&
106723 { ac_try='test -s conftest.$ac_objext'
106724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106725 (eval $ac_try) 2>&5
106726 ac_status=$?
106727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106728 (exit $ac_status); }; }; then
106729 glibcxx_cv_func_expl_use=yes
106731 echo "$as_me: failed program was:" >&5
106732 sed 's/^/| /' conftest.$ac_ext >&5
106734 glibcxx_cv_func_expl_use=no
106736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106737 ac_ext=c
106738 ac_cpp='$CPP $CPPFLAGS'
106739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
106748 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
106750 if test x$glibcxx_cv_func_expl_use = x"yes"; then
106752 for ac_func in expl
106754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106755 echo "$as_me:$LINENO: checking for $ac_func" >&5
106756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106757 if eval "test \"\${$as_ac_var+set}\" = set"; then
106758 echo $ECHO_N "(cached) $ECHO_C" >&6
106760 if test x$gcc_no_link = xyes; then
106761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106763 { (exit 1); exit 1; }; }
106765 cat >conftest.$ac_ext <<_ACEOF
106766 /* confdefs.h. */
106767 _ACEOF
106768 cat confdefs.h >>conftest.$ac_ext
106769 cat >>conftest.$ac_ext <<_ACEOF
106770 /* end confdefs.h. */
106771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106773 #define $ac_func innocuous_$ac_func
106775 /* System header to define __stub macros and hopefully few prototypes,
106776 which can conflict with char $ac_func (); below.
106777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106778 <limits.h> exists even on freestanding compilers. */
106780 #ifdef __STDC__
106781 # include <limits.h>
106782 #else
106783 # include <assert.h>
106784 #endif
106786 #undef $ac_func
106788 /* Override any gcc2 internal prototype to avoid an error. */
106789 #ifdef __cplusplus
106790 extern "C"
106792 #endif
106793 /* We use char because int might match the return type of a gcc2
106794 builtin and then its argument prototype would still apply. */
106795 char $ac_func ();
106796 /* The GNU C library defines this for functions which it implements
106797 to always fail with ENOSYS. Some functions are actually named
106798 something starting with __ and the normal name is an alias. */
106799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106800 choke me
106801 #else
106802 char (*f) () = $ac_func;
106803 #endif
106804 #ifdef __cplusplus
106806 #endif
106809 main ()
106811 return f != $ac_func;
106813 return 0;
106815 _ACEOF
106816 rm -f conftest.$ac_objext conftest$ac_exeext
106817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106818 (eval $ac_link) 2>conftest.er1
106819 ac_status=$?
106820 grep -v '^ *+' conftest.er1 >conftest.err
106821 rm -f conftest.er1
106822 cat conftest.err >&5
106823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106824 (exit $ac_status); } &&
106825 { ac_try='test -z "$ac_c_werror_flag"
106826 || test ! -s conftest.err'
106827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106828 (eval $ac_try) 2>&5
106829 ac_status=$?
106830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106831 (exit $ac_status); }; } &&
106832 { ac_try='test -s conftest$ac_exeext'
106833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106834 (eval $ac_try) 2>&5
106835 ac_status=$?
106836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106837 (exit $ac_status); }; }; then
106838 eval "$as_ac_var=yes"
106840 echo "$as_me: failed program was:" >&5
106841 sed 's/^/| /' conftest.$ac_ext >&5
106843 eval "$as_ac_var=no"
106845 rm -f conftest.err conftest.$ac_objext \
106846 conftest$ac_exeext conftest.$ac_ext
106848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106850 if test `eval echo '${'$as_ac_var'}'` = yes; then
106851 cat >>confdefs.h <<_ACEOF
106852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106853 _ACEOF
106860 echo "$as_me:$LINENO: checking for _expl declaration" >&5
106861 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
106862 if test x${glibcxx_cv_func__expl_use+set} != xset; then
106863 if test "${glibcxx_cv_func__expl_use+set}" = set; then
106864 echo $ECHO_N "(cached) $ECHO_C" >&6
106869 ac_ext=cc
106870 ac_cpp='$CXXCPP $CPPFLAGS'
106871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106875 cat >conftest.$ac_ext <<_ACEOF
106876 /* confdefs.h. */
106877 _ACEOF
106878 cat confdefs.h >>conftest.$ac_ext
106879 cat >>conftest.$ac_ext <<_ACEOF
106880 /* end confdefs.h. */
106881 #include <math.h>
106882 #ifdef HAVE_IEEEFP_H
106883 #include <ieeefp.h>
106884 #endif
106887 main ()
106889 _expl(0);
106891 return 0;
106893 _ACEOF
106894 rm -f conftest.$ac_objext
106895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106896 (eval $ac_compile) 2>conftest.er1
106897 ac_status=$?
106898 grep -v '^ *+' conftest.er1 >conftest.err
106899 rm -f conftest.er1
106900 cat conftest.err >&5
106901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106902 (exit $ac_status); } &&
106903 { ac_try='test -z "$ac_cxx_werror_flag"
106904 || test ! -s conftest.err'
106905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106906 (eval $ac_try) 2>&5
106907 ac_status=$?
106908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106909 (exit $ac_status); }; } &&
106910 { ac_try='test -s conftest.$ac_objext'
106911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106912 (eval $ac_try) 2>&5
106913 ac_status=$?
106914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106915 (exit $ac_status); }; }; then
106916 glibcxx_cv_func__expl_use=yes
106918 echo "$as_me: failed program was:" >&5
106919 sed 's/^/| /' conftest.$ac_ext >&5
106921 glibcxx_cv_func__expl_use=no
106923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106924 ac_ext=c
106925 ac_cpp='$CPP $CPPFLAGS'
106926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
106935 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
106937 if test x$glibcxx_cv_func__expl_use = x"yes"; then
106939 for ac_func in _expl
106941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106942 echo "$as_me:$LINENO: checking for $ac_func" >&5
106943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106944 if eval "test \"\${$as_ac_var+set}\" = set"; then
106945 echo $ECHO_N "(cached) $ECHO_C" >&6
106947 if test x$gcc_no_link = xyes; then
106948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106950 { (exit 1); exit 1; }; }
106952 cat >conftest.$ac_ext <<_ACEOF
106953 /* confdefs.h. */
106954 _ACEOF
106955 cat confdefs.h >>conftest.$ac_ext
106956 cat >>conftest.$ac_ext <<_ACEOF
106957 /* end confdefs.h. */
106958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106960 #define $ac_func innocuous_$ac_func
106962 /* System header to define __stub macros and hopefully few prototypes,
106963 which can conflict with char $ac_func (); below.
106964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106965 <limits.h> exists even on freestanding compilers. */
106967 #ifdef __STDC__
106968 # include <limits.h>
106969 #else
106970 # include <assert.h>
106971 #endif
106973 #undef $ac_func
106975 /* Override any gcc2 internal prototype to avoid an error. */
106976 #ifdef __cplusplus
106977 extern "C"
106979 #endif
106980 /* We use char because int might match the return type of a gcc2
106981 builtin and then its argument prototype would still apply. */
106982 char $ac_func ();
106983 /* The GNU C library defines this for functions which it implements
106984 to always fail with ENOSYS. Some functions are actually named
106985 something starting with __ and the normal name is an alias. */
106986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106987 choke me
106988 #else
106989 char (*f) () = $ac_func;
106990 #endif
106991 #ifdef __cplusplus
106993 #endif
106996 main ()
106998 return f != $ac_func;
107000 return 0;
107002 _ACEOF
107003 rm -f conftest.$ac_objext conftest$ac_exeext
107004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107005 (eval $ac_link) 2>conftest.er1
107006 ac_status=$?
107007 grep -v '^ *+' conftest.er1 >conftest.err
107008 rm -f conftest.er1
107009 cat conftest.err >&5
107010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107011 (exit $ac_status); } &&
107012 { ac_try='test -z "$ac_c_werror_flag"
107013 || test ! -s conftest.err'
107014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107015 (eval $ac_try) 2>&5
107016 ac_status=$?
107017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107018 (exit $ac_status); }; } &&
107019 { ac_try='test -s conftest$ac_exeext'
107020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107021 (eval $ac_try) 2>&5
107022 ac_status=$?
107023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107024 (exit $ac_status); }; }; then
107025 eval "$as_ac_var=yes"
107027 echo "$as_me: failed program was:" >&5
107028 sed 's/^/| /' conftest.$ac_ext >&5
107030 eval "$as_ac_var=no"
107032 rm -f conftest.err conftest.$ac_objext \
107033 conftest$ac_exeext conftest.$ac_ext
107035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107037 if test `eval echo '${'$as_ac_var'}'` = yes; then
107038 cat >>confdefs.h <<_ACEOF
107039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107040 _ACEOF
107053 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
107054 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
107055 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
107056 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
107057 echo $ECHO_N "(cached) $ECHO_C" >&6
107062 ac_ext=cc
107063 ac_cpp='$CXXCPP $CPPFLAGS'
107064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107068 cat >conftest.$ac_ext <<_ACEOF
107069 /* confdefs.h. */
107070 _ACEOF
107071 cat confdefs.h >>conftest.$ac_ext
107072 cat >>conftest.$ac_ext <<_ACEOF
107073 /* end confdefs.h. */
107074 #include <math.h>
107075 #ifdef HAVE_IEEEFP_H
107076 #include <ieeefp.h>
107077 #endif
107080 main ()
107082 fabsl(0);
107084 return 0;
107086 _ACEOF
107087 rm -f conftest.$ac_objext
107088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107089 (eval $ac_compile) 2>conftest.er1
107090 ac_status=$?
107091 grep -v '^ *+' conftest.er1 >conftest.err
107092 rm -f conftest.er1
107093 cat conftest.err >&5
107094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107095 (exit $ac_status); } &&
107096 { ac_try='test -z "$ac_cxx_werror_flag"
107097 || test ! -s conftest.err'
107098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107099 (eval $ac_try) 2>&5
107100 ac_status=$?
107101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107102 (exit $ac_status); }; } &&
107103 { ac_try='test -s conftest.$ac_objext'
107104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107105 (eval $ac_try) 2>&5
107106 ac_status=$?
107107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107108 (exit $ac_status); }; }; then
107109 glibcxx_cv_func_fabsl_use=yes
107111 echo "$as_me: failed program was:" >&5
107112 sed 's/^/| /' conftest.$ac_ext >&5
107114 glibcxx_cv_func_fabsl_use=no
107116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107117 ac_ext=c
107118 ac_cpp='$CPP $CPPFLAGS'
107119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
107128 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
107130 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
107132 for ac_func in fabsl
107134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107135 echo "$as_me:$LINENO: checking for $ac_func" >&5
107136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107137 if eval "test \"\${$as_ac_var+set}\" = set"; then
107138 echo $ECHO_N "(cached) $ECHO_C" >&6
107140 if test x$gcc_no_link = xyes; then
107141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107143 { (exit 1); exit 1; }; }
107145 cat >conftest.$ac_ext <<_ACEOF
107146 /* confdefs.h. */
107147 _ACEOF
107148 cat confdefs.h >>conftest.$ac_ext
107149 cat >>conftest.$ac_ext <<_ACEOF
107150 /* end confdefs.h. */
107151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107153 #define $ac_func innocuous_$ac_func
107155 /* System header to define __stub macros and hopefully few prototypes,
107156 which can conflict with char $ac_func (); below.
107157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107158 <limits.h> exists even on freestanding compilers. */
107160 #ifdef __STDC__
107161 # include <limits.h>
107162 #else
107163 # include <assert.h>
107164 #endif
107166 #undef $ac_func
107168 /* Override any gcc2 internal prototype to avoid an error. */
107169 #ifdef __cplusplus
107170 extern "C"
107172 #endif
107173 /* We use char because int might match the return type of a gcc2
107174 builtin and then its argument prototype would still apply. */
107175 char $ac_func ();
107176 /* The GNU C library defines this for functions which it implements
107177 to always fail with ENOSYS. Some functions are actually named
107178 something starting with __ and the normal name is an alias. */
107179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107180 choke me
107181 #else
107182 char (*f) () = $ac_func;
107183 #endif
107184 #ifdef __cplusplus
107186 #endif
107189 main ()
107191 return f != $ac_func;
107193 return 0;
107195 _ACEOF
107196 rm -f conftest.$ac_objext conftest$ac_exeext
107197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107198 (eval $ac_link) 2>conftest.er1
107199 ac_status=$?
107200 grep -v '^ *+' conftest.er1 >conftest.err
107201 rm -f conftest.er1
107202 cat conftest.err >&5
107203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107204 (exit $ac_status); } &&
107205 { ac_try='test -z "$ac_c_werror_flag"
107206 || test ! -s conftest.err'
107207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107208 (eval $ac_try) 2>&5
107209 ac_status=$?
107210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107211 (exit $ac_status); }; } &&
107212 { ac_try='test -s conftest$ac_exeext'
107213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107214 (eval $ac_try) 2>&5
107215 ac_status=$?
107216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107217 (exit $ac_status); }; }; then
107218 eval "$as_ac_var=yes"
107220 echo "$as_me: failed program was:" >&5
107221 sed 's/^/| /' conftest.$ac_ext >&5
107223 eval "$as_ac_var=no"
107225 rm -f conftest.err conftest.$ac_objext \
107226 conftest$ac_exeext conftest.$ac_ext
107228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107230 if test `eval echo '${'$as_ac_var'}'` = yes; then
107231 cat >>confdefs.h <<_ACEOF
107232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107233 _ACEOF
107240 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
107241 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
107242 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
107243 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
107244 echo $ECHO_N "(cached) $ECHO_C" >&6
107249 ac_ext=cc
107250 ac_cpp='$CXXCPP $CPPFLAGS'
107251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107255 cat >conftest.$ac_ext <<_ACEOF
107256 /* confdefs.h. */
107257 _ACEOF
107258 cat confdefs.h >>conftest.$ac_ext
107259 cat >>conftest.$ac_ext <<_ACEOF
107260 /* end confdefs.h. */
107261 #include <math.h>
107262 #ifdef HAVE_IEEEFP_H
107263 #include <ieeefp.h>
107264 #endif
107267 main ()
107269 _fabsl(0);
107271 return 0;
107273 _ACEOF
107274 rm -f conftest.$ac_objext
107275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107276 (eval $ac_compile) 2>conftest.er1
107277 ac_status=$?
107278 grep -v '^ *+' conftest.er1 >conftest.err
107279 rm -f conftest.er1
107280 cat conftest.err >&5
107281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107282 (exit $ac_status); } &&
107283 { ac_try='test -z "$ac_cxx_werror_flag"
107284 || test ! -s conftest.err'
107285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107286 (eval $ac_try) 2>&5
107287 ac_status=$?
107288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107289 (exit $ac_status); }; } &&
107290 { ac_try='test -s conftest.$ac_objext'
107291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107292 (eval $ac_try) 2>&5
107293 ac_status=$?
107294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107295 (exit $ac_status); }; }; then
107296 glibcxx_cv_func__fabsl_use=yes
107298 echo "$as_me: failed program was:" >&5
107299 sed 's/^/| /' conftest.$ac_ext >&5
107301 glibcxx_cv_func__fabsl_use=no
107303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107304 ac_ext=c
107305 ac_cpp='$CPP $CPPFLAGS'
107306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107314 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
107315 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
107317 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
107319 for ac_func in _fabsl
107321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107322 echo "$as_me:$LINENO: checking for $ac_func" >&5
107323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107324 if eval "test \"\${$as_ac_var+set}\" = set"; then
107325 echo $ECHO_N "(cached) $ECHO_C" >&6
107327 if test x$gcc_no_link = xyes; then
107328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107330 { (exit 1); exit 1; }; }
107332 cat >conftest.$ac_ext <<_ACEOF
107333 /* confdefs.h. */
107334 _ACEOF
107335 cat confdefs.h >>conftest.$ac_ext
107336 cat >>conftest.$ac_ext <<_ACEOF
107337 /* end confdefs.h. */
107338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107340 #define $ac_func innocuous_$ac_func
107342 /* System header to define __stub macros and hopefully few prototypes,
107343 which can conflict with char $ac_func (); below.
107344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107345 <limits.h> exists even on freestanding compilers. */
107347 #ifdef __STDC__
107348 # include <limits.h>
107349 #else
107350 # include <assert.h>
107351 #endif
107353 #undef $ac_func
107355 /* Override any gcc2 internal prototype to avoid an error. */
107356 #ifdef __cplusplus
107357 extern "C"
107359 #endif
107360 /* We use char because int might match the return type of a gcc2
107361 builtin and then its argument prototype would still apply. */
107362 char $ac_func ();
107363 /* The GNU C library defines this for functions which it implements
107364 to always fail with ENOSYS. Some functions are actually named
107365 something starting with __ and the normal name is an alias. */
107366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107367 choke me
107368 #else
107369 char (*f) () = $ac_func;
107370 #endif
107371 #ifdef __cplusplus
107373 #endif
107376 main ()
107378 return f != $ac_func;
107380 return 0;
107382 _ACEOF
107383 rm -f conftest.$ac_objext conftest$ac_exeext
107384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107385 (eval $ac_link) 2>conftest.er1
107386 ac_status=$?
107387 grep -v '^ *+' conftest.er1 >conftest.err
107388 rm -f conftest.er1
107389 cat conftest.err >&5
107390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107391 (exit $ac_status); } &&
107392 { ac_try='test -z "$ac_c_werror_flag"
107393 || test ! -s conftest.err'
107394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107395 (eval $ac_try) 2>&5
107396 ac_status=$?
107397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107398 (exit $ac_status); }; } &&
107399 { ac_try='test -s conftest$ac_exeext'
107400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107401 (eval $ac_try) 2>&5
107402 ac_status=$?
107403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107404 (exit $ac_status); }; }; then
107405 eval "$as_ac_var=yes"
107407 echo "$as_me: failed program was:" >&5
107408 sed 's/^/| /' conftest.$ac_ext >&5
107410 eval "$as_ac_var=no"
107412 rm -f conftest.err conftest.$ac_objext \
107413 conftest$ac_exeext conftest.$ac_ext
107415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107417 if test `eval echo '${'$as_ac_var'}'` = yes; then
107418 cat >>confdefs.h <<_ACEOF
107419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107420 _ACEOF
107433 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
107434 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
107435 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
107436 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
107437 echo $ECHO_N "(cached) $ECHO_C" >&6
107442 ac_ext=cc
107443 ac_cpp='$CXXCPP $CPPFLAGS'
107444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107448 cat >conftest.$ac_ext <<_ACEOF
107449 /* confdefs.h. */
107450 _ACEOF
107451 cat confdefs.h >>conftest.$ac_ext
107452 cat >>conftest.$ac_ext <<_ACEOF
107453 /* end confdefs.h. */
107454 #include <math.h>
107456 main ()
107458 fmodl(0, 0);
107460 return 0;
107462 _ACEOF
107463 rm -f conftest.$ac_objext
107464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107465 (eval $ac_compile) 2>conftest.er1
107466 ac_status=$?
107467 grep -v '^ *+' conftest.er1 >conftest.err
107468 rm -f conftest.er1
107469 cat conftest.err >&5
107470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107471 (exit $ac_status); } &&
107472 { ac_try='test -z "$ac_cxx_werror_flag"
107473 || test ! -s conftest.err'
107474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107475 (eval $ac_try) 2>&5
107476 ac_status=$?
107477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107478 (exit $ac_status); }; } &&
107479 { ac_try='test -s conftest.$ac_objext'
107480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107481 (eval $ac_try) 2>&5
107482 ac_status=$?
107483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107484 (exit $ac_status); }; }; then
107485 glibcxx_cv_func_fmodl_use=yes
107487 echo "$as_me: failed program was:" >&5
107488 sed 's/^/| /' conftest.$ac_ext >&5
107490 glibcxx_cv_func_fmodl_use=no
107492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107493 ac_ext=c
107494 ac_cpp='$CPP $CPPFLAGS'
107495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
107504 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
107506 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
107508 for ac_func in fmodl
107510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107511 echo "$as_me:$LINENO: checking for $ac_func" >&5
107512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107513 if eval "test \"\${$as_ac_var+set}\" = set"; then
107514 echo $ECHO_N "(cached) $ECHO_C" >&6
107516 if test x$gcc_no_link = xyes; then
107517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107519 { (exit 1); exit 1; }; }
107521 cat >conftest.$ac_ext <<_ACEOF
107522 /* confdefs.h. */
107523 _ACEOF
107524 cat confdefs.h >>conftest.$ac_ext
107525 cat >>conftest.$ac_ext <<_ACEOF
107526 /* end confdefs.h. */
107527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107529 #define $ac_func innocuous_$ac_func
107531 /* System header to define __stub macros and hopefully few prototypes,
107532 which can conflict with char $ac_func (); below.
107533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107534 <limits.h> exists even on freestanding compilers. */
107536 #ifdef __STDC__
107537 # include <limits.h>
107538 #else
107539 # include <assert.h>
107540 #endif
107542 #undef $ac_func
107544 /* Override any gcc2 internal prototype to avoid an error. */
107545 #ifdef __cplusplus
107546 extern "C"
107548 #endif
107549 /* We use char because int might match the return type of a gcc2
107550 builtin and then its argument prototype would still apply. */
107551 char $ac_func ();
107552 /* The GNU C library defines this for functions which it implements
107553 to always fail with ENOSYS. Some functions are actually named
107554 something starting with __ and the normal name is an alias. */
107555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107556 choke me
107557 #else
107558 char (*f) () = $ac_func;
107559 #endif
107560 #ifdef __cplusplus
107562 #endif
107565 main ()
107567 return f != $ac_func;
107569 return 0;
107571 _ACEOF
107572 rm -f conftest.$ac_objext conftest$ac_exeext
107573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107574 (eval $ac_link) 2>conftest.er1
107575 ac_status=$?
107576 grep -v '^ *+' conftest.er1 >conftest.err
107577 rm -f conftest.er1
107578 cat conftest.err >&5
107579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107580 (exit $ac_status); } &&
107581 { ac_try='test -z "$ac_c_werror_flag"
107582 || test ! -s conftest.err'
107583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107584 (eval $ac_try) 2>&5
107585 ac_status=$?
107586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107587 (exit $ac_status); }; } &&
107588 { ac_try='test -s conftest$ac_exeext'
107589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107590 (eval $ac_try) 2>&5
107591 ac_status=$?
107592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107593 (exit $ac_status); }; }; then
107594 eval "$as_ac_var=yes"
107596 echo "$as_me: failed program was:" >&5
107597 sed 's/^/| /' conftest.$ac_ext >&5
107599 eval "$as_ac_var=no"
107601 rm -f conftest.err conftest.$ac_objext \
107602 conftest$ac_exeext conftest.$ac_ext
107604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107606 if test `eval echo '${'$as_ac_var'}'` = yes; then
107607 cat >>confdefs.h <<_ACEOF
107608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107609 _ACEOF
107616 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
107617 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
107618 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
107619 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
107620 echo $ECHO_N "(cached) $ECHO_C" >&6
107625 ac_ext=cc
107626 ac_cpp='$CXXCPP $CPPFLAGS'
107627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107631 cat >conftest.$ac_ext <<_ACEOF
107632 /* confdefs.h. */
107633 _ACEOF
107634 cat confdefs.h >>conftest.$ac_ext
107635 cat >>conftest.$ac_ext <<_ACEOF
107636 /* end confdefs.h. */
107637 #include <math.h>
107639 main ()
107641 _fmodl(0, 0);
107643 return 0;
107645 _ACEOF
107646 rm -f conftest.$ac_objext
107647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107648 (eval $ac_compile) 2>conftest.er1
107649 ac_status=$?
107650 grep -v '^ *+' conftest.er1 >conftest.err
107651 rm -f conftest.er1
107652 cat conftest.err >&5
107653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107654 (exit $ac_status); } &&
107655 { ac_try='test -z "$ac_cxx_werror_flag"
107656 || test ! -s conftest.err'
107657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107658 (eval $ac_try) 2>&5
107659 ac_status=$?
107660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107661 (exit $ac_status); }; } &&
107662 { ac_try='test -s conftest.$ac_objext'
107663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107664 (eval $ac_try) 2>&5
107665 ac_status=$?
107666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107667 (exit $ac_status); }; }; then
107668 glibcxx_cv_func__fmodl_use=yes
107670 echo "$as_me: failed program was:" >&5
107671 sed 's/^/| /' conftest.$ac_ext >&5
107673 glibcxx_cv_func__fmodl_use=no
107675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107676 ac_ext=c
107677 ac_cpp='$CPP $CPPFLAGS'
107678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
107687 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
107689 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
107691 for ac_func in _fmodl
107693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107694 echo "$as_me:$LINENO: checking for $ac_func" >&5
107695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107696 if eval "test \"\${$as_ac_var+set}\" = set"; then
107697 echo $ECHO_N "(cached) $ECHO_C" >&6
107699 if test x$gcc_no_link = xyes; then
107700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107702 { (exit 1); exit 1; }; }
107704 cat >conftest.$ac_ext <<_ACEOF
107705 /* confdefs.h. */
107706 _ACEOF
107707 cat confdefs.h >>conftest.$ac_ext
107708 cat >>conftest.$ac_ext <<_ACEOF
107709 /* end confdefs.h. */
107710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107712 #define $ac_func innocuous_$ac_func
107714 /* System header to define __stub macros and hopefully few prototypes,
107715 which can conflict with char $ac_func (); below.
107716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107717 <limits.h> exists even on freestanding compilers. */
107719 #ifdef __STDC__
107720 # include <limits.h>
107721 #else
107722 # include <assert.h>
107723 #endif
107725 #undef $ac_func
107727 /* Override any gcc2 internal prototype to avoid an error. */
107728 #ifdef __cplusplus
107729 extern "C"
107731 #endif
107732 /* We use char because int might match the return type of a gcc2
107733 builtin and then its argument prototype would still apply. */
107734 char $ac_func ();
107735 /* The GNU C library defines this for functions which it implements
107736 to always fail with ENOSYS. Some functions are actually named
107737 something starting with __ and the normal name is an alias. */
107738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107739 choke me
107740 #else
107741 char (*f) () = $ac_func;
107742 #endif
107743 #ifdef __cplusplus
107745 #endif
107748 main ()
107750 return f != $ac_func;
107752 return 0;
107754 _ACEOF
107755 rm -f conftest.$ac_objext conftest$ac_exeext
107756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107757 (eval $ac_link) 2>conftest.er1
107758 ac_status=$?
107759 grep -v '^ *+' conftest.er1 >conftest.err
107760 rm -f conftest.er1
107761 cat conftest.err >&5
107762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107763 (exit $ac_status); } &&
107764 { ac_try='test -z "$ac_c_werror_flag"
107765 || test ! -s conftest.err'
107766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107767 (eval $ac_try) 2>&5
107768 ac_status=$?
107769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107770 (exit $ac_status); }; } &&
107771 { ac_try='test -s conftest$ac_exeext'
107772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107773 (eval $ac_try) 2>&5
107774 ac_status=$?
107775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107776 (exit $ac_status); }; }; then
107777 eval "$as_ac_var=yes"
107779 echo "$as_me: failed program was:" >&5
107780 sed 's/^/| /' conftest.$ac_ext >&5
107782 eval "$as_ac_var=no"
107784 rm -f conftest.err conftest.$ac_objext \
107785 conftest$ac_exeext conftest.$ac_ext
107787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107789 if test `eval echo '${'$as_ac_var'}'` = yes; then
107790 cat >>confdefs.h <<_ACEOF
107791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107792 _ACEOF
107805 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
107806 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
107807 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
107808 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
107809 echo $ECHO_N "(cached) $ECHO_C" >&6
107814 ac_ext=cc
107815 ac_cpp='$CXXCPP $CPPFLAGS'
107816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107820 cat >conftest.$ac_ext <<_ACEOF
107821 /* confdefs.h. */
107822 _ACEOF
107823 cat confdefs.h >>conftest.$ac_ext
107824 cat >>conftest.$ac_ext <<_ACEOF
107825 /* end confdefs.h. */
107826 #include <math.h>
107828 main ()
107830 frexpl(0, 0);
107832 return 0;
107834 _ACEOF
107835 rm -f conftest.$ac_objext
107836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107837 (eval $ac_compile) 2>conftest.er1
107838 ac_status=$?
107839 grep -v '^ *+' conftest.er1 >conftest.err
107840 rm -f conftest.er1
107841 cat conftest.err >&5
107842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107843 (exit $ac_status); } &&
107844 { ac_try='test -z "$ac_cxx_werror_flag"
107845 || test ! -s conftest.err'
107846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107847 (eval $ac_try) 2>&5
107848 ac_status=$?
107849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107850 (exit $ac_status); }; } &&
107851 { ac_try='test -s conftest.$ac_objext'
107852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107853 (eval $ac_try) 2>&5
107854 ac_status=$?
107855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107856 (exit $ac_status); }; }; then
107857 glibcxx_cv_func_frexpl_use=yes
107859 echo "$as_me: failed program was:" >&5
107860 sed 's/^/| /' conftest.$ac_ext >&5
107862 glibcxx_cv_func_frexpl_use=no
107864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107865 ac_ext=c
107866 ac_cpp='$CPP $CPPFLAGS'
107867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107875 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
107876 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
107878 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
107880 for ac_func in frexpl
107882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107883 echo "$as_me:$LINENO: checking for $ac_func" >&5
107884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107885 if eval "test \"\${$as_ac_var+set}\" = set"; then
107886 echo $ECHO_N "(cached) $ECHO_C" >&6
107888 if test x$gcc_no_link = xyes; then
107889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107891 { (exit 1); exit 1; }; }
107893 cat >conftest.$ac_ext <<_ACEOF
107894 /* confdefs.h. */
107895 _ACEOF
107896 cat confdefs.h >>conftest.$ac_ext
107897 cat >>conftest.$ac_ext <<_ACEOF
107898 /* end confdefs.h. */
107899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107901 #define $ac_func innocuous_$ac_func
107903 /* System header to define __stub macros and hopefully few prototypes,
107904 which can conflict with char $ac_func (); below.
107905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107906 <limits.h> exists even on freestanding compilers. */
107908 #ifdef __STDC__
107909 # include <limits.h>
107910 #else
107911 # include <assert.h>
107912 #endif
107914 #undef $ac_func
107916 /* Override any gcc2 internal prototype to avoid an error. */
107917 #ifdef __cplusplus
107918 extern "C"
107920 #endif
107921 /* We use char because int might match the return type of a gcc2
107922 builtin and then its argument prototype would still apply. */
107923 char $ac_func ();
107924 /* The GNU C library defines this for functions which it implements
107925 to always fail with ENOSYS. Some functions are actually named
107926 something starting with __ and the normal name is an alias. */
107927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107928 choke me
107929 #else
107930 char (*f) () = $ac_func;
107931 #endif
107932 #ifdef __cplusplus
107934 #endif
107937 main ()
107939 return f != $ac_func;
107941 return 0;
107943 _ACEOF
107944 rm -f conftest.$ac_objext conftest$ac_exeext
107945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107946 (eval $ac_link) 2>conftest.er1
107947 ac_status=$?
107948 grep -v '^ *+' conftest.er1 >conftest.err
107949 rm -f conftest.er1
107950 cat conftest.err >&5
107951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107952 (exit $ac_status); } &&
107953 { ac_try='test -z "$ac_c_werror_flag"
107954 || test ! -s conftest.err'
107955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107956 (eval $ac_try) 2>&5
107957 ac_status=$?
107958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107959 (exit $ac_status); }; } &&
107960 { ac_try='test -s conftest$ac_exeext'
107961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107962 (eval $ac_try) 2>&5
107963 ac_status=$?
107964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107965 (exit $ac_status); }; }; then
107966 eval "$as_ac_var=yes"
107968 echo "$as_me: failed program was:" >&5
107969 sed 's/^/| /' conftest.$ac_ext >&5
107971 eval "$as_ac_var=no"
107973 rm -f conftest.err conftest.$ac_objext \
107974 conftest$ac_exeext conftest.$ac_ext
107976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107978 if test `eval echo '${'$as_ac_var'}'` = yes; then
107979 cat >>confdefs.h <<_ACEOF
107980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107981 _ACEOF
107988 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
107989 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
107990 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
107991 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
107992 echo $ECHO_N "(cached) $ECHO_C" >&6
107997 ac_ext=cc
107998 ac_cpp='$CXXCPP $CPPFLAGS'
107999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108003 cat >conftest.$ac_ext <<_ACEOF
108004 /* confdefs.h. */
108005 _ACEOF
108006 cat confdefs.h >>conftest.$ac_ext
108007 cat >>conftest.$ac_ext <<_ACEOF
108008 /* end confdefs.h. */
108009 #include <math.h>
108011 main ()
108013 _frexpl(0, 0);
108015 return 0;
108017 _ACEOF
108018 rm -f conftest.$ac_objext
108019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108020 (eval $ac_compile) 2>conftest.er1
108021 ac_status=$?
108022 grep -v '^ *+' conftest.er1 >conftest.err
108023 rm -f conftest.er1
108024 cat conftest.err >&5
108025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108026 (exit $ac_status); } &&
108027 { ac_try='test -z "$ac_cxx_werror_flag"
108028 || test ! -s conftest.err'
108029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108030 (eval $ac_try) 2>&5
108031 ac_status=$?
108032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108033 (exit $ac_status); }; } &&
108034 { ac_try='test -s conftest.$ac_objext'
108035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108036 (eval $ac_try) 2>&5
108037 ac_status=$?
108038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108039 (exit $ac_status); }; }; then
108040 glibcxx_cv_func__frexpl_use=yes
108042 echo "$as_me: failed program was:" >&5
108043 sed 's/^/| /' conftest.$ac_ext >&5
108045 glibcxx_cv_func__frexpl_use=no
108047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108048 ac_ext=c
108049 ac_cpp='$CPP $CPPFLAGS'
108050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108058 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
108059 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
108061 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
108063 for ac_func in _frexpl
108065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108066 echo "$as_me:$LINENO: checking for $ac_func" >&5
108067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108068 if eval "test \"\${$as_ac_var+set}\" = set"; then
108069 echo $ECHO_N "(cached) $ECHO_C" >&6
108071 if test x$gcc_no_link = xyes; then
108072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108074 { (exit 1); exit 1; }; }
108076 cat >conftest.$ac_ext <<_ACEOF
108077 /* confdefs.h. */
108078 _ACEOF
108079 cat confdefs.h >>conftest.$ac_ext
108080 cat >>conftest.$ac_ext <<_ACEOF
108081 /* end confdefs.h. */
108082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108084 #define $ac_func innocuous_$ac_func
108086 /* System header to define __stub macros and hopefully few prototypes,
108087 which can conflict with char $ac_func (); below.
108088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108089 <limits.h> exists even on freestanding compilers. */
108091 #ifdef __STDC__
108092 # include <limits.h>
108093 #else
108094 # include <assert.h>
108095 #endif
108097 #undef $ac_func
108099 /* Override any gcc2 internal prototype to avoid an error. */
108100 #ifdef __cplusplus
108101 extern "C"
108103 #endif
108104 /* We use char because int might match the return type of a gcc2
108105 builtin and then its argument prototype would still apply. */
108106 char $ac_func ();
108107 /* The GNU C library defines this for functions which it implements
108108 to always fail with ENOSYS. Some functions are actually named
108109 something starting with __ and the normal name is an alias. */
108110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108111 choke me
108112 #else
108113 char (*f) () = $ac_func;
108114 #endif
108115 #ifdef __cplusplus
108117 #endif
108120 main ()
108122 return f != $ac_func;
108124 return 0;
108126 _ACEOF
108127 rm -f conftest.$ac_objext conftest$ac_exeext
108128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108129 (eval $ac_link) 2>conftest.er1
108130 ac_status=$?
108131 grep -v '^ *+' conftest.er1 >conftest.err
108132 rm -f conftest.er1
108133 cat conftest.err >&5
108134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108135 (exit $ac_status); } &&
108136 { ac_try='test -z "$ac_c_werror_flag"
108137 || test ! -s conftest.err'
108138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108139 (eval $ac_try) 2>&5
108140 ac_status=$?
108141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108142 (exit $ac_status); }; } &&
108143 { ac_try='test -s conftest$ac_exeext'
108144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108145 (eval $ac_try) 2>&5
108146 ac_status=$?
108147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108148 (exit $ac_status); }; }; then
108149 eval "$as_ac_var=yes"
108151 echo "$as_me: failed program was:" >&5
108152 sed 's/^/| /' conftest.$ac_ext >&5
108154 eval "$as_ac_var=no"
108156 rm -f conftest.err conftest.$ac_objext \
108157 conftest$ac_exeext conftest.$ac_ext
108159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108161 if test `eval echo '${'$as_ac_var'}'` = yes; then
108162 cat >>confdefs.h <<_ACEOF
108163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108164 _ACEOF
108177 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
108178 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
108179 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
108180 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
108181 echo $ECHO_N "(cached) $ECHO_C" >&6
108186 ac_ext=cc
108187 ac_cpp='$CXXCPP $CPPFLAGS'
108188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108192 cat >conftest.$ac_ext <<_ACEOF
108193 /* confdefs.h. */
108194 _ACEOF
108195 cat confdefs.h >>conftest.$ac_ext
108196 cat >>conftest.$ac_ext <<_ACEOF
108197 /* end confdefs.h. */
108198 #include <math.h>
108200 main ()
108202 hypotl(0, 0);
108204 return 0;
108206 _ACEOF
108207 rm -f conftest.$ac_objext
108208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108209 (eval $ac_compile) 2>conftest.er1
108210 ac_status=$?
108211 grep -v '^ *+' conftest.er1 >conftest.err
108212 rm -f conftest.er1
108213 cat conftest.err >&5
108214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108215 (exit $ac_status); } &&
108216 { ac_try='test -z "$ac_cxx_werror_flag"
108217 || test ! -s conftest.err'
108218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108219 (eval $ac_try) 2>&5
108220 ac_status=$?
108221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108222 (exit $ac_status); }; } &&
108223 { ac_try='test -s conftest.$ac_objext'
108224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108225 (eval $ac_try) 2>&5
108226 ac_status=$?
108227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108228 (exit $ac_status); }; }; then
108229 glibcxx_cv_func_hypotl_use=yes
108231 echo "$as_me: failed program was:" >&5
108232 sed 's/^/| /' conftest.$ac_ext >&5
108234 glibcxx_cv_func_hypotl_use=no
108236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108237 ac_ext=c
108238 ac_cpp='$CPP $CPPFLAGS'
108239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108247 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
108248 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
108250 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
108252 for ac_func in hypotl
108254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108255 echo "$as_me:$LINENO: checking for $ac_func" >&5
108256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108257 if eval "test \"\${$as_ac_var+set}\" = set"; then
108258 echo $ECHO_N "(cached) $ECHO_C" >&6
108260 if test x$gcc_no_link = xyes; then
108261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108263 { (exit 1); exit 1; }; }
108265 cat >conftest.$ac_ext <<_ACEOF
108266 /* confdefs.h. */
108267 _ACEOF
108268 cat confdefs.h >>conftest.$ac_ext
108269 cat >>conftest.$ac_ext <<_ACEOF
108270 /* end confdefs.h. */
108271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108273 #define $ac_func innocuous_$ac_func
108275 /* System header to define __stub macros and hopefully few prototypes,
108276 which can conflict with char $ac_func (); below.
108277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108278 <limits.h> exists even on freestanding compilers. */
108280 #ifdef __STDC__
108281 # include <limits.h>
108282 #else
108283 # include <assert.h>
108284 #endif
108286 #undef $ac_func
108288 /* Override any gcc2 internal prototype to avoid an error. */
108289 #ifdef __cplusplus
108290 extern "C"
108292 #endif
108293 /* We use char because int might match the return type of a gcc2
108294 builtin and then its argument prototype would still apply. */
108295 char $ac_func ();
108296 /* The GNU C library defines this for functions which it implements
108297 to always fail with ENOSYS. Some functions are actually named
108298 something starting with __ and the normal name is an alias. */
108299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108300 choke me
108301 #else
108302 char (*f) () = $ac_func;
108303 #endif
108304 #ifdef __cplusplus
108306 #endif
108309 main ()
108311 return f != $ac_func;
108313 return 0;
108315 _ACEOF
108316 rm -f conftest.$ac_objext conftest$ac_exeext
108317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108318 (eval $ac_link) 2>conftest.er1
108319 ac_status=$?
108320 grep -v '^ *+' conftest.er1 >conftest.err
108321 rm -f conftest.er1
108322 cat conftest.err >&5
108323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108324 (exit $ac_status); } &&
108325 { ac_try='test -z "$ac_c_werror_flag"
108326 || test ! -s conftest.err'
108327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108328 (eval $ac_try) 2>&5
108329 ac_status=$?
108330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108331 (exit $ac_status); }; } &&
108332 { ac_try='test -s conftest$ac_exeext'
108333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108334 (eval $ac_try) 2>&5
108335 ac_status=$?
108336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108337 (exit $ac_status); }; }; then
108338 eval "$as_ac_var=yes"
108340 echo "$as_me: failed program was:" >&5
108341 sed 's/^/| /' conftest.$ac_ext >&5
108343 eval "$as_ac_var=no"
108345 rm -f conftest.err conftest.$ac_objext \
108346 conftest$ac_exeext conftest.$ac_ext
108348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108350 if test `eval echo '${'$as_ac_var'}'` = yes; then
108351 cat >>confdefs.h <<_ACEOF
108352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108353 _ACEOF
108360 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
108361 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
108362 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
108363 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
108364 echo $ECHO_N "(cached) $ECHO_C" >&6
108369 ac_ext=cc
108370 ac_cpp='$CXXCPP $CPPFLAGS'
108371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108375 cat >conftest.$ac_ext <<_ACEOF
108376 /* confdefs.h. */
108377 _ACEOF
108378 cat confdefs.h >>conftest.$ac_ext
108379 cat >>conftest.$ac_ext <<_ACEOF
108380 /* end confdefs.h. */
108381 #include <math.h>
108383 main ()
108385 _hypotl(0, 0);
108387 return 0;
108389 _ACEOF
108390 rm -f conftest.$ac_objext
108391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108392 (eval $ac_compile) 2>conftest.er1
108393 ac_status=$?
108394 grep -v '^ *+' conftest.er1 >conftest.err
108395 rm -f conftest.er1
108396 cat conftest.err >&5
108397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108398 (exit $ac_status); } &&
108399 { ac_try='test -z "$ac_cxx_werror_flag"
108400 || test ! -s conftest.err'
108401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108402 (eval $ac_try) 2>&5
108403 ac_status=$?
108404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108405 (exit $ac_status); }; } &&
108406 { ac_try='test -s conftest.$ac_objext'
108407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108408 (eval $ac_try) 2>&5
108409 ac_status=$?
108410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108411 (exit $ac_status); }; }; then
108412 glibcxx_cv_func__hypotl_use=yes
108414 echo "$as_me: failed program was:" >&5
108415 sed 's/^/| /' conftest.$ac_ext >&5
108417 glibcxx_cv_func__hypotl_use=no
108419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108420 ac_ext=c
108421 ac_cpp='$CPP $CPPFLAGS'
108422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108430 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
108431 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
108433 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
108435 for ac_func in _hypotl
108437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108438 echo "$as_me:$LINENO: checking for $ac_func" >&5
108439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108440 if eval "test \"\${$as_ac_var+set}\" = set"; then
108441 echo $ECHO_N "(cached) $ECHO_C" >&6
108443 if test x$gcc_no_link = xyes; then
108444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108446 { (exit 1); exit 1; }; }
108448 cat >conftest.$ac_ext <<_ACEOF
108449 /* confdefs.h. */
108450 _ACEOF
108451 cat confdefs.h >>conftest.$ac_ext
108452 cat >>conftest.$ac_ext <<_ACEOF
108453 /* end confdefs.h. */
108454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108456 #define $ac_func innocuous_$ac_func
108458 /* System header to define __stub macros and hopefully few prototypes,
108459 which can conflict with char $ac_func (); below.
108460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108461 <limits.h> exists even on freestanding compilers. */
108463 #ifdef __STDC__
108464 # include <limits.h>
108465 #else
108466 # include <assert.h>
108467 #endif
108469 #undef $ac_func
108471 /* Override any gcc2 internal prototype to avoid an error. */
108472 #ifdef __cplusplus
108473 extern "C"
108475 #endif
108476 /* We use char because int might match the return type of a gcc2
108477 builtin and then its argument prototype would still apply. */
108478 char $ac_func ();
108479 /* The GNU C library defines this for functions which it implements
108480 to always fail with ENOSYS. Some functions are actually named
108481 something starting with __ and the normal name is an alias. */
108482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108483 choke me
108484 #else
108485 char (*f) () = $ac_func;
108486 #endif
108487 #ifdef __cplusplus
108489 #endif
108492 main ()
108494 return f != $ac_func;
108496 return 0;
108498 _ACEOF
108499 rm -f conftest.$ac_objext conftest$ac_exeext
108500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108501 (eval $ac_link) 2>conftest.er1
108502 ac_status=$?
108503 grep -v '^ *+' conftest.er1 >conftest.err
108504 rm -f conftest.er1
108505 cat conftest.err >&5
108506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108507 (exit $ac_status); } &&
108508 { ac_try='test -z "$ac_c_werror_flag"
108509 || test ! -s conftest.err'
108510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108511 (eval $ac_try) 2>&5
108512 ac_status=$?
108513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108514 (exit $ac_status); }; } &&
108515 { ac_try='test -s conftest$ac_exeext'
108516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108517 (eval $ac_try) 2>&5
108518 ac_status=$?
108519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108520 (exit $ac_status); }; }; then
108521 eval "$as_ac_var=yes"
108523 echo "$as_me: failed program was:" >&5
108524 sed 's/^/| /' conftest.$ac_ext >&5
108526 eval "$as_ac_var=no"
108528 rm -f conftest.err conftest.$ac_objext \
108529 conftest$ac_exeext conftest.$ac_ext
108531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108533 if test `eval echo '${'$as_ac_var'}'` = yes; then
108534 cat >>confdefs.h <<_ACEOF
108535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108536 _ACEOF
108549 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
108550 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
108551 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
108552 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
108553 echo $ECHO_N "(cached) $ECHO_C" >&6
108558 ac_ext=cc
108559 ac_cpp='$CXXCPP $CPPFLAGS'
108560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108564 cat >conftest.$ac_ext <<_ACEOF
108565 /* confdefs.h. */
108566 _ACEOF
108567 cat confdefs.h >>conftest.$ac_ext
108568 cat >>conftest.$ac_ext <<_ACEOF
108569 /* end confdefs.h. */
108570 #include <math.h>
108572 main ()
108574 ldexpl(0, 0);
108576 return 0;
108578 _ACEOF
108579 rm -f conftest.$ac_objext
108580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108581 (eval $ac_compile) 2>conftest.er1
108582 ac_status=$?
108583 grep -v '^ *+' conftest.er1 >conftest.err
108584 rm -f conftest.er1
108585 cat conftest.err >&5
108586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108587 (exit $ac_status); } &&
108588 { ac_try='test -z "$ac_cxx_werror_flag"
108589 || test ! -s conftest.err'
108590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108591 (eval $ac_try) 2>&5
108592 ac_status=$?
108593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108594 (exit $ac_status); }; } &&
108595 { ac_try='test -s conftest.$ac_objext'
108596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108597 (eval $ac_try) 2>&5
108598 ac_status=$?
108599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108600 (exit $ac_status); }; }; then
108601 glibcxx_cv_func_ldexpl_use=yes
108603 echo "$as_me: failed program was:" >&5
108604 sed 's/^/| /' conftest.$ac_ext >&5
108606 glibcxx_cv_func_ldexpl_use=no
108608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108609 ac_ext=c
108610 ac_cpp='$CPP $CPPFLAGS'
108611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108619 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
108620 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
108622 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
108624 for ac_func in ldexpl
108626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108627 echo "$as_me:$LINENO: checking for $ac_func" >&5
108628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108629 if eval "test \"\${$as_ac_var+set}\" = set"; then
108630 echo $ECHO_N "(cached) $ECHO_C" >&6
108632 if test x$gcc_no_link = xyes; then
108633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108635 { (exit 1); exit 1; }; }
108637 cat >conftest.$ac_ext <<_ACEOF
108638 /* confdefs.h. */
108639 _ACEOF
108640 cat confdefs.h >>conftest.$ac_ext
108641 cat >>conftest.$ac_ext <<_ACEOF
108642 /* end confdefs.h. */
108643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108645 #define $ac_func innocuous_$ac_func
108647 /* System header to define __stub macros and hopefully few prototypes,
108648 which can conflict with char $ac_func (); below.
108649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108650 <limits.h> exists even on freestanding compilers. */
108652 #ifdef __STDC__
108653 # include <limits.h>
108654 #else
108655 # include <assert.h>
108656 #endif
108658 #undef $ac_func
108660 /* Override any gcc2 internal prototype to avoid an error. */
108661 #ifdef __cplusplus
108662 extern "C"
108664 #endif
108665 /* We use char because int might match the return type of a gcc2
108666 builtin and then its argument prototype would still apply. */
108667 char $ac_func ();
108668 /* The GNU C library defines this for functions which it implements
108669 to always fail with ENOSYS. Some functions are actually named
108670 something starting with __ and the normal name is an alias. */
108671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108672 choke me
108673 #else
108674 char (*f) () = $ac_func;
108675 #endif
108676 #ifdef __cplusplus
108678 #endif
108681 main ()
108683 return f != $ac_func;
108685 return 0;
108687 _ACEOF
108688 rm -f conftest.$ac_objext conftest$ac_exeext
108689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108690 (eval $ac_link) 2>conftest.er1
108691 ac_status=$?
108692 grep -v '^ *+' conftest.er1 >conftest.err
108693 rm -f conftest.er1
108694 cat conftest.err >&5
108695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108696 (exit $ac_status); } &&
108697 { ac_try='test -z "$ac_c_werror_flag"
108698 || test ! -s conftest.err'
108699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108700 (eval $ac_try) 2>&5
108701 ac_status=$?
108702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108703 (exit $ac_status); }; } &&
108704 { ac_try='test -s conftest$ac_exeext'
108705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108706 (eval $ac_try) 2>&5
108707 ac_status=$?
108708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108709 (exit $ac_status); }; }; then
108710 eval "$as_ac_var=yes"
108712 echo "$as_me: failed program was:" >&5
108713 sed 's/^/| /' conftest.$ac_ext >&5
108715 eval "$as_ac_var=no"
108717 rm -f conftest.err conftest.$ac_objext \
108718 conftest$ac_exeext conftest.$ac_ext
108720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108722 if test `eval echo '${'$as_ac_var'}'` = yes; then
108723 cat >>confdefs.h <<_ACEOF
108724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108725 _ACEOF
108732 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
108733 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
108734 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
108735 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
108736 echo $ECHO_N "(cached) $ECHO_C" >&6
108741 ac_ext=cc
108742 ac_cpp='$CXXCPP $CPPFLAGS'
108743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108747 cat >conftest.$ac_ext <<_ACEOF
108748 /* confdefs.h. */
108749 _ACEOF
108750 cat confdefs.h >>conftest.$ac_ext
108751 cat >>conftest.$ac_ext <<_ACEOF
108752 /* end confdefs.h. */
108753 #include <math.h>
108755 main ()
108757 _ldexpl(0, 0);
108759 return 0;
108761 _ACEOF
108762 rm -f conftest.$ac_objext
108763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108764 (eval $ac_compile) 2>conftest.er1
108765 ac_status=$?
108766 grep -v '^ *+' conftest.er1 >conftest.err
108767 rm -f conftest.er1
108768 cat conftest.err >&5
108769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108770 (exit $ac_status); } &&
108771 { ac_try='test -z "$ac_cxx_werror_flag"
108772 || test ! -s conftest.err'
108773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108774 (eval $ac_try) 2>&5
108775 ac_status=$?
108776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108777 (exit $ac_status); }; } &&
108778 { ac_try='test -s conftest.$ac_objext'
108779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108780 (eval $ac_try) 2>&5
108781 ac_status=$?
108782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108783 (exit $ac_status); }; }; then
108784 glibcxx_cv_func__ldexpl_use=yes
108786 echo "$as_me: failed program was:" >&5
108787 sed 's/^/| /' conftest.$ac_ext >&5
108789 glibcxx_cv_func__ldexpl_use=no
108791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108792 ac_ext=c
108793 ac_cpp='$CPP $CPPFLAGS'
108794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108802 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
108803 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
108805 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
108807 for ac_func in _ldexpl
108809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108810 echo "$as_me:$LINENO: checking for $ac_func" >&5
108811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108812 if eval "test \"\${$as_ac_var+set}\" = set"; then
108813 echo $ECHO_N "(cached) $ECHO_C" >&6
108815 if test x$gcc_no_link = xyes; then
108816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108818 { (exit 1); exit 1; }; }
108820 cat >conftest.$ac_ext <<_ACEOF
108821 /* confdefs.h. */
108822 _ACEOF
108823 cat confdefs.h >>conftest.$ac_ext
108824 cat >>conftest.$ac_ext <<_ACEOF
108825 /* end confdefs.h. */
108826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108828 #define $ac_func innocuous_$ac_func
108830 /* System header to define __stub macros and hopefully few prototypes,
108831 which can conflict with char $ac_func (); below.
108832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108833 <limits.h> exists even on freestanding compilers. */
108835 #ifdef __STDC__
108836 # include <limits.h>
108837 #else
108838 # include <assert.h>
108839 #endif
108841 #undef $ac_func
108843 /* Override any gcc2 internal prototype to avoid an error. */
108844 #ifdef __cplusplus
108845 extern "C"
108847 #endif
108848 /* We use char because int might match the return type of a gcc2
108849 builtin and then its argument prototype would still apply. */
108850 char $ac_func ();
108851 /* The GNU C library defines this for functions which it implements
108852 to always fail with ENOSYS. Some functions are actually named
108853 something starting with __ and the normal name is an alias. */
108854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108855 choke me
108856 #else
108857 char (*f) () = $ac_func;
108858 #endif
108859 #ifdef __cplusplus
108861 #endif
108864 main ()
108866 return f != $ac_func;
108868 return 0;
108870 _ACEOF
108871 rm -f conftest.$ac_objext conftest$ac_exeext
108872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108873 (eval $ac_link) 2>conftest.er1
108874 ac_status=$?
108875 grep -v '^ *+' conftest.er1 >conftest.err
108876 rm -f conftest.er1
108877 cat conftest.err >&5
108878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108879 (exit $ac_status); } &&
108880 { ac_try='test -z "$ac_c_werror_flag"
108881 || test ! -s conftest.err'
108882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108883 (eval $ac_try) 2>&5
108884 ac_status=$?
108885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108886 (exit $ac_status); }; } &&
108887 { ac_try='test -s conftest$ac_exeext'
108888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108889 (eval $ac_try) 2>&5
108890 ac_status=$?
108891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108892 (exit $ac_status); }; }; then
108893 eval "$as_ac_var=yes"
108895 echo "$as_me: failed program was:" >&5
108896 sed 's/^/| /' conftest.$ac_ext >&5
108898 eval "$as_ac_var=no"
108900 rm -f conftest.err conftest.$ac_objext \
108901 conftest$ac_exeext conftest.$ac_ext
108903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108905 if test `eval echo '${'$as_ac_var'}'` = yes; then
108906 cat >>confdefs.h <<_ACEOF
108907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108908 _ACEOF
108921 echo "$as_me:$LINENO: checking for logl declaration" >&5
108922 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
108923 if test x${glibcxx_cv_func_logl_use+set} != xset; then
108924 if test "${glibcxx_cv_func_logl_use+set}" = set; then
108925 echo $ECHO_N "(cached) $ECHO_C" >&6
108930 ac_ext=cc
108931 ac_cpp='$CXXCPP $CPPFLAGS'
108932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108936 cat >conftest.$ac_ext <<_ACEOF
108937 /* confdefs.h. */
108938 _ACEOF
108939 cat confdefs.h >>conftest.$ac_ext
108940 cat >>conftest.$ac_ext <<_ACEOF
108941 /* end confdefs.h. */
108942 #include <math.h>
108943 #ifdef HAVE_IEEEFP_H
108944 #include <ieeefp.h>
108945 #endif
108948 main ()
108950 logl(0);
108952 return 0;
108954 _ACEOF
108955 rm -f conftest.$ac_objext
108956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108957 (eval $ac_compile) 2>conftest.er1
108958 ac_status=$?
108959 grep -v '^ *+' conftest.er1 >conftest.err
108960 rm -f conftest.er1
108961 cat conftest.err >&5
108962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108963 (exit $ac_status); } &&
108964 { ac_try='test -z "$ac_cxx_werror_flag"
108965 || test ! -s conftest.err'
108966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108967 (eval $ac_try) 2>&5
108968 ac_status=$?
108969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108970 (exit $ac_status); }; } &&
108971 { ac_try='test -s conftest.$ac_objext'
108972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108973 (eval $ac_try) 2>&5
108974 ac_status=$?
108975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108976 (exit $ac_status); }; }; then
108977 glibcxx_cv_func_logl_use=yes
108979 echo "$as_me: failed program was:" >&5
108980 sed 's/^/| /' conftest.$ac_ext >&5
108982 glibcxx_cv_func_logl_use=no
108984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108985 ac_ext=c
108986 ac_cpp='$CPP $CPPFLAGS'
108987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
108996 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
108998 if test x$glibcxx_cv_func_logl_use = x"yes"; then
109000 for ac_func in logl
109002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109003 echo "$as_me:$LINENO: checking for $ac_func" >&5
109004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109005 if eval "test \"\${$as_ac_var+set}\" = set"; then
109006 echo $ECHO_N "(cached) $ECHO_C" >&6
109008 if test x$gcc_no_link = xyes; then
109009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109011 { (exit 1); exit 1; }; }
109013 cat >conftest.$ac_ext <<_ACEOF
109014 /* confdefs.h. */
109015 _ACEOF
109016 cat confdefs.h >>conftest.$ac_ext
109017 cat >>conftest.$ac_ext <<_ACEOF
109018 /* end confdefs.h. */
109019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109021 #define $ac_func innocuous_$ac_func
109023 /* System header to define __stub macros and hopefully few prototypes,
109024 which can conflict with char $ac_func (); below.
109025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109026 <limits.h> exists even on freestanding compilers. */
109028 #ifdef __STDC__
109029 # include <limits.h>
109030 #else
109031 # include <assert.h>
109032 #endif
109034 #undef $ac_func
109036 /* Override any gcc2 internal prototype to avoid an error. */
109037 #ifdef __cplusplus
109038 extern "C"
109040 #endif
109041 /* We use char because int might match the return type of a gcc2
109042 builtin and then its argument prototype would still apply. */
109043 char $ac_func ();
109044 /* The GNU C library defines this for functions which it implements
109045 to always fail with ENOSYS. Some functions are actually named
109046 something starting with __ and the normal name is an alias. */
109047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109048 choke me
109049 #else
109050 char (*f) () = $ac_func;
109051 #endif
109052 #ifdef __cplusplus
109054 #endif
109057 main ()
109059 return f != $ac_func;
109061 return 0;
109063 _ACEOF
109064 rm -f conftest.$ac_objext conftest$ac_exeext
109065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109066 (eval $ac_link) 2>conftest.er1
109067 ac_status=$?
109068 grep -v '^ *+' conftest.er1 >conftest.err
109069 rm -f conftest.er1
109070 cat conftest.err >&5
109071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109072 (exit $ac_status); } &&
109073 { ac_try='test -z "$ac_c_werror_flag"
109074 || test ! -s conftest.err'
109075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109076 (eval $ac_try) 2>&5
109077 ac_status=$?
109078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109079 (exit $ac_status); }; } &&
109080 { ac_try='test -s conftest$ac_exeext'
109081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109082 (eval $ac_try) 2>&5
109083 ac_status=$?
109084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109085 (exit $ac_status); }; }; then
109086 eval "$as_ac_var=yes"
109088 echo "$as_me: failed program was:" >&5
109089 sed 's/^/| /' conftest.$ac_ext >&5
109091 eval "$as_ac_var=no"
109093 rm -f conftest.err conftest.$ac_objext \
109094 conftest$ac_exeext conftest.$ac_ext
109096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109098 if test `eval echo '${'$as_ac_var'}'` = yes; then
109099 cat >>confdefs.h <<_ACEOF
109100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109101 _ACEOF
109108 echo "$as_me:$LINENO: checking for _logl declaration" >&5
109109 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
109110 if test x${glibcxx_cv_func__logl_use+set} != xset; then
109111 if test "${glibcxx_cv_func__logl_use+set}" = set; then
109112 echo $ECHO_N "(cached) $ECHO_C" >&6
109117 ac_ext=cc
109118 ac_cpp='$CXXCPP $CPPFLAGS'
109119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109123 cat >conftest.$ac_ext <<_ACEOF
109124 /* confdefs.h. */
109125 _ACEOF
109126 cat confdefs.h >>conftest.$ac_ext
109127 cat >>conftest.$ac_ext <<_ACEOF
109128 /* end confdefs.h. */
109129 #include <math.h>
109130 #ifdef HAVE_IEEEFP_H
109131 #include <ieeefp.h>
109132 #endif
109135 main ()
109137 _logl(0);
109139 return 0;
109141 _ACEOF
109142 rm -f conftest.$ac_objext
109143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109144 (eval $ac_compile) 2>conftest.er1
109145 ac_status=$?
109146 grep -v '^ *+' conftest.er1 >conftest.err
109147 rm -f conftest.er1
109148 cat conftest.err >&5
109149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109150 (exit $ac_status); } &&
109151 { ac_try='test -z "$ac_cxx_werror_flag"
109152 || test ! -s conftest.err'
109153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109154 (eval $ac_try) 2>&5
109155 ac_status=$?
109156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109157 (exit $ac_status); }; } &&
109158 { ac_try='test -s conftest.$ac_objext'
109159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109160 (eval $ac_try) 2>&5
109161 ac_status=$?
109162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109163 (exit $ac_status); }; }; then
109164 glibcxx_cv_func__logl_use=yes
109166 echo "$as_me: failed program was:" >&5
109167 sed 's/^/| /' conftest.$ac_ext >&5
109169 glibcxx_cv_func__logl_use=no
109171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109172 ac_ext=c
109173 ac_cpp='$CPP $CPPFLAGS'
109174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
109183 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
109185 if test x$glibcxx_cv_func__logl_use = x"yes"; then
109187 for ac_func in _logl
109189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109190 echo "$as_me:$LINENO: checking for $ac_func" >&5
109191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109192 if eval "test \"\${$as_ac_var+set}\" = set"; then
109193 echo $ECHO_N "(cached) $ECHO_C" >&6
109195 if test x$gcc_no_link = xyes; then
109196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109198 { (exit 1); exit 1; }; }
109200 cat >conftest.$ac_ext <<_ACEOF
109201 /* confdefs.h. */
109202 _ACEOF
109203 cat confdefs.h >>conftest.$ac_ext
109204 cat >>conftest.$ac_ext <<_ACEOF
109205 /* end confdefs.h. */
109206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109208 #define $ac_func innocuous_$ac_func
109210 /* System header to define __stub macros and hopefully few prototypes,
109211 which can conflict with char $ac_func (); below.
109212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109213 <limits.h> exists even on freestanding compilers. */
109215 #ifdef __STDC__
109216 # include <limits.h>
109217 #else
109218 # include <assert.h>
109219 #endif
109221 #undef $ac_func
109223 /* Override any gcc2 internal prototype to avoid an error. */
109224 #ifdef __cplusplus
109225 extern "C"
109227 #endif
109228 /* We use char because int might match the return type of a gcc2
109229 builtin and then its argument prototype would still apply. */
109230 char $ac_func ();
109231 /* The GNU C library defines this for functions which it implements
109232 to always fail with ENOSYS. Some functions are actually named
109233 something starting with __ and the normal name is an alias. */
109234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109235 choke me
109236 #else
109237 char (*f) () = $ac_func;
109238 #endif
109239 #ifdef __cplusplus
109241 #endif
109244 main ()
109246 return f != $ac_func;
109248 return 0;
109250 _ACEOF
109251 rm -f conftest.$ac_objext conftest$ac_exeext
109252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109253 (eval $ac_link) 2>conftest.er1
109254 ac_status=$?
109255 grep -v '^ *+' conftest.er1 >conftest.err
109256 rm -f conftest.er1
109257 cat conftest.err >&5
109258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109259 (exit $ac_status); } &&
109260 { ac_try='test -z "$ac_c_werror_flag"
109261 || test ! -s conftest.err'
109262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109263 (eval $ac_try) 2>&5
109264 ac_status=$?
109265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109266 (exit $ac_status); }; } &&
109267 { ac_try='test -s conftest$ac_exeext'
109268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109269 (eval $ac_try) 2>&5
109270 ac_status=$?
109271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109272 (exit $ac_status); }; }; then
109273 eval "$as_ac_var=yes"
109275 echo "$as_me: failed program was:" >&5
109276 sed 's/^/| /' conftest.$ac_ext >&5
109278 eval "$as_ac_var=no"
109280 rm -f conftest.err conftest.$ac_objext \
109281 conftest$ac_exeext conftest.$ac_ext
109283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109285 if test `eval echo '${'$as_ac_var'}'` = yes; then
109286 cat >>confdefs.h <<_ACEOF
109287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109288 _ACEOF
109301 echo "$as_me:$LINENO: checking for log10l declaration" >&5
109302 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
109303 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
109304 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
109305 echo $ECHO_N "(cached) $ECHO_C" >&6
109310 ac_ext=cc
109311 ac_cpp='$CXXCPP $CPPFLAGS'
109312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109316 cat >conftest.$ac_ext <<_ACEOF
109317 /* confdefs.h. */
109318 _ACEOF
109319 cat confdefs.h >>conftest.$ac_ext
109320 cat >>conftest.$ac_ext <<_ACEOF
109321 /* end confdefs.h. */
109322 #include <math.h>
109323 #ifdef HAVE_IEEEFP_H
109324 #include <ieeefp.h>
109325 #endif
109328 main ()
109330 log10l(0);
109332 return 0;
109334 _ACEOF
109335 rm -f conftest.$ac_objext
109336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109337 (eval $ac_compile) 2>conftest.er1
109338 ac_status=$?
109339 grep -v '^ *+' conftest.er1 >conftest.err
109340 rm -f conftest.er1
109341 cat conftest.err >&5
109342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109343 (exit $ac_status); } &&
109344 { ac_try='test -z "$ac_cxx_werror_flag"
109345 || test ! -s conftest.err'
109346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109347 (eval $ac_try) 2>&5
109348 ac_status=$?
109349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109350 (exit $ac_status); }; } &&
109351 { ac_try='test -s conftest.$ac_objext'
109352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109353 (eval $ac_try) 2>&5
109354 ac_status=$?
109355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109356 (exit $ac_status); }; }; then
109357 glibcxx_cv_func_log10l_use=yes
109359 echo "$as_me: failed program was:" >&5
109360 sed 's/^/| /' conftest.$ac_ext >&5
109362 glibcxx_cv_func_log10l_use=no
109364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109365 ac_ext=c
109366 ac_cpp='$CPP $CPPFLAGS'
109367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
109376 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
109378 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
109380 for ac_func in log10l
109382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109383 echo "$as_me:$LINENO: checking for $ac_func" >&5
109384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109385 if eval "test \"\${$as_ac_var+set}\" = set"; then
109386 echo $ECHO_N "(cached) $ECHO_C" >&6
109388 if test x$gcc_no_link = xyes; then
109389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109391 { (exit 1); exit 1; }; }
109393 cat >conftest.$ac_ext <<_ACEOF
109394 /* confdefs.h. */
109395 _ACEOF
109396 cat confdefs.h >>conftest.$ac_ext
109397 cat >>conftest.$ac_ext <<_ACEOF
109398 /* end confdefs.h. */
109399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109401 #define $ac_func innocuous_$ac_func
109403 /* System header to define __stub macros and hopefully few prototypes,
109404 which can conflict with char $ac_func (); below.
109405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109406 <limits.h> exists even on freestanding compilers. */
109408 #ifdef __STDC__
109409 # include <limits.h>
109410 #else
109411 # include <assert.h>
109412 #endif
109414 #undef $ac_func
109416 /* Override any gcc2 internal prototype to avoid an error. */
109417 #ifdef __cplusplus
109418 extern "C"
109420 #endif
109421 /* We use char because int might match the return type of a gcc2
109422 builtin and then its argument prototype would still apply. */
109423 char $ac_func ();
109424 /* The GNU C library defines this for functions which it implements
109425 to always fail with ENOSYS. Some functions are actually named
109426 something starting with __ and the normal name is an alias. */
109427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109428 choke me
109429 #else
109430 char (*f) () = $ac_func;
109431 #endif
109432 #ifdef __cplusplus
109434 #endif
109437 main ()
109439 return f != $ac_func;
109441 return 0;
109443 _ACEOF
109444 rm -f conftest.$ac_objext conftest$ac_exeext
109445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109446 (eval $ac_link) 2>conftest.er1
109447 ac_status=$?
109448 grep -v '^ *+' conftest.er1 >conftest.err
109449 rm -f conftest.er1
109450 cat conftest.err >&5
109451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109452 (exit $ac_status); } &&
109453 { ac_try='test -z "$ac_c_werror_flag"
109454 || test ! -s conftest.err'
109455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109456 (eval $ac_try) 2>&5
109457 ac_status=$?
109458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109459 (exit $ac_status); }; } &&
109460 { ac_try='test -s conftest$ac_exeext'
109461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109462 (eval $ac_try) 2>&5
109463 ac_status=$?
109464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109465 (exit $ac_status); }; }; then
109466 eval "$as_ac_var=yes"
109468 echo "$as_me: failed program was:" >&5
109469 sed 's/^/| /' conftest.$ac_ext >&5
109471 eval "$as_ac_var=no"
109473 rm -f conftest.err conftest.$ac_objext \
109474 conftest$ac_exeext conftest.$ac_ext
109476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109478 if test `eval echo '${'$as_ac_var'}'` = yes; then
109479 cat >>confdefs.h <<_ACEOF
109480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109481 _ACEOF
109488 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
109489 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
109490 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
109491 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
109492 echo $ECHO_N "(cached) $ECHO_C" >&6
109497 ac_ext=cc
109498 ac_cpp='$CXXCPP $CPPFLAGS'
109499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109503 cat >conftest.$ac_ext <<_ACEOF
109504 /* confdefs.h. */
109505 _ACEOF
109506 cat confdefs.h >>conftest.$ac_ext
109507 cat >>conftest.$ac_ext <<_ACEOF
109508 /* end confdefs.h. */
109509 #include <math.h>
109510 #ifdef HAVE_IEEEFP_H
109511 #include <ieeefp.h>
109512 #endif
109515 main ()
109517 _log10l(0);
109519 return 0;
109521 _ACEOF
109522 rm -f conftest.$ac_objext
109523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109524 (eval $ac_compile) 2>conftest.er1
109525 ac_status=$?
109526 grep -v '^ *+' conftest.er1 >conftest.err
109527 rm -f conftest.er1
109528 cat conftest.err >&5
109529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109530 (exit $ac_status); } &&
109531 { ac_try='test -z "$ac_cxx_werror_flag"
109532 || test ! -s conftest.err'
109533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109534 (eval $ac_try) 2>&5
109535 ac_status=$?
109536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109537 (exit $ac_status); }; } &&
109538 { ac_try='test -s conftest.$ac_objext'
109539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109540 (eval $ac_try) 2>&5
109541 ac_status=$?
109542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109543 (exit $ac_status); }; }; then
109544 glibcxx_cv_func__log10l_use=yes
109546 echo "$as_me: failed program was:" >&5
109547 sed 's/^/| /' conftest.$ac_ext >&5
109549 glibcxx_cv_func__log10l_use=no
109551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109552 ac_ext=c
109553 ac_cpp='$CPP $CPPFLAGS'
109554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109562 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
109563 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
109565 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
109567 for ac_func in _log10l
109569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109570 echo "$as_me:$LINENO: checking for $ac_func" >&5
109571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109572 if eval "test \"\${$as_ac_var+set}\" = set"; then
109573 echo $ECHO_N "(cached) $ECHO_C" >&6
109575 if test x$gcc_no_link = xyes; then
109576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109578 { (exit 1); exit 1; }; }
109580 cat >conftest.$ac_ext <<_ACEOF
109581 /* confdefs.h. */
109582 _ACEOF
109583 cat confdefs.h >>conftest.$ac_ext
109584 cat >>conftest.$ac_ext <<_ACEOF
109585 /* end confdefs.h. */
109586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109588 #define $ac_func innocuous_$ac_func
109590 /* System header to define __stub macros and hopefully few prototypes,
109591 which can conflict with char $ac_func (); below.
109592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109593 <limits.h> exists even on freestanding compilers. */
109595 #ifdef __STDC__
109596 # include <limits.h>
109597 #else
109598 # include <assert.h>
109599 #endif
109601 #undef $ac_func
109603 /* Override any gcc2 internal prototype to avoid an error. */
109604 #ifdef __cplusplus
109605 extern "C"
109607 #endif
109608 /* We use char because int might match the return type of a gcc2
109609 builtin and then its argument prototype would still apply. */
109610 char $ac_func ();
109611 /* The GNU C library defines this for functions which it implements
109612 to always fail with ENOSYS. Some functions are actually named
109613 something starting with __ and the normal name is an alias. */
109614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109615 choke me
109616 #else
109617 char (*f) () = $ac_func;
109618 #endif
109619 #ifdef __cplusplus
109621 #endif
109624 main ()
109626 return f != $ac_func;
109628 return 0;
109630 _ACEOF
109631 rm -f conftest.$ac_objext conftest$ac_exeext
109632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109633 (eval $ac_link) 2>conftest.er1
109634 ac_status=$?
109635 grep -v '^ *+' conftest.er1 >conftest.err
109636 rm -f conftest.er1
109637 cat conftest.err >&5
109638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109639 (exit $ac_status); } &&
109640 { ac_try='test -z "$ac_c_werror_flag"
109641 || test ! -s conftest.err'
109642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109643 (eval $ac_try) 2>&5
109644 ac_status=$?
109645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109646 (exit $ac_status); }; } &&
109647 { ac_try='test -s conftest$ac_exeext'
109648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109649 (eval $ac_try) 2>&5
109650 ac_status=$?
109651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109652 (exit $ac_status); }; }; then
109653 eval "$as_ac_var=yes"
109655 echo "$as_me: failed program was:" >&5
109656 sed 's/^/| /' conftest.$ac_ext >&5
109658 eval "$as_ac_var=no"
109660 rm -f conftest.err conftest.$ac_objext \
109661 conftest$ac_exeext conftest.$ac_ext
109663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109665 if test `eval echo '${'$as_ac_var'}'` = yes; then
109666 cat >>confdefs.h <<_ACEOF
109667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109668 _ACEOF
109681 echo "$as_me:$LINENO: checking for modfl declaration" >&5
109682 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
109683 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
109684 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
109685 echo $ECHO_N "(cached) $ECHO_C" >&6
109690 ac_ext=cc
109691 ac_cpp='$CXXCPP $CPPFLAGS'
109692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109696 cat >conftest.$ac_ext <<_ACEOF
109697 /* confdefs.h. */
109698 _ACEOF
109699 cat confdefs.h >>conftest.$ac_ext
109700 cat >>conftest.$ac_ext <<_ACEOF
109701 /* end confdefs.h. */
109702 #include <math.h>
109704 main ()
109706 modfl(0, 0);
109708 return 0;
109710 _ACEOF
109711 rm -f conftest.$ac_objext
109712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109713 (eval $ac_compile) 2>conftest.er1
109714 ac_status=$?
109715 grep -v '^ *+' conftest.er1 >conftest.err
109716 rm -f conftest.er1
109717 cat conftest.err >&5
109718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109719 (exit $ac_status); } &&
109720 { ac_try='test -z "$ac_cxx_werror_flag"
109721 || test ! -s conftest.err'
109722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109723 (eval $ac_try) 2>&5
109724 ac_status=$?
109725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109726 (exit $ac_status); }; } &&
109727 { ac_try='test -s conftest.$ac_objext'
109728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109729 (eval $ac_try) 2>&5
109730 ac_status=$?
109731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109732 (exit $ac_status); }; }; then
109733 glibcxx_cv_func_modfl_use=yes
109735 echo "$as_me: failed program was:" >&5
109736 sed 's/^/| /' conftest.$ac_ext >&5
109738 glibcxx_cv_func_modfl_use=no
109740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109741 ac_ext=c
109742 ac_cpp='$CPP $CPPFLAGS'
109743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
109752 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
109754 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
109756 for ac_func in modfl
109758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109759 echo "$as_me:$LINENO: checking for $ac_func" >&5
109760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109761 if eval "test \"\${$as_ac_var+set}\" = set"; then
109762 echo $ECHO_N "(cached) $ECHO_C" >&6
109764 if test x$gcc_no_link = xyes; then
109765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109767 { (exit 1); exit 1; }; }
109769 cat >conftest.$ac_ext <<_ACEOF
109770 /* confdefs.h. */
109771 _ACEOF
109772 cat confdefs.h >>conftest.$ac_ext
109773 cat >>conftest.$ac_ext <<_ACEOF
109774 /* end confdefs.h. */
109775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109777 #define $ac_func innocuous_$ac_func
109779 /* System header to define __stub macros and hopefully few prototypes,
109780 which can conflict with char $ac_func (); below.
109781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109782 <limits.h> exists even on freestanding compilers. */
109784 #ifdef __STDC__
109785 # include <limits.h>
109786 #else
109787 # include <assert.h>
109788 #endif
109790 #undef $ac_func
109792 /* Override any gcc2 internal prototype to avoid an error. */
109793 #ifdef __cplusplus
109794 extern "C"
109796 #endif
109797 /* We use char because int might match the return type of a gcc2
109798 builtin and then its argument prototype would still apply. */
109799 char $ac_func ();
109800 /* The GNU C library defines this for functions which it implements
109801 to always fail with ENOSYS. Some functions are actually named
109802 something starting with __ and the normal name is an alias. */
109803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109804 choke me
109805 #else
109806 char (*f) () = $ac_func;
109807 #endif
109808 #ifdef __cplusplus
109810 #endif
109813 main ()
109815 return f != $ac_func;
109817 return 0;
109819 _ACEOF
109820 rm -f conftest.$ac_objext conftest$ac_exeext
109821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109822 (eval $ac_link) 2>conftest.er1
109823 ac_status=$?
109824 grep -v '^ *+' conftest.er1 >conftest.err
109825 rm -f conftest.er1
109826 cat conftest.err >&5
109827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109828 (exit $ac_status); } &&
109829 { ac_try='test -z "$ac_c_werror_flag"
109830 || test ! -s conftest.err'
109831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109832 (eval $ac_try) 2>&5
109833 ac_status=$?
109834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109835 (exit $ac_status); }; } &&
109836 { ac_try='test -s conftest$ac_exeext'
109837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109838 (eval $ac_try) 2>&5
109839 ac_status=$?
109840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109841 (exit $ac_status); }; }; then
109842 eval "$as_ac_var=yes"
109844 echo "$as_me: failed program was:" >&5
109845 sed 's/^/| /' conftest.$ac_ext >&5
109847 eval "$as_ac_var=no"
109849 rm -f conftest.err conftest.$ac_objext \
109850 conftest$ac_exeext conftest.$ac_ext
109852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109854 if test `eval echo '${'$as_ac_var'}'` = yes; then
109855 cat >>confdefs.h <<_ACEOF
109856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109857 _ACEOF
109864 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
109865 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
109866 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
109867 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
109868 echo $ECHO_N "(cached) $ECHO_C" >&6
109873 ac_ext=cc
109874 ac_cpp='$CXXCPP $CPPFLAGS'
109875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109879 cat >conftest.$ac_ext <<_ACEOF
109880 /* confdefs.h. */
109881 _ACEOF
109882 cat confdefs.h >>conftest.$ac_ext
109883 cat >>conftest.$ac_ext <<_ACEOF
109884 /* end confdefs.h. */
109885 #include <math.h>
109887 main ()
109889 _modfl(0, 0);
109891 return 0;
109893 _ACEOF
109894 rm -f conftest.$ac_objext
109895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109896 (eval $ac_compile) 2>conftest.er1
109897 ac_status=$?
109898 grep -v '^ *+' conftest.er1 >conftest.err
109899 rm -f conftest.er1
109900 cat conftest.err >&5
109901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109902 (exit $ac_status); } &&
109903 { ac_try='test -z "$ac_cxx_werror_flag"
109904 || test ! -s conftest.err'
109905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109906 (eval $ac_try) 2>&5
109907 ac_status=$?
109908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109909 (exit $ac_status); }; } &&
109910 { ac_try='test -s conftest.$ac_objext'
109911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109912 (eval $ac_try) 2>&5
109913 ac_status=$?
109914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109915 (exit $ac_status); }; }; then
109916 glibcxx_cv_func__modfl_use=yes
109918 echo "$as_me: failed program was:" >&5
109919 sed 's/^/| /' conftest.$ac_ext >&5
109921 glibcxx_cv_func__modfl_use=no
109923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109924 ac_ext=c
109925 ac_cpp='$CPP $CPPFLAGS'
109926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
109935 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
109937 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
109939 for ac_func in _modfl
109941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109942 echo "$as_me:$LINENO: checking for $ac_func" >&5
109943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109944 if eval "test \"\${$as_ac_var+set}\" = set"; then
109945 echo $ECHO_N "(cached) $ECHO_C" >&6
109947 if test x$gcc_no_link = xyes; then
109948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109950 { (exit 1); exit 1; }; }
109952 cat >conftest.$ac_ext <<_ACEOF
109953 /* confdefs.h. */
109954 _ACEOF
109955 cat confdefs.h >>conftest.$ac_ext
109956 cat >>conftest.$ac_ext <<_ACEOF
109957 /* end confdefs.h. */
109958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109960 #define $ac_func innocuous_$ac_func
109962 /* System header to define __stub macros and hopefully few prototypes,
109963 which can conflict with char $ac_func (); below.
109964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109965 <limits.h> exists even on freestanding compilers. */
109967 #ifdef __STDC__
109968 # include <limits.h>
109969 #else
109970 # include <assert.h>
109971 #endif
109973 #undef $ac_func
109975 /* Override any gcc2 internal prototype to avoid an error. */
109976 #ifdef __cplusplus
109977 extern "C"
109979 #endif
109980 /* We use char because int might match the return type of a gcc2
109981 builtin and then its argument prototype would still apply. */
109982 char $ac_func ();
109983 /* The GNU C library defines this for functions which it implements
109984 to always fail with ENOSYS. Some functions are actually named
109985 something starting with __ and the normal name is an alias. */
109986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109987 choke me
109988 #else
109989 char (*f) () = $ac_func;
109990 #endif
109991 #ifdef __cplusplus
109993 #endif
109996 main ()
109998 return f != $ac_func;
110000 return 0;
110002 _ACEOF
110003 rm -f conftest.$ac_objext conftest$ac_exeext
110004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110005 (eval $ac_link) 2>conftest.er1
110006 ac_status=$?
110007 grep -v '^ *+' conftest.er1 >conftest.err
110008 rm -f conftest.er1
110009 cat conftest.err >&5
110010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110011 (exit $ac_status); } &&
110012 { ac_try='test -z "$ac_c_werror_flag"
110013 || test ! -s conftest.err'
110014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110015 (eval $ac_try) 2>&5
110016 ac_status=$?
110017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110018 (exit $ac_status); }; } &&
110019 { ac_try='test -s conftest$ac_exeext'
110020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110021 (eval $ac_try) 2>&5
110022 ac_status=$?
110023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110024 (exit $ac_status); }; }; then
110025 eval "$as_ac_var=yes"
110027 echo "$as_me: failed program was:" >&5
110028 sed 's/^/| /' conftest.$ac_ext >&5
110030 eval "$as_ac_var=no"
110032 rm -f conftest.err conftest.$ac_objext \
110033 conftest$ac_exeext conftest.$ac_ext
110035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110037 if test `eval echo '${'$as_ac_var'}'` = yes; then
110038 cat >>confdefs.h <<_ACEOF
110039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110040 _ACEOF
110053 echo "$as_me:$LINENO: checking for powl declaration" >&5
110054 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
110055 if test x${glibcxx_cv_func_powl_use+set} != xset; then
110056 if test "${glibcxx_cv_func_powl_use+set}" = set; then
110057 echo $ECHO_N "(cached) $ECHO_C" >&6
110062 ac_ext=cc
110063 ac_cpp='$CXXCPP $CPPFLAGS'
110064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110068 cat >conftest.$ac_ext <<_ACEOF
110069 /* confdefs.h. */
110070 _ACEOF
110071 cat confdefs.h >>conftest.$ac_ext
110072 cat >>conftest.$ac_ext <<_ACEOF
110073 /* end confdefs.h. */
110074 #include <math.h>
110076 main ()
110078 powl(0, 0);
110080 return 0;
110082 _ACEOF
110083 rm -f conftest.$ac_objext
110084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110085 (eval $ac_compile) 2>conftest.er1
110086 ac_status=$?
110087 grep -v '^ *+' conftest.er1 >conftest.err
110088 rm -f conftest.er1
110089 cat conftest.err >&5
110090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110091 (exit $ac_status); } &&
110092 { ac_try='test -z "$ac_cxx_werror_flag"
110093 || test ! -s conftest.err'
110094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110095 (eval $ac_try) 2>&5
110096 ac_status=$?
110097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110098 (exit $ac_status); }; } &&
110099 { ac_try='test -s conftest.$ac_objext'
110100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110101 (eval $ac_try) 2>&5
110102 ac_status=$?
110103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110104 (exit $ac_status); }; }; then
110105 glibcxx_cv_func_powl_use=yes
110107 echo "$as_me: failed program was:" >&5
110108 sed 's/^/| /' conftest.$ac_ext >&5
110110 glibcxx_cv_func_powl_use=no
110112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110113 ac_ext=c
110114 ac_cpp='$CPP $CPPFLAGS'
110115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110123 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
110124 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
110126 if test x$glibcxx_cv_func_powl_use = x"yes"; then
110128 for ac_func in powl
110130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110131 echo "$as_me:$LINENO: checking for $ac_func" >&5
110132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110133 if eval "test \"\${$as_ac_var+set}\" = set"; then
110134 echo $ECHO_N "(cached) $ECHO_C" >&6
110136 if test x$gcc_no_link = xyes; then
110137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110139 { (exit 1); exit 1; }; }
110141 cat >conftest.$ac_ext <<_ACEOF
110142 /* confdefs.h. */
110143 _ACEOF
110144 cat confdefs.h >>conftest.$ac_ext
110145 cat >>conftest.$ac_ext <<_ACEOF
110146 /* end confdefs.h. */
110147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110149 #define $ac_func innocuous_$ac_func
110151 /* System header to define __stub macros and hopefully few prototypes,
110152 which can conflict with char $ac_func (); below.
110153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110154 <limits.h> exists even on freestanding compilers. */
110156 #ifdef __STDC__
110157 # include <limits.h>
110158 #else
110159 # include <assert.h>
110160 #endif
110162 #undef $ac_func
110164 /* Override any gcc2 internal prototype to avoid an error. */
110165 #ifdef __cplusplus
110166 extern "C"
110168 #endif
110169 /* We use char because int might match the return type of a gcc2
110170 builtin and then its argument prototype would still apply. */
110171 char $ac_func ();
110172 /* The GNU C library defines this for functions which it implements
110173 to always fail with ENOSYS. Some functions are actually named
110174 something starting with __ and the normal name is an alias. */
110175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110176 choke me
110177 #else
110178 char (*f) () = $ac_func;
110179 #endif
110180 #ifdef __cplusplus
110182 #endif
110185 main ()
110187 return f != $ac_func;
110189 return 0;
110191 _ACEOF
110192 rm -f conftest.$ac_objext conftest$ac_exeext
110193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110194 (eval $ac_link) 2>conftest.er1
110195 ac_status=$?
110196 grep -v '^ *+' conftest.er1 >conftest.err
110197 rm -f conftest.er1
110198 cat conftest.err >&5
110199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110200 (exit $ac_status); } &&
110201 { ac_try='test -z "$ac_c_werror_flag"
110202 || test ! -s conftest.err'
110203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110204 (eval $ac_try) 2>&5
110205 ac_status=$?
110206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110207 (exit $ac_status); }; } &&
110208 { ac_try='test -s conftest$ac_exeext'
110209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110210 (eval $ac_try) 2>&5
110211 ac_status=$?
110212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110213 (exit $ac_status); }; }; then
110214 eval "$as_ac_var=yes"
110216 echo "$as_me: failed program was:" >&5
110217 sed 's/^/| /' conftest.$ac_ext >&5
110219 eval "$as_ac_var=no"
110221 rm -f conftest.err conftest.$ac_objext \
110222 conftest$ac_exeext conftest.$ac_ext
110224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110226 if test `eval echo '${'$as_ac_var'}'` = yes; then
110227 cat >>confdefs.h <<_ACEOF
110228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110229 _ACEOF
110236 echo "$as_me:$LINENO: checking for _powl declaration" >&5
110237 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
110238 if test x${glibcxx_cv_func__powl_use+set} != xset; then
110239 if test "${glibcxx_cv_func__powl_use+set}" = set; then
110240 echo $ECHO_N "(cached) $ECHO_C" >&6
110245 ac_ext=cc
110246 ac_cpp='$CXXCPP $CPPFLAGS'
110247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110251 cat >conftest.$ac_ext <<_ACEOF
110252 /* confdefs.h. */
110253 _ACEOF
110254 cat confdefs.h >>conftest.$ac_ext
110255 cat >>conftest.$ac_ext <<_ACEOF
110256 /* end confdefs.h. */
110257 #include <math.h>
110259 main ()
110261 _powl(0, 0);
110263 return 0;
110265 _ACEOF
110266 rm -f conftest.$ac_objext
110267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110268 (eval $ac_compile) 2>conftest.er1
110269 ac_status=$?
110270 grep -v '^ *+' conftest.er1 >conftest.err
110271 rm -f conftest.er1
110272 cat conftest.err >&5
110273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110274 (exit $ac_status); } &&
110275 { ac_try='test -z "$ac_cxx_werror_flag"
110276 || test ! -s conftest.err'
110277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110278 (eval $ac_try) 2>&5
110279 ac_status=$?
110280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110281 (exit $ac_status); }; } &&
110282 { ac_try='test -s conftest.$ac_objext'
110283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110284 (eval $ac_try) 2>&5
110285 ac_status=$?
110286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110287 (exit $ac_status); }; }; then
110288 glibcxx_cv_func__powl_use=yes
110290 echo "$as_me: failed program was:" >&5
110291 sed 's/^/| /' conftest.$ac_ext >&5
110293 glibcxx_cv_func__powl_use=no
110295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110296 ac_ext=c
110297 ac_cpp='$CPP $CPPFLAGS'
110298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110306 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
110307 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
110309 if test x$glibcxx_cv_func__powl_use = x"yes"; then
110311 for ac_func in _powl
110313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110314 echo "$as_me:$LINENO: checking for $ac_func" >&5
110315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110316 if eval "test \"\${$as_ac_var+set}\" = set"; then
110317 echo $ECHO_N "(cached) $ECHO_C" >&6
110319 if test x$gcc_no_link = xyes; then
110320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110322 { (exit 1); exit 1; }; }
110324 cat >conftest.$ac_ext <<_ACEOF
110325 /* confdefs.h. */
110326 _ACEOF
110327 cat confdefs.h >>conftest.$ac_ext
110328 cat >>conftest.$ac_ext <<_ACEOF
110329 /* end confdefs.h. */
110330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110332 #define $ac_func innocuous_$ac_func
110334 /* System header to define __stub macros and hopefully few prototypes,
110335 which can conflict with char $ac_func (); below.
110336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110337 <limits.h> exists even on freestanding compilers. */
110339 #ifdef __STDC__
110340 # include <limits.h>
110341 #else
110342 # include <assert.h>
110343 #endif
110345 #undef $ac_func
110347 /* Override any gcc2 internal prototype to avoid an error. */
110348 #ifdef __cplusplus
110349 extern "C"
110351 #endif
110352 /* We use char because int might match the return type of a gcc2
110353 builtin and then its argument prototype would still apply. */
110354 char $ac_func ();
110355 /* The GNU C library defines this for functions which it implements
110356 to always fail with ENOSYS. Some functions are actually named
110357 something starting with __ and the normal name is an alias. */
110358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110359 choke me
110360 #else
110361 char (*f) () = $ac_func;
110362 #endif
110363 #ifdef __cplusplus
110365 #endif
110368 main ()
110370 return f != $ac_func;
110372 return 0;
110374 _ACEOF
110375 rm -f conftest.$ac_objext conftest$ac_exeext
110376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110377 (eval $ac_link) 2>conftest.er1
110378 ac_status=$?
110379 grep -v '^ *+' conftest.er1 >conftest.err
110380 rm -f conftest.er1
110381 cat conftest.err >&5
110382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110383 (exit $ac_status); } &&
110384 { ac_try='test -z "$ac_c_werror_flag"
110385 || test ! -s conftest.err'
110386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110387 (eval $ac_try) 2>&5
110388 ac_status=$?
110389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110390 (exit $ac_status); }; } &&
110391 { ac_try='test -s conftest$ac_exeext'
110392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110393 (eval $ac_try) 2>&5
110394 ac_status=$?
110395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110396 (exit $ac_status); }; }; then
110397 eval "$as_ac_var=yes"
110399 echo "$as_me: failed program was:" >&5
110400 sed 's/^/| /' conftest.$ac_ext >&5
110402 eval "$as_ac_var=no"
110404 rm -f conftest.err conftest.$ac_objext \
110405 conftest$ac_exeext conftest.$ac_ext
110407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110409 if test `eval echo '${'$as_ac_var'}'` = yes; then
110410 cat >>confdefs.h <<_ACEOF
110411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110412 _ACEOF
110425 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
110426 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
110427 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
110428 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
110429 echo $ECHO_N "(cached) $ECHO_C" >&6
110434 ac_ext=cc
110435 ac_cpp='$CXXCPP $CPPFLAGS'
110436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110440 cat >conftest.$ac_ext <<_ACEOF
110441 /* confdefs.h. */
110442 _ACEOF
110443 cat confdefs.h >>conftest.$ac_ext
110444 cat >>conftest.$ac_ext <<_ACEOF
110445 /* end confdefs.h. */
110446 #include <math.h>
110447 #ifdef HAVE_IEEEFP_H
110448 #include <ieeefp.h>
110449 #endif
110452 main ()
110454 sqrtl(0);
110456 return 0;
110458 _ACEOF
110459 rm -f conftest.$ac_objext
110460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110461 (eval $ac_compile) 2>conftest.er1
110462 ac_status=$?
110463 grep -v '^ *+' conftest.er1 >conftest.err
110464 rm -f conftest.er1
110465 cat conftest.err >&5
110466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110467 (exit $ac_status); } &&
110468 { ac_try='test -z "$ac_cxx_werror_flag"
110469 || test ! -s conftest.err'
110470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110471 (eval $ac_try) 2>&5
110472 ac_status=$?
110473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110474 (exit $ac_status); }; } &&
110475 { ac_try='test -s conftest.$ac_objext'
110476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110477 (eval $ac_try) 2>&5
110478 ac_status=$?
110479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110480 (exit $ac_status); }; }; then
110481 glibcxx_cv_func_sqrtl_use=yes
110483 echo "$as_me: failed program was:" >&5
110484 sed 's/^/| /' conftest.$ac_ext >&5
110486 glibcxx_cv_func_sqrtl_use=no
110488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110489 ac_ext=c
110490 ac_cpp='$CPP $CPPFLAGS'
110491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
110500 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
110502 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
110504 for ac_func in sqrtl
110506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110507 echo "$as_me:$LINENO: checking for $ac_func" >&5
110508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110509 if eval "test \"\${$as_ac_var+set}\" = set"; then
110510 echo $ECHO_N "(cached) $ECHO_C" >&6
110512 if test x$gcc_no_link = xyes; then
110513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110515 { (exit 1); exit 1; }; }
110517 cat >conftest.$ac_ext <<_ACEOF
110518 /* confdefs.h. */
110519 _ACEOF
110520 cat confdefs.h >>conftest.$ac_ext
110521 cat >>conftest.$ac_ext <<_ACEOF
110522 /* end confdefs.h. */
110523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110525 #define $ac_func innocuous_$ac_func
110527 /* System header to define __stub macros and hopefully few prototypes,
110528 which can conflict with char $ac_func (); below.
110529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110530 <limits.h> exists even on freestanding compilers. */
110532 #ifdef __STDC__
110533 # include <limits.h>
110534 #else
110535 # include <assert.h>
110536 #endif
110538 #undef $ac_func
110540 /* Override any gcc2 internal prototype to avoid an error. */
110541 #ifdef __cplusplus
110542 extern "C"
110544 #endif
110545 /* We use char because int might match the return type of a gcc2
110546 builtin and then its argument prototype would still apply. */
110547 char $ac_func ();
110548 /* The GNU C library defines this for functions which it implements
110549 to always fail with ENOSYS. Some functions are actually named
110550 something starting with __ and the normal name is an alias. */
110551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110552 choke me
110553 #else
110554 char (*f) () = $ac_func;
110555 #endif
110556 #ifdef __cplusplus
110558 #endif
110561 main ()
110563 return f != $ac_func;
110565 return 0;
110567 _ACEOF
110568 rm -f conftest.$ac_objext conftest$ac_exeext
110569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110570 (eval $ac_link) 2>conftest.er1
110571 ac_status=$?
110572 grep -v '^ *+' conftest.er1 >conftest.err
110573 rm -f conftest.er1
110574 cat conftest.err >&5
110575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110576 (exit $ac_status); } &&
110577 { ac_try='test -z "$ac_c_werror_flag"
110578 || test ! -s conftest.err'
110579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110580 (eval $ac_try) 2>&5
110581 ac_status=$?
110582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110583 (exit $ac_status); }; } &&
110584 { ac_try='test -s conftest$ac_exeext'
110585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110586 (eval $ac_try) 2>&5
110587 ac_status=$?
110588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110589 (exit $ac_status); }; }; then
110590 eval "$as_ac_var=yes"
110592 echo "$as_me: failed program was:" >&5
110593 sed 's/^/| /' conftest.$ac_ext >&5
110595 eval "$as_ac_var=no"
110597 rm -f conftest.err conftest.$ac_objext \
110598 conftest$ac_exeext conftest.$ac_ext
110600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110602 if test `eval echo '${'$as_ac_var'}'` = yes; then
110603 cat >>confdefs.h <<_ACEOF
110604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110605 _ACEOF
110612 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
110613 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
110614 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
110615 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
110616 echo $ECHO_N "(cached) $ECHO_C" >&6
110621 ac_ext=cc
110622 ac_cpp='$CXXCPP $CPPFLAGS'
110623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110627 cat >conftest.$ac_ext <<_ACEOF
110628 /* confdefs.h. */
110629 _ACEOF
110630 cat confdefs.h >>conftest.$ac_ext
110631 cat >>conftest.$ac_ext <<_ACEOF
110632 /* end confdefs.h. */
110633 #include <math.h>
110634 #ifdef HAVE_IEEEFP_H
110635 #include <ieeefp.h>
110636 #endif
110639 main ()
110641 _sqrtl(0);
110643 return 0;
110645 _ACEOF
110646 rm -f conftest.$ac_objext
110647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110648 (eval $ac_compile) 2>conftest.er1
110649 ac_status=$?
110650 grep -v '^ *+' conftest.er1 >conftest.err
110651 rm -f conftest.er1
110652 cat conftest.err >&5
110653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110654 (exit $ac_status); } &&
110655 { ac_try='test -z "$ac_cxx_werror_flag"
110656 || test ! -s conftest.err'
110657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110658 (eval $ac_try) 2>&5
110659 ac_status=$?
110660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110661 (exit $ac_status); }; } &&
110662 { ac_try='test -s conftest.$ac_objext'
110663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110664 (eval $ac_try) 2>&5
110665 ac_status=$?
110666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110667 (exit $ac_status); }; }; then
110668 glibcxx_cv_func__sqrtl_use=yes
110670 echo "$as_me: failed program was:" >&5
110671 sed 's/^/| /' conftest.$ac_ext >&5
110673 glibcxx_cv_func__sqrtl_use=no
110675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110676 ac_ext=c
110677 ac_cpp='$CPP $CPPFLAGS'
110678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
110687 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
110689 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
110691 for ac_func in _sqrtl
110693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110694 echo "$as_me:$LINENO: checking for $ac_func" >&5
110695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110696 if eval "test \"\${$as_ac_var+set}\" = set"; then
110697 echo $ECHO_N "(cached) $ECHO_C" >&6
110699 if test x$gcc_no_link = xyes; then
110700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110702 { (exit 1); exit 1; }; }
110704 cat >conftest.$ac_ext <<_ACEOF
110705 /* confdefs.h. */
110706 _ACEOF
110707 cat confdefs.h >>conftest.$ac_ext
110708 cat >>conftest.$ac_ext <<_ACEOF
110709 /* end confdefs.h. */
110710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110712 #define $ac_func innocuous_$ac_func
110714 /* System header to define __stub macros and hopefully few prototypes,
110715 which can conflict with char $ac_func (); below.
110716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110717 <limits.h> exists even on freestanding compilers. */
110719 #ifdef __STDC__
110720 # include <limits.h>
110721 #else
110722 # include <assert.h>
110723 #endif
110725 #undef $ac_func
110727 /* Override any gcc2 internal prototype to avoid an error. */
110728 #ifdef __cplusplus
110729 extern "C"
110731 #endif
110732 /* We use char because int might match the return type of a gcc2
110733 builtin and then its argument prototype would still apply. */
110734 char $ac_func ();
110735 /* The GNU C library defines this for functions which it implements
110736 to always fail with ENOSYS. Some functions are actually named
110737 something starting with __ and the normal name is an alias. */
110738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110739 choke me
110740 #else
110741 char (*f) () = $ac_func;
110742 #endif
110743 #ifdef __cplusplus
110745 #endif
110748 main ()
110750 return f != $ac_func;
110752 return 0;
110754 _ACEOF
110755 rm -f conftest.$ac_objext conftest$ac_exeext
110756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110757 (eval $ac_link) 2>conftest.er1
110758 ac_status=$?
110759 grep -v '^ *+' conftest.er1 >conftest.err
110760 rm -f conftest.er1
110761 cat conftest.err >&5
110762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110763 (exit $ac_status); } &&
110764 { ac_try='test -z "$ac_c_werror_flag"
110765 || test ! -s conftest.err'
110766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110767 (eval $ac_try) 2>&5
110768 ac_status=$?
110769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110770 (exit $ac_status); }; } &&
110771 { ac_try='test -s conftest$ac_exeext'
110772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110773 (eval $ac_try) 2>&5
110774 ac_status=$?
110775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110776 (exit $ac_status); }; }; then
110777 eval "$as_ac_var=yes"
110779 echo "$as_me: failed program was:" >&5
110780 sed 's/^/| /' conftest.$ac_ext >&5
110782 eval "$as_ac_var=no"
110784 rm -f conftest.err conftest.$ac_objext \
110785 conftest$ac_exeext conftest.$ac_ext
110787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110789 if test `eval echo '${'$as_ac_var'}'` = yes; then
110790 cat >>confdefs.h <<_ACEOF
110791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110792 _ACEOF
110805 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
110806 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
110807 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
110808 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
110809 echo $ECHO_N "(cached) $ECHO_C" >&6
110814 ac_ext=cc
110815 ac_cpp='$CXXCPP $CPPFLAGS'
110816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110820 cat >conftest.$ac_ext <<_ACEOF
110821 /* confdefs.h. */
110822 _ACEOF
110823 cat confdefs.h >>conftest.$ac_ext
110824 cat >>conftest.$ac_ext <<_ACEOF
110825 /* end confdefs.h. */
110826 #include <math.h>
110828 main ()
110830 sincosl(0, 0, 0);
110832 return 0;
110834 _ACEOF
110835 rm -f conftest.$ac_objext
110836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110837 (eval $ac_compile) 2>conftest.er1
110838 ac_status=$?
110839 grep -v '^ *+' conftest.er1 >conftest.err
110840 rm -f conftest.er1
110841 cat conftest.err >&5
110842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110843 (exit $ac_status); } &&
110844 { ac_try='test -z "$ac_cxx_werror_flag"
110845 || test ! -s conftest.err'
110846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110847 (eval $ac_try) 2>&5
110848 ac_status=$?
110849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110850 (exit $ac_status); }; } &&
110851 { ac_try='test -s conftest.$ac_objext'
110852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110853 (eval $ac_try) 2>&5
110854 ac_status=$?
110855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110856 (exit $ac_status); }; }; then
110857 glibcxx_cv_func_sincosl_use=yes
110859 echo "$as_me: failed program was:" >&5
110860 sed 's/^/| /' conftest.$ac_ext >&5
110862 glibcxx_cv_func_sincosl_use=no
110864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110865 ac_ext=c
110866 ac_cpp='$CPP $CPPFLAGS'
110867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110875 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
110876 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
110878 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
110880 for ac_func in sincosl
110882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110883 echo "$as_me:$LINENO: checking for $ac_func" >&5
110884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110885 if eval "test \"\${$as_ac_var+set}\" = set"; then
110886 echo $ECHO_N "(cached) $ECHO_C" >&6
110888 if test x$gcc_no_link = xyes; then
110889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110891 { (exit 1); exit 1; }; }
110893 cat >conftest.$ac_ext <<_ACEOF
110894 /* confdefs.h. */
110895 _ACEOF
110896 cat confdefs.h >>conftest.$ac_ext
110897 cat >>conftest.$ac_ext <<_ACEOF
110898 /* end confdefs.h. */
110899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110901 #define $ac_func innocuous_$ac_func
110903 /* System header to define __stub macros and hopefully few prototypes,
110904 which can conflict with char $ac_func (); below.
110905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110906 <limits.h> exists even on freestanding compilers. */
110908 #ifdef __STDC__
110909 # include <limits.h>
110910 #else
110911 # include <assert.h>
110912 #endif
110914 #undef $ac_func
110916 /* Override any gcc2 internal prototype to avoid an error. */
110917 #ifdef __cplusplus
110918 extern "C"
110920 #endif
110921 /* We use char because int might match the return type of a gcc2
110922 builtin and then its argument prototype would still apply. */
110923 char $ac_func ();
110924 /* The GNU C library defines this for functions which it implements
110925 to always fail with ENOSYS. Some functions are actually named
110926 something starting with __ and the normal name is an alias. */
110927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110928 choke me
110929 #else
110930 char (*f) () = $ac_func;
110931 #endif
110932 #ifdef __cplusplus
110934 #endif
110937 main ()
110939 return f != $ac_func;
110941 return 0;
110943 _ACEOF
110944 rm -f conftest.$ac_objext conftest$ac_exeext
110945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110946 (eval $ac_link) 2>conftest.er1
110947 ac_status=$?
110948 grep -v '^ *+' conftest.er1 >conftest.err
110949 rm -f conftest.er1
110950 cat conftest.err >&5
110951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110952 (exit $ac_status); } &&
110953 { ac_try='test -z "$ac_c_werror_flag"
110954 || test ! -s conftest.err'
110955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110956 (eval $ac_try) 2>&5
110957 ac_status=$?
110958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110959 (exit $ac_status); }; } &&
110960 { ac_try='test -s conftest$ac_exeext'
110961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110962 (eval $ac_try) 2>&5
110963 ac_status=$?
110964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110965 (exit $ac_status); }; }; then
110966 eval "$as_ac_var=yes"
110968 echo "$as_me: failed program was:" >&5
110969 sed 's/^/| /' conftest.$ac_ext >&5
110971 eval "$as_ac_var=no"
110973 rm -f conftest.err conftest.$ac_objext \
110974 conftest$ac_exeext conftest.$ac_ext
110976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110978 if test `eval echo '${'$as_ac_var'}'` = yes; then
110979 cat >>confdefs.h <<_ACEOF
110980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110981 _ACEOF
110988 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
110989 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
110990 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
110991 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
110992 echo $ECHO_N "(cached) $ECHO_C" >&6
110997 ac_ext=cc
110998 ac_cpp='$CXXCPP $CPPFLAGS'
110999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111003 cat >conftest.$ac_ext <<_ACEOF
111004 /* confdefs.h. */
111005 _ACEOF
111006 cat confdefs.h >>conftest.$ac_ext
111007 cat >>conftest.$ac_ext <<_ACEOF
111008 /* end confdefs.h. */
111009 #include <math.h>
111011 main ()
111013 _sincosl(0, 0, 0);
111015 return 0;
111017 _ACEOF
111018 rm -f conftest.$ac_objext
111019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111020 (eval $ac_compile) 2>conftest.er1
111021 ac_status=$?
111022 grep -v '^ *+' conftest.er1 >conftest.err
111023 rm -f conftest.er1
111024 cat conftest.err >&5
111025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111026 (exit $ac_status); } &&
111027 { ac_try='test -z "$ac_cxx_werror_flag"
111028 || test ! -s conftest.err'
111029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111030 (eval $ac_try) 2>&5
111031 ac_status=$?
111032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111033 (exit $ac_status); }; } &&
111034 { ac_try='test -s conftest.$ac_objext'
111035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111036 (eval $ac_try) 2>&5
111037 ac_status=$?
111038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111039 (exit $ac_status); }; }; then
111040 glibcxx_cv_func__sincosl_use=yes
111042 echo "$as_me: failed program was:" >&5
111043 sed 's/^/| /' conftest.$ac_ext >&5
111045 glibcxx_cv_func__sincosl_use=no
111047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111048 ac_ext=c
111049 ac_cpp='$CPP $CPPFLAGS'
111050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111058 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
111059 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
111061 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
111063 for ac_func in _sincosl
111065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111066 echo "$as_me:$LINENO: checking for $ac_func" >&5
111067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111068 if eval "test \"\${$as_ac_var+set}\" = set"; then
111069 echo $ECHO_N "(cached) $ECHO_C" >&6
111071 if test x$gcc_no_link = xyes; then
111072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111074 { (exit 1); exit 1; }; }
111076 cat >conftest.$ac_ext <<_ACEOF
111077 /* confdefs.h. */
111078 _ACEOF
111079 cat confdefs.h >>conftest.$ac_ext
111080 cat >>conftest.$ac_ext <<_ACEOF
111081 /* end confdefs.h. */
111082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111084 #define $ac_func innocuous_$ac_func
111086 /* System header to define __stub macros and hopefully few prototypes,
111087 which can conflict with char $ac_func (); below.
111088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111089 <limits.h> exists even on freestanding compilers. */
111091 #ifdef __STDC__
111092 # include <limits.h>
111093 #else
111094 # include <assert.h>
111095 #endif
111097 #undef $ac_func
111099 /* Override any gcc2 internal prototype to avoid an error. */
111100 #ifdef __cplusplus
111101 extern "C"
111103 #endif
111104 /* We use char because int might match the return type of a gcc2
111105 builtin and then its argument prototype would still apply. */
111106 char $ac_func ();
111107 /* The GNU C library defines this for functions which it implements
111108 to always fail with ENOSYS. Some functions are actually named
111109 something starting with __ and the normal name is an alias. */
111110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111111 choke me
111112 #else
111113 char (*f) () = $ac_func;
111114 #endif
111115 #ifdef __cplusplus
111117 #endif
111120 main ()
111122 return f != $ac_func;
111124 return 0;
111126 _ACEOF
111127 rm -f conftest.$ac_objext conftest$ac_exeext
111128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111129 (eval $ac_link) 2>conftest.er1
111130 ac_status=$?
111131 grep -v '^ *+' conftest.er1 >conftest.err
111132 rm -f conftest.er1
111133 cat conftest.err >&5
111134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111135 (exit $ac_status); } &&
111136 { ac_try='test -z "$ac_c_werror_flag"
111137 || test ! -s conftest.err'
111138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111139 (eval $ac_try) 2>&5
111140 ac_status=$?
111141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111142 (exit $ac_status); }; } &&
111143 { ac_try='test -s conftest$ac_exeext'
111144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111145 (eval $ac_try) 2>&5
111146 ac_status=$?
111147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111148 (exit $ac_status); }; }; then
111149 eval "$as_ac_var=yes"
111151 echo "$as_me: failed program was:" >&5
111152 sed 's/^/| /' conftest.$ac_ext >&5
111154 eval "$as_ac_var=no"
111156 rm -f conftest.err conftest.$ac_objext \
111157 conftest$ac_exeext conftest.$ac_ext
111159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111161 if test `eval echo '${'$as_ac_var'}'` = yes; then
111162 cat >>confdefs.h <<_ACEOF
111163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111164 _ACEOF
111177 echo "$as_me:$LINENO: checking for finitel declaration" >&5
111178 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
111179 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
111180 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
111181 echo $ECHO_N "(cached) $ECHO_C" >&6
111186 ac_ext=cc
111187 ac_cpp='$CXXCPP $CPPFLAGS'
111188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111192 cat >conftest.$ac_ext <<_ACEOF
111193 /* confdefs.h. */
111194 _ACEOF
111195 cat confdefs.h >>conftest.$ac_ext
111196 cat >>conftest.$ac_ext <<_ACEOF
111197 /* end confdefs.h. */
111198 #include <math.h>
111199 #ifdef HAVE_IEEEFP_H
111200 #include <ieeefp.h>
111201 #endif
111204 main ()
111206 finitel(0);
111208 return 0;
111210 _ACEOF
111211 rm -f conftest.$ac_objext
111212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111213 (eval $ac_compile) 2>conftest.er1
111214 ac_status=$?
111215 grep -v '^ *+' conftest.er1 >conftest.err
111216 rm -f conftest.er1
111217 cat conftest.err >&5
111218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111219 (exit $ac_status); } &&
111220 { ac_try='test -z "$ac_cxx_werror_flag"
111221 || test ! -s conftest.err'
111222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111223 (eval $ac_try) 2>&5
111224 ac_status=$?
111225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111226 (exit $ac_status); }; } &&
111227 { ac_try='test -s conftest.$ac_objext'
111228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111229 (eval $ac_try) 2>&5
111230 ac_status=$?
111231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111232 (exit $ac_status); }; }; then
111233 glibcxx_cv_func_finitel_use=yes
111235 echo "$as_me: failed program was:" >&5
111236 sed 's/^/| /' conftest.$ac_ext >&5
111238 glibcxx_cv_func_finitel_use=no
111240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111241 ac_ext=c
111242 ac_cpp='$CPP $CPPFLAGS'
111243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
111252 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
111254 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
111256 for ac_func in finitel
111258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111259 echo "$as_me:$LINENO: checking for $ac_func" >&5
111260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111261 if eval "test \"\${$as_ac_var+set}\" = set"; then
111262 echo $ECHO_N "(cached) $ECHO_C" >&6
111264 if test x$gcc_no_link = xyes; then
111265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111267 { (exit 1); exit 1; }; }
111269 cat >conftest.$ac_ext <<_ACEOF
111270 /* confdefs.h. */
111271 _ACEOF
111272 cat confdefs.h >>conftest.$ac_ext
111273 cat >>conftest.$ac_ext <<_ACEOF
111274 /* end confdefs.h. */
111275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111277 #define $ac_func innocuous_$ac_func
111279 /* System header to define __stub macros and hopefully few prototypes,
111280 which can conflict with char $ac_func (); below.
111281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111282 <limits.h> exists even on freestanding compilers. */
111284 #ifdef __STDC__
111285 # include <limits.h>
111286 #else
111287 # include <assert.h>
111288 #endif
111290 #undef $ac_func
111292 /* Override any gcc2 internal prototype to avoid an error. */
111293 #ifdef __cplusplus
111294 extern "C"
111296 #endif
111297 /* We use char because int might match the return type of a gcc2
111298 builtin and then its argument prototype would still apply. */
111299 char $ac_func ();
111300 /* The GNU C library defines this for functions which it implements
111301 to always fail with ENOSYS. Some functions are actually named
111302 something starting with __ and the normal name is an alias. */
111303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111304 choke me
111305 #else
111306 char (*f) () = $ac_func;
111307 #endif
111308 #ifdef __cplusplus
111310 #endif
111313 main ()
111315 return f != $ac_func;
111317 return 0;
111319 _ACEOF
111320 rm -f conftest.$ac_objext conftest$ac_exeext
111321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111322 (eval $ac_link) 2>conftest.er1
111323 ac_status=$?
111324 grep -v '^ *+' conftest.er1 >conftest.err
111325 rm -f conftest.er1
111326 cat conftest.err >&5
111327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111328 (exit $ac_status); } &&
111329 { ac_try='test -z "$ac_c_werror_flag"
111330 || test ! -s conftest.err'
111331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111332 (eval $ac_try) 2>&5
111333 ac_status=$?
111334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111335 (exit $ac_status); }; } &&
111336 { ac_try='test -s conftest$ac_exeext'
111337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111338 (eval $ac_try) 2>&5
111339 ac_status=$?
111340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111341 (exit $ac_status); }; }; then
111342 eval "$as_ac_var=yes"
111344 echo "$as_me: failed program was:" >&5
111345 sed 's/^/| /' conftest.$ac_ext >&5
111347 eval "$as_ac_var=no"
111349 rm -f conftest.err conftest.$ac_objext \
111350 conftest$ac_exeext conftest.$ac_ext
111352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111354 if test `eval echo '${'$as_ac_var'}'` = yes; then
111355 cat >>confdefs.h <<_ACEOF
111356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111357 _ACEOF
111364 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
111365 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
111366 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
111367 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
111368 echo $ECHO_N "(cached) $ECHO_C" >&6
111373 ac_ext=cc
111374 ac_cpp='$CXXCPP $CPPFLAGS'
111375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111379 cat >conftest.$ac_ext <<_ACEOF
111380 /* confdefs.h. */
111381 _ACEOF
111382 cat confdefs.h >>conftest.$ac_ext
111383 cat >>conftest.$ac_ext <<_ACEOF
111384 /* end confdefs.h. */
111385 #include <math.h>
111386 #ifdef HAVE_IEEEFP_H
111387 #include <ieeefp.h>
111388 #endif
111391 main ()
111393 _finitel(0);
111395 return 0;
111397 _ACEOF
111398 rm -f conftest.$ac_objext
111399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111400 (eval $ac_compile) 2>conftest.er1
111401 ac_status=$?
111402 grep -v '^ *+' conftest.er1 >conftest.err
111403 rm -f conftest.er1
111404 cat conftest.err >&5
111405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111406 (exit $ac_status); } &&
111407 { ac_try='test -z "$ac_cxx_werror_flag"
111408 || test ! -s conftest.err'
111409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111410 (eval $ac_try) 2>&5
111411 ac_status=$?
111412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111413 (exit $ac_status); }; } &&
111414 { ac_try='test -s conftest.$ac_objext'
111415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111416 (eval $ac_try) 2>&5
111417 ac_status=$?
111418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111419 (exit $ac_status); }; }; then
111420 glibcxx_cv_func__finitel_use=yes
111422 echo "$as_me: failed program was:" >&5
111423 sed 's/^/| /' conftest.$ac_ext >&5
111425 glibcxx_cv_func__finitel_use=no
111427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111428 ac_ext=c
111429 ac_cpp='$CPP $CPPFLAGS'
111430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111438 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
111439 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
111441 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
111443 for ac_func in _finitel
111445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111446 echo "$as_me:$LINENO: checking for $ac_func" >&5
111447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111448 if eval "test \"\${$as_ac_var+set}\" = set"; then
111449 echo $ECHO_N "(cached) $ECHO_C" >&6
111451 if test x$gcc_no_link = xyes; then
111452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111454 { (exit 1); exit 1; }; }
111456 cat >conftest.$ac_ext <<_ACEOF
111457 /* confdefs.h. */
111458 _ACEOF
111459 cat confdefs.h >>conftest.$ac_ext
111460 cat >>conftest.$ac_ext <<_ACEOF
111461 /* end confdefs.h. */
111462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111464 #define $ac_func innocuous_$ac_func
111466 /* System header to define __stub macros and hopefully few prototypes,
111467 which can conflict with char $ac_func (); below.
111468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111469 <limits.h> exists even on freestanding compilers. */
111471 #ifdef __STDC__
111472 # include <limits.h>
111473 #else
111474 # include <assert.h>
111475 #endif
111477 #undef $ac_func
111479 /* Override any gcc2 internal prototype to avoid an error. */
111480 #ifdef __cplusplus
111481 extern "C"
111483 #endif
111484 /* We use char because int might match the return type of a gcc2
111485 builtin and then its argument prototype would still apply. */
111486 char $ac_func ();
111487 /* The GNU C library defines this for functions which it implements
111488 to always fail with ENOSYS. Some functions are actually named
111489 something starting with __ and the normal name is an alias. */
111490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111491 choke me
111492 #else
111493 char (*f) () = $ac_func;
111494 #endif
111495 #ifdef __cplusplus
111497 #endif
111500 main ()
111502 return f != $ac_func;
111504 return 0;
111506 _ACEOF
111507 rm -f conftest.$ac_objext conftest$ac_exeext
111508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111509 (eval $ac_link) 2>conftest.er1
111510 ac_status=$?
111511 grep -v '^ *+' conftest.er1 >conftest.err
111512 rm -f conftest.er1
111513 cat conftest.err >&5
111514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111515 (exit $ac_status); } &&
111516 { ac_try='test -z "$ac_c_werror_flag"
111517 || test ! -s conftest.err'
111518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111519 (eval $ac_try) 2>&5
111520 ac_status=$?
111521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111522 (exit $ac_status); }; } &&
111523 { ac_try='test -s conftest$ac_exeext'
111524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111525 (eval $ac_try) 2>&5
111526 ac_status=$?
111527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111528 (exit $ac_status); }; }; then
111529 eval "$as_ac_var=yes"
111531 echo "$as_me: failed program was:" >&5
111532 sed 's/^/| /' conftest.$ac_ext >&5
111534 eval "$as_ac_var=no"
111536 rm -f conftest.err conftest.$ac_objext \
111537 conftest$ac_exeext conftest.$ac_ext
111539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111541 if test `eval echo '${'$as_ac_var'}'` = yes; then
111542 cat >>confdefs.h <<_ACEOF
111543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111544 _ACEOF
111556 LIBS="$ac_save_LIBS"
111557 CXXFLAGS="$ac_save_CXXFLAGS"
111560 ac_test_CXXFLAGS="${CXXFLAGS+set}"
111561 ac_save_CXXFLAGS="$CXXFLAGS"
111562 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
111565 echo "$as_me:$LINENO: checking for strtold declaration" >&5
111566 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
111567 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
111568 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
111569 echo $ECHO_N "(cached) $ECHO_C" >&6
111574 ac_ext=cc
111575 ac_cpp='$CXXCPP $CPPFLAGS'
111576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111580 cat >conftest.$ac_ext <<_ACEOF
111581 /* confdefs.h. */
111582 _ACEOF
111583 cat confdefs.h >>conftest.$ac_ext
111584 cat >>conftest.$ac_ext <<_ACEOF
111585 /* end confdefs.h. */
111586 #include <stdlib.h>
111588 main ()
111590 strtold(0, 0);
111592 return 0;
111594 _ACEOF
111595 rm -f conftest.$ac_objext
111596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111597 (eval $ac_compile) 2>conftest.er1
111598 ac_status=$?
111599 grep -v '^ *+' conftest.er1 >conftest.err
111600 rm -f conftest.er1
111601 cat conftest.err >&5
111602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111603 (exit $ac_status); } &&
111604 { ac_try='test -z "$ac_cxx_werror_flag"
111605 || test ! -s conftest.err'
111606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111607 (eval $ac_try) 2>&5
111608 ac_status=$?
111609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111610 (exit $ac_status); }; } &&
111611 { ac_try='test -s conftest.$ac_objext'
111612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111613 (eval $ac_try) 2>&5
111614 ac_status=$?
111615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111616 (exit $ac_status); }; }; then
111617 glibcxx_cv_func_strtold_use=yes
111619 echo "$as_me: failed program was:" >&5
111620 sed 's/^/| /' conftest.$ac_ext >&5
111622 glibcxx_cv_func_strtold_use=no
111624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111625 ac_ext=c
111626 ac_cpp='$CPP $CPPFLAGS'
111627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111635 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
111636 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
111637 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
111639 for ac_func in strtold
111641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111642 echo "$as_me:$LINENO: checking for $ac_func" >&5
111643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111644 if eval "test \"\${$as_ac_var+set}\" = set"; then
111645 echo $ECHO_N "(cached) $ECHO_C" >&6
111647 if test x$gcc_no_link = xyes; then
111648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111650 { (exit 1); exit 1; }; }
111652 cat >conftest.$ac_ext <<_ACEOF
111653 /* confdefs.h. */
111654 _ACEOF
111655 cat confdefs.h >>conftest.$ac_ext
111656 cat >>conftest.$ac_ext <<_ACEOF
111657 /* end confdefs.h. */
111658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111660 #define $ac_func innocuous_$ac_func
111662 /* System header to define __stub macros and hopefully few prototypes,
111663 which can conflict with char $ac_func (); below.
111664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111665 <limits.h> exists even on freestanding compilers. */
111667 #ifdef __STDC__
111668 # include <limits.h>
111669 #else
111670 # include <assert.h>
111671 #endif
111673 #undef $ac_func
111675 /* Override any gcc2 internal prototype to avoid an error. */
111676 #ifdef __cplusplus
111677 extern "C"
111679 #endif
111680 /* We use char because int might match the return type of a gcc2
111681 builtin and then its argument prototype would still apply. */
111682 char $ac_func ();
111683 /* The GNU C library defines this for functions which it implements
111684 to always fail with ENOSYS. Some functions are actually named
111685 something starting with __ and the normal name is an alias. */
111686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111687 choke me
111688 #else
111689 char (*f) () = $ac_func;
111690 #endif
111691 #ifdef __cplusplus
111693 #endif
111696 main ()
111698 return f != $ac_func;
111700 return 0;
111702 _ACEOF
111703 rm -f conftest.$ac_objext conftest$ac_exeext
111704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111705 (eval $ac_link) 2>conftest.er1
111706 ac_status=$?
111707 grep -v '^ *+' conftest.er1 >conftest.err
111708 rm -f conftest.er1
111709 cat conftest.err >&5
111710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111711 (exit $ac_status); } &&
111712 { ac_try='test -z "$ac_c_werror_flag"
111713 || test ! -s conftest.err'
111714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111715 (eval $ac_try) 2>&5
111716 ac_status=$?
111717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111718 (exit $ac_status); }; } &&
111719 { ac_try='test -s conftest$ac_exeext'
111720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111721 (eval $ac_try) 2>&5
111722 ac_status=$?
111723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111724 (exit $ac_status); }; }; then
111725 eval "$as_ac_var=yes"
111727 echo "$as_me: failed program was:" >&5
111728 sed 's/^/| /' conftest.$ac_ext >&5
111730 eval "$as_ac_var=no"
111732 rm -f conftest.err conftest.$ac_objext \
111733 conftest$ac_exeext conftest.$ac_ext
111735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111737 if test `eval echo '${'$as_ac_var'}'` = yes; then
111738 cat >>confdefs.h <<_ACEOF
111739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111740 _ACEOF
111751 echo "$as_me:$LINENO: checking for strtof declaration" >&5
111752 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
111753 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
111754 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
111755 echo $ECHO_N "(cached) $ECHO_C" >&6
111760 ac_ext=cc
111761 ac_cpp='$CXXCPP $CPPFLAGS'
111762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111766 cat >conftest.$ac_ext <<_ACEOF
111767 /* confdefs.h. */
111768 _ACEOF
111769 cat confdefs.h >>conftest.$ac_ext
111770 cat >>conftest.$ac_ext <<_ACEOF
111771 /* end confdefs.h. */
111772 #include <stdlib.h>
111774 main ()
111776 strtof(0, 0);
111778 return 0;
111780 _ACEOF
111781 rm -f conftest.$ac_objext
111782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111783 (eval $ac_compile) 2>conftest.er1
111784 ac_status=$?
111785 grep -v '^ *+' conftest.er1 >conftest.err
111786 rm -f conftest.er1
111787 cat conftest.err >&5
111788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111789 (exit $ac_status); } &&
111790 { ac_try='test -z "$ac_cxx_werror_flag"
111791 || test ! -s conftest.err'
111792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111793 (eval $ac_try) 2>&5
111794 ac_status=$?
111795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111796 (exit $ac_status); }; } &&
111797 { ac_try='test -s conftest.$ac_objext'
111798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111799 (eval $ac_try) 2>&5
111800 ac_status=$?
111801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111802 (exit $ac_status); }; }; then
111803 glibcxx_cv_func_strtof_use=yes
111805 echo "$as_me: failed program was:" >&5
111806 sed 's/^/| /' conftest.$ac_ext >&5
111808 glibcxx_cv_func_strtof_use=no
111810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111811 ac_ext=c
111812 ac_cpp='$CPP $CPPFLAGS'
111813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111821 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
111822 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
111823 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
111825 for ac_func in strtof
111827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111828 echo "$as_me:$LINENO: checking for $ac_func" >&5
111829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111830 if eval "test \"\${$as_ac_var+set}\" = set"; then
111831 echo $ECHO_N "(cached) $ECHO_C" >&6
111833 if test x$gcc_no_link = xyes; then
111834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111836 { (exit 1); exit 1; }; }
111838 cat >conftest.$ac_ext <<_ACEOF
111839 /* confdefs.h. */
111840 _ACEOF
111841 cat confdefs.h >>conftest.$ac_ext
111842 cat >>conftest.$ac_ext <<_ACEOF
111843 /* end confdefs.h. */
111844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111846 #define $ac_func innocuous_$ac_func
111848 /* System header to define __stub macros and hopefully few prototypes,
111849 which can conflict with char $ac_func (); below.
111850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111851 <limits.h> exists even on freestanding compilers. */
111853 #ifdef __STDC__
111854 # include <limits.h>
111855 #else
111856 # include <assert.h>
111857 #endif
111859 #undef $ac_func
111861 /* Override any gcc2 internal prototype to avoid an error. */
111862 #ifdef __cplusplus
111863 extern "C"
111865 #endif
111866 /* We use char because int might match the return type of a gcc2
111867 builtin and then its argument prototype would still apply. */
111868 char $ac_func ();
111869 /* The GNU C library defines this for functions which it implements
111870 to always fail with ENOSYS. Some functions are actually named
111871 something starting with __ and the normal name is an alias. */
111872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111873 choke me
111874 #else
111875 char (*f) () = $ac_func;
111876 #endif
111877 #ifdef __cplusplus
111879 #endif
111882 main ()
111884 return f != $ac_func;
111886 return 0;
111888 _ACEOF
111889 rm -f conftest.$ac_objext conftest$ac_exeext
111890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111891 (eval $ac_link) 2>conftest.er1
111892 ac_status=$?
111893 grep -v '^ *+' conftest.er1 >conftest.err
111894 rm -f conftest.er1
111895 cat conftest.err >&5
111896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111897 (exit $ac_status); } &&
111898 { ac_try='test -z "$ac_c_werror_flag"
111899 || test ! -s conftest.err'
111900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111901 (eval $ac_try) 2>&5
111902 ac_status=$?
111903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111904 (exit $ac_status); }; } &&
111905 { ac_try='test -s conftest$ac_exeext'
111906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111907 (eval $ac_try) 2>&5
111908 ac_status=$?
111909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111910 (exit $ac_status); }; }; then
111911 eval "$as_ac_var=yes"
111913 echo "$as_me: failed program was:" >&5
111914 sed 's/^/| /' conftest.$ac_ext >&5
111916 eval "$as_ac_var=no"
111918 rm -f conftest.err conftest.$ac_objext \
111919 conftest$ac_exeext conftest.$ac_ext
111921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111923 if test `eval echo '${'$as_ac_var'}'` = yes; then
111924 cat >>confdefs.h <<_ACEOF
111925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111926 _ACEOF
111937 CXXFLAGS="$ac_save_CXXFLAGS"
111939 cat >>confdefs.h <<\_ACEOF
111940 #define _GLIBCXX_USE_RANDOM_TR1 1
111941 _ACEOF
111944 # Check whether --enable-tls or --disable-tls was given.
111945 if test "${enable_tls+set}" = set; then
111946 enableval="$enable_tls"
111948 case "$enableval" in
111949 yes|no) ;;
111950 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
111951 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
111952 { (exit 1); exit 1; }; } ;;
111956 enable_tls=yes
111959 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
111960 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
111961 if test "${gcc_cv_have_tls+set}" = set; then
111962 echo $ECHO_N "(cached) $ECHO_C" >&6
111965 if test "$cross_compiling" = yes; then
111966 if test x$gcc_no_link = xyes; then
111967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111969 { (exit 1); exit 1; }; }
111971 cat >conftest.$ac_ext <<_ACEOF
111972 __thread int a; int b; int main() { return a = b; }
111973 _ACEOF
111974 rm -f conftest.$ac_objext conftest$ac_exeext
111975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111976 (eval $ac_link) 2>conftest.er1
111977 ac_status=$?
111978 grep -v '^ *+' conftest.er1 >conftest.err
111979 rm -f conftest.er1
111980 cat conftest.err >&5
111981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111982 (exit $ac_status); } &&
111983 { ac_try='test -z "$ac_c_werror_flag"
111984 || test ! -s conftest.err'
111985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111986 (eval $ac_try) 2>&5
111987 ac_status=$?
111988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111989 (exit $ac_status); }; } &&
111990 { ac_try='test -s conftest$ac_exeext'
111991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111992 (eval $ac_try) 2>&5
111993 ac_status=$?
111994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111995 (exit $ac_status); }; }; then
111996 gcc_cv_have_tls=yes
111998 echo "$as_me: failed program was:" >&5
111999 sed 's/^/| /' conftest.$ac_ext >&5
112001 gcc_cv_have_tls=no
112003 rm -f conftest.err conftest.$ac_objext \
112004 conftest$ac_exeext conftest.$ac_ext
112008 cat >conftest.$ac_ext <<_ACEOF
112009 __thread int a; int b; int main() { return a = b; }
112010 _ACEOF
112011 rm -f conftest$ac_exeext
112012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112013 (eval $ac_link) 2>&5
112014 ac_status=$?
112015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112016 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
112017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112018 (eval $ac_try) 2>&5
112019 ac_status=$?
112020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112021 (exit $ac_status); }; }; then
112022 chktls_save_LDFLAGS="$LDFLAGS"
112023 LDFLAGS="-static $LDFLAGS"
112024 if test x$gcc_no_link = xyes; then
112025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112027 { (exit 1); exit 1; }; }
112029 cat >conftest.$ac_ext <<_ACEOF
112030 int main() { return 0; }
112031 _ACEOF
112032 rm -f conftest.$ac_objext conftest$ac_exeext
112033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112034 (eval $ac_link) 2>conftest.er1
112035 ac_status=$?
112036 grep -v '^ *+' conftest.er1 >conftest.err
112037 rm -f conftest.er1
112038 cat conftest.err >&5
112039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112040 (exit $ac_status); } &&
112041 { ac_try='test -z "$ac_c_werror_flag"
112042 || test ! -s conftest.err'
112043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112044 (eval $ac_try) 2>&5
112045 ac_status=$?
112046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112047 (exit $ac_status); }; } &&
112048 { ac_try='test -s conftest$ac_exeext'
112049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112050 (eval $ac_try) 2>&5
112051 ac_status=$?
112052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112053 (exit $ac_status); }; }; then
112054 if test "$cross_compiling" = yes; then
112055 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
112056 echo "$as_me: error: in \`$ac_pwd':" >&2;}
112057 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
112058 See \`config.log' for more details." >&5
112059 echo "$as_me: error: cannot run test program while cross compiling
112060 See \`config.log' for more details." >&2;}
112061 { (exit 1); exit 1; }; }; }
112063 cat >conftest.$ac_ext <<_ACEOF
112064 __thread int a; int b; int main() { return a = b; }
112065 _ACEOF
112066 rm -f conftest$ac_exeext
112067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112068 (eval $ac_link) 2>&5
112069 ac_status=$?
112070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112071 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
112072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112073 (eval $ac_try) 2>&5
112074 ac_status=$?
112075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112076 (exit $ac_status); }; }; then
112077 gcc_cv_have_tls=yes
112079 echo "$as_me: program exited with status $ac_status" >&5
112080 echo "$as_me: failed program was:" >&5
112081 sed 's/^/| /' conftest.$ac_ext >&5
112083 ( exit $ac_status )
112084 gcc_cv_have_tls=no
112086 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
112089 echo "$as_me: failed program was:" >&5
112090 sed 's/^/| /' conftest.$ac_ext >&5
112092 gcc_cv_have_tls=yes
112094 rm -f conftest.err conftest.$ac_objext \
112095 conftest$ac_exeext conftest.$ac_ext
112096 LDFLAGS="$chktls_save_LDFLAGS"
112097 if test $gcc_cv_have_tls = yes; then
112098 chktls_save_CFLAGS="$CFLAGS"
112099 thread_CFLAGS=failed
112100 for flag in '' '-pthread' '-lpthread'; do
112101 CFLAGS="$flag $chktls_save_CFLAGS"
112102 if test x$gcc_no_link = xyes; then
112103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112105 { (exit 1); exit 1; }; }
112107 cat >conftest.$ac_ext <<_ACEOF
112108 /* confdefs.h. */
112109 _ACEOF
112110 cat confdefs.h >>conftest.$ac_ext
112111 cat >>conftest.$ac_ext <<_ACEOF
112112 /* end confdefs.h. */
112113 #include <pthread.h>
112114 void *g(void *d) { return NULL; }
112116 main ()
112118 pthread_t t; pthread_create(&t,NULL,g,NULL);
112120 return 0;
112122 _ACEOF
112123 rm -f conftest.$ac_objext conftest$ac_exeext
112124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112125 (eval $ac_link) 2>conftest.er1
112126 ac_status=$?
112127 grep -v '^ *+' conftest.er1 >conftest.err
112128 rm -f conftest.er1
112129 cat conftest.err >&5
112130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112131 (exit $ac_status); } &&
112132 { ac_try='test -z "$ac_c_werror_flag"
112133 || test ! -s conftest.err'
112134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112135 (eval $ac_try) 2>&5
112136 ac_status=$?
112137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112138 (exit $ac_status); }; } &&
112139 { ac_try='test -s conftest$ac_exeext'
112140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112141 (eval $ac_try) 2>&5
112142 ac_status=$?
112143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112144 (exit $ac_status); }; }; then
112145 thread_CFLAGS="$flag"
112147 echo "$as_me: failed program was:" >&5
112148 sed 's/^/| /' conftest.$ac_ext >&5
112151 rm -f conftest.err conftest.$ac_objext \
112152 conftest$ac_exeext conftest.$ac_ext
112153 if test "X$thread_CFLAGS" != Xfailed; then
112154 break
112157 CFLAGS="$chktls_save_CFLAGS"
112158 if test "X$thread_CFLAGS" != Xfailed; then
112159 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
112160 if test "$cross_compiling" = yes; then
112161 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
112162 echo "$as_me: error: in \`$ac_pwd':" >&2;}
112163 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
112164 See \`config.log' for more details." >&5
112165 echo "$as_me: error: cannot run test program while cross compiling
112166 See \`config.log' for more details." >&2;}
112167 { (exit 1); exit 1; }; }; }
112169 cat >conftest.$ac_ext <<_ACEOF
112170 /* confdefs.h. */
112171 _ACEOF
112172 cat confdefs.h >>conftest.$ac_ext
112173 cat >>conftest.$ac_ext <<_ACEOF
112174 /* end confdefs.h. */
112175 #include <pthread.h>
112176 __thread int a;
112177 static int *a_in_other_thread;
112178 static void *
112179 thread_func (void *arg)
112181 a_in_other_thread = &a;
112182 return (void *)0;
112185 main ()
112187 pthread_t thread;
112188 void *thread_retval;
112189 int *a_in_main_thread;
112190 if (pthread_create (&thread, (pthread_attr_t *)0,
112191 thread_func, (void *)0))
112192 return 0;
112193 a_in_main_thread = &a;
112194 if (pthread_join (thread, &thread_retval))
112195 return 0;
112196 return (a_in_other_thread == a_in_main_thread);
112198 return 0;
112200 _ACEOF
112201 rm -f conftest$ac_exeext
112202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112203 (eval $ac_link) 2>&5
112204 ac_status=$?
112205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112206 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
112207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112208 (eval $ac_try) 2>&5
112209 ac_status=$?
112210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112211 (exit $ac_status); }; }; then
112212 gcc_cv_have_tls=yes
112214 echo "$as_me: program exited with status $ac_status" >&5
112215 echo "$as_me: failed program was:" >&5
112216 sed 's/^/| /' conftest.$ac_ext >&5
112218 ( exit $ac_status )
112219 gcc_cv_have_tls=no
112221 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
112223 CFLAGS="$chktls_save_CFLAGS"
112227 echo "$as_me: program exited with status $ac_status" >&5
112228 echo "$as_me: failed program was:" >&5
112229 sed 's/^/| /' conftest.$ac_ext >&5
112231 ( exit $ac_status )
112232 gcc_cv_have_tls=no
112234 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
112237 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
112238 echo "${ECHO_T}$gcc_cv_have_tls" >&6
112239 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
112241 cat >>confdefs.h <<\_ACEOF
112242 #define HAVE_TLS 1
112243 _ACEOF
112251 am_save_CPPFLAGS="$CPPFLAGS"
112253 for element in $INCICONV; do
112254 haveit=
112255 for x in $CPPFLAGS; do
112257 acl_save_prefix="$prefix"
112258 prefix="$acl_final_prefix"
112259 acl_save_exec_prefix="$exec_prefix"
112260 exec_prefix="$acl_final_exec_prefix"
112261 eval x=\"$x\"
112262 exec_prefix="$acl_save_exec_prefix"
112263 prefix="$acl_save_prefix"
112265 if test "X$x" = "X$element"; then
112266 haveit=yes
112267 break
112270 if test -z "$haveit"; then
112271 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
112276 echo "$as_me:$LINENO: checking for iconv" >&5
112277 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
112278 if test "${am_cv_func_iconv+set}" = set; then
112279 echo $ECHO_N "(cached) $ECHO_C" >&6
112282 am_cv_func_iconv="no, consider installing GNU libiconv"
112283 am_cv_lib_iconv=no
112284 if test x$gcc_no_link = xyes; then
112285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112287 { (exit 1); exit 1; }; }
112289 cat >conftest.$ac_ext <<_ACEOF
112290 /* confdefs.h. */
112291 _ACEOF
112292 cat confdefs.h >>conftest.$ac_ext
112293 cat >>conftest.$ac_ext <<_ACEOF
112294 /* end confdefs.h. */
112295 #include <stdlib.h>
112296 #include <iconv.h>
112298 main ()
112300 iconv_t cd = iconv_open("","");
112301 iconv(cd,NULL,NULL,NULL,NULL);
112302 iconv_close(cd);
112304 return 0;
112306 _ACEOF
112307 rm -f conftest.$ac_objext conftest$ac_exeext
112308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112309 (eval $ac_link) 2>conftest.er1
112310 ac_status=$?
112311 grep -v '^ *+' conftest.er1 >conftest.err
112312 rm -f conftest.er1
112313 cat conftest.err >&5
112314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112315 (exit $ac_status); } &&
112316 { ac_try='test -z "$ac_c_werror_flag"
112317 || test ! -s conftest.err'
112318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112319 (eval $ac_try) 2>&5
112320 ac_status=$?
112321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112322 (exit $ac_status); }; } &&
112323 { ac_try='test -s conftest$ac_exeext'
112324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112325 (eval $ac_try) 2>&5
112326 ac_status=$?
112327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112328 (exit $ac_status); }; }; then
112329 am_cv_func_iconv=yes
112331 echo "$as_me: failed program was:" >&5
112332 sed 's/^/| /' conftest.$ac_ext >&5
112335 rm -f conftest.err conftest.$ac_objext \
112336 conftest$ac_exeext conftest.$ac_ext
112337 if test "$am_cv_func_iconv" != yes; then
112338 am_save_LIBS="$LIBS"
112339 LIBS="$LIBS $LIBICONV"
112340 if test x$gcc_no_link = xyes; then
112341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112343 { (exit 1); exit 1; }; }
112345 cat >conftest.$ac_ext <<_ACEOF
112346 /* confdefs.h. */
112347 _ACEOF
112348 cat confdefs.h >>conftest.$ac_ext
112349 cat >>conftest.$ac_ext <<_ACEOF
112350 /* end confdefs.h. */
112351 #include <stdlib.h>
112352 #include <iconv.h>
112354 main ()
112356 iconv_t cd = iconv_open("","");
112357 iconv(cd,NULL,NULL,NULL,NULL);
112358 iconv_close(cd);
112360 return 0;
112362 _ACEOF
112363 rm -f conftest.$ac_objext conftest$ac_exeext
112364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112365 (eval $ac_link) 2>conftest.er1
112366 ac_status=$?
112367 grep -v '^ *+' conftest.er1 >conftest.err
112368 rm -f conftest.er1
112369 cat conftest.err >&5
112370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112371 (exit $ac_status); } &&
112372 { ac_try='test -z "$ac_c_werror_flag"
112373 || test ! -s conftest.err'
112374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112375 (eval $ac_try) 2>&5
112376 ac_status=$?
112377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112378 (exit $ac_status); }; } &&
112379 { ac_try='test -s conftest$ac_exeext'
112380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112381 (eval $ac_try) 2>&5
112382 ac_status=$?
112383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112384 (exit $ac_status); }; }; then
112385 am_cv_lib_iconv=yes
112386 am_cv_func_iconv=yes
112388 echo "$as_me: failed program was:" >&5
112389 sed 's/^/| /' conftest.$ac_ext >&5
112392 rm -f conftest.err conftest.$ac_objext \
112393 conftest$ac_exeext conftest.$ac_ext
112394 LIBS="$am_save_LIBS"
112398 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
112399 echo "${ECHO_T}$am_cv_func_iconv" >&6
112400 if test "$am_cv_func_iconv" = yes; then
112402 cat >>confdefs.h <<\_ACEOF
112403 #define HAVE_ICONV 1
112404 _ACEOF
112407 if test "$am_cv_lib_iconv" = yes; then
112408 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
112409 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
112410 echo "$as_me:$LINENO: result: $LIBICONV" >&5
112411 echo "${ECHO_T}$LIBICONV" >&6
112413 CPPFLAGS="$am_save_CPPFLAGS"
112414 LIBICONV=
112415 LTLIBICONV=
112420 if test "$am_cv_func_iconv" = yes; then
112421 echo "$as_me:$LINENO: checking for iconv declaration" >&5
112422 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
112423 if test "${am_cv_proto_iconv+set}" = set; then
112424 echo $ECHO_N "(cached) $ECHO_C" >&6
112427 cat >conftest.$ac_ext <<_ACEOF
112428 /* confdefs.h. */
112429 _ACEOF
112430 cat confdefs.h >>conftest.$ac_ext
112431 cat >>conftest.$ac_ext <<_ACEOF
112432 /* end confdefs.h. */
112434 #include <stdlib.h>
112435 #include <iconv.h>
112436 extern
112437 #ifdef __cplusplus
112439 #endif
112440 #if defined(__STDC__) || defined(__cplusplus)
112441 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
112442 #else
112443 size_t iconv();
112444 #endif
112447 main ()
112451 return 0;
112453 _ACEOF
112454 rm -f conftest.$ac_objext
112455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112456 (eval $ac_compile) 2>conftest.er1
112457 ac_status=$?
112458 grep -v '^ *+' conftest.er1 >conftest.err
112459 rm -f conftest.er1
112460 cat conftest.err >&5
112461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112462 (exit $ac_status); } &&
112463 { ac_try='test -z "$ac_c_werror_flag"
112464 || test ! -s conftest.err'
112465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112466 (eval $ac_try) 2>&5
112467 ac_status=$?
112468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112469 (exit $ac_status); }; } &&
112470 { ac_try='test -s conftest.$ac_objext'
112471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112472 (eval $ac_try) 2>&5
112473 ac_status=$?
112474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112475 (exit $ac_status); }; }; then
112476 am_cv_proto_iconv_arg1=""
112478 echo "$as_me: failed program was:" >&5
112479 sed 's/^/| /' conftest.$ac_ext >&5
112481 am_cv_proto_iconv_arg1="const"
112483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112484 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);"
112487 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
112488 echo "$as_me:$LINENO: result: ${ac_t:-
112489 }$am_cv_proto_iconv" >&5
112490 echo "${ECHO_T}${ac_t:-
112491 }$am_cv_proto_iconv" >&6
112493 cat >>confdefs.h <<_ACEOF
112494 #define ICONV_CONST $am_cv_proto_iconv_arg1
112495 _ACEOF
112500 *-mingw32*)
112502 # If we're not using GNU ld, then there's no point in even trying these
112503 # tests. Check for that first. We should have already tested for gld
112504 # by now (in libtool), but require it now just to be safe...
112505 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112506 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112510 # The name set by libtool depends on the version of libtool. Shame on us
112511 # for depending on an impl detail, but c'est la vie. Older versions used
112512 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112513 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112514 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112515 # set (hence we're using an older libtool), then set it.
112516 if test x${with_gnu_ld+set} != xset; then
112517 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112518 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112519 with_gnu_ld=no
112521 with_gnu_ld=$ac_cv_prog_gnu_ld
112525 # Start by getting the version number. I think the libtool test already
112526 # does some of this, but throws away the result.
112527 glibcxx_ld_is_gold=no
112528 if test x"$with_gnu_ld" = x"yes"; then
112529 echo "$as_me:$LINENO: checking for ld version" >&5
112530 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112532 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
112533 glibcxx_ld_is_gold=yes
112535 ldver=`$LD --version 2>/dev/null | head -1 | \
112536 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
112538 glibcxx_gnu_ld_version=`echo $ldver | \
112539 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112540 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112541 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112544 # Set --gc-sections.
112545 glibcxx_have_gc_sections=no
112546 if test "$glibcxx_ld_is_gold" = "yes"; then
112547 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
112548 glibcxx_have_gc_sections=yes
112551 glibcxx_gcsections_min_ld=21602
112552 if test x"$with_gnu_ld" = x"yes" &&
112553 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112554 glibcxx_have_gc_sections=yes
112557 if test "$glibcxx_have_gc_sections" = "yes"; then
112558 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112559 # NB: This flag only works reliably after 2.16.1. Configure tests
112560 # for this are difficult, so hard wire a value that should work.
112562 ac_test_CFLAGS="${CFLAGS+set}"
112563 ac_save_CFLAGS="$CFLAGS"
112564 CFLAGS='-Wl,--gc-sections'
112566 # Check for -Wl,--gc-sections
112567 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112568 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112569 if test x$gcc_no_link = xyes; then
112570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112572 { (exit 1); exit 1; }; }
112574 cat >conftest.$ac_ext <<_ACEOF
112575 /* confdefs.h. */
112576 _ACEOF
112577 cat confdefs.h >>conftest.$ac_ext
112578 cat >>conftest.$ac_ext <<_ACEOF
112579 /* end confdefs.h. */
112580 int one(void) { return 1; }
112581 int two(void) { return 2; }
112584 main ()
112586 two();
112588 return 0;
112590 _ACEOF
112591 rm -f conftest.$ac_objext conftest$ac_exeext
112592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112593 (eval $ac_link) 2>conftest.er1
112594 ac_status=$?
112595 grep -v '^ *+' conftest.er1 >conftest.err
112596 rm -f conftest.er1
112597 cat conftest.err >&5
112598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112599 (exit $ac_status); } &&
112600 { ac_try='test -z "$ac_c_werror_flag"
112601 || test ! -s conftest.err'
112602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112603 (eval $ac_try) 2>&5
112604 ac_status=$?
112605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112606 (exit $ac_status); }; } &&
112607 { ac_try='test -s conftest$ac_exeext'
112608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112609 (eval $ac_try) 2>&5
112610 ac_status=$?
112611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112612 (exit $ac_status); }; }; then
112613 ac_gcsections=yes
112615 echo "$as_me: failed program was:" >&5
112616 sed 's/^/| /' conftest.$ac_ext >&5
112618 ac_gcsections=no
112620 rm -f conftest.err conftest.$ac_objext \
112621 conftest$ac_exeext conftest.$ac_ext
112622 if test "$ac_gcsections" = "yes"; then
112623 rm -f conftest.c
112624 touch conftest.c
112625 if $CC -c conftest.c; then
112626 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112627 grep "Warning: gc-sections option ignored" > /dev/null; then
112628 ac_gcsections=no
112631 rm -f conftest.c conftest.o conftest
112633 if test "$ac_gcsections" = "yes"; then
112634 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112636 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112637 echo "${ECHO_T}$ac_gcsections" >&6
112639 if test "$ac_test_CFLAGS" = set; then
112640 CFLAGS="$ac_save_CFLAGS"
112642 # this is the suspicious part
112643 CFLAGS=''
112647 # Set -z,relro.
112648 # Note this is only for shared objects.
112649 ac_ld_relro=no
112650 if test x"$with_gnu_ld" = x"yes"; then
112651 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112652 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112653 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112654 if test -n "$cxx_z_relo"; then
112655 OPT_LDFLAGS="-Wl,-z,relro"
112656 ac_ld_relro=yes
112658 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112659 echo "${ECHO_T}$ac_ld_relro" >&6
112662 # Set linker optimization flags.
112663 if test x"$with_gnu_ld" = x"yes"; then
112664 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112671 ac_test_CXXFLAGS="${CXXFLAGS+set}"
112672 ac_save_CXXFLAGS="$CXXFLAGS"
112673 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
112675 echo "$as_me:$LINENO: checking for sin in -lm" >&5
112676 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
112677 if test "${ac_cv_lib_m_sin+set}" = set; then
112678 echo $ECHO_N "(cached) $ECHO_C" >&6
112680 ac_check_lib_save_LIBS=$LIBS
112681 LIBS="-lm $LIBS"
112682 if test x$gcc_no_link = xyes; then
112683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112685 { (exit 1); exit 1; }; }
112687 cat >conftest.$ac_ext <<_ACEOF
112688 /* confdefs.h. */
112689 _ACEOF
112690 cat confdefs.h >>conftest.$ac_ext
112691 cat >>conftest.$ac_ext <<_ACEOF
112692 /* end confdefs.h. */
112694 /* Override any gcc2 internal prototype to avoid an error. */
112695 #ifdef __cplusplus
112696 extern "C"
112697 #endif
112698 /* We use char because int might match the return type of a gcc2
112699 builtin and then its argument prototype would still apply. */
112700 char sin ();
112702 main ()
112704 sin ();
112706 return 0;
112708 _ACEOF
112709 rm -f conftest.$ac_objext conftest$ac_exeext
112710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112711 (eval $ac_link) 2>conftest.er1
112712 ac_status=$?
112713 grep -v '^ *+' conftest.er1 >conftest.err
112714 rm -f conftest.er1
112715 cat conftest.err >&5
112716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112717 (exit $ac_status); } &&
112718 { ac_try='test -z "$ac_c_werror_flag"
112719 || test ! -s conftest.err'
112720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112721 (eval $ac_try) 2>&5
112722 ac_status=$?
112723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112724 (exit $ac_status); }; } &&
112725 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
112731 ac_cv_lib_m_sin=yes
112733 echo "$as_me: failed program was:" >&5
112734 sed 's/^/| /' conftest.$ac_ext >&5
112736 ac_cv_lib_m_sin=no
112738 rm -f conftest.err conftest.$ac_objext \
112739 conftest$ac_exeext conftest.$ac_ext
112740 LIBS=$ac_check_lib_save_LIBS
112742 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
112743 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
112744 if test $ac_cv_lib_m_sin = yes; then
112745 libm="-lm"
112748 ac_save_LIBS="$LIBS"
112749 LIBS="$LIBS $libm"
112753 echo "$as_me:$LINENO: checking for isinf declaration" >&5
112754 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
112755 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
112756 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
112757 echo $ECHO_N "(cached) $ECHO_C" >&6
112762 ac_ext=cc
112763 ac_cpp='$CXXCPP $CPPFLAGS'
112764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
112765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
112766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
112768 cat >conftest.$ac_ext <<_ACEOF
112769 /* confdefs.h. */
112770 _ACEOF
112771 cat confdefs.h >>conftest.$ac_ext
112772 cat >>conftest.$ac_ext <<_ACEOF
112773 /* end confdefs.h. */
112774 #include <math.h>
112775 #ifdef HAVE_IEEEFP_H
112776 #include <ieeefp.h>
112777 #endif
112780 main ()
112782 isinf(0);
112784 return 0;
112786 _ACEOF
112787 rm -f conftest.$ac_objext
112788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112789 (eval $ac_compile) 2>conftest.er1
112790 ac_status=$?
112791 grep -v '^ *+' conftest.er1 >conftest.err
112792 rm -f conftest.er1
112793 cat conftest.err >&5
112794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112795 (exit $ac_status); } &&
112796 { ac_try='test -z "$ac_cxx_werror_flag"
112797 || test ! -s conftest.err'
112798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112799 (eval $ac_try) 2>&5
112800 ac_status=$?
112801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112802 (exit $ac_status); }; } &&
112803 { ac_try='test -s conftest.$ac_objext'
112804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112805 (eval $ac_try) 2>&5
112806 ac_status=$?
112807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112808 (exit $ac_status); }; }; then
112809 glibcxx_cv_func_isinf_use=yes
112811 echo "$as_me: failed program was:" >&5
112812 sed 's/^/| /' conftest.$ac_ext >&5
112814 glibcxx_cv_func_isinf_use=no
112816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112817 ac_ext=c
112818 ac_cpp='$CPP $CPPFLAGS'
112819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
112820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
112821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
112827 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
112828 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
112830 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
112832 for ac_func in isinf
112834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112835 echo "$as_me:$LINENO: checking for $ac_func" >&5
112836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112837 if eval "test \"\${$as_ac_var+set}\" = set"; then
112838 echo $ECHO_N "(cached) $ECHO_C" >&6
112840 if test x$gcc_no_link = xyes; then
112841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112843 { (exit 1); exit 1; }; }
112845 cat >conftest.$ac_ext <<_ACEOF
112846 /* confdefs.h. */
112847 _ACEOF
112848 cat confdefs.h >>conftest.$ac_ext
112849 cat >>conftest.$ac_ext <<_ACEOF
112850 /* end confdefs.h. */
112851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112853 #define $ac_func innocuous_$ac_func
112855 /* System header to define __stub macros and hopefully few prototypes,
112856 which can conflict with char $ac_func (); below.
112857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112858 <limits.h> exists even on freestanding compilers. */
112860 #ifdef __STDC__
112861 # include <limits.h>
112862 #else
112863 # include <assert.h>
112864 #endif
112866 #undef $ac_func
112868 /* Override any gcc2 internal prototype to avoid an error. */
112869 #ifdef __cplusplus
112870 extern "C"
112872 #endif
112873 /* We use char because int might match the return type of a gcc2
112874 builtin and then its argument prototype would still apply. */
112875 char $ac_func ();
112876 /* The GNU C library defines this for functions which it implements
112877 to always fail with ENOSYS. Some functions are actually named
112878 something starting with __ and the normal name is an alias. */
112879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112880 choke me
112881 #else
112882 char (*f) () = $ac_func;
112883 #endif
112884 #ifdef __cplusplus
112886 #endif
112889 main ()
112891 return f != $ac_func;
112893 return 0;
112895 _ACEOF
112896 rm -f conftest.$ac_objext conftest$ac_exeext
112897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112898 (eval $ac_link) 2>conftest.er1
112899 ac_status=$?
112900 grep -v '^ *+' conftest.er1 >conftest.err
112901 rm -f conftest.er1
112902 cat conftest.err >&5
112903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112904 (exit $ac_status); } &&
112905 { ac_try='test -z "$ac_c_werror_flag"
112906 || test ! -s conftest.err'
112907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112908 (eval $ac_try) 2>&5
112909 ac_status=$?
112910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112911 (exit $ac_status); }; } &&
112912 { ac_try='test -s conftest$ac_exeext'
112913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112914 (eval $ac_try) 2>&5
112915 ac_status=$?
112916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112917 (exit $ac_status); }; }; then
112918 eval "$as_ac_var=yes"
112920 echo "$as_me: failed program was:" >&5
112921 sed 's/^/| /' conftest.$ac_ext >&5
112923 eval "$as_ac_var=no"
112925 rm -f conftest.err conftest.$ac_objext \
112926 conftest$ac_exeext conftest.$ac_ext
112928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112930 if test `eval echo '${'$as_ac_var'}'` = yes; then
112931 cat >>confdefs.h <<_ACEOF
112932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112933 _ACEOF
112940 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
112941 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
112942 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
112943 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
112944 echo $ECHO_N "(cached) $ECHO_C" >&6
112949 ac_ext=cc
112950 ac_cpp='$CXXCPP $CPPFLAGS'
112951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
112952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
112953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
112955 cat >conftest.$ac_ext <<_ACEOF
112956 /* confdefs.h. */
112957 _ACEOF
112958 cat confdefs.h >>conftest.$ac_ext
112959 cat >>conftest.$ac_ext <<_ACEOF
112960 /* end confdefs.h. */
112961 #include <math.h>
112962 #ifdef HAVE_IEEEFP_H
112963 #include <ieeefp.h>
112964 #endif
112967 main ()
112969 _isinf(0);
112971 return 0;
112973 _ACEOF
112974 rm -f conftest.$ac_objext
112975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112976 (eval $ac_compile) 2>conftest.er1
112977 ac_status=$?
112978 grep -v '^ *+' conftest.er1 >conftest.err
112979 rm -f conftest.er1
112980 cat conftest.err >&5
112981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112982 (exit $ac_status); } &&
112983 { ac_try='test -z "$ac_cxx_werror_flag"
112984 || test ! -s conftest.err'
112985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112986 (eval $ac_try) 2>&5
112987 ac_status=$?
112988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112989 (exit $ac_status); }; } &&
112990 { ac_try='test -s conftest.$ac_objext'
112991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112992 (eval $ac_try) 2>&5
112993 ac_status=$?
112994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112995 (exit $ac_status); }; }; then
112996 glibcxx_cv_func__isinf_use=yes
112998 echo "$as_me: failed program was:" >&5
112999 sed 's/^/| /' conftest.$ac_ext >&5
113001 glibcxx_cv_func__isinf_use=no
113003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113004 ac_ext=c
113005 ac_cpp='$CPP $CPPFLAGS'
113006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
113014 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
113015 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
113017 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
113019 for ac_func in _isinf
113021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113022 echo "$as_me:$LINENO: checking for $ac_func" >&5
113023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113024 if eval "test \"\${$as_ac_var+set}\" = set"; then
113025 echo $ECHO_N "(cached) $ECHO_C" >&6
113027 if test x$gcc_no_link = xyes; then
113028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113030 { (exit 1); exit 1; }; }
113032 cat >conftest.$ac_ext <<_ACEOF
113033 /* confdefs.h. */
113034 _ACEOF
113035 cat confdefs.h >>conftest.$ac_ext
113036 cat >>conftest.$ac_ext <<_ACEOF
113037 /* end confdefs.h. */
113038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113040 #define $ac_func innocuous_$ac_func
113042 /* System header to define __stub macros and hopefully few prototypes,
113043 which can conflict with char $ac_func (); below.
113044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113045 <limits.h> exists even on freestanding compilers. */
113047 #ifdef __STDC__
113048 # include <limits.h>
113049 #else
113050 # include <assert.h>
113051 #endif
113053 #undef $ac_func
113055 /* Override any gcc2 internal prototype to avoid an error. */
113056 #ifdef __cplusplus
113057 extern "C"
113059 #endif
113060 /* We use char because int might match the return type of a gcc2
113061 builtin and then its argument prototype would still apply. */
113062 char $ac_func ();
113063 /* The GNU C library defines this for functions which it implements
113064 to always fail with ENOSYS. Some functions are actually named
113065 something starting with __ and the normal name is an alias. */
113066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113067 choke me
113068 #else
113069 char (*f) () = $ac_func;
113070 #endif
113071 #ifdef __cplusplus
113073 #endif
113076 main ()
113078 return f != $ac_func;
113080 return 0;
113082 _ACEOF
113083 rm -f conftest.$ac_objext conftest$ac_exeext
113084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113085 (eval $ac_link) 2>conftest.er1
113086 ac_status=$?
113087 grep -v '^ *+' conftest.er1 >conftest.err
113088 rm -f conftest.er1
113089 cat conftest.err >&5
113090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113091 (exit $ac_status); } &&
113092 { ac_try='test -z "$ac_c_werror_flag"
113093 || test ! -s conftest.err'
113094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113095 (eval $ac_try) 2>&5
113096 ac_status=$?
113097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113098 (exit $ac_status); }; } &&
113099 { ac_try='test -s conftest$ac_exeext'
113100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113101 (eval $ac_try) 2>&5
113102 ac_status=$?
113103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113104 (exit $ac_status); }; }; then
113105 eval "$as_ac_var=yes"
113107 echo "$as_me: failed program was:" >&5
113108 sed 's/^/| /' conftest.$ac_ext >&5
113110 eval "$as_ac_var=no"
113112 rm -f conftest.err conftest.$ac_objext \
113113 conftest$ac_exeext conftest.$ac_ext
113115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113117 if test `eval echo '${'$as_ac_var'}'` = yes; then
113118 cat >>confdefs.h <<_ACEOF
113119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113120 _ACEOF
113133 echo "$as_me:$LINENO: checking for isnan declaration" >&5
113134 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
113135 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
113136 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
113137 echo $ECHO_N "(cached) $ECHO_C" >&6
113142 ac_ext=cc
113143 ac_cpp='$CXXCPP $CPPFLAGS'
113144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
113148 cat >conftest.$ac_ext <<_ACEOF
113149 /* confdefs.h. */
113150 _ACEOF
113151 cat confdefs.h >>conftest.$ac_ext
113152 cat >>conftest.$ac_ext <<_ACEOF
113153 /* end confdefs.h. */
113154 #include <math.h>
113155 #ifdef HAVE_IEEEFP_H
113156 #include <ieeefp.h>
113157 #endif
113160 main ()
113162 isnan(0);
113164 return 0;
113166 _ACEOF
113167 rm -f conftest.$ac_objext
113168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113169 (eval $ac_compile) 2>conftest.er1
113170 ac_status=$?
113171 grep -v '^ *+' conftest.er1 >conftest.err
113172 rm -f conftest.er1
113173 cat conftest.err >&5
113174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113175 (exit $ac_status); } &&
113176 { ac_try='test -z "$ac_cxx_werror_flag"
113177 || test ! -s conftest.err'
113178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113179 (eval $ac_try) 2>&5
113180 ac_status=$?
113181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113182 (exit $ac_status); }; } &&
113183 { ac_try='test -s conftest.$ac_objext'
113184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113185 (eval $ac_try) 2>&5
113186 ac_status=$?
113187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113188 (exit $ac_status); }; }; then
113189 glibcxx_cv_func_isnan_use=yes
113191 echo "$as_me: failed program was:" >&5
113192 sed 's/^/| /' conftest.$ac_ext >&5
113194 glibcxx_cv_func_isnan_use=no
113196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113197 ac_ext=c
113198 ac_cpp='$CPP $CPPFLAGS'
113199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
113207 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
113208 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
113210 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
113212 for ac_func in isnan
113214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113215 echo "$as_me:$LINENO: checking for $ac_func" >&5
113216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113217 if eval "test \"\${$as_ac_var+set}\" = set"; then
113218 echo $ECHO_N "(cached) $ECHO_C" >&6
113220 if test x$gcc_no_link = xyes; then
113221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113223 { (exit 1); exit 1; }; }
113225 cat >conftest.$ac_ext <<_ACEOF
113226 /* confdefs.h. */
113227 _ACEOF
113228 cat confdefs.h >>conftest.$ac_ext
113229 cat >>conftest.$ac_ext <<_ACEOF
113230 /* end confdefs.h. */
113231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113233 #define $ac_func innocuous_$ac_func
113235 /* System header to define __stub macros and hopefully few prototypes,
113236 which can conflict with char $ac_func (); below.
113237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113238 <limits.h> exists even on freestanding compilers. */
113240 #ifdef __STDC__
113241 # include <limits.h>
113242 #else
113243 # include <assert.h>
113244 #endif
113246 #undef $ac_func
113248 /* Override any gcc2 internal prototype to avoid an error. */
113249 #ifdef __cplusplus
113250 extern "C"
113252 #endif
113253 /* We use char because int might match the return type of a gcc2
113254 builtin and then its argument prototype would still apply. */
113255 char $ac_func ();
113256 /* The GNU C library defines this for functions which it implements
113257 to always fail with ENOSYS. Some functions are actually named
113258 something starting with __ and the normal name is an alias. */
113259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113260 choke me
113261 #else
113262 char (*f) () = $ac_func;
113263 #endif
113264 #ifdef __cplusplus
113266 #endif
113269 main ()
113271 return f != $ac_func;
113273 return 0;
113275 _ACEOF
113276 rm -f conftest.$ac_objext conftest$ac_exeext
113277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113278 (eval $ac_link) 2>conftest.er1
113279 ac_status=$?
113280 grep -v '^ *+' conftest.er1 >conftest.err
113281 rm -f conftest.er1
113282 cat conftest.err >&5
113283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113284 (exit $ac_status); } &&
113285 { ac_try='test -z "$ac_c_werror_flag"
113286 || test ! -s conftest.err'
113287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113288 (eval $ac_try) 2>&5
113289 ac_status=$?
113290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113291 (exit $ac_status); }; } &&
113292 { ac_try='test -s conftest$ac_exeext'
113293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113294 (eval $ac_try) 2>&5
113295 ac_status=$?
113296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113297 (exit $ac_status); }; }; then
113298 eval "$as_ac_var=yes"
113300 echo "$as_me: failed program was:" >&5
113301 sed 's/^/| /' conftest.$ac_ext >&5
113303 eval "$as_ac_var=no"
113305 rm -f conftest.err conftest.$ac_objext \
113306 conftest$ac_exeext conftest.$ac_ext
113308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113310 if test `eval echo '${'$as_ac_var'}'` = yes; then
113311 cat >>confdefs.h <<_ACEOF
113312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113313 _ACEOF
113320 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
113321 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
113322 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
113323 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
113324 echo $ECHO_N "(cached) $ECHO_C" >&6
113329 ac_ext=cc
113330 ac_cpp='$CXXCPP $CPPFLAGS'
113331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
113335 cat >conftest.$ac_ext <<_ACEOF
113336 /* confdefs.h. */
113337 _ACEOF
113338 cat confdefs.h >>conftest.$ac_ext
113339 cat >>conftest.$ac_ext <<_ACEOF
113340 /* end confdefs.h. */
113341 #include <math.h>
113342 #ifdef HAVE_IEEEFP_H
113343 #include <ieeefp.h>
113344 #endif
113347 main ()
113349 _isnan(0);
113351 return 0;
113353 _ACEOF
113354 rm -f conftest.$ac_objext
113355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113356 (eval $ac_compile) 2>conftest.er1
113357 ac_status=$?
113358 grep -v '^ *+' conftest.er1 >conftest.err
113359 rm -f conftest.er1
113360 cat conftest.err >&5
113361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113362 (exit $ac_status); } &&
113363 { ac_try='test -z "$ac_cxx_werror_flag"
113364 || test ! -s conftest.err'
113365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113366 (eval $ac_try) 2>&5
113367 ac_status=$?
113368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113369 (exit $ac_status); }; } &&
113370 { ac_try='test -s conftest.$ac_objext'
113371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113372 (eval $ac_try) 2>&5
113373 ac_status=$?
113374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113375 (exit $ac_status); }; }; then
113376 glibcxx_cv_func__isnan_use=yes
113378 echo "$as_me: failed program was:" >&5
113379 sed 's/^/| /' conftest.$ac_ext >&5
113381 glibcxx_cv_func__isnan_use=no
113383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113384 ac_ext=c
113385 ac_cpp='$CPP $CPPFLAGS'
113386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
113394 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
113395 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
113397 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
113399 for ac_func in _isnan
113401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113402 echo "$as_me:$LINENO: checking for $ac_func" >&5
113403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113404 if eval "test \"\${$as_ac_var+set}\" = set"; then
113405 echo $ECHO_N "(cached) $ECHO_C" >&6
113407 if test x$gcc_no_link = xyes; then
113408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113410 { (exit 1); exit 1; }; }
113412 cat >conftest.$ac_ext <<_ACEOF
113413 /* confdefs.h. */
113414 _ACEOF
113415 cat confdefs.h >>conftest.$ac_ext
113416 cat >>conftest.$ac_ext <<_ACEOF
113417 /* end confdefs.h. */
113418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113420 #define $ac_func innocuous_$ac_func
113422 /* System header to define __stub macros and hopefully few prototypes,
113423 which can conflict with char $ac_func (); below.
113424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113425 <limits.h> exists even on freestanding compilers. */
113427 #ifdef __STDC__
113428 # include <limits.h>
113429 #else
113430 # include <assert.h>
113431 #endif
113433 #undef $ac_func
113435 /* Override any gcc2 internal prototype to avoid an error. */
113436 #ifdef __cplusplus
113437 extern "C"
113439 #endif
113440 /* We use char because int might match the return type of a gcc2
113441 builtin and then its argument prototype would still apply. */
113442 char $ac_func ();
113443 /* The GNU C library defines this for functions which it implements
113444 to always fail with ENOSYS. Some functions are actually named
113445 something starting with __ and the normal name is an alias. */
113446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113447 choke me
113448 #else
113449 char (*f) () = $ac_func;
113450 #endif
113451 #ifdef __cplusplus
113453 #endif
113456 main ()
113458 return f != $ac_func;
113460 return 0;
113462 _ACEOF
113463 rm -f conftest.$ac_objext conftest$ac_exeext
113464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113465 (eval $ac_link) 2>conftest.er1
113466 ac_status=$?
113467 grep -v '^ *+' conftest.er1 >conftest.err
113468 rm -f conftest.er1
113469 cat conftest.err >&5
113470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113471 (exit $ac_status); } &&
113472 { ac_try='test -z "$ac_c_werror_flag"
113473 || test ! -s conftest.err'
113474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113475 (eval $ac_try) 2>&5
113476 ac_status=$?
113477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113478 (exit $ac_status); }; } &&
113479 { ac_try='test -s conftest$ac_exeext'
113480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113481 (eval $ac_try) 2>&5
113482 ac_status=$?
113483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113484 (exit $ac_status); }; }; then
113485 eval "$as_ac_var=yes"
113487 echo "$as_me: failed program was:" >&5
113488 sed 's/^/| /' conftest.$ac_ext >&5
113490 eval "$as_ac_var=no"
113492 rm -f conftest.err conftest.$ac_objext \
113493 conftest$ac_exeext conftest.$ac_ext
113495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113497 if test `eval echo '${'$as_ac_var'}'` = yes; then
113498 cat >>confdefs.h <<_ACEOF
113499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113500 _ACEOF
113513 echo "$as_me:$LINENO: checking for finite declaration" >&5
113514 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
113515 if test x${glibcxx_cv_func_finite_use+set} != xset; then
113516 if test "${glibcxx_cv_func_finite_use+set}" = set; then
113517 echo $ECHO_N "(cached) $ECHO_C" >&6
113522 ac_ext=cc
113523 ac_cpp='$CXXCPP $CPPFLAGS'
113524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
113528 cat >conftest.$ac_ext <<_ACEOF
113529 /* confdefs.h. */
113530 _ACEOF
113531 cat confdefs.h >>conftest.$ac_ext
113532 cat >>conftest.$ac_ext <<_ACEOF
113533 /* end confdefs.h. */
113534 #include <math.h>
113535 #ifdef HAVE_IEEEFP_H
113536 #include <ieeefp.h>
113537 #endif
113540 main ()
113542 finite(0);
113544 return 0;
113546 _ACEOF
113547 rm -f conftest.$ac_objext
113548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113549 (eval $ac_compile) 2>conftest.er1
113550 ac_status=$?
113551 grep -v '^ *+' conftest.er1 >conftest.err
113552 rm -f conftest.er1
113553 cat conftest.err >&5
113554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113555 (exit $ac_status); } &&
113556 { ac_try='test -z "$ac_cxx_werror_flag"
113557 || test ! -s conftest.err'
113558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113559 (eval $ac_try) 2>&5
113560 ac_status=$?
113561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113562 (exit $ac_status); }; } &&
113563 { ac_try='test -s conftest.$ac_objext'
113564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113565 (eval $ac_try) 2>&5
113566 ac_status=$?
113567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113568 (exit $ac_status); }; }; then
113569 glibcxx_cv_func_finite_use=yes
113571 echo "$as_me: failed program was:" >&5
113572 sed 's/^/| /' conftest.$ac_ext >&5
113574 glibcxx_cv_func_finite_use=no
113576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113577 ac_ext=c
113578 ac_cpp='$CPP $CPPFLAGS'
113579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
113587 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
113588 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
113590 if test x$glibcxx_cv_func_finite_use = x"yes"; then
113592 for ac_func in finite
113594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113595 echo "$as_me:$LINENO: checking for $ac_func" >&5
113596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113597 if eval "test \"\${$as_ac_var+set}\" = set"; then
113598 echo $ECHO_N "(cached) $ECHO_C" >&6
113600 if test x$gcc_no_link = xyes; then
113601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113603 { (exit 1); exit 1; }; }
113605 cat >conftest.$ac_ext <<_ACEOF
113606 /* confdefs.h. */
113607 _ACEOF
113608 cat confdefs.h >>conftest.$ac_ext
113609 cat >>conftest.$ac_ext <<_ACEOF
113610 /* end confdefs.h. */
113611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113613 #define $ac_func innocuous_$ac_func
113615 /* System header to define __stub macros and hopefully few prototypes,
113616 which can conflict with char $ac_func (); below.
113617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113618 <limits.h> exists even on freestanding compilers. */
113620 #ifdef __STDC__
113621 # include <limits.h>
113622 #else
113623 # include <assert.h>
113624 #endif
113626 #undef $ac_func
113628 /* Override any gcc2 internal prototype to avoid an error. */
113629 #ifdef __cplusplus
113630 extern "C"
113632 #endif
113633 /* We use char because int might match the return type of a gcc2
113634 builtin and then its argument prototype would still apply. */
113635 char $ac_func ();
113636 /* The GNU C library defines this for functions which it implements
113637 to always fail with ENOSYS. Some functions are actually named
113638 something starting with __ and the normal name is an alias. */
113639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113640 choke me
113641 #else
113642 char (*f) () = $ac_func;
113643 #endif
113644 #ifdef __cplusplus
113646 #endif
113649 main ()
113651 return f != $ac_func;
113653 return 0;
113655 _ACEOF
113656 rm -f conftest.$ac_objext conftest$ac_exeext
113657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113658 (eval $ac_link) 2>conftest.er1
113659 ac_status=$?
113660 grep -v '^ *+' conftest.er1 >conftest.err
113661 rm -f conftest.er1
113662 cat conftest.err >&5
113663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113664 (exit $ac_status); } &&
113665 { ac_try='test -z "$ac_c_werror_flag"
113666 || test ! -s conftest.err'
113667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113668 (eval $ac_try) 2>&5
113669 ac_status=$?
113670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113671 (exit $ac_status); }; } &&
113672 { ac_try='test -s conftest$ac_exeext'
113673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113674 (eval $ac_try) 2>&5
113675 ac_status=$?
113676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113677 (exit $ac_status); }; }; then
113678 eval "$as_ac_var=yes"
113680 echo "$as_me: failed program was:" >&5
113681 sed 's/^/| /' conftest.$ac_ext >&5
113683 eval "$as_ac_var=no"
113685 rm -f conftest.err conftest.$ac_objext \
113686 conftest$ac_exeext conftest.$ac_ext
113688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113690 if test `eval echo '${'$as_ac_var'}'` = yes; then
113691 cat >>confdefs.h <<_ACEOF
113692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113693 _ACEOF
113700 echo "$as_me:$LINENO: checking for _finite declaration" >&5
113701 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
113702 if test x${glibcxx_cv_func__finite_use+set} != xset; then
113703 if test "${glibcxx_cv_func__finite_use+set}" = set; then
113704 echo $ECHO_N "(cached) $ECHO_C" >&6
113709 ac_ext=cc
113710 ac_cpp='$CXXCPP $CPPFLAGS'
113711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
113715 cat >conftest.$ac_ext <<_ACEOF
113716 /* confdefs.h. */
113717 _ACEOF
113718 cat confdefs.h >>conftest.$ac_ext
113719 cat >>conftest.$ac_ext <<_ACEOF
113720 /* end confdefs.h. */
113721 #include <math.h>
113722 #ifdef HAVE_IEEEFP_H
113723 #include <ieeefp.h>
113724 #endif
113727 main ()
113729 _finite(0);
113731 return 0;
113733 _ACEOF
113734 rm -f conftest.$ac_objext
113735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113736 (eval $ac_compile) 2>conftest.er1
113737 ac_status=$?
113738 grep -v '^ *+' conftest.er1 >conftest.err
113739 rm -f conftest.er1
113740 cat conftest.err >&5
113741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113742 (exit $ac_status); } &&
113743 { ac_try='test -z "$ac_cxx_werror_flag"
113744 || test ! -s conftest.err'
113745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113746 (eval $ac_try) 2>&5
113747 ac_status=$?
113748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113749 (exit $ac_status); }; } &&
113750 { ac_try='test -s conftest.$ac_objext'
113751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113752 (eval $ac_try) 2>&5
113753 ac_status=$?
113754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113755 (exit $ac_status); }; }; then
113756 glibcxx_cv_func__finite_use=yes
113758 echo "$as_me: failed program was:" >&5
113759 sed 's/^/| /' conftest.$ac_ext >&5
113761 glibcxx_cv_func__finite_use=no
113763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113764 ac_ext=c
113765 ac_cpp='$CPP $CPPFLAGS'
113766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
113774 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
113775 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
113777 if test x$glibcxx_cv_func__finite_use = x"yes"; then
113779 for ac_func in _finite
113781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113782 echo "$as_me:$LINENO: checking for $ac_func" >&5
113783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113784 if eval "test \"\${$as_ac_var+set}\" = set"; then
113785 echo $ECHO_N "(cached) $ECHO_C" >&6
113787 if test x$gcc_no_link = xyes; then
113788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113790 { (exit 1); exit 1; }; }
113792 cat >conftest.$ac_ext <<_ACEOF
113793 /* confdefs.h. */
113794 _ACEOF
113795 cat confdefs.h >>conftest.$ac_ext
113796 cat >>conftest.$ac_ext <<_ACEOF
113797 /* end confdefs.h. */
113798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113800 #define $ac_func innocuous_$ac_func
113802 /* System header to define __stub macros and hopefully few prototypes,
113803 which can conflict with char $ac_func (); below.
113804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113805 <limits.h> exists even on freestanding compilers. */
113807 #ifdef __STDC__
113808 # include <limits.h>
113809 #else
113810 # include <assert.h>
113811 #endif
113813 #undef $ac_func
113815 /* Override any gcc2 internal prototype to avoid an error. */
113816 #ifdef __cplusplus
113817 extern "C"
113819 #endif
113820 /* We use char because int might match the return type of a gcc2
113821 builtin and then its argument prototype would still apply. */
113822 char $ac_func ();
113823 /* The GNU C library defines this for functions which it implements
113824 to always fail with ENOSYS. Some functions are actually named
113825 something starting with __ and the normal name is an alias. */
113826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113827 choke me
113828 #else
113829 char (*f) () = $ac_func;
113830 #endif
113831 #ifdef __cplusplus
113833 #endif
113836 main ()
113838 return f != $ac_func;
113840 return 0;
113842 _ACEOF
113843 rm -f conftest.$ac_objext conftest$ac_exeext
113844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113845 (eval $ac_link) 2>conftest.er1
113846 ac_status=$?
113847 grep -v '^ *+' conftest.er1 >conftest.err
113848 rm -f conftest.er1
113849 cat conftest.err >&5
113850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113851 (exit $ac_status); } &&
113852 { ac_try='test -z "$ac_c_werror_flag"
113853 || test ! -s conftest.err'
113854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113855 (eval $ac_try) 2>&5
113856 ac_status=$?
113857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113858 (exit $ac_status); }; } &&
113859 { ac_try='test -s conftest$ac_exeext'
113860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113861 (eval $ac_try) 2>&5
113862 ac_status=$?
113863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113864 (exit $ac_status); }; }; then
113865 eval "$as_ac_var=yes"
113867 echo "$as_me: failed program was:" >&5
113868 sed 's/^/| /' conftest.$ac_ext >&5
113870 eval "$as_ac_var=no"
113872 rm -f conftest.err conftest.$ac_objext \
113873 conftest$ac_exeext conftest.$ac_ext
113875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113877 if test `eval echo '${'$as_ac_var'}'` = yes; then
113878 cat >>confdefs.h <<_ACEOF
113879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113880 _ACEOF
113893 echo "$as_me:$LINENO: checking for sincos declaration" >&5
113894 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
113895 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
113896 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
113897 echo $ECHO_N "(cached) $ECHO_C" >&6
113902 ac_ext=cc
113903 ac_cpp='$CXXCPP $CPPFLAGS'
113904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
113908 cat >conftest.$ac_ext <<_ACEOF
113909 /* confdefs.h. */
113910 _ACEOF
113911 cat confdefs.h >>conftest.$ac_ext
113912 cat >>conftest.$ac_ext <<_ACEOF
113913 /* end confdefs.h. */
113914 #include <math.h>
113916 main ()
113918 sincos(0, 0, 0);
113920 return 0;
113922 _ACEOF
113923 rm -f conftest.$ac_objext
113924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113925 (eval $ac_compile) 2>conftest.er1
113926 ac_status=$?
113927 grep -v '^ *+' conftest.er1 >conftest.err
113928 rm -f conftest.er1
113929 cat conftest.err >&5
113930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113931 (exit $ac_status); } &&
113932 { ac_try='test -z "$ac_cxx_werror_flag"
113933 || test ! -s conftest.err'
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); }; } &&
113939 { ac_try='test -s conftest.$ac_objext'
113940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113941 (eval $ac_try) 2>&5
113942 ac_status=$?
113943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113944 (exit $ac_status); }; }; then
113945 glibcxx_cv_func_sincos_use=yes
113947 echo "$as_me: failed program was:" >&5
113948 sed 's/^/| /' conftest.$ac_ext >&5
113950 glibcxx_cv_func_sincos_use=no
113952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113953 ac_ext=c
113954 ac_cpp='$CPP $CPPFLAGS'
113955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
113963 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
113964 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
113966 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
113968 for ac_func in sincos
113970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113971 echo "$as_me:$LINENO: checking for $ac_func" >&5
113972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113973 if eval "test \"\${$as_ac_var+set}\" = set"; then
113974 echo $ECHO_N "(cached) $ECHO_C" >&6
113976 if test x$gcc_no_link = xyes; then
113977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113979 { (exit 1); exit 1; }; }
113981 cat >conftest.$ac_ext <<_ACEOF
113982 /* confdefs.h. */
113983 _ACEOF
113984 cat confdefs.h >>conftest.$ac_ext
113985 cat >>conftest.$ac_ext <<_ACEOF
113986 /* end confdefs.h. */
113987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113989 #define $ac_func innocuous_$ac_func
113991 /* System header to define __stub macros and hopefully few prototypes,
113992 which can conflict with char $ac_func (); below.
113993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113994 <limits.h> exists even on freestanding compilers. */
113996 #ifdef __STDC__
113997 # include <limits.h>
113998 #else
113999 # include <assert.h>
114000 #endif
114002 #undef $ac_func
114004 /* Override any gcc2 internal prototype to avoid an error. */
114005 #ifdef __cplusplus
114006 extern "C"
114008 #endif
114009 /* We use char because int might match the return type of a gcc2
114010 builtin and then its argument prototype would still apply. */
114011 char $ac_func ();
114012 /* The GNU C library defines this for functions which it implements
114013 to always fail with ENOSYS. Some functions are actually named
114014 something starting with __ and the normal name is an alias. */
114015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114016 choke me
114017 #else
114018 char (*f) () = $ac_func;
114019 #endif
114020 #ifdef __cplusplus
114022 #endif
114025 main ()
114027 return f != $ac_func;
114029 return 0;
114031 _ACEOF
114032 rm -f conftest.$ac_objext conftest$ac_exeext
114033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114034 (eval $ac_link) 2>conftest.er1
114035 ac_status=$?
114036 grep -v '^ *+' conftest.er1 >conftest.err
114037 rm -f conftest.er1
114038 cat conftest.err >&5
114039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114040 (exit $ac_status); } &&
114041 { ac_try='test -z "$ac_c_werror_flag"
114042 || test ! -s conftest.err'
114043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114044 (eval $ac_try) 2>&5
114045 ac_status=$?
114046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114047 (exit $ac_status); }; } &&
114048 { ac_try='test -s conftest$ac_exeext'
114049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114050 (eval $ac_try) 2>&5
114051 ac_status=$?
114052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114053 (exit $ac_status); }; }; then
114054 eval "$as_ac_var=yes"
114056 echo "$as_me: failed program was:" >&5
114057 sed 's/^/| /' conftest.$ac_ext >&5
114059 eval "$as_ac_var=no"
114061 rm -f conftest.err conftest.$ac_objext \
114062 conftest$ac_exeext conftest.$ac_ext
114064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114066 if test `eval echo '${'$as_ac_var'}'` = yes; then
114067 cat >>confdefs.h <<_ACEOF
114068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114069 _ACEOF
114076 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
114077 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
114078 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
114079 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
114080 echo $ECHO_N "(cached) $ECHO_C" >&6
114085 ac_ext=cc
114086 ac_cpp='$CXXCPP $CPPFLAGS'
114087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
114091 cat >conftest.$ac_ext <<_ACEOF
114092 /* confdefs.h. */
114093 _ACEOF
114094 cat confdefs.h >>conftest.$ac_ext
114095 cat >>conftest.$ac_ext <<_ACEOF
114096 /* end confdefs.h. */
114097 #include <math.h>
114099 main ()
114101 _sincos(0, 0, 0);
114103 return 0;
114105 _ACEOF
114106 rm -f conftest.$ac_objext
114107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114108 (eval $ac_compile) 2>conftest.er1
114109 ac_status=$?
114110 grep -v '^ *+' conftest.er1 >conftest.err
114111 rm -f conftest.er1
114112 cat conftest.err >&5
114113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114114 (exit $ac_status); } &&
114115 { ac_try='test -z "$ac_cxx_werror_flag"
114116 || test ! -s conftest.err'
114117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114118 (eval $ac_try) 2>&5
114119 ac_status=$?
114120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114121 (exit $ac_status); }; } &&
114122 { ac_try='test -s conftest.$ac_objext'
114123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114124 (eval $ac_try) 2>&5
114125 ac_status=$?
114126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114127 (exit $ac_status); }; }; then
114128 glibcxx_cv_func__sincos_use=yes
114130 echo "$as_me: failed program was:" >&5
114131 sed 's/^/| /' conftest.$ac_ext >&5
114133 glibcxx_cv_func__sincos_use=no
114135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114136 ac_ext=c
114137 ac_cpp='$CPP $CPPFLAGS'
114138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
114146 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
114147 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
114149 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
114151 for ac_func in _sincos
114153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114154 echo "$as_me:$LINENO: checking for $ac_func" >&5
114155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114156 if eval "test \"\${$as_ac_var+set}\" = set"; then
114157 echo $ECHO_N "(cached) $ECHO_C" >&6
114159 if test x$gcc_no_link = xyes; then
114160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114162 { (exit 1); exit 1; }; }
114164 cat >conftest.$ac_ext <<_ACEOF
114165 /* confdefs.h. */
114166 _ACEOF
114167 cat confdefs.h >>conftest.$ac_ext
114168 cat >>conftest.$ac_ext <<_ACEOF
114169 /* end confdefs.h. */
114170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114172 #define $ac_func innocuous_$ac_func
114174 /* System header to define __stub macros and hopefully few prototypes,
114175 which can conflict with char $ac_func (); below.
114176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114177 <limits.h> exists even on freestanding compilers. */
114179 #ifdef __STDC__
114180 # include <limits.h>
114181 #else
114182 # include <assert.h>
114183 #endif
114185 #undef $ac_func
114187 /* Override any gcc2 internal prototype to avoid an error. */
114188 #ifdef __cplusplus
114189 extern "C"
114191 #endif
114192 /* We use char because int might match the return type of a gcc2
114193 builtin and then its argument prototype would still apply. */
114194 char $ac_func ();
114195 /* The GNU C library defines this for functions which it implements
114196 to always fail with ENOSYS. Some functions are actually named
114197 something starting with __ and the normal name is an alias. */
114198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114199 choke me
114200 #else
114201 char (*f) () = $ac_func;
114202 #endif
114203 #ifdef __cplusplus
114205 #endif
114208 main ()
114210 return f != $ac_func;
114212 return 0;
114214 _ACEOF
114215 rm -f conftest.$ac_objext conftest$ac_exeext
114216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114217 (eval $ac_link) 2>conftest.er1
114218 ac_status=$?
114219 grep -v '^ *+' conftest.er1 >conftest.err
114220 rm -f conftest.er1
114221 cat conftest.err >&5
114222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114223 (exit $ac_status); } &&
114224 { ac_try='test -z "$ac_c_werror_flag"
114225 || test ! -s conftest.err'
114226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114227 (eval $ac_try) 2>&5
114228 ac_status=$?
114229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114230 (exit $ac_status); }; } &&
114231 { ac_try='test -s conftest$ac_exeext'
114232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114233 (eval $ac_try) 2>&5
114234 ac_status=$?
114235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114236 (exit $ac_status); }; }; then
114237 eval "$as_ac_var=yes"
114239 echo "$as_me: failed program was:" >&5
114240 sed 's/^/| /' conftest.$ac_ext >&5
114242 eval "$as_ac_var=no"
114244 rm -f conftest.err conftest.$ac_objext \
114245 conftest$ac_exeext conftest.$ac_ext
114247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114249 if test `eval echo '${'$as_ac_var'}'` = yes; then
114250 cat >>confdefs.h <<_ACEOF
114251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114252 _ACEOF
114265 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
114266 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
114267 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
114268 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
114269 echo $ECHO_N "(cached) $ECHO_C" >&6
114274 ac_ext=cc
114275 ac_cpp='$CXXCPP $CPPFLAGS'
114276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
114280 cat >conftest.$ac_ext <<_ACEOF
114281 /* confdefs.h. */
114282 _ACEOF
114283 cat confdefs.h >>conftest.$ac_ext
114284 cat >>conftest.$ac_ext <<_ACEOF
114285 /* end confdefs.h. */
114286 #include <math.h>
114287 #ifdef HAVE_IEEEFP_H
114288 #include <ieeefp.h>
114289 #endif
114292 main ()
114294 fpclass(0);
114296 return 0;
114298 _ACEOF
114299 rm -f conftest.$ac_objext
114300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114301 (eval $ac_compile) 2>conftest.er1
114302 ac_status=$?
114303 grep -v '^ *+' conftest.er1 >conftest.err
114304 rm -f conftest.er1
114305 cat conftest.err >&5
114306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114307 (exit $ac_status); } &&
114308 { ac_try='test -z "$ac_cxx_werror_flag"
114309 || test ! -s conftest.err'
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); }; } &&
114315 { ac_try='test -s conftest.$ac_objext'
114316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114317 (eval $ac_try) 2>&5
114318 ac_status=$?
114319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114320 (exit $ac_status); }; }; then
114321 glibcxx_cv_func_fpclass_use=yes
114323 echo "$as_me: failed program was:" >&5
114324 sed 's/^/| /' conftest.$ac_ext >&5
114326 glibcxx_cv_func_fpclass_use=no
114328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114329 ac_ext=c
114330 ac_cpp='$CPP $CPPFLAGS'
114331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
114339 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
114340 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
114342 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
114344 for ac_func in fpclass
114346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114347 echo "$as_me:$LINENO: checking for $ac_func" >&5
114348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114349 if eval "test \"\${$as_ac_var+set}\" = set"; then
114350 echo $ECHO_N "(cached) $ECHO_C" >&6
114352 if test x$gcc_no_link = xyes; then
114353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114355 { (exit 1); exit 1; }; }
114357 cat >conftest.$ac_ext <<_ACEOF
114358 /* confdefs.h. */
114359 _ACEOF
114360 cat confdefs.h >>conftest.$ac_ext
114361 cat >>conftest.$ac_ext <<_ACEOF
114362 /* end confdefs.h. */
114363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114365 #define $ac_func innocuous_$ac_func
114367 /* System header to define __stub macros and hopefully few prototypes,
114368 which can conflict with char $ac_func (); below.
114369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114370 <limits.h> exists even on freestanding compilers. */
114372 #ifdef __STDC__
114373 # include <limits.h>
114374 #else
114375 # include <assert.h>
114376 #endif
114378 #undef $ac_func
114380 /* Override any gcc2 internal prototype to avoid an error. */
114381 #ifdef __cplusplus
114382 extern "C"
114384 #endif
114385 /* We use char because int might match the return type of a gcc2
114386 builtin and then its argument prototype would still apply. */
114387 char $ac_func ();
114388 /* The GNU C library defines this for functions which it implements
114389 to always fail with ENOSYS. Some functions are actually named
114390 something starting with __ and the normal name is an alias. */
114391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114392 choke me
114393 #else
114394 char (*f) () = $ac_func;
114395 #endif
114396 #ifdef __cplusplus
114398 #endif
114401 main ()
114403 return f != $ac_func;
114405 return 0;
114407 _ACEOF
114408 rm -f conftest.$ac_objext conftest$ac_exeext
114409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114410 (eval $ac_link) 2>conftest.er1
114411 ac_status=$?
114412 grep -v '^ *+' conftest.er1 >conftest.err
114413 rm -f conftest.er1
114414 cat conftest.err >&5
114415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114416 (exit $ac_status); } &&
114417 { ac_try='test -z "$ac_c_werror_flag"
114418 || test ! -s conftest.err'
114419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114420 (eval $ac_try) 2>&5
114421 ac_status=$?
114422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114423 (exit $ac_status); }; } &&
114424 { ac_try='test -s conftest$ac_exeext'
114425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114426 (eval $ac_try) 2>&5
114427 ac_status=$?
114428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114429 (exit $ac_status); }; }; then
114430 eval "$as_ac_var=yes"
114432 echo "$as_me: failed program was:" >&5
114433 sed 's/^/| /' conftest.$ac_ext >&5
114435 eval "$as_ac_var=no"
114437 rm -f conftest.err conftest.$ac_objext \
114438 conftest$ac_exeext conftest.$ac_ext
114440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114442 if test `eval echo '${'$as_ac_var'}'` = yes; then
114443 cat >>confdefs.h <<_ACEOF
114444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114445 _ACEOF
114452 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
114453 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
114454 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
114455 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
114456 echo $ECHO_N "(cached) $ECHO_C" >&6
114461 ac_ext=cc
114462 ac_cpp='$CXXCPP $CPPFLAGS'
114463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
114467 cat >conftest.$ac_ext <<_ACEOF
114468 /* confdefs.h. */
114469 _ACEOF
114470 cat confdefs.h >>conftest.$ac_ext
114471 cat >>conftest.$ac_ext <<_ACEOF
114472 /* end confdefs.h. */
114473 #include <math.h>
114474 #ifdef HAVE_IEEEFP_H
114475 #include <ieeefp.h>
114476 #endif
114479 main ()
114481 _fpclass(0);
114483 return 0;
114485 _ACEOF
114486 rm -f conftest.$ac_objext
114487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114488 (eval $ac_compile) 2>conftest.er1
114489 ac_status=$?
114490 grep -v '^ *+' conftest.er1 >conftest.err
114491 rm -f conftest.er1
114492 cat conftest.err >&5
114493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114494 (exit $ac_status); } &&
114495 { ac_try='test -z "$ac_cxx_werror_flag"
114496 || test ! -s conftest.err'
114497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114498 (eval $ac_try) 2>&5
114499 ac_status=$?
114500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114501 (exit $ac_status); }; } &&
114502 { ac_try='test -s conftest.$ac_objext'
114503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114504 (eval $ac_try) 2>&5
114505 ac_status=$?
114506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114507 (exit $ac_status); }; }; then
114508 glibcxx_cv_func__fpclass_use=yes
114510 echo "$as_me: failed program was:" >&5
114511 sed 's/^/| /' conftest.$ac_ext >&5
114513 glibcxx_cv_func__fpclass_use=no
114515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114516 ac_ext=c
114517 ac_cpp='$CPP $CPPFLAGS'
114518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
114526 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
114527 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
114529 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
114531 for ac_func in _fpclass
114533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114534 echo "$as_me:$LINENO: checking for $ac_func" >&5
114535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114536 if eval "test \"\${$as_ac_var+set}\" = set"; then
114537 echo $ECHO_N "(cached) $ECHO_C" >&6
114539 if test x$gcc_no_link = xyes; then
114540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114542 { (exit 1); exit 1; }; }
114544 cat >conftest.$ac_ext <<_ACEOF
114545 /* confdefs.h. */
114546 _ACEOF
114547 cat confdefs.h >>conftest.$ac_ext
114548 cat >>conftest.$ac_ext <<_ACEOF
114549 /* end confdefs.h. */
114550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114552 #define $ac_func innocuous_$ac_func
114554 /* System header to define __stub macros and hopefully few prototypes,
114555 which can conflict with char $ac_func (); below.
114556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114557 <limits.h> exists even on freestanding compilers. */
114559 #ifdef __STDC__
114560 # include <limits.h>
114561 #else
114562 # include <assert.h>
114563 #endif
114565 #undef $ac_func
114567 /* Override any gcc2 internal prototype to avoid an error. */
114568 #ifdef __cplusplus
114569 extern "C"
114571 #endif
114572 /* We use char because int might match the return type of a gcc2
114573 builtin and then its argument prototype would still apply. */
114574 char $ac_func ();
114575 /* The GNU C library defines this for functions which it implements
114576 to always fail with ENOSYS. Some functions are actually named
114577 something starting with __ and the normal name is an alias. */
114578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114579 choke me
114580 #else
114581 char (*f) () = $ac_func;
114582 #endif
114583 #ifdef __cplusplus
114585 #endif
114588 main ()
114590 return f != $ac_func;
114592 return 0;
114594 _ACEOF
114595 rm -f conftest.$ac_objext conftest$ac_exeext
114596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114597 (eval $ac_link) 2>conftest.er1
114598 ac_status=$?
114599 grep -v '^ *+' conftest.er1 >conftest.err
114600 rm -f conftest.er1
114601 cat conftest.err >&5
114602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114603 (exit $ac_status); } &&
114604 { ac_try='test -z "$ac_c_werror_flag"
114605 || test ! -s conftest.err'
114606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114607 (eval $ac_try) 2>&5
114608 ac_status=$?
114609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114610 (exit $ac_status); }; } &&
114611 { ac_try='test -s conftest$ac_exeext'
114612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114613 (eval $ac_try) 2>&5
114614 ac_status=$?
114615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114616 (exit $ac_status); }; }; then
114617 eval "$as_ac_var=yes"
114619 echo "$as_me: failed program was:" >&5
114620 sed 's/^/| /' conftest.$ac_ext >&5
114622 eval "$as_ac_var=no"
114624 rm -f conftest.err conftest.$ac_objext \
114625 conftest$ac_exeext conftest.$ac_ext
114627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114629 if test `eval echo '${'$as_ac_var'}'` = yes; then
114630 cat >>confdefs.h <<_ACEOF
114631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114632 _ACEOF
114645 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
114646 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
114647 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
114648 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
114649 echo $ECHO_N "(cached) $ECHO_C" >&6
114654 ac_ext=cc
114655 ac_cpp='$CXXCPP $CPPFLAGS'
114656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
114660 cat >conftest.$ac_ext <<_ACEOF
114661 /* confdefs.h. */
114662 _ACEOF
114663 cat confdefs.h >>conftest.$ac_ext
114664 cat >>conftest.$ac_ext <<_ACEOF
114665 /* end confdefs.h. */
114666 #include <math.h>
114667 #ifdef HAVE_IEEEFP_H
114668 #include <ieeefp.h>
114669 #endif
114672 main ()
114674 qfpclass(0);
114676 return 0;
114678 _ACEOF
114679 rm -f conftest.$ac_objext
114680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114681 (eval $ac_compile) 2>conftest.er1
114682 ac_status=$?
114683 grep -v '^ *+' conftest.er1 >conftest.err
114684 rm -f conftest.er1
114685 cat conftest.err >&5
114686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114687 (exit $ac_status); } &&
114688 { ac_try='test -z "$ac_cxx_werror_flag"
114689 || test ! -s conftest.err'
114690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114691 (eval $ac_try) 2>&5
114692 ac_status=$?
114693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114694 (exit $ac_status); }; } &&
114695 { ac_try='test -s conftest.$ac_objext'
114696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114697 (eval $ac_try) 2>&5
114698 ac_status=$?
114699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114700 (exit $ac_status); }; }; then
114701 glibcxx_cv_func_qfpclass_use=yes
114703 echo "$as_me: failed program was:" >&5
114704 sed 's/^/| /' conftest.$ac_ext >&5
114706 glibcxx_cv_func_qfpclass_use=no
114708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114709 ac_ext=c
114710 ac_cpp='$CPP $CPPFLAGS'
114711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
114719 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
114720 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
114722 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
114724 for ac_func in qfpclass
114726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114727 echo "$as_me:$LINENO: checking for $ac_func" >&5
114728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114729 if eval "test \"\${$as_ac_var+set}\" = set"; then
114730 echo $ECHO_N "(cached) $ECHO_C" >&6
114732 if test x$gcc_no_link = xyes; then
114733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114735 { (exit 1); exit 1; }; }
114737 cat >conftest.$ac_ext <<_ACEOF
114738 /* confdefs.h. */
114739 _ACEOF
114740 cat confdefs.h >>conftest.$ac_ext
114741 cat >>conftest.$ac_ext <<_ACEOF
114742 /* end confdefs.h. */
114743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114745 #define $ac_func innocuous_$ac_func
114747 /* System header to define __stub macros and hopefully few prototypes,
114748 which can conflict with char $ac_func (); below.
114749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114750 <limits.h> exists even on freestanding compilers. */
114752 #ifdef __STDC__
114753 # include <limits.h>
114754 #else
114755 # include <assert.h>
114756 #endif
114758 #undef $ac_func
114760 /* Override any gcc2 internal prototype to avoid an error. */
114761 #ifdef __cplusplus
114762 extern "C"
114764 #endif
114765 /* We use char because int might match the return type of a gcc2
114766 builtin and then its argument prototype would still apply. */
114767 char $ac_func ();
114768 /* The GNU C library defines this for functions which it implements
114769 to always fail with ENOSYS. Some functions are actually named
114770 something starting with __ and the normal name is an alias. */
114771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114772 choke me
114773 #else
114774 char (*f) () = $ac_func;
114775 #endif
114776 #ifdef __cplusplus
114778 #endif
114781 main ()
114783 return f != $ac_func;
114785 return 0;
114787 _ACEOF
114788 rm -f conftest.$ac_objext conftest$ac_exeext
114789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114790 (eval $ac_link) 2>conftest.er1
114791 ac_status=$?
114792 grep -v '^ *+' conftest.er1 >conftest.err
114793 rm -f conftest.er1
114794 cat conftest.err >&5
114795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114796 (exit $ac_status); } &&
114797 { ac_try='test -z "$ac_c_werror_flag"
114798 || test ! -s conftest.err'
114799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114800 (eval $ac_try) 2>&5
114801 ac_status=$?
114802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114803 (exit $ac_status); }; } &&
114804 { ac_try='test -s conftest$ac_exeext'
114805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114806 (eval $ac_try) 2>&5
114807 ac_status=$?
114808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114809 (exit $ac_status); }; }; then
114810 eval "$as_ac_var=yes"
114812 echo "$as_me: failed program was:" >&5
114813 sed 's/^/| /' conftest.$ac_ext >&5
114815 eval "$as_ac_var=no"
114817 rm -f conftest.err conftest.$ac_objext \
114818 conftest$ac_exeext conftest.$ac_ext
114820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114822 if test `eval echo '${'$as_ac_var'}'` = yes; then
114823 cat >>confdefs.h <<_ACEOF
114824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114825 _ACEOF
114832 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
114833 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
114834 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
114835 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
114836 echo $ECHO_N "(cached) $ECHO_C" >&6
114841 ac_ext=cc
114842 ac_cpp='$CXXCPP $CPPFLAGS'
114843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
114847 cat >conftest.$ac_ext <<_ACEOF
114848 /* confdefs.h. */
114849 _ACEOF
114850 cat confdefs.h >>conftest.$ac_ext
114851 cat >>conftest.$ac_ext <<_ACEOF
114852 /* end confdefs.h. */
114853 #include <math.h>
114854 #ifdef HAVE_IEEEFP_H
114855 #include <ieeefp.h>
114856 #endif
114859 main ()
114861 _qfpclass(0);
114863 return 0;
114865 _ACEOF
114866 rm -f conftest.$ac_objext
114867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114868 (eval $ac_compile) 2>conftest.er1
114869 ac_status=$?
114870 grep -v '^ *+' conftest.er1 >conftest.err
114871 rm -f conftest.er1
114872 cat conftest.err >&5
114873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114874 (exit $ac_status); } &&
114875 { ac_try='test -z "$ac_cxx_werror_flag"
114876 || test ! -s conftest.err'
114877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114878 (eval $ac_try) 2>&5
114879 ac_status=$?
114880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114881 (exit $ac_status); }; } &&
114882 { ac_try='test -s conftest.$ac_objext'
114883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114884 (eval $ac_try) 2>&5
114885 ac_status=$?
114886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114887 (exit $ac_status); }; }; then
114888 glibcxx_cv_func__qfpclass_use=yes
114890 echo "$as_me: failed program was:" >&5
114891 sed 's/^/| /' conftest.$ac_ext >&5
114893 glibcxx_cv_func__qfpclass_use=no
114895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114896 ac_ext=c
114897 ac_cpp='$CPP $CPPFLAGS'
114898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
114906 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
114907 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
114909 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
114911 for ac_func in _qfpclass
114913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114914 echo "$as_me:$LINENO: checking for $ac_func" >&5
114915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114916 if eval "test \"\${$as_ac_var+set}\" = set"; then
114917 echo $ECHO_N "(cached) $ECHO_C" >&6
114919 if test x$gcc_no_link = xyes; then
114920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114922 { (exit 1); exit 1; }; }
114924 cat >conftest.$ac_ext <<_ACEOF
114925 /* confdefs.h. */
114926 _ACEOF
114927 cat confdefs.h >>conftest.$ac_ext
114928 cat >>conftest.$ac_ext <<_ACEOF
114929 /* end confdefs.h. */
114930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114932 #define $ac_func innocuous_$ac_func
114934 /* System header to define __stub macros and hopefully few prototypes,
114935 which can conflict with char $ac_func (); below.
114936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114937 <limits.h> exists even on freestanding compilers. */
114939 #ifdef __STDC__
114940 # include <limits.h>
114941 #else
114942 # include <assert.h>
114943 #endif
114945 #undef $ac_func
114947 /* Override any gcc2 internal prototype to avoid an error. */
114948 #ifdef __cplusplus
114949 extern "C"
114951 #endif
114952 /* We use char because int might match the return type of a gcc2
114953 builtin and then its argument prototype would still apply. */
114954 char $ac_func ();
114955 /* The GNU C library defines this for functions which it implements
114956 to always fail with ENOSYS. Some functions are actually named
114957 something starting with __ and the normal name is an alias. */
114958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114959 choke me
114960 #else
114961 char (*f) () = $ac_func;
114962 #endif
114963 #ifdef __cplusplus
114965 #endif
114968 main ()
114970 return f != $ac_func;
114972 return 0;
114974 _ACEOF
114975 rm -f conftest.$ac_objext conftest$ac_exeext
114976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114977 (eval $ac_link) 2>conftest.er1
114978 ac_status=$?
114979 grep -v '^ *+' conftest.er1 >conftest.err
114980 rm -f conftest.er1
114981 cat conftest.err >&5
114982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114983 (exit $ac_status); } &&
114984 { ac_try='test -z "$ac_c_werror_flag"
114985 || test ! -s conftest.err'
114986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114987 (eval $ac_try) 2>&5
114988 ac_status=$?
114989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114990 (exit $ac_status); }; } &&
114991 { ac_try='test -s conftest$ac_exeext'
114992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114993 (eval $ac_try) 2>&5
114994 ac_status=$?
114995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114996 (exit $ac_status); }; }; then
114997 eval "$as_ac_var=yes"
114999 echo "$as_me: failed program was:" >&5
115000 sed 's/^/| /' conftest.$ac_ext >&5
115002 eval "$as_ac_var=no"
115004 rm -f conftest.err conftest.$ac_objext \
115005 conftest$ac_exeext conftest.$ac_ext
115007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115009 if test `eval echo '${'$as_ac_var'}'` = yes; then
115010 cat >>confdefs.h <<_ACEOF
115011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115012 _ACEOF
115025 echo "$as_me:$LINENO: checking for hypot declaration" >&5
115026 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
115027 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
115028 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
115029 echo $ECHO_N "(cached) $ECHO_C" >&6
115034 ac_ext=cc
115035 ac_cpp='$CXXCPP $CPPFLAGS'
115036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
115040 cat >conftest.$ac_ext <<_ACEOF
115041 /* confdefs.h. */
115042 _ACEOF
115043 cat confdefs.h >>conftest.$ac_ext
115044 cat >>conftest.$ac_ext <<_ACEOF
115045 /* end confdefs.h. */
115046 #include <math.h>
115048 main ()
115050 hypot(0, 0);
115052 return 0;
115054 _ACEOF
115055 rm -f conftest.$ac_objext
115056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115057 (eval $ac_compile) 2>conftest.er1
115058 ac_status=$?
115059 grep -v '^ *+' conftest.er1 >conftest.err
115060 rm -f conftest.er1
115061 cat conftest.err >&5
115062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115063 (exit $ac_status); } &&
115064 { ac_try='test -z "$ac_cxx_werror_flag"
115065 || test ! -s conftest.err'
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); }; } &&
115071 { ac_try='test -s conftest.$ac_objext'
115072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115073 (eval $ac_try) 2>&5
115074 ac_status=$?
115075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115076 (exit $ac_status); }; }; then
115077 glibcxx_cv_func_hypot_use=yes
115079 echo "$as_me: failed program was:" >&5
115080 sed 's/^/| /' conftest.$ac_ext >&5
115082 glibcxx_cv_func_hypot_use=no
115084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115085 ac_ext=c
115086 ac_cpp='$CPP $CPPFLAGS'
115087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
115095 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
115096 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
115098 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
115100 for ac_func in hypot
115102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115103 echo "$as_me:$LINENO: checking for $ac_func" >&5
115104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115105 if eval "test \"\${$as_ac_var+set}\" = set"; then
115106 echo $ECHO_N "(cached) $ECHO_C" >&6
115108 if test x$gcc_no_link = xyes; then
115109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115111 { (exit 1); exit 1; }; }
115113 cat >conftest.$ac_ext <<_ACEOF
115114 /* confdefs.h. */
115115 _ACEOF
115116 cat confdefs.h >>conftest.$ac_ext
115117 cat >>conftest.$ac_ext <<_ACEOF
115118 /* end confdefs.h. */
115119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115121 #define $ac_func innocuous_$ac_func
115123 /* System header to define __stub macros and hopefully few prototypes,
115124 which can conflict with char $ac_func (); below.
115125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115126 <limits.h> exists even on freestanding compilers. */
115128 #ifdef __STDC__
115129 # include <limits.h>
115130 #else
115131 # include <assert.h>
115132 #endif
115134 #undef $ac_func
115136 /* Override any gcc2 internal prototype to avoid an error. */
115137 #ifdef __cplusplus
115138 extern "C"
115140 #endif
115141 /* We use char because int might match the return type of a gcc2
115142 builtin and then its argument prototype would still apply. */
115143 char $ac_func ();
115144 /* The GNU C library defines this for functions which it implements
115145 to always fail with ENOSYS. Some functions are actually named
115146 something starting with __ and the normal name is an alias. */
115147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115148 choke me
115149 #else
115150 char (*f) () = $ac_func;
115151 #endif
115152 #ifdef __cplusplus
115154 #endif
115157 main ()
115159 return f != $ac_func;
115161 return 0;
115163 _ACEOF
115164 rm -f conftest.$ac_objext conftest$ac_exeext
115165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115166 (eval $ac_link) 2>conftest.er1
115167 ac_status=$?
115168 grep -v '^ *+' conftest.er1 >conftest.err
115169 rm -f conftest.er1
115170 cat conftest.err >&5
115171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115172 (exit $ac_status); } &&
115173 { ac_try='test -z "$ac_c_werror_flag"
115174 || test ! -s conftest.err'
115175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115176 (eval $ac_try) 2>&5
115177 ac_status=$?
115178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115179 (exit $ac_status); }; } &&
115180 { ac_try='test -s conftest$ac_exeext'
115181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115182 (eval $ac_try) 2>&5
115183 ac_status=$?
115184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115185 (exit $ac_status); }; }; then
115186 eval "$as_ac_var=yes"
115188 echo "$as_me: failed program was:" >&5
115189 sed 's/^/| /' conftest.$ac_ext >&5
115191 eval "$as_ac_var=no"
115193 rm -f conftest.err conftest.$ac_objext \
115194 conftest$ac_exeext conftest.$ac_ext
115196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115198 if test `eval echo '${'$as_ac_var'}'` = yes; then
115199 cat >>confdefs.h <<_ACEOF
115200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115201 _ACEOF
115208 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
115209 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
115210 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
115211 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
115212 echo $ECHO_N "(cached) $ECHO_C" >&6
115217 ac_ext=cc
115218 ac_cpp='$CXXCPP $CPPFLAGS'
115219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
115223 cat >conftest.$ac_ext <<_ACEOF
115224 /* confdefs.h. */
115225 _ACEOF
115226 cat confdefs.h >>conftest.$ac_ext
115227 cat >>conftest.$ac_ext <<_ACEOF
115228 /* end confdefs.h. */
115229 #include <math.h>
115231 main ()
115233 _hypot(0, 0);
115235 return 0;
115237 _ACEOF
115238 rm -f conftest.$ac_objext
115239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115240 (eval $ac_compile) 2>conftest.er1
115241 ac_status=$?
115242 grep -v '^ *+' conftest.er1 >conftest.err
115243 rm -f conftest.er1
115244 cat conftest.err >&5
115245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115246 (exit $ac_status); } &&
115247 { ac_try='test -z "$ac_cxx_werror_flag"
115248 || test ! -s conftest.err'
115249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115250 (eval $ac_try) 2>&5
115251 ac_status=$?
115252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115253 (exit $ac_status); }; } &&
115254 { ac_try='test -s conftest.$ac_objext'
115255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115256 (eval $ac_try) 2>&5
115257 ac_status=$?
115258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115259 (exit $ac_status); }; }; then
115260 glibcxx_cv_func__hypot_use=yes
115262 echo "$as_me: failed program was:" >&5
115263 sed 's/^/| /' conftest.$ac_ext >&5
115265 glibcxx_cv_func__hypot_use=no
115267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115268 ac_ext=c
115269 ac_cpp='$CPP $CPPFLAGS'
115270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
115278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
115279 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
115281 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
115283 for ac_func in _hypot
115285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115286 echo "$as_me:$LINENO: checking for $ac_func" >&5
115287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115288 if eval "test \"\${$as_ac_var+set}\" = set"; then
115289 echo $ECHO_N "(cached) $ECHO_C" >&6
115291 if test x$gcc_no_link = xyes; then
115292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115294 { (exit 1); exit 1; }; }
115296 cat >conftest.$ac_ext <<_ACEOF
115297 /* confdefs.h. */
115298 _ACEOF
115299 cat confdefs.h >>conftest.$ac_ext
115300 cat >>conftest.$ac_ext <<_ACEOF
115301 /* end confdefs.h. */
115302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115304 #define $ac_func innocuous_$ac_func
115306 /* System header to define __stub macros and hopefully few prototypes,
115307 which can conflict with char $ac_func (); below.
115308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115309 <limits.h> exists even on freestanding compilers. */
115311 #ifdef __STDC__
115312 # include <limits.h>
115313 #else
115314 # include <assert.h>
115315 #endif
115317 #undef $ac_func
115319 /* Override any gcc2 internal prototype to avoid an error. */
115320 #ifdef __cplusplus
115321 extern "C"
115323 #endif
115324 /* We use char because int might match the return type of a gcc2
115325 builtin and then its argument prototype would still apply. */
115326 char $ac_func ();
115327 /* The GNU C library defines this for functions which it implements
115328 to always fail with ENOSYS. Some functions are actually named
115329 something starting with __ and the normal name is an alias. */
115330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115331 choke me
115332 #else
115333 char (*f) () = $ac_func;
115334 #endif
115335 #ifdef __cplusplus
115337 #endif
115340 main ()
115342 return f != $ac_func;
115344 return 0;
115346 _ACEOF
115347 rm -f conftest.$ac_objext conftest$ac_exeext
115348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115349 (eval $ac_link) 2>conftest.er1
115350 ac_status=$?
115351 grep -v '^ *+' conftest.er1 >conftest.err
115352 rm -f conftest.er1
115353 cat conftest.err >&5
115354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115355 (exit $ac_status); } &&
115356 { ac_try='test -z "$ac_c_werror_flag"
115357 || test ! -s conftest.err'
115358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115359 (eval $ac_try) 2>&5
115360 ac_status=$?
115361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115362 (exit $ac_status); }; } &&
115363 { ac_try='test -s conftest$ac_exeext'
115364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115365 (eval $ac_try) 2>&5
115366 ac_status=$?
115367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115368 (exit $ac_status); }; }; then
115369 eval "$as_ac_var=yes"
115371 echo "$as_me: failed program was:" >&5
115372 sed 's/^/| /' conftest.$ac_ext >&5
115374 eval "$as_ac_var=no"
115376 rm -f conftest.err conftest.$ac_objext \
115377 conftest$ac_exeext conftest.$ac_ext
115379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115381 if test `eval echo '${'$as_ac_var'}'` = yes; then
115382 cat >>confdefs.h <<_ACEOF
115383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115384 _ACEOF
115397 echo "$as_me:$LINENO: checking for float trig functions" >&5
115398 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
115399 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
115400 echo $ECHO_N "(cached) $ECHO_C" >&6
115405 ac_ext=cc
115406 ac_cpp='$CXXCPP $CPPFLAGS'
115407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
115411 cat >conftest.$ac_ext <<_ACEOF
115412 /* confdefs.h. */
115413 _ACEOF
115414 cat confdefs.h >>conftest.$ac_ext
115415 cat >>conftest.$ac_ext <<_ACEOF
115416 /* end confdefs.h. */
115417 #include <math.h>
115419 main ()
115421 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
115423 return 0;
115425 _ACEOF
115426 rm -f conftest.$ac_objext
115427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115428 (eval $ac_compile) 2>conftest.er1
115429 ac_status=$?
115430 grep -v '^ *+' conftest.er1 >conftest.err
115431 rm -f conftest.er1
115432 cat conftest.err >&5
115433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115434 (exit $ac_status); } &&
115435 { ac_try='test -z "$ac_cxx_werror_flag"
115436 || test ! -s conftest.err'
115437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115438 (eval $ac_try) 2>&5
115439 ac_status=$?
115440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115441 (exit $ac_status); }; } &&
115442 { ac_try='test -s conftest.$ac_objext'
115443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115444 (eval $ac_try) 2>&5
115445 ac_status=$?
115446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115447 (exit $ac_status); }; }; then
115448 glibcxx_cv_func_float_trig_use=yes
115450 echo "$as_me: failed program was:" >&5
115451 sed 's/^/| /' conftest.$ac_ext >&5
115453 glibcxx_cv_func_float_trig_use=no
115455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115456 ac_ext=c
115457 ac_cpp='$CPP $CPPFLAGS'
115458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
115464 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
115465 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
115466 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
115476 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
115478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115479 echo "$as_me:$LINENO: checking for $ac_func" >&5
115480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115481 if eval "test \"\${$as_ac_var+set}\" = set"; then
115482 echo $ECHO_N "(cached) $ECHO_C" >&6
115484 if test x$gcc_no_link = xyes; then
115485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115487 { (exit 1); exit 1; }; }
115489 cat >conftest.$ac_ext <<_ACEOF
115490 /* confdefs.h. */
115491 _ACEOF
115492 cat confdefs.h >>conftest.$ac_ext
115493 cat >>conftest.$ac_ext <<_ACEOF
115494 /* end confdefs.h. */
115495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115497 #define $ac_func innocuous_$ac_func
115499 /* System header to define __stub macros and hopefully few prototypes,
115500 which can conflict with char $ac_func (); below.
115501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115502 <limits.h> exists even on freestanding compilers. */
115504 #ifdef __STDC__
115505 # include <limits.h>
115506 #else
115507 # include <assert.h>
115508 #endif
115510 #undef $ac_func
115512 /* Override any gcc2 internal prototype to avoid an error. */
115513 #ifdef __cplusplus
115514 extern "C"
115516 #endif
115517 /* We use char because int might match the return type of a gcc2
115518 builtin and then its argument prototype would still apply. */
115519 char $ac_func ();
115520 /* The GNU C library defines this for functions which it implements
115521 to always fail with ENOSYS. Some functions are actually named
115522 something starting with __ and the normal name is an alias. */
115523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115524 choke me
115525 #else
115526 char (*f) () = $ac_func;
115527 #endif
115528 #ifdef __cplusplus
115530 #endif
115533 main ()
115535 return f != $ac_func;
115537 return 0;
115539 _ACEOF
115540 rm -f conftest.$ac_objext conftest$ac_exeext
115541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115542 (eval $ac_link) 2>conftest.er1
115543 ac_status=$?
115544 grep -v '^ *+' conftest.er1 >conftest.err
115545 rm -f conftest.er1
115546 cat conftest.err >&5
115547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115548 (exit $ac_status); } &&
115549 { ac_try='test -z "$ac_c_werror_flag"
115550 || test ! -s conftest.err'
115551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115552 (eval $ac_try) 2>&5
115553 ac_status=$?
115554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115555 (exit $ac_status); }; } &&
115556 { ac_try='test -s conftest$ac_exeext'
115557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115558 (eval $ac_try) 2>&5
115559 ac_status=$?
115560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115561 (exit $ac_status); }; }; then
115562 eval "$as_ac_var=yes"
115564 echo "$as_me: failed program was:" >&5
115565 sed 's/^/| /' conftest.$ac_ext >&5
115567 eval "$as_ac_var=no"
115569 rm -f conftest.err conftest.$ac_objext \
115570 conftest$ac_exeext conftest.$ac_ext
115572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115574 if test `eval echo '${'$as_ac_var'}'` = yes; then
115575 cat >>confdefs.h <<_ACEOF
115576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115577 _ACEOF
115583 echo "$as_me:$LINENO: checking for _float trig functions" >&5
115584 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
115585 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
115586 echo $ECHO_N "(cached) $ECHO_C" >&6
115591 ac_ext=cc
115592 ac_cpp='$CXXCPP $CPPFLAGS'
115593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
115597 cat >conftest.$ac_ext <<_ACEOF
115598 /* confdefs.h. */
115599 _ACEOF
115600 cat confdefs.h >>conftest.$ac_ext
115601 cat >>conftest.$ac_ext <<_ACEOF
115602 /* end confdefs.h. */
115603 #include <math.h>
115605 main ()
115607 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
115609 return 0;
115611 _ACEOF
115612 rm -f conftest.$ac_objext
115613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115614 (eval $ac_compile) 2>conftest.er1
115615 ac_status=$?
115616 grep -v '^ *+' conftest.er1 >conftest.err
115617 rm -f conftest.er1
115618 cat conftest.err >&5
115619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115620 (exit $ac_status); } &&
115621 { ac_try='test -z "$ac_cxx_werror_flag"
115622 || test ! -s conftest.err'
115623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115624 (eval $ac_try) 2>&5
115625 ac_status=$?
115626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115627 (exit $ac_status); }; } &&
115628 { ac_try='test -s conftest.$ac_objext'
115629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115630 (eval $ac_try) 2>&5
115631 ac_status=$?
115632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115633 (exit $ac_status); }; }; then
115634 glibcxx_cv_func__float_trig_use=yes
115636 echo "$as_me: failed program was:" >&5
115637 sed 's/^/| /' conftest.$ac_ext >&5
115639 glibcxx_cv_func__float_trig_use=no
115641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115642 ac_ext=c
115643 ac_cpp='$CPP $CPPFLAGS'
115644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
115650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
115651 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
115652 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
115662 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
115664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115665 echo "$as_me:$LINENO: checking for $ac_func" >&5
115666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115667 if eval "test \"\${$as_ac_var+set}\" = set"; then
115668 echo $ECHO_N "(cached) $ECHO_C" >&6
115670 if test x$gcc_no_link = xyes; then
115671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115673 { (exit 1); exit 1; }; }
115675 cat >conftest.$ac_ext <<_ACEOF
115676 /* confdefs.h. */
115677 _ACEOF
115678 cat confdefs.h >>conftest.$ac_ext
115679 cat >>conftest.$ac_ext <<_ACEOF
115680 /* end confdefs.h. */
115681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115683 #define $ac_func innocuous_$ac_func
115685 /* System header to define __stub macros and hopefully few prototypes,
115686 which can conflict with char $ac_func (); below.
115687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115688 <limits.h> exists even on freestanding compilers. */
115690 #ifdef __STDC__
115691 # include <limits.h>
115692 #else
115693 # include <assert.h>
115694 #endif
115696 #undef $ac_func
115698 /* Override any gcc2 internal prototype to avoid an error. */
115699 #ifdef __cplusplus
115700 extern "C"
115702 #endif
115703 /* We use char because int might match the return type of a gcc2
115704 builtin and then its argument prototype would still apply. */
115705 char $ac_func ();
115706 /* The GNU C library defines this for functions which it implements
115707 to always fail with ENOSYS. Some functions are actually named
115708 something starting with __ and the normal name is an alias. */
115709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115710 choke me
115711 #else
115712 char (*f) () = $ac_func;
115713 #endif
115714 #ifdef __cplusplus
115716 #endif
115719 main ()
115721 return f != $ac_func;
115723 return 0;
115725 _ACEOF
115726 rm -f conftest.$ac_objext conftest$ac_exeext
115727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115728 (eval $ac_link) 2>conftest.er1
115729 ac_status=$?
115730 grep -v '^ *+' conftest.er1 >conftest.err
115731 rm -f conftest.er1
115732 cat conftest.err >&5
115733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115734 (exit $ac_status); } &&
115735 { ac_try='test -z "$ac_c_werror_flag"
115736 || test ! -s conftest.err'
115737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115738 (eval $ac_try) 2>&5
115739 ac_status=$?
115740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115741 (exit $ac_status); }; } &&
115742 { ac_try='test -s conftest$ac_exeext'
115743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115744 (eval $ac_try) 2>&5
115745 ac_status=$?
115746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115747 (exit $ac_status); }; }; then
115748 eval "$as_ac_var=yes"
115750 echo "$as_me: failed program was:" >&5
115751 sed 's/^/| /' conftest.$ac_ext >&5
115753 eval "$as_ac_var=no"
115755 rm -f conftest.err conftest.$ac_objext \
115756 conftest$ac_exeext conftest.$ac_ext
115758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115760 if test `eval echo '${'$as_ac_var'}'` = yes; then
115761 cat >>confdefs.h <<_ACEOF
115762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115763 _ACEOF
115784 echo "$as_me:$LINENO: checking for float round functions" >&5
115785 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
115786 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
115787 echo $ECHO_N "(cached) $ECHO_C" >&6
115792 ac_ext=cc
115793 ac_cpp='$CXXCPP $CPPFLAGS'
115794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
115798 cat >conftest.$ac_ext <<_ACEOF
115799 /* confdefs.h. */
115800 _ACEOF
115801 cat confdefs.h >>conftest.$ac_ext
115802 cat >>conftest.$ac_ext <<_ACEOF
115803 /* end confdefs.h. */
115804 #include <math.h>
115806 main ()
115808 ceilf (0); floorf (0);
115810 return 0;
115812 _ACEOF
115813 rm -f conftest.$ac_objext
115814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115815 (eval $ac_compile) 2>conftest.er1
115816 ac_status=$?
115817 grep -v '^ *+' conftest.er1 >conftest.err
115818 rm -f conftest.er1
115819 cat conftest.err >&5
115820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115821 (exit $ac_status); } &&
115822 { ac_try='test -z "$ac_cxx_werror_flag"
115823 || test ! -s conftest.err'
115824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115825 (eval $ac_try) 2>&5
115826 ac_status=$?
115827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115828 (exit $ac_status); }; } &&
115829 { ac_try='test -s conftest.$ac_objext'
115830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115831 (eval $ac_try) 2>&5
115832 ac_status=$?
115833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115834 (exit $ac_status); }; }; then
115835 glibcxx_cv_func_float_round_use=yes
115837 echo "$as_me: failed program was:" >&5
115838 sed 's/^/| /' conftest.$ac_ext >&5
115840 glibcxx_cv_func_float_round_use=no
115842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115843 ac_ext=c
115844 ac_cpp='$CPP $CPPFLAGS'
115845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
115851 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
115852 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
115853 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
115856 for ac_func in ceilf floorf
115858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115859 echo "$as_me:$LINENO: checking for $ac_func" >&5
115860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115861 if eval "test \"\${$as_ac_var+set}\" = set"; then
115862 echo $ECHO_N "(cached) $ECHO_C" >&6
115864 if test x$gcc_no_link = xyes; then
115865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115867 { (exit 1); exit 1; }; }
115869 cat >conftest.$ac_ext <<_ACEOF
115870 /* confdefs.h. */
115871 _ACEOF
115872 cat confdefs.h >>conftest.$ac_ext
115873 cat >>conftest.$ac_ext <<_ACEOF
115874 /* end confdefs.h. */
115875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115877 #define $ac_func innocuous_$ac_func
115879 /* System header to define __stub macros and hopefully few prototypes,
115880 which can conflict with char $ac_func (); below.
115881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115882 <limits.h> exists even on freestanding compilers. */
115884 #ifdef __STDC__
115885 # include <limits.h>
115886 #else
115887 # include <assert.h>
115888 #endif
115890 #undef $ac_func
115892 /* Override any gcc2 internal prototype to avoid an error. */
115893 #ifdef __cplusplus
115894 extern "C"
115896 #endif
115897 /* We use char because int might match the return type of a gcc2
115898 builtin and then its argument prototype would still apply. */
115899 char $ac_func ();
115900 /* The GNU C library defines this for functions which it implements
115901 to always fail with ENOSYS. Some functions are actually named
115902 something starting with __ and the normal name is an alias. */
115903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115904 choke me
115905 #else
115906 char (*f) () = $ac_func;
115907 #endif
115908 #ifdef __cplusplus
115910 #endif
115913 main ()
115915 return f != $ac_func;
115917 return 0;
115919 _ACEOF
115920 rm -f conftest.$ac_objext conftest$ac_exeext
115921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115922 (eval $ac_link) 2>conftest.er1
115923 ac_status=$?
115924 grep -v '^ *+' conftest.er1 >conftest.err
115925 rm -f conftest.er1
115926 cat conftest.err >&5
115927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115928 (exit $ac_status); } &&
115929 { ac_try='test -z "$ac_c_werror_flag"
115930 || test ! -s conftest.err'
115931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115932 (eval $ac_try) 2>&5
115933 ac_status=$?
115934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115935 (exit $ac_status); }; } &&
115936 { ac_try='test -s conftest$ac_exeext'
115937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115938 (eval $ac_try) 2>&5
115939 ac_status=$?
115940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115941 (exit $ac_status); }; }; then
115942 eval "$as_ac_var=yes"
115944 echo "$as_me: failed program was:" >&5
115945 sed 's/^/| /' conftest.$ac_ext >&5
115947 eval "$as_ac_var=no"
115949 rm -f conftest.err conftest.$ac_objext \
115950 conftest$ac_exeext conftest.$ac_ext
115952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115954 if test `eval echo '${'$as_ac_var'}'` = yes; then
115955 cat >>confdefs.h <<_ACEOF
115956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115957 _ACEOF
115963 echo "$as_me:$LINENO: checking for _float round functions" >&5
115964 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
115965 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
115966 echo $ECHO_N "(cached) $ECHO_C" >&6
115971 ac_ext=cc
115972 ac_cpp='$CXXCPP $CPPFLAGS'
115973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
115977 cat >conftest.$ac_ext <<_ACEOF
115978 /* confdefs.h. */
115979 _ACEOF
115980 cat confdefs.h >>conftest.$ac_ext
115981 cat >>conftest.$ac_ext <<_ACEOF
115982 /* end confdefs.h. */
115983 #include <math.h>
115985 main ()
115987 _ceilf (0); _floorf (0);
115989 return 0;
115991 _ACEOF
115992 rm -f conftest.$ac_objext
115993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115994 (eval $ac_compile) 2>conftest.er1
115995 ac_status=$?
115996 grep -v '^ *+' conftest.er1 >conftest.err
115997 rm -f conftest.er1
115998 cat conftest.err >&5
115999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116000 (exit $ac_status); } &&
116001 { ac_try='test -z "$ac_cxx_werror_flag"
116002 || test ! -s conftest.err'
116003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116004 (eval $ac_try) 2>&5
116005 ac_status=$?
116006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116007 (exit $ac_status); }; } &&
116008 { ac_try='test -s conftest.$ac_objext'
116009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116010 (eval $ac_try) 2>&5
116011 ac_status=$?
116012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116013 (exit $ac_status); }; }; then
116014 glibcxx_cv_func__float_round_use=yes
116016 echo "$as_me: failed program was:" >&5
116017 sed 's/^/| /' conftest.$ac_ext >&5
116019 glibcxx_cv_func__float_round_use=no
116021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116022 ac_ext=c
116023 ac_cpp='$CPP $CPPFLAGS'
116024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
116030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
116031 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
116032 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
116035 for ac_func in _ceilf _floorf
116037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116038 echo "$as_me:$LINENO: checking for $ac_func" >&5
116039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116040 if eval "test \"\${$as_ac_var+set}\" = set"; then
116041 echo $ECHO_N "(cached) $ECHO_C" >&6
116043 if test x$gcc_no_link = xyes; then
116044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116046 { (exit 1); exit 1; }; }
116048 cat >conftest.$ac_ext <<_ACEOF
116049 /* confdefs.h. */
116050 _ACEOF
116051 cat confdefs.h >>conftest.$ac_ext
116052 cat >>conftest.$ac_ext <<_ACEOF
116053 /* end confdefs.h. */
116054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
116056 #define $ac_func innocuous_$ac_func
116058 /* System header to define __stub macros and hopefully few prototypes,
116059 which can conflict with char $ac_func (); below.
116060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116061 <limits.h> exists even on freestanding compilers. */
116063 #ifdef __STDC__
116064 # include <limits.h>
116065 #else
116066 # include <assert.h>
116067 #endif
116069 #undef $ac_func
116071 /* Override any gcc2 internal prototype to avoid an error. */
116072 #ifdef __cplusplus
116073 extern "C"
116075 #endif
116076 /* We use char because int might match the return type of a gcc2
116077 builtin and then its argument prototype would still apply. */
116078 char $ac_func ();
116079 /* The GNU C library defines this for functions which it implements
116080 to always fail with ENOSYS. Some functions are actually named
116081 something starting with __ and the normal name is an alias. */
116082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116083 choke me
116084 #else
116085 char (*f) () = $ac_func;
116086 #endif
116087 #ifdef __cplusplus
116089 #endif
116092 main ()
116094 return f != $ac_func;
116096 return 0;
116098 _ACEOF
116099 rm -f conftest.$ac_objext conftest$ac_exeext
116100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116101 (eval $ac_link) 2>conftest.er1
116102 ac_status=$?
116103 grep -v '^ *+' conftest.er1 >conftest.err
116104 rm -f conftest.er1
116105 cat conftest.err >&5
116106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116107 (exit $ac_status); } &&
116108 { ac_try='test -z "$ac_c_werror_flag"
116109 || test ! -s conftest.err'
116110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116111 (eval $ac_try) 2>&5
116112 ac_status=$?
116113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116114 (exit $ac_status); }; } &&
116115 { ac_try='test -s conftest$ac_exeext'
116116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116117 (eval $ac_try) 2>&5
116118 ac_status=$?
116119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116120 (exit $ac_status); }; }; then
116121 eval "$as_ac_var=yes"
116123 echo "$as_me: failed program was:" >&5
116124 sed 's/^/| /' conftest.$ac_ext >&5
116126 eval "$as_ac_var=no"
116128 rm -f conftest.err conftest.$ac_objext \
116129 conftest$ac_exeext conftest.$ac_ext
116131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116133 if test `eval echo '${'$as_ac_var'}'` = yes; then
116134 cat >>confdefs.h <<_ACEOF
116135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116136 _ACEOF
116151 echo "$as_me:$LINENO: checking for expf declaration" >&5
116152 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
116153 if test x${glibcxx_cv_func_expf_use+set} != xset; then
116154 if test "${glibcxx_cv_func_expf_use+set}" = set; then
116155 echo $ECHO_N "(cached) $ECHO_C" >&6
116160 ac_ext=cc
116161 ac_cpp='$CXXCPP $CPPFLAGS'
116162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
116166 cat >conftest.$ac_ext <<_ACEOF
116167 /* confdefs.h. */
116168 _ACEOF
116169 cat confdefs.h >>conftest.$ac_ext
116170 cat >>conftest.$ac_ext <<_ACEOF
116171 /* end confdefs.h. */
116172 #include <math.h>
116173 #ifdef HAVE_IEEEFP_H
116174 #include <ieeefp.h>
116175 #endif
116178 main ()
116180 expf(0);
116182 return 0;
116184 _ACEOF
116185 rm -f conftest.$ac_objext
116186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116187 (eval $ac_compile) 2>conftest.er1
116188 ac_status=$?
116189 grep -v '^ *+' conftest.er1 >conftest.err
116190 rm -f conftest.er1
116191 cat conftest.err >&5
116192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116193 (exit $ac_status); } &&
116194 { ac_try='test -z "$ac_cxx_werror_flag"
116195 || test ! -s conftest.err'
116196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116197 (eval $ac_try) 2>&5
116198 ac_status=$?
116199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116200 (exit $ac_status); }; } &&
116201 { ac_try='test -s conftest.$ac_objext'
116202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116203 (eval $ac_try) 2>&5
116204 ac_status=$?
116205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116206 (exit $ac_status); }; }; then
116207 glibcxx_cv_func_expf_use=yes
116209 echo "$as_me: failed program was:" >&5
116210 sed 's/^/| /' conftest.$ac_ext >&5
116212 glibcxx_cv_func_expf_use=no
116214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116215 ac_ext=c
116216 ac_cpp='$CPP $CPPFLAGS'
116217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
116225 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
116226 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
116228 if test x$glibcxx_cv_func_expf_use = x"yes"; then
116230 for ac_func in expf
116232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116233 echo "$as_me:$LINENO: checking for $ac_func" >&5
116234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116235 if eval "test \"\${$as_ac_var+set}\" = set"; then
116236 echo $ECHO_N "(cached) $ECHO_C" >&6
116238 if test x$gcc_no_link = xyes; then
116239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116241 { (exit 1); exit 1; }; }
116243 cat >conftest.$ac_ext <<_ACEOF
116244 /* confdefs.h. */
116245 _ACEOF
116246 cat confdefs.h >>conftest.$ac_ext
116247 cat >>conftest.$ac_ext <<_ACEOF
116248 /* end confdefs.h. */
116249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
116251 #define $ac_func innocuous_$ac_func
116253 /* System header to define __stub macros and hopefully few prototypes,
116254 which can conflict with char $ac_func (); below.
116255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116256 <limits.h> exists even on freestanding compilers. */
116258 #ifdef __STDC__
116259 # include <limits.h>
116260 #else
116261 # include <assert.h>
116262 #endif
116264 #undef $ac_func
116266 /* Override any gcc2 internal prototype to avoid an error. */
116267 #ifdef __cplusplus
116268 extern "C"
116270 #endif
116271 /* We use char because int might match the return type of a gcc2
116272 builtin and then its argument prototype would still apply. */
116273 char $ac_func ();
116274 /* The GNU C library defines this for functions which it implements
116275 to always fail with ENOSYS. Some functions are actually named
116276 something starting with __ and the normal name is an alias. */
116277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116278 choke me
116279 #else
116280 char (*f) () = $ac_func;
116281 #endif
116282 #ifdef __cplusplus
116284 #endif
116287 main ()
116289 return f != $ac_func;
116291 return 0;
116293 _ACEOF
116294 rm -f conftest.$ac_objext conftest$ac_exeext
116295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116296 (eval $ac_link) 2>conftest.er1
116297 ac_status=$?
116298 grep -v '^ *+' conftest.er1 >conftest.err
116299 rm -f conftest.er1
116300 cat conftest.err >&5
116301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116302 (exit $ac_status); } &&
116303 { ac_try='test -z "$ac_c_werror_flag"
116304 || test ! -s conftest.err'
116305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116306 (eval $ac_try) 2>&5
116307 ac_status=$?
116308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116309 (exit $ac_status); }; } &&
116310 { ac_try='test -s conftest$ac_exeext'
116311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116312 (eval $ac_try) 2>&5
116313 ac_status=$?
116314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116315 (exit $ac_status); }; }; then
116316 eval "$as_ac_var=yes"
116318 echo "$as_me: failed program was:" >&5
116319 sed 's/^/| /' conftest.$ac_ext >&5
116321 eval "$as_ac_var=no"
116323 rm -f conftest.err conftest.$ac_objext \
116324 conftest$ac_exeext conftest.$ac_ext
116326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116328 if test `eval echo '${'$as_ac_var'}'` = yes; then
116329 cat >>confdefs.h <<_ACEOF
116330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116331 _ACEOF
116338 echo "$as_me:$LINENO: checking for _expf declaration" >&5
116339 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
116340 if test x${glibcxx_cv_func__expf_use+set} != xset; then
116341 if test "${glibcxx_cv_func__expf_use+set}" = set; then
116342 echo $ECHO_N "(cached) $ECHO_C" >&6
116347 ac_ext=cc
116348 ac_cpp='$CXXCPP $CPPFLAGS'
116349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
116353 cat >conftest.$ac_ext <<_ACEOF
116354 /* confdefs.h. */
116355 _ACEOF
116356 cat confdefs.h >>conftest.$ac_ext
116357 cat >>conftest.$ac_ext <<_ACEOF
116358 /* end confdefs.h. */
116359 #include <math.h>
116360 #ifdef HAVE_IEEEFP_H
116361 #include <ieeefp.h>
116362 #endif
116365 main ()
116367 _expf(0);
116369 return 0;
116371 _ACEOF
116372 rm -f conftest.$ac_objext
116373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116374 (eval $ac_compile) 2>conftest.er1
116375 ac_status=$?
116376 grep -v '^ *+' conftest.er1 >conftest.err
116377 rm -f conftest.er1
116378 cat conftest.err >&5
116379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116380 (exit $ac_status); } &&
116381 { ac_try='test -z "$ac_cxx_werror_flag"
116382 || test ! -s conftest.err'
116383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116384 (eval $ac_try) 2>&5
116385 ac_status=$?
116386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116387 (exit $ac_status); }; } &&
116388 { ac_try='test -s conftest.$ac_objext'
116389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116390 (eval $ac_try) 2>&5
116391 ac_status=$?
116392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116393 (exit $ac_status); }; }; then
116394 glibcxx_cv_func__expf_use=yes
116396 echo "$as_me: failed program was:" >&5
116397 sed 's/^/| /' conftest.$ac_ext >&5
116399 glibcxx_cv_func__expf_use=no
116401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116402 ac_ext=c
116403 ac_cpp='$CPP $CPPFLAGS'
116404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
116412 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
116413 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
116415 if test x$glibcxx_cv_func__expf_use = x"yes"; then
116417 for ac_func in _expf
116419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116420 echo "$as_me:$LINENO: checking for $ac_func" >&5
116421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116422 if eval "test \"\${$as_ac_var+set}\" = set"; then
116423 echo $ECHO_N "(cached) $ECHO_C" >&6
116425 if test x$gcc_no_link = xyes; then
116426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116428 { (exit 1); exit 1; }; }
116430 cat >conftest.$ac_ext <<_ACEOF
116431 /* confdefs.h. */
116432 _ACEOF
116433 cat confdefs.h >>conftest.$ac_ext
116434 cat >>conftest.$ac_ext <<_ACEOF
116435 /* end confdefs.h. */
116436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
116438 #define $ac_func innocuous_$ac_func
116440 /* System header to define __stub macros and hopefully few prototypes,
116441 which can conflict with char $ac_func (); below.
116442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116443 <limits.h> exists even on freestanding compilers. */
116445 #ifdef __STDC__
116446 # include <limits.h>
116447 #else
116448 # include <assert.h>
116449 #endif
116451 #undef $ac_func
116453 /* Override any gcc2 internal prototype to avoid an error. */
116454 #ifdef __cplusplus
116455 extern "C"
116457 #endif
116458 /* We use char because int might match the return type of a gcc2
116459 builtin and then its argument prototype would still apply. */
116460 char $ac_func ();
116461 /* The GNU C library defines this for functions which it implements
116462 to always fail with ENOSYS. Some functions are actually named
116463 something starting with __ and the normal name is an alias. */
116464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116465 choke me
116466 #else
116467 char (*f) () = $ac_func;
116468 #endif
116469 #ifdef __cplusplus
116471 #endif
116474 main ()
116476 return f != $ac_func;
116478 return 0;
116480 _ACEOF
116481 rm -f conftest.$ac_objext conftest$ac_exeext
116482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116483 (eval $ac_link) 2>conftest.er1
116484 ac_status=$?
116485 grep -v '^ *+' conftest.er1 >conftest.err
116486 rm -f conftest.er1
116487 cat conftest.err >&5
116488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116489 (exit $ac_status); } &&
116490 { ac_try='test -z "$ac_c_werror_flag"
116491 || test ! -s conftest.err'
116492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116493 (eval $ac_try) 2>&5
116494 ac_status=$?
116495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116496 (exit $ac_status); }; } &&
116497 { ac_try='test -s conftest$ac_exeext'
116498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116499 (eval $ac_try) 2>&5
116500 ac_status=$?
116501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116502 (exit $ac_status); }; }; then
116503 eval "$as_ac_var=yes"
116505 echo "$as_me: failed program was:" >&5
116506 sed 's/^/| /' conftest.$ac_ext >&5
116508 eval "$as_ac_var=no"
116510 rm -f conftest.err conftest.$ac_objext \
116511 conftest$ac_exeext conftest.$ac_ext
116513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116515 if test `eval echo '${'$as_ac_var'}'` = yes; then
116516 cat >>confdefs.h <<_ACEOF
116517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116518 _ACEOF
116531 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
116532 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
116533 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
116534 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
116535 echo $ECHO_N "(cached) $ECHO_C" >&6
116540 ac_ext=cc
116541 ac_cpp='$CXXCPP $CPPFLAGS'
116542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
116546 cat >conftest.$ac_ext <<_ACEOF
116547 /* confdefs.h. */
116548 _ACEOF
116549 cat confdefs.h >>conftest.$ac_ext
116550 cat >>conftest.$ac_ext <<_ACEOF
116551 /* end confdefs.h. */
116552 #include <math.h>
116553 #ifdef HAVE_IEEEFP_H
116554 #include <ieeefp.h>
116555 #endif
116558 main ()
116560 isnanf(0);
116562 return 0;
116564 _ACEOF
116565 rm -f conftest.$ac_objext
116566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116567 (eval $ac_compile) 2>conftest.er1
116568 ac_status=$?
116569 grep -v '^ *+' conftest.er1 >conftest.err
116570 rm -f conftest.er1
116571 cat conftest.err >&5
116572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116573 (exit $ac_status); } &&
116574 { ac_try='test -z "$ac_cxx_werror_flag"
116575 || test ! -s conftest.err'
116576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116577 (eval $ac_try) 2>&5
116578 ac_status=$?
116579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116580 (exit $ac_status); }; } &&
116581 { ac_try='test -s conftest.$ac_objext'
116582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116583 (eval $ac_try) 2>&5
116584 ac_status=$?
116585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116586 (exit $ac_status); }; }; then
116587 glibcxx_cv_func_isnanf_use=yes
116589 echo "$as_me: failed program was:" >&5
116590 sed 's/^/| /' conftest.$ac_ext >&5
116592 glibcxx_cv_func_isnanf_use=no
116594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116595 ac_ext=c
116596 ac_cpp='$CPP $CPPFLAGS'
116597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
116605 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
116606 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
116608 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
116610 for ac_func in isnanf
116612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116613 echo "$as_me:$LINENO: checking for $ac_func" >&5
116614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116615 if eval "test \"\${$as_ac_var+set}\" = set"; then
116616 echo $ECHO_N "(cached) $ECHO_C" >&6
116618 if test x$gcc_no_link = xyes; then
116619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116621 { (exit 1); exit 1; }; }
116623 cat >conftest.$ac_ext <<_ACEOF
116624 /* confdefs.h. */
116625 _ACEOF
116626 cat confdefs.h >>conftest.$ac_ext
116627 cat >>conftest.$ac_ext <<_ACEOF
116628 /* end confdefs.h. */
116629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
116631 #define $ac_func innocuous_$ac_func
116633 /* System header to define __stub macros and hopefully few prototypes,
116634 which can conflict with char $ac_func (); below.
116635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116636 <limits.h> exists even on freestanding compilers. */
116638 #ifdef __STDC__
116639 # include <limits.h>
116640 #else
116641 # include <assert.h>
116642 #endif
116644 #undef $ac_func
116646 /* Override any gcc2 internal prototype to avoid an error. */
116647 #ifdef __cplusplus
116648 extern "C"
116650 #endif
116651 /* We use char because int might match the return type of a gcc2
116652 builtin and then its argument prototype would still apply. */
116653 char $ac_func ();
116654 /* The GNU C library defines this for functions which it implements
116655 to always fail with ENOSYS. Some functions are actually named
116656 something starting with __ and the normal name is an alias. */
116657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116658 choke me
116659 #else
116660 char (*f) () = $ac_func;
116661 #endif
116662 #ifdef __cplusplus
116664 #endif
116667 main ()
116669 return f != $ac_func;
116671 return 0;
116673 _ACEOF
116674 rm -f conftest.$ac_objext conftest$ac_exeext
116675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116676 (eval $ac_link) 2>conftest.er1
116677 ac_status=$?
116678 grep -v '^ *+' conftest.er1 >conftest.err
116679 rm -f conftest.er1
116680 cat conftest.err >&5
116681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116682 (exit $ac_status); } &&
116683 { ac_try='test -z "$ac_c_werror_flag"
116684 || test ! -s conftest.err'
116685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116686 (eval $ac_try) 2>&5
116687 ac_status=$?
116688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116689 (exit $ac_status); }; } &&
116690 { ac_try='test -s conftest$ac_exeext'
116691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116692 (eval $ac_try) 2>&5
116693 ac_status=$?
116694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116695 (exit $ac_status); }; }; then
116696 eval "$as_ac_var=yes"
116698 echo "$as_me: failed program was:" >&5
116699 sed 's/^/| /' conftest.$ac_ext >&5
116701 eval "$as_ac_var=no"
116703 rm -f conftest.err conftest.$ac_objext \
116704 conftest$ac_exeext conftest.$ac_ext
116706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116708 if test `eval echo '${'$as_ac_var'}'` = yes; then
116709 cat >>confdefs.h <<_ACEOF
116710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116711 _ACEOF
116718 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
116719 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
116720 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
116721 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
116722 echo $ECHO_N "(cached) $ECHO_C" >&6
116727 ac_ext=cc
116728 ac_cpp='$CXXCPP $CPPFLAGS'
116729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
116733 cat >conftest.$ac_ext <<_ACEOF
116734 /* confdefs.h. */
116735 _ACEOF
116736 cat confdefs.h >>conftest.$ac_ext
116737 cat >>conftest.$ac_ext <<_ACEOF
116738 /* end confdefs.h. */
116739 #include <math.h>
116740 #ifdef HAVE_IEEEFP_H
116741 #include <ieeefp.h>
116742 #endif
116745 main ()
116747 _isnanf(0);
116749 return 0;
116751 _ACEOF
116752 rm -f conftest.$ac_objext
116753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116754 (eval $ac_compile) 2>conftest.er1
116755 ac_status=$?
116756 grep -v '^ *+' conftest.er1 >conftest.err
116757 rm -f conftest.er1
116758 cat conftest.err >&5
116759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116760 (exit $ac_status); } &&
116761 { ac_try='test -z "$ac_cxx_werror_flag"
116762 || test ! -s conftest.err'
116763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116764 (eval $ac_try) 2>&5
116765 ac_status=$?
116766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116767 (exit $ac_status); }; } &&
116768 { ac_try='test -s conftest.$ac_objext'
116769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116770 (eval $ac_try) 2>&5
116771 ac_status=$?
116772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116773 (exit $ac_status); }; }; then
116774 glibcxx_cv_func__isnanf_use=yes
116776 echo "$as_me: failed program was:" >&5
116777 sed 's/^/| /' conftest.$ac_ext >&5
116779 glibcxx_cv_func__isnanf_use=no
116781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116782 ac_ext=c
116783 ac_cpp='$CPP $CPPFLAGS'
116784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
116792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
116793 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
116795 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
116797 for ac_func in _isnanf
116799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116800 echo "$as_me:$LINENO: checking for $ac_func" >&5
116801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116802 if eval "test \"\${$as_ac_var+set}\" = set"; then
116803 echo $ECHO_N "(cached) $ECHO_C" >&6
116805 if test x$gcc_no_link = xyes; then
116806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116808 { (exit 1); exit 1; }; }
116810 cat >conftest.$ac_ext <<_ACEOF
116811 /* confdefs.h. */
116812 _ACEOF
116813 cat confdefs.h >>conftest.$ac_ext
116814 cat >>conftest.$ac_ext <<_ACEOF
116815 /* end confdefs.h. */
116816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
116818 #define $ac_func innocuous_$ac_func
116820 /* System header to define __stub macros and hopefully few prototypes,
116821 which can conflict with char $ac_func (); below.
116822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116823 <limits.h> exists even on freestanding compilers. */
116825 #ifdef __STDC__
116826 # include <limits.h>
116827 #else
116828 # include <assert.h>
116829 #endif
116831 #undef $ac_func
116833 /* Override any gcc2 internal prototype to avoid an error. */
116834 #ifdef __cplusplus
116835 extern "C"
116837 #endif
116838 /* We use char because int might match the return type of a gcc2
116839 builtin and then its argument prototype would still apply. */
116840 char $ac_func ();
116841 /* The GNU C library defines this for functions which it implements
116842 to always fail with ENOSYS. Some functions are actually named
116843 something starting with __ and the normal name is an alias. */
116844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116845 choke me
116846 #else
116847 char (*f) () = $ac_func;
116848 #endif
116849 #ifdef __cplusplus
116851 #endif
116854 main ()
116856 return f != $ac_func;
116858 return 0;
116860 _ACEOF
116861 rm -f conftest.$ac_objext conftest$ac_exeext
116862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116863 (eval $ac_link) 2>conftest.er1
116864 ac_status=$?
116865 grep -v '^ *+' conftest.er1 >conftest.err
116866 rm -f conftest.er1
116867 cat conftest.err >&5
116868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116869 (exit $ac_status); } &&
116870 { ac_try='test -z "$ac_c_werror_flag"
116871 || test ! -s conftest.err'
116872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116873 (eval $ac_try) 2>&5
116874 ac_status=$?
116875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116876 (exit $ac_status); }; } &&
116877 { ac_try='test -s conftest$ac_exeext'
116878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116879 (eval $ac_try) 2>&5
116880 ac_status=$?
116881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116882 (exit $ac_status); }; }; then
116883 eval "$as_ac_var=yes"
116885 echo "$as_me: failed program was:" >&5
116886 sed 's/^/| /' conftest.$ac_ext >&5
116888 eval "$as_ac_var=no"
116890 rm -f conftest.err conftest.$ac_objext \
116891 conftest$ac_exeext conftest.$ac_ext
116893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116895 if test `eval echo '${'$as_ac_var'}'` = yes; then
116896 cat >>confdefs.h <<_ACEOF
116897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116898 _ACEOF
116911 echo "$as_me:$LINENO: checking for isinff declaration" >&5
116912 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
116913 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
116914 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
116915 echo $ECHO_N "(cached) $ECHO_C" >&6
116920 ac_ext=cc
116921 ac_cpp='$CXXCPP $CPPFLAGS'
116922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
116926 cat >conftest.$ac_ext <<_ACEOF
116927 /* confdefs.h. */
116928 _ACEOF
116929 cat confdefs.h >>conftest.$ac_ext
116930 cat >>conftest.$ac_ext <<_ACEOF
116931 /* end confdefs.h. */
116932 #include <math.h>
116933 #ifdef HAVE_IEEEFP_H
116934 #include <ieeefp.h>
116935 #endif
116938 main ()
116940 isinff(0);
116942 return 0;
116944 _ACEOF
116945 rm -f conftest.$ac_objext
116946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116947 (eval $ac_compile) 2>conftest.er1
116948 ac_status=$?
116949 grep -v '^ *+' conftest.er1 >conftest.err
116950 rm -f conftest.er1
116951 cat conftest.err >&5
116952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116953 (exit $ac_status); } &&
116954 { ac_try='test -z "$ac_cxx_werror_flag"
116955 || test ! -s conftest.err'
116956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116957 (eval $ac_try) 2>&5
116958 ac_status=$?
116959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116960 (exit $ac_status); }; } &&
116961 { ac_try='test -s conftest.$ac_objext'
116962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116963 (eval $ac_try) 2>&5
116964 ac_status=$?
116965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116966 (exit $ac_status); }; }; then
116967 glibcxx_cv_func_isinff_use=yes
116969 echo "$as_me: failed program was:" >&5
116970 sed 's/^/| /' conftest.$ac_ext >&5
116972 glibcxx_cv_func_isinff_use=no
116974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116975 ac_ext=c
116976 ac_cpp='$CPP $CPPFLAGS'
116977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
116985 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
116986 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
116988 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
116990 for ac_func in isinff
116992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116993 echo "$as_me:$LINENO: checking for $ac_func" >&5
116994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116995 if eval "test \"\${$as_ac_var+set}\" = set"; then
116996 echo $ECHO_N "(cached) $ECHO_C" >&6
116998 if test x$gcc_no_link = xyes; then
116999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
117000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
117001 { (exit 1); exit 1; }; }
117003 cat >conftest.$ac_ext <<_ACEOF
117004 /* confdefs.h. */
117005 _ACEOF
117006 cat confdefs.h >>conftest.$ac_ext
117007 cat >>conftest.$ac_ext <<_ACEOF
117008 /* end confdefs.h. */
117009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
117010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
117011 #define $ac_func innocuous_$ac_func
117013 /* System header to define __stub macros and hopefully few prototypes,
117014 which can conflict with char $ac_func (); below.
117015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
117016 <limits.h> exists even on freestanding compilers. */
117018 #ifdef __STDC__
117019 # include <limits.h>
117020 #else
117021 # include <assert.h>
117022 #endif
117024 #undef $ac_func
117026 /* Override any gcc2 internal prototype to avoid an error. */
117027 #ifdef __cplusplus
117028 extern "C"
117030 #endif
117031 /* We use char because int might match the return type of a gcc2
117032 builtin and then its argument prototype would still apply. */
117033 char $ac_func ();
117034 /* The GNU C library defines this for functions which it implements
117035 to always fail with ENOSYS. Some functions are actually named
117036 something starting with __ and the normal name is an alias. */
117037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
117038 choke me
117039 #else
117040 char (*f) () = $ac_func;
117041 #endif
117042 #ifdef __cplusplus
117044 #endif
117047 main ()
117049 return f != $ac_func;
117051 return 0;
117053 _ACEOF
117054 rm -f conftest.$ac_objext conftest$ac_exeext
117055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117056 (eval $ac_link) 2>conftest.er1
117057 ac_status=$?
117058 grep -v '^ *+' conftest.er1 >conftest.err
117059 rm -f conftest.er1
117060 cat conftest.err >&5
117061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117062 (exit $ac_status); } &&
117063 { ac_try='test -z "$ac_c_werror_flag"
117064 || test ! -s conftest.err'
117065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117066 (eval $ac_try) 2>&5
117067 ac_status=$?
117068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117069 (exit $ac_status); }; } &&
117070 { ac_try='test -s conftest$ac_exeext'
117071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117072 (eval $ac_try) 2>&5
117073 ac_status=$?
117074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117075 (exit $ac_status); }; }; then
117076 eval "$as_ac_var=yes"
117078 echo "$as_me: failed program was:" >&5
117079 sed 's/^/| /' conftest.$ac_ext >&5
117081 eval "$as_ac_var=no"
117083 rm -f conftest.err conftest.$ac_objext \
117084 conftest$ac_exeext conftest.$ac_ext
117086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
117087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
117088 if test `eval echo '${'$as_ac_var'}'` = yes; then
117089 cat >>confdefs.h <<_ACEOF
117090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
117091 _ACEOF
117098 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
117099 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
117100 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
117101 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
117102 echo $ECHO_N "(cached) $ECHO_C" >&6
117107 ac_ext=cc
117108 ac_cpp='$CXXCPP $CPPFLAGS'
117109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
117113 cat >conftest.$ac_ext <<_ACEOF
117114 /* confdefs.h. */
117115 _ACEOF
117116 cat confdefs.h >>conftest.$ac_ext
117117 cat >>conftest.$ac_ext <<_ACEOF
117118 /* end confdefs.h. */
117119 #include <math.h>
117120 #ifdef HAVE_IEEEFP_H
117121 #include <ieeefp.h>
117122 #endif
117125 main ()
117127 _isinff(0);
117129 return 0;
117131 _ACEOF
117132 rm -f conftest.$ac_objext
117133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117134 (eval $ac_compile) 2>conftest.er1
117135 ac_status=$?
117136 grep -v '^ *+' conftest.er1 >conftest.err
117137 rm -f conftest.er1
117138 cat conftest.err >&5
117139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117140 (exit $ac_status); } &&
117141 { ac_try='test -z "$ac_cxx_werror_flag"
117142 || test ! -s conftest.err'
117143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117144 (eval $ac_try) 2>&5
117145 ac_status=$?
117146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117147 (exit $ac_status); }; } &&
117148 { ac_try='test -s conftest.$ac_objext'
117149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117150 (eval $ac_try) 2>&5
117151 ac_status=$?
117152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117153 (exit $ac_status); }; }; then
117154 glibcxx_cv_func__isinff_use=yes
117156 echo "$as_me: failed program was:" >&5
117157 sed 's/^/| /' conftest.$ac_ext >&5
117159 glibcxx_cv_func__isinff_use=no
117161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117162 ac_ext=c
117163 ac_cpp='$CPP $CPPFLAGS'
117164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
117172 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
117173 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
117175 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
117177 for ac_func in _isinff
117179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
117180 echo "$as_me:$LINENO: checking for $ac_func" >&5
117181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
117182 if eval "test \"\${$as_ac_var+set}\" = set"; then
117183 echo $ECHO_N "(cached) $ECHO_C" >&6
117185 if test x$gcc_no_link = xyes; then
117186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
117187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
117188 { (exit 1); exit 1; }; }
117190 cat >conftest.$ac_ext <<_ACEOF
117191 /* confdefs.h. */
117192 _ACEOF
117193 cat confdefs.h >>conftest.$ac_ext
117194 cat >>conftest.$ac_ext <<_ACEOF
117195 /* end confdefs.h. */
117196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
117197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
117198 #define $ac_func innocuous_$ac_func
117200 /* System header to define __stub macros and hopefully few prototypes,
117201 which can conflict with char $ac_func (); below.
117202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
117203 <limits.h> exists even on freestanding compilers. */
117205 #ifdef __STDC__
117206 # include <limits.h>
117207 #else
117208 # include <assert.h>
117209 #endif
117211 #undef $ac_func
117213 /* Override any gcc2 internal prototype to avoid an error. */
117214 #ifdef __cplusplus
117215 extern "C"
117217 #endif
117218 /* We use char because int might match the return type of a gcc2
117219 builtin and then its argument prototype would still apply. */
117220 char $ac_func ();
117221 /* The GNU C library defines this for functions which it implements
117222 to always fail with ENOSYS. Some functions are actually named
117223 something starting with __ and the normal name is an alias. */
117224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
117225 choke me
117226 #else
117227 char (*f) () = $ac_func;
117228 #endif
117229 #ifdef __cplusplus
117231 #endif
117234 main ()
117236 return f != $ac_func;
117238 return 0;
117240 _ACEOF
117241 rm -f conftest.$ac_objext conftest$ac_exeext
117242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117243 (eval $ac_link) 2>conftest.er1
117244 ac_status=$?
117245 grep -v '^ *+' conftest.er1 >conftest.err
117246 rm -f conftest.er1
117247 cat conftest.err >&5
117248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117249 (exit $ac_status); } &&
117250 { ac_try='test -z "$ac_c_werror_flag"
117251 || test ! -s conftest.err'
117252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117253 (eval $ac_try) 2>&5
117254 ac_status=$?
117255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117256 (exit $ac_status); }; } &&
117257 { ac_try='test -s conftest$ac_exeext'
117258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117259 (eval $ac_try) 2>&5
117260 ac_status=$?
117261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117262 (exit $ac_status); }; }; then
117263 eval "$as_ac_var=yes"
117265 echo "$as_me: failed program was:" >&5
117266 sed 's/^/| /' conftest.$ac_ext >&5
117268 eval "$as_ac_var=no"
117270 rm -f conftest.err conftest.$ac_objext \
117271 conftest$ac_exeext conftest.$ac_ext
117273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
117274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
117275 if test `eval echo '${'$as_ac_var'}'` = yes; then
117276 cat >>confdefs.h <<_ACEOF
117277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
117278 _ACEOF
117291 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
117292 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
117293 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
117294 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
117295 echo $ECHO_N "(cached) $ECHO_C" >&6
117300 ac_ext=cc
117301 ac_cpp='$CXXCPP $CPPFLAGS'
117302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
117306 cat >conftest.$ac_ext <<_ACEOF
117307 /* confdefs.h. */
117308 _ACEOF
117309 cat confdefs.h >>conftest.$ac_ext
117310 cat >>conftest.$ac_ext <<_ACEOF
117311 /* end confdefs.h. */
117312 #include <math.h>
117314 main ()
117316 atan2f(0, 0);
117318 return 0;
117320 _ACEOF
117321 rm -f conftest.$ac_objext
117322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117323 (eval $ac_compile) 2>conftest.er1
117324 ac_status=$?
117325 grep -v '^ *+' conftest.er1 >conftest.err
117326 rm -f conftest.er1
117327 cat conftest.err >&5
117328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117329 (exit $ac_status); } &&
117330 { ac_try='test -z "$ac_cxx_werror_flag"
117331 || test ! -s conftest.err'
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); }; } &&
117337 { ac_try='test -s conftest.$ac_objext'
117338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117339 (eval $ac_try) 2>&5
117340 ac_status=$?
117341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117342 (exit $ac_status); }; }; then
117343 glibcxx_cv_func_atan2f_use=yes
117345 echo "$as_me: failed program was:" >&5
117346 sed 's/^/| /' conftest.$ac_ext >&5
117348 glibcxx_cv_func_atan2f_use=no
117350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117351 ac_ext=c
117352 ac_cpp='$CPP $CPPFLAGS'
117353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
117361 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
117362 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
117364 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
117366 for ac_func in atan2f
117368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
117369 echo "$as_me:$LINENO: checking for $ac_func" >&5
117370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
117371 if eval "test \"\${$as_ac_var+set}\" = set"; then
117372 echo $ECHO_N "(cached) $ECHO_C" >&6
117374 if test x$gcc_no_link = xyes; then
117375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
117376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
117377 { (exit 1); exit 1; }; }
117379 cat >conftest.$ac_ext <<_ACEOF
117380 /* confdefs.h. */
117381 _ACEOF
117382 cat confdefs.h >>conftest.$ac_ext
117383 cat >>conftest.$ac_ext <<_ACEOF
117384 /* end confdefs.h. */
117385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
117386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
117387 #define $ac_func innocuous_$ac_func
117389 /* System header to define __stub macros and hopefully few prototypes,
117390 which can conflict with char $ac_func (); below.
117391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
117392 <limits.h> exists even on freestanding compilers. */
117394 #ifdef __STDC__
117395 # include <limits.h>
117396 #else
117397 # include <assert.h>
117398 #endif
117400 #undef $ac_func
117402 /* Override any gcc2 internal prototype to avoid an error. */
117403 #ifdef __cplusplus
117404 extern "C"
117406 #endif
117407 /* We use char because int might match the return type of a gcc2
117408 builtin and then its argument prototype would still apply. */
117409 char $ac_func ();
117410 /* The GNU C library defines this for functions which it implements
117411 to always fail with ENOSYS. Some functions are actually named
117412 something starting with __ and the normal name is an alias. */
117413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
117414 choke me
117415 #else
117416 char (*f) () = $ac_func;
117417 #endif
117418 #ifdef __cplusplus
117420 #endif
117423 main ()
117425 return f != $ac_func;
117427 return 0;
117429 _ACEOF
117430 rm -f conftest.$ac_objext conftest$ac_exeext
117431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117432 (eval $ac_link) 2>conftest.er1
117433 ac_status=$?
117434 grep -v '^ *+' conftest.er1 >conftest.err
117435 rm -f conftest.er1
117436 cat conftest.err >&5
117437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117438 (exit $ac_status); } &&
117439 { ac_try='test -z "$ac_c_werror_flag"
117440 || test ! -s conftest.err'
117441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117442 (eval $ac_try) 2>&5
117443 ac_status=$?
117444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117445 (exit $ac_status); }; } &&
117446 { ac_try='test -s conftest$ac_exeext'
117447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117448 (eval $ac_try) 2>&5
117449 ac_status=$?
117450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117451 (exit $ac_status); }; }; then
117452 eval "$as_ac_var=yes"
117454 echo "$as_me: failed program was:" >&5
117455 sed 's/^/| /' conftest.$ac_ext >&5
117457 eval "$as_ac_var=no"
117459 rm -f conftest.err conftest.$ac_objext \
117460 conftest$ac_exeext conftest.$ac_ext
117462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
117463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
117464 if test `eval echo '${'$as_ac_var'}'` = yes; then
117465 cat >>confdefs.h <<_ACEOF
117466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
117467 _ACEOF
117474 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
117475 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
117476 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
117477 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
117478 echo $ECHO_N "(cached) $ECHO_C" >&6
117483 ac_ext=cc
117484 ac_cpp='$CXXCPP $CPPFLAGS'
117485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
117489 cat >conftest.$ac_ext <<_ACEOF
117490 /* confdefs.h. */
117491 _ACEOF
117492 cat confdefs.h >>conftest.$ac_ext
117493 cat >>conftest.$ac_ext <<_ACEOF
117494 /* end confdefs.h. */
117495 #include <math.h>
117497 main ()
117499 _atan2f(0, 0);
117501 return 0;
117503 _ACEOF
117504 rm -f conftest.$ac_objext
117505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117506 (eval $ac_compile) 2>conftest.er1
117507 ac_status=$?
117508 grep -v '^ *+' conftest.er1 >conftest.err
117509 rm -f conftest.er1
117510 cat conftest.err >&5
117511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117512 (exit $ac_status); } &&
117513 { ac_try='test -z "$ac_cxx_werror_flag"
117514 || test ! -s conftest.err'
117515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117516 (eval $ac_try) 2>&5
117517 ac_status=$?
117518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117519 (exit $ac_status); }; } &&
117520 { ac_try='test -s conftest.$ac_objext'
117521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117522 (eval $ac_try) 2>&5
117523 ac_status=$?
117524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117525 (exit $ac_status); }; }; then
117526 glibcxx_cv_func__atan2f_use=yes
117528 echo "$as_me: failed program was:" >&5
117529 sed 's/^/| /' conftest.$ac_ext >&5
117531 glibcxx_cv_func__atan2f_use=no
117533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117534 ac_ext=c
117535 ac_cpp='$CPP $CPPFLAGS'
117536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
117544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
117545 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
117547 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
117549 for ac_func in _atan2f
117551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
117552 echo "$as_me:$LINENO: checking for $ac_func" >&5
117553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
117554 if eval "test \"\${$as_ac_var+set}\" = set"; then
117555 echo $ECHO_N "(cached) $ECHO_C" >&6
117557 if test x$gcc_no_link = xyes; then
117558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
117559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
117560 { (exit 1); exit 1; }; }
117562 cat >conftest.$ac_ext <<_ACEOF
117563 /* confdefs.h. */
117564 _ACEOF
117565 cat confdefs.h >>conftest.$ac_ext
117566 cat >>conftest.$ac_ext <<_ACEOF
117567 /* end confdefs.h. */
117568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
117569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
117570 #define $ac_func innocuous_$ac_func
117572 /* System header to define __stub macros and hopefully few prototypes,
117573 which can conflict with char $ac_func (); below.
117574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
117575 <limits.h> exists even on freestanding compilers. */
117577 #ifdef __STDC__
117578 # include <limits.h>
117579 #else
117580 # include <assert.h>
117581 #endif
117583 #undef $ac_func
117585 /* Override any gcc2 internal prototype to avoid an error. */
117586 #ifdef __cplusplus
117587 extern "C"
117589 #endif
117590 /* We use char because int might match the return type of a gcc2
117591 builtin and then its argument prototype would still apply. */
117592 char $ac_func ();
117593 /* The GNU C library defines this for functions which it implements
117594 to always fail with ENOSYS. Some functions are actually named
117595 something starting with __ and the normal name is an alias. */
117596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
117597 choke me
117598 #else
117599 char (*f) () = $ac_func;
117600 #endif
117601 #ifdef __cplusplus
117603 #endif
117606 main ()
117608 return f != $ac_func;
117610 return 0;
117612 _ACEOF
117613 rm -f conftest.$ac_objext conftest$ac_exeext
117614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117615 (eval $ac_link) 2>conftest.er1
117616 ac_status=$?
117617 grep -v '^ *+' conftest.er1 >conftest.err
117618 rm -f conftest.er1
117619 cat conftest.err >&5
117620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117621 (exit $ac_status); } &&
117622 { ac_try='test -z "$ac_c_werror_flag"
117623 || test ! -s conftest.err'
117624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117625 (eval $ac_try) 2>&5
117626 ac_status=$?
117627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117628 (exit $ac_status); }; } &&
117629 { ac_try='test -s conftest$ac_exeext'
117630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117631 (eval $ac_try) 2>&5
117632 ac_status=$?
117633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117634 (exit $ac_status); }; }; then
117635 eval "$as_ac_var=yes"
117637 echo "$as_me: failed program was:" >&5
117638 sed 's/^/| /' conftest.$ac_ext >&5
117640 eval "$as_ac_var=no"
117642 rm -f conftest.err conftest.$ac_objext \
117643 conftest$ac_exeext conftest.$ac_ext
117645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
117646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
117647 if test `eval echo '${'$as_ac_var'}'` = yes; then
117648 cat >>confdefs.h <<_ACEOF
117649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
117650 _ACEOF
117663 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
117664 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
117665 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
117666 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
117667 echo $ECHO_N "(cached) $ECHO_C" >&6
117672 ac_ext=cc
117673 ac_cpp='$CXXCPP $CPPFLAGS'
117674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
117678 cat >conftest.$ac_ext <<_ACEOF
117679 /* confdefs.h. */
117680 _ACEOF
117681 cat confdefs.h >>conftest.$ac_ext
117682 cat >>conftest.$ac_ext <<_ACEOF
117683 /* end confdefs.h. */
117684 #include <math.h>
117685 #ifdef HAVE_IEEEFP_H
117686 #include <ieeefp.h>
117687 #endif
117690 main ()
117692 fabsf(0);
117694 return 0;
117696 _ACEOF
117697 rm -f conftest.$ac_objext
117698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117699 (eval $ac_compile) 2>conftest.er1
117700 ac_status=$?
117701 grep -v '^ *+' conftest.er1 >conftest.err
117702 rm -f conftest.er1
117703 cat conftest.err >&5
117704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117705 (exit $ac_status); } &&
117706 { ac_try='test -z "$ac_cxx_werror_flag"
117707 || test ! -s conftest.err'
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); }; } &&
117713 { ac_try='test -s conftest.$ac_objext'
117714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117715 (eval $ac_try) 2>&5
117716 ac_status=$?
117717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117718 (exit $ac_status); }; }; then
117719 glibcxx_cv_func_fabsf_use=yes
117721 echo "$as_me: failed program was:" >&5
117722 sed 's/^/| /' conftest.$ac_ext >&5
117724 glibcxx_cv_func_fabsf_use=no
117726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117727 ac_ext=c
117728 ac_cpp='$CPP $CPPFLAGS'
117729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
117737 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
117738 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
117740 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
117742 for ac_func in fabsf
117744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
117745 echo "$as_me:$LINENO: checking for $ac_func" >&5
117746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
117747 if eval "test \"\${$as_ac_var+set}\" = set"; then
117748 echo $ECHO_N "(cached) $ECHO_C" >&6
117750 if test x$gcc_no_link = xyes; then
117751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
117752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
117753 { (exit 1); exit 1; }; }
117755 cat >conftest.$ac_ext <<_ACEOF
117756 /* confdefs.h. */
117757 _ACEOF
117758 cat confdefs.h >>conftest.$ac_ext
117759 cat >>conftest.$ac_ext <<_ACEOF
117760 /* end confdefs.h. */
117761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
117762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
117763 #define $ac_func innocuous_$ac_func
117765 /* System header to define __stub macros and hopefully few prototypes,
117766 which can conflict with char $ac_func (); below.
117767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
117768 <limits.h> exists even on freestanding compilers. */
117770 #ifdef __STDC__
117771 # include <limits.h>
117772 #else
117773 # include <assert.h>
117774 #endif
117776 #undef $ac_func
117778 /* Override any gcc2 internal prototype to avoid an error. */
117779 #ifdef __cplusplus
117780 extern "C"
117782 #endif
117783 /* We use char because int might match the return type of a gcc2
117784 builtin and then its argument prototype would still apply. */
117785 char $ac_func ();
117786 /* The GNU C library defines this for functions which it implements
117787 to always fail with ENOSYS. Some functions are actually named
117788 something starting with __ and the normal name is an alias. */
117789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
117790 choke me
117791 #else
117792 char (*f) () = $ac_func;
117793 #endif
117794 #ifdef __cplusplus
117796 #endif
117799 main ()
117801 return f != $ac_func;
117803 return 0;
117805 _ACEOF
117806 rm -f conftest.$ac_objext conftest$ac_exeext
117807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117808 (eval $ac_link) 2>conftest.er1
117809 ac_status=$?
117810 grep -v '^ *+' conftest.er1 >conftest.err
117811 rm -f conftest.er1
117812 cat conftest.err >&5
117813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117814 (exit $ac_status); } &&
117815 { ac_try='test -z "$ac_c_werror_flag"
117816 || test ! -s conftest.err'
117817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117818 (eval $ac_try) 2>&5
117819 ac_status=$?
117820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117821 (exit $ac_status); }; } &&
117822 { ac_try='test -s conftest$ac_exeext'
117823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117824 (eval $ac_try) 2>&5
117825 ac_status=$?
117826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117827 (exit $ac_status); }; }; then
117828 eval "$as_ac_var=yes"
117830 echo "$as_me: failed program was:" >&5
117831 sed 's/^/| /' conftest.$ac_ext >&5
117833 eval "$as_ac_var=no"
117835 rm -f conftest.err conftest.$ac_objext \
117836 conftest$ac_exeext conftest.$ac_ext
117838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
117839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
117840 if test `eval echo '${'$as_ac_var'}'` = yes; then
117841 cat >>confdefs.h <<_ACEOF
117842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
117843 _ACEOF
117850 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
117851 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
117852 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
117853 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
117854 echo $ECHO_N "(cached) $ECHO_C" >&6
117859 ac_ext=cc
117860 ac_cpp='$CXXCPP $CPPFLAGS'
117861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
117865 cat >conftest.$ac_ext <<_ACEOF
117866 /* confdefs.h. */
117867 _ACEOF
117868 cat confdefs.h >>conftest.$ac_ext
117869 cat >>conftest.$ac_ext <<_ACEOF
117870 /* end confdefs.h. */
117871 #include <math.h>
117872 #ifdef HAVE_IEEEFP_H
117873 #include <ieeefp.h>
117874 #endif
117877 main ()
117879 _fabsf(0);
117881 return 0;
117883 _ACEOF
117884 rm -f conftest.$ac_objext
117885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117886 (eval $ac_compile) 2>conftest.er1
117887 ac_status=$?
117888 grep -v '^ *+' conftest.er1 >conftest.err
117889 rm -f conftest.er1
117890 cat conftest.err >&5
117891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117892 (exit $ac_status); } &&
117893 { ac_try='test -z "$ac_cxx_werror_flag"
117894 || test ! -s conftest.err'
117895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117896 (eval $ac_try) 2>&5
117897 ac_status=$?
117898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117899 (exit $ac_status); }; } &&
117900 { ac_try='test -s conftest.$ac_objext'
117901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117902 (eval $ac_try) 2>&5
117903 ac_status=$?
117904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117905 (exit $ac_status); }; }; then
117906 glibcxx_cv_func__fabsf_use=yes
117908 echo "$as_me: failed program was:" >&5
117909 sed 's/^/| /' conftest.$ac_ext >&5
117911 glibcxx_cv_func__fabsf_use=no
117913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117914 ac_ext=c
117915 ac_cpp='$CPP $CPPFLAGS'
117916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
117924 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
117925 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
117927 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
117929 for ac_func in _fabsf
117931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
117932 echo "$as_me:$LINENO: checking for $ac_func" >&5
117933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
117934 if eval "test \"\${$as_ac_var+set}\" = set"; then
117935 echo $ECHO_N "(cached) $ECHO_C" >&6
117937 if test x$gcc_no_link = xyes; then
117938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
117939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
117940 { (exit 1); exit 1; }; }
117942 cat >conftest.$ac_ext <<_ACEOF
117943 /* confdefs.h. */
117944 _ACEOF
117945 cat confdefs.h >>conftest.$ac_ext
117946 cat >>conftest.$ac_ext <<_ACEOF
117947 /* end confdefs.h. */
117948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
117949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
117950 #define $ac_func innocuous_$ac_func
117952 /* System header to define __stub macros and hopefully few prototypes,
117953 which can conflict with char $ac_func (); below.
117954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
117955 <limits.h> exists even on freestanding compilers. */
117957 #ifdef __STDC__
117958 # include <limits.h>
117959 #else
117960 # include <assert.h>
117961 #endif
117963 #undef $ac_func
117965 /* Override any gcc2 internal prototype to avoid an error. */
117966 #ifdef __cplusplus
117967 extern "C"
117969 #endif
117970 /* We use char because int might match the return type of a gcc2
117971 builtin and then its argument prototype would still apply. */
117972 char $ac_func ();
117973 /* The GNU C library defines this for functions which it implements
117974 to always fail with ENOSYS. Some functions are actually named
117975 something starting with __ and the normal name is an alias. */
117976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
117977 choke me
117978 #else
117979 char (*f) () = $ac_func;
117980 #endif
117981 #ifdef __cplusplus
117983 #endif
117986 main ()
117988 return f != $ac_func;
117990 return 0;
117992 _ACEOF
117993 rm -f conftest.$ac_objext conftest$ac_exeext
117994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117995 (eval $ac_link) 2>conftest.er1
117996 ac_status=$?
117997 grep -v '^ *+' conftest.er1 >conftest.err
117998 rm -f conftest.er1
117999 cat conftest.err >&5
118000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118001 (exit $ac_status); } &&
118002 { ac_try='test -z "$ac_c_werror_flag"
118003 || test ! -s conftest.err'
118004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118005 (eval $ac_try) 2>&5
118006 ac_status=$?
118007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118008 (exit $ac_status); }; } &&
118009 { ac_try='test -s conftest$ac_exeext'
118010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118011 (eval $ac_try) 2>&5
118012 ac_status=$?
118013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118014 (exit $ac_status); }; }; then
118015 eval "$as_ac_var=yes"
118017 echo "$as_me: failed program was:" >&5
118018 sed 's/^/| /' conftest.$ac_ext >&5
118020 eval "$as_ac_var=no"
118022 rm -f conftest.err conftest.$ac_objext \
118023 conftest$ac_exeext conftest.$ac_ext
118025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
118026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
118027 if test `eval echo '${'$as_ac_var'}'` = yes; then
118028 cat >>confdefs.h <<_ACEOF
118029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
118030 _ACEOF
118043 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
118044 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
118045 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
118046 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
118047 echo $ECHO_N "(cached) $ECHO_C" >&6
118052 ac_ext=cc
118053 ac_cpp='$CXXCPP $CPPFLAGS'
118054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
118058 cat >conftest.$ac_ext <<_ACEOF
118059 /* confdefs.h. */
118060 _ACEOF
118061 cat confdefs.h >>conftest.$ac_ext
118062 cat >>conftest.$ac_ext <<_ACEOF
118063 /* end confdefs.h. */
118064 #include <math.h>
118066 main ()
118068 fmodf(0, 0);
118070 return 0;
118072 _ACEOF
118073 rm -f conftest.$ac_objext
118074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118075 (eval $ac_compile) 2>conftest.er1
118076 ac_status=$?
118077 grep -v '^ *+' conftest.er1 >conftest.err
118078 rm -f conftest.er1
118079 cat conftest.err >&5
118080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118081 (exit $ac_status); } &&
118082 { ac_try='test -z "$ac_cxx_werror_flag"
118083 || test ! -s conftest.err'
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); }; } &&
118089 { ac_try='test -s conftest.$ac_objext'
118090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118091 (eval $ac_try) 2>&5
118092 ac_status=$?
118093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118094 (exit $ac_status); }; }; then
118095 glibcxx_cv_func_fmodf_use=yes
118097 echo "$as_me: failed program was:" >&5
118098 sed 's/^/| /' conftest.$ac_ext >&5
118100 glibcxx_cv_func_fmodf_use=no
118102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118103 ac_ext=c
118104 ac_cpp='$CPP $CPPFLAGS'
118105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
118113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
118114 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
118116 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
118118 for ac_func in fmodf
118120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
118121 echo "$as_me:$LINENO: checking for $ac_func" >&5
118122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
118123 if eval "test \"\${$as_ac_var+set}\" = set"; then
118124 echo $ECHO_N "(cached) $ECHO_C" >&6
118126 if test x$gcc_no_link = xyes; then
118127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118129 { (exit 1); exit 1; }; }
118131 cat >conftest.$ac_ext <<_ACEOF
118132 /* confdefs.h. */
118133 _ACEOF
118134 cat confdefs.h >>conftest.$ac_ext
118135 cat >>conftest.$ac_ext <<_ACEOF
118136 /* end confdefs.h. */
118137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
118138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
118139 #define $ac_func innocuous_$ac_func
118141 /* System header to define __stub macros and hopefully few prototypes,
118142 which can conflict with char $ac_func (); below.
118143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
118144 <limits.h> exists even on freestanding compilers. */
118146 #ifdef __STDC__
118147 # include <limits.h>
118148 #else
118149 # include <assert.h>
118150 #endif
118152 #undef $ac_func
118154 /* Override any gcc2 internal prototype to avoid an error. */
118155 #ifdef __cplusplus
118156 extern "C"
118158 #endif
118159 /* We use char because int might match the return type of a gcc2
118160 builtin and then its argument prototype would still apply. */
118161 char $ac_func ();
118162 /* The GNU C library defines this for functions which it implements
118163 to always fail with ENOSYS. Some functions are actually named
118164 something starting with __ and the normal name is an alias. */
118165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
118166 choke me
118167 #else
118168 char (*f) () = $ac_func;
118169 #endif
118170 #ifdef __cplusplus
118172 #endif
118175 main ()
118177 return f != $ac_func;
118179 return 0;
118181 _ACEOF
118182 rm -f conftest.$ac_objext conftest$ac_exeext
118183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118184 (eval $ac_link) 2>conftest.er1
118185 ac_status=$?
118186 grep -v '^ *+' conftest.er1 >conftest.err
118187 rm -f conftest.er1
118188 cat conftest.err >&5
118189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118190 (exit $ac_status); } &&
118191 { ac_try='test -z "$ac_c_werror_flag"
118192 || test ! -s conftest.err'
118193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118194 (eval $ac_try) 2>&5
118195 ac_status=$?
118196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118197 (exit $ac_status); }; } &&
118198 { ac_try='test -s conftest$ac_exeext'
118199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118200 (eval $ac_try) 2>&5
118201 ac_status=$?
118202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118203 (exit $ac_status); }; }; then
118204 eval "$as_ac_var=yes"
118206 echo "$as_me: failed program was:" >&5
118207 sed 's/^/| /' conftest.$ac_ext >&5
118209 eval "$as_ac_var=no"
118211 rm -f conftest.err conftest.$ac_objext \
118212 conftest$ac_exeext conftest.$ac_ext
118214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
118215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
118216 if test `eval echo '${'$as_ac_var'}'` = yes; then
118217 cat >>confdefs.h <<_ACEOF
118218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
118219 _ACEOF
118226 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
118227 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
118228 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
118229 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
118230 echo $ECHO_N "(cached) $ECHO_C" >&6
118235 ac_ext=cc
118236 ac_cpp='$CXXCPP $CPPFLAGS'
118237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
118241 cat >conftest.$ac_ext <<_ACEOF
118242 /* confdefs.h. */
118243 _ACEOF
118244 cat confdefs.h >>conftest.$ac_ext
118245 cat >>conftest.$ac_ext <<_ACEOF
118246 /* end confdefs.h. */
118247 #include <math.h>
118249 main ()
118251 _fmodf(0, 0);
118253 return 0;
118255 _ACEOF
118256 rm -f conftest.$ac_objext
118257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118258 (eval $ac_compile) 2>conftest.er1
118259 ac_status=$?
118260 grep -v '^ *+' conftest.er1 >conftest.err
118261 rm -f conftest.er1
118262 cat conftest.err >&5
118263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118264 (exit $ac_status); } &&
118265 { ac_try='test -z "$ac_cxx_werror_flag"
118266 || test ! -s conftest.err'
118267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118268 (eval $ac_try) 2>&5
118269 ac_status=$?
118270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118271 (exit $ac_status); }; } &&
118272 { ac_try='test -s conftest.$ac_objext'
118273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118274 (eval $ac_try) 2>&5
118275 ac_status=$?
118276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118277 (exit $ac_status); }; }; then
118278 glibcxx_cv_func__fmodf_use=yes
118280 echo "$as_me: failed program was:" >&5
118281 sed 's/^/| /' conftest.$ac_ext >&5
118283 glibcxx_cv_func__fmodf_use=no
118285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118286 ac_ext=c
118287 ac_cpp='$CPP $CPPFLAGS'
118288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
118296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
118297 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
118299 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
118301 for ac_func in _fmodf
118303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
118304 echo "$as_me:$LINENO: checking for $ac_func" >&5
118305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
118306 if eval "test \"\${$as_ac_var+set}\" = set"; then
118307 echo $ECHO_N "(cached) $ECHO_C" >&6
118309 if test x$gcc_no_link = xyes; then
118310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118312 { (exit 1); exit 1; }; }
118314 cat >conftest.$ac_ext <<_ACEOF
118315 /* confdefs.h. */
118316 _ACEOF
118317 cat confdefs.h >>conftest.$ac_ext
118318 cat >>conftest.$ac_ext <<_ACEOF
118319 /* end confdefs.h. */
118320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
118321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
118322 #define $ac_func innocuous_$ac_func
118324 /* System header to define __stub macros and hopefully few prototypes,
118325 which can conflict with char $ac_func (); below.
118326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
118327 <limits.h> exists even on freestanding compilers. */
118329 #ifdef __STDC__
118330 # include <limits.h>
118331 #else
118332 # include <assert.h>
118333 #endif
118335 #undef $ac_func
118337 /* Override any gcc2 internal prototype to avoid an error. */
118338 #ifdef __cplusplus
118339 extern "C"
118341 #endif
118342 /* We use char because int might match the return type of a gcc2
118343 builtin and then its argument prototype would still apply. */
118344 char $ac_func ();
118345 /* The GNU C library defines this for functions which it implements
118346 to always fail with ENOSYS. Some functions are actually named
118347 something starting with __ and the normal name is an alias. */
118348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
118349 choke me
118350 #else
118351 char (*f) () = $ac_func;
118352 #endif
118353 #ifdef __cplusplus
118355 #endif
118358 main ()
118360 return f != $ac_func;
118362 return 0;
118364 _ACEOF
118365 rm -f conftest.$ac_objext conftest$ac_exeext
118366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118367 (eval $ac_link) 2>conftest.er1
118368 ac_status=$?
118369 grep -v '^ *+' conftest.er1 >conftest.err
118370 rm -f conftest.er1
118371 cat conftest.err >&5
118372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118373 (exit $ac_status); } &&
118374 { ac_try='test -z "$ac_c_werror_flag"
118375 || test ! -s conftest.err'
118376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118377 (eval $ac_try) 2>&5
118378 ac_status=$?
118379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118380 (exit $ac_status); }; } &&
118381 { ac_try='test -s conftest$ac_exeext'
118382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118383 (eval $ac_try) 2>&5
118384 ac_status=$?
118385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118386 (exit $ac_status); }; }; then
118387 eval "$as_ac_var=yes"
118389 echo "$as_me: failed program was:" >&5
118390 sed 's/^/| /' conftest.$ac_ext >&5
118392 eval "$as_ac_var=no"
118394 rm -f conftest.err conftest.$ac_objext \
118395 conftest$ac_exeext conftest.$ac_ext
118397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
118398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
118399 if test `eval echo '${'$as_ac_var'}'` = yes; then
118400 cat >>confdefs.h <<_ACEOF
118401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
118402 _ACEOF
118415 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
118416 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
118417 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
118418 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
118419 echo $ECHO_N "(cached) $ECHO_C" >&6
118424 ac_ext=cc
118425 ac_cpp='$CXXCPP $CPPFLAGS'
118426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
118430 cat >conftest.$ac_ext <<_ACEOF
118431 /* confdefs.h. */
118432 _ACEOF
118433 cat confdefs.h >>conftest.$ac_ext
118434 cat >>conftest.$ac_ext <<_ACEOF
118435 /* end confdefs.h. */
118436 #include <math.h>
118438 main ()
118440 frexpf(0, 0);
118442 return 0;
118444 _ACEOF
118445 rm -f conftest.$ac_objext
118446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118447 (eval $ac_compile) 2>conftest.er1
118448 ac_status=$?
118449 grep -v '^ *+' conftest.er1 >conftest.err
118450 rm -f conftest.er1
118451 cat conftest.err >&5
118452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118453 (exit $ac_status); } &&
118454 { ac_try='test -z "$ac_cxx_werror_flag"
118455 || test ! -s conftest.err'
118456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118457 (eval $ac_try) 2>&5
118458 ac_status=$?
118459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118460 (exit $ac_status); }; } &&
118461 { ac_try='test -s conftest.$ac_objext'
118462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118463 (eval $ac_try) 2>&5
118464 ac_status=$?
118465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118466 (exit $ac_status); }; }; then
118467 glibcxx_cv_func_frexpf_use=yes
118469 echo "$as_me: failed program was:" >&5
118470 sed 's/^/| /' conftest.$ac_ext >&5
118472 glibcxx_cv_func_frexpf_use=no
118474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118475 ac_ext=c
118476 ac_cpp='$CPP $CPPFLAGS'
118477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
118485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
118486 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
118488 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
118490 for ac_func in frexpf
118492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
118493 echo "$as_me:$LINENO: checking for $ac_func" >&5
118494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
118495 if eval "test \"\${$as_ac_var+set}\" = set"; then
118496 echo $ECHO_N "(cached) $ECHO_C" >&6
118498 if test x$gcc_no_link = xyes; then
118499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118501 { (exit 1); exit 1; }; }
118503 cat >conftest.$ac_ext <<_ACEOF
118504 /* confdefs.h. */
118505 _ACEOF
118506 cat confdefs.h >>conftest.$ac_ext
118507 cat >>conftest.$ac_ext <<_ACEOF
118508 /* end confdefs.h. */
118509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
118510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
118511 #define $ac_func innocuous_$ac_func
118513 /* System header to define __stub macros and hopefully few prototypes,
118514 which can conflict with char $ac_func (); below.
118515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
118516 <limits.h> exists even on freestanding compilers. */
118518 #ifdef __STDC__
118519 # include <limits.h>
118520 #else
118521 # include <assert.h>
118522 #endif
118524 #undef $ac_func
118526 /* Override any gcc2 internal prototype to avoid an error. */
118527 #ifdef __cplusplus
118528 extern "C"
118530 #endif
118531 /* We use char because int might match the return type of a gcc2
118532 builtin and then its argument prototype would still apply. */
118533 char $ac_func ();
118534 /* The GNU C library defines this for functions which it implements
118535 to always fail with ENOSYS. Some functions are actually named
118536 something starting with __ and the normal name is an alias. */
118537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
118538 choke me
118539 #else
118540 char (*f) () = $ac_func;
118541 #endif
118542 #ifdef __cplusplus
118544 #endif
118547 main ()
118549 return f != $ac_func;
118551 return 0;
118553 _ACEOF
118554 rm -f conftest.$ac_objext conftest$ac_exeext
118555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118556 (eval $ac_link) 2>conftest.er1
118557 ac_status=$?
118558 grep -v '^ *+' conftest.er1 >conftest.err
118559 rm -f conftest.er1
118560 cat conftest.err >&5
118561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118562 (exit $ac_status); } &&
118563 { ac_try='test -z "$ac_c_werror_flag"
118564 || test ! -s conftest.err'
118565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118566 (eval $ac_try) 2>&5
118567 ac_status=$?
118568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118569 (exit $ac_status); }; } &&
118570 { ac_try='test -s conftest$ac_exeext'
118571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118572 (eval $ac_try) 2>&5
118573 ac_status=$?
118574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118575 (exit $ac_status); }; }; then
118576 eval "$as_ac_var=yes"
118578 echo "$as_me: failed program was:" >&5
118579 sed 's/^/| /' conftest.$ac_ext >&5
118581 eval "$as_ac_var=no"
118583 rm -f conftest.err conftest.$ac_objext \
118584 conftest$ac_exeext conftest.$ac_ext
118586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
118587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
118588 if test `eval echo '${'$as_ac_var'}'` = yes; then
118589 cat >>confdefs.h <<_ACEOF
118590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
118591 _ACEOF
118598 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
118599 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
118600 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
118601 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
118602 echo $ECHO_N "(cached) $ECHO_C" >&6
118607 ac_ext=cc
118608 ac_cpp='$CXXCPP $CPPFLAGS'
118609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
118613 cat >conftest.$ac_ext <<_ACEOF
118614 /* confdefs.h. */
118615 _ACEOF
118616 cat confdefs.h >>conftest.$ac_ext
118617 cat >>conftest.$ac_ext <<_ACEOF
118618 /* end confdefs.h. */
118619 #include <math.h>
118621 main ()
118623 _frexpf(0, 0);
118625 return 0;
118627 _ACEOF
118628 rm -f conftest.$ac_objext
118629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118630 (eval $ac_compile) 2>conftest.er1
118631 ac_status=$?
118632 grep -v '^ *+' conftest.er1 >conftest.err
118633 rm -f conftest.er1
118634 cat conftest.err >&5
118635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118636 (exit $ac_status); } &&
118637 { ac_try='test -z "$ac_cxx_werror_flag"
118638 || test ! -s conftest.err'
118639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118640 (eval $ac_try) 2>&5
118641 ac_status=$?
118642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118643 (exit $ac_status); }; } &&
118644 { ac_try='test -s conftest.$ac_objext'
118645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118646 (eval $ac_try) 2>&5
118647 ac_status=$?
118648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118649 (exit $ac_status); }; }; then
118650 glibcxx_cv_func__frexpf_use=yes
118652 echo "$as_me: failed program was:" >&5
118653 sed 's/^/| /' conftest.$ac_ext >&5
118655 glibcxx_cv_func__frexpf_use=no
118657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118658 ac_ext=c
118659 ac_cpp='$CPP $CPPFLAGS'
118660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
118668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
118669 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
118671 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
118673 for ac_func in _frexpf
118675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
118676 echo "$as_me:$LINENO: checking for $ac_func" >&5
118677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
118678 if eval "test \"\${$as_ac_var+set}\" = set"; then
118679 echo $ECHO_N "(cached) $ECHO_C" >&6
118681 if test x$gcc_no_link = xyes; then
118682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118684 { (exit 1); exit 1; }; }
118686 cat >conftest.$ac_ext <<_ACEOF
118687 /* confdefs.h. */
118688 _ACEOF
118689 cat confdefs.h >>conftest.$ac_ext
118690 cat >>conftest.$ac_ext <<_ACEOF
118691 /* end confdefs.h. */
118692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
118693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
118694 #define $ac_func innocuous_$ac_func
118696 /* System header to define __stub macros and hopefully few prototypes,
118697 which can conflict with char $ac_func (); below.
118698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
118699 <limits.h> exists even on freestanding compilers. */
118701 #ifdef __STDC__
118702 # include <limits.h>
118703 #else
118704 # include <assert.h>
118705 #endif
118707 #undef $ac_func
118709 /* Override any gcc2 internal prototype to avoid an error. */
118710 #ifdef __cplusplus
118711 extern "C"
118713 #endif
118714 /* We use char because int might match the return type of a gcc2
118715 builtin and then its argument prototype would still apply. */
118716 char $ac_func ();
118717 /* The GNU C library defines this for functions which it implements
118718 to always fail with ENOSYS. Some functions are actually named
118719 something starting with __ and the normal name is an alias. */
118720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
118721 choke me
118722 #else
118723 char (*f) () = $ac_func;
118724 #endif
118725 #ifdef __cplusplus
118727 #endif
118730 main ()
118732 return f != $ac_func;
118734 return 0;
118736 _ACEOF
118737 rm -f conftest.$ac_objext conftest$ac_exeext
118738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118739 (eval $ac_link) 2>conftest.er1
118740 ac_status=$?
118741 grep -v '^ *+' conftest.er1 >conftest.err
118742 rm -f conftest.er1
118743 cat conftest.err >&5
118744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118745 (exit $ac_status); } &&
118746 { ac_try='test -z "$ac_c_werror_flag"
118747 || test ! -s conftest.err'
118748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118749 (eval $ac_try) 2>&5
118750 ac_status=$?
118751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118752 (exit $ac_status); }; } &&
118753 { ac_try='test -s conftest$ac_exeext'
118754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118755 (eval $ac_try) 2>&5
118756 ac_status=$?
118757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118758 (exit $ac_status); }; }; then
118759 eval "$as_ac_var=yes"
118761 echo "$as_me: failed program was:" >&5
118762 sed 's/^/| /' conftest.$ac_ext >&5
118764 eval "$as_ac_var=no"
118766 rm -f conftest.err conftest.$ac_objext \
118767 conftest$ac_exeext conftest.$ac_ext
118769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
118770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
118771 if test `eval echo '${'$as_ac_var'}'` = yes; then
118772 cat >>confdefs.h <<_ACEOF
118773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
118774 _ACEOF
118787 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
118788 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
118789 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
118790 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
118791 echo $ECHO_N "(cached) $ECHO_C" >&6
118796 ac_ext=cc
118797 ac_cpp='$CXXCPP $CPPFLAGS'
118798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
118802 cat >conftest.$ac_ext <<_ACEOF
118803 /* confdefs.h. */
118804 _ACEOF
118805 cat confdefs.h >>conftest.$ac_ext
118806 cat >>conftest.$ac_ext <<_ACEOF
118807 /* end confdefs.h. */
118808 #include <math.h>
118810 main ()
118812 hypotf(0, 0);
118814 return 0;
118816 _ACEOF
118817 rm -f conftest.$ac_objext
118818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118819 (eval $ac_compile) 2>conftest.er1
118820 ac_status=$?
118821 grep -v '^ *+' conftest.er1 >conftest.err
118822 rm -f conftest.er1
118823 cat conftest.err >&5
118824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118825 (exit $ac_status); } &&
118826 { ac_try='test -z "$ac_cxx_werror_flag"
118827 || test ! -s conftest.err'
118828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118829 (eval $ac_try) 2>&5
118830 ac_status=$?
118831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118832 (exit $ac_status); }; } &&
118833 { ac_try='test -s conftest.$ac_objext'
118834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118835 (eval $ac_try) 2>&5
118836 ac_status=$?
118837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118838 (exit $ac_status); }; }; then
118839 glibcxx_cv_func_hypotf_use=yes
118841 echo "$as_me: failed program was:" >&5
118842 sed 's/^/| /' conftest.$ac_ext >&5
118844 glibcxx_cv_func_hypotf_use=no
118846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118847 ac_ext=c
118848 ac_cpp='$CPP $CPPFLAGS'
118849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
118857 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
118858 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
118860 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
118862 for ac_func in hypotf
118864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
118865 echo "$as_me:$LINENO: checking for $ac_func" >&5
118866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
118867 if eval "test \"\${$as_ac_var+set}\" = set"; then
118868 echo $ECHO_N "(cached) $ECHO_C" >&6
118870 if test x$gcc_no_link = xyes; then
118871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118873 { (exit 1); exit 1; }; }
118875 cat >conftest.$ac_ext <<_ACEOF
118876 /* confdefs.h. */
118877 _ACEOF
118878 cat confdefs.h >>conftest.$ac_ext
118879 cat >>conftest.$ac_ext <<_ACEOF
118880 /* end confdefs.h. */
118881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
118882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
118883 #define $ac_func innocuous_$ac_func
118885 /* System header to define __stub macros and hopefully few prototypes,
118886 which can conflict with char $ac_func (); below.
118887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
118888 <limits.h> exists even on freestanding compilers. */
118890 #ifdef __STDC__
118891 # include <limits.h>
118892 #else
118893 # include <assert.h>
118894 #endif
118896 #undef $ac_func
118898 /* Override any gcc2 internal prototype to avoid an error. */
118899 #ifdef __cplusplus
118900 extern "C"
118902 #endif
118903 /* We use char because int might match the return type of a gcc2
118904 builtin and then its argument prototype would still apply. */
118905 char $ac_func ();
118906 /* The GNU C library defines this for functions which it implements
118907 to always fail with ENOSYS. Some functions are actually named
118908 something starting with __ and the normal name is an alias. */
118909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
118910 choke me
118911 #else
118912 char (*f) () = $ac_func;
118913 #endif
118914 #ifdef __cplusplus
118916 #endif
118919 main ()
118921 return f != $ac_func;
118923 return 0;
118925 _ACEOF
118926 rm -f conftest.$ac_objext conftest$ac_exeext
118927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118928 (eval $ac_link) 2>conftest.er1
118929 ac_status=$?
118930 grep -v '^ *+' conftest.er1 >conftest.err
118931 rm -f conftest.er1
118932 cat conftest.err >&5
118933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118934 (exit $ac_status); } &&
118935 { ac_try='test -z "$ac_c_werror_flag"
118936 || test ! -s conftest.err'
118937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118938 (eval $ac_try) 2>&5
118939 ac_status=$?
118940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118941 (exit $ac_status); }; } &&
118942 { ac_try='test -s conftest$ac_exeext'
118943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118944 (eval $ac_try) 2>&5
118945 ac_status=$?
118946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118947 (exit $ac_status); }; }; then
118948 eval "$as_ac_var=yes"
118950 echo "$as_me: failed program was:" >&5
118951 sed 's/^/| /' conftest.$ac_ext >&5
118953 eval "$as_ac_var=no"
118955 rm -f conftest.err conftest.$ac_objext \
118956 conftest$ac_exeext conftest.$ac_ext
118958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
118959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
118960 if test `eval echo '${'$as_ac_var'}'` = yes; then
118961 cat >>confdefs.h <<_ACEOF
118962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
118963 _ACEOF
118970 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
118971 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
118972 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
118973 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
118974 echo $ECHO_N "(cached) $ECHO_C" >&6
118979 ac_ext=cc
118980 ac_cpp='$CXXCPP $CPPFLAGS'
118981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
118985 cat >conftest.$ac_ext <<_ACEOF
118986 /* confdefs.h. */
118987 _ACEOF
118988 cat confdefs.h >>conftest.$ac_ext
118989 cat >>conftest.$ac_ext <<_ACEOF
118990 /* end confdefs.h. */
118991 #include <math.h>
118993 main ()
118995 _hypotf(0, 0);
118997 return 0;
118999 _ACEOF
119000 rm -f conftest.$ac_objext
119001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119002 (eval $ac_compile) 2>conftest.er1
119003 ac_status=$?
119004 grep -v '^ *+' conftest.er1 >conftest.err
119005 rm -f conftest.er1
119006 cat conftest.err >&5
119007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119008 (exit $ac_status); } &&
119009 { ac_try='test -z "$ac_cxx_werror_flag"
119010 || test ! -s conftest.err'
119011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119012 (eval $ac_try) 2>&5
119013 ac_status=$?
119014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119015 (exit $ac_status); }; } &&
119016 { ac_try='test -s conftest.$ac_objext'
119017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119018 (eval $ac_try) 2>&5
119019 ac_status=$?
119020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119021 (exit $ac_status); }; }; then
119022 glibcxx_cv_func__hypotf_use=yes
119024 echo "$as_me: failed program was:" >&5
119025 sed 's/^/| /' conftest.$ac_ext >&5
119027 glibcxx_cv_func__hypotf_use=no
119029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119030 ac_ext=c
119031 ac_cpp='$CPP $CPPFLAGS'
119032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
119040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
119041 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
119043 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
119045 for ac_func in _hypotf
119047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
119048 echo "$as_me:$LINENO: checking for $ac_func" >&5
119049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
119050 if eval "test \"\${$as_ac_var+set}\" = set"; then
119051 echo $ECHO_N "(cached) $ECHO_C" >&6
119053 if test x$gcc_no_link = xyes; then
119054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119056 { (exit 1); exit 1; }; }
119058 cat >conftest.$ac_ext <<_ACEOF
119059 /* confdefs.h. */
119060 _ACEOF
119061 cat confdefs.h >>conftest.$ac_ext
119062 cat >>conftest.$ac_ext <<_ACEOF
119063 /* end confdefs.h. */
119064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
119065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
119066 #define $ac_func innocuous_$ac_func
119068 /* System header to define __stub macros and hopefully few prototypes,
119069 which can conflict with char $ac_func (); below.
119070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
119071 <limits.h> exists even on freestanding compilers. */
119073 #ifdef __STDC__
119074 # include <limits.h>
119075 #else
119076 # include <assert.h>
119077 #endif
119079 #undef $ac_func
119081 /* Override any gcc2 internal prototype to avoid an error. */
119082 #ifdef __cplusplus
119083 extern "C"
119085 #endif
119086 /* We use char because int might match the return type of a gcc2
119087 builtin and then its argument prototype would still apply. */
119088 char $ac_func ();
119089 /* The GNU C library defines this for functions which it implements
119090 to always fail with ENOSYS. Some functions are actually named
119091 something starting with __ and the normal name is an alias. */
119092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
119093 choke me
119094 #else
119095 char (*f) () = $ac_func;
119096 #endif
119097 #ifdef __cplusplus
119099 #endif
119102 main ()
119104 return f != $ac_func;
119106 return 0;
119108 _ACEOF
119109 rm -f conftest.$ac_objext conftest$ac_exeext
119110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119111 (eval $ac_link) 2>conftest.er1
119112 ac_status=$?
119113 grep -v '^ *+' conftest.er1 >conftest.err
119114 rm -f conftest.er1
119115 cat conftest.err >&5
119116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119117 (exit $ac_status); } &&
119118 { ac_try='test -z "$ac_c_werror_flag"
119119 || test ! -s conftest.err'
119120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119121 (eval $ac_try) 2>&5
119122 ac_status=$?
119123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119124 (exit $ac_status); }; } &&
119125 { ac_try='test -s conftest$ac_exeext'
119126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119127 (eval $ac_try) 2>&5
119128 ac_status=$?
119129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119130 (exit $ac_status); }; }; then
119131 eval "$as_ac_var=yes"
119133 echo "$as_me: failed program was:" >&5
119134 sed 's/^/| /' conftest.$ac_ext >&5
119136 eval "$as_ac_var=no"
119138 rm -f conftest.err conftest.$ac_objext \
119139 conftest$ac_exeext conftest.$ac_ext
119141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
119142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
119143 if test `eval echo '${'$as_ac_var'}'` = yes; then
119144 cat >>confdefs.h <<_ACEOF
119145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
119146 _ACEOF
119159 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
119160 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
119161 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
119162 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
119163 echo $ECHO_N "(cached) $ECHO_C" >&6
119168 ac_ext=cc
119169 ac_cpp='$CXXCPP $CPPFLAGS'
119170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
119174 cat >conftest.$ac_ext <<_ACEOF
119175 /* confdefs.h. */
119176 _ACEOF
119177 cat confdefs.h >>conftest.$ac_ext
119178 cat >>conftest.$ac_ext <<_ACEOF
119179 /* end confdefs.h. */
119180 #include <math.h>
119182 main ()
119184 ldexpf(0, 0);
119186 return 0;
119188 _ACEOF
119189 rm -f conftest.$ac_objext
119190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119191 (eval $ac_compile) 2>conftest.er1
119192 ac_status=$?
119193 grep -v '^ *+' conftest.er1 >conftest.err
119194 rm -f conftest.er1
119195 cat conftest.err >&5
119196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119197 (exit $ac_status); } &&
119198 { ac_try='test -z "$ac_cxx_werror_flag"
119199 || test ! -s conftest.err'
119200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119201 (eval $ac_try) 2>&5
119202 ac_status=$?
119203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119204 (exit $ac_status); }; } &&
119205 { ac_try='test -s conftest.$ac_objext'
119206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119207 (eval $ac_try) 2>&5
119208 ac_status=$?
119209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119210 (exit $ac_status); }; }; then
119211 glibcxx_cv_func_ldexpf_use=yes
119213 echo "$as_me: failed program was:" >&5
119214 sed 's/^/| /' conftest.$ac_ext >&5
119216 glibcxx_cv_func_ldexpf_use=no
119218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119219 ac_ext=c
119220 ac_cpp='$CPP $CPPFLAGS'
119221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
119229 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
119230 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
119232 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
119234 for ac_func in ldexpf
119236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
119237 echo "$as_me:$LINENO: checking for $ac_func" >&5
119238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
119239 if eval "test \"\${$as_ac_var+set}\" = set"; then
119240 echo $ECHO_N "(cached) $ECHO_C" >&6
119242 if test x$gcc_no_link = xyes; then
119243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119245 { (exit 1); exit 1; }; }
119247 cat >conftest.$ac_ext <<_ACEOF
119248 /* confdefs.h. */
119249 _ACEOF
119250 cat confdefs.h >>conftest.$ac_ext
119251 cat >>conftest.$ac_ext <<_ACEOF
119252 /* end confdefs.h. */
119253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
119254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
119255 #define $ac_func innocuous_$ac_func
119257 /* System header to define __stub macros and hopefully few prototypes,
119258 which can conflict with char $ac_func (); below.
119259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
119260 <limits.h> exists even on freestanding compilers. */
119262 #ifdef __STDC__
119263 # include <limits.h>
119264 #else
119265 # include <assert.h>
119266 #endif
119268 #undef $ac_func
119270 /* Override any gcc2 internal prototype to avoid an error. */
119271 #ifdef __cplusplus
119272 extern "C"
119274 #endif
119275 /* We use char because int might match the return type of a gcc2
119276 builtin and then its argument prototype would still apply. */
119277 char $ac_func ();
119278 /* The GNU C library defines this for functions which it implements
119279 to always fail with ENOSYS. Some functions are actually named
119280 something starting with __ and the normal name is an alias. */
119281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
119282 choke me
119283 #else
119284 char (*f) () = $ac_func;
119285 #endif
119286 #ifdef __cplusplus
119288 #endif
119291 main ()
119293 return f != $ac_func;
119295 return 0;
119297 _ACEOF
119298 rm -f conftest.$ac_objext conftest$ac_exeext
119299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119300 (eval $ac_link) 2>conftest.er1
119301 ac_status=$?
119302 grep -v '^ *+' conftest.er1 >conftest.err
119303 rm -f conftest.er1
119304 cat conftest.err >&5
119305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119306 (exit $ac_status); } &&
119307 { ac_try='test -z "$ac_c_werror_flag"
119308 || test ! -s conftest.err'
119309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119310 (eval $ac_try) 2>&5
119311 ac_status=$?
119312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119313 (exit $ac_status); }; } &&
119314 { ac_try='test -s conftest$ac_exeext'
119315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119316 (eval $ac_try) 2>&5
119317 ac_status=$?
119318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119319 (exit $ac_status); }; }; then
119320 eval "$as_ac_var=yes"
119322 echo "$as_me: failed program was:" >&5
119323 sed 's/^/| /' conftest.$ac_ext >&5
119325 eval "$as_ac_var=no"
119327 rm -f conftest.err conftest.$ac_objext \
119328 conftest$ac_exeext conftest.$ac_ext
119330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
119331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
119332 if test `eval echo '${'$as_ac_var'}'` = yes; then
119333 cat >>confdefs.h <<_ACEOF
119334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
119335 _ACEOF
119342 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
119343 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
119344 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
119345 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
119346 echo $ECHO_N "(cached) $ECHO_C" >&6
119351 ac_ext=cc
119352 ac_cpp='$CXXCPP $CPPFLAGS'
119353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
119357 cat >conftest.$ac_ext <<_ACEOF
119358 /* confdefs.h. */
119359 _ACEOF
119360 cat confdefs.h >>conftest.$ac_ext
119361 cat >>conftest.$ac_ext <<_ACEOF
119362 /* end confdefs.h. */
119363 #include <math.h>
119365 main ()
119367 _ldexpf(0, 0);
119369 return 0;
119371 _ACEOF
119372 rm -f conftest.$ac_objext
119373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119374 (eval $ac_compile) 2>conftest.er1
119375 ac_status=$?
119376 grep -v '^ *+' conftest.er1 >conftest.err
119377 rm -f conftest.er1
119378 cat conftest.err >&5
119379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119380 (exit $ac_status); } &&
119381 { ac_try='test -z "$ac_cxx_werror_flag"
119382 || test ! -s conftest.err'
119383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119384 (eval $ac_try) 2>&5
119385 ac_status=$?
119386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119387 (exit $ac_status); }; } &&
119388 { ac_try='test -s conftest.$ac_objext'
119389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119390 (eval $ac_try) 2>&5
119391 ac_status=$?
119392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119393 (exit $ac_status); }; }; then
119394 glibcxx_cv_func__ldexpf_use=yes
119396 echo "$as_me: failed program was:" >&5
119397 sed 's/^/| /' conftest.$ac_ext >&5
119399 glibcxx_cv_func__ldexpf_use=no
119401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119402 ac_ext=c
119403 ac_cpp='$CPP $CPPFLAGS'
119404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
119412 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
119413 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
119415 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
119417 for ac_func in _ldexpf
119419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
119420 echo "$as_me:$LINENO: checking for $ac_func" >&5
119421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
119422 if eval "test \"\${$as_ac_var+set}\" = set"; then
119423 echo $ECHO_N "(cached) $ECHO_C" >&6
119425 if test x$gcc_no_link = xyes; then
119426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119428 { (exit 1); exit 1; }; }
119430 cat >conftest.$ac_ext <<_ACEOF
119431 /* confdefs.h. */
119432 _ACEOF
119433 cat confdefs.h >>conftest.$ac_ext
119434 cat >>conftest.$ac_ext <<_ACEOF
119435 /* end confdefs.h. */
119436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
119437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
119438 #define $ac_func innocuous_$ac_func
119440 /* System header to define __stub macros and hopefully few prototypes,
119441 which can conflict with char $ac_func (); below.
119442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
119443 <limits.h> exists even on freestanding compilers. */
119445 #ifdef __STDC__
119446 # include <limits.h>
119447 #else
119448 # include <assert.h>
119449 #endif
119451 #undef $ac_func
119453 /* Override any gcc2 internal prototype to avoid an error. */
119454 #ifdef __cplusplus
119455 extern "C"
119457 #endif
119458 /* We use char because int might match the return type of a gcc2
119459 builtin and then its argument prototype would still apply. */
119460 char $ac_func ();
119461 /* The GNU C library defines this for functions which it implements
119462 to always fail with ENOSYS. Some functions are actually named
119463 something starting with __ and the normal name is an alias. */
119464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
119465 choke me
119466 #else
119467 char (*f) () = $ac_func;
119468 #endif
119469 #ifdef __cplusplus
119471 #endif
119474 main ()
119476 return f != $ac_func;
119478 return 0;
119480 _ACEOF
119481 rm -f conftest.$ac_objext conftest$ac_exeext
119482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119483 (eval $ac_link) 2>conftest.er1
119484 ac_status=$?
119485 grep -v '^ *+' conftest.er1 >conftest.err
119486 rm -f conftest.er1
119487 cat conftest.err >&5
119488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119489 (exit $ac_status); } &&
119490 { ac_try='test -z "$ac_c_werror_flag"
119491 || test ! -s conftest.err'
119492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119493 (eval $ac_try) 2>&5
119494 ac_status=$?
119495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119496 (exit $ac_status); }; } &&
119497 { ac_try='test -s conftest$ac_exeext'
119498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119499 (eval $ac_try) 2>&5
119500 ac_status=$?
119501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119502 (exit $ac_status); }; }; then
119503 eval "$as_ac_var=yes"
119505 echo "$as_me: failed program was:" >&5
119506 sed 's/^/| /' conftest.$ac_ext >&5
119508 eval "$as_ac_var=no"
119510 rm -f conftest.err conftest.$ac_objext \
119511 conftest$ac_exeext conftest.$ac_ext
119513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
119514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
119515 if test `eval echo '${'$as_ac_var'}'` = yes; then
119516 cat >>confdefs.h <<_ACEOF
119517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
119518 _ACEOF
119531 echo "$as_me:$LINENO: checking for logf declaration" >&5
119532 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
119533 if test x${glibcxx_cv_func_logf_use+set} != xset; then
119534 if test "${glibcxx_cv_func_logf_use+set}" = set; then
119535 echo $ECHO_N "(cached) $ECHO_C" >&6
119540 ac_ext=cc
119541 ac_cpp='$CXXCPP $CPPFLAGS'
119542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
119546 cat >conftest.$ac_ext <<_ACEOF
119547 /* confdefs.h. */
119548 _ACEOF
119549 cat confdefs.h >>conftest.$ac_ext
119550 cat >>conftest.$ac_ext <<_ACEOF
119551 /* end confdefs.h. */
119552 #include <math.h>
119553 #ifdef HAVE_IEEEFP_H
119554 #include <ieeefp.h>
119555 #endif
119558 main ()
119560 logf(0);
119562 return 0;
119564 _ACEOF
119565 rm -f conftest.$ac_objext
119566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119567 (eval $ac_compile) 2>conftest.er1
119568 ac_status=$?
119569 grep -v '^ *+' conftest.er1 >conftest.err
119570 rm -f conftest.er1
119571 cat conftest.err >&5
119572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119573 (exit $ac_status); } &&
119574 { ac_try='test -z "$ac_cxx_werror_flag"
119575 || test ! -s conftest.err'
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); }; } &&
119581 { ac_try='test -s conftest.$ac_objext'
119582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119583 (eval $ac_try) 2>&5
119584 ac_status=$?
119585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119586 (exit $ac_status); }; }; then
119587 glibcxx_cv_func_logf_use=yes
119589 echo "$as_me: failed program was:" >&5
119590 sed 's/^/| /' conftest.$ac_ext >&5
119592 glibcxx_cv_func_logf_use=no
119594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119595 ac_ext=c
119596 ac_cpp='$CPP $CPPFLAGS'
119597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
119605 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
119606 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
119608 if test x$glibcxx_cv_func_logf_use = x"yes"; then
119610 for ac_func in logf
119612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
119613 echo "$as_me:$LINENO: checking for $ac_func" >&5
119614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
119615 if eval "test \"\${$as_ac_var+set}\" = set"; then
119616 echo $ECHO_N "(cached) $ECHO_C" >&6
119618 if test x$gcc_no_link = xyes; then
119619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119621 { (exit 1); exit 1; }; }
119623 cat >conftest.$ac_ext <<_ACEOF
119624 /* confdefs.h. */
119625 _ACEOF
119626 cat confdefs.h >>conftest.$ac_ext
119627 cat >>conftest.$ac_ext <<_ACEOF
119628 /* end confdefs.h. */
119629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
119630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
119631 #define $ac_func innocuous_$ac_func
119633 /* System header to define __stub macros and hopefully few prototypes,
119634 which can conflict with char $ac_func (); below.
119635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
119636 <limits.h> exists even on freestanding compilers. */
119638 #ifdef __STDC__
119639 # include <limits.h>
119640 #else
119641 # include <assert.h>
119642 #endif
119644 #undef $ac_func
119646 /* Override any gcc2 internal prototype to avoid an error. */
119647 #ifdef __cplusplus
119648 extern "C"
119650 #endif
119651 /* We use char because int might match the return type of a gcc2
119652 builtin and then its argument prototype would still apply. */
119653 char $ac_func ();
119654 /* The GNU C library defines this for functions which it implements
119655 to always fail with ENOSYS. Some functions are actually named
119656 something starting with __ and the normal name is an alias. */
119657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
119658 choke me
119659 #else
119660 char (*f) () = $ac_func;
119661 #endif
119662 #ifdef __cplusplus
119664 #endif
119667 main ()
119669 return f != $ac_func;
119671 return 0;
119673 _ACEOF
119674 rm -f conftest.$ac_objext conftest$ac_exeext
119675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119676 (eval $ac_link) 2>conftest.er1
119677 ac_status=$?
119678 grep -v '^ *+' conftest.er1 >conftest.err
119679 rm -f conftest.er1
119680 cat conftest.err >&5
119681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119682 (exit $ac_status); } &&
119683 { ac_try='test -z "$ac_c_werror_flag"
119684 || test ! -s conftest.err'
119685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119686 (eval $ac_try) 2>&5
119687 ac_status=$?
119688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119689 (exit $ac_status); }; } &&
119690 { ac_try='test -s conftest$ac_exeext'
119691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119692 (eval $ac_try) 2>&5
119693 ac_status=$?
119694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119695 (exit $ac_status); }; }; then
119696 eval "$as_ac_var=yes"
119698 echo "$as_me: failed program was:" >&5
119699 sed 's/^/| /' conftest.$ac_ext >&5
119701 eval "$as_ac_var=no"
119703 rm -f conftest.err conftest.$ac_objext \
119704 conftest$ac_exeext conftest.$ac_ext
119706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
119707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
119708 if test `eval echo '${'$as_ac_var'}'` = yes; then
119709 cat >>confdefs.h <<_ACEOF
119710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
119711 _ACEOF
119718 echo "$as_me:$LINENO: checking for _logf declaration" >&5
119719 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
119720 if test x${glibcxx_cv_func__logf_use+set} != xset; then
119721 if test "${glibcxx_cv_func__logf_use+set}" = set; then
119722 echo $ECHO_N "(cached) $ECHO_C" >&6
119727 ac_ext=cc
119728 ac_cpp='$CXXCPP $CPPFLAGS'
119729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
119733 cat >conftest.$ac_ext <<_ACEOF
119734 /* confdefs.h. */
119735 _ACEOF
119736 cat confdefs.h >>conftest.$ac_ext
119737 cat >>conftest.$ac_ext <<_ACEOF
119738 /* end confdefs.h. */
119739 #include <math.h>
119740 #ifdef HAVE_IEEEFP_H
119741 #include <ieeefp.h>
119742 #endif
119745 main ()
119747 _logf(0);
119749 return 0;
119751 _ACEOF
119752 rm -f conftest.$ac_objext
119753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119754 (eval $ac_compile) 2>conftest.er1
119755 ac_status=$?
119756 grep -v '^ *+' conftest.er1 >conftest.err
119757 rm -f conftest.er1
119758 cat conftest.err >&5
119759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119760 (exit $ac_status); } &&
119761 { ac_try='test -z "$ac_cxx_werror_flag"
119762 || test ! -s conftest.err'
119763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119764 (eval $ac_try) 2>&5
119765 ac_status=$?
119766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119767 (exit $ac_status); }; } &&
119768 { ac_try='test -s conftest.$ac_objext'
119769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119770 (eval $ac_try) 2>&5
119771 ac_status=$?
119772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119773 (exit $ac_status); }; }; then
119774 glibcxx_cv_func__logf_use=yes
119776 echo "$as_me: failed program was:" >&5
119777 sed 's/^/| /' conftest.$ac_ext >&5
119779 glibcxx_cv_func__logf_use=no
119781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119782 ac_ext=c
119783 ac_cpp='$CPP $CPPFLAGS'
119784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
119792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
119793 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
119795 if test x$glibcxx_cv_func__logf_use = x"yes"; then
119797 for ac_func in _logf
119799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
119800 echo "$as_me:$LINENO: checking for $ac_func" >&5
119801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
119802 if eval "test \"\${$as_ac_var+set}\" = set"; then
119803 echo $ECHO_N "(cached) $ECHO_C" >&6
119805 if test x$gcc_no_link = xyes; then
119806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119808 { (exit 1); exit 1; }; }
119810 cat >conftest.$ac_ext <<_ACEOF
119811 /* confdefs.h. */
119812 _ACEOF
119813 cat confdefs.h >>conftest.$ac_ext
119814 cat >>conftest.$ac_ext <<_ACEOF
119815 /* end confdefs.h. */
119816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
119817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
119818 #define $ac_func innocuous_$ac_func
119820 /* System header to define __stub macros and hopefully few prototypes,
119821 which can conflict with char $ac_func (); below.
119822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
119823 <limits.h> exists even on freestanding compilers. */
119825 #ifdef __STDC__
119826 # include <limits.h>
119827 #else
119828 # include <assert.h>
119829 #endif
119831 #undef $ac_func
119833 /* Override any gcc2 internal prototype to avoid an error. */
119834 #ifdef __cplusplus
119835 extern "C"
119837 #endif
119838 /* We use char because int might match the return type of a gcc2
119839 builtin and then its argument prototype would still apply. */
119840 char $ac_func ();
119841 /* The GNU C library defines this for functions which it implements
119842 to always fail with ENOSYS. Some functions are actually named
119843 something starting with __ and the normal name is an alias. */
119844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
119845 choke me
119846 #else
119847 char (*f) () = $ac_func;
119848 #endif
119849 #ifdef __cplusplus
119851 #endif
119854 main ()
119856 return f != $ac_func;
119858 return 0;
119860 _ACEOF
119861 rm -f conftest.$ac_objext conftest$ac_exeext
119862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119863 (eval $ac_link) 2>conftest.er1
119864 ac_status=$?
119865 grep -v '^ *+' conftest.er1 >conftest.err
119866 rm -f conftest.er1
119867 cat conftest.err >&5
119868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119869 (exit $ac_status); } &&
119870 { ac_try='test -z "$ac_c_werror_flag"
119871 || test ! -s conftest.err'
119872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119873 (eval $ac_try) 2>&5
119874 ac_status=$?
119875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119876 (exit $ac_status); }; } &&
119877 { ac_try='test -s conftest$ac_exeext'
119878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119879 (eval $ac_try) 2>&5
119880 ac_status=$?
119881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119882 (exit $ac_status); }; }; then
119883 eval "$as_ac_var=yes"
119885 echo "$as_me: failed program was:" >&5
119886 sed 's/^/| /' conftest.$ac_ext >&5
119888 eval "$as_ac_var=no"
119890 rm -f conftest.err conftest.$ac_objext \
119891 conftest$ac_exeext conftest.$ac_ext
119893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
119894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
119895 if test `eval echo '${'$as_ac_var'}'` = yes; then
119896 cat >>confdefs.h <<_ACEOF
119897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
119898 _ACEOF
119911 echo "$as_me:$LINENO: checking for log10f declaration" >&5
119912 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
119913 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
119914 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
119915 echo $ECHO_N "(cached) $ECHO_C" >&6
119920 ac_ext=cc
119921 ac_cpp='$CXXCPP $CPPFLAGS'
119922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
119926 cat >conftest.$ac_ext <<_ACEOF
119927 /* confdefs.h. */
119928 _ACEOF
119929 cat confdefs.h >>conftest.$ac_ext
119930 cat >>conftest.$ac_ext <<_ACEOF
119931 /* end confdefs.h. */
119932 #include <math.h>
119933 #ifdef HAVE_IEEEFP_H
119934 #include <ieeefp.h>
119935 #endif
119938 main ()
119940 log10f(0);
119942 return 0;
119944 _ACEOF
119945 rm -f conftest.$ac_objext
119946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119947 (eval $ac_compile) 2>conftest.er1
119948 ac_status=$?
119949 grep -v '^ *+' conftest.er1 >conftest.err
119950 rm -f conftest.er1
119951 cat conftest.err >&5
119952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119953 (exit $ac_status); } &&
119954 { ac_try='test -z "$ac_cxx_werror_flag"
119955 || test ! -s conftest.err'
119956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119957 (eval $ac_try) 2>&5
119958 ac_status=$?
119959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119960 (exit $ac_status); }; } &&
119961 { ac_try='test -s conftest.$ac_objext'
119962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119963 (eval $ac_try) 2>&5
119964 ac_status=$?
119965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119966 (exit $ac_status); }; }; then
119967 glibcxx_cv_func_log10f_use=yes
119969 echo "$as_me: failed program was:" >&5
119970 sed 's/^/| /' conftest.$ac_ext >&5
119972 glibcxx_cv_func_log10f_use=no
119974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119975 ac_ext=c
119976 ac_cpp='$CPP $CPPFLAGS'
119977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
119985 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
119986 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
119988 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
119990 for ac_func in log10f
119992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
119993 echo "$as_me:$LINENO: checking for $ac_func" >&5
119994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
119995 if eval "test \"\${$as_ac_var+set}\" = set"; then
119996 echo $ECHO_N "(cached) $ECHO_C" >&6
119998 if test x$gcc_no_link = xyes; then
119999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
120000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
120001 { (exit 1); exit 1; }; }
120003 cat >conftest.$ac_ext <<_ACEOF
120004 /* confdefs.h. */
120005 _ACEOF
120006 cat confdefs.h >>conftest.$ac_ext
120007 cat >>conftest.$ac_ext <<_ACEOF
120008 /* end confdefs.h. */
120009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
120010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
120011 #define $ac_func innocuous_$ac_func
120013 /* System header to define __stub macros and hopefully few prototypes,
120014 which can conflict with char $ac_func (); below.
120015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
120016 <limits.h> exists even on freestanding compilers. */
120018 #ifdef __STDC__
120019 # include <limits.h>
120020 #else
120021 # include <assert.h>
120022 #endif
120024 #undef $ac_func
120026 /* Override any gcc2 internal prototype to avoid an error. */
120027 #ifdef __cplusplus
120028 extern "C"
120030 #endif
120031 /* We use char because int might match the return type of a gcc2
120032 builtin and then its argument prototype would still apply. */
120033 char $ac_func ();
120034 /* The GNU C library defines this for functions which it implements
120035 to always fail with ENOSYS. Some functions are actually named
120036 something starting with __ and the normal name is an alias. */
120037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
120038 choke me
120039 #else
120040 char (*f) () = $ac_func;
120041 #endif
120042 #ifdef __cplusplus
120044 #endif
120047 main ()
120049 return f != $ac_func;
120051 return 0;
120053 _ACEOF
120054 rm -f conftest.$ac_objext conftest$ac_exeext
120055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120056 (eval $ac_link) 2>conftest.er1
120057 ac_status=$?
120058 grep -v '^ *+' conftest.er1 >conftest.err
120059 rm -f conftest.er1
120060 cat conftest.err >&5
120061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120062 (exit $ac_status); } &&
120063 { ac_try='test -z "$ac_c_werror_flag"
120064 || test ! -s conftest.err'
120065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120066 (eval $ac_try) 2>&5
120067 ac_status=$?
120068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120069 (exit $ac_status); }; } &&
120070 { ac_try='test -s conftest$ac_exeext'
120071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120072 (eval $ac_try) 2>&5
120073 ac_status=$?
120074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120075 (exit $ac_status); }; }; then
120076 eval "$as_ac_var=yes"
120078 echo "$as_me: failed program was:" >&5
120079 sed 's/^/| /' conftest.$ac_ext >&5
120081 eval "$as_ac_var=no"
120083 rm -f conftest.err conftest.$ac_objext \
120084 conftest$ac_exeext conftest.$ac_ext
120086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
120087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
120088 if test `eval echo '${'$as_ac_var'}'` = yes; then
120089 cat >>confdefs.h <<_ACEOF
120090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
120091 _ACEOF
120098 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
120099 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
120100 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
120101 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
120102 echo $ECHO_N "(cached) $ECHO_C" >&6
120107 ac_ext=cc
120108 ac_cpp='$CXXCPP $CPPFLAGS'
120109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
120113 cat >conftest.$ac_ext <<_ACEOF
120114 /* confdefs.h. */
120115 _ACEOF
120116 cat confdefs.h >>conftest.$ac_ext
120117 cat >>conftest.$ac_ext <<_ACEOF
120118 /* end confdefs.h. */
120119 #include <math.h>
120120 #ifdef HAVE_IEEEFP_H
120121 #include <ieeefp.h>
120122 #endif
120125 main ()
120127 _log10f(0);
120129 return 0;
120131 _ACEOF
120132 rm -f conftest.$ac_objext
120133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120134 (eval $ac_compile) 2>conftest.er1
120135 ac_status=$?
120136 grep -v '^ *+' conftest.er1 >conftest.err
120137 rm -f conftest.er1
120138 cat conftest.err >&5
120139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120140 (exit $ac_status); } &&
120141 { ac_try='test -z "$ac_cxx_werror_flag"
120142 || test ! -s conftest.err'
120143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120144 (eval $ac_try) 2>&5
120145 ac_status=$?
120146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120147 (exit $ac_status); }; } &&
120148 { ac_try='test -s conftest.$ac_objext'
120149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120150 (eval $ac_try) 2>&5
120151 ac_status=$?
120152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120153 (exit $ac_status); }; }; then
120154 glibcxx_cv_func__log10f_use=yes
120156 echo "$as_me: failed program was:" >&5
120157 sed 's/^/| /' conftest.$ac_ext >&5
120159 glibcxx_cv_func__log10f_use=no
120161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120162 ac_ext=c
120163 ac_cpp='$CPP $CPPFLAGS'
120164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
120172 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
120173 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
120175 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
120177 for ac_func in _log10f
120179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
120180 echo "$as_me:$LINENO: checking for $ac_func" >&5
120181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
120182 if eval "test \"\${$as_ac_var+set}\" = set"; then
120183 echo $ECHO_N "(cached) $ECHO_C" >&6
120185 if test x$gcc_no_link = xyes; then
120186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
120187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
120188 { (exit 1); exit 1; }; }
120190 cat >conftest.$ac_ext <<_ACEOF
120191 /* confdefs.h. */
120192 _ACEOF
120193 cat confdefs.h >>conftest.$ac_ext
120194 cat >>conftest.$ac_ext <<_ACEOF
120195 /* end confdefs.h. */
120196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
120197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
120198 #define $ac_func innocuous_$ac_func
120200 /* System header to define __stub macros and hopefully few prototypes,
120201 which can conflict with char $ac_func (); below.
120202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
120203 <limits.h> exists even on freestanding compilers. */
120205 #ifdef __STDC__
120206 # include <limits.h>
120207 #else
120208 # include <assert.h>
120209 #endif
120211 #undef $ac_func
120213 /* Override any gcc2 internal prototype to avoid an error. */
120214 #ifdef __cplusplus
120215 extern "C"
120217 #endif
120218 /* We use char because int might match the return type of a gcc2
120219 builtin and then its argument prototype would still apply. */
120220 char $ac_func ();
120221 /* The GNU C library defines this for functions which it implements
120222 to always fail with ENOSYS. Some functions are actually named
120223 something starting with __ and the normal name is an alias. */
120224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
120225 choke me
120226 #else
120227 char (*f) () = $ac_func;
120228 #endif
120229 #ifdef __cplusplus
120231 #endif
120234 main ()
120236 return f != $ac_func;
120238 return 0;
120240 _ACEOF
120241 rm -f conftest.$ac_objext conftest$ac_exeext
120242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120243 (eval $ac_link) 2>conftest.er1
120244 ac_status=$?
120245 grep -v '^ *+' conftest.er1 >conftest.err
120246 rm -f conftest.er1
120247 cat conftest.err >&5
120248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120249 (exit $ac_status); } &&
120250 { ac_try='test -z "$ac_c_werror_flag"
120251 || test ! -s conftest.err'
120252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120253 (eval $ac_try) 2>&5
120254 ac_status=$?
120255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120256 (exit $ac_status); }; } &&
120257 { ac_try='test -s conftest$ac_exeext'
120258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120259 (eval $ac_try) 2>&5
120260 ac_status=$?
120261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120262 (exit $ac_status); }; }; then
120263 eval "$as_ac_var=yes"
120265 echo "$as_me: failed program was:" >&5
120266 sed 's/^/| /' conftest.$ac_ext >&5
120268 eval "$as_ac_var=no"
120270 rm -f conftest.err conftest.$ac_objext \
120271 conftest$ac_exeext conftest.$ac_ext
120273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
120274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
120275 if test `eval echo '${'$as_ac_var'}'` = yes; then
120276 cat >>confdefs.h <<_ACEOF
120277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
120278 _ACEOF
120291 echo "$as_me:$LINENO: checking for modff declaration" >&5
120292 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
120293 if test x${glibcxx_cv_func_modff_use+set} != xset; then
120294 if test "${glibcxx_cv_func_modff_use+set}" = set; then
120295 echo $ECHO_N "(cached) $ECHO_C" >&6
120300 ac_ext=cc
120301 ac_cpp='$CXXCPP $CPPFLAGS'
120302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
120306 cat >conftest.$ac_ext <<_ACEOF
120307 /* confdefs.h. */
120308 _ACEOF
120309 cat confdefs.h >>conftest.$ac_ext
120310 cat >>conftest.$ac_ext <<_ACEOF
120311 /* end confdefs.h. */
120312 #include <math.h>
120314 main ()
120316 modff(0, 0);
120318 return 0;
120320 _ACEOF
120321 rm -f conftest.$ac_objext
120322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120323 (eval $ac_compile) 2>conftest.er1
120324 ac_status=$?
120325 grep -v '^ *+' conftest.er1 >conftest.err
120326 rm -f conftest.er1
120327 cat conftest.err >&5
120328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120329 (exit $ac_status); } &&
120330 { ac_try='test -z "$ac_cxx_werror_flag"
120331 || test ! -s conftest.err'
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); }; } &&
120337 { ac_try='test -s conftest.$ac_objext'
120338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120339 (eval $ac_try) 2>&5
120340 ac_status=$?
120341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120342 (exit $ac_status); }; }; then
120343 glibcxx_cv_func_modff_use=yes
120345 echo "$as_me: failed program was:" >&5
120346 sed 's/^/| /' conftest.$ac_ext >&5
120348 glibcxx_cv_func_modff_use=no
120350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120351 ac_ext=c
120352 ac_cpp='$CPP $CPPFLAGS'
120353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
120361 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
120362 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
120364 if test x$glibcxx_cv_func_modff_use = x"yes"; then
120366 for ac_func in modff
120368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
120369 echo "$as_me:$LINENO: checking for $ac_func" >&5
120370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
120371 if eval "test \"\${$as_ac_var+set}\" = set"; then
120372 echo $ECHO_N "(cached) $ECHO_C" >&6
120374 if test x$gcc_no_link = xyes; then
120375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
120376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
120377 { (exit 1); exit 1; }; }
120379 cat >conftest.$ac_ext <<_ACEOF
120380 /* confdefs.h. */
120381 _ACEOF
120382 cat confdefs.h >>conftest.$ac_ext
120383 cat >>conftest.$ac_ext <<_ACEOF
120384 /* end confdefs.h. */
120385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
120386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
120387 #define $ac_func innocuous_$ac_func
120389 /* System header to define __stub macros and hopefully few prototypes,
120390 which can conflict with char $ac_func (); below.
120391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
120392 <limits.h> exists even on freestanding compilers. */
120394 #ifdef __STDC__
120395 # include <limits.h>
120396 #else
120397 # include <assert.h>
120398 #endif
120400 #undef $ac_func
120402 /* Override any gcc2 internal prototype to avoid an error. */
120403 #ifdef __cplusplus
120404 extern "C"
120406 #endif
120407 /* We use char because int might match the return type of a gcc2
120408 builtin and then its argument prototype would still apply. */
120409 char $ac_func ();
120410 /* The GNU C library defines this for functions which it implements
120411 to always fail with ENOSYS. Some functions are actually named
120412 something starting with __ and the normal name is an alias. */
120413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
120414 choke me
120415 #else
120416 char (*f) () = $ac_func;
120417 #endif
120418 #ifdef __cplusplus
120420 #endif
120423 main ()
120425 return f != $ac_func;
120427 return 0;
120429 _ACEOF
120430 rm -f conftest.$ac_objext conftest$ac_exeext
120431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120432 (eval $ac_link) 2>conftest.er1
120433 ac_status=$?
120434 grep -v '^ *+' conftest.er1 >conftest.err
120435 rm -f conftest.er1
120436 cat conftest.err >&5
120437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120438 (exit $ac_status); } &&
120439 { ac_try='test -z "$ac_c_werror_flag"
120440 || test ! -s conftest.err'
120441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120442 (eval $ac_try) 2>&5
120443 ac_status=$?
120444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120445 (exit $ac_status); }; } &&
120446 { ac_try='test -s conftest$ac_exeext'
120447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120448 (eval $ac_try) 2>&5
120449 ac_status=$?
120450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120451 (exit $ac_status); }; }; then
120452 eval "$as_ac_var=yes"
120454 echo "$as_me: failed program was:" >&5
120455 sed 's/^/| /' conftest.$ac_ext >&5
120457 eval "$as_ac_var=no"
120459 rm -f conftest.err conftest.$ac_objext \
120460 conftest$ac_exeext conftest.$ac_ext
120462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
120463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
120464 if test `eval echo '${'$as_ac_var'}'` = yes; then
120465 cat >>confdefs.h <<_ACEOF
120466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
120467 _ACEOF
120474 echo "$as_me:$LINENO: checking for _modff declaration" >&5
120475 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
120476 if test x${glibcxx_cv_func__modff_use+set} != xset; then
120477 if test "${glibcxx_cv_func__modff_use+set}" = set; then
120478 echo $ECHO_N "(cached) $ECHO_C" >&6
120483 ac_ext=cc
120484 ac_cpp='$CXXCPP $CPPFLAGS'
120485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
120489 cat >conftest.$ac_ext <<_ACEOF
120490 /* confdefs.h. */
120491 _ACEOF
120492 cat confdefs.h >>conftest.$ac_ext
120493 cat >>conftest.$ac_ext <<_ACEOF
120494 /* end confdefs.h. */
120495 #include <math.h>
120497 main ()
120499 _modff(0, 0);
120501 return 0;
120503 _ACEOF
120504 rm -f conftest.$ac_objext
120505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120506 (eval $ac_compile) 2>conftest.er1
120507 ac_status=$?
120508 grep -v '^ *+' conftest.er1 >conftest.err
120509 rm -f conftest.er1
120510 cat conftest.err >&5
120511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120512 (exit $ac_status); } &&
120513 { ac_try='test -z "$ac_cxx_werror_flag"
120514 || test ! -s conftest.err'
120515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120516 (eval $ac_try) 2>&5
120517 ac_status=$?
120518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120519 (exit $ac_status); }; } &&
120520 { ac_try='test -s conftest.$ac_objext'
120521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120522 (eval $ac_try) 2>&5
120523 ac_status=$?
120524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120525 (exit $ac_status); }; }; then
120526 glibcxx_cv_func__modff_use=yes
120528 echo "$as_me: failed program was:" >&5
120529 sed 's/^/| /' conftest.$ac_ext >&5
120531 glibcxx_cv_func__modff_use=no
120533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120534 ac_ext=c
120535 ac_cpp='$CPP $CPPFLAGS'
120536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
120544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
120545 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
120547 if test x$glibcxx_cv_func__modff_use = x"yes"; then
120549 for ac_func in _modff
120551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
120552 echo "$as_me:$LINENO: checking for $ac_func" >&5
120553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
120554 if eval "test \"\${$as_ac_var+set}\" = set"; then
120555 echo $ECHO_N "(cached) $ECHO_C" >&6
120557 if test x$gcc_no_link = xyes; then
120558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
120559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
120560 { (exit 1); exit 1; }; }
120562 cat >conftest.$ac_ext <<_ACEOF
120563 /* confdefs.h. */
120564 _ACEOF
120565 cat confdefs.h >>conftest.$ac_ext
120566 cat >>conftest.$ac_ext <<_ACEOF
120567 /* end confdefs.h. */
120568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
120569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
120570 #define $ac_func innocuous_$ac_func
120572 /* System header to define __stub macros and hopefully few prototypes,
120573 which can conflict with char $ac_func (); below.
120574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
120575 <limits.h> exists even on freestanding compilers. */
120577 #ifdef __STDC__
120578 # include <limits.h>
120579 #else
120580 # include <assert.h>
120581 #endif
120583 #undef $ac_func
120585 /* Override any gcc2 internal prototype to avoid an error. */
120586 #ifdef __cplusplus
120587 extern "C"
120589 #endif
120590 /* We use char because int might match the return type of a gcc2
120591 builtin and then its argument prototype would still apply. */
120592 char $ac_func ();
120593 /* The GNU C library defines this for functions which it implements
120594 to always fail with ENOSYS. Some functions are actually named
120595 something starting with __ and the normal name is an alias. */
120596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
120597 choke me
120598 #else
120599 char (*f) () = $ac_func;
120600 #endif
120601 #ifdef __cplusplus
120603 #endif
120606 main ()
120608 return f != $ac_func;
120610 return 0;
120612 _ACEOF
120613 rm -f conftest.$ac_objext conftest$ac_exeext
120614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120615 (eval $ac_link) 2>conftest.er1
120616 ac_status=$?
120617 grep -v '^ *+' conftest.er1 >conftest.err
120618 rm -f conftest.er1
120619 cat conftest.err >&5
120620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120621 (exit $ac_status); } &&
120622 { ac_try='test -z "$ac_c_werror_flag"
120623 || test ! -s conftest.err'
120624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120625 (eval $ac_try) 2>&5
120626 ac_status=$?
120627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120628 (exit $ac_status); }; } &&
120629 { ac_try='test -s conftest$ac_exeext'
120630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120631 (eval $ac_try) 2>&5
120632 ac_status=$?
120633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120634 (exit $ac_status); }; }; then
120635 eval "$as_ac_var=yes"
120637 echo "$as_me: failed program was:" >&5
120638 sed 's/^/| /' conftest.$ac_ext >&5
120640 eval "$as_ac_var=no"
120642 rm -f conftest.err conftest.$ac_objext \
120643 conftest$ac_exeext conftest.$ac_ext
120645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
120646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
120647 if test `eval echo '${'$as_ac_var'}'` = yes; then
120648 cat >>confdefs.h <<_ACEOF
120649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
120650 _ACEOF
120663 echo "$as_me:$LINENO: checking for modf declaration" >&5
120664 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
120665 if test x${glibcxx_cv_func_modf_use+set} != xset; then
120666 if test "${glibcxx_cv_func_modf_use+set}" = set; then
120667 echo $ECHO_N "(cached) $ECHO_C" >&6
120672 ac_ext=cc
120673 ac_cpp='$CXXCPP $CPPFLAGS'
120674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
120678 cat >conftest.$ac_ext <<_ACEOF
120679 /* confdefs.h. */
120680 _ACEOF
120681 cat confdefs.h >>conftest.$ac_ext
120682 cat >>conftest.$ac_ext <<_ACEOF
120683 /* end confdefs.h. */
120684 #include <math.h>
120686 main ()
120688 modf(0, 0);
120690 return 0;
120692 _ACEOF
120693 rm -f conftest.$ac_objext
120694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120695 (eval $ac_compile) 2>conftest.er1
120696 ac_status=$?
120697 grep -v '^ *+' conftest.er1 >conftest.err
120698 rm -f conftest.er1
120699 cat conftest.err >&5
120700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120701 (exit $ac_status); } &&
120702 { ac_try='test -z "$ac_cxx_werror_flag"
120703 || test ! -s conftest.err'
120704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120705 (eval $ac_try) 2>&5
120706 ac_status=$?
120707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120708 (exit $ac_status); }; } &&
120709 { ac_try='test -s conftest.$ac_objext'
120710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120711 (eval $ac_try) 2>&5
120712 ac_status=$?
120713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120714 (exit $ac_status); }; }; then
120715 glibcxx_cv_func_modf_use=yes
120717 echo "$as_me: failed program was:" >&5
120718 sed 's/^/| /' conftest.$ac_ext >&5
120720 glibcxx_cv_func_modf_use=no
120722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120723 ac_ext=c
120724 ac_cpp='$CPP $CPPFLAGS'
120725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
120733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
120734 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
120736 if test x$glibcxx_cv_func_modf_use = x"yes"; then
120738 for ac_func in modf
120740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
120741 echo "$as_me:$LINENO: checking for $ac_func" >&5
120742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
120743 if eval "test \"\${$as_ac_var+set}\" = set"; then
120744 echo $ECHO_N "(cached) $ECHO_C" >&6
120746 if test x$gcc_no_link = xyes; then
120747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
120748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
120749 { (exit 1); exit 1; }; }
120751 cat >conftest.$ac_ext <<_ACEOF
120752 /* confdefs.h. */
120753 _ACEOF
120754 cat confdefs.h >>conftest.$ac_ext
120755 cat >>conftest.$ac_ext <<_ACEOF
120756 /* end confdefs.h. */
120757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
120758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
120759 #define $ac_func innocuous_$ac_func
120761 /* System header to define __stub macros and hopefully few prototypes,
120762 which can conflict with char $ac_func (); below.
120763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
120764 <limits.h> exists even on freestanding compilers. */
120766 #ifdef __STDC__
120767 # include <limits.h>
120768 #else
120769 # include <assert.h>
120770 #endif
120772 #undef $ac_func
120774 /* Override any gcc2 internal prototype to avoid an error. */
120775 #ifdef __cplusplus
120776 extern "C"
120778 #endif
120779 /* We use char because int might match the return type of a gcc2
120780 builtin and then its argument prototype would still apply. */
120781 char $ac_func ();
120782 /* The GNU C library defines this for functions which it implements
120783 to always fail with ENOSYS. Some functions are actually named
120784 something starting with __ and the normal name is an alias. */
120785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
120786 choke me
120787 #else
120788 char (*f) () = $ac_func;
120789 #endif
120790 #ifdef __cplusplus
120792 #endif
120795 main ()
120797 return f != $ac_func;
120799 return 0;
120801 _ACEOF
120802 rm -f conftest.$ac_objext conftest$ac_exeext
120803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120804 (eval $ac_link) 2>conftest.er1
120805 ac_status=$?
120806 grep -v '^ *+' conftest.er1 >conftest.err
120807 rm -f conftest.er1
120808 cat conftest.err >&5
120809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120810 (exit $ac_status); } &&
120811 { ac_try='test -z "$ac_c_werror_flag"
120812 || test ! -s conftest.err'
120813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120814 (eval $ac_try) 2>&5
120815 ac_status=$?
120816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120817 (exit $ac_status); }; } &&
120818 { ac_try='test -s conftest$ac_exeext'
120819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120820 (eval $ac_try) 2>&5
120821 ac_status=$?
120822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120823 (exit $ac_status); }; }; then
120824 eval "$as_ac_var=yes"
120826 echo "$as_me: failed program was:" >&5
120827 sed 's/^/| /' conftest.$ac_ext >&5
120829 eval "$as_ac_var=no"
120831 rm -f conftest.err conftest.$ac_objext \
120832 conftest$ac_exeext conftest.$ac_ext
120834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
120835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
120836 if test `eval echo '${'$as_ac_var'}'` = yes; then
120837 cat >>confdefs.h <<_ACEOF
120838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
120839 _ACEOF
120846 echo "$as_me:$LINENO: checking for _modf declaration" >&5
120847 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
120848 if test x${glibcxx_cv_func__modf_use+set} != xset; then
120849 if test "${glibcxx_cv_func__modf_use+set}" = set; then
120850 echo $ECHO_N "(cached) $ECHO_C" >&6
120855 ac_ext=cc
120856 ac_cpp='$CXXCPP $CPPFLAGS'
120857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
120861 cat >conftest.$ac_ext <<_ACEOF
120862 /* confdefs.h. */
120863 _ACEOF
120864 cat confdefs.h >>conftest.$ac_ext
120865 cat >>conftest.$ac_ext <<_ACEOF
120866 /* end confdefs.h. */
120867 #include <math.h>
120869 main ()
120871 _modf(0, 0);
120873 return 0;
120875 _ACEOF
120876 rm -f conftest.$ac_objext
120877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120878 (eval $ac_compile) 2>conftest.er1
120879 ac_status=$?
120880 grep -v '^ *+' conftest.er1 >conftest.err
120881 rm -f conftest.er1
120882 cat conftest.err >&5
120883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120884 (exit $ac_status); } &&
120885 { ac_try='test -z "$ac_cxx_werror_flag"
120886 || test ! -s conftest.err'
120887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120888 (eval $ac_try) 2>&5
120889 ac_status=$?
120890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120891 (exit $ac_status); }; } &&
120892 { ac_try='test -s conftest.$ac_objext'
120893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120894 (eval $ac_try) 2>&5
120895 ac_status=$?
120896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120897 (exit $ac_status); }; }; then
120898 glibcxx_cv_func__modf_use=yes
120900 echo "$as_me: failed program was:" >&5
120901 sed 's/^/| /' conftest.$ac_ext >&5
120903 glibcxx_cv_func__modf_use=no
120905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120906 ac_ext=c
120907 ac_cpp='$CPP $CPPFLAGS'
120908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
120916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
120917 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
120919 if test x$glibcxx_cv_func__modf_use = x"yes"; then
120921 for ac_func in _modf
120923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
120924 echo "$as_me:$LINENO: checking for $ac_func" >&5
120925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
120926 if eval "test \"\${$as_ac_var+set}\" = set"; then
120927 echo $ECHO_N "(cached) $ECHO_C" >&6
120929 if test x$gcc_no_link = xyes; then
120930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
120931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
120932 { (exit 1); exit 1; }; }
120934 cat >conftest.$ac_ext <<_ACEOF
120935 /* confdefs.h. */
120936 _ACEOF
120937 cat confdefs.h >>conftest.$ac_ext
120938 cat >>conftest.$ac_ext <<_ACEOF
120939 /* end confdefs.h. */
120940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
120941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
120942 #define $ac_func innocuous_$ac_func
120944 /* System header to define __stub macros and hopefully few prototypes,
120945 which can conflict with char $ac_func (); below.
120946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
120947 <limits.h> exists even on freestanding compilers. */
120949 #ifdef __STDC__
120950 # include <limits.h>
120951 #else
120952 # include <assert.h>
120953 #endif
120955 #undef $ac_func
120957 /* Override any gcc2 internal prototype to avoid an error. */
120958 #ifdef __cplusplus
120959 extern "C"
120961 #endif
120962 /* We use char because int might match the return type of a gcc2
120963 builtin and then its argument prototype would still apply. */
120964 char $ac_func ();
120965 /* The GNU C library defines this for functions which it implements
120966 to always fail with ENOSYS. Some functions are actually named
120967 something starting with __ and the normal name is an alias. */
120968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
120969 choke me
120970 #else
120971 char (*f) () = $ac_func;
120972 #endif
120973 #ifdef __cplusplus
120975 #endif
120978 main ()
120980 return f != $ac_func;
120982 return 0;
120984 _ACEOF
120985 rm -f conftest.$ac_objext conftest$ac_exeext
120986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120987 (eval $ac_link) 2>conftest.er1
120988 ac_status=$?
120989 grep -v '^ *+' conftest.er1 >conftest.err
120990 rm -f conftest.er1
120991 cat conftest.err >&5
120992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120993 (exit $ac_status); } &&
120994 { ac_try='test -z "$ac_c_werror_flag"
120995 || test ! -s conftest.err'
120996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120997 (eval $ac_try) 2>&5
120998 ac_status=$?
120999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121000 (exit $ac_status); }; } &&
121001 { ac_try='test -s conftest$ac_exeext'
121002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121003 (eval $ac_try) 2>&5
121004 ac_status=$?
121005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121006 (exit $ac_status); }; }; then
121007 eval "$as_ac_var=yes"
121009 echo "$as_me: failed program was:" >&5
121010 sed 's/^/| /' conftest.$ac_ext >&5
121012 eval "$as_ac_var=no"
121014 rm -f conftest.err conftest.$ac_objext \
121015 conftest$ac_exeext conftest.$ac_ext
121017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
121018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
121019 if test `eval echo '${'$as_ac_var'}'` = yes; then
121020 cat >>confdefs.h <<_ACEOF
121021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
121022 _ACEOF
121035 echo "$as_me:$LINENO: checking for powf declaration" >&5
121036 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
121037 if test x${glibcxx_cv_func_powf_use+set} != xset; then
121038 if test "${glibcxx_cv_func_powf_use+set}" = set; then
121039 echo $ECHO_N "(cached) $ECHO_C" >&6
121044 ac_ext=cc
121045 ac_cpp='$CXXCPP $CPPFLAGS'
121046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
121050 cat >conftest.$ac_ext <<_ACEOF
121051 /* confdefs.h. */
121052 _ACEOF
121053 cat confdefs.h >>conftest.$ac_ext
121054 cat >>conftest.$ac_ext <<_ACEOF
121055 /* end confdefs.h. */
121056 #include <math.h>
121058 main ()
121060 powf(0, 0);
121062 return 0;
121064 _ACEOF
121065 rm -f conftest.$ac_objext
121066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
121067 (eval $ac_compile) 2>conftest.er1
121068 ac_status=$?
121069 grep -v '^ *+' conftest.er1 >conftest.err
121070 rm -f conftest.er1
121071 cat conftest.err >&5
121072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121073 (exit $ac_status); } &&
121074 { ac_try='test -z "$ac_cxx_werror_flag"
121075 || test ! -s conftest.err'
121076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121077 (eval $ac_try) 2>&5
121078 ac_status=$?
121079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121080 (exit $ac_status); }; } &&
121081 { ac_try='test -s conftest.$ac_objext'
121082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121083 (eval $ac_try) 2>&5
121084 ac_status=$?
121085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121086 (exit $ac_status); }; }; then
121087 glibcxx_cv_func_powf_use=yes
121089 echo "$as_me: failed program was:" >&5
121090 sed 's/^/| /' conftest.$ac_ext >&5
121092 glibcxx_cv_func_powf_use=no
121094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
121095 ac_ext=c
121096 ac_cpp='$CPP $CPPFLAGS'
121097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
121105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
121106 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
121108 if test x$glibcxx_cv_func_powf_use = x"yes"; then
121110 for ac_func in powf
121112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
121113 echo "$as_me:$LINENO: checking for $ac_func" >&5
121114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
121115 if eval "test \"\${$as_ac_var+set}\" = set"; then
121116 echo $ECHO_N "(cached) $ECHO_C" >&6
121118 if test x$gcc_no_link = xyes; then
121119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
121120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
121121 { (exit 1); exit 1; }; }
121123 cat >conftest.$ac_ext <<_ACEOF
121124 /* confdefs.h. */
121125 _ACEOF
121126 cat confdefs.h >>conftest.$ac_ext
121127 cat >>conftest.$ac_ext <<_ACEOF
121128 /* end confdefs.h. */
121129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
121130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
121131 #define $ac_func innocuous_$ac_func
121133 /* System header to define __stub macros and hopefully few prototypes,
121134 which can conflict with char $ac_func (); below.
121135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
121136 <limits.h> exists even on freestanding compilers. */
121138 #ifdef __STDC__
121139 # include <limits.h>
121140 #else
121141 # include <assert.h>
121142 #endif
121144 #undef $ac_func
121146 /* Override any gcc2 internal prototype to avoid an error. */
121147 #ifdef __cplusplus
121148 extern "C"
121150 #endif
121151 /* We use char because int might match the return type of a gcc2
121152 builtin and then its argument prototype would still apply. */
121153 char $ac_func ();
121154 /* The GNU C library defines this for functions which it implements
121155 to always fail with ENOSYS. Some functions are actually named
121156 something starting with __ and the normal name is an alias. */
121157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
121158 choke me
121159 #else
121160 char (*f) () = $ac_func;
121161 #endif
121162 #ifdef __cplusplus
121164 #endif
121167 main ()
121169 return f != $ac_func;
121171 return 0;
121173 _ACEOF
121174 rm -f conftest.$ac_objext conftest$ac_exeext
121175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
121176 (eval $ac_link) 2>conftest.er1
121177 ac_status=$?
121178 grep -v '^ *+' conftest.er1 >conftest.err
121179 rm -f conftest.er1
121180 cat conftest.err >&5
121181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121182 (exit $ac_status); } &&
121183 { ac_try='test -z "$ac_c_werror_flag"
121184 || test ! -s conftest.err'
121185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121186 (eval $ac_try) 2>&5
121187 ac_status=$?
121188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121189 (exit $ac_status); }; } &&
121190 { ac_try='test -s conftest$ac_exeext'
121191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121192 (eval $ac_try) 2>&5
121193 ac_status=$?
121194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121195 (exit $ac_status); }; }; then
121196 eval "$as_ac_var=yes"
121198 echo "$as_me: failed program was:" >&5
121199 sed 's/^/| /' conftest.$ac_ext >&5
121201 eval "$as_ac_var=no"
121203 rm -f conftest.err conftest.$ac_objext \
121204 conftest$ac_exeext conftest.$ac_ext
121206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
121207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
121208 if test `eval echo '${'$as_ac_var'}'` = yes; then
121209 cat >>confdefs.h <<_ACEOF
121210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
121211 _ACEOF
121218 echo "$as_me:$LINENO: checking for _powf declaration" >&5
121219 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
121220 if test x${glibcxx_cv_func__powf_use+set} != xset; then
121221 if test "${glibcxx_cv_func__powf_use+set}" = set; then
121222 echo $ECHO_N "(cached) $ECHO_C" >&6
121227 ac_ext=cc
121228 ac_cpp='$CXXCPP $CPPFLAGS'
121229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
121233 cat >conftest.$ac_ext <<_ACEOF
121234 /* confdefs.h. */
121235 _ACEOF
121236 cat confdefs.h >>conftest.$ac_ext
121237 cat >>conftest.$ac_ext <<_ACEOF
121238 /* end confdefs.h. */
121239 #include <math.h>
121241 main ()
121243 _powf(0, 0);
121245 return 0;
121247 _ACEOF
121248 rm -f conftest.$ac_objext
121249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
121250 (eval $ac_compile) 2>conftest.er1
121251 ac_status=$?
121252 grep -v '^ *+' conftest.er1 >conftest.err
121253 rm -f conftest.er1
121254 cat conftest.err >&5
121255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121256 (exit $ac_status); } &&
121257 { ac_try='test -z "$ac_cxx_werror_flag"
121258 || test ! -s conftest.err'
121259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121260 (eval $ac_try) 2>&5
121261 ac_status=$?
121262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121263 (exit $ac_status); }; } &&
121264 { ac_try='test -s conftest.$ac_objext'
121265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121266 (eval $ac_try) 2>&5
121267 ac_status=$?
121268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121269 (exit $ac_status); }; }; then
121270 glibcxx_cv_func__powf_use=yes
121272 echo "$as_me: failed program was:" >&5
121273 sed 's/^/| /' conftest.$ac_ext >&5
121275 glibcxx_cv_func__powf_use=no
121277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
121278 ac_ext=c
121279 ac_cpp='$CPP $CPPFLAGS'
121280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
121288 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
121289 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
121291 if test x$glibcxx_cv_func__powf_use = x"yes"; then
121293 for ac_func in _powf
121295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
121296 echo "$as_me:$LINENO: checking for $ac_func" >&5
121297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
121298 if eval "test \"\${$as_ac_var+set}\" = set"; then
121299 echo $ECHO_N "(cached) $ECHO_C" >&6
121301 if test x$gcc_no_link = xyes; then
121302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
121303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
121304 { (exit 1); exit 1; }; }
121306 cat >conftest.$ac_ext <<_ACEOF
121307 /* confdefs.h. */
121308 _ACEOF
121309 cat confdefs.h >>conftest.$ac_ext
121310 cat >>conftest.$ac_ext <<_ACEOF
121311 /* end confdefs.h. */
121312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
121313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
121314 #define $ac_func innocuous_$ac_func
121316 /* System header to define __stub macros and hopefully few prototypes,
121317 which can conflict with char $ac_func (); below.
121318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
121319 <limits.h> exists even on freestanding compilers. */
121321 #ifdef __STDC__
121322 # include <limits.h>
121323 #else
121324 # include <assert.h>
121325 #endif
121327 #undef $ac_func
121329 /* Override any gcc2 internal prototype to avoid an error. */
121330 #ifdef __cplusplus
121331 extern "C"
121333 #endif
121334 /* We use char because int might match the return type of a gcc2
121335 builtin and then its argument prototype would still apply. */
121336 char $ac_func ();
121337 /* The GNU C library defines this for functions which it implements
121338 to always fail with ENOSYS. Some functions are actually named
121339 something starting with __ and the normal name is an alias. */
121340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
121341 choke me
121342 #else
121343 char (*f) () = $ac_func;
121344 #endif
121345 #ifdef __cplusplus
121347 #endif
121350 main ()
121352 return f != $ac_func;
121354 return 0;
121356 _ACEOF
121357 rm -f conftest.$ac_objext conftest$ac_exeext
121358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
121359 (eval $ac_link) 2>conftest.er1
121360 ac_status=$?
121361 grep -v '^ *+' conftest.er1 >conftest.err
121362 rm -f conftest.er1
121363 cat conftest.err >&5
121364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121365 (exit $ac_status); } &&
121366 { ac_try='test -z "$ac_c_werror_flag"
121367 || test ! -s conftest.err'
121368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121369 (eval $ac_try) 2>&5
121370 ac_status=$?
121371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121372 (exit $ac_status); }; } &&
121373 { ac_try='test -s conftest$ac_exeext'
121374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121375 (eval $ac_try) 2>&5
121376 ac_status=$?
121377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121378 (exit $ac_status); }; }; then
121379 eval "$as_ac_var=yes"
121381 echo "$as_me: failed program was:" >&5
121382 sed 's/^/| /' conftest.$ac_ext >&5
121384 eval "$as_ac_var=no"
121386 rm -f conftest.err conftest.$ac_objext \
121387 conftest$ac_exeext conftest.$ac_ext
121389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
121390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
121391 if test `eval echo '${'$as_ac_var'}'` = yes; then
121392 cat >>confdefs.h <<_ACEOF
121393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
121394 _ACEOF
121407 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
121408 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
121409 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
121410 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
121411 echo $ECHO_N "(cached) $ECHO_C" >&6
121416 ac_ext=cc
121417 ac_cpp='$CXXCPP $CPPFLAGS'
121418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
121422 cat >conftest.$ac_ext <<_ACEOF
121423 /* confdefs.h. */
121424 _ACEOF
121425 cat confdefs.h >>conftest.$ac_ext
121426 cat >>conftest.$ac_ext <<_ACEOF
121427 /* end confdefs.h. */
121428 #include <math.h>
121429 #ifdef HAVE_IEEEFP_H
121430 #include <ieeefp.h>
121431 #endif
121434 main ()
121436 sqrtf(0);
121438 return 0;
121440 _ACEOF
121441 rm -f conftest.$ac_objext
121442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
121443 (eval $ac_compile) 2>conftest.er1
121444 ac_status=$?
121445 grep -v '^ *+' conftest.er1 >conftest.err
121446 rm -f conftest.er1
121447 cat conftest.err >&5
121448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121449 (exit $ac_status); } &&
121450 { ac_try='test -z "$ac_cxx_werror_flag"
121451 || test ! -s conftest.err'
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); }; } &&
121457 { ac_try='test -s conftest.$ac_objext'
121458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121459 (eval $ac_try) 2>&5
121460 ac_status=$?
121461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121462 (exit $ac_status); }; }; then
121463 glibcxx_cv_func_sqrtf_use=yes
121465 echo "$as_me: failed program was:" >&5
121466 sed 's/^/| /' conftest.$ac_ext >&5
121468 glibcxx_cv_func_sqrtf_use=no
121470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
121471 ac_ext=c
121472 ac_cpp='$CPP $CPPFLAGS'
121473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
121481 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
121482 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
121484 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
121486 for ac_func in sqrtf
121488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
121489 echo "$as_me:$LINENO: checking for $ac_func" >&5
121490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
121491 if eval "test \"\${$as_ac_var+set}\" = set"; then
121492 echo $ECHO_N "(cached) $ECHO_C" >&6
121494 if test x$gcc_no_link = xyes; then
121495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
121496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
121497 { (exit 1); exit 1; }; }
121499 cat >conftest.$ac_ext <<_ACEOF
121500 /* confdefs.h. */
121501 _ACEOF
121502 cat confdefs.h >>conftest.$ac_ext
121503 cat >>conftest.$ac_ext <<_ACEOF
121504 /* end confdefs.h. */
121505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
121506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
121507 #define $ac_func innocuous_$ac_func
121509 /* System header to define __stub macros and hopefully few prototypes,
121510 which can conflict with char $ac_func (); below.
121511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
121512 <limits.h> exists even on freestanding compilers. */
121514 #ifdef __STDC__
121515 # include <limits.h>
121516 #else
121517 # include <assert.h>
121518 #endif
121520 #undef $ac_func
121522 /* Override any gcc2 internal prototype to avoid an error. */
121523 #ifdef __cplusplus
121524 extern "C"
121526 #endif
121527 /* We use char because int might match the return type of a gcc2
121528 builtin and then its argument prototype would still apply. */
121529 char $ac_func ();
121530 /* The GNU C library defines this for functions which it implements
121531 to always fail with ENOSYS. Some functions are actually named
121532 something starting with __ and the normal name is an alias. */
121533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
121534 choke me
121535 #else
121536 char (*f) () = $ac_func;
121537 #endif
121538 #ifdef __cplusplus
121540 #endif
121543 main ()
121545 return f != $ac_func;
121547 return 0;
121549 _ACEOF
121550 rm -f conftest.$ac_objext conftest$ac_exeext
121551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
121552 (eval $ac_link) 2>conftest.er1
121553 ac_status=$?
121554 grep -v '^ *+' conftest.er1 >conftest.err
121555 rm -f conftest.er1
121556 cat conftest.err >&5
121557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121558 (exit $ac_status); } &&
121559 { ac_try='test -z "$ac_c_werror_flag"
121560 || test ! -s conftest.err'
121561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121562 (eval $ac_try) 2>&5
121563 ac_status=$?
121564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121565 (exit $ac_status); }; } &&
121566 { ac_try='test -s conftest$ac_exeext'
121567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121568 (eval $ac_try) 2>&5
121569 ac_status=$?
121570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121571 (exit $ac_status); }; }; then
121572 eval "$as_ac_var=yes"
121574 echo "$as_me: failed program was:" >&5
121575 sed 's/^/| /' conftest.$ac_ext >&5
121577 eval "$as_ac_var=no"
121579 rm -f conftest.err conftest.$ac_objext \
121580 conftest$ac_exeext conftest.$ac_ext
121582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
121583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
121584 if test `eval echo '${'$as_ac_var'}'` = yes; then
121585 cat >>confdefs.h <<_ACEOF
121586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
121587 _ACEOF
121594 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
121595 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
121596 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
121597 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
121598 echo $ECHO_N "(cached) $ECHO_C" >&6
121603 ac_ext=cc
121604 ac_cpp='$CXXCPP $CPPFLAGS'
121605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
121609 cat >conftest.$ac_ext <<_ACEOF
121610 /* confdefs.h. */
121611 _ACEOF
121612 cat confdefs.h >>conftest.$ac_ext
121613 cat >>conftest.$ac_ext <<_ACEOF
121614 /* end confdefs.h. */
121615 #include <math.h>
121616 #ifdef HAVE_IEEEFP_H
121617 #include <ieeefp.h>
121618 #endif
121621 main ()
121623 _sqrtf(0);
121625 return 0;
121627 _ACEOF
121628 rm -f conftest.$ac_objext
121629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
121630 (eval $ac_compile) 2>conftest.er1
121631 ac_status=$?
121632 grep -v '^ *+' conftest.er1 >conftest.err
121633 rm -f conftest.er1
121634 cat conftest.err >&5
121635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121636 (exit $ac_status); } &&
121637 { ac_try='test -z "$ac_cxx_werror_flag"
121638 || test ! -s conftest.err'
121639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121640 (eval $ac_try) 2>&5
121641 ac_status=$?
121642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121643 (exit $ac_status); }; } &&
121644 { ac_try='test -s conftest.$ac_objext'
121645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121646 (eval $ac_try) 2>&5
121647 ac_status=$?
121648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121649 (exit $ac_status); }; }; then
121650 glibcxx_cv_func__sqrtf_use=yes
121652 echo "$as_me: failed program was:" >&5
121653 sed 's/^/| /' conftest.$ac_ext >&5
121655 glibcxx_cv_func__sqrtf_use=no
121657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
121658 ac_ext=c
121659 ac_cpp='$CPP $CPPFLAGS'
121660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
121668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
121669 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
121671 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
121673 for ac_func in _sqrtf
121675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
121676 echo "$as_me:$LINENO: checking for $ac_func" >&5
121677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
121678 if eval "test \"\${$as_ac_var+set}\" = set"; then
121679 echo $ECHO_N "(cached) $ECHO_C" >&6
121681 if test x$gcc_no_link = xyes; then
121682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
121683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
121684 { (exit 1); exit 1; }; }
121686 cat >conftest.$ac_ext <<_ACEOF
121687 /* confdefs.h. */
121688 _ACEOF
121689 cat confdefs.h >>conftest.$ac_ext
121690 cat >>conftest.$ac_ext <<_ACEOF
121691 /* end confdefs.h. */
121692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
121693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
121694 #define $ac_func innocuous_$ac_func
121696 /* System header to define __stub macros and hopefully few prototypes,
121697 which can conflict with char $ac_func (); below.
121698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
121699 <limits.h> exists even on freestanding compilers. */
121701 #ifdef __STDC__
121702 # include <limits.h>
121703 #else
121704 # include <assert.h>
121705 #endif
121707 #undef $ac_func
121709 /* Override any gcc2 internal prototype to avoid an error. */
121710 #ifdef __cplusplus
121711 extern "C"
121713 #endif
121714 /* We use char because int might match the return type of a gcc2
121715 builtin and then its argument prototype would still apply. */
121716 char $ac_func ();
121717 /* The GNU C library defines this for functions which it implements
121718 to always fail with ENOSYS. Some functions are actually named
121719 something starting with __ and the normal name is an alias. */
121720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
121721 choke me
121722 #else
121723 char (*f) () = $ac_func;
121724 #endif
121725 #ifdef __cplusplus
121727 #endif
121730 main ()
121732 return f != $ac_func;
121734 return 0;
121736 _ACEOF
121737 rm -f conftest.$ac_objext conftest$ac_exeext
121738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
121739 (eval $ac_link) 2>conftest.er1
121740 ac_status=$?
121741 grep -v '^ *+' conftest.er1 >conftest.err
121742 rm -f conftest.er1
121743 cat conftest.err >&5
121744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121745 (exit $ac_status); } &&
121746 { ac_try='test -z "$ac_c_werror_flag"
121747 || test ! -s conftest.err'
121748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121749 (eval $ac_try) 2>&5
121750 ac_status=$?
121751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121752 (exit $ac_status); }; } &&
121753 { ac_try='test -s conftest$ac_exeext'
121754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121755 (eval $ac_try) 2>&5
121756 ac_status=$?
121757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121758 (exit $ac_status); }; }; then
121759 eval "$as_ac_var=yes"
121761 echo "$as_me: failed program was:" >&5
121762 sed 's/^/| /' conftest.$ac_ext >&5
121764 eval "$as_ac_var=no"
121766 rm -f conftest.err conftest.$ac_objext \
121767 conftest$ac_exeext conftest.$ac_ext
121769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
121770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
121771 if test `eval echo '${'$as_ac_var'}'` = yes; then
121772 cat >>confdefs.h <<_ACEOF
121773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
121774 _ACEOF
121787 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
121788 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
121789 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
121790 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
121791 echo $ECHO_N "(cached) $ECHO_C" >&6
121796 ac_ext=cc
121797 ac_cpp='$CXXCPP $CPPFLAGS'
121798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
121802 cat >conftest.$ac_ext <<_ACEOF
121803 /* confdefs.h. */
121804 _ACEOF
121805 cat confdefs.h >>conftest.$ac_ext
121806 cat >>conftest.$ac_ext <<_ACEOF
121807 /* end confdefs.h. */
121808 #include <math.h>
121810 main ()
121812 sincosf(0, 0, 0);
121814 return 0;
121816 _ACEOF
121817 rm -f conftest.$ac_objext
121818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
121819 (eval $ac_compile) 2>conftest.er1
121820 ac_status=$?
121821 grep -v '^ *+' conftest.er1 >conftest.err
121822 rm -f conftest.er1
121823 cat conftest.err >&5
121824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121825 (exit $ac_status); } &&
121826 { ac_try='test -z "$ac_cxx_werror_flag"
121827 || test ! -s conftest.err'
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); }; } &&
121833 { ac_try='test -s conftest.$ac_objext'
121834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121835 (eval $ac_try) 2>&5
121836 ac_status=$?
121837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121838 (exit $ac_status); }; }; then
121839 glibcxx_cv_func_sincosf_use=yes
121841 echo "$as_me: failed program was:" >&5
121842 sed 's/^/| /' conftest.$ac_ext >&5
121844 glibcxx_cv_func_sincosf_use=no
121846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
121847 ac_ext=c
121848 ac_cpp='$CPP $CPPFLAGS'
121849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
121857 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
121858 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
121860 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
121862 for ac_func in sincosf
121864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
121865 echo "$as_me:$LINENO: checking for $ac_func" >&5
121866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
121867 if eval "test \"\${$as_ac_var+set}\" = set"; then
121868 echo $ECHO_N "(cached) $ECHO_C" >&6
121870 if test x$gcc_no_link = xyes; then
121871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
121872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
121873 { (exit 1); exit 1; }; }
121875 cat >conftest.$ac_ext <<_ACEOF
121876 /* confdefs.h. */
121877 _ACEOF
121878 cat confdefs.h >>conftest.$ac_ext
121879 cat >>conftest.$ac_ext <<_ACEOF
121880 /* end confdefs.h. */
121881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
121882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
121883 #define $ac_func innocuous_$ac_func
121885 /* System header to define __stub macros and hopefully few prototypes,
121886 which can conflict with char $ac_func (); below.
121887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
121888 <limits.h> exists even on freestanding compilers. */
121890 #ifdef __STDC__
121891 # include <limits.h>
121892 #else
121893 # include <assert.h>
121894 #endif
121896 #undef $ac_func
121898 /* Override any gcc2 internal prototype to avoid an error. */
121899 #ifdef __cplusplus
121900 extern "C"
121902 #endif
121903 /* We use char because int might match the return type of a gcc2
121904 builtin and then its argument prototype would still apply. */
121905 char $ac_func ();
121906 /* The GNU C library defines this for functions which it implements
121907 to always fail with ENOSYS. Some functions are actually named
121908 something starting with __ and the normal name is an alias. */
121909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
121910 choke me
121911 #else
121912 char (*f) () = $ac_func;
121913 #endif
121914 #ifdef __cplusplus
121916 #endif
121919 main ()
121921 return f != $ac_func;
121923 return 0;
121925 _ACEOF
121926 rm -f conftest.$ac_objext conftest$ac_exeext
121927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
121928 (eval $ac_link) 2>conftest.er1
121929 ac_status=$?
121930 grep -v '^ *+' conftest.er1 >conftest.err
121931 rm -f conftest.er1
121932 cat conftest.err >&5
121933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121934 (exit $ac_status); } &&
121935 { ac_try='test -z "$ac_c_werror_flag"
121936 || test ! -s conftest.err'
121937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121938 (eval $ac_try) 2>&5
121939 ac_status=$?
121940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121941 (exit $ac_status); }; } &&
121942 { ac_try='test -s conftest$ac_exeext'
121943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121944 (eval $ac_try) 2>&5
121945 ac_status=$?
121946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121947 (exit $ac_status); }; }; then
121948 eval "$as_ac_var=yes"
121950 echo "$as_me: failed program was:" >&5
121951 sed 's/^/| /' conftest.$ac_ext >&5
121953 eval "$as_ac_var=no"
121955 rm -f conftest.err conftest.$ac_objext \
121956 conftest$ac_exeext conftest.$ac_ext
121958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
121959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
121960 if test `eval echo '${'$as_ac_var'}'` = yes; then
121961 cat >>confdefs.h <<_ACEOF
121962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
121963 _ACEOF
121970 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
121971 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
121972 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
121973 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
121974 echo $ECHO_N "(cached) $ECHO_C" >&6
121979 ac_ext=cc
121980 ac_cpp='$CXXCPP $CPPFLAGS'
121981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
121985 cat >conftest.$ac_ext <<_ACEOF
121986 /* confdefs.h. */
121987 _ACEOF
121988 cat confdefs.h >>conftest.$ac_ext
121989 cat >>conftest.$ac_ext <<_ACEOF
121990 /* end confdefs.h. */
121991 #include <math.h>
121993 main ()
121995 _sincosf(0, 0, 0);
121997 return 0;
121999 _ACEOF
122000 rm -f conftest.$ac_objext
122001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
122002 (eval $ac_compile) 2>conftest.er1
122003 ac_status=$?
122004 grep -v '^ *+' conftest.er1 >conftest.err
122005 rm -f conftest.er1
122006 cat conftest.err >&5
122007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122008 (exit $ac_status); } &&
122009 { ac_try='test -z "$ac_cxx_werror_flag"
122010 || test ! -s conftest.err'
122011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122012 (eval $ac_try) 2>&5
122013 ac_status=$?
122014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122015 (exit $ac_status); }; } &&
122016 { ac_try='test -s conftest.$ac_objext'
122017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122018 (eval $ac_try) 2>&5
122019 ac_status=$?
122020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122021 (exit $ac_status); }; }; then
122022 glibcxx_cv_func__sincosf_use=yes
122024 echo "$as_me: failed program was:" >&5
122025 sed 's/^/| /' conftest.$ac_ext >&5
122027 glibcxx_cv_func__sincosf_use=no
122029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
122030 ac_ext=c
122031 ac_cpp='$CPP $CPPFLAGS'
122032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
122040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
122041 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
122043 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
122045 for ac_func in _sincosf
122047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
122048 echo "$as_me:$LINENO: checking for $ac_func" >&5
122049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
122050 if eval "test \"\${$as_ac_var+set}\" = set"; then
122051 echo $ECHO_N "(cached) $ECHO_C" >&6
122053 if test x$gcc_no_link = xyes; then
122054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
122055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
122056 { (exit 1); exit 1; }; }
122058 cat >conftest.$ac_ext <<_ACEOF
122059 /* confdefs.h. */
122060 _ACEOF
122061 cat confdefs.h >>conftest.$ac_ext
122062 cat >>conftest.$ac_ext <<_ACEOF
122063 /* end confdefs.h. */
122064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
122065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
122066 #define $ac_func innocuous_$ac_func
122068 /* System header to define __stub macros and hopefully few prototypes,
122069 which can conflict with char $ac_func (); below.
122070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
122071 <limits.h> exists even on freestanding compilers. */
122073 #ifdef __STDC__
122074 # include <limits.h>
122075 #else
122076 # include <assert.h>
122077 #endif
122079 #undef $ac_func
122081 /* Override any gcc2 internal prototype to avoid an error. */
122082 #ifdef __cplusplus
122083 extern "C"
122085 #endif
122086 /* We use char because int might match the return type of a gcc2
122087 builtin and then its argument prototype would still apply. */
122088 char $ac_func ();
122089 /* The GNU C library defines this for functions which it implements
122090 to always fail with ENOSYS. Some functions are actually named
122091 something starting with __ and the normal name is an alias. */
122092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
122093 choke me
122094 #else
122095 char (*f) () = $ac_func;
122096 #endif
122097 #ifdef __cplusplus
122099 #endif
122102 main ()
122104 return f != $ac_func;
122106 return 0;
122108 _ACEOF
122109 rm -f conftest.$ac_objext conftest$ac_exeext
122110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
122111 (eval $ac_link) 2>conftest.er1
122112 ac_status=$?
122113 grep -v '^ *+' conftest.er1 >conftest.err
122114 rm -f conftest.er1
122115 cat conftest.err >&5
122116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122117 (exit $ac_status); } &&
122118 { ac_try='test -z "$ac_c_werror_flag"
122119 || test ! -s conftest.err'
122120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122121 (eval $ac_try) 2>&5
122122 ac_status=$?
122123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122124 (exit $ac_status); }; } &&
122125 { ac_try='test -s conftest$ac_exeext'
122126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122127 (eval $ac_try) 2>&5
122128 ac_status=$?
122129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122130 (exit $ac_status); }; }; then
122131 eval "$as_ac_var=yes"
122133 echo "$as_me: failed program was:" >&5
122134 sed 's/^/| /' conftest.$ac_ext >&5
122136 eval "$as_ac_var=no"
122138 rm -f conftest.err conftest.$ac_objext \
122139 conftest$ac_exeext conftest.$ac_ext
122141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
122142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
122143 if test `eval echo '${'$as_ac_var'}'` = yes; then
122144 cat >>confdefs.h <<_ACEOF
122145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
122146 _ACEOF
122159 echo "$as_me:$LINENO: checking for finitef declaration" >&5
122160 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
122161 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
122162 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
122163 echo $ECHO_N "(cached) $ECHO_C" >&6
122168 ac_ext=cc
122169 ac_cpp='$CXXCPP $CPPFLAGS'
122170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
122174 cat >conftest.$ac_ext <<_ACEOF
122175 /* confdefs.h. */
122176 _ACEOF
122177 cat confdefs.h >>conftest.$ac_ext
122178 cat >>conftest.$ac_ext <<_ACEOF
122179 /* end confdefs.h. */
122180 #include <math.h>
122181 #ifdef HAVE_IEEEFP_H
122182 #include <ieeefp.h>
122183 #endif
122186 main ()
122188 finitef(0);
122190 return 0;
122192 _ACEOF
122193 rm -f conftest.$ac_objext
122194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
122195 (eval $ac_compile) 2>conftest.er1
122196 ac_status=$?
122197 grep -v '^ *+' conftest.er1 >conftest.err
122198 rm -f conftest.er1
122199 cat conftest.err >&5
122200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122201 (exit $ac_status); } &&
122202 { ac_try='test -z "$ac_cxx_werror_flag"
122203 || test ! -s conftest.err'
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); }; } &&
122209 { ac_try='test -s conftest.$ac_objext'
122210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122211 (eval $ac_try) 2>&5
122212 ac_status=$?
122213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122214 (exit $ac_status); }; }; then
122215 glibcxx_cv_func_finitef_use=yes
122217 echo "$as_me: failed program was:" >&5
122218 sed 's/^/| /' conftest.$ac_ext >&5
122220 glibcxx_cv_func_finitef_use=no
122222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
122223 ac_ext=c
122224 ac_cpp='$CPP $CPPFLAGS'
122225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
122233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
122234 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
122236 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
122238 for ac_func in finitef
122240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
122241 echo "$as_me:$LINENO: checking for $ac_func" >&5
122242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
122243 if eval "test \"\${$as_ac_var+set}\" = set"; then
122244 echo $ECHO_N "(cached) $ECHO_C" >&6
122246 if test x$gcc_no_link = xyes; then
122247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
122248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
122249 { (exit 1); exit 1; }; }
122251 cat >conftest.$ac_ext <<_ACEOF
122252 /* confdefs.h. */
122253 _ACEOF
122254 cat confdefs.h >>conftest.$ac_ext
122255 cat >>conftest.$ac_ext <<_ACEOF
122256 /* end confdefs.h. */
122257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
122258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
122259 #define $ac_func innocuous_$ac_func
122261 /* System header to define __stub macros and hopefully few prototypes,
122262 which can conflict with char $ac_func (); below.
122263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
122264 <limits.h> exists even on freestanding compilers. */
122266 #ifdef __STDC__
122267 # include <limits.h>
122268 #else
122269 # include <assert.h>
122270 #endif
122272 #undef $ac_func
122274 /* Override any gcc2 internal prototype to avoid an error. */
122275 #ifdef __cplusplus
122276 extern "C"
122278 #endif
122279 /* We use char because int might match the return type of a gcc2
122280 builtin and then its argument prototype would still apply. */
122281 char $ac_func ();
122282 /* The GNU C library defines this for functions which it implements
122283 to always fail with ENOSYS. Some functions are actually named
122284 something starting with __ and the normal name is an alias. */
122285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
122286 choke me
122287 #else
122288 char (*f) () = $ac_func;
122289 #endif
122290 #ifdef __cplusplus
122292 #endif
122295 main ()
122297 return f != $ac_func;
122299 return 0;
122301 _ACEOF
122302 rm -f conftest.$ac_objext conftest$ac_exeext
122303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
122304 (eval $ac_link) 2>conftest.er1
122305 ac_status=$?
122306 grep -v '^ *+' conftest.er1 >conftest.err
122307 rm -f conftest.er1
122308 cat conftest.err >&5
122309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122310 (exit $ac_status); } &&
122311 { ac_try='test -z "$ac_c_werror_flag"
122312 || test ! -s conftest.err'
122313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122314 (eval $ac_try) 2>&5
122315 ac_status=$?
122316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122317 (exit $ac_status); }; } &&
122318 { ac_try='test -s conftest$ac_exeext'
122319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122320 (eval $ac_try) 2>&5
122321 ac_status=$?
122322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122323 (exit $ac_status); }; }; then
122324 eval "$as_ac_var=yes"
122326 echo "$as_me: failed program was:" >&5
122327 sed 's/^/| /' conftest.$ac_ext >&5
122329 eval "$as_ac_var=no"
122331 rm -f conftest.err conftest.$ac_objext \
122332 conftest$ac_exeext conftest.$ac_ext
122334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
122335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
122336 if test `eval echo '${'$as_ac_var'}'` = yes; then
122337 cat >>confdefs.h <<_ACEOF
122338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
122339 _ACEOF
122346 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
122347 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
122348 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
122349 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
122350 echo $ECHO_N "(cached) $ECHO_C" >&6
122355 ac_ext=cc
122356 ac_cpp='$CXXCPP $CPPFLAGS'
122357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
122361 cat >conftest.$ac_ext <<_ACEOF
122362 /* confdefs.h. */
122363 _ACEOF
122364 cat confdefs.h >>conftest.$ac_ext
122365 cat >>conftest.$ac_ext <<_ACEOF
122366 /* end confdefs.h. */
122367 #include <math.h>
122368 #ifdef HAVE_IEEEFP_H
122369 #include <ieeefp.h>
122370 #endif
122373 main ()
122375 _finitef(0);
122377 return 0;
122379 _ACEOF
122380 rm -f conftest.$ac_objext
122381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
122382 (eval $ac_compile) 2>conftest.er1
122383 ac_status=$?
122384 grep -v '^ *+' conftest.er1 >conftest.err
122385 rm -f conftest.er1
122386 cat conftest.err >&5
122387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122388 (exit $ac_status); } &&
122389 { ac_try='test -z "$ac_cxx_werror_flag"
122390 || test ! -s conftest.err'
122391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122392 (eval $ac_try) 2>&5
122393 ac_status=$?
122394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122395 (exit $ac_status); }; } &&
122396 { ac_try='test -s conftest.$ac_objext'
122397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122398 (eval $ac_try) 2>&5
122399 ac_status=$?
122400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122401 (exit $ac_status); }; }; then
122402 glibcxx_cv_func__finitef_use=yes
122404 echo "$as_me: failed program was:" >&5
122405 sed 's/^/| /' conftest.$ac_ext >&5
122407 glibcxx_cv_func__finitef_use=no
122409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
122410 ac_ext=c
122411 ac_cpp='$CPP $CPPFLAGS'
122412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
122420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
122421 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
122423 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
122425 for ac_func in _finitef
122427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
122428 echo "$as_me:$LINENO: checking for $ac_func" >&5
122429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
122430 if eval "test \"\${$as_ac_var+set}\" = set"; then
122431 echo $ECHO_N "(cached) $ECHO_C" >&6
122433 if test x$gcc_no_link = xyes; then
122434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
122435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
122436 { (exit 1); exit 1; }; }
122438 cat >conftest.$ac_ext <<_ACEOF
122439 /* confdefs.h. */
122440 _ACEOF
122441 cat confdefs.h >>conftest.$ac_ext
122442 cat >>conftest.$ac_ext <<_ACEOF
122443 /* end confdefs.h. */
122444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
122445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
122446 #define $ac_func innocuous_$ac_func
122448 /* System header to define __stub macros and hopefully few prototypes,
122449 which can conflict with char $ac_func (); below.
122450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
122451 <limits.h> exists even on freestanding compilers. */
122453 #ifdef __STDC__
122454 # include <limits.h>
122455 #else
122456 # include <assert.h>
122457 #endif
122459 #undef $ac_func
122461 /* Override any gcc2 internal prototype to avoid an error. */
122462 #ifdef __cplusplus
122463 extern "C"
122465 #endif
122466 /* We use char because int might match the return type of a gcc2
122467 builtin and then its argument prototype would still apply. */
122468 char $ac_func ();
122469 /* The GNU C library defines this for functions which it implements
122470 to always fail with ENOSYS. Some functions are actually named
122471 something starting with __ and the normal name is an alias. */
122472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
122473 choke me
122474 #else
122475 char (*f) () = $ac_func;
122476 #endif
122477 #ifdef __cplusplus
122479 #endif
122482 main ()
122484 return f != $ac_func;
122486 return 0;
122488 _ACEOF
122489 rm -f conftest.$ac_objext conftest$ac_exeext
122490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
122491 (eval $ac_link) 2>conftest.er1
122492 ac_status=$?
122493 grep -v '^ *+' conftest.er1 >conftest.err
122494 rm -f conftest.er1
122495 cat conftest.err >&5
122496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122497 (exit $ac_status); } &&
122498 { ac_try='test -z "$ac_c_werror_flag"
122499 || test ! -s conftest.err'
122500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122501 (eval $ac_try) 2>&5
122502 ac_status=$?
122503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122504 (exit $ac_status); }; } &&
122505 { ac_try='test -s conftest$ac_exeext'
122506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122507 (eval $ac_try) 2>&5
122508 ac_status=$?
122509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122510 (exit $ac_status); }; }; then
122511 eval "$as_ac_var=yes"
122513 echo "$as_me: failed program was:" >&5
122514 sed 's/^/| /' conftest.$ac_ext >&5
122516 eval "$as_ac_var=no"
122518 rm -f conftest.err conftest.$ac_objext \
122519 conftest$ac_exeext conftest.$ac_ext
122521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
122522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
122523 if test `eval echo '${'$as_ac_var'}'` = yes; then
122524 cat >>confdefs.h <<_ACEOF
122525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
122526 _ACEOF
122539 echo "$as_me:$LINENO: checking for long double trig functions" >&5
122540 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
122541 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
122542 echo $ECHO_N "(cached) $ECHO_C" >&6
122547 ac_ext=cc
122548 ac_cpp='$CXXCPP $CPPFLAGS'
122549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
122553 cat >conftest.$ac_ext <<_ACEOF
122554 /* confdefs.h. */
122555 _ACEOF
122556 cat confdefs.h >>conftest.$ac_ext
122557 cat >>conftest.$ac_ext <<_ACEOF
122558 /* end confdefs.h. */
122559 #include <math.h>
122561 main ()
122563 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
122565 return 0;
122567 _ACEOF
122568 rm -f conftest.$ac_objext
122569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
122570 (eval $ac_compile) 2>conftest.er1
122571 ac_status=$?
122572 grep -v '^ *+' conftest.er1 >conftest.err
122573 rm -f conftest.er1
122574 cat conftest.err >&5
122575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122576 (exit $ac_status); } &&
122577 { ac_try='test -z "$ac_cxx_werror_flag"
122578 || test ! -s conftest.err'
122579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122580 (eval $ac_try) 2>&5
122581 ac_status=$?
122582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122583 (exit $ac_status); }; } &&
122584 { ac_try='test -s conftest.$ac_objext'
122585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122586 (eval $ac_try) 2>&5
122587 ac_status=$?
122588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122589 (exit $ac_status); }; }; then
122590 glibcxx_cv_func_long_double_trig_use=yes
122592 echo "$as_me: failed program was:" >&5
122593 sed 's/^/| /' conftest.$ac_ext >&5
122595 glibcxx_cv_func_long_double_trig_use=no
122597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
122598 ac_ext=c
122599 ac_cpp='$CPP $CPPFLAGS'
122600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
122606 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
122607 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
122608 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
122618 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
122620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
122621 echo "$as_me:$LINENO: checking for $ac_func" >&5
122622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
122623 if eval "test \"\${$as_ac_var+set}\" = set"; then
122624 echo $ECHO_N "(cached) $ECHO_C" >&6
122626 if test x$gcc_no_link = xyes; then
122627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
122628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
122629 { (exit 1); exit 1; }; }
122631 cat >conftest.$ac_ext <<_ACEOF
122632 /* confdefs.h. */
122633 _ACEOF
122634 cat confdefs.h >>conftest.$ac_ext
122635 cat >>conftest.$ac_ext <<_ACEOF
122636 /* end confdefs.h. */
122637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
122638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
122639 #define $ac_func innocuous_$ac_func
122641 /* System header to define __stub macros and hopefully few prototypes,
122642 which can conflict with char $ac_func (); below.
122643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
122644 <limits.h> exists even on freestanding compilers. */
122646 #ifdef __STDC__
122647 # include <limits.h>
122648 #else
122649 # include <assert.h>
122650 #endif
122652 #undef $ac_func
122654 /* Override any gcc2 internal prototype to avoid an error. */
122655 #ifdef __cplusplus
122656 extern "C"
122658 #endif
122659 /* We use char because int might match the return type of a gcc2
122660 builtin and then its argument prototype would still apply. */
122661 char $ac_func ();
122662 /* The GNU C library defines this for functions which it implements
122663 to always fail with ENOSYS. Some functions are actually named
122664 something starting with __ and the normal name is an alias. */
122665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
122666 choke me
122667 #else
122668 char (*f) () = $ac_func;
122669 #endif
122670 #ifdef __cplusplus
122672 #endif
122675 main ()
122677 return f != $ac_func;
122679 return 0;
122681 _ACEOF
122682 rm -f conftest.$ac_objext conftest$ac_exeext
122683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
122684 (eval $ac_link) 2>conftest.er1
122685 ac_status=$?
122686 grep -v '^ *+' conftest.er1 >conftest.err
122687 rm -f conftest.er1
122688 cat conftest.err >&5
122689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122690 (exit $ac_status); } &&
122691 { ac_try='test -z "$ac_c_werror_flag"
122692 || test ! -s conftest.err'
122693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122694 (eval $ac_try) 2>&5
122695 ac_status=$?
122696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122697 (exit $ac_status); }; } &&
122698 { ac_try='test -s conftest$ac_exeext'
122699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122700 (eval $ac_try) 2>&5
122701 ac_status=$?
122702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122703 (exit $ac_status); }; }; then
122704 eval "$as_ac_var=yes"
122706 echo "$as_me: failed program was:" >&5
122707 sed 's/^/| /' conftest.$ac_ext >&5
122709 eval "$as_ac_var=no"
122711 rm -f conftest.err conftest.$ac_objext \
122712 conftest$ac_exeext conftest.$ac_ext
122714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
122715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
122716 if test `eval echo '${'$as_ac_var'}'` = yes; then
122717 cat >>confdefs.h <<_ACEOF
122718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
122719 _ACEOF
122725 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
122726 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
122727 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
122728 echo $ECHO_N "(cached) $ECHO_C" >&6
122733 ac_ext=cc
122734 ac_cpp='$CXXCPP $CPPFLAGS'
122735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
122739 cat >conftest.$ac_ext <<_ACEOF
122740 /* confdefs.h. */
122741 _ACEOF
122742 cat confdefs.h >>conftest.$ac_ext
122743 cat >>conftest.$ac_ext <<_ACEOF
122744 /* end confdefs.h. */
122745 #include <math.h>
122747 main ()
122749 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
122751 return 0;
122753 _ACEOF
122754 rm -f conftest.$ac_objext
122755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
122756 (eval $ac_compile) 2>conftest.er1
122757 ac_status=$?
122758 grep -v '^ *+' conftest.er1 >conftest.err
122759 rm -f conftest.er1
122760 cat conftest.err >&5
122761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122762 (exit $ac_status); } &&
122763 { ac_try='test -z "$ac_cxx_werror_flag"
122764 || test ! -s conftest.err'
122765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122766 (eval $ac_try) 2>&5
122767 ac_status=$?
122768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122769 (exit $ac_status); }; } &&
122770 { ac_try='test -s conftest.$ac_objext'
122771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122772 (eval $ac_try) 2>&5
122773 ac_status=$?
122774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122775 (exit $ac_status); }; }; then
122776 glibcxx_cv_func__long_double_trig_use=yes
122778 echo "$as_me: failed program was:" >&5
122779 sed 's/^/| /' conftest.$ac_ext >&5
122781 glibcxx_cv_func__long_double_trig_use=no
122783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
122784 ac_ext=c
122785 ac_cpp='$CPP $CPPFLAGS'
122786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
122792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
122793 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
122794 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
122804 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
122806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
122807 echo "$as_me:$LINENO: checking for $ac_func" >&5
122808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
122809 if eval "test \"\${$as_ac_var+set}\" = set"; then
122810 echo $ECHO_N "(cached) $ECHO_C" >&6
122812 if test x$gcc_no_link = xyes; then
122813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
122814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
122815 { (exit 1); exit 1; }; }
122817 cat >conftest.$ac_ext <<_ACEOF
122818 /* confdefs.h. */
122819 _ACEOF
122820 cat confdefs.h >>conftest.$ac_ext
122821 cat >>conftest.$ac_ext <<_ACEOF
122822 /* end confdefs.h. */
122823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
122824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
122825 #define $ac_func innocuous_$ac_func
122827 /* System header to define __stub macros and hopefully few prototypes,
122828 which can conflict with char $ac_func (); below.
122829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
122830 <limits.h> exists even on freestanding compilers. */
122832 #ifdef __STDC__
122833 # include <limits.h>
122834 #else
122835 # include <assert.h>
122836 #endif
122838 #undef $ac_func
122840 /* Override any gcc2 internal prototype to avoid an error. */
122841 #ifdef __cplusplus
122842 extern "C"
122844 #endif
122845 /* We use char because int might match the return type of a gcc2
122846 builtin and then its argument prototype would still apply. */
122847 char $ac_func ();
122848 /* The GNU C library defines this for functions which it implements
122849 to always fail with ENOSYS. Some functions are actually named
122850 something starting with __ and the normal name is an alias. */
122851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
122852 choke me
122853 #else
122854 char (*f) () = $ac_func;
122855 #endif
122856 #ifdef __cplusplus
122858 #endif
122861 main ()
122863 return f != $ac_func;
122865 return 0;
122867 _ACEOF
122868 rm -f conftest.$ac_objext conftest$ac_exeext
122869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
122870 (eval $ac_link) 2>conftest.er1
122871 ac_status=$?
122872 grep -v '^ *+' conftest.er1 >conftest.err
122873 rm -f conftest.er1
122874 cat conftest.err >&5
122875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122876 (exit $ac_status); } &&
122877 { ac_try='test -z "$ac_c_werror_flag"
122878 || test ! -s conftest.err'
122879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122880 (eval $ac_try) 2>&5
122881 ac_status=$?
122882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122883 (exit $ac_status); }; } &&
122884 { ac_try='test -s conftest$ac_exeext'
122885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122886 (eval $ac_try) 2>&5
122887 ac_status=$?
122888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122889 (exit $ac_status); }; }; then
122890 eval "$as_ac_var=yes"
122892 echo "$as_me: failed program was:" >&5
122893 sed 's/^/| /' conftest.$ac_ext >&5
122895 eval "$as_ac_var=no"
122897 rm -f conftest.err conftest.$ac_objext \
122898 conftest$ac_exeext conftest.$ac_ext
122900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
122901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
122902 if test `eval echo '${'$as_ac_var'}'` = yes; then
122903 cat >>confdefs.h <<_ACEOF
122904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
122905 _ACEOF
122926 echo "$as_me:$LINENO: checking for long double round functions" >&5
122927 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
122928 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
122929 echo $ECHO_N "(cached) $ECHO_C" >&6
122934 ac_ext=cc
122935 ac_cpp='$CXXCPP $CPPFLAGS'
122936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
122940 cat >conftest.$ac_ext <<_ACEOF
122941 /* confdefs.h. */
122942 _ACEOF
122943 cat confdefs.h >>conftest.$ac_ext
122944 cat >>conftest.$ac_ext <<_ACEOF
122945 /* end confdefs.h. */
122946 #include <math.h>
122948 main ()
122950 ceill (0); floorl (0);
122952 return 0;
122954 _ACEOF
122955 rm -f conftest.$ac_objext
122956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
122957 (eval $ac_compile) 2>conftest.er1
122958 ac_status=$?
122959 grep -v '^ *+' conftest.er1 >conftest.err
122960 rm -f conftest.er1
122961 cat conftest.err >&5
122962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122963 (exit $ac_status); } &&
122964 { ac_try='test -z "$ac_cxx_werror_flag"
122965 || test ! -s conftest.err'
122966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122967 (eval $ac_try) 2>&5
122968 ac_status=$?
122969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122970 (exit $ac_status); }; } &&
122971 { ac_try='test -s conftest.$ac_objext'
122972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122973 (eval $ac_try) 2>&5
122974 ac_status=$?
122975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122976 (exit $ac_status); }; }; then
122977 glibcxx_cv_func_long_double_round_use=yes
122979 echo "$as_me: failed program was:" >&5
122980 sed 's/^/| /' conftest.$ac_ext >&5
122982 glibcxx_cv_func_long_double_round_use=no
122984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
122985 ac_ext=c
122986 ac_cpp='$CPP $CPPFLAGS'
122987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
122993 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
122994 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
122995 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
122998 for ac_func in ceill floorl
123000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
123001 echo "$as_me:$LINENO: checking for $ac_func" >&5
123002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
123003 if eval "test \"\${$as_ac_var+set}\" = set"; then
123004 echo $ECHO_N "(cached) $ECHO_C" >&6
123006 if test x$gcc_no_link = xyes; then
123007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
123008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
123009 { (exit 1); exit 1; }; }
123011 cat >conftest.$ac_ext <<_ACEOF
123012 /* confdefs.h. */
123013 _ACEOF
123014 cat confdefs.h >>conftest.$ac_ext
123015 cat >>conftest.$ac_ext <<_ACEOF
123016 /* end confdefs.h. */
123017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
123018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
123019 #define $ac_func innocuous_$ac_func
123021 /* System header to define __stub macros and hopefully few prototypes,
123022 which can conflict with char $ac_func (); below.
123023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
123024 <limits.h> exists even on freestanding compilers. */
123026 #ifdef __STDC__
123027 # include <limits.h>
123028 #else
123029 # include <assert.h>
123030 #endif
123032 #undef $ac_func
123034 /* Override any gcc2 internal prototype to avoid an error. */
123035 #ifdef __cplusplus
123036 extern "C"
123038 #endif
123039 /* We use char because int might match the return type of a gcc2
123040 builtin and then its argument prototype would still apply. */
123041 char $ac_func ();
123042 /* The GNU C library defines this for functions which it implements
123043 to always fail with ENOSYS. Some functions are actually named
123044 something starting with __ and the normal name is an alias. */
123045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
123046 choke me
123047 #else
123048 char (*f) () = $ac_func;
123049 #endif
123050 #ifdef __cplusplus
123052 #endif
123055 main ()
123057 return f != $ac_func;
123059 return 0;
123061 _ACEOF
123062 rm -f conftest.$ac_objext conftest$ac_exeext
123063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
123064 (eval $ac_link) 2>conftest.er1
123065 ac_status=$?
123066 grep -v '^ *+' conftest.er1 >conftest.err
123067 rm -f conftest.er1
123068 cat conftest.err >&5
123069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123070 (exit $ac_status); } &&
123071 { ac_try='test -z "$ac_c_werror_flag"
123072 || test ! -s conftest.err'
123073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123074 (eval $ac_try) 2>&5
123075 ac_status=$?
123076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123077 (exit $ac_status); }; } &&
123078 { ac_try='test -s conftest$ac_exeext'
123079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123080 (eval $ac_try) 2>&5
123081 ac_status=$?
123082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123083 (exit $ac_status); }; }; then
123084 eval "$as_ac_var=yes"
123086 echo "$as_me: failed program was:" >&5
123087 sed 's/^/| /' conftest.$ac_ext >&5
123089 eval "$as_ac_var=no"
123091 rm -f conftest.err conftest.$ac_objext \
123092 conftest$ac_exeext conftest.$ac_ext
123094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
123095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
123096 if test `eval echo '${'$as_ac_var'}'` = yes; then
123097 cat >>confdefs.h <<_ACEOF
123098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
123099 _ACEOF
123105 echo "$as_me:$LINENO: checking for _long double round functions" >&5
123106 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
123107 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
123108 echo $ECHO_N "(cached) $ECHO_C" >&6
123113 ac_ext=cc
123114 ac_cpp='$CXXCPP $CPPFLAGS'
123115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
123119 cat >conftest.$ac_ext <<_ACEOF
123120 /* confdefs.h. */
123121 _ACEOF
123122 cat confdefs.h >>conftest.$ac_ext
123123 cat >>conftest.$ac_ext <<_ACEOF
123124 /* end confdefs.h. */
123125 #include <math.h>
123127 main ()
123129 _ceill (0); _floorl (0);
123131 return 0;
123133 _ACEOF
123134 rm -f conftest.$ac_objext
123135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
123136 (eval $ac_compile) 2>conftest.er1
123137 ac_status=$?
123138 grep -v '^ *+' conftest.er1 >conftest.err
123139 rm -f conftest.er1
123140 cat conftest.err >&5
123141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123142 (exit $ac_status); } &&
123143 { ac_try='test -z "$ac_cxx_werror_flag"
123144 || test ! -s conftest.err'
123145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123146 (eval $ac_try) 2>&5
123147 ac_status=$?
123148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123149 (exit $ac_status); }; } &&
123150 { ac_try='test -s conftest.$ac_objext'
123151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123152 (eval $ac_try) 2>&5
123153 ac_status=$?
123154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123155 (exit $ac_status); }; }; then
123156 glibcxx_cv_func__long_double_round_use=yes
123158 echo "$as_me: failed program was:" >&5
123159 sed 's/^/| /' conftest.$ac_ext >&5
123161 glibcxx_cv_func__long_double_round_use=no
123163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
123164 ac_ext=c
123165 ac_cpp='$CPP $CPPFLAGS'
123166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
123172 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
123173 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
123174 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
123177 for ac_func in _ceill _floorl
123179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
123180 echo "$as_me:$LINENO: checking for $ac_func" >&5
123181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
123182 if eval "test \"\${$as_ac_var+set}\" = set"; then
123183 echo $ECHO_N "(cached) $ECHO_C" >&6
123185 if test x$gcc_no_link = xyes; then
123186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
123187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
123188 { (exit 1); exit 1; }; }
123190 cat >conftest.$ac_ext <<_ACEOF
123191 /* confdefs.h. */
123192 _ACEOF
123193 cat confdefs.h >>conftest.$ac_ext
123194 cat >>conftest.$ac_ext <<_ACEOF
123195 /* end confdefs.h. */
123196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
123197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
123198 #define $ac_func innocuous_$ac_func
123200 /* System header to define __stub macros and hopefully few prototypes,
123201 which can conflict with char $ac_func (); below.
123202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
123203 <limits.h> exists even on freestanding compilers. */
123205 #ifdef __STDC__
123206 # include <limits.h>
123207 #else
123208 # include <assert.h>
123209 #endif
123211 #undef $ac_func
123213 /* Override any gcc2 internal prototype to avoid an error. */
123214 #ifdef __cplusplus
123215 extern "C"
123217 #endif
123218 /* We use char because int might match the return type of a gcc2
123219 builtin and then its argument prototype would still apply. */
123220 char $ac_func ();
123221 /* The GNU C library defines this for functions which it implements
123222 to always fail with ENOSYS. Some functions are actually named
123223 something starting with __ and the normal name is an alias. */
123224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
123225 choke me
123226 #else
123227 char (*f) () = $ac_func;
123228 #endif
123229 #ifdef __cplusplus
123231 #endif
123234 main ()
123236 return f != $ac_func;
123238 return 0;
123240 _ACEOF
123241 rm -f conftest.$ac_objext conftest$ac_exeext
123242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
123243 (eval $ac_link) 2>conftest.er1
123244 ac_status=$?
123245 grep -v '^ *+' conftest.er1 >conftest.err
123246 rm -f conftest.er1
123247 cat conftest.err >&5
123248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123249 (exit $ac_status); } &&
123250 { ac_try='test -z "$ac_c_werror_flag"
123251 || test ! -s conftest.err'
123252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123253 (eval $ac_try) 2>&5
123254 ac_status=$?
123255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123256 (exit $ac_status); }; } &&
123257 { ac_try='test -s conftest$ac_exeext'
123258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123259 (eval $ac_try) 2>&5
123260 ac_status=$?
123261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123262 (exit $ac_status); }; }; then
123263 eval "$as_ac_var=yes"
123265 echo "$as_me: failed program was:" >&5
123266 sed 's/^/| /' conftest.$ac_ext >&5
123268 eval "$as_ac_var=no"
123270 rm -f conftest.err conftest.$ac_objext \
123271 conftest$ac_exeext conftest.$ac_ext
123273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
123274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
123275 if test `eval echo '${'$as_ac_var'}'` = yes; then
123276 cat >>confdefs.h <<_ACEOF
123277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
123278 _ACEOF
123293 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
123294 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
123295 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
123296 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
123297 echo $ECHO_N "(cached) $ECHO_C" >&6
123302 ac_ext=cc
123303 ac_cpp='$CXXCPP $CPPFLAGS'
123304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
123308 cat >conftest.$ac_ext <<_ACEOF
123309 /* confdefs.h. */
123310 _ACEOF
123311 cat confdefs.h >>conftest.$ac_ext
123312 cat >>conftest.$ac_ext <<_ACEOF
123313 /* end confdefs.h. */
123314 #include <math.h>
123315 #ifdef HAVE_IEEEFP_H
123316 #include <ieeefp.h>
123317 #endif
123320 main ()
123322 isnanl(0);
123324 return 0;
123326 _ACEOF
123327 rm -f conftest.$ac_objext
123328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
123329 (eval $ac_compile) 2>conftest.er1
123330 ac_status=$?
123331 grep -v '^ *+' conftest.er1 >conftest.err
123332 rm -f conftest.er1
123333 cat conftest.err >&5
123334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123335 (exit $ac_status); } &&
123336 { ac_try='test -z "$ac_cxx_werror_flag"
123337 || test ! -s conftest.err'
123338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123339 (eval $ac_try) 2>&5
123340 ac_status=$?
123341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123342 (exit $ac_status); }; } &&
123343 { ac_try='test -s conftest.$ac_objext'
123344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123345 (eval $ac_try) 2>&5
123346 ac_status=$?
123347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123348 (exit $ac_status); }; }; then
123349 glibcxx_cv_func_isnanl_use=yes
123351 echo "$as_me: failed program was:" >&5
123352 sed 's/^/| /' conftest.$ac_ext >&5
123354 glibcxx_cv_func_isnanl_use=no
123356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
123357 ac_ext=c
123358 ac_cpp='$CPP $CPPFLAGS'
123359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
123367 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
123368 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
123370 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
123372 for ac_func in isnanl
123374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
123375 echo "$as_me:$LINENO: checking for $ac_func" >&5
123376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
123377 if eval "test \"\${$as_ac_var+set}\" = set"; then
123378 echo $ECHO_N "(cached) $ECHO_C" >&6
123380 if test x$gcc_no_link = xyes; then
123381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
123382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
123383 { (exit 1); exit 1; }; }
123385 cat >conftest.$ac_ext <<_ACEOF
123386 /* confdefs.h. */
123387 _ACEOF
123388 cat confdefs.h >>conftest.$ac_ext
123389 cat >>conftest.$ac_ext <<_ACEOF
123390 /* end confdefs.h. */
123391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
123392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
123393 #define $ac_func innocuous_$ac_func
123395 /* System header to define __stub macros and hopefully few prototypes,
123396 which can conflict with char $ac_func (); below.
123397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
123398 <limits.h> exists even on freestanding compilers. */
123400 #ifdef __STDC__
123401 # include <limits.h>
123402 #else
123403 # include <assert.h>
123404 #endif
123406 #undef $ac_func
123408 /* Override any gcc2 internal prototype to avoid an error. */
123409 #ifdef __cplusplus
123410 extern "C"
123412 #endif
123413 /* We use char because int might match the return type of a gcc2
123414 builtin and then its argument prototype would still apply. */
123415 char $ac_func ();
123416 /* The GNU C library defines this for functions which it implements
123417 to always fail with ENOSYS. Some functions are actually named
123418 something starting with __ and the normal name is an alias. */
123419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
123420 choke me
123421 #else
123422 char (*f) () = $ac_func;
123423 #endif
123424 #ifdef __cplusplus
123426 #endif
123429 main ()
123431 return f != $ac_func;
123433 return 0;
123435 _ACEOF
123436 rm -f conftest.$ac_objext conftest$ac_exeext
123437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
123438 (eval $ac_link) 2>conftest.er1
123439 ac_status=$?
123440 grep -v '^ *+' conftest.er1 >conftest.err
123441 rm -f conftest.er1
123442 cat conftest.err >&5
123443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123444 (exit $ac_status); } &&
123445 { ac_try='test -z "$ac_c_werror_flag"
123446 || test ! -s conftest.err'
123447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123448 (eval $ac_try) 2>&5
123449 ac_status=$?
123450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123451 (exit $ac_status); }; } &&
123452 { ac_try='test -s conftest$ac_exeext'
123453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123454 (eval $ac_try) 2>&5
123455 ac_status=$?
123456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123457 (exit $ac_status); }; }; then
123458 eval "$as_ac_var=yes"
123460 echo "$as_me: failed program was:" >&5
123461 sed 's/^/| /' conftest.$ac_ext >&5
123463 eval "$as_ac_var=no"
123465 rm -f conftest.err conftest.$ac_objext \
123466 conftest$ac_exeext conftest.$ac_ext
123468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
123469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
123470 if test `eval echo '${'$as_ac_var'}'` = yes; then
123471 cat >>confdefs.h <<_ACEOF
123472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
123473 _ACEOF
123480 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
123481 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
123482 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
123483 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
123484 echo $ECHO_N "(cached) $ECHO_C" >&6
123489 ac_ext=cc
123490 ac_cpp='$CXXCPP $CPPFLAGS'
123491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
123495 cat >conftest.$ac_ext <<_ACEOF
123496 /* confdefs.h. */
123497 _ACEOF
123498 cat confdefs.h >>conftest.$ac_ext
123499 cat >>conftest.$ac_ext <<_ACEOF
123500 /* end confdefs.h. */
123501 #include <math.h>
123502 #ifdef HAVE_IEEEFP_H
123503 #include <ieeefp.h>
123504 #endif
123507 main ()
123509 _isnanl(0);
123511 return 0;
123513 _ACEOF
123514 rm -f conftest.$ac_objext
123515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
123516 (eval $ac_compile) 2>conftest.er1
123517 ac_status=$?
123518 grep -v '^ *+' conftest.er1 >conftest.err
123519 rm -f conftest.er1
123520 cat conftest.err >&5
123521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123522 (exit $ac_status); } &&
123523 { ac_try='test -z "$ac_cxx_werror_flag"
123524 || test ! -s conftest.err'
123525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123526 (eval $ac_try) 2>&5
123527 ac_status=$?
123528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123529 (exit $ac_status); }; } &&
123530 { ac_try='test -s conftest.$ac_objext'
123531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123532 (eval $ac_try) 2>&5
123533 ac_status=$?
123534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123535 (exit $ac_status); }; }; then
123536 glibcxx_cv_func__isnanl_use=yes
123538 echo "$as_me: failed program was:" >&5
123539 sed 's/^/| /' conftest.$ac_ext >&5
123541 glibcxx_cv_func__isnanl_use=no
123543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
123544 ac_ext=c
123545 ac_cpp='$CPP $CPPFLAGS'
123546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
123554 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
123555 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
123557 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
123559 for ac_func in _isnanl
123561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
123562 echo "$as_me:$LINENO: checking for $ac_func" >&5
123563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
123564 if eval "test \"\${$as_ac_var+set}\" = set"; then
123565 echo $ECHO_N "(cached) $ECHO_C" >&6
123567 if test x$gcc_no_link = xyes; then
123568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
123569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
123570 { (exit 1); exit 1; }; }
123572 cat >conftest.$ac_ext <<_ACEOF
123573 /* confdefs.h. */
123574 _ACEOF
123575 cat confdefs.h >>conftest.$ac_ext
123576 cat >>conftest.$ac_ext <<_ACEOF
123577 /* end confdefs.h. */
123578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
123579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
123580 #define $ac_func innocuous_$ac_func
123582 /* System header to define __stub macros and hopefully few prototypes,
123583 which can conflict with char $ac_func (); below.
123584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
123585 <limits.h> exists even on freestanding compilers. */
123587 #ifdef __STDC__
123588 # include <limits.h>
123589 #else
123590 # include <assert.h>
123591 #endif
123593 #undef $ac_func
123595 /* Override any gcc2 internal prototype to avoid an error. */
123596 #ifdef __cplusplus
123597 extern "C"
123599 #endif
123600 /* We use char because int might match the return type of a gcc2
123601 builtin and then its argument prototype would still apply. */
123602 char $ac_func ();
123603 /* The GNU C library defines this for functions which it implements
123604 to always fail with ENOSYS. Some functions are actually named
123605 something starting with __ and the normal name is an alias. */
123606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
123607 choke me
123608 #else
123609 char (*f) () = $ac_func;
123610 #endif
123611 #ifdef __cplusplus
123613 #endif
123616 main ()
123618 return f != $ac_func;
123620 return 0;
123622 _ACEOF
123623 rm -f conftest.$ac_objext conftest$ac_exeext
123624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
123625 (eval $ac_link) 2>conftest.er1
123626 ac_status=$?
123627 grep -v '^ *+' conftest.er1 >conftest.err
123628 rm -f conftest.er1
123629 cat conftest.err >&5
123630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123631 (exit $ac_status); } &&
123632 { ac_try='test -z "$ac_c_werror_flag"
123633 || test ! -s conftest.err'
123634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123635 (eval $ac_try) 2>&5
123636 ac_status=$?
123637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123638 (exit $ac_status); }; } &&
123639 { ac_try='test -s conftest$ac_exeext'
123640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123641 (eval $ac_try) 2>&5
123642 ac_status=$?
123643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123644 (exit $ac_status); }; }; then
123645 eval "$as_ac_var=yes"
123647 echo "$as_me: failed program was:" >&5
123648 sed 's/^/| /' conftest.$ac_ext >&5
123650 eval "$as_ac_var=no"
123652 rm -f conftest.err conftest.$ac_objext \
123653 conftest$ac_exeext conftest.$ac_ext
123655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
123656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
123657 if test `eval echo '${'$as_ac_var'}'` = yes; then
123658 cat >>confdefs.h <<_ACEOF
123659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
123660 _ACEOF
123673 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
123674 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
123675 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
123676 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
123677 echo $ECHO_N "(cached) $ECHO_C" >&6
123682 ac_ext=cc
123683 ac_cpp='$CXXCPP $CPPFLAGS'
123684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
123688 cat >conftest.$ac_ext <<_ACEOF
123689 /* confdefs.h. */
123690 _ACEOF
123691 cat confdefs.h >>conftest.$ac_ext
123692 cat >>conftest.$ac_ext <<_ACEOF
123693 /* end confdefs.h. */
123694 #include <math.h>
123695 #ifdef HAVE_IEEEFP_H
123696 #include <ieeefp.h>
123697 #endif
123700 main ()
123702 isinfl(0);
123704 return 0;
123706 _ACEOF
123707 rm -f conftest.$ac_objext
123708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
123709 (eval $ac_compile) 2>conftest.er1
123710 ac_status=$?
123711 grep -v '^ *+' conftest.er1 >conftest.err
123712 rm -f conftest.er1
123713 cat conftest.err >&5
123714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123715 (exit $ac_status); } &&
123716 { ac_try='test -z "$ac_cxx_werror_flag"
123717 || test ! -s conftest.err'
123718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123719 (eval $ac_try) 2>&5
123720 ac_status=$?
123721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123722 (exit $ac_status); }; } &&
123723 { ac_try='test -s conftest.$ac_objext'
123724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123725 (eval $ac_try) 2>&5
123726 ac_status=$?
123727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123728 (exit $ac_status); }; }; then
123729 glibcxx_cv_func_isinfl_use=yes
123731 echo "$as_me: failed program was:" >&5
123732 sed 's/^/| /' conftest.$ac_ext >&5
123734 glibcxx_cv_func_isinfl_use=no
123736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
123737 ac_ext=c
123738 ac_cpp='$CPP $CPPFLAGS'
123739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
123747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
123748 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
123750 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
123752 for ac_func in isinfl
123754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
123755 echo "$as_me:$LINENO: checking for $ac_func" >&5
123756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
123757 if eval "test \"\${$as_ac_var+set}\" = set"; then
123758 echo $ECHO_N "(cached) $ECHO_C" >&6
123760 if test x$gcc_no_link = xyes; then
123761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
123762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
123763 { (exit 1); exit 1; }; }
123765 cat >conftest.$ac_ext <<_ACEOF
123766 /* confdefs.h. */
123767 _ACEOF
123768 cat confdefs.h >>conftest.$ac_ext
123769 cat >>conftest.$ac_ext <<_ACEOF
123770 /* end confdefs.h. */
123771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
123772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
123773 #define $ac_func innocuous_$ac_func
123775 /* System header to define __stub macros and hopefully few prototypes,
123776 which can conflict with char $ac_func (); below.
123777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
123778 <limits.h> exists even on freestanding compilers. */
123780 #ifdef __STDC__
123781 # include <limits.h>
123782 #else
123783 # include <assert.h>
123784 #endif
123786 #undef $ac_func
123788 /* Override any gcc2 internal prototype to avoid an error. */
123789 #ifdef __cplusplus
123790 extern "C"
123792 #endif
123793 /* We use char because int might match the return type of a gcc2
123794 builtin and then its argument prototype would still apply. */
123795 char $ac_func ();
123796 /* The GNU C library defines this for functions which it implements
123797 to always fail with ENOSYS. Some functions are actually named
123798 something starting with __ and the normal name is an alias. */
123799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
123800 choke me
123801 #else
123802 char (*f) () = $ac_func;
123803 #endif
123804 #ifdef __cplusplus
123806 #endif
123809 main ()
123811 return f != $ac_func;
123813 return 0;
123815 _ACEOF
123816 rm -f conftest.$ac_objext conftest$ac_exeext
123817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
123818 (eval $ac_link) 2>conftest.er1
123819 ac_status=$?
123820 grep -v '^ *+' conftest.er1 >conftest.err
123821 rm -f conftest.er1
123822 cat conftest.err >&5
123823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123824 (exit $ac_status); } &&
123825 { ac_try='test -z "$ac_c_werror_flag"
123826 || test ! -s conftest.err'
123827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123828 (eval $ac_try) 2>&5
123829 ac_status=$?
123830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123831 (exit $ac_status); }; } &&
123832 { ac_try='test -s conftest$ac_exeext'
123833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123834 (eval $ac_try) 2>&5
123835 ac_status=$?
123836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123837 (exit $ac_status); }; }; then
123838 eval "$as_ac_var=yes"
123840 echo "$as_me: failed program was:" >&5
123841 sed 's/^/| /' conftest.$ac_ext >&5
123843 eval "$as_ac_var=no"
123845 rm -f conftest.err conftest.$ac_objext \
123846 conftest$ac_exeext conftest.$ac_ext
123848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
123849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
123850 if test `eval echo '${'$as_ac_var'}'` = yes; then
123851 cat >>confdefs.h <<_ACEOF
123852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
123853 _ACEOF
123860 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
123861 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
123862 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
123863 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
123864 echo $ECHO_N "(cached) $ECHO_C" >&6
123869 ac_ext=cc
123870 ac_cpp='$CXXCPP $CPPFLAGS'
123871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
123875 cat >conftest.$ac_ext <<_ACEOF
123876 /* confdefs.h. */
123877 _ACEOF
123878 cat confdefs.h >>conftest.$ac_ext
123879 cat >>conftest.$ac_ext <<_ACEOF
123880 /* end confdefs.h. */
123881 #include <math.h>
123882 #ifdef HAVE_IEEEFP_H
123883 #include <ieeefp.h>
123884 #endif
123887 main ()
123889 _isinfl(0);
123891 return 0;
123893 _ACEOF
123894 rm -f conftest.$ac_objext
123895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
123896 (eval $ac_compile) 2>conftest.er1
123897 ac_status=$?
123898 grep -v '^ *+' conftest.er1 >conftest.err
123899 rm -f conftest.er1
123900 cat conftest.err >&5
123901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123902 (exit $ac_status); } &&
123903 { ac_try='test -z "$ac_cxx_werror_flag"
123904 || test ! -s conftest.err'
123905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123906 (eval $ac_try) 2>&5
123907 ac_status=$?
123908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123909 (exit $ac_status); }; } &&
123910 { ac_try='test -s conftest.$ac_objext'
123911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123912 (eval $ac_try) 2>&5
123913 ac_status=$?
123914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123915 (exit $ac_status); }; }; then
123916 glibcxx_cv_func__isinfl_use=yes
123918 echo "$as_me: failed program was:" >&5
123919 sed 's/^/| /' conftest.$ac_ext >&5
123921 glibcxx_cv_func__isinfl_use=no
123923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
123924 ac_ext=c
123925 ac_cpp='$CPP $CPPFLAGS'
123926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
123934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
123935 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
123937 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
123939 for ac_func in _isinfl
123941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
123942 echo "$as_me:$LINENO: checking for $ac_func" >&5
123943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
123944 if eval "test \"\${$as_ac_var+set}\" = set"; then
123945 echo $ECHO_N "(cached) $ECHO_C" >&6
123947 if test x$gcc_no_link = xyes; then
123948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
123949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
123950 { (exit 1); exit 1; }; }
123952 cat >conftest.$ac_ext <<_ACEOF
123953 /* confdefs.h. */
123954 _ACEOF
123955 cat confdefs.h >>conftest.$ac_ext
123956 cat >>conftest.$ac_ext <<_ACEOF
123957 /* end confdefs.h. */
123958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
123959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
123960 #define $ac_func innocuous_$ac_func
123962 /* System header to define __stub macros and hopefully few prototypes,
123963 which can conflict with char $ac_func (); below.
123964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
123965 <limits.h> exists even on freestanding compilers. */
123967 #ifdef __STDC__
123968 # include <limits.h>
123969 #else
123970 # include <assert.h>
123971 #endif
123973 #undef $ac_func
123975 /* Override any gcc2 internal prototype to avoid an error. */
123976 #ifdef __cplusplus
123977 extern "C"
123979 #endif
123980 /* We use char because int might match the return type of a gcc2
123981 builtin and then its argument prototype would still apply. */
123982 char $ac_func ();
123983 /* The GNU C library defines this for functions which it implements
123984 to always fail with ENOSYS. Some functions are actually named
123985 something starting with __ and the normal name is an alias. */
123986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
123987 choke me
123988 #else
123989 char (*f) () = $ac_func;
123990 #endif
123991 #ifdef __cplusplus
123993 #endif
123996 main ()
123998 return f != $ac_func;
124000 return 0;
124002 _ACEOF
124003 rm -f conftest.$ac_objext conftest$ac_exeext
124004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
124005 (eval $ac_link) 2>conftest.er1
124006 ac_status=$?
124007 grep -v '^ *+' conftest.er1 >conftest.err
124008 rm -f conftest.er1
124009 cat conftest.err >&5
124010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124011 (exit $ac_status); } &&
124012 { ac_try='test -z "$ac_c_werror_flag"
124013 || test ! -s conftest.err'
124014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124015 (eval $ac_try) 2>&5
124016 ac_status=$?
124017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124018 (exit $ac_status); }; } &&
124019 { ac_try='test -s conftest$ac_exeext'
124020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124021 (eval $ac_try) 2>&5
124022 ac_status=$?
124023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124024 (exit $ac_status); }; }; then
124025 eval "$as_ac_var=yes"
124027 echo "$as_me: failed program was:" >&5
124028 sed 's/^/| /' conftest.$ac_ext >&5
124030 eval "$as_ac_var=no"
124032 rm -f conftest.err conftest.$ac_objext \
124033 conftest$ac_exeext conftest.$ac_ext
124035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
124036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
124037 if test `eval echo '${'$as_ac_var'}'` = yes; then
124038 cat >>confdefs.h <<_ACEOF
124039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
124040 _ACEOF
124053 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
124054 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
124055 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
124056 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
124057 echo $ECHO_N "(cached) $ECHO_C" >&6
124062 ac_ext=cc
124063 ac_cpp='$CXXCPP $CPPFLAGS'
124064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
124068 cat >conftest.$ac_ext <<_ACEOF
124069 /* confdefs.h. */
124070 _ACEOF
124071 cat confdefs.h >>conftest.$ac_ext
124072 cat >>conftest.$ac_ext <<_ACEOF
124073 /* end confdefs.h. */
124074 #include <math.h>
124076 main ()
124078 atan2l(0, 0);
124080 return 0;
124082 _ACEOF
124083 rm -f conftest.$ac_objext
124084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
124085 (eval $ac_compile) 2>conftest.er1
124086 ac_status=$?
124087 grep -v '^ *+' conftest.er1 >conftest.err
124088 rm -f conftest.er1
124089 cat conftest.err >&5
124090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124091 (exit $ac_status); } &&
124092 { ac_try='test -z "$ac_cxx_werror_flag"
124093 || test ! -s conftest.err'
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); }; } &&
124099 { ac_try='test -s conftest.$ac_objext'
124100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124101 (eval $ac_try) 2>&5
124102 ac_status=$?
124103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124104 (exit $ac_status); }; }; then
124105 glibcxx_cv_func_atan2l_use=yes
124107 echo "$as_me: failed program was:" >&5
124108 sed 's/^/| /' conftest.$ac_ext >&5
124110 glibcxx_cv_func_atan2l_use=no
124112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
124113 ac_ext=c
124114 ac_cpp='$CPP $CPPFLAGS'
124115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
124123 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
124124 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
124126 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
124128 for ac_func in atan2l
124130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
124131 echo "$as_me:$LINENO: checking for $ac_func" >&5
124132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
124133 if eval "test \"\${$as_ac_var+set}\" = set"; then
124134 echo $ECHO_N "(cached) $ECHO_C" >&6
124136 if test x$gcc_no_link = xyes; then
124137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
124138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
124139 { (exit 1); exit 1; }; }
124141 cat >conftest.$ac_ext <<_ACEOF
124142 /* confdefs.h. */
124143 _ACEOF
124144 cat confdefs.h >>conftest.$ac_ext
124145 cat >>conftest.$ac_ext <<_ACEOF
124146 /* end confdefs.h. */
124147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
124148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
124149 #define $ac_func innocuous_$ac_func
124151 /* System header to define __stub macros and hopefully few prototypes,
124152 which can conflict with char $ac_func (); below.
124153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
124154 <limits.h> exists even on freestanding compilers. */
124156 #ifdef __STDC__
124157 # include <limits.h>
124158 #else
124159 # include <assert.h>
124160 #endif
124162 #undef $ac_func
124164 /* Override any gcc2 internal prototype to avoid an error. */
124165 #ifdef __cplusplus
124166 extern "C"
124168 #endif
124169 /* We use char because int might match the return type of a gcc2
124170 builtin and then its argument prototype would still apply. */
124171 char $ac_func ();
124172 /* The GNU C library defines this for functions which it implements
124173 to always fail with ENOSYS. Some functions are actually named
124174 something starting with __ and the normal name is an alias. */
124175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
124176 choke me
124177 #else
124178 char (*f) () = $ac_func;
124179 #endif
124180 #ifdef __cplusplus
124182 #endif
124185 main ()
124187 return f != $ac_func;
124189 return 0;
124191 _ACEOF
124192 rm -f conftest.$ac_objext conftest$ac_exeext
124193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
124194 (eval $ac_link) 2>conftest.er1
124195 ac_status=$?
124196 grep -v '^ *+' conftest.er1 >conftest.err
124197 rm -f conftest.er1
124198 cat conftest.err >&5
124199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124200 (exit $ac_status); } &&
124201 { ac_try='test -z "$ac_c_werror_flag"
124202 || test ! -s conftest.err'
124203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124204 (eval $ac_try) 2>&5
124205 ac_status=$?
124206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124207 (exit $ac_status); }; } &&
124208 { ac_try='test -s conftest$ac_exeext'
124209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124210 (eval $ac_try) 2>&5
124211 ac_status=$?
124212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124213 (exit $ac_status); }; }; then
124214 eval "$as_ac_var=yes"
124216 echo "$as_me: failed program was:" >&5
124217 sed 's/^/| /' conftest.$ac_ext >&5
124219 eval "$as_ac_var=no"
124221 rm -f conftest.err conftest.$ac_objext \
124222 conftest$ac_exeext conftest.$ac_ext
124224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
124225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
124226 if test `eval echo '${'$as_ac_var'}'` = yes; then
124227 cat >>confdefs.h <<_ACEOF
124228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
124229 _ACEOF
124236 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
124237 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
124238 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
124239 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
124240 echo $ECHO_N "(cached) $ECHO_C" >&6
124245 ac_ext=cc
124246 ac_cpp='$CXXCPP $CPPFLAGS'
124247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
124251 cat >conftest.$ac_ext <<_ACEOF
124252 /* confdefs.h. */
124253 _ACEOF
124254 cat confdefs.h >>conftest.$ac_ext
124255 cat >>conftest.$ac_ext <<_ACEOF
124256 /* end confdefs.h. */
124257 #include <math.h>
124259 main ()
124261 _atan2l(0, 0);
124263 return 0;
124265 _ACEOF
124266 rm -f conftest.$ac_objext
124267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
124268 (eval $ac_compile) 2>conftest.er1
124269 ac_status=$?
124270 grep -v '^ *+' conftest.er1 >conftest.err
124271 rm -f conftest.er1
124272 cat conftest.err >&5
124273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124274 (exit $ac_status); } &&
124275 { ac_try='test -z "$ac_cxx_werror_flag"
124276 || test ! -s conftest.err'
124277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124278 (eval $ac_try) 2>&5
124279 ac_status=$?
124280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124281 (exit $ac_status); }; } &&
124282 { ac_try='test -s conftest.$ac_objext'
124283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124284 (eval $ac_try) 2>&5
124285 ac_status=$?
124286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124287 (exit $ac_status); }; }; then
124288 glibcxx_cv_func__atan2l_use=yes
124290 echo "$as_me: failed program was:" >&5
124291 sed 's/^/| /' conftest.$ac_ext >&5
124293 glibcxx_cv_func__atan2l_use=no
124295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
124296 ac_ext=c
124297 ac_cpp='$CPP $CPPFLAGS'
124298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
124306 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
124307 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
124309 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
124311 for ac_func in _atan2l
124313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
124314 echo "$as_me:$LINENO: checking for $ac_func" >&5
124315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
124316 if eval "test \"\${$as_ac_var+set}\" = set"; then
124317 echo $ECHO_N "(cached) $ECHO_C" >&6
124319 if test x$gcc_no_link = xyes; then
124320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
124321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
124322 { (exit 1); exit 1; }; }
124324 cat >conftest.$ac_ext <<_ACEOF
124325 /* confdefs.h. */
124326 _ACEOF
124327 cat confdefs.h >>conftest.$ac_ext
124328 cat >>conftest.$ac_ext <<_ACEOF
124329 /* end confdefs.h. */
124330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
124331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
124332 #define $ac_func innocuous_$ac_func
124334 /* System header to define __stub macros and hopefully few prototypes,
124335 which can conflict with char $ac_func (); below.
124336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
124337 <limits.h> exists even on freestanding compilers. */
124339 #ifdef __STDC__
124340 # include <limits.h>
124341 #else
124342 # include <assert.h>
124343 #endif
124345 #undef $ac_func
124347 /* Override any gcc2 internal prototype to avoid an error. */
124348 #ifdef __cplusplus
124349 extern "C"
124351 #endif
124352 /* We use char because int might match the return type of a gcc2
124353 builtin and then its argument prototype would still apply. */
124354 char $ac_func ();
124355 /* The GNU C library defines this for functions which it implements
124356 to always fail with ENOSYS. Some functions are actually named
124357 something starting with __ and the normal name is an alias. */
124358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
124359 choke me
124360 #else
124361 char (*f) () = $ac_func;
124362 #endif
124363 #ifdef __cplusplus
124365 #endif
124368 main ()
124370 return f != $ac_func;
124372 return 0;
124374 _ACEOF
124375 rm -f conftest.$ac_objext conftest$ac_exeext
124376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
124377 (eval $ac_link) 2>conftest.er1
124378 ac_status=$?
124379 grep -v '^ *+' conftest.er1 >conftest.err
124380 rm -f conftest.er1
124381 cat conftest.err >&5
124382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124383 (exit $ac_status); } &&
124384 { ac_try='test -z "$ac_c_werror_flag"
124385 || test ! -s conftest.err'
124386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124387 (eval $ac_try) 2>&5
124388 ac_status=$?
124389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124390 (exit $ac_status); }; } &&
124391 { ac_try='test -s conftest$ac_exeext'
124392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124393 (eval $ac_try) 2>&5
124394 ac_status=$?
124395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124396 (exit $ac_status); }; }; then
124397 eval "$as_ac_var=yes"
124399 echo "$as_me: failed program was:" >&5
124400 sed 's/^/| /' conftest.$ac_ext >&5
124402 eval "$as_ac_var=no"
124404 rm -f conftest.err conftest.$ac_objext \
124405 conftest$ac_exeext conftest.$ac_ext
124407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
124408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
124409 if test `eval echo '${'$as_ac_var'}'` = yes; then
124410 cat >>confdefs.h <<_ACEOF
124411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
124412 _ACEOF
124425 echo "$as_me:$LINENO: checking for expl declaration" >&5
124426 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
124427 if test x${glibcxx_cv_func_expl_use+set} != xset; then
124428 if test "${glibcxx_cv_func_expl_use+set}" = set; then
124429 echo $ECHO_N "(cached) $ECHO_C" >&6
124434 ac_ext=cc
124435 ac_cpp='$CXXCPP $CPPFLAGS'
124436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
124440 cat >conftest.$ac_ext <<_ACEOF
124441 /* confdefs.h. */
124442 _ACEOF
124443 cat confdefs.h >>conftest.$ac_ext
124444 cat >>conftest.$ac_ext <<_ACEOF
124445 /* end confdefs.h. */
124446 #include <math.h>
124447 #ifdef HAVE_IEEEFP_H
124448 #include <ieeefp.h>
124449 #endif
124452 main ()
124454 expl(0);
124456 return 0;
124458 _ACEOF
124459 rm -f conftest.$ac_objext
124460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
124461 (eval $ac_compile) 2>conftest.er1
124462 ac_status=$?
124463 grep -v '^ *+' conftest.er1 >conftest.err
124464 rm -f conftest.er1
124465 cat conftest.err >&5
124466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124467 (exit $ac_status); } &&
124468 { ac_try='test -z "$ac_cxx_werror_flag"
124469 || test ! -s conftest.err'
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); }; } &&
124475 { ac_try='test -s conftest.$ac_objext'
124476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124477 (eval $ac_try) 2>&5
124478 ac_status=$?
124479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124480 (exit $ac_status); }; }; then
124481 glibcxx_cv_func_expl_use=yes
124483 echo "$as_me: failed program was:" >&5
124484 sed 's/^/| /' conftest.$ac_ext >&5
124486 glibcxx_cv_func_expl_use=no
124488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
124489 ac_ext=c
124490 ac_cpp='$CPP $CPPFLAGS'
124491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
124499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
124500 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
124502 if test x$glibcxx_cv_func_expl_use = x"yes"; then
124504 for ac_func in expl
124506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
124507 echo "$as_me:$LINENO: checking for $ac_func" >&5
124508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
124509 if eval "test \"\${$as_ac_var+set}\" = set"; then
124510 echo $ECHO_N "(cached) $ECHO_C" >&6
124512 if test x$gcc_no_link = xyes; then
124513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
124514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
124515 { (exit 1); exit 1; }; }
124517 cat >conftest.$ac_ext <<_ACEOF
124518 /* confdefs.h. */
124519 _ACEOF
124520 cat confdefs.h >>conftest.$ac_ext
124521 cat >>conftest.$ac_ext <<_ACEOF
124522 /* end confdefs.h. */
124523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
124524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
124525 #define $ac_func innocuous_$ac_func
124527 /* System header to define __stub macros and hopefully few prototypes,
124528 which can conflict with char $ac_func (); below.
124529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
124530 <limits.h> exists even on freestanding compilers. */
124532 #ifdef __STDC__
124533 # include <limits.h>
124534 #else
124535 # include <assert.h>
124536 #endif
124538 #undef $ac_func
124540 /* Override any gcc2 internal prototype to avoid an error. */
124541 #ifdef __cplusplus
124542 extern "C"
124544 #endif
124545 /* We use char because int might match the return type of a gcc2
124546 builtin and then its argument prototype would still apply. */
124547 char $ac_func ();
124548 /* The GNU C library defines this for functions which it implements
124549 to always fail with ENOSYS. Some functions are actually named
124550 something starting with __ and the normal name is an alias. */
124551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
124552 choke me
124553 #else
124554 char (*f) () = $ac_func;
124555 #endif
124556 #ifdef __cplusplus
124558 #endif
124561 main ()
124563 return f != $ac_func;
124565 return 0;
124567 _ACEOF
124568 rm -f conftest.$ac_objext conftest$ac_exeext
124569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
124570 (eval $ac_link) 2>conftest.er1
124571 ac_status=$?
124572 grep -v '^ *+' conftest.er1 >conftest.err
124573 rm -f conftest.er1
124574 cat conftest.err >&5
124575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124576 (exit $ac_status); } &&
124577 { ac_try='test -z "$ac_c_werror_flag"
124578 || test ! -s conftest.err'
124579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124580 (eval $ac_try) 2>&5
124581 ac_status=$?
124582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124583 (exit $ac_status); }; } &&
124584 { ac_try='test -s conftest$ac_exeext'
124585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124586 (eval $ac_try) 2>&5
124587 ac_status=$?
124588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124589 (exit $ac_status); }; }; then
124590 eval "$as_ac_var=yes"
124592 echo "$as_me: failed program was:" >&5
124593 sed 's/^/| /' conftest.$ac_ext >&5
124595 eval "$as_ac_var=no"
124597 rm -f conftest.err conftest.$ac_objext \
124598 conftest$ac_exeext conftest.$ac_ext
124600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
124601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
124602 if test `eval echo '${'$as_ac_var'}'` = yes; then
124603 cat >>confdefs.h <<_ACEOF
124604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
124605 _ACEOF
124612 echo "$as_me:$LINENO: checking for _expl declaration" >&5
124613 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
124614 if test x${glibcxx_cv_func__expl_use+set} != xset; then
124615 if test "${glibcxx_cv_func__expl_use+set}" = set; then
124616 echo $ECHO_N "(cached) $ECHO_C" >&6
124621 ac_ext=cc
124622 ac_cpp='$CXXCPP $CPPFLAGS'
124623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
124627 cat >conftest.$ac_ext <<_ACEOF
124628 /* confdefs.h. */
124629 _ACEOF
124630 cat confdefs.h >>conftest.$ac_ext
124631 cat >>conftest.$ac_ext <<_ACEOF
124632 /* end confdefs.h. */
124633 #include <math.h>
124634 #ifdef HAVE_IEEEFP_H
124635 #include <ieeefp.h>
124636 #endif
124639 main ()
124641 _expl(0);
124643 return 0;
124645 _ACEOF
124646 rm -f conftest.$ac_objext
124647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
124648 (eval $ac_compile) 2>conftest.er1
124649 ac_status=$?
124650 grep -v '^ *+' conftest.er1 >conftest.err
124651 rm -f conftest.er1
124652 cat conftest.err >&5
124653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124654 (exit $ac_status); } &&
124655 { ac_try='test -z "$ac_cxx_werror_flag"
124656 || test ! -s conftest.err'
124657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124658 (eval $ac_try) 2>&5
124659 ac_status=$?
124660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124661 (exit $ac_status); }; } &&
124662 { ac_try='test -s conftest.$ac_objext'
124663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124664 (eval $ac_try) 2>&5
124665 ac_status=$?
124666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124667 (exit $ac_status); }; }; then
124668 glibcxx_cv_func__expl_use=yes
124670 echo "$as_me: failed program was:" >&5
124671 sed 's/^/| /' conftest.$ac_ext >&5
124673 glibcxx_cv_func__expl_use=no
124675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
124676 ac_ext=c
124677 ac_cpp='$CPP $CPPFLAGS'
124678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
124686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
124687 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
124689 if test x$glibcxx_cv_func__expl_use = x"yes"; then
124691 for ac_func in _expl
124693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
124694 echo "$as_me:$LINENO: checking for $ac_func" >&5
124695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
124696 if eval "test \"\${$as_ac_var+set}\" = set"; then
124697 echo $ECHO_N "(cached) $ECHO_C" >&6
124699 if test x$gcc_no_link = xyes; then
124700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
124701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
124702 { (exit 1); exit 1; }; }
124704 cat >conftest.$ac_ext <<_ACEOF
124705 /* confdefs.h. */
124706 _ACEOF
124707 cat confdefs.h >>conftest.$ac_ext
124708 cat >>conftest.$ac_ext <<_ACEOF
124709 /* end confdefs.h. */
124710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
124711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
124712 #define $ac_func innocuous_$ac_func
124714 /* System header to define __stub macros and hopefully few prototypes,
124715 which can conflict with char $ac_func (); below.
124716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
124717 <limits.h> exists even on freestanding compilers. */
124719 #ifdef __STDC__
124720 # include <limits.h>
124721 #else
124722 # include <assert.h>
124723 #endif
124725 #undef $ac_func
124727 /* Override any gcc2 internal prototype to avoid an error. */
124728 #ifdef __cplusplus
124729 extern "C"
124731 #endif
124732 /* We use char because int might match the return type of a gcc2
124733 builtin and then its argument prototype would still apply. */
124734 char $ac_func ();
124735 /* The GNU C library defines this for functions which it implements
124736 to always fail with ENOSYS. Some functions are actually named
124737 something starting with __ and the normal name is an alias. */
124738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
124739 choke me
124740 #else
124741 char (*f) () = $ac_func;
124742 #endif
124743 #ifdef __cplusplus
124745 #endif
124748 main ()
124750 return f != $ac_func;
124752 return 0;
124754 _ACEOF
124755 rm -f conftest.$ac_objext conftest$ac_exeext
124756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
124757 (eval $ac_link) 2>conftest.er1
124758 ac_status=$?
124759 grep -v '^ *+' conftest.er1 >conftest.err
124760 rm -f conftest.er1
124761 cat conftest.err >&5
124762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124763 (exit $ac_status); } &&
124764 { ac_try='test -z "$ac_c_werror_flag"
124765 || test ! -s conftest.err'
124766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124767 (eval $ac_try) 2>&5
124768 ac_status=$?
124769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124770 (exit $ac_status); }; } &&
124771 { ac_try='test -s conftest$ac_exeext'
124772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124773 (eval $ac_try) 2>&5
124774 ac_status=$?
124775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124776 (exit $ac_status); }; }; then
124777 eval "$as_ac_var=yes"
124779 echo "$as_me: failed program was:" >&5
124780 sed 's/^/| /' conftest.$ac_ext >&5
124782 eval "$as_ac_var=no"
124784 rm -f conftest.err conftest.$ac_objext \
124785 conftest$ac_exeext conftest.$ac_ext
124787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
124788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
124789 if test `eval echo '${'$as_ac_var'}'` = yes; then
124790 cat >>confdefs.h <<_ACEOF
124791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
124792 _ACEOF
124805 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
124806 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
124807 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
124808 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
124809 echo $ECHO_N "(cached) $ECHO_C" >&6
124814 ac_ext=cc
124815 ac_cpp='$CXXCPP $CPPFLAGS'
124816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
124820 cat >conftest.$ac_ext <<_ACEOF
124821 /* confdefs.h. */
124822 _ACEOF
124823 cat confdefs.h >>conftest.$ac_ext
124824 cat >>conftest.$ac_ext <<_ACEOF
124825 /* end confdefs.h. */
124826 #include <math.h>
124827 #ifdef HAVE_IEEEFP_H
124828 #include <ieeefp.h>
124829 #endif
124832 main ()
124834 fabsl(0);
124836 return 0;
124838 _ACEOF
124839 rm -f conftest.$ac_objext
124840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
124841 (eval $ac_compile) 2>conftest.er1
124842 ac_status=$?
124843 grep -v '^ *+' conftest.er1 >conftest.err
124844 rm -f conftest.er1
124845 cat conftest.err >&5
124846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124847 (exit $ac_status); } &&
124848 { ac_try='test -z "$ac_cxx_werror_flag"
124849 || test ! -s conftest.err'
124850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124851 (eval $ac_try) 2>&5
124852 ac_status=$?
124853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124854 (exit $ac_status); }; } &&
124855 { ac_try='test -s conftest.$ac_objext'
124856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124857 (eval $ac_try) 2>&5
124858 ac_status=$?
124859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124860 (exit $ac_status); }; }; then
124861 glibcxx_cv_func_fabsl_use=yes
124863 echo "$as_me: failed program was:" >&5
124864 sed 's/^/| /' conftest.$ac_ext >&5
124866 glibcxx_cv_func_fabsl_use=no
124868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
124869 ac_ext=c
124870 ac_cpp='$CPP $CPPFLAGS'
124871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
124879 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
124880 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
124882 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
124884 for ac_func in fabsl
124886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
124887 echo "$as_me:$LINENO: checking for $ac_func" >&5
124888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
124889 if eval "test \"\${$as_ac_var+set}\" = set"; then
124890 echo $ECHO_N "(cached) $ECHO_C" >&6
124892 if test x$gcc_no_link = xyes; then
124893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
124894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
124895 { (exit 1); exit 1; }; }
124897 cat >conftest.$ac_ext <<_ACEOF
124898 /* confdefs.h. */
124899 _ACEOF
124900 cat confdefs.h >>conftest.$ac_ext
124901 cat >>conftest.$ac_ext <<_ACEOF
124902 /* end confdefs.h. */
124903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
124904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
124905 #define $ac_func innocuous_$ac_func
124907 /* System header to define __stub macros and hopefully few prototypes,
124908 which can conflict with char $ac_func (); below.
124909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
124910 <limits.h> exists even on freestanding compilers. */
124912 #ifdef __STDC__
124913 # include <limits.h>
124914 #else
124915 # include <assert.h>
124916 #endif
124918 #undef $ac_func
124920 /* Override any gcc2 internal prototype to avoid an error. */
124921 #ifdef __cplusplus
124922 extern "C"
124924 #endif
124925 /* We use char because int might match the return type of a gcc2
124926 builtin and then its argument prototype would still apply. */
124927 char $ac_func ();
124928 /* The GNU C library defines this for functions which it implements
124929 to always fail with ENOSYS. Some functions are actually named
124930 something starting with __ and the normal name is an alias. */
124931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
124932 choke me
124933 #else
124934 char (*f) () = $ac_func;
124935 #endif
124936 #ifdef __cplusplus
124938 #endif
124941 main ()
124943 return f != $ac_func;
124945 return 0;
124947 _ACEOF
124948 rm -f conftest.$ac_objext conftest$ac_exeext
124949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
124950 (eval $ac_link) 2>conftest.er1
124951 ac_status=$?
124952 grep -v '^ *+' conftest.er1 >conftest.err
124953 rm -f conftest.er1
124954 cat conftest.err >&5
124955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124956 (exit $ac_status); } &&
124957 { ac_try='test -z "$ac_c_werror_flag"
124958 || test ! -s conftest.err'
124959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124960 (eval $ac_try) 2>&5
124961 ac_status=$?
124962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124963 (exit $ac_status); }; } &&
124964 { ac_try='test -s conftest$ac_exeext'
124965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124966 (eval $ac_try) 2>&5
124967 ac_status=$?
124968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124969 (exit $ac_status); }; }; then
124970 eval "$as_ac_var=yes"
124972 echo "$as_me: failed program was:" >&5
124973 sed 's/^/| /' conftest.$ac_ext >&5
124975 eval "$as_ac_var=no"
124977 rm -f conftest.err conftest.$ac_objext \
124978 conftest$ac_exeext conftest.$ac_ext
124980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
124981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
124982 if test `eval echo '${'$as_ac_var'}'` = yes; then
124983 cat >>confdefs.h <<_ACEOF
124984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
124985 _ACEOF
124992 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
124993 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
124994 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
124995 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
124996 echo $ECHO_N "(cached) $ECHO_C" >&6
125001 ac_ext=cc
125002 ac_cpp='$CXXCPP $CPPFLAGS'
125003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
125007 cat >conftest.$ac_ext <<_ACEOF
125008 /* confdefs.h. */
125009 _ACEOF
125010 cat confdefs.h >>conftest.$ac_ext
125011 cat >>conftest.$ac_ext <<_ACEOF
125012 /* end confdefs.h. */
125013 #include <math.h>
125014 #ifdef HAVE_IEEEFP_H
125015 #include <ieeefp.h>
125016 #endif
125019 main ()
125021 _fabsl(0);
125023 return 0;
125025 _ACEOF
125026 rm -f conftest.$ac_objext
125027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
125028 (eval $ac_compile) 2>conftest.er1
125029 ac_status=$?
125030 grep -v '^ *+' conftest.er1 >conftest.err
125031 rm -f conftest.er1
125032 cat conftest.err >&5
125033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125034 (exit $ac_status); } &&
125035 { ac_try='test -z "$ac_cxx_werror_flag"
125036 || test ! -s conftest.err'
125037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125038 (eval $ac_try) 2>&5
125039 ac_status=$?
125040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125041 (exit $ac_status); }; } &&
125042 { ac_try='test -s conftest.$ac_objext'
125043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125044 (eval $ac_try) 2>&5
125045 ac_status=$?
125046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125047 (exit $ac_status); }; }; then
125048 glibcxx_cv_func__fabsl_use=yes
125050 echo "$as_me: failed program was:" >&5
125051 sed 's/^/| /' conftest.$ac_ext >&5
125053 glibcxx_cv_func__fabsl_use=no
125055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
125056 ac_ext=c
125057 ac_cpp='$CPP $CPPFLAGS'
125058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
125066 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
125067 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
125069 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
125071 for ac_func in _fabsl
125073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
125074 echo "$as_me:$LINENO: checking for $ac_func" >&5
125075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
125076 if eval "test \"\${$as_ac_var+set}\" = set"; then
125077 echo $ECHO_N "(cached) $ECHO_C" >&6
125079 if test x$gcc_no_link = xyes; then
125080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
125081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
125082 { (exit 1); exit 1; }; }
125084 cat >conftest.$ac_ext <<_ACEOF
125085 /* confdefs.h. */
125086 _ACEOF
125087 cat confdefs.h >>conftest.$ac_ext
125088 cat >>conftest.$ac_ext <<_ACEOF
125089 /* end confdefs.h. */
125090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
125091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
125092 #define $ac_func innocuous_$ac_func
125094 /* System header to define __stub macros and hopefully few prototypes,
125095 which can conflict with char $ac_func (); below.
125096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
125097 <limits.h> exists even on freestanding compilers. */
125099 #ifdef __STDC__
125100 # include <limits.h>
125101 #else
125102 # include <assert.h>
125103 #endif
125105 #undef $ac_func
125107 /* Override any gcc2 internal prototype to avoid an error. */
125108 #ifdef __cplusplus
125109 extern "C"
125111 #endif
125112 /* We use char because int might match the return type of a gcc2
125113 builtin and then its argument prototype would still apply. */
125114 char $ac_func ();
125115 /* The GNU C library defines this for functions which it implements
125116 to always fail with ENOSYS. Some functions are actually named
125117 something starting with __ and the normal name is an alias. */
125118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
125119 choke me
125120 #else
125121 char (*f) () = $ac_func;
125122 #endif
125123 #ifdef __cplusplus
125125 #endif
125128 main ()
125130 return f != $ac_func;
125132 return 0;
125134 _ACEOF
125135 rm -f conftest.$ac_objext conftest$ac_exeext
125136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
125137 (eval $ac_link) 2>conftest.er1
125138 ac_status=$?
125139 grep -v '^ *+' conftest.er1 >conftest.err
125140 rm -f conftest.er1
125141 cat conftest.err >&5
125142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125143 (exit $ac_status); } &&
125144 { ac_try='test -z "$ac_c_werror_flag"
125145 || test ! -s conftest.err'
125146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125147 (eval $ac_try) 2>&5
125148 ac_status=$?
125149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125150 (exit $ac_status); }; } &&
125151 { ac_try='test -s conftest$ac_exeext'
125152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125153 (eval $ac_try) 2>&5
125154 ac_status=$?
125155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125156 (exit $ac_status); }; }; then
125157 eval "$as_ac_var=yes"
125159 echo "$as_me: failed program was:" >&5
125160 sed 's/^/| /' conftest.$ac_ext >&5
125162 eval "$as_ac_var=no"
125164 rm -f conftest.err conftest.$ac_objext \
125165 conftest$ac_exeext conftest.$ac_ext
125167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
125168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
125169 if test `eval echo '${'$as_ac_var'}'` = yes; then
125170 cat >>confdefs.h <<_ACEOF
125171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
125172 _ACEOF
125185 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
125186 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
125187 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
125188 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
125189 echo $ECHO_N "(cached) $ECHO_C" >&6
125194 ac_ext=cc
125195 ac_cpp='$CXXCPP $CPPFLAGS'
125196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
125200 cat >conftest.$ac_ext <<_ACEOF
125201 /* confdefs.h. */
125202 _ACEOF
125203 cat confdefs.h >>conftest.$ac_ext
125204 cat >>conftest.$ac_ext <<_ACEOF
125205 /* end confdefs.h. */
125206 #include <math.h>
125208 main ()
125210 fmodl(0, 0);
125212 return 0;
125214 _ACEOF
125215 rm -f conftest.$ac_objext
125216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
125217 (eval $ac_compile) 2>conftest.er1
125218 ac_status=$?
125219 grep -v '^ *+' conftest.er1 >conftest.err
125220 rm -f conftest.er1
125221 cat conftest.err >&5
125222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125223 (exit $ac_status); } &&
125224 { ac_try='test -z "$ac_cxx_werror_flag"
125225 || test ! -s conftest.err'
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); }; } &&
125231 { ac_try='test -s conftest.$ac_objext'
125232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125233 (eval $ac_try) 2>&5
125234 ac_status=$?
125235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125236 (exit $ac_status); }; }; then
125237 glibcxx_cv_func_fmodl_use=yes
125239 echo "$as_me: failed program was:" >&5
125240 sed 's/^/| /' conftest.$ac_ext >&5
125242 glibcxx_cv_func_fmodl_use=no
125244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
125245 ac_ext=c
125246 ac_cpp='$CPP $CPPFLAGS'
125247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
125255 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
125256 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
125258 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
125260 for ac_func in fmodl
125262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
125263 echo "$as_me:$LINENO: checking for $ac_func" >&5
125264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
125265 if eval "test \"\${$as_ac_var+set}\" = set"; then
125266 echo $ECHO_N "(cached) $ECHO_C" >&6
125268 if test x$gcc_no_link = xyes; then
125269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
125270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
125271 { (exit 1); exit 1; }; }
125273 cat >conftest.$ac_ext <<_ACEOF
125274 /* confdefs.h. */
125275 _ACEOF
125276 cat confdefs.h >>conftest.$ac_ext
125277 cat >>conftest.$ac_ext <<_ACEOF
125278 /* end confdefs.h. */
125279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
125280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
125281 #define $ac_func innocuous_$ac_func
125283 /* System header to define __stub macros and hopefully few prototypes,
125284 which can conflict with char $ac_func (); below.
125285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
125286 <limits.h> exists even on freestanding compilers. */
125288 #ifdef __STDC__
125289 # include <limits.h>
125290 #else
125291 # include <assert.h>
125292 #endif
125294 #undef $ac_func
125296 /* Override any gcc2 internal prototype to avoid an error. */
125297 #ifdef __cplusplus
125298 extern "C"
125300 #endif
125301 /* We use char because int might match the return type of a gcc2
125302 builtin and then its argument prototype would still apply. */
125303 char $ac_func ();
125304 /* The GNU C library defines this for functions which it implements
125305 to always fail with ENOSYS. Some functions are actually named
125306 something starting with __ and the normal name is an alias. */
125307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
125308 choke me
125309 #else
125310 char (*f) () = $ac_func;
125311 #endif
125312 #ifdef __cplusplus
125314 #endif
125317 main ()
125319 return f != $ac_func;
125321 return 0;
125323 _ACEOF
125324 rm -f conftest.$ac_objext conftest$ac_exeext
125325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
125326 (eval $ac_link) 2>conftest.er1
125327 ac_status=$?
125328 grep -v '^ *+' conftest.er1 >conftest.err
125329 rm -f conftest.er1
125330 cat conftest.err >&5
125331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125332 (exit $ac_status); } &&
125333 { ac_try='test -z "$ac_c_werror_flag"
125334 || test ! -s conftest.err'
125335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125336 (eval $ac_try) 2>&5
125337 ac_status=$?
125338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125339 (exit $ac_status); }; } &&
125340 { ac_try='test -s conftest$ac_exeext'
125341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125342 (eval $ac_try) 2>&5
125343 ac_status=$?
125344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125345 (exit $ac_status); }; }; then
125346 eval "$as_ac_var=yes"
125348 echo "$as_me: failed program was:" >&5
125349 sed 's/^/| /' conftest.$ac_ext >&5
125351 eval "$as_ac_var=no"
125353 rm -f conftest.err conftest.$ac_objext \
125354 conftest$ac_exeext conftest.$ac_ext
125356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
125357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
125358 if test `eval echo '${'$as_ac_var'}'` = yes; then
125359 cat >>confdefs.h <<_ACEOF
125360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
125361 _ACEOF
125368 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
125369 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
125370 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
125371 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
125372 echo $ECHO_N "(cached) $ECHO_C" >&6
125377 ac_ext=cc
125378 ac_cpp='$CXXCPP $CPPFLAGS'
125379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
125383 cat >conftest.$ac_ext <<_ACEOF
125384 /* confdefs.h. */
125385 _ACEOF
125386 cat confdefs.h >>conftest.$ac_ext
125387 cat >>conftest.$ac_ext <<_ACEOF
125388 /* end confdefs.h. */
125389 #include <math.h>
125391 main ()
125393 _fmodl(0, 0);
125395 return 0;
125397 _ACEOF
125398 rm -f conftest.$ac_objext
125399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
125400 (eval $ac_compile) 2>conftest.er1
125401 ac_status=$?
125402 grep -v '^ *+' conftest.er1 >conftest.err
125403 rm -f conftest.er1
125404 cat conftest.err >&5
125405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125406 (exit $ac_status); } &&
125407 { ac_try='test -z "$ac_cxx_werror_flag"
125408 || test ! -s conftest.err'
125409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125410 (eval $ac_try) 2>&5
125411 ac_status=$?
125412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125413 (exit $ac_status); }; } &&
125414 { ac_try='test -s conftest.$ac_objext'
125415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125416 (eval $ac_try) 2>&5
125417 ac_status=$?
125418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125419 (exit $ac_status); }; }; then
125420 glibcxx_cv_func__fmodl_use=yes
125422 echo "$as_me: failed program was:" >&5
125423 sed 's/^/| /' conftest.$ac_ext >&5
125425 glibcxx_cv_func__fmodl_use=no
125427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
125428 ac_ext=c
125429 ac_cpp='$CPP $CPPFLAGS'
125430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
125438 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
125439 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
125441 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
125443 for ac_func in _fmodl
125445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
125446 echo "$as_me:$LINENO: checking for $ac_func" >&5
125447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
125448 if eval "test \"\${$as_ac_var+set}\" = set"; then
125449 echo $ECHO_N "(cached) $ECHO_C" >&6
125451 if test x$gcc_no_link = xyes; then
125452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
125453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
125454 { (exit 1); exit 1; }; }
125456 cat >conftest.$ac_ext <<_ACEOF
125457 /* confdefs.h. */
125458 _ACEOF
125459 cat confdefs.h >>conftest.$ac_ext
125460 cat >>conftest.$ac_ext <<_ACEOF
125461 /* end confdefs.h. */
125462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
125463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
125464 #define $ac_func innocuous_$ac_func
125466 /* System header to define __stub macros and hopefully few prototypes,
125467 which can conflict with char $ac_func (); below.
125468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
125469 <limits.h> exists even on freestanding compilers. */
125471 #ifdef __STDC__
125472 # include <limits.h>
125473 #else
125474 # include <assert.h>
125475 #endif
125477 #undef $ac_func
125479 /* Override any gcc2 internal prototype to avoid an error. */
125480 #ifdef __cplusplus
125481 extern "C"
125483 #endif
125484 /* We use char because int might match the return type of a gcc2
125485 builtin and then its argument prototype would still apply. */
125486 char $ac_func ();
125487 /* The GNU C library defines this for functions which it implements
125488 to always fail with ENOSYS. Some functions are actually named
125489 something starting with __ and the normal name is an alias. */
125490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
125491 choke me
125492 #else
125493 char (*f) () = $ac_func;
125494 #endif
125495 #ifdef __cplusplus
125497 #endif
125500 main ()
125502 return f != $ac_func;
125504 return 0;
125506 _ACEOF
125507 rm -f conftest.$ac_objext conftest$ac_exeext
125508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
125509 (eval $ac_link) 2>conftest.er1
125510 ac_status=$?
125511 grep -v '^ *+' conftest.er1 >conftest.err
125512 rm -f conftest.er1
125513 cat conftest.err >&5
125514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125515 (exit $ac_status); } &&
125516 { ac_try='test -z "$ac_c_werror_flag"
125517 || test ! -s conftest.err'
125518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125519 (eval $ac_try) 2>&5
125520 ac_status=$?
125521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125522 (exit $ac_status); }; } &&
125523 { ac_try='test -s conftest$ac_exeext'
125524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125525 (eval $ac_try) 2>&5
125526 ac_status=$?
125527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125528 (exit $ac_status); }; }; then
125529 eval "$as_ac_var=yes"
125531 echo "$as_me: failed program was:" >&5
125532 sed 's/^/| /' conftest.$ac_ext >&5
125534 eval "$as_ac_var=no"
125536 rm -f conftest.err conftest.$ac_objext \
125537 conftest$ac_exeext conftest.$ac_ext
125539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
125540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
125541 if test `eval echo '${'$as_ac_var'}'` = yes; then
125542 cat >>confdefs.h <<_ACEOF
125543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
125544 _ACEOF
125557 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
125558 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
125559 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
125560 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
125561 echo $ECHO_N "(cached) $ECHO_C" >&6
125566 ac_ext=cc
125567 ac_cpp='$CXXCPP $CPPFLAGS'
125568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
125572 cat >conftest.$ac_ext <<_ACEOF
125573 /* confdefs.h. */
125574 _ACEOF
125575 cat confdefs.h >>conftest.$ac_ext
125576 cat >>conftest.$ac_ext <<_ACEOF
125577 /* end confdefs.h. */
125578 #include <math.h>
125580 main ()
125582 frexpl(0, 0);
125584 return 0;
125586 _ACEOF
125587 rm -f conftest.$ac_objext
125588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
125589 (eval $ac_compile) 2>conftest.er1
125590 ac_status=$?
125591 grep -v '^ *+' conftest.er1 >conftest.err
125592 rm -f conftest.er1
125593 cat conftest.err >&5
125594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125595 (exit $ac_status); } &&
125596 { ac_try='test -z "$ac_cxx_werror_flag"
125597 || test ! -s conftest.err'
125598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125599 (eval $ac_try) 2>&5
125600 ac_status=$?
125601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125602 (exit $ac_status); }; } &&
125603 { ac_try='test -s conftest.$ac_objext'
125604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125605 (eval $ac_try) 2>&5
125606 ac_status=$?
125607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125608 (exit $ac_status); }; }; then
125609 glibcxx_cv_func_frexpl_use=yes
125611 echo "$as_me: failed program was:" >&5
125612 sed 's/^/| /' conftest.$ac_ext >&5
125614 glibcxx_cv_func_frexpl_use=no
125616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
125617 ac_ext=c
125618 ac_cpp='$CPP $CPPFLAGS'
125619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
125627 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
125628 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
125630 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
125632 for ac_func in frexpl
125634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
125635 echo "$as_me:$LINENO: checking for $ac_func" >&5
125636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
125637 if eval "test \"\${$as_ac_var+set}\" = set"; then
125638 echo $ECHO_N "(cached) $ECHO_C" >&6
125640 if test x$gcc_no_link = xyes; then
125641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
125642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
125643 { (exit 1); exit 1; }; }
125645 cat >conftest.$ac_ext <<_ACEOF
125646 /* confdefs.h. */
125647 _ACEOF
125648 cat confdefs.h >>conftest.$ac_ext
125649 cat >>conftest.$ac_ext <<_ACEOF
125650 /* end confdefs.h. */
125651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
125652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
125653 #define $ac_func innocuous_$ac_func
125655 /* System header to define __stub macros and hopefully few prototypes,
125656 which can conflict with char $ac_func (); below.
125657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
125658 <limits.h> exists even on freestanding compilers. */
125660 #ifdef __STDC__
125661 # include <limits.h>
125662 #else
125663 # include <assert.h>
125664 #endif
125666 #undef $ac_func
125668 /* Override any gcc2 internal prototype to avoid an error. */
125669 #ifdef __cplusplus
125670 extern "C"
125672 #endif
125673 /* We use char because int might match the return type of a gcc2
125674 builtin and then its argument prototype would still apply. */
125675 char $ac_func ();
125676 /* The GNU C library defines this for functions which it implements
125677 to always fail with ENOSYS. Some functions are actually named
125678 something starting with __ and the normal name is an alias. */
125679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
125680 choke me
125681 #else
125682 char (*f) () = $ac_func;
125683 #endif
125684 #ifdef __cplusplus
125686 #endif
125689 main ()
125691 return f != $ac_func;
125693 return 0;
125695 _ACEOF
125696 rm -f conftest.$ac_objext conftest$ac_exeext
125697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
125698 (eval $ac_link) 2>conftest.er1
125699 ac_status=$?
125700 grep -v '^ *+' conftest.er1 >conftest.err
125701 rm -f conftest.er1
125702 cat conftest.err >&5
125703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125704 (exit $ac_status); } &&
125705 { ac_try='test -z "$ac_c_werror_flag"
125706 || test ! -s conftest.err'
125707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125708 (eval $ac_try) 2>&5
125709 ac_status=$?
125710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125711 (exit $ac_status); }; } &&
125712 { ac_try='test -s conftest$ac_exeext'
125713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125714 (eval $ac_try) 2>&5
125715 ac_status=$?
125716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125717 (exit $ac_status); }; }; then
125718 eval "$as_ac_var=yes"
125720 echo "$as_me: failed program was:" >&5
125721 sed 's/^/| /' conftest.$ac_ext >&5
125723 eval "$as_ac_var=no"
125725 rm -f conftest.err conftest.$ac_objext \
125726 conftest$ac_exeext conftest.$ac_ext
125728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
125729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
125730 if test `eval echo '${'$as_ac_var'}'` = yes; then
125731 cat >>confdefs.h <<_ACEOF
125732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
125733 _ACEOF
125740 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
125741 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
125742 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
125743 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
125744 echo $ECHO_N "(cached) $ECHO_C" >&6
125749 ac_ext=cc
125750 ac_cpp='$CXXCPP $CPPFLAGS'
125751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
125755 cat >conftest.$ac_ext <<_ACEOF
125756 /* confdefs.h. */
125757 _ACEOF
125758 cat confdefs.h >>conftest.$ac_ext
125759 cat >>conftest.$ac_ext <<_ACEOF
125760 /* end confdefs.h. */
125761 #include <math.h>
125763 main ()
125765 _frexpl(0, 0);
125767 return 0;
125769 _ACEOF
125770 rm -f conftest.$ac_objext
125771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
125772 (eval $ac_compile) 2>conftest.er1
125773 ac_status=$?
125774 grep -v '^ *+' conftest.er1 >conftest.err
125775 rm -f conftest.er1
125776 cat conftest.err >&5
125777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125778 (exit $ac_status); } &&
125779 { ac_try='test -z "$ac_cxx_werror_flag"
125780 || test ! -s conftest.err'
125781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125782 (eval $ac_try) 2>&5
125783 ac_status=$?
125784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125785 (exit $ac_status); }; } &&
125786 { ac_try='test -s conftest.$ac_objext'
125787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125788 (eval $ac_try) 2>&5
125789 ac_status=$?
125790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125791 (exit $ac_status); }; }; then
125792 glibcxx_cv_func__frexpl_use=yes
125794 echo "$as_me: failed program was:" >&5
125795 sed 's/^/| /' conftest.$ac_ext >&5
125797 glibcxx_cv_func__frexpl_use=no
125799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
125800 ac_ext=c
125801 ac_cpp='$CPP $CPPFLAGS'
125802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
125810 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
125811 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
125813 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
125815 for ac_func in _frexpl
125817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
125818 echo "$as_me:$LINENO: checking for $ac_func" >&5
125819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
125820 if eval "test \"\${$as_ac_var+set}\" = set"; then
125821 echo $ECHO_N "(cached) $ECHO_C" >&6
125823 if test x$gcc_no_link = xyes; then
125824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
125825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
125826 { (exit 1); exit 1; }; }
125828 cat >conftest.$ac_ext <<_ACEOF
125829 /* confdefs.h. */
125830 _ACEOF
125831 cat confdefs.h >>conftest.$ac_ext
125832 cat >>conftest.$ac_ext <<_ACEOF
125833 /* end confdefs.h. */
125834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
125835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
125836 #define $ac_func innocuous_$ac_func
125838 /* System header to define __stub macros and hopefully few prototypes,
125839 which can conflict with char $ac_func (); below.
125840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
125841 <limits.h> exists even on freestanding compilers. */
125843 #ifdef __STDC__
125844 # include <limits.h>
125845 #else
125846 # include <assert.h>
125847 #endif
125849 #undef $ac_func
125851 /* Override any gcc2 internal prototype to avoid an error. */
125852 #ifdef __cplusplus
125853 extern "C"
125855 #endif
125856 /* We use char because int might match the return type of a gcc2
125857 builtin and then its argument prototype would still apply. */
125858 char $ac_func ();
125859 /* The GNU C library defines this for functions which it implements
125860 to always fail with ENOSYS. Some functions are actually named
125861 something starting with __ and the normal name is an alias. */
125862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
125863 choke me
125864 #else
125865 char (*f) () = $ac_func;
125866 #endif
125867 #ifdef __cplusplus
125869 #endif
125872 main ()
125874 return f != $ac_func;
125876 return 0;
125878 _ACEOF
125879 rm -f conftest.$ac_objext conftest$ac_exeext
125880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
125881 (eval $ac_link) 2>conftest.er1
125882 ac_status=$?
125883 grep -v '^ *+' conftest.er1 >conftest.err
125884 rm -f conftest.er1
125885 cat conftest.err >&5
125886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125887 (exit $ac_status); } &&
125888 { ac_try='test -z "$ac_c_werror_flag"
125889 || test ! -s conftest.err'
125890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125891 (eval $ac_try) 2>&5
125892 ac_status=$?
125893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125894 (exit $ac_status); }; } &&
125895 { ac_try='test -s conftest$ac_exeext'
125896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125897 (eval $ac_try) 2>&5
125898 ac_status=$?
125899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125900 (exit $ac_status); }; }; then
125901 eval "$as_ac_var=yes"
125903 echo "$as_me: failed program was:" >&5
125904 sed 's/^/| /' conftest.$ac_ext >&5
125906 eval "$as_ac_var=no"
125908 rm -f conftest.err conftest.$ac_objext \
125909 conftest$ac_exeext conftest.$ac_ext
125911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
125912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
125913 if test `eval echo '${'$as_ac_var'}'` = yes; then
125914 cat >>confdefs.h <<_ACEOF
125915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
125916 _ACEOF
125929 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
125930 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
125931 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
125932 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
125933 echo $ECHO_N "(cached) $ECHO_C" >&6
125938 ac_ext=cc
125939 ac_cpp='$CXXCPP $CPPFLAGS'
125940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
125944 cat >conftest.$ac_ext <<_ACEOF
125945 /* confdefs.h. */
125946 _ACEOF
125947 cat confdefs.h >>conftest.$ac_ext
125948 cat >>conftest.$ac_ext <<_ACEOF
125949 /* end confdefs.h. */
125950 #include <math.h>
125952 main ()
125954 hypotl(0, 0);
125956 return 0;
125958 _ACEOF
125959 rm -f conftest.$ac_objext
125960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
125961 (eval $ac_compile) 2>conftest.er1
125962 ac_status=$?
125963 grep -v '^ *+' conftest.er1 >conftest.err
125964 rm -f conftest.er1
125965 cat conftest.err >&5
125966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125967 (exit $ac_status); } &&
125968 { ac_try='test -z "$ac_cxx_werror_flag"
125969 || test ! -s conftest.err'
125970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125971 (eval $ac_try) 2>&5
125972 ac_status=$?
125973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125974 (exit $ac_status); }; } &&
125975 { ac_try='test -s conftest.$ac_objext'
125976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125977 (eval $ac_try) 2>&5
125978 ac_status=$?
125979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125980 (exit $ac_status); }; }; then
125981 glibcxx_cv_func_hypotl_use=yes
125983 echo "$as_me: failed program was:" >&5
125984 sed 's/^/| /' conftest.$ac_ext >&5
125986 glibcxx_cv_func_hypotl_use=no
125988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
125989 ac_ext=c
125990 ac_cpp='$CPP $CPPFLAGS'
125991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
125999 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
126000 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
126002 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
126004 for ac_func in hypotl
126006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
126007 echo "$as_me:$LINENO: checking for $ac_func" >&5
126008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
126009 if eval "test \"\${$as_ac_var+set}\" = set"; then
126010 echo $ECHO_N "(cached) $ECHO_C" >&6
126012 if test x$gcc_no_link = xyes; then
126013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
126014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
126015 { (exit 1); exit 1; }; }
126017 cat >conftest.$ac_ext <<_ACEOF
126018 /* confdefs.h. */
126019 _ACEOF
126020 cat confdefs.h >>conftest.$ac_ext
126021 cat >>conftest.$ac_ext <<_ACEOF
126022 /* end confdefs.h. */
126023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
126024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
126025 #define $ac_func innocuous_$ac_func
126027 /* System header to define __stub macros and hopefully few prototypes,
126028 which can conflict with char $ac_func (); below.
126029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
126030 <limits.h> exists even on freestanding compilers. */
126032 #ifdef __STDC__
126033 # include <limits.h>
126034 #else
126035 # include <assert.h>
126036 #endif
126038 #undef $ac_func
126040 /* Override any gcc2 internal prototype to avoid an error. */
126041 #ifdef __cplusplus
126042 extern "C"
126044 #endif
126045 /* We use char because int might match the return type of a gcc2
126046 builtin and then its argument prototype would still apply. */
126047 char $ac_func ();
126048 /* The GNU C library defines this for functions which it implements
126049 to always fail with ENOSYS. Some functions are actually named
126050 something starting with __ and the normal name is an alias. */
126051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
126052 choke me
126053 #else
126054 char (*f) () = $ac_func;
126055 #endif
126056 #ifdef __cplusplus
126058 #endif
126061 main ()
126063 return f != $ac_func;
126065 return 0;
126067 _ACEOF
126068 rm -f conftest.$ac_objext conftest$ac_exeext
126069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
126070 (eval $ac_link) 2>conftest.er1
126071 ac_status=$?
126072 grep -v '^ *+' conftest.er1 >conftest.err
126073 rm -f conftest.er1
126074 cat conftest.err >&5
126075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126076 (exit $ac_status); } &&
126077 { ac_try='test -z "$ac_c_werror_flag"
126078 || test ! -s conftest.err'
126079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126080 (eval $ac_try) 2>&5
126081 ac_status=$?
126082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126083 (exit $ac_status); }; } &&
126084 { ac_try='test -s conftest$ac_exeext'
126085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126086 (eval $ac_try) 2>&5
126087 ac_status=$?
126088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126089 (exit $ac_status); }; }; then
126090 eval "$as_ac_var=yes"
126092 echo "$as_me: failed program was:" >&5
126093 sed 's/^/| /' conftest.$ac_ext >&5
126095 eval "$as_ac_var=no"
126097 rm -f conftest.err conftest.$ac_objext \
126098 conftest$ac_exeext conftest.$ac_ext
126100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
126101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
126102 if test `eval echo '${'$as_ac_var'}'` = yes; then
126103 cat >>confdefs.h <<_ACEOF
126104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
126105 _ACEOF
126112 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
126113 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
126114 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
126115 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
126116 echo $ECHO_N "(cached) $ECHO_C" >&6
126121 ac_ext=cc
126122 ac_cpp='$CXXCPP $CPPFLAGS'
126123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
126127 cat >conftest.$ac_ext <<_ACEOF
126128 /* confdefs.h. */
126129 _ACEOF
126130 cat confdefs.h >>conftest.$ac_ext
126131 cat >>conftest.$ac_ext <<_ACEOF
126132 /* end confdefs.h. */
126133 #include <math.h>
126135 main ()
126137 _hypotl(0, 0);
126139 return 0;
126141 _ACEOF
126142 rm -f conftest.$ac_objext
126143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
126144 (eval $ac_compile) 2>conftest.er1
126145 ac_status=$?
126146 grep -v '^ *+' conftest.er1 >conftest.err
126147 rm -f conftest.er1
126148 cat conftest.err >&5
126149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126150 (exit $ac_status); } &&
126151 { ac_try='test -z "$ac_cxx_werror_flag"
126152 || test ! -s conftest.err'
126153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126154 (eval $ac_try) 2>&5
126155 ac_status=$?
126156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126157 (exit $ac_status); }; } &&
126158 { ac_try='test -s conftest.$ac_objext'
126159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126160 (eval $ac_try) 2>&5
126161 ac_status=$?
126162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126163 (exit $ac_status); }; }; then
126164 glibcxx_cv_func__hypotl_use=yes
126166 echo "$as_me: failed program was:" >&5
126167 sed 's/^/| /' conftest.$ac_ext >&5
126169 glibcxx_cv_func__hypotl_use=no
126171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
126172 ac_ext=c
126173 ac_cpp='$CPP $CPPFLAGS'
126174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
126182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
126183 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
126185 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
126187 for ac_func in _hypotl
126189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
126190 echo "$as_me:$LINENO: checking for $ac_func" >&5
126191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
126192 if eval "test \"\${$as_ac_var+set}\" = set"; then
126193 echo $ECHO_N "(cached) $ECHO_C" >&6
126195 if test x$gcc_no_link = xyes; then
126196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
126197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
126198 { (exit 1); exit 1; }; }
126200 cat >conftest.$ac_ext <<_ACEOF
126201 /* confdefs.h. */
126202 _ACEOF
126203 cat confdefs.h >>conftest.$ac_ext
126204 cat >>conftest.$ac_ext <<_ACEOF
126205 /* end confdefs.h. */
126206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
126207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
126208 #define $ac_func innocuous_$ac_func
126210 /* System header to define __stub macros and hopefully few prototypes,
126211 which can conflict with char $ac_func (); below.
126212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
126213 <limits.h> exists even on freestanding compilers. */
126215 #ifdef __STDC__
126216 # include <limits.h>
126217 #else
126218 # include <assert.h>
126219 #endif
126221 #undef $ac_func
126223 /* Override any gcc2 internal prototype to avoid an error. */
126224 #ifdef __cplusplus
126225 extern "C"
126227 #endif
126228 /* We use char because int might match the return type of a gcc2
126229 builtin and then its argument prototype would still apply. */
126230 char $ac_func ();
126231 /* The GNU C library defines this for functions which it implements
126232 to always fail with ENOSYS. Some functions are actually named
126233 something starting with __ and the normal name is an alias. */
126234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
126235 choke me
126236 #else
126237 char (*f) () = $ac_func;
126238 #endif
126239 #ifdef __cplusplus
126241 #endif
126244 main ()
126246 return f != $ac_func;
126248 return 0;
126250 _ACEOF
126251 rm -f conftest.$ac_objext conftest$ac_exeext
126252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
126253 (eval $ac_link) 2>conftest.er1
126254 ac_status=$?
126255 grep -v '^ *+' conftest.er1 >conftest.err
126256 rm -f conftest.er1
126257 cat conftest.err >&5
126258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126259 (exit $ac_status); } &&
126260 { ac_try='test -z "$ac_c_werror_flag"
126261 || test ! -s conftest.err'
126262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126263 (eval $ac_try) 2>&5
126264 ac_status=$?
126265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126266 (exit $ac_status); }; } &&
126267 { ac_try='test -s conftest$ac_exeext'
126268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126269 (eval $ac_try) 2>&5
126270 ac_status=$?
126271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126272 (exit $ac_status); }; }; then
126273 eval "$as_ac_var=yes"
126275 echo "$as_me: failed program was:" >&5
126276 sed 's/^/| /' conftest.$ac_ext >&5
126278 eval "$as_ac_var=no"
126280 rm -f conftest.err conftest.$ac_objext \
126281 conftest$ac_exeext conftest.$ac_ext
126283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
126284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
126285 if test `eval echo '${'$as_ac_var'}'` = yes; then
126286 cat >>confdefs.h <<_ACEOF
126287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
126288 _ACEOF
126301 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
126302 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
126303 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
126304 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
126305 echo $ECHO_N "(cached) $ECHO_C" >&6
126310 ac_ext=cc
126311 ac_cpp='$CXXCPP $CPPFLAGS'
126312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
126316 cat >conftest.$ac_ext <<_ACEOF
126317 /* confdefs.h. */
126318 _ACEOF
126319 cat confdefs.h >>conftest.$ac_ext
126320 cat >>conftest.$ac_ext <<_ACEOF
126321 /* end confdefs.h. */
126322 #include <math.h>
126324 main ()
126326 ldexpl(0, 0);
126328 return 0;
126330 _ACEOF
126331 rm -f conftest.$ac_objext
126332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
126333 (eval $ac_compile) 2>conftest.er1
126334 ac_status=$?
126335 grep -v '^ *+' conftest.er1 >conftest.err
126336 rm -f conftest.er1
126337 cat conftest.err >&5
126338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126339 (exit $ac_status); } &&
126340 { ac_try='test -z "$ac_cxx_werror_flag"
126341 || test ! -s conftest.err'
126342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126343 (eval $ac_try) 2>&5
126344 ac_status=$?
126345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126346 (exit $ac_status); }; } &&
126347 { ac_try='test -s conftest.$ac_objext'
126348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126349 (eval $ac_try) 2>&5
126350 ac_status=$?
126351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126352 (exit $ac_status); }; }; then
126353 glibcxx_cv_func_ldexpl_use=yes
126355 echo "$as_me: failed program was:" >&5
126356 sed 's/^/| /' conftest.$ac_ext >&5
126358 glibcxx_cv_func_ldexpl_use=no
126360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
126361 ac_ext=c
126362 ac_cpp='$CPP $CPPFLAGS'
126363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
126371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
126372 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
126374 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
126376 for ac_func in ldexpl
126378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
126379 echo "$as_me:$LINENO: checking for $ac_func" >&5
126380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
126381 if eval "test \"\${$as_ac_var+set}\" = set"; then
126382 echo $ECHO_N "(cached) $ECHO_C" >&6
126384 if test x$gcc_no_link = xyes; then
126385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
126386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
126387 { (exit 1); exit 1; }; }
126389 cat >conftest.$ac_ext <<_ACEOF
126390 /* confdefs.h. */
126391 _ACEOF
126392 cat confdefs.h >>conftest.$ac_ext
126393 cat >>conftest.$ac_ext <<_ACEOF
126394 /* end confdefs.h. */
126395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
126396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
126397 #define $ac_func innocuous_$ac_func
126399 /* System header to define __stub macros and hopefully few prototypes,
126400 which can conflict with char $ac_func (); below.
126401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
126402 <limits.h> exists even on freestanding compilers. */
126404 #ifdef __STDC__
126405 # include <limits.h>
126406 #else
126407 # include <assert.h>
126408 #endif
126410 #undef $ac_func
126412 /* Override any gcc2 internal prototype to avoid an error. */
126413 #ifdef __cplusplus
126414 extern "C"
126416 #endif
126417 /* We use char because int might match the return type of a gcc2
126418 builtin and then its argument prototype would still apply. */
126419 char $ac_func ();
126420 /* The GNU C library defines this for functions which it implements
126421 to always fail with ENOSYS. Some functions are actually named
126422 something starting with __ and the normal name is an alias. */
126423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
126424 choke me
126425 #else
126426 char (*f) () = $ac_func;
126427 #endif
126428 #ifdef __cplusplus
126430 #endif
126433 main ()
126435 return f != $ac_func;
126437 return 0;
126439 _ACEOF
126440 rm -f conftest.$ac_objext conftest$ac_exeext
126441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
126442 (eval $ac_link) 2>conftest.er1
126443 ac_status=$?
126444 grep -v '^ *+' conftest.er1 >conftest.err
126445 rm -f conftest.er1
126446 cat conftest.err >&5
126447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126448 (exit $ac_status); } &&
126449 { ac_try='test -z "$ac_c_werror_flag"
126450 || test ! -s conftest.err'
126451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126452 (eval $ac_try) 2>&5
126453 ac_status=$?
126454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126455 (exit $ac_status); }; } &&
126456 { ac_try='test -s conftest$ac_exeext'
126457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126458 (eval $ac_try) 2>&5
126459 ac_status=$?
126460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126461 (exit $ac_status); }; }; then
126462 eval "$as_ac_var=yes"
126464 echo "$as_me: failed program was:" >&5
126465 sed 's/^/| /' conftest.$ac_ext >&5
126467 eval "$as_ac_var=no"
126469 rm -f conftest.err conftest.$ac_objext \
126470 conftest$ac_exeext conftest.$ac_ext
126472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
126473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
126474 if test `eval echo '${'$as_ac_var'}'` = yes; then
126475 cat >>confdefs.h <<_ACEOF
126476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
126477 _ACEOF
126484 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
126485 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
126486 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
126487 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
126488 echo $ECHO_N "(cached) $ECHO_C" >&6
126493 ac_ext=cc
126494 ac_cpp='$CXXCPP $CPPFLAGS'
126495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
126499 cat >conftest.$ac_ext <<_ACEOF
126500 /* confdefs.h. */
126501 _ACEOF
126502 cat confdefs.h >>conftest.$ac_ext
126503 cat >>conftest.$ac_ext <<_ACEOF
126504 /* end confdefs.h. */
126505 #include <math.h>
126507 main ()
126509 _ldexpl(0, 0);
126511 return 0;
126513 _ACEOF
126514 rm -f conftest.$ac_objext
126515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
126516 (eval $ac_compile) 2>conftest.er1
126517 ac_status=$?
126518 grep -v '^ *+' conftest.er1 >conftest.err
126519 rm -f conftest.er1
126520 cat conftest.err >&5
126521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126522 (exit $ac_status); } &&
126523 { ac_try='test -z "$ac_cxx_werror_flag"
126524 || test ! -s conftest.err'
126525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126526 (eval $ac_try) 2>&5
126527 ac_status=$?
126528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126529 (exit $ac_status); }; } &&
126530 { ac_try='test -s conftest.$ac_objext'
126531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126532 (eval $ac_try) 2>&5
126533 ac_status=$?
126534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126535 (exit $ac_status); }; }; then
126536 glibcxx_cv_func__ldexpl_use=yes
126538 echo "$as_me: failed program was:" >&5
126539 sed 's/^/| /' conftest.$ac_ext >&5
126541 glibcxx_cv_func__ldexpl_use=no
126543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
126544 ac_ext=c
126545 ac_cpp='$CPP $CPPFLAGS'
126546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
126554 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
126555 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
126557 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
126559 for ac_func in _ldexpl
126561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
126562 echo "$as_me:$LINENO: checking for $ac_func" >&5
126563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
126564 if eval "test \"\${$as_ac_var+set}\" = set"; then
126565 echo $ECHO_N "(cached) $ECHO_C" >&6
126567 if test x$gcc_no_link = xyes; then
126568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
126569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
126570 { (exit 1); exit 1; }; }
126572 cat >conftest.$ac_ext <<_ACEOF
126573 /* confdefs.h. */
126574 _ACEOF
126575 cat confdefs.h >>conftest.$ac_ext
126576 cat >>conftest.$ac_ext <<_ACEOF
126577 /* end confdefs.h. */
126578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
126579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
126580 #define $ac_func innocuous_$ac_func
126582 /* System header to define __stub macros and hopefully few prototypes,
126583 which can conflict with char $ac_func (); below.
126584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
126585 <limits.h> exists even on freestanding compilers. */
126587 #ifdef __STDC__
126588 # include <limits.h>
126589 #else
126590 # include <assert.h>
126591 #endif
126593 #undef $ac_func
126595 /* Override any gcc2 internal prototype to avoid an error. */
126596 #ifdef __cplusplus
126597 extern "C"
126599 #endif
126600 /* We use char because int might match the return type of a gcc2
126601 builtin and then its argument prototype would still apply. */
126602 char $ac_func ();
126603 /* The GNU C library defines this for functions which it implements
126604 to always fail with ENOSYS. Some functions are actually named
126605 something starting with __ and the normal name is an alias. */
126606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
126607 choke me
126608 #else
126609 char (*f) () = $ac_func;
126610 #endif
126611 #ifdef __cplusplus
126613 #endif
126616 main ()
126618 return f != $ac_func;
126620 return 0;
126622 _ACEOF
126623 rm -f conftest.$ac_objext conftest$ac_exeext
126624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
126625 (eval $ac_link) 2>conftest.er1
126626 ac_status=$?
126627 grep -v '^ *+' conftest.er1 >conftest.err
126628 rm -f conftest.er1
126629 cat conftest.err >&5
126630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126631 (exit $ac_status); } &&
126632 { ac_try='test -z "$ac_c_werror_flag"
126633 || test ! -s conftest.err'
126634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126635 (eval $ac_try) 2>&5
126636 ac_status=$?
126637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126638 (exit $ac_status); }; } &&
126639 { ac_try='test -s conftest$ac_exeext'
126640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126641 (eval $ac_try) 2>&5
126642 ac_status=$?
126643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126644 (exit $ac_status); }; }; then
126645 eval "$as_ac_var=yes"
126647 echo "$as_me: failed program was:" >&5
126648 sed 's/^/| /' conftest.$ac_ext >&5
126650 eval "$as_ac_var=no"
126652 rm -f conftest.err conftest.$ac_objext \
126653 conftest$ac_exeext conftest.$ac_ext
126655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
126656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
126657 if test `eval echo '${'$as_ac_var'}'` = yes; then
126658 cat >>confdefs.h <<_ACEOF
126659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
126660 _ACEOF
126673 echo "$as_me:$LINENO: checking for logl declaration" >&5
126674 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
126675 if test x${glibcxx_cv_func_logl_use+set} != xset; then
126676 if test "${glibcxx_cv_func_logl_use+set}" = set; then
126677 echo $ECHO_N "(cached) $ECHO_C" >&6
126682 ac_ext=cc
126683 ac_cpp='$CXXCPP $CPPFLAGS'
126684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
126688 cat >conftest.$ac_ext <<_ACEOF
126689 /* confdefs.h. */
126690 _ACEOF
126691 cat confdefs.h >>conftest.$ac_ext
126692 cat >>conftest.$ac_ext <<_ACEOF
126693 /* end confdefs.h. */
126694 #include <math.h>
126695 #ifdef HAVE_IEEEFP_H
126696 #include <ieeefp.h>
126697 #endif
126700 main ()
126702 logl(0);
126704 return 0;
126706 _ACEOF
126707 rm -f conftest.$ac_objext
126708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
126709 (eval $ac_compile) 2>conftest.er1
126710 ac_status=$?
126711 grep -v '^ *+' conftest.er1 >conftest.err
126712 rm -f conftest.er1
126713 cat conftest.err >&5
126714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126715 (exit $ac_status); } &&
126716 { ac_try='test -z "$ac_cxx_werror_flag"
126717 || test ! -s conftest.err'
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); }; } &&
126723 { ac_try='test -s conftest.$ac_objext'
126724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126725 (eval $ac_try) 2>&5
126726 ac_status=$?
126727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126728 (exit $ac_status); }; }; then
126729 glibcxx_cv_func_logl_use=yes
126731 echo "$as_me: failed program was:" >&5
126732 sed 's/^/| /' conftest.$ac_ext >&5
126734 glibcxx_cv_func_logl_use=no
126736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
126737 ac_ext=c
126738 ac_cpp='$CPP $CPPFLAGS'
126739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
126747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
126748 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
126750 if test x$glibcxx_cv_func_logl_use = x"yes"; then
126752 for ac_func in logl
126754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
126755 echo "$as_me:$LINENO: checking for $ac_func" >&5
126756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
126757 if eval "test \"\${$as_ac_var+set}\" = set"; then
126758 echo $ECHO_N "(cached) $ECHO_C" >&6
126760 if test x$gcc_no_link = xyes; then
126761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
126762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
126763 { (exit 1); exit 1; }; }
126765 cat >conftest.$ac_ext <<_ACEOF
126766 /* confdefs.h. */
126767 _ACEOF
126768 cat confdefs.h >>conftest.$ac_ext
126769 cat >>conftest.$ac_ext <<_ACEOF
126770 /* end confdefs.h. */
126771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
126772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
126773 #define $ac_func innocuous_$ac_func
126775 /* System header to define __stub macros and hopefully few prototypes,
126776 which can conflict with char $ac_func (); below.
126777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
126778 <limits.h> exists even on freestanding compilers. */
126780 #ifdef __STDC__
126781 # include <limits.h>
126782 #else
126783 # include <assert.h>
126784 #endif
126786 #undef $ac_func
126788 /* Override any gcc2 internal prototype to avoid an error. */
126789 #ifdef __cplusplus
126790 extern "C"
126792 #endif
126793 /* We use char because int might match the return type of a gcc2
126794 builtin and then its argument prototype would still apply. */
126795 char $ac_func ();
126796 /* The GNU C library defines this for functions which it implements
126797 to always fail with ENOSYS. Some functions are actually named
126798 something starting with __ and the normal name is an alias. */
126799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
126800 choke me
126801 #else
126802 char (*f) () = $ac_func;
126803 #endif
126804 #ifdef __cplusplus
126806 #endif
126809 main ()
126811 return f != $ac_func;
126813 return 0;
126815 _ACEOF
126816 rm -f conftest.$ac_objext conftest$ac_exeext
126817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
126818 (eval $ac_link) 2>conftest.er1
126819 ac_status=$?
126820 grep -v '^ *+' conftest.er1 >conftest.err
126821 rm -f conftest.er1
126822 cat conftest.err >&5
126823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126824 (exit $ac_status); } &&
126825 { ac_try='test -z "$ac_c_werror_flag"
126826 || test ! -s conftest.err'
126827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126828 (eval $ac_try) 2>&5
126829 ac_status=$?
126830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126831 (exit $ac_status); }; } &&
126832 { ac_try='test -s conftest$ac_exeext'
126833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126834 (eval $ac_try) 2>&5
126835 ac_status=$?
126836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126837 (exit $ac_status); }; }; then
126838 eval "$as_ac_var=yes"
126840 echo "$as_me: failed program was:" >&5
126841 sed 's/^/| /' conftest.$ac_ext >&5
126843 eval "$as_ac_var=no"
126845 rm -f conftest.err conftest.$ac_objext \
126846 conftest$ac_exeext conftest.$ac_ext
126848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
126849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
126850 if test `eval echo '${'$as_ac_var'}'` = yes; then
126851 cat >>confdefs.h <<_ACEOF
126852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
126853 _ACEOF
126860 echo "$as_me:$LINENO: checking for _logl declaration" >&5
126861 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
126862 if test x${glibcxx_cv_func__logl_use+set} != xset; then
126863 if test "${glibcxx_cv_func__logl_use+set}" = set; then
126864 echo $ECHO_N "(cached) $ECHO_C" >&6
126869 ac_ext=cc
126870 ac_cpp='$CXXCPP $CPPFLAGS'
126871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
126875 cat >conftest.$ac_ext <<_ACEOF
126876 /* confdefs.h. */
126877 _ACEOF
126878 cat confdefs.h >>conftest.$ac_ext
126879 cat >>conftest.$ac_ext <<_ACEOF
126880 /* end confdefs.h. */
126881 #include <math.h>
126882 #ifdef HAVE_IEEEFP_H
126883 #include <ieeefp.h>
126884 #endif
126887 main ()
126889 _logl(0);
126891 return 0;
126893 _ACEOF
126894 rm -f conftest.$ac_objext
126895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
126896 (eval $ac_compile) 2>conftest.er1
126897 ac_status=$?
126898 grep -v '^ *+' conftest.er1 >conftest.err
126899 rm -f conftest.er1
126900 cat conftest.err >&5
126901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126902 (exit $ac_status); } &&
126903 { ac_try='test -z "$ac_cxx_werror_flag"
126904 || test ! -s conftest.err'
126905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126906 (eval $ac_try) 2>&5
126907 ac_status=$?
126908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126909 (exit $ac_status); }; } &&
126910 { ac_try='test -s conftest.$ac_objext'
126911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126912 (eval $ac_try) 2>&5
126913 ac_status=$?
126914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126915 (exit $ac_status); }; }; then
126916 glibcxx_cv_func__logl_use=yes
126918 echo "$as_me: failed program was:" >&5
126919 sed 's/^/| /' conftest.$ac_ext >&5
126921 glibcxx_cv_func__logl_use=no
126923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
126924 ac_ext=c
126925 ac_cpp='$CPP $CPPFLAGS'
126926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
126934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
126935 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
126937 if test x$glibcxx_cv_func__logl_use = x"yes"; then
126939 for ac_func in _logl
126941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
126942 echo "$as_me:$LINENO: checking for $ac_func" >&5
126943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
126944 if eval "test \"\${$as_ac_var+set}\" = set"; then
126945 echo $ECHO_N "(cached) $ECHO_C" >&6
126947 if test x$gcc_no_link = xyes; then
126948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
126949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
126950 { (exit 1); exit 1; }; }
126952 cat >conftest.$ac_ext <<_ACEOF
126953 /* confdefs.h. */
126954 _ACEOF
126955 cat confdefs.h >>conftest.$ac_ext
126956 cat >>conftest.$ac_ext <<_ACEOF
126957 /* end confdefs.h. */
126958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
126959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
126960 #define $ac_func innocuous_$ac_func
126962 /* System header to define __stub macros and hopefully few prototypes,
126963 which can conflict with char $ac_func (); below.
126964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
126965 <limits.h> exists even on freestanding compilers. */
126967 #ifdef __STDC__
126968 # include <limits.h>
126969 #else
126970 # include <assert.h>
126971 #endif
126973 #undef $ac_func
126975 /* Override any gcc2 internal prototype to avoid an error. */
126976 #ifdef __cplusplus
126977 extern "C"
126979 #endif
126980 /* We use char because int might match the return type of a gcc2
126981 builtin and then its argument prototype would still apply. */
126982 char $ac_func ();
126983 /* The GNU C library defines this for functions which it implements
126984 to always fail with ENOSYS. Some functions are actually named
126985 something starting with __ and the normal name is an alias. */
126986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
126987 choke me
126988 #else
126989 char (*f) () = $ac_func;
126990 #endif
126991 #ifdef __cplusplus
126993 #endif
126996 main ()
126998 return f != $ac_func;
127000 return 0;
127002 _ACEOF
127003 rm -f conftest.$ac_objext conftest$ac_exeext
127004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
127005 (eval $ac_link) 2>conftest.er1
127006 ac_status=$?
127007 grep -v '^ *+' conftest.er1 >conftest.err
127008 rm -f conftest.er1
127009 cat conftest.err >&5
127010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127011 (exit $ac_status); } &&
127012 { ac_try='test -z "$ac_c_werror_flag"
127013 || test ! -s conftest.err'
127014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127015 (eval $ac_try) 2>&5
127016 ac_status=$?
127017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127018 (exit $ac_status); }; } &&
127019 { ac_try='test -s conftest$ac_exeext'
127020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127021 (eval $ac_try) 2>&5
127022 ac_status=$?
127023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127024 (exit $ac_status); }; }; then
127025 eval "$as_ac_var=yes"
127027 echo "$as_me: failed program was:" >&5
127028 sed 's/^/| /' conftest.$ac_ext >&5
127030 eval "$as_ac_var=no"
127032 rm -f conftest.err conftest.$ac_objext \
127033 conftest$ac_exeext conftest.$ac_ext
127035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
127036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
127037 if test `eval echo '${'$as_ac_var'}'` = yes; then
127038 cat >>confdefs.h <<_ACEOF
127039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
127040 _ACEOF
127053 echo "$as_me:$LINENO: checking for log10l declaration" >&5
127054 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
127055 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
127056 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
127057 echo $ECHO_N "(cached) $ECHO_C" >&6
127062 ac_ext=cc
127063 ac_cpp='$CXXCPP $CPPFLAGS'
127064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
127068 cat >conftest.$ac_ext <<_ACEOF
127069 /* confdefs.h. */
127070 _ACEOF
127071 cat confdefs.h >>conftest.$ac_ext
127072 cat >>conftest.$ac_ext <<_ACEOF
127073 /* end confdefs.h. */
127074 #include <math.h>
127075 #ifdef HAVE_IEEEFP_H
127076 #include <ieeefp.h>
127077 #endif
127080 main ()
127082 log10l(0);
127084 return 0;
127086 _ACEOF
127087 rm -f conftest.$ac_objext
127088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
127089 (eval $ac_compile) 2>conftest.er1
127090 ac_status=$?
127091 grep -v '^ *+' conftest.er1 >conftest.err
127092 rm -f conftest.er1
127093 cat conftest.err >&5
127094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127095 (exit $ac_status); } &&
127096 { ac_try='test -z "$ac_cxx_werror_flag"
127097 || test ! -s conftest.err'
127098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127099 (eval $ac_try) 2>&5
127100 ac_status=$?
127101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127102 (exit $ac_status); }; } &&
127103 { ac_try='test -s conftest.$ac_objext'
127104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127105 (eval $ac_try) 2>&5
127106 ac_status=$?
127107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127108 (exit $ac_status); }; }; then
127109 glibcxx_cv_func_log10l_use=yes
127111 echo "$as_me: failed program was:" >&5
127112 sed 's/^/| /' conftest.$ac_ext >&5
127114 glibcxx_cv_func_log10l_use=no
127116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
127117 ac_ext=c
127118 ac_cpp='$CPP $CPPFLAGS'
127119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
127127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
127128 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
127130 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
127132 for ac_func in log10l
127134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
127135 echo "$as_me:$LINENO: checking for $ac_func" >&5
127136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
127137 if eval "test \"\${$as_ac_var+set}\" = set"; then
127138 echo $ECHO_N "(cached) $ECHO_C" >&6
127140 if test x$gcc_no_link = xyes; then
127141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
127142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
127143 { (exit 1); exit 1; }; }
127145 cat >conftest.$ac_ext <<_ACEOF
127146 /* confdefs.h. */
127147 _ACEOF
127148 cat confdefs.h >>conftest.$ac_ext
127149 cat >>conftest.$ac_ext <<_ACEOF
127150 /* end confdefs.h. */
127151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
127152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
127153 #define $ac_func innocuous_$ac_func
127155 /* System header to define __stub macros and hopefully few prototypes,
127156 which can conflict with char $ac_func (); below.
127157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
127158 <limits.h> exists even on freestanding compilers. */
127160 #ifdef __STDC__
127161 # include <limits.h>
127162 #else
127163 # include <assert.h>
127164 #endif
127166 #undef $ac_func
127168 /* Override any gcc2 internal prototype to avoid an error. */
127169 #ifdef __cplusplus
127170 extern "C"
127172 #endif
127173 /* We use char because int might match the return type of a gcc2
127174 builtin and then its argument prototype would still apply. */
127175 char $ac_func ();
127176 /* The GNU C library defines this for functions which it implements
127177 to always fail with ENOSYS. Some functions are actually named
127178 something starting with __ and the normal name is an alias. */
127179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
127180 choke me
127181 #else
127182 char (*f) () = $ac_func;
127183 #endif
127184 #ifdef __cplusplus
127186 #endif
127189 main ()
127191 return f != $ac_func;
127193 return 0;
127195 _ACEOF
127196 rm -f conftest.$ac_objext conftest$ac_exeext
127197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
127198 (eval $ac_link) 2>conftest.er1
127199 ac_status=$?
127200 grep -v '^ *+' conftest.er1 >conftest.err
127201 rm -f conftest.er1
127202 cat conftest.err >&5
127203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127204 (exit $ac_status); } &&
127205 { ac_try='test -z "$ac_c_werror_flag"
127206 || test ! -s conftest.err'
127207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127208 (eval $ac_try) 2>&5
127209 ac_status=$?
127210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127211 (exit $ac_status); }; } &&
127212 { ac_try='test -s conftest$ac_exeext'
127213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127214 (eval $ac_try) 2>&5
127215 ac_status=$?
127216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127217 (exit $ac_status); }; }; then
127218 eval "$as_ac_var=yes"
127220 echo "$as_me: failed program was:" >&5
127221 sed 's/^/| /' conftest.$ac_ext >&5
127223 eval "$as_ac_var=no"
127225 rm -f conftest.err conftest.$ac_objext \
127226 conftest$ac_exeext conftest.$ac_ext
127228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
127229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
127230 if test `eval echo '${'$as_ac_var'}'` = yes; then
127231 cat >>confdefs.h <<_ACEOF
127232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
127233 _ACEOF
127240 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
127241 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
127242 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
127243 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
127244 echo $ECHO_N "(cached) $ECHO_C" >&6
127249 ac_ext=cc
127250 ac_cpp='$CXXCPP $CPPFLAGS'
127251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
127255 cat >conftest.$ac_ext <<_ACEOF
127256 /* confdefs.h. */
127257 _ACEOF
127258 cat confdefs.h >>conftest.$ac_ext
127259 cat >>conftest.$ac_ext <<_ACEOF
127260 /* end confdefs.h. */
127261 #include <math.h>
127262 #ifdef HAVE_IEEEFP_H
127263 #include <ieeefp.h>
127264 #endif
127267 main ()
127269 _log10l(0);
127271 return 0;
127273 _ACEOF
127274 rm -f conftest.$ac_objext
127275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
127276 (eval $ac_compile) 2>conftest.er1
127277 ac_status=$?
127278 grep -v '^ *+' conftest.er1 >conftest.err
127279 rm -f conftest.er1
127280 cat conftest.err >&5
127281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127282 (exit $ac_status); } &&
127283 { ac_try='test -z "$ac_cxx_werror_flag"
127284 || test ! -s conftest.err'
127285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127286 (eval $ac_try) 2>&5
127287 ac_status=$?
127288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127289 (exit $ac_status); }; } &&
127290 { ac_try='test -s conftest.$ac_objext'
127291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127292 (eval $ac_try) 2>&5
127293 ac_status=$?
127294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127295 (exit $ac_status); }; }; then
127296 glibcxx_cv_func__log10l_use=yes
127298 echo "$as_me: failed program was:" >&5
127299 sed 's/^/| /' conftest.$ac_ext >&5
127301 glibcxx_cv_func__log10l_use=no
127303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
127304 ac_ext=c
127305 ac_cpp='$CPP $CPPFLAGS'
127306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
127314 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
127315 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
127317 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
127319 for ac_func in _log10l
127321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
127322 echo "$as_me:$LINENO: checking for $ac_func" >&5
127323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
127324 if eval "test \"\${$as_ac_var+set}\" = set"; then
127325 echo $ECHO_N "(cached) $ECHO_C" >&6
127327 if test x$gcc_no_link = xyes; then
127328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
127329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
127330 { (exit 1); exit 1; }; }
127332 cat >conftest.$ac_ext <<_ACEOF
127333 /* confdefs.h. */
127334 _ACEOF
127335 cat confdefs.h >>conftest.$ac_ext
127336 cat >>conftest.$ac_ext <<_ACEOF
127337 /* end confdefs.h. */
127338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
127339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
127340 #define $ac_func innocuous_$ac_func
127342 /* System header to define __stub macros and hopefully few prototypes,
127343 which can conflict with char $ac_func (); below.
127344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
127345 <limits.h> exists even on freestanding compilers. */
127347 #ifdef __STDC__
127348 # include <limits.h>
127349 #else
127350 # include <assert.h>
127351 #endif
127353 #undef $ac_func
127355 /* Override any gcc2 internal prototype to avoid an error. */
127356 #ifdef __cplusplus
127357 extern "C"
127359 #endif
127360 /* We use char because int might match the return type of a gcc2
127361 builtin and then its argument prototype would still apply. */
127362 char $ac_func ();
127363 /* The GNU C library defines this for functions which it implements
127364 to always fail with ENOSYS. Some functions are actually named
127365 something starting with __ and the normal name is an alias. */
127366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
127367 choke me
127368 #else
127369 char (*f) () = $ac_func;
127370 #endif
127371 #ifdef __cplusplus
127373 #endif
127376 main ()
127378 return f != $ac_func;
127380 return 0;
127382 _ACEOF
127383 rm -f conftest.$ac_objext conftest$ac_exeext
127384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
127385 (eval $ac_link) 2>conftest.er1
127386 ac_status=$?
127387 grep -v '^ *+' conftest.er1 >conftest.err
127388 rm -f conftest.er1
127389 cat conftest.err >&5
127390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127391 (exit $ac_status); } &&
127392 { ac_try='test -z "$ac_c_werror_flag"
127393 || test ! -s conftest.err'
127394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127395 (eval $ac_try) 2>&5
127396 ac_status=$?
127397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127398 (exit $ac_status); }; } &&
127399 { ac_try='test -s conftest$ac_exeext'
127400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127401 (eval $ac_try) 2>&5
127402 ac_status=$?
127403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127404 (exit $ac_status); }; }; then
127405 eval "$as_ac_var=yes"
127407 echo "$as_me: failed program was:" >&5
127408 sed 's/^/| /' conftest.$ac_ext >&5
127410 eval "$as_ac_var=no"
127412 rm -f conftest.err conftest.$ac_objext \
127413 conftest$ac_exeext conftest.$ac_ext
127415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
127416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
127417 if test `eval echo '${'$as_ac_var'}'` = yes; then
127418 cat >>confdefs.h <<_ACEOF
127419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
127420 _ACEOF
127433 echo "$as_me:$LINENO: checking for modfl declaration" >&5
127434 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
127435 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
127436 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
127437 echo $ECHO_N "(cached) $ECHO_C" >&6
127442 ac_ext=cc
127443 ac_cpp='$CXXCPP $CPPFLAGS'
127444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
127448 cat >conftest.$ac_ext <<_ACEOF
127449 /* confdefs.h. */
127450 _ACEOF
127451 cat confdefs.h >>conftest.$ac_ext
127452 cat >>conftest.$ac_ext <<_ACEOF
127453 /* end confdefs.h. */
127454 #include <math.h>
127456 main ()
127458 modfl(0, 0);
127460 return 0;
127462 _ACEOF
127463 rm -f conftest.$ac_objext
127464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
127465 (eval $ac_compile) 2>conftest.er1
127466 ac_status=$?
127467 grep -v '^ *+' conftest.er1 >conftest.err
127468 rm -f conftest.er1
127469 cat conftest.err >&5
127470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127471 (exit $ac_status); } &&
127472 { ac_try='test -z "$ac_cxx_werror_flag"
127473 || test ! -s conftest.err'
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); }; } &&
127479 { ac_try='test -s conftest.$ac_objext'
127480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127481 (eval $ac_try) 2>&5
127482 ac_status=$?
127483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127484 (exit $ac_status); }; }; then
127485 glibcxx_cv_func_modfl_use=yes
127487 echo "$as_me: failed program was:" >&5
127488 sed 's/^/| /' conftest.$ac_ext >&5
127490 glibcxx_cv_func_modfl_use=no
127492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
127493 ac_ext=c
127494 ac_cpp='$CPP $CPPFLAGS'
127495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
127503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
127504 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
127506 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
127508 for ac_func in modfl
127510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
127511 echo "$as_me:$LINENO: checking for $ac_func" >&5
127512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
127513 if eval "test \"\${$as_ac_var+set}\" = set"; then
127514 echo $ECHO_N "(cached) $ECHO_C" >&6
127516 if test x$gcc_no_link = xyes; then
127517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
127518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
127519 { (exit 1); exit 1; }; }
127521 cat >conftest.$ac_ext <<_ACEOF
127522 /* confdefs.h. */
127523 _ACEOF
127524 cat confdefs.h >>conftest.$ac_ext
127525 cat >>conftest.$ac_ext <<_ACEOF
127526 /* end confdefs.h. */
127527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
127528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
127529 #define $ac_func innocuous_$ac_func
127531 /* System header to define __stub macros and hopefully few prototypes,
127532 which can conflict with char $ac_func (); below.
127533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
127534 <limits.h> exists even on freestanding compilers. */
127536 #ifdef __STDC__
127537 # include <limits.h>
127538 #else
127539 # include <assert.h>
127540 #endif
127542 #undef $ac_func
127544 /* Override any gcc2 internal prototype to avoid an error. */
127545 #ifdef __cplusplus
127546 extern "C"
127548 #endif
127549 /* We use char because int might match the return type of a gcc2
127550 builtin and then its argument prototype would still apply. */
127551 char $ac_func ();
127552 /* The GNU C library defines this for functions which it implements
127553 to always fail with ENOSYS. Some functions are actually named
127554 something starting with __ and the normal name is an alias. */
127555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
127556 choke me
127557 #else
127558 char (*f) () = $ac_func;
127559 #endif
127560 #ifdef __cplusplus
127562 #endif
127565 main ()
127567 return f != $ac_func;
127569 return 0;
127571 _ACEOF
127572 rm -f conftest.$ac_objext conftest$ac_exeext
127573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
127574 (eval $ac_link) 2>conftest.er1
127575 ac_status=$?
127576 grep -v '^ *+' conftest.er1 >conftest.err
127577 rm -f conftest.er1
127578 cat conftest.err >&5
127579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127580 (exit $ac_status); } &&
127581 { ac_try='test -z "$ac_c_werror_flag"
127582 || test ! -s conftest.err'
127583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127584 (eval $ac_try) 2>&5
127585 ac_status=$?
127586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127587 (exit $ac_status); }; } &&
127588 { ac_try='test -s conftest$ac_exeext'
127589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127590 (eval $ac_try) 2>&5
127591 ac_status=$?
127592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127593 (exit $ac_status); }; }; then
127594 eval "$as_ac_var=yes"
127596 echo "$as_me: failed program was:" >&5
127597 sed 's/^/| /' conftest.$ac_ext >&5
127599 eval "$as_ac_var=no"
127601 rm -f conftest.err conftest.$ac_objext \
127602 conftest$ac_exeext conftest.$ac_ext
127604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
127605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
127606 if test `eval echo '${'$as_ac_var'}'` = yes; then
127607 cat >>confdefs.h <<_ACEOF
127608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
127609 _ACEOF
127616 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
127617 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
127618 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
127619 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
127620 echo $ECHO_N "(cached) $ECHO_C" >&6
127625 ac_ext=cc
127626 ac_cpp='$CXXCPP $CPPFLAGS'
127627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
127631 cat >conftest.$ac_ext <<_ACEOF
127632 /* confdefs.h. */
127633 _ACEOF
127634 cat confdefs.h >>conftest.$ac_ext
127635 cat >>conftest.$ac_ext <<_ACEOF
127636 /* end confdefs.h. */
127637 #include <math.h>
127639 main ()
127641 _modfl(0, 0);
127643 return 0;
127645 _ACEOF
127646 rm -f conftest.$ac_objext
127647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
127648 (eval $ac_compile) 2>conftest.er1
127649 ac_status=$?
127650 grep -v '^ *+' conftest.er1 >conftest.err
127651 rm -f conftest.er1
127652 cat conftest.err >&5
127653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127654 (exit $ac_status); } &&
127655 { ac_try='test -z "$ac_cxx_werror_flag"
127656 || test ! -s conftest.err'
127657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127658 (eval $ac_try) 2>&5
127659 ac_status=$?
127660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127661 (exit $ac_status); }; } &&
127662 { ac_try='test -s conftest.$ac_objext'
127663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127664 (eval $ac_try) 2>&5
127665 ac_status=$?
127666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127667 (exit $ac_status); }; }; then
127668 glibcxx_cv_func__modfl_use=yes
127670 echo "$as_me: failed program was:" >&5
127671 sed 's/^/| /' conftest.$ac_ext >&5
127673 glibcxx_cv_func__modfl_use=no
127675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
127676 ac_ext=c
127677 ac_cpp='$CPP $CPPFLAGS'
127678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
127686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
127687 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
127689 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
127691 for ac_func in _modfl
127693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
127694 echo "$as_me:$LINENO: checking for $ac_func" >&5
127695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
127696 if eval "test \"\${$as_ac_var+set}\" = set"; then
127697 echo $ECHO_N "(cached) $ECHO_C" >&6
127699 if test x$gcc_no_link = xyes; then
127700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
127701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
127702 { (exit 1); exit 1; }; }
127704 cat >conftest.$ac_ext <<_ACEOF
127705 /* confdefs.h. */
127706 _ACEOF
127707 cat confdefs.h >>conftest.$ac_ext
127708 cat >>conftest.$ac_ext <<_ACEOF
127709 /* end confdefs.h. */
127710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
127711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
127712 #define $ac_func innocuous_$ac_func
127714 /* System header to define __stub macros and hopefully few prototypes,
127715 which can conflict with char $ac_func (); below.
127716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
127717 <limits.h> exists even on freestanding compilers. */
127719 #ifdef __STDC__
127720 # include <limits.h>
127721 #else
127722 # include <assert.h>
127723 #endif
127725 #undef $ac_func
127727 /* Override any gcc2 internal prototype to avoid an error. */
127728 #ifdef __cplusplus
127729 extern "C"
127731 #endif
127732 /* We use char because int might match the return type of a gcc2
127733 builtin and then its argument prototype would still apply. */
127734 char $ac_func ();
127735 /* The GNU C library defines this for functions which it implements
127736 to always fail with ENOSYS. Some functions are actually named
127737 something starting with __ and the normal name is an alias. */
127738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
127739 choke me
127740 #else
127741 char (*f) () = $ac_func;
127742 #endif
127743 #ifdef __cplusplus
127745 #endif
127748 main ()
127750 return f != $ac_func;
127752 return 0;
127754 _ACEOF
127755 rm -f conftest.$ac_objext conftest$ac_exeext
127756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
127757 (eval $ac_link) 2>conftest.er1
127758 ac_status=$?
127759 grep -v '^ *+' conftest.er1 >conftest.err
127760 rm -f conftest.er1
127761 cat conftest.err >&5
127762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127763 (exit $ac_status); } &&
127764 { ac_try='test -z "$ac_c_werror_flag"
127765 || test ! -s conftest.err'
127766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127767 (eval $ac_try) 2>&5
127768 ac_status=$?
127769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127770 (exit $ac_status); }; } &&
127771 { ac_try='test -s conftest$ac_exeext'
127772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127773 (eval $ac_try) 2>&5
127774 ac_status=$?
127775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127776 (exit $ac_status); }; }; then
127777 eval "$as_ac_var=yes"
127779 echo "$as_me: failed program was:" >&5
127780 sed 's/^/| /' conftest.$ac_ext >&5
127782 eval "$as_ac_var=no"
127784 rm -f conftest.err conftest.$ac_objext \
127785 conftest$ac_exeext conftest.$ac_ext
127787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
127788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
127789 if test `eval echo '${'$as_ac_var'}'` = yes; then
127790 cat >>confdefs.h <<_ACEOF
127791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
127792 _ACEOF
127805 echo "$as_me:$LINENO: checking for powl declaration" >&5
127806 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
127807 if test x${glibcxx_cv_func_powl_use+set} != xset; then
127808 if test "${glibcxx_cv_func_powl_use+set}" = set; then
127809 echo $ECHO_N "(cached) $ECHO_C" >&6
127814 ac_ext=cc
127815 ac_cpp='$CXXCPP $CPPFLAGS'
127816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
127820 cat >conftest.$ac_ext <<_ACEOF
127821 /* confdefs.h. */
127822 _ACEOF
127823 cat confdefs.h >>conftest.$ac_ext
127824 cat >>conftest.$ac_ext <<_ACEOF
127825 /* end confdefs.h. */
127826 #include <math.h>
127828 main ()
127830 powl(0, 0);
127832 return 0;
127834 _ACEOF
127835 rm -f conftest.$ac_objext
127836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
127837 (eval $ac_compile) 2>conftest.er1
127838 ac_status=$?
127839 grep -v '^ *+' conftest.er1 >conftest.err
127840 rm -f conftest.er1
127841 cat conftest.err >&5
127842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127843 (exit $ac_status); } &&
127844 { ac_try='test -z "$ac_cxx_werror_flag"
127845 || test ! -s conftest.err'
127846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127847 (eval $ac_try) 2>&5
127848 ac_status=$?
127849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127850 (exit $ac_status); }; } &&
127851 { ac_try='test -s conftest.$ac_objext'
127852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127853 (eval $ac_try) 2>&5
127854 ac_status=$?
127855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127856 (exit $ac_status); }; }; then
127857 glibcxx_cv_func_powl_use=yes
127859 echo "$as_me: failed program was:" >&5
127860 sed 's/^/| /' conftest.$ac_ext >&5
127862 glibcxx_cv_func_powl_use=no
127864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
127865 ac_ext=c
127866 ac_cpp='$CPP $CPPFLAGS'
127867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
127875 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
127876 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
127878 if test x$glibcxx_cv_func_powl_use = x"yes"; then
127880 for ac_func in powl
127882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
127883 echo "$as_me:$LINENO: checking for $ac_func" >&5
127884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
127885 if eval "test \"\${$as_ac_var+set}\" = set"; then
127886 echo $ECHO_N "(cached) $ECHO_C" >&6
127888 if test x$gcc_no_link = xyes; then
127889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
127890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
127891 { (exit 1); exit 1; }; }
127893 cat >conftest.$ac_ext <<_ACEOF
127894 /* confdefs.h. */
127895 _ACEOF
127896 cat confdefs.h >>conftest.$ac_ext
127897 cat >>conftest.$ac_ext <<_ACEOF
127898 /* end confdefs.h. */
127899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
127900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
127901 #define $ac_func innocuous_$ac_func
127903 /* System header to define __stub macros and hopefully few prototypes,
127904 which can conflict with char $ac_func (); below.
127905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
127906 <limits.h> exists even on freestanding compilers. */
127908 #ifdef __STDC__
127909 # include <limits.h>
127910 #else
127911 # include <assert.h>
127912 #endif
127914 #undef $ac_func
127916 /* Override any gcc2 internal prototype to avoid an error. */
127917 #ifdef __cplusplus
127918 extern "C"
127920 #endif
127921 /* We use char because int might match the return type of a gcc2
127922 builtin and then its argument prototype would still apply. */
127923 char $ac_func ();
127924 /* The GNU C library defines this for functions which it implements
127925 to always fail with ENOSYS. Some functions are actually named
127926 something starting with __ and the normal name is an alias. */
127927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
127928 choke me
127929 #else
127930 char (*f) () = $ac_func;
127931 #endif
127932 #ifdef __cplusplus
127934 #endif
127937 main ()
127939 return f != $ac_func;
127941 return 0;
127943 _ACEOF
127944 rm -f conftest.$ac_objext conftest$ac_exeext
127945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
127946 (eval $ac_link) 2>conftest.er1
127947 ac_status=$?
127948 grep -v '^ *+' conftest.er1 >conftest.err
127949 rm -f conftest.er1
127950 cat conftest.err >&5
127951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127952 (exit $ac_status); } &&
127953 { ac_try='test -z "$ac_c_werror_flag"
127954 || test ! -s conftest.err'
127955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127956 (eval $ac_try) 2>&5
127957 ac_status=$?
127958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127959 (exit $ac_status); }; } &&
127960 { ac_try='test -s conftest$ac_exeext'
127961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127962 (eval $ac_try) 2>&5
127963 ac_status=$?
127964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127965 (exit $ac_status); }; }; then
127966 eval "$as_ac_var=yes"
127968 echo "$as_me: failed program was:" >&5
127969 sed 's/^/| /' conftest.$ac_ext >&5
127971 eval "$as_ac_var=no"
127973 rm -f conftest.err conftest.$ac_objext \
127974 conftest$ac_exeext conftest.$ac_ext
127976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
127977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
127978 if test `eval echo '${'$as_ac_var'}'` = yes; then
127979 cat >>confdefs.h <<_ACEOF
127980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
127981 _ACEOF
127988 echo "$as_me:$LINENO: checking for _powl declaration" >&5
127989 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
127990 if test x${glibcxx_cv_func__powl_use+set} != xset; then
127991 if test "${glibcxx_cv_func__powl_use+set}" = set; then
127992 echo $ECHO_N "(cached) $ECHO_C" >&6
127997 ac_ext=cc
127998 ac_cpp='$CXXCPP $CPPFLAGS'
127999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
128003 cat >conftest.$ac_ext <<_ACEOF
128004 /* confdefs.h. */
128005 _ACEOF
128006 cat confdefs.h >>conftest.$ac_ext
128007 cat >>conftest.$ac_ext <<_ACEOF
128008 /* end confdefs.h. */
128009 #include <math.h>
128011 main ()
128013 _powl(0, 0);
128015 return 0;
128017 _ACEOF
128018 rm -f conftest.$ac_objext
128019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
128020 (eval $ac_compile) 2>conftest.er1
128021 ac_status=$?
128022 grep -v '^ *+' conftest.er1 >conftest.err
128023 rm -f conftest.er1
128024 cat conftest.err >&5
128025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128026 (exit $ac_status); } &&
128027 { ac_try='test -z "$ac_cxx_werror_flag"
128028 || test ! -s conftest.err'
128029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128030 (eval $ac_try) 2>&5
128031 ac_status=$?
128032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128033 (exit $ac_status); }; } &&
128034 { ac_try='test -s conftest.$ac_objext'
128035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128036 (eval $ac_try) 2>&5
128037 ac_status=$?
128038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128039 (exit $ac_status); }; }; then
128040 glibcxx_cv_func__powl_use=yes
128042 echo "$as_me: failed program was:" >&5
128043 sed 's/^/| /' conftest.$ac_ext >&5
128045 glibcxx_cv_func__powl_use=no
128047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
128048 ac_ext=c
128049 ac_cpp='$CPP $CPPFLAGS'
128050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
128058 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
128059 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
128061 if test x$glibcxx_cv_func__powl_use = x"yes"; then
128063 for ac_func in _powl
128065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
128066 echo "$as_me:$LINENO: checking for $ac_func" >&5
128067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
128068 if eval "test \"\${$as_ac_var+set}\" = set"; then
128069 echo $ECHO_N "(cached) $ECHO_C" >&6
128071 if test x$gcc_no_link = xyes; then
128072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
128073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
128074 { (exit 1); exit 1; }; }
128076 cat >conftest.$ac_ext <<_ACEOF
128077 /* confdefs.h. */
128078 _ACEOF
128079 cat confdefs.h >>conftest.$ac_ext
128080 cat >>conftest.$ac_ext <<_ACEOF
128081 /* end confdefs.h. */
128082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
128083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
128084 #define $ac_func innocuous_$ac_func
128086 /* System header to define __stub macros and hopefully few prototypes,
128087 which can conflict with char $ac_func (); below.
128088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
128089 <limits.h> exists even on freestanding compilers. */
128091 #ifdef __STDC__
128092 # include <limits.h>
128093 #else
128094 # include <assert.h>
128095 #endif
128097 #undef $ac_func
128099 /* Override any gcc2 internal prototype to avoid an error. */
128100 #ifdef __cplusplus
128101 extern "C"
128103 #endif
128104 /* We use char because int might match the return type of a gcc2
128105 builtin and then its argument prototype would still apply. */
128106 char $ac_func ();
128107 /* The GNU C library defines this for functions which it implements
128108 to always fail with ENOSYS. Some functions are actually named
128109 something starting with __ and the normal name is an alias. */
128110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
128111 choke me
128112 #else
128113 char (*f) () = $ac_func;
128114 #endif
128115 #ifdef __cplusplus
128117 #endif
128120 main ()
128122 return f != $ac_func;
128124 return 0;
128126 _ACEOF
128127 rm -f conftest.$ac_objext conftest$ac_exeext
128128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
128129 (eval $ac_link) 2>conftest.er1
128130 ac_status=$?
128131 grep -v '^ *+' conftest.er1 >conftest.err
128132 rm -f conftest.er1
128133 cat conftest.err >&5
128134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128135 (exit $ac_status); } &&
128136 { ac_try='test -z "$ac_c_werror_flag"
128137 || test ! -s conftest.err'
128138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128139 (eval $ac_try) 2>&5
128140 ac_status=$?
128141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128142 (exit $ac_status); }; } &&
128143 { ac_try='test -s conftest$ac_exeext'
128144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128145 (eval $ac_try) 2>&5
128146 ac_status=$?
128147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128148 (exit $ac_status); }; }; then
128149 eval "$as_ac_var=yes"
128151 echo "$as_me: failed program was:" >&5
128152 sed 's/^/| /' conftest.$ac_ext >&5
128154 eval "$as_ac_var=no"
128156 rm -f conftest.err conftest.$ac_objext \
128157 conftest$ac_exeext conftest.$ac_ext
128159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
128160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
128161 if test `eval echo '${'$as_ac_var'}'` = yes; then
128162 cat >>confdefs.h <<_ACEOF
128163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
128164 _ACEOF
128177 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
128178 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
128179 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
128180 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
128181 echo $ECHO_N "(cached) $ECHO_C" >&6
128186 ac_ext=cc
128187 ac_cpp='$CXXCPP $CPPFLAGS'
128188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
128192 cat >conftest.$ac_ext <<_ACEOF
128193 /* confdefs.h. */
128194 _ACEOF
128195 cat confdefs.h >>conftest.$ac_ext
128196 cat >>conftest.$ac_ext <<_ACEOF
128197 /* end confdefs.h. */
128198 #include <math.h>
128199 #ifdef HAVE_IEEEFP_H
128200 #include <ieeefp.h>
128201 #endif
128204 main ()
128206 sqrtl(0);
128208 return 0;
128210 _ACEOF
128211 rm -f conftest.$ac_objext
128212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
128213 (eval $ac_compile) 2>conftest.er1
128214 ac_status=$?
128215 grep -v '^ *+' conftest.er1 >conftest.err
128216 rm -f conftest.er1
128217 cat conftest.err >&5
128218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128219 (exit $ac_status); } &&
128220 { ac_try='test -z "$ac_cxx_werror_flag"
128221 || test ! -s conftest.err'
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); }; } &&
128227 { ac_try='test -s conftest.$ac_objext'
128228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128229 (eval $ac_try) 2>&5
128230 ac_status=$?
128231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128232 (exit $ac_status); }; }; then
128233 glibcxx_cv_func_sqrtl_use=yes
128235 echo "$as_me: failed program was:" >&5
128236 sed 's/^/| /' conftest.$ac_ext >&5
128238 glibcxx_cv_func_sqrtl_use=no
128240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
128241 ac_ext=c
128242 ac_cpp='$CPP $CPPFLAGS'
128243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
128251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
128252 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
128254 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
128256 for ac_func in sqrtl
128258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
128259 echo "$as_me:$LINENO: checking for $ac_func" >&5
128260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
128261 if eval "test \"\${$as_ac_var+set}\" = set"; then
128262 echo $ECHO_N "(cached) $ECHO_C" >&6
128264 if test x$gcc_no_link = xyes; then
128265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
128266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
128267 { (exit 1); exit 1; }; }
128269 cat >conftest.$ac_ext <<_ACEOF
128270 /* confdefs.h. */
128271 _ACEOF
128272 cat confdefs.h >>conftest.$ac_ext
128273 cat >>conftest.$ac_ext <<_ACEOF
128274 /* end confdefs.h. */
128275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
128276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
128277 #define $ac_func innocuous_$ac_func
128279 /* System header to define __stub macros and hopefully few prototypes,
128280 which can conflict with char $ac_func (); below.
128281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
128282 <limits.h> exists even on freestanding compilers. */
128284 #ifdef __STDC__
128285 # include <limits.h>
128286 #else
128287 # include <assert.h>
128288 #endif
128290 #undef $ac_func
128292 /* Override any gcc2 internal prototype to avoid an error. */
128293 #ifdef __cplusplus
128294 extern "C"
128296 #endif
128297 /* We use char because int might match the return type of a gcc2
128298 builtin and then its argument prototype would still apply. */
128299 char $ac_func ();
128300 /* The GNU C library defines this for functions which it implements
128301 to always fail with ENOSYS. Some functions are actually named
128302 something starting with __ and the normal name is an alias. */
128303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
128304 choke me
128305 #else
128306 char (*f) () = $ac_func;
128307 #endif
128308 #ifdef __cplusplus
128310 #endif
128313 main ()
128315 return f != $ac_func;
128317 return 0;
128319 _ACEOF
128320 rm -f conftest.$ac_objext conftest$ac_exeext
128321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
128322 (eval $ac_link) 2>conftest.er1
128323 ac_status=$?
128324 grep -v '^ *+' conftest.er1 >conftest.err
128325 rm -f conftest.er1
128326 cat conftest.err >&5
128327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128328 (exit $ac_status); } &&
128329 { ac_try='test -z "$ac_c_werror_flag"
128330 || test ! -s conftest.err'
128331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128332 (eval $ac_try) 2>&5
128333 ac_status=$?
128334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128335 (exit $ac_status); }; } &&
128336 { ac_try='test -s conftest$ac_exeext'
128337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128338 (eval $ac_try) 2>&5
128339 ac_status=$?
128340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128341 (exit $ac_status); }; }; then
128342 eval "$as_ac_var=yes"
128344 echo "$as_me: failed program was:" >&5
128345 sed 's/^/| /' conftest.$ac_ext >&5
128347 eval "$as_ac_var=no"
128349 rm -f conftest.err conftest.$ac_objext \
128350 conftest$ac_exeext conftest.$ac_ext
128352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
128353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
128354 if test `eval echo '${'$as_ac_var'}'` = yes; then
128355 cat >>confdefs.h <<_ACEOF
128356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
128357 _ACEOF
128364 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
128365 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
128366 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
128367 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
128368 echo $ECHO_N "(cached) $ECHO_C" >&6
128373 ac_ext=cc
128374 ac_cpp='$CXXCPP $CPPFLAGS'
128375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
128379 cat >conftest.$ac_ext <<_ACEOF
128380 /* confdefs.h. */
128381 _ACEOF
128382 cat confdefs.h >>conftest.$ac_ext
128383 cat >>conftest.$ac_ext <<_ACEOF
128384 /* end confdefs.h. */
128385 #include <math.h>
128386 #ifdef HAVE_IEEEFP_H
128387 #include <ieeefp.h>
128388 #endif
128391 main ()
128393 _sqrtl(0);
128395 return 0;
128397 _ACEOF
128398 rm -f conftest.$ac_objext
128399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
128400 (eval $ac_compile) 2>conftest.er1
128401 ac_status=$?
128402 grep -v '^ *+' conftest.er1 >conftest.err
128403 rm -f conftest.er1
128404 cat conftest.err >&5
128405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128406 (exit $ac_status); } &&
128407 { ac_try='test -z "$ac_cxx_werror_flag"
128408 || test ! -s conftest.err'
128409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128410 (eval $ac_try) 2>&5
128411 ac_status=$?
128412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128413 (exit $ac_status); }; } &&
128414 { ac_try='test -s conftest.$ac_objext'
128415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128416 (eval $ac_try) 2>&5
128417 ac_status=$?
128418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128419 (exit $ac_status); }; }; then
128420 glibcxx_cv_func__sqrtl_use=yes
128422 echo "$as_me: failed program was:" >&5
128423 sed 's/^/| /' conftest.$ac_ext >&5
128425 glibcxx_cv_func__sqrtl_use=no
128427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
128428 ac_ext=c
128429 ac_cpp='$CPP $CPPFLAGS'
128430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
128438 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
128439 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
128441 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
128443 for ac_func in _sqrtl
128445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
128446 echo "$as_me:$LINENO: checking for $ac_func" >&5
128447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
128448 if eval "test \"\${$as_ac_var+set}\" = set"; then
128449 echo $ECHO_N "(cached) $ECHO_C" >&6
128451 if test x$gcc_no_link = xyes; then
128452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
128453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
128454 { (exit 1); exit 1; }; }
128456 cat >conftest.$ac_ext <<_ACEOF
128457 /* confdefs.h. */
128458 _ACEOF
128459 cat confdefs.h >>conftest.$ac_ext
128460 cat >>conftest.$ac_ext <<_ACEOF
128461 /* end confdefs.h. */
128462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
128463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
128464 #define $ac_func innocuous_$ac_func
128466 /* System header to define __stub macros and hopefully few prototypes,
128467 which can conflict with char $ac_func (); below.
128468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
128469 <limits.h> exists even on freestanding compilers. */
128471 #ifdef __STDC__
128472 # include <limits.h>
128473 #else
128474 # include <assert.h>
128475 #endif
128477 #undef $ac_func
128479 /* Override any gcc2 internal prototype to avoid an error. */
128480 #ifdef __cplusplus
128481 extern "C"
128483 #endif
128484 /* We use char because int might match the return type of a gcc2
128485 builtin and then its argument prototype would still apply. */
128486 char $ac_func ();
128487 /* The GNU C library defines this for functions which it implements
128488 to always fail with ENOSYS. Some functions are actually named
128489 something starting with __ and the normal name is an alias. */
128490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
128491 choke me
128492 #else
128493 char (*f) () = $ac_func;
128494 #endif
128495 #ifdef __cplusplus
128497 #endif
128500 main ()
128502 return f != $ac_func;
128504 return 0;
128506 _ACEOF
128507 rm -f conftest.$ac_objext conftest$ac_exeext
128508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
128509 (eval $ac_link) 2>conftest.er1
128510 ac_status=$?
128511 grep -v '^ *+' conftest.er1 >conftest.err
128512 rm -f conftest.er1
128513 cat conftest.err >&5
128514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128515 (exit $ac_status); } &&
128516 { ac_try='test -z "$ac_c_werror_flag"
128517 || test ! -s conftest.err'
128518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128519 (eval $ac_try) 2>&5
128520 ac_status=$?
128521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128522 (exit $ac_status); }; } &&
128523 { ac_try='test -s conftest$ac_exeext'
128524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128525 (eval $ac_try) 2>&5
128526 ac_status=$?
128527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128528 (exit $ac_status); }; }; then
128529 eval "$as_ac_var=yes"
128531 echo "$as_me: failed program was:" >&5
128532 sed 's/^/| /' conftest.$ac_ext >&5
128534 eval "$as_ac_var=no"
128536 rm -f conftest.err conftest.$ac_objext \
128537 conftest$ac_exeext conftest.$ac_ext
128539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
128540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
128541 if test `eval echo '${'$as_ac_var'}'` = yes; then
128542 cat >>confdefs.h <<_ACEOF
128543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
128544 _ACEOF
128557 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
128558 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
128559 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
128560 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
128561 echo $ECHO_N "(cached) $ECHO_C" >&6
128566 ac_ext=cc
128567 ac_cpp='$CXXCPP $CPPFLAGS'
128568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
128572 cat >conftest.$ac_ext <<_ACEOF
128573 /* confdefs.h. */
128574 _ACEOF
128575 cat confdefs.h >>conftest.$ac_ext
128576 cat >>conftest.$ac_ext <<_ACEOF
128577 /* end confdefs.h. */
128578 #include <math.h>
128580 main ()
128582 sincosl(0, 0, 0);
128584 return 0;
128586 _ACEOF
128587 rm -f conftest.$ac_objext
128588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
128589 (eval $ac_compile) 2>conftest.er1
128590 ac_status=$?
128591 grep -v '^ *+' conftest.er1 >conftest.err
128592 rm -f conftest.er1
128593 cat conftest.err >&5
128594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128595 (exit $ac_status); } &&
128596 { ac_try='test -z "$ac_cxx_werror_flag"
128597 || test ! -s conftest.err'
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); }; } &&
128603 { ac_try='test -s conftest.$ac_objext'
128604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128605 (eval $ac_try) 2>&5
128606 ac_status=$?
128607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128608 (exit $ac_status); }; }; then
128609 glibcxx_cv_func_sincosl_use=yes
128611 echo "$as_me: failed program was:" >&5
128612 sed 's/^/| /' conftest.$ac_ext >&5
128614 glibcxx_cv_func_sincosl_use=no
128616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
128617 ac_ext=c
128618 ac_cpp='$CPP $CPPFLAGS'
128619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
128627 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
128628 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
128630 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
128632 for ac_func in sincosl
128634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
128635 echo "$as_me:$LINENO: checking for $ac_func" >&5
128636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
128637 if eval "test \"\${$as_ac_var+set}\" = set"; then
128638 echo $ECHO_N "(cached) $ECHO_C" >&6
128640 if test x$gcc_no_link = xyes; then
128641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
128642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
128643 { (exit 1); exit 1; }; }
128645 cat >conftest.$ac_ext <<_ACEOF
128646 /* confdefs.h. */
128647 _ACEOF
128648 cat confdefs.h >>conftest.$ac_ext
128649 cat >>conftest.$ac_ext <<_ACEOF
128650 /* end confdefs.h. */
128651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
128652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
128653 #define $ac_func innocuous_$ac_func
128655 /* System header to define __stub macros and hopefully few prototypes,
128656 which can conflict with char $ac_func (); below.
128657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
128658 <limits.h> exists even on freestanding compilers. */
128660 #ifdef __STDC__
128661 # include <limits.h>
128662 #else
128663 # include <assert.h>
128664 #endif
128666 #undef $ac_func
128668 /* Override any gcc2 internal prototype to avoid an error. */
128669 #ifdef __cplusplus
128670 extern "C"
128672 #endif
128673 /* We use char because int might match the return type of a gcc2
128674 builtin and then its argument prototype would still apply. */
128675 char $ac_func ();
128676 /* The GNU C library defines this for functions which it implements
128677 to always fail with ENOSYS. Some functions are actually named
128678 something starting with __ and the normal name is an alias. */
128679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
128680 choke me
128681 #else
128682 char (*f) () = $ac_func;
128683 #endif
128684 #ifdef __cplusplus
128686 #endif
128689 main ()
128691 return f != $ac_func;
128693 return 0;
128695 _ACEOF
128696 rm -f conftest.$ac_objext conftest$ac_exeext
128697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
128698 (eval $ac_link) 2>conftest.er1
128699 ac_status=$?
128700 grep -v '^ *+' conftest.er1 >conftest.err
128701 rm -f conftest.er1
128702 cat conftest.err >&5
128703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128704 (exit $ac_status); } &&
128705 { ac_try='test -z "$ac_c_werror_flag"
128706 || test ! -s conftest.err'
128707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128708 (eval $ac_try) 2>&5
128709 ac_status=$?
128710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128711 (exit $ac_status); }; } &&
128712 { ac_try='test -s conftest$ac_exeext'
128713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128714 (eval $ac_try) 2>&5
128715 ac_status=$?
128716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128717 (exit $ac_status); }; }; then
128718 eval "$as_ac_var=yes"
128720 echo "$as_me: failed program was:" >&5
128721 sed 's/^/| /' conftest.$ac_ext >&5
128723 eval "$as_ac_var=no"
128725 rm -f conftest.err conftest.$ac_objext \
128726 conftest$ac_exeext conftest.$ac_ext
128728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
128729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
128730 if test `eval echo '${'$as_ac_var'}'` = yes; then
128731 cat >>confdefs.h <<_ACEOF
128732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
128733 _ACEOF
128740 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
128741 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
128742 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
128743 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
128744 echo $ECHO_N "(cached) $ECHO_C" >&6
128749 ac_ext=cc
128750 ac_cpp='$CXXCPP $CPPFLAGS'
128751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
128755 cat >conftest.$ac_ext <<_ACEOF
128756 /* confdefs.h. */
128757 _ACEOF
128758 cat confdefs.h >>conftest.$ac_ext
128759 cat >>conftest.$ac_ext <<_ACEOF
128760 /* end confdefs.h. */
128761 #include <math.h>
128763 main ()
128765 _sincosl(0, 0, 0);
128767 return 0;
128769 _ACEOF
128770 rm -f conftest.$ac_objext
128771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
128772 (eval $ac_compile) 2>conftest.er1
128773 ac_status=$?
128774 grep -v '^ *+' conftest.er1 >conftest.err
128775 rm -f conftest.er1
128776 cat conftest.err >&5
128777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128778 (exit $ac_status); } &&
128779 { ac_try='test -z "$ac_cxx_werror_flag"
128780 || test ! -s conftest.err'
128781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128782 (eval $ac_try) 2>&5
128783 ac_status=$?
128784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128785 (exit $ac_status); }; } &&
128786 { ac_try='test -s conftest.$ac_objext'
128787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128788 (eval $ac_try) 2>&5
128789 ac_status=$?
128790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128791 (exit $ac_status); }; }; then
128792 glibcxx_cv_func__sincosl_use=yes
128794 echo "$as_me: failed program was:" >&5
128795 sed 's/^/| /' conftest.$ac_ext >&5
128797 glibcxx_cv_func__sincosl_use=no
128799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
128800 ac_ext=c
128801 ac_cpp='$CPP $CPPFLAGS'
128802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
128810 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
128811 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
128813 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
128815 for ac_func in _sincosl
128817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
128818 echo "$as_me:$LINENO: checking for $ac_func" >&5
128819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
128820 if eval "test \"\${$as_ac_var+set}\" = set"; then
128821 echo $ECHO_N "(cached) $ECHO_C" >&6
128823 if test x$gcc_no_link = xyes; then
128824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
128825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
128826 { (exit 1); exit 1; }; }
128828 cat >conftest.$ac_ext <<_ACEOF
128829 /* confdefs.h. */
128830 _ACEOF
128831 cat confdefs.h >>conftest.$ac_ext
128832 cat >>conftest.$ac_ext <<_ACEOF
128833 /* end confdefs.h. */
128834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
128835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
128836 #define $ac_func innocuous_$ac_func
128838 /* System header to define __stub macros and hopefully few prototypes,
128839 which can conflict with char $ac_func (); below.
128840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
128841 <limits.h> exists even on freestanding compilers. */
128843 #ifdef __STDC__
128844 # include <limits.h>
128845 #else
128846 # include <assert.h>
128847 #endif
128849 #undef $ac_func
128851 /* Override any gcc2 internal prototype to avoid an error. */
128852 #ifdef __cplusplus
128853 extern "C"
128855 #endif
128856 /* We use char because int might match the return type of a gcc2
128857 builtin and then its argument prototype would still apply. */
128858 char $ac_func ();
128859 /* The GNU C library defines this for functions which it implements
128860 to always fail with ENOSYS. Some functions are actually named
128861 something starting with __ and the normal name is an alias. */
128862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
128863 choke me
128864 #else
128865 char (*f) () = $ac_func;
128866 #endif
128867 #ifdef __cplusplus
128869 #endif
128872 main ()
128874 return f != $ac_func;
128876 return 0;
128878 _ACEOF
128879 rm -f conftest.$ac_objext conftest$ac_exeext
128880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
128881 (eval $ac_link) 2>conftest.er1
128882 ac_status=$?
128883 grep -v '^ *+' conftest.er1 >conftest.err
128884 rm -f conftest.er1
128885 cat conftest.err >&5
128886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128887 (exit $ac_status); } &&
128888 { ac_try='test -z "$ac_c_werror_flag"
128889 || test ! -s conftest.err'
128890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128891 (eval $ac_try) 2>&5
128892 ac_status=$?
128893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128894 (exit $ac_status); }; } &&
128895 { ac_try='test -s conftest$ac_exeext'
128896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128897 (eval $ac_try) 2>&5
128898 ac_status=$?
128899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128900 (exit $ac_status); }; }; then
128901 eval "$as_ac_var=yes"
128903 echo "$as_me: failed program was:" >&5
128904 sed 's/^/| /' conftest.$ac_ext >&5
128906 eval "$as_ac_var=no"
128908 rm -f conftest.err conftest.$ac_objext \
128909 conftest$ac_exeext conftest.$ac_ext
128911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
128912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
128913 if test `eval echo '${'$as_ac_var'}'` = yes; then
128914 cat >>confdefs.h <<_ACEOF
128915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
128916 _ACEOF
128929 echo "$as_me:$LINENO: checking for finitel declaration" >&5
128930 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
128931 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
128932 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
128933 echo $ECHO_N "(cached) $ECHO_C" >&6
128938 ac_ext=cc
128939 ac_cpp='$CXXCPP $CPPFLAGS'
128940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
128944 cat >conftest.$ac_ext <<_ACEOF
128945 /* confdefs.h. */
128946 _ACEOF
128947 cat confdefs.h >>conftest.$ac_ext
128948 cat >>conftest.$ac_ext <<_ACEOF
128949 /* end confdefs.h. */
128950 #include <math.h>
128951 #ifdef HAVE_IEEEFP_H
128952 #include <ieeefp.h>
128953 #endif
128956 main ()
128958 finitel(0);
128960 return 0;
128962 _ACEOF
128963 rm -f conftest.$ac_objext
128964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
128965 (eval $ac_compile) 2>conftest.er1
128966 ac_status=$?
128967 grep -v '^ *+' conftest.er1 >conftest.err
128968 rm -f conftest.er1
128969 cat conftest.err >&5
128970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128971 (exit $ac_status); } &&
128972 { ac_try='test -z "$ac_cxx_werror_flag"
128973 || test ! -s conftest.err'
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); }; } &&
128979 { ac_try='test -s conftest.$ac_objext'
128980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128981 (eval $ac_try) 2>&5
128982 ac_status=$?
128983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128984 (exit $ac_status); }; }; then
128985 glibcxx_cv_func_finitel_use=yes
128987 echo "$as_me: failed program was:" >&5
128988 sed 's/^/| /' conftest.$ac_ext >&5
128990 glibcxx_cv_func_finitel_use=no
128992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
128993 ac_ext=c
128994 ac_cpp='$CPP $CPPFLAGS'
128995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
129003 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
129004 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
129006 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
129008 for ac_func in finitel
129010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
129011 echo "$as_me:$LINENO: checking for $ac_func" >&5
129012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
129013 if eval "test \"\${$as_ac_var+set}\" = set"; then
129014 echo $ECHO_N "(cached) $ECHO_C" >&6
129016 if test x$gcc_no_link = xyes; then
129017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
129018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
129019 { (exit 1); exit 1; }; }
129021 cat >conftest.$ac_ext <<_ACEOF
129022 /* confdefs.h. */
129023 _ACEOF
129024 cat confdefs.h >>conftest.$ac_ext
129025 cat >>conftest.$ac_ext <<_ACEOF
129026 /* end confdefs.h. */
129027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
129028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
129029 #define $ac_func innocuous_$ac_func
129031 /* System header to define __stub macros and hopefully few prototypes,
129032 which can conflict with char $ac_func (); below.
129033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
129034 <limits.h> exists even on freestanding compilers. */
129036 #ifdef __STDC__
129037 # include <limits.h>
129038 #else
129039 # include <assert.h>
129040 #endif
129042 #undef $ac_func
129044 /* Override any gcc2 internal prototype to avoid an error. */
129045 #ifdef __cplusplus
129046 extern "C"
129048 #endif
129049 /* We use char because int might match the return type of a gcc2
129050 builtin and then its argument prototype would still apply. */
129051 char $ac_func ();
129052 /* The GNU C library defines this for functions which it implements
129053 to always fail with ENOSYS. Some functions are actually named
129054 something starting with __ and the normal name is an alias. */
129055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
129056 choke me
129057 #else
129058 char (*f) () = $ac_func;
129059 #endif
129060 #ifdef __cplusplus
129062 #endif
129065 main ()
129067 return f != $ac_func;
129069 return 0;
129071 _ACEOF
129072 rm -f conftest.$ac_objext conftest$ac_exeext
129073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
129074 (eval $ac_link) 2>conftest.er1
129075 ac_status=$?
129076 grep -v '^ *+' conftest.er1 >conftest.err
129077 rm -f conftest.er1
129078 cat conftest.err >&5
129079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129080 (exit $ac_status); } &&
129081 { ac_try='test -z "$ac_c_werror_flag"
129082 || test ! -s conftest.err'
129083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129084 (eval $ac_try) 2>&5
129085 ac_status=$?
129086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129087 (exit $ac_status); }; } &&
129088 { ac_try='test -s conftest$ac_exeext'
129089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129090 (eval $ac_try) 2>&5
129091 ac_status=$?
129092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129093 (exit $ac_status); }; }; then
129094 eval "$as_ac_var=yes"
129096 echo "$as_me: failed program was:" >&5
129097 sed 's/^/| /' conftest.$ac_ext >&5
129099 eval "$as_ac_var=no"
129101 rm -f conftest.err conftest.$ac_objext \
129102 conftest$ac_exeext conftest.$ac_ext
129104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
129105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
129106 if test `eval echo '${'$as_ac_var'}'` = yes; then
129107 cat >>confdefs.h <<_ACEOF
129108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
129109 _ACEOF
129116 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
129117 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
129118 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
129119 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
129120 echo $ECHO_N "(cached) $ECHO_C" >&6
129125 ac_ext=cc
129126 ac_cpp='$CXXCPP $CPPFLAGS'
129127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
129128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
129129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
129131 cat >conftest.$ac_ext <<_ACEOF
129132 /* confdefs.h. */
129133 _ACEOF
129134 cat confdefs.h >>conftest.$ac_ext
129135 cat >>conftest.$ac_ext <<_ACEOF
129136 /* end confdefs.h. */
129137 #include <math.h>
129138 #ifdef HAVE_IEEEFP_H
129139 #include <ieeefp.h>
129140 #endif
129143 main ()
129145 _finitel(0);
129147 return 0;
129149 _ACEOF
129150 rm -f conftest.$ac_objext
129151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
129152 (eval $ac_compile) 2>conftest.er1
129153 ac_status=$?
129154 grep -v '^ *+' conftest.er1 >conftest.err
129155 rm -f conftest.er1
129156 cat conftest.err >&5
129157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129158 (exit $ac_status); } &&
129159 { ac_try='test -z "$ac_cxx_werror_flag"
129160 || test ! -s conftest.err'
129161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129162 (eval $ac_try) 2>&5
129163 ac_status=$?
129164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129165 (exit $ac_status); }; } &&
129166 { ac_try='test -s conftest.$ac_objext'
129167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129168 (eval $ac_try) 2>&5
129169 ac_status=$?
129170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129171 (exit $ac_status); }; }; then
129172 glibcxx_cv_func__finitel_use=yes
129174 echo "$as_me: failed program was:" >&5
129175 sed 's/^/| /' conftest.$ac_ext >&5
129177 glibcxx_cv_func__finitel_use=no
129179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
129180 ac_ext=c
129181 ac_cpp='$CPP $CPPFLAGS'
129182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
129183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
129184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
129190 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
129191 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
129193 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
129195 for ac_func in _finitel
129197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
129198 echo "$as_me:$LINENO: checking for $ac_func" >&5
129199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
129200 if eval "test \"\${$as_ac_var+set}\" = set"; then
129201 echo $ECHO_N "(cached) $ECHO_C" >&6
129203 if test x$gcc_no_link = xyes; then
129204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
129205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
129206 { (exit 1); exit 1; }; }
129208 cat >conftest.$ac_ext <<_ACEOF
129209 /* confdefs.h. */
129210 _ACEOF
129211 cat confdefs.h >>conftest.$ac_ext
129212 cat >>conftest.$ac_ext <<_ACEOF
129213 /* end confdefs.h. */
129214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
129215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
129216 #define $ac_func innocuous_$ac_func
129218 /* System header to define __stub macros and hopefully few prototypes,
129219 which can conflict with char $ac_func (); below.
129220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
129221 <limits.h> exists even on freestanding compilers. */
129223 #ifdef __STDC__
129224 # include <limits.h>
129225 #else
129226 # include <assert.h>
129227 #endif
129229 #undef $ac_func
129231 /* Override any gcc2 internal prototype to avoid an error. */
129232 #ifdef __cplusplus
129233 extern "C"
129235 #endif
129236 /* We use char because int might match the return type of a gcc2
129237 builtin and then its argument prototype would still apply. */
129238 char $ac_func ();
129239 /* The GNU C library defines this for functions which it implements
129240 to always fail with ENOSYS. Some functions are actually named
129241 something starting with __ and the normal name is an alias. */
129242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
129243 choke me
129244 #else
129245 char (*f) () = $ac_func;
129246 #endif
129247 #ifdef __cplusplus
129249 #endif
129252 main ()
129254 return f != $ac_func;
129256 return 0;
129258 _ACEOF
129259 rm -f conftest.$ac_objext conftest$ac_exeext
129260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
129261 (eval $ac_link) 2>conftest.er1
129262 ac_status=$?
129263 grep -v '^ *+' conftest.er1 >conftest.err
129264 rm -f conftest.er1
129265 cat conftest.err >&5
129266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129267 (exit $ac_status); } &&
129268 { ac_try='test -z "$ac_c_werror_flag"
129269 || test ! -s conftest.err'
129270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129271 (eval $ac_try) 2>&5
129272 ac_status=$?
129273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129274 (exit $ac_status); }; } &&
129275 { ac_try='test -s conftest$ac_exeext'
129276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129277 (eval $ac_try) 2>&5
129278 ac_status=$?
129279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129280 (exit $ac_status); }; }; then
129281 eval "$as_ac_var=yes"
129283 echo "$as_me: failed program was:" >&5
129284 sed 's/^/| /' conftest.$ac_ext >&5
129286 eval "$as_ac_var=no"
129288 rm -f conftest.err conftest.$ac_objext \
129289 conftest$ac_exeext conftest.$ac_ext
129291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
129292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
129293 if test `eval echo '${'$as_ac_var'}'` = yes; then
129294 cat >>confdefs.h <<_ACEOF
129295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
129296 _ACEOF
129308 LIBS="$ac_save_LIBS"
129309 CXXFLAGS="$ac_save_CXXFLAGS"
129312 ac_test_CXXFLAGS="${CXXFLAGS+set}"
129313 ac_save_CXXFLAGS="$CXXFLAGS"
129314 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
129317 echo "$as_me:$LINENO: checking for strtold declaration" >&5
129318 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
129319 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
129320 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
129321 echo $ECHO_N "(cached) $ECHO_C" >&6
129326 ac_ext=cc
129327 ac_cpp='$CXXCPP $CPPFLAGS'
129328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
129329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
129330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
129332 cat >conftest.$ac_ext <<_ACEOF
129333 /* confdefs.h. */
129334 _ACEOF
129335 cat confdefs.h >>conftest.$ac_ext
129336 cat >>conftest.$ac_ext <<_ACEOF
129337 /* end confdefs.h. */
129338 #include <stdlib.h>
129340 main ()
129342 strtold(0, 0);
129344 return 0;
129346 _ACEOF
129347 rm -f conftest.$ac_objext
129348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
129349 (eval $ac_compile) 2>conftest.er1
129350 ac_status=$?
129351 grep -v '^ *+' conftest.er1 >conftest.err
129352 rm -f conftest.er1
129353 cat conftest.err >&5
129354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129355 (exit $ac_status); } &&
129356 { ac_try='test -z "$ac_cxx_werror_flag"
129357 || test ! -s conftest.err'
129358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129359 (eval $ac_try) 2>&5
129360 ac_status=$?
129361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129362 (exit $ac_status); }; } &&
129363 { ac_try='test -s conftest.$ac_objext'
129364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129365 (eval $ac_try) 2>&5
129366 ac_status=$?
129367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129368 (exit $ac_status); }; }; then
129369 glibcxx_cv_func_strtold_use=yes
129371 echo "$as_me: failed program was:" >&5
129372 sed 's/^/| /' conftest.$ac_ext >&5
129374 glibcxx_cv_func_strtold_use=no
129376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
129377 ac_ext=c
129378 ac_cpp='$CPP $CPPFLAGS'
129379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
129380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
129381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
129387 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
129388 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
129389 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
129391 for ac_func in strtold
129393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
129394 echo "$as_me:$LINENO: checking for $ac_func" >&5
129395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
129396 if eval "test \"\${$as_ac_var+set}\" = set"; then
129397 echo $ECHO_N "(cached) $ECHO_C" >&6
129399 if test x$gcc_no_link = xyes; then
129400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
129401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
129402 { (exit 1); exit 1; }; }
129404 cat >conftest.$ac_ext <<_ACEOF
129405 /* confdefs.h. */
129406 _ACEOF
129407 cat confdefs.h >>conftest.$ac_ext
129408 cat >>conftest.$ac_ext <<_ACEOF
129409 /* end confdefs.h. */
129410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
129411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
129412 #define $ac_func innocuous_$ac_func
129414 /* System header to define __stub macros and hopefully few prototypes,
129415 which can conflict with char $ac_func (); below.
129416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
129417 <limits.h> exists even on freestanding compilers. */
129419 #ifdef __STDC__
129420 # include <limits.h>
129421 #else
129422 # include <assert.h>
129423 #endif
129425 #undef $ac_func
129427 /* Override any gcc2 internal prototype to avoid an error. */
129428 #ifdef __cplusplus
129429 extern "C"
129431 #endif
129432 /* We use char because int might match the return type of a gcc2
129433 builtin and then its argument prototype would still apply. */
129434 char $ac_func ();
129435 /* The GNU C library defines this for functions which it implements
129436 to always fail with ENOSYS. Some functions are actually named
129437 something starting with __ and the normal name is an alias. */
129438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
129439 choke me
129440 #else
129441 char (*f) () = $ac_func;
129442 #endif
129443 #ifdef __cplusplus
129445 #endif
129448 main ()
129450 return f != $ac_func;
129452 return 0;
129454 _ACEOF
129455 rm -f conftest.$ac_objext conftest$ac_exeext
129456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
129457 (eval $ac_link) 2>conftest.er1
129458 ac_status=$?
129459 grep -v '^ *+' conftest.er1 >conftest.err
129460 rm -f conftest.er1
129461 cat conftest.err >&5
129462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129463 (exit $ac_status); } &&
129464 { ac_try='test -z "$ac_c_werror_flag"
129465 || test ! -s conftest.err'
129466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129467 (eval $ac_try) 2>&5
129468 ac_status=$?
129469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129470 (exit $ac_status); }; } &&
129471 { ac_try='test -s conftest$ac_exeext'
129472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129473 (eval $ac_try) 2>&5
129474 ac_status=$?
129475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129476 (exit $ac_status); }; }; then
129477 eval "$as_ac_var=yes"
129479 echo "$as_me: failed program was:" >&5
129480 sed 's/^/| /' conftest.$ac_ext >&5
129482 eval "$as_ac_var=no"
129484 rm -f conftest.err conftest.$ac_objext \
129485 conftest$ac_exeext conftest.$ac_ext
129487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
129488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
129489 if test `eval echo '${'$as_ac_var'}'` = yes; then
129490 cat >>confdefs.h <<_ACEOF
129491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
129492 _ACEOF
129503 echo "$as_me:$LINENO: checking for strtof declaration" >&5
129504 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
129505 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
129506 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
129507 echo $ECHO_N "(cached) $ECHO_C" >&6
129512 ac_ext=cc
129513 ac_cpp='$CXXCPP $CPPFLAGS'
129514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
129515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
129516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
129518 cat >conftest.$ac_ext <<_ACEOF
129519 /* confdefs.h. */
129520 _ACEOF
129521 cat confdefs.h >>conftest.$ac_ext
129522 cat >>conftest.$ac_ext <<_ACEOF
129523 /* end confdefs.h. */
129524 #include <stdlib.h>
129526 main ()
129528 strtof(0, 0);
129530 return 0;
129532 _ACEOF
129533 rm -f conftest.$ac_objext
129534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
129535 (eval $ac_compile) 2>conftest.er1
129536 ac_status=$?
129537 grep -v '^ *+' conftest.er1 >conftest.err
129538 rm -f conftest.er1
129539 cat conftest.err >&5
129540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129541 (exit $ac_status); } &&
129542 { ac_try='test -z "$ac_cxx_werror_flag"
129543 || test ! -s conftest.err'
129544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129545 (eval $ac_try) 2>&5
129546 ac_status=$?
129547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129548 (exit $ac_status); }; } &&
129549 { ac_try='test -s conftest.$ac_objext'
129550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129551 (eval $ac_try) 2>&5
129552 ac_status=$?
129553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129554 (exit $ac_status); }; }; then
129555 glibcxx_cv_func_strtof_use=yes
129557 echo "$as_me: failed program was:" >&5
129558 sed 's/^/| /' conftest.$ac_ext >&5
129560 glibcxx_cv_func_strtof_use=no
129562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
129563 ac_ext=c
129564 ac_cpp='$CPP $CPPFLAGS'
129565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
129566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
129567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
129573 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
129574 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
129575 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
129577 for ac_func in strtof
129579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
129580 echo "$as_me:$LINENO: checking for $ac_func" >&5
129581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
129582 if eval "test \"\${$as_ac_var+set}\" = set"; then
129583 echo $ECHO_N "(cached) $ECHO_C" >&6
129585 if test x$gcc_no_link = xyes; then
129586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
129587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
129588 { (exit 1); exit 1; }; }
129590 cat >conftest.$ac_ext <<_ACEOF
129591 /* confdefs.h. */
129592 _ACEOF
129593 cat confdefs.h >>conftest.$ac_ext
129594 cat >>conftest.$ac_ext <<_ACEOF
129595 /* end confdefs.h. */
129596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
129597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
129598 #define $ac_func innocuous_$ac_func
129600 /* System header to define __stub macros and hopefully few prototypes,
129601 which can conflict with char $ac_func (); below.
129602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
129603 <limits.h> exists even on freestanding compilers. */
129605 #ifdef __STDC__
129606 # include <limits.h>
129607 #else
129608 # include <assert.h>
129609 #endif
129611 #undef $ac_func
129613 /* Override any gcc2 internal prototype to avoid an error. */
129614 #ifdef __cplusplus
129615 extern "C"
129617 #endif
129618 /* We use char because int might match the return type of a gcc2
129619 builtin and then its argument prototype would still apply. */
129620 char $ac_func ();
129621 /* The GNU C library defines this for functions which it implements
129622 to always fail with ENOSYS. Some functions are actually named
129623 something starting with __ and the normal name is an alias. */
129624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
129625 choke me
129626 #else
129627 char (*f) () = $ac_func;
129628 #endif
129629 #ifdef __cplusplus
129631 #endif
129634 main ()
129636 return f != $ac_func;
129638 return 0;
129640 _ACEOF
129641 rm -f conftest.$ac_objext conftest$ac_exeext
129642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
129643 (eval $ac_link) 2>conftest.er1
129644 ac_status=$?
129645 grep -v '^ *+' conftest.er1 >conftest.err
129646 rm -f conftest.er1
129647 cat conftest.err >&5
129648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129649 (exit $ac_status); } &&
129650 { ac_try='test -z "$ac_c_werror_flag"
129651 || test ! -s conftest.err'
129652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129653 (eval $ac_try) 2>&5
129654 ac_status=$?
129655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129656 (exit $ac_status); }; } &&
129657 { ac_try='test -s conftest$ac_exeext'
129658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129659 (eval $ac_try) 2>&5
129660 ac_status=$?
129661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129662 (exit $ac_status); }; }; then
129663 eval "$as_ac_var=yes"
129665 echo "$as_me: failed program was:" >&5
129666 sed 's/^/| /' conftest.$ac_ext >&5
129668 eval "$as_ac_var=no"
129670 rm -f conftest.err conftest.$ac_objext \
129671 conftest$ac_exeext conftest.$ac_ext
129673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
129674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
129675 if test `eval echo '${'$as_ac_var'}'` = yes; then
129676 cat >>confdefs.h <<_ACEOF
129677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
129678 _ACEOF
129689 CXXFLAGS="$ac_save_CXXFLAGS"
129692 *-netbsd*)
129693 SECTION_FLAGS='-ffunction-sections -fdata-sections'
129696 # If we're not using GNU ld, then there's no point in even trying these
129697 # tests. Check for that first. We should have already tested for gld
129698 # by now (in libtool), but require it now just to be safe...
129699 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
129700 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
129704 # The name set by libtool depends on the version of libtool. Shame on us
129705 # for depending on an impl detail, but c'est la vie. Older versions used
129706 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
129707 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
129708 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
129709 # set (hence we're using an older libtool), then set it.
129710 if test x${with_gnu_ld+set} != xset; then
129711 if test x${ac_cv_prog_gnu_ld+set} != xset; then
129712 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
129713 with_gnu_ld=no
129715 with_gnu_ld=$ac_cv_prog_gnu_ld
129719 # Start by getting the version number. I think the libtool test already
129720 # does some of this, but throws away the result.
129721 glibcxx_ld_is_gold=no
129722 if test x"$with_gnu_ld" = x"yes"; then
129723 echo "$as_me:$LINENO: checking for ld version" >&5
129724 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
129726 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
129727 glibcxx_ld_is_gold=yes
129729 ldver=`$LD --version 2>/dev/null | head -1 | \
129730 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
129732 glibcxx_gnu_ld_version=`echo $ldver | \
129733 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
129734 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
129735 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
129738 # Set --gc-sections.
129739 glibcxx_have_gc_sections=no
129740 if test "$glibcxx_ld_is_gold" = "yes"; then
129741 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
129742 glibcxx_have_gc_sections=yes
129745 glibcxx_gcsections_min_ld=21602
129746 if test x"$with_gnu_ld" = x"yes" &&
129747 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
129748 glibcxx_have_gc_sections=yes
129751 if test "$glibcxx_have_gc_sections" = "yes"; then
129752 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
129753 # NB: This flag only works reliably after 2.16.1. Configure tests
129754 # for this are difficult, so hard wire a value that should work.
129756 ac_test_CFLAGS="${CFLAGS+set}"
129757 ac_save_CFLAGS="$CFLAGS"
129758 CFLAGS='-Wl,--gc-sections'
129760 # Check for -Wl,--gc-sections
129761 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
129762 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
129763 if test x$gcc_no_link = xyes; then
129764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
129765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
129766 { (exit 1); exit 1; }; }
129768 cat >conftest.$ac_ext <<_ACEOF
129769 /* confdefs.h. */
129770 _ACEOF
129771 cat confdefs.h >>conftest.$ac_ext
129772 cat >>conftest.$ac_ext <<_ACEOF
129773 /* end confdefs.h. */
129774 int one(void) { return 1; }
129775 int two(void) { return 2; }
129778 main ()
129780 two();
129782 return 0;
129784 _ACEOF
129785 rm -f conftest.$ac_objext conftest$ac_exeext
129786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
129787 (eval $ac_link) 2>conftest.er1
129788 ac_status=$?
129789 grep -v '^ *+' conftest.er1 >conftest.err
129790 rm -f conftest.er1
129791 cat conftest.err >&5
129792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129793 (exit $ac_status); } &&
129794 { ac_try='test -z "$ac_c_werror_flag"
129795 || test ! -s conftest.err'
129796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129797 (eval $ac_try) 2>&5
129798 ac_status=$?
129799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129800 (exit $ac_status); }; } &&
129801 { ac_try='test -s conftest$ac_exeext'
129802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129803 (eval $ac_try) 2>&5
129804 ac_status=$?
129805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129806 (exit $ac_status); }; }; then
129807 ac_gcsections=yes
129809 echo "$as_me: failed program was:" >&5
129810 sed 's/^/| /' conftest.$ac_ext >&5
129812 ac_gcsections=no
129814 rm -f conftest.err conftest.$ac_objext \
129815 conftest$ac_exeext conftest.$ac_ext
129816 if test "$ac_gcsections" = "yes"; then
129817 rm -f conftest.c
129818 touch conftest.c
129819 if $CC -c conftest.c; then
129820 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
129821 grep "Warning: gc-sections option ignored" > /dev/null; then
129822 ac_gcsections=no
129825 rm -f conftest.c conftest.o conftest
129827 if test "$ac_gcsections" = "yes"; then
129828 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
129830 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
129831 echo "${ECHO_T}$ac_gcsections" >&6
129833 if test "$ac_test_CFLAGS" = set; then
129834 CFLAGS="$ac_save_CFLAGS"
129836 # this is the suspicious part
129837 CFLAGS=''
129841 # Set -z,relro.
129842 # Note this is only for shared objects.
129843 ac_ld_relro=no
129844 if test x"$with_gnu_ld" = x"yes"; then
129845 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
129846 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
129847 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
129848 if test -n "$cxx_z_relo"; then
129849 OPT_LDFLAGS="-Wl,-z,relro"
129850 ac_ld_relro=yes
129852 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
129853 echo "${ECHO_T}$ac_ld_relro" >&6
129856 # Set linker optimization flags.
129857 if test x"$with_gnu_ld" = x"yes"; then
129858 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
129864 cat >>confdefs.h <<\_ACEOF
129865 #define HAVE_FINITEF 1
129866 _ACEOF
129868 cat >>confdefs.h <<\_ACEOF
129869 #define HAVE_FINITE 1
129870 _ACEOF
129872 cat >>confdefs.h <<\_ACEOF
129873 #define HAVE_FREXPF 1
129874 _ACEOF
129876 cat >>confdefs.h <<\_ACEOF
129877 #define HAVE_HYPOTF 1
129878 _ACEOF
129880 cat >>confdefs.h <<\_ACEOF
129881 #define HAVE_ISINF 1
129882 _ACEOF
129884 cat >>confdefs.h <<\_ACEOF
129885 #define HAVE_ISINFF 1
129886 _ACEOF
129888 cat >>confdefs.h <<\_ACEOF
129889 #define HAVE_ISNAN 1
129890 _ACEOF
129892 cat >>confdefs.h <<\_ACEOF
129893 #define HAVE_ISNANF 1
129894 _ACEOF
129896 if test x"long_double_math_on_this_cpu" = x"yes"; then
129897 cat >>confdefs.h <<\_ACEOF
129898 #define HAVE_FINITEL 1
129899 _ACEOF
129901 cat >>confdefs.h <<\_ACEOF
129902 #define HAVE_ISINFL 1
129903 _ACEOF
129905 cat >>confdefs.h <<\_ACEOF
129906 #define HAVE_ISNANL 1
129907 _ACEOF
129911 *-netware)
129912 SECTION_FLAGS='-ffunction-sections -fdata-sections'
129915 # If we're not using GNU ld, then there's no point in even trying these
129916 # tests. Check for that first. We should have already tested for gld
129917 # by now (in libtool), but require it now just to be safe...
129918 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
129919 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
129923 # The name set by libtool depends on the version of libtool. Shame on us
129924 # for depending on an impl detail, but c'est la vie. Older versions used
129925 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
129926 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
129927 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
129928 # set (hence we're using an older libtool), then set it.
129929 if test x${with_gnu_ld+set} != xset; then
129930 if test x${ac_cv_prog_gnu_ld+set} != xset; then
129931 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
129932 with_gnu_ld=no
129934 with_gnu_ld=$ac_cv_prog_gnu_ld
129938 # Start by getting the version number. I think the libtool test already
129939 # does some of this, but throws away the result.
129940 glibcxx_ld_is_gold=no
129941 if test x"$with_gnu_ld" = x"yes"; then
129942 echo "$as_me:$LINENO: checking for ld version" >&5
129943 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
129945 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
129946 glibcxx_ld_is_gold=yes
129948 ldver=`$LD --version 2>/dev/null | head -1 | \
129949 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
129951 glibcxx_gnu_ld_version=`echo $ldver | \
129952 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
129953 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
129954 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
129957 # Set --gc-sections.
129958 glibcxx_have_gc_sections=no
129959 if test "$glibcxx_ld_is_gold" = "yes"; then
129960 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
129961 glibcxx_have_gc_sections=yes
129964 glibcxx_gcsections_min_ld=21602
129965 if test x"$with_gnu_ld" = x"yes" &&
129966 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
129967 glibcxx_have_gc_sections=yes
129970 if test "$glibcxx_have_gc_sections" = "yes"; then
129971 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
129972 # NB: This flag only works reliably after 2.16.1. Configure tests
129973 # for this are difficult, so hard wire a value that should work.
129975 ac_test_CFLAGS="${CFLAGS+set}"
129976 ac_save_CFLAGS="$CFLAGS"
129977 CFLAGS='-Wl,--gc-sections'
129979 # Check for -Wl,--gc-sections
129980 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
129981 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
129982 if test x$gcc_no_link = xyes; then
129983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
129984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
129985 { (exit 1); exit 1; }; }
129987 cat >conftest.$ac_ext <<_ACEOF
129988 /* confdefs.h. */
129989 _ACEOF
129990 cat confdefs.h >>conftest.$ac_ext
129991 cat >>conftest.$ac_ext <<_ACEOF
129992 /* end confdefs.h. */
129993 int one(void) { return 1; }
129994 int two(void) { return 2; }
129997 main ()
129999 two();
130001 return 0;
130003 _ACEOF
130004 rm -f conftest.$ac_objext conftest$ac_exeext
130005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
130006 (eval $ac_link) 2>conftest.er1
130007 ac_status=$?
130008 grep -v '^ *+' conftest.er1 >conftest.err
130009 rm -f conftest.er1
130010 cat conftest.err >&5
130011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130012 (exit $ac_status); } &&
130013 { ac_try='test -z "$ac_c_werror_flag"
130014 || test ! -s conftest.err'
130015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
130016 (eval $ac_try) 2>&5
130017 ac_status=$?
130018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130019 (exit $ac_status); }; } &&
130020 { ac_try='test -s conftest$ac_exeext'
130021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
130022 (eval $ac_try) 2>&5
130023 ac_status=$?
130024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130025 (exit $ac_status); }; }; then
130026 ac_gcsections=yes
130028 echo "$as_me: failed program was:" >&5
130029 sed 's/^/| /' conftest.$ac_ext >&5
130031 ac_gcsections=no
130033 rm -f conftest.err conftest.$ac_objext \
130034 conftest$ac_exeext conftest.$ac_ext
130035 if test "$ac_gcsections" = "yes"; then
130036 rm -f conftest.c
130037 touch conftest.c
130038 if $CC -c conftest.c; then
130039 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
130040 grep "Warning: gc-sections option ignored" > /dev/null; then
130041 ac_gcsections=no
130044 rm -f conftest.c conftest.o conftest
130046 if test "$ac_gcsections" = "yes"; then
130047 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
130049 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
130050 echo "${ECHO_T}$ac_gcsections" >&6
130052 if test "$ac_test_CFLAGS" = set; then
130053 CFLAGS="$ac_save_CFLAGS"
130055 # this is the suspicious part
130056 CFLAGS=''
130060 # Set -z,relro.
130061 # Note this is only for shared objects.
130062 ac_ld_relro=no
130063 if test x"$with_gnu_ld" = x"yes"; then
130064 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
130065 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
130066 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
130067 if test -n "$cxx_z_relo"; then
130068 OPT_LDFLAGS="-Wl,-z,relro"
130069 ac_ld_relro=yes
130071 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
130072 echo "${ECHO_T}$ac_ld_relro" >&6
130075 # Set linker optimization flags.
130076 if test x"$with_gnu_ld" = x"yes"; then
130077 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
130083 cat >>confdefs.h <<\_ACEOF
130084 #define HAVE_HYPOT 1
130085 _ACEOF
130087 cat >>confdefs.h <<\_ACEOF
130088 #define HAVE_ISINF 1
130089 _ACEOF
130091 cat >>confdefs.h <<\_ACEOF
130092 #define HAVE_ISNAN 1
130093 _ACEOF
130096 *-qnx6.1* | *-qnx6.2*)
130097 SECTION_FLAGS='-ffunction-sections -fdata-sections'
130100 # If we're not using GNU ld, then there's no point in even trying these
130101 # tests. Check for that first. We should have already tested for gld
130102 # by now (in libtool), but require it now just to be safe...
130103 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
130104 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
130108 # The name set by libtool depends on the version of libtool. Shame on us
130109 # for depending on an impl detail, but c'est la vie. Older versions used
130110 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
130111 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
130112 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
130113 # set (hence we're using an older libtool), then set it.
130114 if test x${with_gnu_ld+set} != xset; then
130115 if test x${ac_cv_prog_gnu_ld+set} != xset; then
130116 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
130117 with_gnu_ld=no
130119 with_gnu_ld=$ac_cv_prog_gnu_ld
130123 # Start by getting the version number. I think the libtool test already
130124 # does some of this, but throws away the result.
130125 glibcxx_ld_is_gold=no
130126 if test x"$with_gnu_ld" = x"yes"; then
130127 echo "$as_me:$LINENO: checking for ld version" >&5
130128 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
130130 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
130131 glibcxx_ld_is_gold=yes
130133 ldver=`$LD --version 2>/dev/null | head -1 | \
130134 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
130136 glibcxx_gnu_ld_version=`echo $ldver | \
130137 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
130138 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
130139 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
130142 # Set --gc-sections.
130143 glibcxx_have_gc_sections=no
130144 if test "$glibcxx_ld_is_gold" = "yes"; then
130145 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
130146 glibcxx_have_gc_sections=yes
130149 glibcxx_gcsections_min_ld=21602
130150 if test x"$with_gnu_ld" = x"yes" &&
130151 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
130152 glibcxx_have_gc_sections=yes
130155 if test "$glibcxx_have_gc_sections" = "yes"; then
130156 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
130157 # NB: This flag only works reliably after 2.16.1. Configure tests
130158 # for this are difficult, so hard wire a value that should work.
130160 ac_test_CFLAGS="${CFLAGS+set}"
130161 ac_save_CFLAGS="$CFLAGS"
130162 CFLAGS='-Wl,--gc-sections'
130164 # Check for -Wl,--gc-sections
130165 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
130166 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
130167 if test x$gcc_no_link = xyes; then
130168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
130169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
130170 { (exit 1); exit 1; }; }
130172 cat >conftest.$ac_ext <<_ACEOF
130173 /* confdefs.h. */
130174 _ACEOF
130175 cat confdefs.h >>conftest.$ac_ext
130176 cat >>conftest.$ac_ext <<_ACEOF
130177 /* end confdefs.h. */
130178 int one(void) { return 1; }
130179 int two(void) { return 2; }
130182 main ()
130184 two();
130186 return 0;
130188 _ACEOF
130189 rm -f conftest.$ac_objext conftest$ac_exeext
130190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
130191 (eval $ac_link) 2>conftest.er1
130192 ac_status=$?
130193 grep -v '^ *+' conftest.er1 >conftest.err
130194 rm -f conftest.er1
130195 cat conftest.err >&5
130196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130197 (exit $ac_status); } &&
130198 { ac_try='test -z "$ac_c_werror_flag"
130199 || test ! -s conftest.err'
130200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
130201 (eval $ac_try) 2>&5
130202 ac_status=$?
130203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130204 (exit $ac_status); }; } &&
130205 { ac_try='test -s conftest$ac_exeext'
130206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
130207 (eval $ac_try) 2>&5
130208 ac_status=$?
130209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130210 (exit $ac_status); }; }; then
130211 ac_gcsections=yes
130213 echo "$as_me: failed program was:" >&5
130214 sed 's/^/| /' conftest.$ac_ext >&5
130216 ac_gcsections=no
130218 rm -f conftest.err conftest.$ac_objext \
130219 conftest$ac_exeext conftest.$ac_ext
130220 if test "$ac_gcsections" = "yes"; then
130221 rm -f conftest.c
130222 touch conftest.c
130223 if $CC -c conftest.c; then
130224 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
130225 grep "Warning: gc-sections option ignored" > /dev/null; then
130226 ac_gcsections=no
130229 rm -f conftest.c conftest.o conftest
130231 if test "$ac_gcsections" = "yes"; then
130232 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
130234 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
130235 echo "${ECHO_T}$ac_gcsections" >&6
130237 if test "$ac_test_CFLAGS" = set; then
130238 CFLAGS="$ac_save_CFLAGS"
130240 # this is the suspicious part
130241 CFLAGS=''
130245 # Set -z,relro.
130246 # Note this is only for shared objects.
130247 ac_ld_relro=no
130248 if test x"$with_gnu_ld" = x"yes"; then
130249 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
130250 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
130251 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
130252 if test -n "$cxx_z_relo"; then
130253 OPT_LDFLAGS="-Wl,-z,relro"
130254 ac_ld_relro=yes
130256 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
130257 echo "${ECHO_T}$ac_ld_relro" >&6
130260 # Set linker optimization flags.
130261 if test x"$with_gnu_ld" = x"yes"; then
130262 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
130268 cat >>confdefs.h <<\_ACEOF
130269 #define HAVE_COSF 1
130270 _ACEOF
130272 cat >>confdefs.h <<\_ACEOF
130273 #define HAVE_COSL 1
130274 _ACEOF
130276 cat >>confdefs.h <<\_ACEOF
130277 #define HAVE_COSHF 1
130278 _ACEOF
130280 cat >>confdefs.h <<\_ACEOF
130281 #define HAVE_COSHL 1
130282 _ACEOF
130284 cat >>confdefs.h <<\_ACEOF
130285 #define HAVE_LOGF 1
130286 _ACEOF
130288 cat >>confdefs.h <<\_ACEOF
130289 #define HAVE_LOGL 1
130290 _ACEOF
130292 cat >>confdefs.h <<\_ACEOF
130293 #define HAVE_LOG10F 1
130294 _ACEOF
130296 cat >>confdefs.h <<\_ACEOF
130297 #define HAVE_LOG10L 1
130298 _ACEOF
130300 cat >>confdefs.h <<\_ACEOF
130301 #define HAVE_SINF 1
130302 _ACEOF
130304 cat >>confdefs.h <<\_ACEOF
130305 #define HAVE_SINL 1
130306 _ACEOF
130308 cat >>confdefs.h <<\_ACEOF
130309 #define HAVE_SINHF 1
130310 _ACEOF
130312 cat >>confdefs.h <<\_ACEOF
130313 #define HAVE_SINHL 1
130314 _ACEOF
130317 *-solaris*)
130318 case "$target" in
130319 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
130321 # If we're not using GNU ld, then there's no point in even trying these
130322 # tests. Check for that first. We should have already tested for gld
130323 # by now (in libtool), but require it now just to be safe...
130324 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
130325 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
130329 # The name set by libtool depends on the version of libtool. Shame on us
130330 # for depending on an impl detail, but c'est la vie. Older versions used
130331 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
130332 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
130333 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
130334 # set (hence we're using an older libtool), then set it.
130335 if test x${with_gnu_ld+set} != xset; then
130336 if test x${ac_cv_prog_gnu_ld+set} != xset; then
130337 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
130338 with_gnu_ld=no
130340 with_gnu_ld=$ac_cv_prog_gnu_ld
130344 # Start by getting the version number. I think the libtool test already
130345 # does some of this, but throws away the result.
130346 glibcxx_ld_is_gold=no
130347 if test x"$with_gnu_ld" = x"yes"; then
130348 echo "$as_me:$LINENO: checking for ld version" >&5
130349 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
130351 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
130352 glibcxx_ld_is_gold=yes
130354 ldver=`$LD --version 2>/dev/null | head -1 | \
130355 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
130357 glibcxx_gnu_ld_version=`echo $ldver | \
130358 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
130359 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
130360 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
130363 # Set --gc-sections.
130364 glibcxx_have_gc_sections=no
130365 if test "$glibcxx_ld_is_gold" = "yes"; then
130366 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
130367 glibcxx_have_gc_sections=yes
130370 glibcxx_gcsections_min_ld=21602
130371 if test x"$with_gnu_ld" = x"yes" &&
130372 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
130373 glibcxx_have_gc_sections=yes
130376 if test "$glibcxx_have_gc_sections" = "yes"; then
130377 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
130378 # NB: This flag only works reliably after 2.16.1. Configure tests
130379 # for this are difficult, so hard wire a value that should work.
130381 ac_test_CFLAGS="${CFLAGS+set}"
130382 ac_save_CFLAGS="$CFLAGS"
130383 CFLAGS='-Wl,--gc-sections'
130385 # Check for -Wl,--gc-sections
130386 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
130387 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
130388 if test x$gcc_no_link = xyes; then
130389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
130390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
130391 { (exit 1); exit 1; }; }
130393 cat >conftest.$ac_ext <<_ACEOF
130394 /* confdefs.h. */
130395 _ACEOF
130396 cat confdefs.h >>conftest.$ac_ext
130397 cat >>conftest.$ac_ext <<_ACEOF
130398 /* end confdefs.h. */
130399 int one(void) { return 1; }
130400 int two(void) { return 2; }
130403 main ()
130405 two();
130407 return 0;
130409 _ACEOF
130410 rm -f conftest.$ac_objext conftest$ac_exeext
130411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
130412 (eval $ac_link) 2>conftest.er1
130413 ac_status=$?
130414 grep -v '^ *+' conftest.er1 >conftest.err
130415 rm -f conftest.er1
130416 cat conftest.err >&5
130417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130418 (exit $ac_status); } &&
130419 { ac_try='test -z "$ac_c_werror_flag"
130420 || test ! -s conftest.err'
130421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
130422 (eval $ac_try) 2>&5
130423 ac_status=$?
130424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130425 (exit $ac_status); }; } &&
130426 { ac_try='test -s conftest$ac_exeext'
130427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
130428 (eval $ac_try) 2>&5
130429 ac_status=$?
130430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130431 (exit $ac_status); }; }; then
130432 ac_gcsections=yes
130434 echo "$as_me: failed program was:" >&5
130435 sed 's/^/| /' conftest.$ac_ext >&5
130437 ac_gcsections=no
130439 rm -f conftest.err conftest.$ac_objext \
130440 conftest$ac_exeext conftest.$ac_ext
130441 if test "$ac_gcsections" = "yes"; then
130442 rm -f conftest.c
130443 touch conftest.c
130444 if $CC -c conftest.c; then
130445 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
130446 grep "Warning: gc-sections option ignored" > /dev/null; then
130447 ac_gcsections=no
130450 rm -f conftest.c conftest.o conftest
130452 if test "$ac_gcsections" = "yes"; then
130453 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
130455 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
130456 echo "${ECHO_T}$ac_gcsections" >&6
130458 if test "$ac_test_CFLAGS" = set; then
130459 CFLAGS="$ac_save_CFLAGS"
130461 # this is the suspicious part
130462 CFLAGS=''
130466 # Set -z,relro.
130467 # Note this is only for shared objects.
130468 ac_ld_relro=no
130469 if test x"$with_gnu_ld" = x"yes"; then
130470 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
130471 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
130472 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
130473 if test -n "$cxx_z_relo"; then
130474 OPT_LDFLAGS="-Wl,-z,relro"
130475 ac_ld_relro=yes
130477 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
130478 echo "${ECHO_T}$ac_ld_relro" >&6
130481 # Set linker optimization flags.
130482 if test x"$with_gnu_ld" = x"yes"; then
130483 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
130489 cat >>confdefs.h <<\_ACEOF
130490 #define HAVE_MBSTATE_T 1
130491 _ACEOF
130493 cat >>confdefs.h <<\_ACEOF
130494 #define HAVE_FINITE 1
130495 _ACEOF
130497 cat >>confdefs.h <<\_ACEOF
130498 #define HAVE_FPCLASS 1
130499 _ACEOF
130501 # All of the dependencies for wide character support are here, so
130502 # turn it on.
130503 cat >>confdefs.h <<\_ACEOF
130504 #define _GLIBCXX_USE_WCHAR_T 1
130505 _ACEOF
130509 case "$target" in
130510 *-*-solaris2.10)
130511 # These two C99 functions are present only in Solaris >= 10
130512 cat >>confdefs.h <<\_ACEOF
130513 #define HAVE_STRTOF 1
130514 _ACEOF
130516 cat >>confdefs.h <<\_ACEOF
130517 #define HAVE_STRTOLD 1
130518 _ACEOF
130522 cat >>confdefs.h <<\_ACEOF
130523 #define HAVE_ISNAN 1
130524 _ACEOF
130526 cat >>confdefs.h <<\_ACEOF
130527 #define HAVE_ISNANF 1
130528 _ACEOF
130530 cat >>confdefs.h <<\_ACEOF
130531 #define HAVE_MODFF 1
130532 _ACEOF
130534 cat >>confdefs.h <<\_ACEOF
130535 #define HAVE_HYPOT 1
130536 _ACEOF
130539 *-tpf)
130540 SECTION_FLAGS='-ffunction-sections -fdata-sections'
130543 # If we're not using GNU ld, then there's no point in even trying these
130544 # tests. Check for that first. We should have already tested for gld
130545 # by now (in libtool), but require it now just to be safe...
130546 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
130547 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
130551 # The name set by libtool depends on the version of libtool. Shame on us
130552 # for depending on an impl detail, but c'est la vie. Older versions used
130553 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
130554 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
130555 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
130556 # set (hence we're using an older libtool), then set it.
130557 if test x${with_gnu_ld+set} != xset; then
130558 if test x${ac_cv_prog_gnu_ld+set} != xset; then
130559 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
130560 with_gnu_ld=no
130562 with_gnu_ld=$ac_cv_prog_gnu_ld
130566 # Start by getting the version number. I think the libtool test already
130567 # does some of this, but throws away the result.
130568 glibcxx_ld_is_gold=no
130569 if test x"$with_gnu_ld" = x"yes"; then
130570 echo "$as_me:$LINENO: checking for ld version" >&5
130571 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
130573 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
130574 glibcxx_ld_is_gold=yes
130576 ldver=`$LD --version 2>/dev/null | head -1 | \
130577 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
130579 glibcxx_gnu_ld_version=`echo $ldver | \
130580 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
130581 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
130582 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
130585 # Set --gc-sections.
130586 glibcxx_have_gc_sections=no
130587 if test "$glibcxx_ld_is_gold" = "yes"; then
130588 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
130589 glibcxx_have_gc_sections=yes
130592 glibcxx_gcsections_min_ld=21602
130593 if test x"$with_gnu_ld" = x"yes" &&
130594 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
130595 glibcxx_have_gc_sections=yes
130598 if test "$glibcxx_have_gc_sections" = "yes"; then
130599 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
130600 # NB: This flag only works reliably after 2.16.1. Configure tests
130601 # for this are difficult, so hard wire a value that should work.
130603 ac_test_CFLAGS="${CFLAGS+set}"
130604 ac_save_CFLAGS="$CFLAGS"
130605 CFLAGS='-Wl,--gc-sections'
130607 # Check for -Wl,--gc-sections
130608 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
130609 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
130610 if test x$gcc_no_link = xyes; then
130611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
130612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
130613 { (exit 1); exit 1; }; }
130615 cat >conftest.$ac_ext <<_ACEOF
130616 /* confdefs.h. */
130617 _ACEOF
130618 cat confdefs.h >>conftest.$ac_ext
130619 cat >>conftest.$ac_ext <<_ACEOF
130620 /* end confdefs.h. */
130621 int one(void) { return 1; }
130622 int two(void) { return 2; }
130625 main ()
130627 two();
130629 return 0;
130631 _ACEOF
130632 rm -f conftest.$ac_objext conftest$ac_exeext
130633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
130634 (eval $ac_link) 2>conftest.er1
130635 ac_status=$?
130636 grep -v '^ *+' conftest.er1 >conftest.err
130637 rm -f conftest.er1
130638 cat conftest.err >&5
130639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130640 (exit $ac_status); } &&
130641 { ac_try='test -z "$ac_c_werror_flag"
130642 || test ! -s conftest.err'
130643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
130644 (eval $ac_try) 2>&5
130645 ac_status=$?
130646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130647 (exit $ac_status); }; } &&
130648 { ac_try='test -s conftest$ac_exeext'
130649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
130650 (eval $ac_try) 2>&5
130651 ac_status=$?
130652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130653 (exit $ac_status); }; }; then
130654 ac_gcsections=yes
130656 echo "$as_me: failed program was:" >&5
130657 sed 's/^/| /' conftest.$ac_ext >&5
130659 ac_gcsections=no
130661 rm -f conftest.err conftest.$ac_objext \
130662 conftest$ac_exeext conftest.$ac_ext
130663 if test "$ac_gcsections" = "yes"; then
130664 rm -f conftest.c
130665 touch conftest.c
130666 if $CC -c conftest.c; then
130667 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
130668 grep "Warning: gc-sections option ignored" > /dev/null; then
130669 ac_gcsections=no
130672 rm -f conftest.c conftest.o conftest
130674 if test "$ac_gcsections" = "yes"; then
130675 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
130677 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
130678 echo "${ECHO_T}$ac_gcsections" >&6
130680 if test "$ac_test_CFLAGS" = set; then
130681 CFLAGS="$ac_save_CFLAGS"
130683 # this is the suspicious part
130684 CFLAGS=''
130688 # Set -z,relro.
130689 # Note this is only for shared objects.
130690 ac_ld_relro=no
130691 if test x"$with_gnu_ld" = x"yes"; then
130692 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
130693 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
130694 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
130695 if test -n "$cxx_z_relo"; then
130696 OPT_LDFLAGS="-Wl,-z,relro"
130697 ac_ld_relro=yes
130699 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
130700 echo "${ECHO_T}$ac_ld_relro" >&6
130703 # Set linker optimization flags.
130704 if test x"$with_gnu_ld" = x"yes"; then
130705 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
130711 cat >>confdefs.h <<\_ACEOF
130712 #define HAVE_FINITE 1
130713 _ACEOF
130715 cat >>confdefs.h <<\_ACEOF
130716 #define HAVE_FINITEF 1
130717 _ACEOF
130719 cat >>confdefs.h <<\_ACEOF
130720 #define HAVE_FREXPF 1
130721 _ACEOF
130723 cat >>confdefs.h <<\_ACEOF
130724 #define HAVE_HYPOTF 1
130725 _ACEOF
130727 cat >>confdefs.h <<\_ACEOF
130728 #define HAVE_ISINF 1
130729 _ACEOF
130731 cat >>confdefs.h <<\_ACEOF
130732 #define HAVE_ISINFF 1
130733 _ACEOF
130735 cat >>confdefs.h <<\_ACEOF
130736 #define HAVE_ISNAN 1
130737 _ACEOF
130739 cat >>confdefs.h <<\_ACEOF
130740 #define HAVE_ISNANF 1
130741 _ACEOF
130743 cat >>confdefs.h <<\_ACEOF
130744 #define HAVE_SINCOS 1
130745 _ACEOF
130747 cat >>confdefs.h <<\_ACEOF
130748 #define HAVE_SINCOSF 1
130749 _ACEOF
130751 if test x"long_double_math_on_this_cpu" = x"yes"; then
130752 cat >>confdefs.h <<\_ACEOF
130753 #define HAVE_FINITEL 1
130754 _ACEOF
130756 cat >>confdefs.h <<\_ACEOF
130757 #define HAVE_HYPOTL 1
130758 _ACEOF
130760 cat >>confdefs.h <<\_ACEOF
130761 #define HAVE_ISINFL 1
130762 _ACEOF
130764 cat >>confdefs.h <<\_ACEOF
130765 #define HAVE_ISNANL 1
130766 _ACEOF
130770 *-vxworks)
130771 cat >>confdefs.h <<\_ACEOF
130772 #define HAVE_ACOSF 1
130773 _ACEOF
130775 cat >>confdefs.h <<\_ACEOF
130776 #define HAVE_ASINF 1
130777 _ACEOF
130779 cat >>confdefs.h <<\_ACEOF
130780 #define HAVE_ATAN2F 1
130781 _ACEOF
130783 cat >>confdefs.h <<\_ACEOF
130784 #define HAVE_ATANF 1
130785 _ACEOF
130787 cat >>confdefs.h <<\_ACEOF
130788 #define HAVE_CEILF 1
130789 _ACEOF
130791 cat >>confdefs.h <<\_ACEOF
130792 #define HAVE_COSF 1
130793 _ACEOF
130795 cat >>confdefs.h <<\_ACEOF
130796 #define HAVE_COSHF 1
130797 _ACEOF
130799 cat >>confdefs.h <<\_ACEOF
130800 #define HAVE_EXPF 1
130801 _ACEOF
130803 cat >>confdefs.h <<\_ACEOF
130804 #define HAVE_FABSF 1
130805 _ACEOF
130807 cat >>confdefs.h <<\_ACEOF
130808 #define HAVE_FLOORF 1
130809 _ACEOF
130811 cat >>confdefs.h <<\_ACEOF
130812 #define HAVE_FMODF 1
130813 _ACEOF
130815 cat >>confdefs.h <<\_ACEOF
130816 #define HAVE_HYPOT 1
130817 _ACEOF
130819 cat >>confdefs.h <<\_ACEOF
130820 #define HAVE_LOG10F 1
130821 _ACEOF
130823 cat >>confdefs.h <<\_ACEOF
130824 #define HAVE_LOGF 1
130825 _ACEOF
130827 cat >>confdefs.h <<\_ACEOF
130828 #define HAVE_POWF 1
130829 _ACEOF
130831 cat >>confdefs.h <<\_ACEOF
130832 #define HAVE_SINF 1
130833 _ACEOF
130835 cat >>confdefs.h <<\_ACEOF
130836 #define HAVE_SINHF 1
130837 _ACEOF
130839 cat >>confdefs.h <<\_ACEOF
130840 #define HAVE_SQRTF 1
130841 _ACEOF
130843 cat >>confdefs.h <<\_ACEOF
130844 #define HAVE_TANF 1
130845 _ACEOF
130847 cat >>confdefs.h <<\_ACEOF
130848 #define HAVE_TANHF 1
130849 _ACEOF
130853 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
130854 echo "$as_me: error: No support for this host/target combination." >&2;}
130855 { (exit 1); exit 1; }; }
130861 # At some point, we should differentiate between architectures
130862 # like x86, which have long double versions, and alpha/powerpc/etc.,
130863 # which don't. For the time being, punt.
130864 if test x"long_double_math_on_this_cpu" = x"yes"; then
130865 cat >>confdefs.h <<\_ACEOF
130866 #define HAVE_ACOSL 1
130867 _ACEOF
130869 cat >>confdefs.h <<\_ACEOF
130870 #define HAVE_ASINL 1
130871 _ACEOF
130873 cat >>confdefs.h <<\_ACEOF
130874 #define HAVE_ATAN2L 1
130875 _ACEOF
130877 cat >>confdefs.h <<\_ACEOF
130878 #define HAVE_ATANL 1
130879 _ACEOF
130881 cat >>confdefs.h <<\_ACEOF
130882 #define HAVE_CEILL 1
130883 _ACEOF
130885 cat >>confdefs.h <<\_ACEOF
130886 #define HAVE_COSL 1
130887 _ACEOF
130889 cat >>confdefs.h <<\_ACEOF
130890 #define HAVE_COSHL 1
130891 _ACEOF
130893 cat >>confdefs.h <<\_ACEOF
130894 #define HAVE_EXPL 1
130895 _ACEOF
130897 cat >>confdefs.h <<\_ACEOF
130898 #define HAVE_FABSL 1
130899 _ACEOF
130901 cat >>confdefs.h <<\_ACEOF
130902 #define HAVE_FLOORL 1
130903 _ACEOF
130905 cat >>confdefs.h <<\_ACEOF
130906 #define HAVE_FMODL 1
130907 _ACEOF
130909 cat >>confdefs.h <<\_ACEOF
130910 #define HAVE_FREXPL 1
130911 _ACEOF
130913 cat >>confdefs.h <<\_ACEOF
130914 #define HAVE_LDEXPL 1
130915 _ACEOF
130917 cat >>confdefs.h <<\_ACEOF
130918 #define HAVE_LOG10L 1
130919 _ACEOF
130921 cat >>confdefs.h <<\_ACEOF
130922 #define HAVE_LOGL 1
130923 _ACEOF
130925 cat >>confdefs.h <<\_ACEOF
130926 #define HAVE_MODFL 1
130927 _ACEOF
130929 cat >>confdefs.h <<\_ACEOF
130930 #define HAVE_POWL 1
130931 _ACEOF
130933 cat >>confdefs.h <<\_ACEOF
130934 #define HAVE_SINCOSL 1
130935 _ACEOF
130937 cat >>confdefs.h <<\_ACEOF
130938 #define HAVE_SINL 1
130939 _ACEOF
130941 cat >>confdefs.h <<\_ACEOF
130942 #define HAVE_SINHL 1
130943 _ACEOF
130945 cat >>confdefs.h <<\_ACEOF
130946 #define HAVE_SQRTL 1
130947 _ACEOF
130949 cat >>confdefs.h <<\_ACEOF
130950 #define HAVE_TANL 1
130951 _ACEOF
130953 cat >>confdefs.h <<\_ACEOF
130954 #define HAVE_TANHL 1
130955 _ACEOF
130960 # Check for _Unwind_GetIPInfo.
130963 # Check whether --with-system-libunwind or --without-system-libunwind was given.
130964 if test "${with_system_libunwind+set}" = set; then
130965 withval="$with_system_libunwind"
130968 # If system-libunwind was not specifically set, pick a default setting.
130969 if test x$with_system_libunwind = x; then
130970 case ${target} in
130971 ia64-*-hpux*) with_system_libunwind=yes ;;
130972 *) with_system_libunwind=no ;;
130975 # Based on system-libunwind and target, do we have ipinfo?
130976 if test x$with_system_libunwind = xyes; then
130977 case ${target} in
130978 ia64-*-*) have_unwind_getipinfo=no ;;
130979 *) have_unwind_getipinfo=yes ;;
130982 # Darwin before version 9 does not have _Unwind_GetIPInfo.
130984 case ${target} in
130985 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
130986 *) have_unwind_getipinfo=yes ;;
130991 if test x$have_unwind_getipinfo = xyes; then
130993 cat >>confdefs.h <<\_ACEOF
130994 #define HAVE_GETIPINFO 1
130995 _ACEOF
131001 # Check whether --enable-linux-futex or --disable-linux-futex was given.
131002 if test "${enable_linux_futex+set}" = set; then
131003 enableval="$enable_linux_futex"
131005 case "$enableval" in
131006 yes|no|default) ;;
131007 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
131008 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
131009 { (exit 1); exit 1; }; } ;;
131013 enable_linux_futex=default
131016 case "$target" in
131017 *-linux*)
131018 case "$enable_linux_futex" in
131019 default)
131020 # If headers don't have gettid/futex syscalls definition, then
131021 # default to no, otherwise there will be compile time failures.
131022 # Otherwise, default to yes. If we don't detect we are
131023 # compiled/linked against NPTL and not cross-compiling, check
131024 # if programs are run by default against NPTL and if not, issue
131025 # a warning.
131026 enable_linux_futex=no
131027 if test x$gcc_no_link = xyes; then
131028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
131029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
131030 { (exit 1); exit 1; }; }
131032 cat >conftest.$ac_ext <<_ACEOF
131033 /* confdefs.h. */
131034 _ACEOF
131035 cat confdefs.h >>conftest.$ac_ext
131036 cat >>conftest.$ac_ext <<_ACEOF
131037 /* end confdefs.h. */
131038 #include <sys/syscall.h>
131039 int lk;
131041 main ()
131043 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
131045 return 0;
131047 _ACEOF
131048 rm -f conftest.$ac_objext conftest$ac_exeext
131049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
131050 (eval $ac_link) 2>conftest.er1
131051 ac_status=$?
131052 grep -v '^ *+' conftest.er1 >conftest.err
131053 rm -f conftest.er1
131054 cat conftest.err >&5
131055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131056 (exit $ac_status); } &&
131057 { ac_try='test -z "$ac_c_werror_flag"
131058 || test ! -s conftest.err'
131059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131060 (eval $ac_try) 2>&5
131061 ac_status=$?
131062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131063 (exit $ac_status); }; } &&
131064 { ac_try='test -s conftest$ac_exeext'
131065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131066 (eval $ac_try) 2>&5
131067 ac_status=$?
131068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131069 (exit $ac_status); }; }; then
131070 save_LIBS="$LIBS"
131071 LIBS="-lpthread $LIBS"
131072 if test x$gcc_no_link = xyes; then
131073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
131074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
131075 { (exit 1); exit 1; }; }
131077 cat >conftest.$ac_ext <<_ACEOF
131078 /* confdefs.h. */
131079 _ACEOF
131080 cat confdefs.h >>conftest.$ac_ext
131081 cat >>conftest.$ac_ext <<_ACEOF
131082 /* end confdefs.h. */
131083 #ifndef _GNU_SOURCE
131084 #define _GNU_SOURCE 1
131085 #endif
131086 #include <pthread.h>
131087 pthread_t th; void *status;
131089 main ()
131091 pthread_tryjoin_np (th, &status);
131093 return 0;
131095 _ACEOF
131096 rm -f conftest.$ac_objext conftest$ac_exeext
131097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
131098 (eval $ac_link) 2>conftest.er1
131099 ac_status=$?
131100 grep -v '^ *+' conftest.er1 >conftest.err
131101 rm -f conftest.er1
131102 cat conftest.err >&5
131103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131104 (exit $ac_status); } &&
131105 { ac_try='test -z "$ac_c_werror_flag"
131106 || test ! -s conftest.err'
131107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131108 (eval $ac_try) 2>&5
131109 ac_status=$?
131110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131111 (exit $ac_status); }; } &&
131112 { ac_try='test -s conftest$ac_exeext'
131113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131114 (eval $ac_try) 2>&5
131115 ac_status=$?
131116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131117 (exit $ac_status); }; }; then
131118 enable_linux_futex=yes
131120 echo "$as_me: failed program was:" >&5
131121 sed 's/^/| /' conftest.$ac_ext >&5
131123 if test x$cross_compiling = xno; then
131124 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
131125 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
131126 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
131127 If so, please configure with --disable-linux-futex" >&5
131128 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
131129 If so, please configure with --disable-linux-futex" >&2;}
131132 enable_linux_futex=yes
131134 rm -f conftest.err conftest.$ac_objext \
131135 conftest$ac_exeext conftest.$ac_ext
131136 LIBS="$save_LIBS"
131138 echo "$as_me: failed program was:" >&5
131139 sed 's/^/| /' conftest.$ac_ext >&5
131142 rm -f conftest.err conftest.$ac_objext \
131143 conftest$ac_exeext conftest.$ac_ext
131146 if test x$gcc_no_link = xyes; then
131147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
131148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
131149 { (exit 1); exit 1; }; }
131151 cat >conftest.$ac_ext <<_ACEOF
131152 /* confdefs.h. */
131153 _ACEOF
131154 cat confdefs.h >>conftest.$ac_ext
131155 cat >>conftest.$ac_ext <<_ACEOF
131156 /* end confdefs.h. */
131157 #include <sys/syscall.h>
131158 int lk;
131160 main ()
131162 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
131164 return 0;
131166 _ACEOF
131167 rm -f conftest.$ac_objext conftest$ac_exeext
131168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
131169 (eval $ac_link) 2>conftest.er1
131170 ac_status=$?
131171 grep -v '^ *+' conftest.er1 >conftest.err
131172 rm -f conftest.er1
131173 cat conftest.err >&5
131174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131175 (exit $ac_status); } &&
131176 { ac_try='test -z "$ac_c_werror_flag"
131177 || test ! -s conftest.err'
131178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131179 (eval $ac_try) 2>&5
131180 ac_status=$?
131181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131182 (exit $ac_status); }; } &&
131183 { ac_try='test -s conftest$ac_exeext'
131184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131185 (eval $ac_try) 2>&5
131186 ac_status=$?
131187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131188 (exit $ac_status); }; }; then
131191 echo "$as_me: failed program was:" >&5
131192 sed 's/^/| /' conftest.$ac_ext >&5
131194 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
131195 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
131196 { (exit 1); exit 1; }; }
131198 rm -f conftest.err conftest.$ac_objext \
131199 conftest$ac_exeext conftest.$ac_ext
131204 enable_linux_futex=no
131207 if test x$enable_linux_futex = xyes; then
131209 cat >>confdefs.h <<\_ACEOF
131210 #define HAVE_LINUX_FUTEX 1
131211 _ACEOF
131218 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
131220 acx_cv_header_stdint=stddef.h
131221 acx_cv_header_stdint_kind="(already complete)"
131222 for i in stdint.h $inttype_headers; do
131223 unset ac_cv_type_uintptr_t
131224 unset ac_cv_type_uintmax_t
131225 unset ac_cv_type_int_least32_t
131226 unset ac_cv_type_int_fast32_t
131227 unset ac_cv_type_uint64_t
131228 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
131229 echo "$as_me:$LINENO: checking for uintmax_t" >&5
131230 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
131231 if test "${ac_cv_type_uintmax_t+set}" = set; then
131232 echo $ECHO_N "(cached) $ECHO_C" >&6
131234 cat >conftest.$ac_ext <<_ACEOF
131235 /* confdefs.h. */
131236 _ACEOF
131237 cat confdefs.h >>conftest.$ac_ext
131238 cat >>conftest.$ac_ext <<_ACEOF
131239 /* end confdefs.h. */
131240 #include <sys/types.h>
131241 #include <$i>
131244 main ()
131246 if ((uintmax_t *) 0)
131247 return 0;
131248 if (sizeof (uintmax_t))
131249 return 0;
131251 return 0;
131253 _ACEOF
131254 rm -f conftest.$ac_objext
131255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131256 (eval $ac_compile) 2>conftest.er1
131257 ac_status=$?
131258 grep -v '^ *+' conftest.er1 >conftest.err
131259 rm -f conftest.er1
131260 cat conftest.err >&5
131261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131262 (exit $ac_status); } &&
131263 { ac_try='test -z "$ac_c_werror_flag"
131264 || test ! -s conftest.err'
131265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131266 (eval $ac_try) 2>&5
131267 ac_status=$?
131268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131269 (exit $ac_status); }; } &&
131270 { ac_try='test -s conftest.$ac_objext'
131271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131272 (eval $ac_try) 2>&5
131273 ac_status=$?
131274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131275 (exit $ac_status); }; }; then
131276 ac_cv_type_uintmax_t=yes
131278 echo "$as_me: failed program was:" >&5
131279 sed 's/^/| /' conftest.$ac_ext >&5
131281 ac_cv_type_uintmax_t=no
131283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
131285 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
131286 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
131287 if test $ac_cv_type_uintmax_t = yes; then
131288 acx_cv_header_stdint=$i
131290 continue
131293 echo "$as_me:$LINENO: checking for uintptr_t" >&5
131294 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
131295 if test "${ac_cv_type_uintptr_t+set}" = set; then
131296 echo $ECHO_N "(cached) $ECHO_C" >&6
131298 cat >conftest.$ac_ext <<_ACEOF
131299 /* confdefs.h. */
131300 _ACEOF
131301 cat confdefs.h >>conftest.$ac_ext
131302 cat >>conftest.$ac_ext <<_ACEOF
131303 /* end confdefs.h. */
131304 #include <sys/types.h>
131305 #include <$i>
131308 main ()
131310 if ((uintptr_t *) 0)
131311 return 0;
131312 if (sizeof (uintptr_t))
131313 return 0;
131315 return 0;
131317 _ACEOF
131318 rm -f conftest.$ac_objext
131319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131320 (eval $ac_compile) 2>conftest.er1
131321 ac_status=$?
131322 grep -v '^ *+' conftest.er1 >conftest.err
131323 rm -f conftest.er1
131324 cat conftest.err >&5
131325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131326 (exit $ac_status); } &&
131327 { ac_try='test -z "$ac_c_werror_flag"
131328 || test ! -s conftest.err'
131329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131330 (eval $ac_try) 2>&5
131331 ac_status=$?
131332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131333 (exit $ac_status); }; } &&
131334 { ac_try='test -s conftest.$ac_objext'
131335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131336 (eval $ac_try) 2>&5
131337 ac_status=$?
131338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131339 (exit $ac_status); }; }; then
131340 ac_cv_type_uintptr_t=yes
131342 echo "$as_me: failed program was:" >&5
131343 sed 's/^/| /' conftest.$ac_ext >&5
131345 ac_cv_type_uintptr_t=no
131347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
131349 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
131350 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
131351 if test $ac_cv_type_uintptr_t = yes; then
131354 acx_cv_header_stdint_kind="(mostly complete)"
131357 echo "$as_me:$LINENO: checking for int_least32_t" >&5
131358 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
131359 if test "${ac_cv_type_int_least32_t+set}" = set; then
131360 echo $ECHO_N "(cached) $ECHO_C" >&6
131362 cat >conftest.$ac_ext <<_ACEOF
131363 /* confdefs.h. */
131364 _ACEOF
131365 cat confdefs.h >>conftest.$ac_ext
131366 cat >>conftest.$ac_ext <<_ACEOF
131367 /* end confdefs.h. */
131368 #include <sys/types.h>
131369 #include <$i>
131372 main ()
131374 if ((int_least32_t *) 0)
131375 return 0;
131376 if (sizeof (int_least32_t))
131377 return 0;
131379 return 0;
131381 _ACEOF
131382 rm -f conftest.$ac_objext
131383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131384 (eval $ac_compile) 2>conftest.er1
131385 ac_status=$?
131386 grep -v '^ *+' conftest.er1 >conftest.err
131387 rm -f conftest.er1
131388 cat conftest.err >&5
131389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131390 (exit $ac_status); } &&
131391 { ac_try='test -z "$ac_c_werror_flag"
131392 || test ! -s conftest.err'
131393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131394 (eval $ac_try) 2>&5
131395 ac_status=$?
131396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131397 (exit $ac_status); }; } &&
131398 { ac_try='test -s conftest.$ac_objext'
131399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131400 (eval $ac_try) 2>&5
131401 ac_status=$?
131402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131403 (exit $ac_status); }; }; then
131404 ac_cv_type_int_least32_t=yes
131406 echo "$as_me: failed program was:" >&5
131407 sed 's/^/| /' conftest.$ac_ext >&5
131409 ac_cv_type_int_least32_t=no
131411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
131413 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
131414 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
131415 if test $ac_cv_type_int_least32_t = yes; then
131418 acx_cv_header_stdint_kind="(mostly complete)"
131421 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
131422 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
131423 if test "${ac_cv_type_int_fast32_t+set}" = set; then
131424 echo $ECHO_N "(cached) $ECHO_C" >&6
131426 cat >conftest.$ac_ext <<_ACEOF
131427 /* confdefs.h. */
131428 _ACEOF
131429 cat confdefs.h >>conftest.$ac_ext
131430 cat >>conftest.$ac_ext <<_ACEOF
131431 /* end confdefs.h. */
131432 #include <sys/types.h>
131433 #include <$i>
131436 main ()
131438 if ((int_fast32_t *) 0)
131439 return 0;
131440 if (sizeof (int_fast32_t))
131441 return 0;
131443 return 0;
131445 _ACEOF
131446 rm -f conftest.$ac_objext
131447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131448 (eval $ac_compile) 2>conftest.er1
131449 ac_status=$?
131450 grep -v '^ *+' conftest.er1 >conftest.err
131451 rm -f conftest.er1
131452 cat conftest.err >&5
131453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131454 (exit $ac_status); } &&
131455 { ac_try='test -z "$ac_c_werror_flag"
131456 || test ! -s conftest.err'
131457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131458 (eval $ac_try) 2>&5
131459 ac_status=$?
131460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131461 (exit $ac_status); }; } &&
131462 { ac_try='test -s conftest.$ac_objext'
131463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131464 (eval $ac_try) 2>&5
131465 ac_status=$?
131466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131467 (exit $ac_status); }; }; then
131468 ac_cv_type_int_fast32_t=yes
131470 echo "$as_me: failed program was:" >&5
131471 sed 's/^/| /' conftest.$ac_ext >&5
131473 ac_cv_type_int_fast32_t=no
131475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
131477 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
131478 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
131479 if test $ac_cv_type_int_fast32_t = yes; then
131482 acx_cv_header_stdint_kind="(mostly complete)"
131485 echo "$as_me:$LINENO: checking for uint64_t" >&5
131486 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
131487 if test "${ac_cv_type_uint64_t+set}" = set; then
131488 echo $ECHO_N "(cached) $ECHO_C" >&6
131490 cat >conftest.$ac_ext <<_ACEOF
131491 /* confdefs.h. */
131492 _ACEOF
131493 cat confdefs.h >>conftest.$ac_ext
131494 cat >>conftest.$ac_ext <<_ACEOF
131495 /* end confdefs.h. */
131496 #include <sys/types.h>
131497 #include <$i>
131500 main ()
131502 if ((uint64_t *) 0)
131503 return 0;
131504 if (sizeof (uint64_t))
131505 return 0;
131507 return 0;
131509 _ACEOF
131510 rm -f conftest.$ac_objext
131511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131512 (eval $ac_compile) 2>conftest.er1
131513 ac_status=$?
131514 grep -v '^ *+' conftest.er1 >conftest.err
131515 rm -f conftest.er1
131516 cat conftest.err >&5
131517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131518 (exit $ac_status); } &&
131519 { ac_try='test -z "$ac_c_werror_flag"
131520 || test ! -s conftest.err'
131521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131522 (eval $ac_try) 2>&5
131523 ac_status=$?
131524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131525 (exit $ac_status); }; } &&
131526 { ac_try='test -s conftest.$ac_objext'
131527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131528 (eval $ac_try) 2>&5
131529 ac_status=$?
131530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131531 (exit $ac_status); }; }; then
131532 ac_cv_type_uint64_t=yes
131534 echo "$as_me: failed program was:" >&5
131535 sed 's/^/| /' conftest.$ac_ext >&5
131537 ac_cv_type_uint64_t=no
131539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
131541 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
131542 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
131543 if test $ac_cv_type_uint64_t = yes; then
131546 acx_cv_header_stdint_kind="(lacks uint64_t)"
131549 break
131551 if test "$acx_cv_header_stdint" = stddef.h; then
131552 acx_cv_header_stdint_kind="(lacks uintmax_t)"
131553 for i in stdint.h $inttype_headers; do
131554 unset ac_cv_type_uintptr_t
131555 unset ac_cv_type_uint32_t
131556 unset ac_cv_type_uint64_t
131557 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
131558 echo "$as_me:$LINENO: checking for uint32_t" >&5
131559 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
131560 if test "${ac_cv_type_uint32_t+set}" = set; then
131561 echo $ECHO_N "(cached) $ECHO_C" >&6
131563 cat >conftest.$ac_ext <<_ACEOF
131564 /* confdefs.h. */
131565 _ACEOF
131566 cat confdefs.h >>conftest.$ac_ext
131567 cat >>conftest.$ac_ext <<_ACEOF
131568 /* end confdefs.h. */
131569 #include <sys/types.h>
131570 #include <$i>
131573 main ()
131575 if ((uint32_t *) 0)
131576 return 0;
131577 if (sizeof (uint32_t))
131578 return 0;
131580 return 0;
131582 _ACEOF
131583 rm -f conftest.$ac_objext
131584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131585 (eval $ac_compile) 2>conftest.er1
131586 ac_status=$?
131587 grep -v '^ *+' conftest.er1 >conftest.err
131588 rm -f conftest.er1
131589 cat conftest.err >&5
131590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131591 (exit $ac_status); } &&
131592 { ac_try='test -z "$ac_c_werror_flag"
131593 || test ! -s conftest.err'
131594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131595 (eval $ac_try) 2>&5
131596 ac_status=$?
131597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131598 (exit $ac_status); }; } &&
131599 { ac_try='test -s conftest.$ac_objext'
131600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131601 (eval $ac_try) 2>&5
131602 ac_status=$?
131603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131604 (exit $ac_status); }; }; then
131605 ac_cv_type_uint32_t=yes
131607 echo "$as_me: failed program was:" >&5
131608 sed 's/^/| /' conftest.$ac_ext >&5
131610 ac_cv_type_uint32_t=no
131612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
131614 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
131615 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
131616 if test $ac_cv_type_uint32_t = yes; then
131617 acx_cv_header_stdint=$i
131619 continue
131622 echo "$as_me:$LINENO: checking for uint64_t" >&5
131623 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
131624 if test "${ac_cv_type_uint64_t+set}" = set; then
131625 echo $ECHO_N "(cached) $ECHO_C" >&6
131627 cat >conftest.$ac_ext <<_ACEOF
131628 /* confdefs.h. */
131629 _ACEOF
131630 cat confdefs.h >>conftest.$ac_ext
131631 cat >>conftest.$ac_ext <<_ACEOF
131632 /* end confdefs.h. */
131633 #include <sys/types.h>
131634 #include <$i>
131637 main ()
131639 if ((uint64_t *) 0)
131640 return 0;
131641 if (sizeof (uint64_t))
131642 return 0;
131644 return 0;
131646 _ACEOF
131647 rm -f conftest.$ac_objext
131648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131649 (eval $ac_compile) 2>conftest.er1
131650 ac_status=$?
131651 grep -v '^ *+' conftest.er1 >conftest.err
131652 rm -f conftest.er1
131653 cat conftest.err >&5
131654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131655 (exit $ac_status); } &&
131656 { ac_try='test -z "$ac_c_werror_flag"
131657 || test ! -s conftest.err'
131658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131659 (eval $ac_try) 2>&5
131660 ac_status=$?
131661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131662 (exit $ac_status); }; } &&
131663 { ac_try='test -s conftest.$ac_objext'
131664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131665 (eval $ac_try) 2>&5
131666 ac_status=$?
131667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131668 (exit $ac_status); }; }; then
131669 ac_cv_type_uint64_t=yes
131671 echo "$as_me: failed program was:" >&5
131672 sed 's/^/| /' conftest.$ac_ext >&5
131674 ac_cv_type_uint64_t=no
131676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
131678 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
131679 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
131681 echo "$as_me:$LINENO: checking for uintptr_t" >&5
131682 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
131683 if test "${ac_cv_type_uintptr_t+set}" = set; then
131684 echo $ECHO_N "(cached) $ECHO_C" >&6
131686 cat >conftest.$ac_ext <<_ACEOF
131687 /* confdefs.h. */
131688 _ACEOF
131689 cat confdefs.h >>conftest.$ac_ext
131690 cat >>conftest.$ac_ext <<_ACEOF
131691 /* end confdefs.h. */
131692 #include <sys/types.h>
131693 #include <$i>
131696 main ()
131698 if ((uintptr_t *) 0)
131699 return 0;
131700 if (sizeof (uintptr_t))
131701 return 0;
131703 return 0;
131705 _ACEOF
131706 rm -f conftest.$ac_objext
131707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131708 (eval $ac_compile) 2>conftest.er1
131709 ac_status=$?
131710 grep -v '^ *+' conftest.er1 >conftest.err
131711 rm -f conftest.er1
131712 cat conftest.err >&5
131713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131714 (exit $ac_status); } &&
131715 { ac_try='test -z "$ac_c_werror_flag"
131716 || test ! -s conftest.err'
131717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131718 (eval $ac_try) 2>&5
131719 ac_status=$?
131720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131721 (exit $ac_status); }; } &&
131722 { ac_try='test -s conftest.$ac_objext'
131723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131724 (eval $ac_try) 2>&5
131725 ac_status=$?
131726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131727 (exit $ac_status); }; }; then
131728 ac_cv_type_uintptr_t=yes
131730 echo "$as_me: failed program was:" >&5
131731 sed 's/^/| /' conftest.$ac_ext >&5
131733 ac_cv_type_uintptr_t=no
131735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
131737 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
131738 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
131740 break
131743 if test "$acx_cv_header_stdint" = stddef.h; then
131744 acx_cv_header_stdint_kind="(u_intXX_t style)"
131745 for i in sys/types.h $inttype_headers; do
131746 unset ac_cv_type_u_int32_t
131747 unset ac_cv_type_u_int64_t
131748 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
131749 echo "$as_me:$LINENO: checking for u_int32_t" >&5
131750 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
131751 if test "${ac_cv_type_u_int32_t+set}" = set; then
131752 echo $ECHO_N "(cached) $ECHO_C" >&6
131754 cat >conftest.$ac_ext <<_ACEOF
131755 /* confdefs.h. */
131756 _ACEOF
131757 cat confdefs.h >>conftest.$ac_ext
131758 cat >>conftest.$ac_ext <<_ACEOF
131759 /* end confdefs.h. */
131760 #include <sys/types.h>
131761 #include <$i>
131764 main ()
131766 if ((u_int32_t *) 0)
131767 return 0;
131768 if (sizeof (u_int32_t))
131769 return 0;
131771 return 0;
131773 _ACEOF
131774 rm -f conftest.$ac_objext
131775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131776 (eval $ac_compile) 2>conftest.er1
131777 ac_status=$?
131778 grep -v '^ *+' conftest.er1 >conftest.err
131779 rm -f conftest.er1
131780 cat conftest.err >&5
131781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131782 (exit $ac_status); } &&
131783 { ac_try='test -z "$ac_c_werror_flag"
131784 || test ! -s conftest.err'
131785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131786 (eval $ac_try) 2>&5
131787 ac_status=$?
131788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131789 (exit $ac_status); }; } &&
131790 { ac_try='test -s conftest.$ac_objext'
131791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131792 (eval $ac_try) 2>&5
131793 ac_status=$?
131794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131795 (exit $ac_status); }; }; then
131796 ac_cv_type_u_int32_t=yes
131798 echo "$as_me: failed program was:" >&5
131799 sed 's/^/| /' conftest.$ac_ext >&5
131801 ac_cv_type_u_int32_t=no
131803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
131805 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
131806 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
131807 if test $ac_cv_type_u_int32_t = yes; then
131808 acx_cv_header_stdint=$i
131810 continue
131813 echo "$as_me:$LINENO: checking for u_int64_t" >&5
131814 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
131815 if test "${ac_cv_type_u_int64_t+set}" = set; then
131816 echo $ECHO_N "(cached) $ECHO_C" >&6
131818 cat >conftest.$ac_ext <<_ACEOF
131819 /* confdefs.h. */
131820 _ACEOF
131821 cat confdefs.h >>conftest.$ac_ext
131822 cat >>conftest.$ac_ext <<_ACEOF
131823 /* end confdefs.h. */
131824 #include <sys/types.h>
131825 #include <$i>
131828 main ()
131830 if ((u_int64_t *) 0)
131831 return 0;
131832 if (sizeof (u_int64_t))
131833 return 0;
131835 return 0;
131837 _ACEOF
131838 rm -f conftest.$ac_objext
131839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131840 (eval $ac_compile) 2>conftest.er1
131841 ac_status=$?
131842 grep -v '^ *+' conftest.er1 >conftest.err
131843 rm -f conftest.er1
131844 cat conftest.err >&5
131845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131846 (exit $ac_status); } &&
131847 { ac_try='test -z "$ac_c_werror_flag"
131848 || test ! -s conftest.err'
131849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131850 (eval $ac_try) 2>&5
131851 ac_status=$?
131852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131853 (exit $ac_status); }; } &&
131854 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
131860 ac_cv_type_u_int64_t=yes
131862 echo "$as_me: failed program was:" >&5
131863 sed 's/^/| /' conftest.$ac_ext >&5
131865 ac_cv_type_u_int64_t=no
131867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
131869 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
131870 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
131872 break
131875 if test "$acx_cv_header_stdint" = stddef.h; then
131876 acx_cv_header_stdint_kind="(using manual detection)"
131879 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
131880 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
131881 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
131882 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
131883 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
131885 # ----------------- Summarize what we found so far
131887 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
131888 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
131890 case `$as_basename include/gstdint.h ||
131891 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
131892 Xinclude/gstdint.h : 'X\(//\)$' \| \
131893 Xinclude/gstdint.h : 'X\(/\)$' \| \
131894 . : '\(.\)' 2>/dev/null ||
131895 echo X/include/gstdint.h |
131896 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
131897 /^X\/\(\/\/\)$/{ s//\1/; q; }
131898 /^X\/\(\/\).*/{ s//\1/; q; }
131899 s/.*/./; q'` in
131900 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
131901 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
131902 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
131903 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
131904 *) ;;
131907 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
131908 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
131910 # ----------------- done included file, check C basic types --------
131912 # Lacking an uintptr_t? Test size of void *
131913 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
131914 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
131915 echo $ECHO_N "checking for void *... $ECHO_C" >&6
131916 if test "${ac_cv_type_void_p+set}" = set; then
131917 echo $ECHO_N "(cached) $ECHO_C" >&6
131919 cat >conftest.$ac_ext <<_ACEOF
131920 /* confdefs.h. */
131921 _ACEOF
131922 cat confdefs.h >>conftest.$ac_ext
131923 cat >>conftest.$ac_ext <<_ACEOF
131924 /* end confdefs.h. */
131925 $ac_includes_default
131927 main ()
131929 if ((void * *) 0)
131930 return 0;
131931 if (sizeof (void *))
131932 return 0;
131934 return 0;
131936 _ACEOF
131937 rm -f conftest.$ac_objext
131938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131939 (eval $ac_compile) 2>conftest.er1
131940 ac_status=$?
131941 grep -v '^ *+' conftest.er1 >conftest.err
131942 rm -f conftest.er1
131943 cat conftest.err >&5
131944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131945 (exit $ac_status); } &&
131946 { ac_try='test -z "$ac_c_werror_flag"
131947 || test ! -s conftest.err'
131948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131949 (eval $ac_try) 2>&5
131950 ac_status=$?
131951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131952 (exit $ac_status); }; } &&
131953 { ac_try='test -s conftest.$ac_objext'
131954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131955 (eval $ac_try) 2>&5
131956 ac_status=$?
131957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131958 (exit $ac_status); }; }; then
131959 ac_cv_type_void_p=yes
131961 echo "$as_me: failed program was:" >&5
131962 sed 's/^/| /' conftest.$ac_ext >&5
131964 ac_cv_type_void_p=no
131966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
131968 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
131969 echo "${ECHO_T}$ac_cv_type_void_p" >&6
131971 echo "$as_me:$LINENO: checking size of void *" >&5
131972 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
131973 if test "${ac_cv_sizeof_void_p+set}" = set; then
131974 echo $ECHO_N "(cached) $ECHO_C" >&6
131976 if test "$ac_cv_type_void_p" = yes; then
131977 # The cast to unsigned long works around a bug in the HP C Compiler
131978 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
131979 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
131980 # This bug is HP SR number 8606223364.
131981 if test "$cross_compiling" = yes; then
131982 # Depending upon the size, compute the lo and hi bounds.
131983 cat >conftest.$ac_ext <<_ACEOF
131984 /* confdefs.h. */
131985 _ACEOF
131986 cat confdefs.h >>conftest.$ac_ext
131987 cat >>conftest.$ac_ext <<_ACEOF
131988 /* end confdefs.h. */
131989 $ac_includes_default
131991 main ()
131993 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
131994 test_array [0] = 0
131997 return 0;
131999 _ACEOF
132000 rm -f conftest.$ac_objext
132001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132002 (eval $ac_compile) 2>conftest.er1
132003 ac_status=$?
132004 grep -v '^ *+' conftest.er1 >conftest.err
132005 rm -f conftest.er1
132006 cat conftest.err >&5
132007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132008 (exit $ac_status); } &&
132009 { ac_try='test -z "$ac_c_werror_flag"
132010 || test ! -s conftest.err'
132011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132012 (eval $ac_try) 2>&5
132013 ac_status=$?
132014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132015 (exit $ac_status); }; } &&
132016 { ac_try='test -s conftest.$ac_objext'
132017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132018 (eval $ac_try) 2>&5
132019 ac_status=$?
132020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132021 (exit $ac_status); }; }; then
132022 ac_lo=0 ac_mid=0
132023 while :; do
132024 cat >conftest.$ac_ext <<_ACEOF
132025 /* confdefs.h. */
132026 _ACEOF
132027 cat confdefs.h >>conftest.$ac_ext
132028 cat >>conftest.$ac_ext <<_ACEOF
132029 /* end confdefs.h. */
132030 $ac_includes_default
132032 main ()
132034 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
132035 test_array [0] = 0
132038 return 0;
132040 _ACEOF
132041 rm -f conftest.$ac_objext
132042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132043 (eval $ac_compile) 2>conftest.er1
132044 ac_status=$?
132045 grep -v '^ *+' conftest.er1 >conftest.err
132046 rm -f conftest.er1
132047 cat conftest.err >&5
132048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132049 (exit $ac_status); } &&
132050 { ac_try='test -z "$ac_c_werror_flag"
132051 || test ! -s conftest.err'
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); }; } &&
132057 { ac_try='test -s conftest.$ac_objext'
132058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132059 (eval $ac_try) 2>&5
132060 ac_status=$?
132061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132062 (exit $ac_status); }; }; then
132063 ac_hi=$ac_mid; break
132065 echo "$as_me: failed program was:" >&5
132066 sed 's/^/| /' conftest.$ac_ext >&5
132068 ac_lo=`expr $ac_mid + 1`
132069 if test $ac_lo -le $ac_mid; then
132070 ac_lo= ac_hi=
132071 break
132073 ac_mid=`expr 2 '*' $ac_mid + 1`
132075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132078 echo "$as_me: failed program was:" >&5
132079 sed 's/^/| /' conftest.$ac_ext >&5
132081 cat >conftest.$ac_ext <<_ACEOF
132082 /* confdefs.h. */
132083 _ACEOF
132084 cat confdefs.h >>conftest.$ac_ext
132085 cat >>conftest.$ac_ext <<_ACEOF
132086 /* end confdefs.h. */
132087 $ac_includes_default
132089 main ()
132091 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
132092 test_array [0] = 0
132095 return 0;
132097 _ACEOF
132098 rm -f conftest.$ac_objext
132099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132100 (eval $ac_compile) 2>conftest.er1
132101 ac_status=$?
132102 grep -v '^ *+' conftest.er1 >conftest.err
132103 rm -f conftest.er1
132104 cat conftest.err >&5
132105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132106 (exit $ac_status); } &&
132107 { ac_try='test -z "$ac_c_werror_flag"
132108 || test ! -s conftest.err'
132109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132110 (eval $ac_try) 2>&5
132111 ac_status=$?
132112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132113 (exit $ac_status); }; } &&
132114 { ac_try='test -s conftest.$ac_objext'
132115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132116 (eval $ac_try) 2>&5
132117 ac_status=$?
132118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132119 (exit $ac_status); }; }; then
132120 ac_hi=-1 ac_mid=-1
132121 while :; do
132122 cat >conftest.$ac_ext <<_ACEOF
132123 /* confdefs.h. */
132124 _ACEOF
132125 cat confdefs.h >>conftest.$ac_ext
132126 cat >>conftest.$ac_ext <<_ACEOF
132127 /* end confdefs.h. */
132128 $ac_includes_default
132130 main ()
132132 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
132133 test_array [0] = 0
132136 return 0;
132138 _ACEOF
132139 rm -f conftest.$ac_objext
132140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132141 (eval $ac_compile) 2>conftest.er1
132142 ac_status=$?
132143 grep -v '^ *+' conftest.er1 >conftest.err
132144 rm -f conftest.er1
132145 cat conftest.err >&5
132146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132147 (exit $ac_status); } &&
132148 { ac_try='test -z "$ac_c_werror_flag"
132149 || test ! -s conftest.err'
132150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132151 (eval $ac_try) 2>&5
132152 ac_status=$?
132153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132154 (exit $ac_status); }; } &&
132155 { ac_try='test -s conftest.$ac_objext'
132156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132157 (eval $ac_try) 2>&5
132158 ac_status=$?
132159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132160 (exit $ac_status); }; }; then
132161 ac_lo=$ac_mid; break
132163 echo "$as_me: failed program was:" >&5
132164 sed 's/^/| /' conftest.$ac_ext >&5
132166 ac_hi=`expr '(' $ac_mid ')' - 1`
132167 if test $ac_mid -le $ac_hi; then
132168 ac_lo= ac_hi=
132169 break
132171 ac_mid=`expr 2 '*' $ac_mid`
132173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132176 echo "$as_me: failed program was:" >&5
132177 sed 's/^/| /' conftest.$ac_ext >&5
132179 ac_lo= ac_hi=
132181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132184 # Binary search between lo and hi bounds.
132185 while test "x$ac_lo" != "x$ac_hi"; do
132186 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
132187 cat >conftest.$ac_ext <<_ACEOF
132188 /* confdefs.h. */
132189 _ACEOF
132190 cat confdefs.h >>conftest.$ac_ext
132191 cat >>conftest.$ac_ext <<_ACEOF
132192 /* end confdefs.h. */
132193 $ac_includes_default
132195 main ()
132197 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
132198 test_array [0] = 0
132201 return 0;
132203 _ACEOF
132204 rm -f conftest.$ac_objext
132205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132206 (eval $ac_compile) 2>conftest.er1
132207 ac_status=$?
132208 grep -v '^ *+' conftest.er1 >conftest.err
132209 rm -f conftest.er1
132210 cat conftest.err >&5
132211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132212 (exit $ac_status); } &&
132213 { ac_try='test -z "$ac_c_werror_flag"
132214 || test ! -s conftest.err'
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); }; } &&
132220 { ac_try='test -s conftest.$ac_objext'
132221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132222 (eval $ac_try) 2>&5
132223 ac_status=$?
132224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132225 (exit $ac_status); }; }; then
132226 ac_hi=$ac_mid
132228 echo "$as_me: failed program was:" >&5
132229 sed 's/^/| /' conftest.$ac_ext >&5
132231 ac_lo=`expr '(' $ac_mid ')' + 1`
132233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132235 case $ac_lo in
132236 ?*) ac_cv_sizeof_void_p=$ac_lo;;
132237 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
132238 echo "$as_me: error: in \`$ac_pwd':" >&2;}
132239 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
132240 See \`config.log' for more details." >&5
132241 echo "$as_me: error: cannot compute sizeof (void *), 77
132242 See \`config.log' for more details." >&2;}
132243 { (exit 1); exit 1; }; }; } ;;
132246 if test "$cross_compiling" = yes; then
132247 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
132248 echo "$as_me: error: in \`$ac_pwd':" >&2;}
132249 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
132250 See \`config.log' for more details." >&5
132251 echo "$as_me: error: cannot run test program while cross compiling
132252 See \`config.log' for more details." >&2;}
132253 { (exit 1); exit 1; }; }; }
132255 cat >conftest.$ac_ext <<_ACEOF
132256 /* confdefs.h. */
132257 _ACEOF
132258 cat confdefs.h >>conftest.$ac_ext
132259 cat >>conftest.$ac_ext <<_ACEOF
132260 /* end confdefs.h. */
132261 $ac_includes_default
132262 long longval () { return (long) (sizeof (void *)); }
132263 unsigned long ulongval () { return (long) (sizeof (void *)); }
132264 #include <stdio.h>
132265 #include <stdlib.h>
132267 main ()
132270 FILE *f = fopen ("conftest.val", "w");
132271 if (! f)
132272 exit (1);
132273 if (((long) (sizeof (void *))) < 0)
132275 long i = longval ();
132276 if (i != ((long) (sizeof (void *))))
132277 exit (1);
132278 fprintf (f, "%ld\n", i);
132282 unsigned long i = ulongval ();
132283 if (i != ((long) (sizeof (void *))))
132284 exit (1);
132285 fprintf (f, "%lu\n", i);
132287 exit (ferror (f) || fclose (f) != 0);
132290 return 0;
132292 _ACEOF
132293 rm -f conftest$ac_exeext
132294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
132295 (eval $ac_link) 2>&5
132296 ac_status=$?
132297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132298 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
132299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132300 (eval $ac_try) 2>&5
132301 ac_status=$?
132302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132303 (exit $ac_status); }; }; then
132304 ac_cv_sizeof_void_p=`cat conftest.val`
132306 echo "$as_me: program exited with status $ac_status" >&5
132307 echo "$as_me: failed program was:" >&5
132308 sed 's/^/| /' conftest.$ac_ext >&5
132310 ( exit $ac_status )
132311 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
132312 echo "$as_me: error: in \`$ac_pwd':" >&2;}
132313 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
132314 See \`config.log' for more details." >&5
132315 echo "$as_me: error: cannot compute sizeof (void *), 77
132316 See \`config.log' for more details." >&2;}
132317 { (exit 1); exit 1; }; }; }
132319 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
132322 rm -f conftest.val
132324 ac_cv_sizeof_void_p=0
132327 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
132328 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
132329 cat >>confdefs.h <<_ACEOF
132330 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
132331 _ACEOF
132336 # Lacking an uint64_t? Test size of long
132337 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
132338 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
132339 echo $ECHO_N "checking for long... $ECHO_C" >&6
132340 if test "${ac_cv_type_long+set}" = set; then
132341 echo $ECHO_N "(cached) $ECHO_C" >&6
132343 cat >conftest.$ac_ext <<_ACEOF
132344 /* confdefs.h. */
132345 _ACEOF
132346 cat confdefs.h >>conftest.$ac_ext
132347 cat >>conftest.$ac_ext <<_ACEOF
132348 /* end confdefs.h. */
132349 $ac_includes_default
132351 main ()
132353 if ((long *) 0)
132354 return 0;
132355 if (sizeof (long))
132356 return 0;
132358 return 0;
132360 _ACEOF
132361 rm -f conftest.$ac_objext
132362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132363 (eval $ac_compile) 2>conftest.er1
132364 ac_status=$?
132365 grep -v '^ *+' conftest.er1 >conftest.err
132366 rm -f conftest.er1
132367 cat conftest.err >&5
132368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132369 (exit $ac_status); } &&
132370 { ac_try='test -z "$ac_c_werror_flag"
132371 || test ! -s conftest.err'
132372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132373 (eval $ac_try) 2>&5
132374 ac_status=$?
132375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132376 (exit $ac_status); }; } &&
132377 { ac_try='test -s conftest.$ac_objext'
132378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132379 (eval $ac_try) 2>&5
132380 ac_status=$?
132381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132382 (exit $ac_status); }; }; then
132383 ac_cv_type_long=yes
132385 echo "$as_me: failed program was:" >&5
132386 sed 's/^/| /' conftest.$ac_ext >&5
132388 ac_cv_type_long=no
132390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132392 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
132393 echo "${ECHO_T}$ac_cv_type_long" >&6
132395 echo "$as_me:$LINENO: checking size of long" >&5
132396 echo $ECHO_N "checking size of long... $ECHO_C" >&6
132397 if test "${ac_cv_sizeof_long+set}" = set; then
132398 echo $ECHO_N "(cached) $ECHO_C" >&6
132400 if test "$ac_cv_type_long" = yes; then
132401 # The cast to unsigned long works around a bug in the HP C Compiler
132402 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
132403 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
132404 # This bug is HP SR number 8606223364.
132405 if test "$cross_compiling" = yes; then
132406 # Depending upon the size, compute the lo and hi bounds.
132407 cat >conftest.$ac_ext <<_ACEOF
132408 /* confdefs.h. */
132409 _ACEOF
132410 cat confdefs.h >>conftest.$ac_ext
132411 cat >>conftest.$ac_ext <<_ACEOF
132412 /* end confdefs.h. */
132413 $ac_includes_default
132415 main ()
132417 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
132418 test_array [0] = 0
132421 return 0;
132423 _ACEOF
132424 rm -f conftest.$ac_objext
132425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132426 (eval $ac_compile) 2>conftest.er1
132427 ac_status=$?
132428 grep -v '^ *+' conftest.er1 >conftest.err
132429 rm -f conftest.er1
132430 cat conftest.err >&5
132431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132432 (exit $ac_status); } &&
132433 { ac_try='test -z "$ac_c_werror_flag"
132434 || test ! -s conftest.err'
132435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132436 (eval $ac_try) 2>&5
132437 ac_status=$?
132438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132439 (exit $ac_status); }; } &&
132440 { ac_try='test -s conftest.$ac_objext'
132441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132442 (eval $ac_try) 2>&5
132443 ac_status=$?
132444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132445 (exit $ac_status); }; }; then
132446 ac_lo=0 ac_mid=0
132447 while :; do
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 (long))) <= $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; break
132489 echo "$as_me: failed program was:" >&5
132490 sed 's/^/| /' conftest.$ac_ext >&5
132492 ac_lo=`expr $ac_mid + 1`
132493 if test $ac_lo -le $ac_mid; then
132494 ac_lo= ac_hi=
132495 break
132497 ac_mid=`expr 2 '*' $ac_mid + 1`
132499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132502 echo "$as_me: failed program was:" >&5
132503 sed 's/^/| /' conftest.$ac_ext >&5
132505 cat >conftest.$ac_ext <<_ACEOF
132506 /* confdefs.h. */
132507 _ACEOF
132508 cat confdefs.h >>conftest.$ac_ext
132509 cat >>conftest.$ac_ext <<_ACEOF
132510 /* end confdefs.h. */
132511 $ac_includes_default
132513 main ()
132515 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
132516 test_array [0] = 0
132519 return 0;
132521 _ACEOF
132522 rm -f conftest.$ac_objext
132523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132524 (eval $ac_compile) 2>conftest.er1
132525 ac_status=$?
132526 grep -v '^ *+' conftest.er1 >conftest.err
132527 rm -f conftest.er1
132528 cat conftest.err >&5
132529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132530 (exit $ac_status); } &&
132531 { ac_try='test -z "$ac_c_werror_flag"
132532 || test ! -s conftest.err'
132533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132534 (eval $ac_try) 2>&5
132535 ac_status=$?
132536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132537 (exit $ac_status); }; } &&
132538 { ac_try='test -s conftest.$ac_objext'
132539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132540 (eval $ac_try) 2>&5
132541 ac_status=$?
132542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132543 (exit $ac_status); }; }; then
132544 ac_hi=-1 ac_mid=-1
132545 while :; do
132546 cat >conftest.$ac_ext <<_ACEOF
132547 /* confdefs.h. */
132548 _ACEOF
132549 cat confdefs.h >>conftest.$ac_ext
132550 cat >>conftest.$ac_ext <<_ACEOF
132551 /* end confdefs.h. */
132552 $ac_includes_default
132554 main ()
132556 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
132557 test_array [0] = 0
132560 return 0;
132562 _ACEOF
132563 rm -f conftest.$ac_objext
132564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132565 (eval $ac_compile) 2>conftest.er1
132566 ac_status=$?
132567 grep -v '^ *+' conftest.er1 >conftest.err
132568 rm -f conftest.er1
132569 cat conftest.err >&5
132570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132571 (exit $ac_status); } &&
132572 { ac_try='test -z "$ac_c_werror_flag"
132573 || test ! -s conftest.err'
132574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132575 (eval $ac_try) 2>&5
132576 ac_status=$?
132577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132578 (exit $ac_status); }; } &&
132579 { ac_try='test -s conftest.$ac_objext'
132580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132581 (eval $ac_try) 2>&5
132582 ac_status=$?
132583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132584 (exit $ac_status); }; }; then
132585 ac_lo=$ac_mid; break
132587 echo "$as_me: failed program was:" >&5
132588 sed 's/^/| /' conftest.$ac_ext >&5
132590 ac_hi=`expr '(' $ac_mid ')' - 1`
132591 if test $ac_mid -le $ac_hi; then
132592 ac_lo= ac_hi=
132593 break
132595 ac_mid=`expr 2 '*' $ac_mid`
132597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132600 echo "$as_me: failed program was:" >&5
132601 sed 's/^/| /' conftest.$ac_ext >&5
132603 ac_lo= ac_hi=
132605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132608 # Binary search between lo and hi bounds.
132609 while test "x$ac_lo" != "x$ac_hi"; do
132610 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
132611 cat >conftest.$ac_ext <<_ACEOF
132612 /* confdefs.h. */
132613 _ACEOF
132614 cat confdefs.h >>conftest.$ac_ext
132615 cat >>conftest.$ac_ext <<_ACEOF
132616 /* end confdefs.h. */
132617 $ac_includes_default
132619 main ()
132621 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
132622 test_array [0] = 0
132625 return 0;
132627 _ACEOF
132628 rm -f conftest.$ac_objext
132629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132630 (eval $ac_compile) 2>conftest.er1
132631 ac_status=$?
132632 grep -v '^ *+' conftest.er1 >conftest.err
132633 rm -f conftest.er1
132634 cat conftest.err >&5
132635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132636 (exit $ac_status); } &&
132637 { ac_try='test -z "$ac_c_werror_flag"
132638 || test ! -s conftest.err'
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); }; } &&
132644 { ac_try='test -s conftest.$ac_objext'
132645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132646 (eval $ac_try) 2>&5
132647 ac_status=$?
132648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132649 (exit $ac_status); }; }; then
132650 ac_hi=$ac_mid
132652 echo "$as_me: failed program was:" >&5
132653 sed 's/^/| /' conftest.$ac_ext >&5
132655 ac_lo=`expr '(' $ac_mid ')' + 1`
132657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132659 case $ac_lo in
132660 ?*) ac_cv_sizeof_long=$ac_lo;;
132661 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
132662 echo "$as_me: error: in \`$ac_pwd':" >&2;}
132663 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
132664 See \`config.log' for more details." >&5
132665 echo "$as_me: error: cannot compute sizeof (long), 77
132666 See \`config.log' for more details." >&2;}
132667 { (exit 1); exit 1; }; }; } ;;
132670 if test "$cross_compiling" = yes; then
132671 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
132672 echo "$as_me: error: in \`$ac_pwd':" >&2;}
132673 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
132674 See \`config.log' for more details." >&5
132675 echo "$as_me: error: cannot run test program while cross compiling
132676 See \`config.log' for more details." >&2;}
132677 { (exit 1); exit 1; }; }; }
132679 cat >conftest.$ac_ext <<_ACEOF
132680 /* confdefs.h. */
132681 _ACEOF
132682 cat confdefs.h >>conftest.$ac_ext
132683 cat >>conftest.$ac_ext <<_ACEOF
132684 /* end confdefs.h. */
132685 $ac_includes_default
132686 long longval () { return (long) (sizeof (long)); }
132687 unsigned long ulongval () { return (long) (sizeof (long)); }
132688 #include <stdio.h>
132689 #include <stdlib.h>
132691 main ()
132694 FILE *f = fopen ("conftest.val", "w");
132695 if (! f)
132696 exit (1);
132697 if (((long) (sizeof (long))) < 0)
132699 long i = longval ();
132700 if (i != ((long) (sizeof (long))))
132701 exit (1);
132702 fprintf (f, "%ld\n", i);
132706 unsigned long i = ulongval ();
132707 if (i != ((long) (sizeof (long))))
132708 exit (1);
132709 fprintf (f, "%lu\n", i);
132711 exit (ferror (f) || fclose (f) != 0);
132714 return 0;
132716 _ACEOF
132717 rm -f conftest$ac_exeext
132718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
132719 (eval $ac_link) 2>&5
132720 ac_status=$?
132721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132722 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
132723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132724 (eval $ac_try) 2>&5
132725 ac_status=$?
132726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132727 (exit $ac_status); }; }; then
132728 ac_cv_sizeof_long=`cat conftest.val`
132730 echo "$as_me: program exited with status $ac_status" >&5
132731 echo "$as_me: failed program was:" >&5
132732 sed 's/^/| /' conftest.$ac_ext >&5
132734 ( exit $ac_status )
132735 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
132736 echo "$as_me: error: in \`$ac_pwd':" >&2;}
132737 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
132738 See \`config.log' for more details." >&5
132739 echo "$as_me: error: cannot compute sizeof (long), 77
132740 See \`config.log' for more details." >&2;}
132741 { (exit 1); exit 1; }; }; }
132743 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
132746 rm -f conftest.val
132748 ac_cv_sizeof_long=0
132751 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
132752 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
132753 cat >>confdefs.h <<_ACEOF
132754 #define SIZEOF_LONG $ac_cv_sizeof_long
132755 _ACEOF
132760 if test $acx_cv_header_stdint = stddef.h; then
132761 # Lacking a good header? Test size of everything and deduce all types.
132762 echo "$as_me:$LINENO: checking for int" >&5
132763 echo $ECHO_N "checking for int... $ECHO_C" >&6
132764 if test "${ac_cv_type_int+set}" = set; then
132765 echo $ECHO_N "(cached) $ECHO_C" >&6
132767 cat >conftest.$ac_ext <<_ACEOF
132768 /* confdefs.h. */
132769 _ACEOF
132770 cat confdefs.h >>conftest.$ac_ext
132771 cat >>conftest.$ac_ext <<_ACEOF
132772 /* end confdefs.h. */
132773 $ac_includes_default
132775 main ()
132777 if ((int *) 0)
132778 return 0;
132779 if (sizeof (int))
132780 return 0;
132782 return 0;
132784 _ACEOF
132785 rm -f conftest.$ac_objext
132786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132787 (eval $ac_compile) 2>conftest.er1
132788 ac_status=$?
132789 grep -v '^ *+' conftest.er1 >conftest.err
132790 rm -f conftest.er1
132791 cat conftest.err >&5
132792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132793 (exit $ac_status); } &&
132794 { ac_try='test -z "$ac_c_werror_flag"
132795 || test ! -s conftest.err'
132796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132797 (eval $ac_try) 2>&5
132798 ac_status=$?
132799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132800 (exit $ac_status); }; } &&
132801 { ac_try='test -s conftest.$ac_objext'
132802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132803 (eval $ac_try) 2>&5
132804 ac_status=$?
132805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132806 (exit $ac_status); }; }; then
132807 ac_cv_type_int=yes
132809 echo "$as_me: failed program was:" >&5
132810 sed 's/^/| /' conftest.$ac_ext >&5
132812 ac_cv_type_int=no
132814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132816 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
132817 echo "${ECHO_T}$ac_cv_type_int" >&6
132819 echo "$as_me:$LINENO: checking size of int" >&5
132820 echo $ECHO_N "checking size of int... $ECHO_C" >&6
132821 if test "${ac_cv_sizeof_int+set}" = set; then
132822 echo $ECHO_N "(cached) $ECHO_C" >&6
132824 if test "$ac_cv_type_int" = yes; then
132825 # The cast to unsigned long works around a bug in the HP C Compiler
132826 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
132827 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
132828 # This bug is HP SR number 8606223364.
132829 if test "$cross_compiling" = yes; then
132830 # Depending upon the size, compute the lo and hi bounds.
132831 cat >conftest.$ac_ext <<_ACEOF
132832 /* confdefs.h. */
132833 _ACEOF
132834 cat confdefs.h >>conftest.$ac_ext
132835 cat >>conftest.$ac_ext <<_ACEOF
132836 /* end confdefs.h. */
132837 $ac_includes_default
132839 main ()
132841 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
132842 test_array [0] = 0
132845 return 0;
132847 _ACEOF
132848 rm -f conftest.$ac_objext
132849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132850 (eval $ac_compile) 2>conftest.er1
132851 ac_status=$?
132852 grep -v '^ *+' conftest.er1 >conftest.err
132853 rm -f conftest.er1
132854 cat conftest.err >&5
132855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132856 (exit $ac_status); } &&
132857 { ac_try='test -z "$ac_c_werror_flag"
132858 || test ! -s conftest.err'
132859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132860 (eval $ac_try) 2>&5
132861 ac_status=$?
132862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132863 (exit $ac_status); }; } &&
132864 { ac_try='test -s conftest.$ac_objext'
132865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132866 (eval $ac_try) 2>&5
132867 ac_status=$?
132868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132869 (exit $ac_status); }; }; then
132870 ac_lo=0 ac_mid=0
132871 while :; do
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 (int))) <= $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; break
132913 echo "$as_me: failed program was:" >&5
132914 sed 's/^/| /' conftest.$ac_ext >&5
132916 ac_lo=`expr $ac_mid + 1`
132917 if test $ac_lo -le $ac_mid; then
132918 ac_lo= ac_hi=
132919 break
132921 ac_mid=`expr 2 '*' $ac_mid + 1`
132923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132926 echo "$as_me: failed program was:" >&5
132927 sed 's/^/| /' conftest.$ac_ext >&5
132929 cat >conftest.$ac_ext <<_ACEOF
132930 /* confdefs.h. */
132931 _ACEOF
132932 cat confdefs.h >>conftest.$ac_ext
132933 cat >>conftest.$ac_ext <<_ACEOF
132934 /* end confdefs.h. */
132935 $ac_includes_default
132937 main ()
132939 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
132940 test_array [0] = 0
132943 return 0;
132945 _ACEOF
132946 rm -f conftest.$ac_objext
132947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132948 (eval $ac_compile) 2>conftest.er1
132949 ac_status=$?
132950 grep -v '^ *+' conftest.er1 >conftest.err
132951 rm -f conftest.er1
132952 cat conftest.err >&5
132953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132954 (exit $ac_status); } &&
132955 { ac_try='test -z "$ac_c_werror_flag"
132956 || test ! -s conftest.err'
132957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132958 (eval $ac_try) 2>&5
132959 ac_status=$?
132960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132961 (exit $ac_status); }; } &&
132962 { ac_try='test -s conftest.$ac_objext'
132963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132964 (eval $ac_try) 2>&5
132965 ac_status=$?
132966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132967 (exit $ac_status); }; }; then
132968 ac_hi=-1 ac_mid=-1
132969 while :; do
132970 cat >conftest.$ac_ext <<_ACEOF
132971 /* confdefs.h. */
132972 _ACEOF
132973 cat confdefs.h >>conftest.$ac_ext
132974 cat >>conftest.$ac_ext <<_ACEOF
132975 /* end confdefs.h. */
132976 $ac_includes_default
132978 main ()
132980 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
132981 test_array [0] = 0
132984 return 0;
132986 _ACEOF
132987 rm -f conftest.$ac_objext
132988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132989 (eval $ac_compile) 2>conftest.er1
132990 ac_status=$?
132991 grep -v '^ *+' conftest.er1 >conftest.err
132992 rm -f conftest.er1
132993 cat conftest.err >&5
132994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132995 (exit $ac_status); } &&
132996 { ac_try='test -z "$ac_c_werror_flag"
132997 || test ! -s conftest.err'
132998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132999 (eval $ac_try) 2>&5
133000 ac_status=$?
133001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133002 (exit $ac_status); }; } &&
133003 { ac_try='test -s conftest.$ac_objext'
133004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133005 (eval $ac_try) 2>&5
133006 ac_status=$?
133007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133008 (exit $ac_status); }; }; then
133009 ac_lo=$ac_mid; break
133011 echo "$as_me: failed program was:" >&5
133012 sed 's/^/| /' conftest.$ac_ext >&5
133014 ac_hi=`expr '(' $ac_mid ')' - 1`
133015 if test $ac_mid -le $ac_hi; then
133016 ac_lo= ac_hi=
133017 break
133019 ac_mid=`expr 2 '*' $ac_mid`
133021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133024 echo "$as_me: failed program was:" >&5
133025 sed 's/^/| /' conftest.$ac_ext >&5
133027 ac_lo= ac_hi=
133029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133032 # Binary search between lo and hi bounds.
133033 while test "x$ac_lo" != "x$ac_hi"; do
133034 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
133035 cat >conftest.$ac_ext <<_ACEOF
133036 /* confdefs.h. */
133037 _ACEOF
133038 cat confdefs.h >>conftest.$ac_ext
133039 cat >>conftest.$ac_ext <<_ACEOF
133040 /* end confdefs.h. */
133041 $ac_includes_default
133043 main ()
133045 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
133046 test_array [0] = 0
133049 return 0;
133051 _ACEOF
133052 rm -f conftest.$ac_objext
133053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133054 (eval $ac_compile) 2>conftest.er1
133055 ac_status=$?
133056 grep -v '^ *+' conftest.er1 >conftest.err
133057 rm -f conftest.er1
133058 cat conftest.err >&5
133059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133060 (exit $ac_status); } &&
133061 { ac_try='test -z "$ac_c_werror_flag"
133062 || test ! -s conftest.err'
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); }; } &&
133068 { ac_try='test -s conftest.$ac_objext'
133069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133070 (eval $ac_try) 2>&5
133071 ac_status=$?
133072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133073 (exit $ac_status); }; }; then
133074 ac_hi=$ac_mid
133076 echo "$as_me: failed program was:" >&5
133077 sed 's/^/| /' conftest.$ac_ext >&5
133079 ac_lo=`expr '(' $ac_mid ')' + 1`
133081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133083 case $ac_lo in
133084 ?*) ac_cv_sizeof_int=$ac_lo;;
133085 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
133086 echo "$as_me: error: in \`$ac_pwd':" >&2;}
133087 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
133088 See \`config.log' for more details." >&5
133089 echo "$as_me: error: cannot compute sizeof (int), 77
133090 See \`config.log' for more details." >&2;}
133091 { (exit 1); exit 1; }; }; } ;;
133094 if test "$cross_compiling" = yes; then
133095 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
133096 echo "$as_me: error: in \`$ac_pwd':" >&2;}
133097 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
133098 See \`config.log' for more details." >&5
133099 echo "$as_me: error: cannot run test program while cross compiling
133100 See \`config.log' for more details." >&2;}
133101 { (exit 1); exit 1; }; }; }
133103 cat >conftest.$ac_ext <<_ACEOF
133104 /* confdefs.h. */
133105 _ACEOF
133106 cat confdefs.h >>conftest.$ac_ext
133107 cat >>conftest.$ac_ext <<_ACEOF
133108 /* end confdefs.h. */
133109 $ac_includes_default
133110 long longval () { return (long) (sizeof (int)); }
133111 unsigned long ulongval () { return (long) (sizeof (int)); }
133112 #include <stdio.h>
133113 #include <stdlib.h>
133115 main ()
133118 FILE *f = fopen ("conftest.val", "w");
133119 if (! f)
133120 exit (1);
133121 if (((long) (sizeof (int))) < 0)
133123 long i = longval ();
133124 if (i != ((long) (sizeof (int))))
133125 exit (1);
133126 fprintf (f, "%ld\n", i);
133130 unsigned long i = ulongval ();
133131 if (i != ((long) (sizeof (int))))
133132 exit (1);
133133 fprintf (f, "%lu\n", i);
133135 exit (ferror (f) || fclose (f) != 0);
133138 return 0;
133140 _ACEOF
133141 rm -f conftest$ac_exeext
133142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
133143 (eval $ac_link) 2>&5
133144 ac_status=$?
133145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
133147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133148 (eval $ac_try) 2>&5
133149 ac_status=$?
133150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133151 (exit $ac_status); }; }; then
133152 ac_cv_sizeof_int=`cat conftest.val`
133154 echo "$as_me: program exited with status $ac_status" >&5
133155 echo "$as_me: failed program was:" >&5
133156 sed 's/^/| /' conftest.$ac_ext >&5
133158 ( exit $ac_status )
133159 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
133160 echo "$as_me: error: in \`$ac_pwd':" >&2;}
133161 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
133162 See \`config.log' for more details." >&5
133163 echo "$as_me: error: cannot compute sizeof (int), 77
133164 See \`config.log' for more details." >&2;}
133165 { (exit 1); exit 1; }; }; }
133167 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
133170 rm -f conftest.val
133172 ac_cv_sizeof_int=0
133175 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
133176 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
133177 cat >>confdefs.h <<_ACEOF
133178 #define SIZEOF_INT $ac_cv_sizeof_int
133179 _ACEOF
133182 echo "$as_me:$LINENO: checking for short" >&5
133183 echo $ECHO_N "checking for short... $ECHO_C" >&6
133184 if test "${ac_cv_type_short+set}" = set; then
133185 echo $ECHO_N "(cached) $ECHO_C" >&6
133187 cat >conftest.$ac_ext <<_ACEOF
133188 /* confdefs.h. */
133189 _ACEOF
133190 cat confdefs.h >>conftest.$ac_ext
133191 cat >>conftest.$ac_ext <<_ACEOF
133192 /* end confdefs.h. */
133193 $ac_includes_default
133195 main ()
133197 if ((short *) 0)
133198 return 0;
133199 if (sizeof (short))
133200 return 0;
133202 return 0;
133204 _ACEOF
133205 rm -f conftest.$ac_objext
133206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133207 (eval $ac_compile) 2>conftest.er1
133208 ac_status=$?
133209 grep -v '^ *+' conftest.er1 >conftest.err
133210 rm -f conftest.er1
133211 cat conftest.err >&5
133212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133213 (exit $ac_status); } &&
133214 { ac_try='test -z "$ac_c_werror_flag"
133215 || test ! -s conftest.err'
133216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133217 (eval $ac_try) 2>&5
133218 ac_status=$?
133219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133220 (exit $ac_status); }; } &&
133221 { ac_try='test -s conftest.$ac_objext'
133222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133223 (eval $ac_try) 2>&5
133224 ac_status=$?
133225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133226 (exit $ac_status); }; }; then
133227 ac_cv_type_short=yes
133229 echo "$as_me: failed program was:" >&5
133230 sed 's/^/| /' conftest.$ac_ext >&5
133232 ac_cv_type_short=no
133234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133236 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
133237 echo "${ECHO_T}$ac_cv_type_short" >&6
133239 echo "$as_me:$LINENO: checking size of short" >&5
133240 echo $ECHO_N "checking size of short... $ECHO_C" >&6
133241 if test "${ac_cv_sizeof_short+set}" = set; then
133242 echo $ECHO_N "(cached) $ECHO_C" >&6
133244 if test "$ac_cv_type_short" = yes; then
133245 # The cast to unsigned long works around a bug in the HP C Compiler
133246 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
133247 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
133248 # This bug is HP SR number 8606223364.
133249 if test "$cross_compiling" = yes; then
133250 # Depending upon the size, compute the lo and hi bounds.
133251 cat >conftest.$ac_ext <<_ACEOF
133252 /* confdefs.h. */
133253 _ACEOF
133254 cat confdefs.h >>conftest.$ac_ext
133255 cat >>conftest.$ac_ext <<_ACEOF
133256 /* end confdefs.h. */
133257 $ac_includes_default
133259 main ()
133261 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
133262 test_array [0] = 0
133265 return 0;
133267 _ACEOF
133268 rm -f conftest.$ac_objext
133269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133270 (eval $ac_compile) 2>conftest.er1
133271 ac_status=$?
133272 grep -v '^ *+' conftest.er1 >conftest.err
133273 rm -f conftest.er1
133274 cat conftest.err >&5
133275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133276 (exit $ac_status); } &&
133277 { ac_try='test -z "$ac_c_werror_flag"
133278 || test ! -s conftest.err'
133279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133280 (eval $ac_try) 2>&5
133281 ac_status=$?
133282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133283 (exit $ac_status); }; } &&
133284 { ac_try='test -s conftest.$ac_objext'
133285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133286 (eval $ac_try) 2>&5
133287 ac_status=$?
133288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133289 (exit $ac_status); }; }; then
133290 ac_lo=0 ac_mid=0
133291 while :; do
133292 cat >conftest.$ac_ext <<_ACEOF
133293 /* confdefs.h. */
133294 _ACEOF
133295 cat confdefs.h >>conftest.$ac_ext
133296 cat >>conftest.$ac_ext <<_ACEOF
133297 /* end confdefs.h. */
133298 $ac_includes_default
133300 main ()
133302 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
133303 test_array [0] = 0
133306 return 0;
133308 _ACEOF
133309 rm -f conftest.$ac_objext
133310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133311 (eval $ac_compile) 2>conftest.er1
133312 ac_status=$?
133313 grep -v '^ *+' conftest.er1 >conftest.err
133314 rm -f conftest.er1
133315 cat conftest.err >&5
133316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133317 (exit $ac_status); } &&
133318 { ac_try='test -z "$ac_c_werror_flag"
133319 || test ! -s conftest.err'
133320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133321 (eval $ac_try) 2>&5
133322 ac_status=$?
133323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133324 (exit $ac_status); }; } &&
133325 { ac_try='test -s conftest.$ac_objext'
133326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133327 (eval $ac_try) 2>&5
133328 ac_status=$?
133329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133330 (exit $ac_status); }; }; then
133331 ac_hi=$ac_mid; break
133333 echo "$as_me: failed program was:" >&5
133334 sed 's/^/| /' conftest.$ac_ext >&5
133336 ac_lo=`expr $ac_mid + 1`
133337 if test $ac_lo -le $ac_mid; then
133338 ac_lo= ac_hi=
133339 break
133341 ac_mid=`expr 2 '*' $ac_mid + 1`
133343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133346 echo "$as_me: failed program was:" >&5
133347 sed 's/^/| /' conftest.$ac_ext >&5
133349 cat >conftest.$ac_ext <<_ACEOF
133350 /* confdefs.h. */
133351 _ACEOF
133352 cat confdefs.h >>conftest.$ac_ext
133353 cat >>conftest.$ac_ext <<_ACEOF
133354 /* end confdefs.h. */
133355 $ac_includes_default
133357 main ()
133359 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
133360 test_array [0] = 0
133363 return 0;
133365 _ACEOF
133366 rm -f conftest.$ac_objext
133367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133368 (eval $ac_compile) 2>conftest.er1
133369 ac_status=$?
133370 grep -v '^ *+' conftest.er1 >conftest.err
133371 rm -f conftest.er1
133372 cat conftest.err >&5
133373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133374 (exit $ac_status); } &&
133375 { ac_try='test -z "$ac_c_werror_flag"
133376 || test ! -s conftest.err'
133377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133378 (eval $ac_try) 2>&5
133379 ac_status=$?
133380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133381 (exit $ac_status); }; } &&
133382 { ac_try='test -s conftest.$ac_objext'
133383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133384 (eval $ac_try) 2>&5
133385 ac_status=$?
133386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133387 (exit $ac_status); }; }; then
133388 ac_hi=-1 ac_mid=-1
133389 while :; do
133390 cat >conftest.$ac_ext <<_ACEOF
133391 /* confdefs.h. */
133392 _ACEOF
133393 cat confdefs.h >>conftest.$ac_ext
133394 cat >>conftest.$ac_ext <<_ACEOF
133395 /* end confdefs.h. */
133396 $ac_includes_default
133398 main ()
133400 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
133401 test_array [0] = 0
133404 return 0;
133406 _ACEOF
133407 rm -f conftest.$ac_objext
133408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133409 (eval $ac_compile) 2>conftest.er1
133410 ac_status=$?
133411 grep -v '^ *+' conftest.er1 >conftest.err
133412 rm -f conftest.er1
133413 cat conftest.err >&5
133414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133415 (exit $ac_status); } &&
133416 { ac_try='test -z "$ac_c_werror_flag"
133417 || test ! -s conftest.err'
133418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133419 (eval $ac_try) 2>&5
133420 ac_status=$?
133421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133422 (exit $ac_status); }; } &&
133423 { ac_try='test -s conftest.$ac_objext'
133424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133425 (eval $ac_try) 2>&5
133426 ac_status=$?
133427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133428 (exit $ac_status); }; }; then
133429 ac_lo=$ac_mid; break
133431 echo "$as_me: failed program was:" >&5
133432 sed 's/^/| /' conftest.$ac_ext >&5
133434 ac_hi=`expr '(' $ac_mid ')' - 1`
133435 if test $ac_mid -le $ac_hi; then
133436 ac_lo= ac_hi=
133437 break
133439 ac_mid=`expr 2 '*' $ac_mid`
133441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133444 echo "$as_me: failed program was:" >&5
133445 sed 's/^/| /' conftest.$ac_ext >&5
133447 ac_lo= ac_hi=
133449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133452 # Binary search between lo and hi bounds.
133453 while test "x$ac_lo" != "x$ac_hi"; do
133454 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
133455 cat >conftest.$ac_ext <<_ACEOF
133456 /* confdefs.h. */
133457 _ACEOF
133458 cat confdefs.h >>conftest.$ac_ext
133459 cat >>conftest.$ac_ext <<_ACEOF
133460 /* end confdefs.h. */
133461 $ac_includes_default
133463 main ()
133465 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
133466 test_array [0] = 0
133469 return 0;
133471 _ACEOF
133472 rm -f conftest.$ac_objext
133473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133474 (eval $ac_compile) 2>conftest.er1
133475 ac_status=$?
133476 grep -v '^ *+' conftest.er1 >conftest.err
133477 rm -f conftest.er1
133478 cat conftest.err >&5
133479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133480 (exit $ac_status); } &&
133481 { ac_try='test -z "$ac_c_werror_flag"
133482 || test ! -s conftest.err'
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); }; } &&
133488 { ac_try='test -s conftest.$ac_objext'
133489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133490 (eval $ac_try) 2>&5
133491 ac_status=$?
133492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133493 (exit $ac_status); }; }; then
133494 ac_hi=$ac_mid
133496 echo "$as_me: failed program was:" >&5
133497 sed 's/^/| /' conftest.$ac_ext >&5
133499 ac_lo=`expr '(' $ac_mid ')' + 1`
133501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133503 case $ac_lo in
133504 ?*) ac_cv_sizeof_short=$ac_lo;;
133505 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
133506 echo "$as_me: error: in \`$ac_pwd':" >&2;}
133507 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
133508 See \`config.log' for more details." >&5
133509 echo "$as_me: error: cannot compute sizeof (short), 77
133510 See \`config.log' for more details." >&2;}
133511 { (exit 1); exit 1; }; }; } ;;
133514 if test "$cross_compiling" = yes; then
133515 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
133516 echo "$as_me: error: in \`$ac_pwd':" >&2;}
133517 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
133518 See \`config.log' for more details." >&5
133519 echo "$as_me: error: cannot run test program while cross compiling
133520 See \`config.log' for more details." >&2;}
133521 { (exit 1); exit 1; }; }; }
133523 cat >conftest.$ac_ext <<_ACEOF
133524 /* confdefs.h. */
133525 _ACEOF
133526 cat confdefs.h >>conftest.$ac_ext
133527 cat >>conftest.$ac_ext <<_ACEOF
133528 /* end confdefs.h. */
133529 $ac_includes_default
133530 long longval () { return (long) (sizeof (short)); }
133531 unsigned long ulongval () { return (long) (sizeof (short)); }
133532 #include <stdio.h>
133533 #include <stdlib.h>
133535 main ()
133538 FILE *f = fopen ("conftest.val", "w");
133539 if (! f)
133540 exit (1);
133541 if (((long) (sizeof (short))) < 0)
133543 long i = longval ();
133544 if (i != ((long) (sizeof (short))))
133545 exit (1);
133546 fprintf (f, "%ld\n", i);
133550 unsigned long i = ulongval ();
133551 if (i != ((long) (sizeof (short))))
133552 exit (1);
133553 fprintf (f, "%lu\n", i);
133555 exit (ferror (f) || fclose (f) != 0);
133558 return 0;
133560 _ACEOF
133561 rm -f conftest$ac_exeext
133562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
133563 (eval $ac_link) 2>&5
133564 ac_status=$?
133565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133566 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
133567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133568 (eval $ac_try) 2>&5
133569 ac_status=$?
133570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133571 (exit $ac_status); }; }; then
133572 ac_cv_sizeof_short=`cat conftest.val`
133574 echo "$as_me: program exited with status $ac_status" >&5
133575 echo "$as_me: failed program was:" >&5
133576 sed 's/^/| /' conftest.$ac_ext >&5
133578 ( exit $ac_status )
133579 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
133580 echo "$as_me: error: in \`$ac_pwd':" >&2;}
133581 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
133582 See \`config.log' for more details." >&5
133583 echo "$as_me: error: cannot compute sizeof (short), 77
133584 See \`config.log' for more details." >&2;}
133585 { (exit 1); exit 1; }; }; }
133587 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
133590 rm -f conftest.val
133592 ac_cv_sizeof_short=0
133595 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
133596 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
133597 cat >>confdefs.h <<_ACEOF
133598 #define SIZEOF_SHORT $ac_cv_sizeof_short
133599 _ACEOF
133602 echo "$as_me:$LINENO: checking for char" >&5
133603 echo $ECHO_N "checking for char... $ECHO_C" >&6
133604 if test "${ac_cv_type_char+set}" = set; then
133605 echo $ECHO_N "(cached) $ECHO_C" >&6
133607 cat >conftest.$ac_ext <<_ACEOF
133608 /* confdefs.h. */
133609 _ACEOF
133610 cat confdefs.h >>conftest.$ac_ext
133611 cat >>conftest.$ac_ext <<_ACEOF
133612 /* end confdefs.h. */
133613 $ac_includes_default
133615 main ()
133617 if ((char *) 0)
133618 return 0;
133619 if (sizeof (char))
133620 return 0;
133622 return 0;
133624 _ACEOF
133625 rm -f conftest.$ac_objext
133626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133627 (eval $ac_compile) 2>conftest.er1
133628 ac_status=$?
133629 grep -v '^ *+' conftest.er1 >conftest.err
133630 rm -f conftest.er1
133631 cat conftest.err >&5
133632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133633 (exit $ac_status); } &&
133634 { ac_try='test -z "$ac_c_werror_flag"
133635 || test ! -s conftest.err'
133636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133637 (eval $ac_try) 2>&5
133638 ac_status=$?
133639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133640 (exit $ac_status); }; } &&
133641 { ac_try='test -s conftest.$ac_objext'
133642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133643 (eval $ac_try) 2>&5
133644 ac_status=$?
133645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133646 (exit $ac_status); }; }; then
133647 ac_cv_type_char=yes
133649 echo "$as_me: failed program was:" >&5
133650 sed 's/^/| /' conftest.$ac_ext >&5
133652 ac_cv_type_char=no
133654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133656 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
133657 echo "${ECHO_T}$ac_cv_type_char" >&6
133659 echo "$as_me:$LINENO: checking size of char" >&5
133660 echo $ECHO_N "checking size of char... $ECHO_C" >&6
133661 if test "${ac_cv_sizeof_char+set}" = set; then
133662 echo $ECHO_N "(cached) $ECHO_C" >&6
133664 if test "$ac_cv_type_char" = yes; then
133665 # The cast to unsigned long works around a bug in the HP C Compiler
133666 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
133667 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
133668 # This bug is HP SR number 8606223364.
133669 if test "$cross_compiling" = yes; then
133670 # Depending upon the size, compute the lo and hi bounds.
133671 cat >conftest.$ac_ext <<_ACEOF
133672 /* confdefs.h. */
133673 _ACEOF
133674 cat confdefs.h >>conftest.$ac_ext
133675 cat >>conftest.$ac_ext <<_ACEOF
133676 /* end confdefs.h. */
133677 $ac_includes_default
133679 main ()
133681 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
133682 test_array [0] = 0
133685 return 0;
133687 _ACEOF
133688 rm -f conftest.$ac_objext
133689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133690 (eval $ac_compile) 2>conftest.er1
133691 ac_status=$?
133692 grep -v '^ *+' conftest.er1 >conftest.err
133693 rm -f conftest.er1
133694 cat conftest.err >&5
133695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133696 (exit $ac_status); } &&
133697 { ac_try='test -z "$ac_c_werror_flag"
133698 || test ! -s conftest.err'
133699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133700 (eval $ac_try) 2>&5
133701 ac_status=$?
133702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133703 (exit $ac_status); }; } &&
133704 { ac_try='test -s conftest.$ac_objext'
133705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133706 (eval $ac_try) 2>&5
133707 ac_status=$?
133708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133709 (exit $ac_status); }; }; then
133710 ac_lo=0 ac_mid=0
133711 while :; do
133712 cat >conftest.$ac_ext <<_ACEOF
133713 /* confdefs.h. */
133714 _ACEOF
133715 cat confdefs.h >>conftest.$ac_ext
133716 cat >>conftest.$ac_ext <<_ACEOF
133717 /* end confdefs.h. */
133718 $ac_includes_default
133720 main ()
133722 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
133723 test_array [0] = 0
133726 return 0;
133728 _ACEOF
133729 rm -f conftest.$ac_objext
133730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133731 (eval $ac_compile) 2>conftest.er1
133732 ac_status=$?
133733 grep -v '^ *+' conftest.er1 >conftest.err
133734 rm -f conftest.er1
133735 cat conftest.err >&5
133736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133737 (exit $ac_status); } &&
133738 { ac_try='test -z "$ac_c_werror_flag"
133739 || test ! -s conftest.err'
133740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133741 (eval $ac_try) 2>&5
133742 ac_status=$?
133743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133744 (exit $ac_status); }; } &&
133745 { ac_try='test -s conftest.$ac_objext'
133746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133747 (eval $ac_try) 2>&5
133748 ac_status=$?
133749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133750 (exit $ac_status); }; }; then
133751 ac_hi=$ac_mid; break
133753 echo "$as_me: failed program was:" >&5
133754 sed 's/^/| /' conftest.$ac_ext >&5
133756 ac_lo=`expr $ac_mid + 1`
133757 if test $ac_lo -le $ac_mid; then
133758 ac_lo= ac_hi=
133759 break
133761 ac_mid=`expr 2 '*' $ac_mid + 1`
133763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133766 echo "$as_me: failed program was:" >&5
133767 sed 's/^/| /' conftest.$ac_ext >&5
133769 cat >conftest.$ac_ext <<_ACEOF
133770 /* confdefs.h. */
133771 _ACEOF
133772 cat confdefs.h >>conftest.$ac_ext
133773 cat >>conftest.$ac_ext <<_ACEOF
133774 /* end confdefs.h. */
133775 $ac_includes_default
133777 main ()
133779 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
133780 test_array [0] = 0
133783 return 0;
133785 _ACEOF
133786 rm -f conftest.$ac_objext
133787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133788 (eval $ac_compile) 2>conftest.er1
133789 ac_status=$?
133790 grep -v '^ *+' conftest.er1 >conftest.err
133791 rm -f conftest.er1
133792 cat conftest.err >&5
133793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133794 (exit $ac_status); } &&
133795 { ac_try='test -z "$ac_c_werror_flag"
133796 || test ! -s conftest.err'
133797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133798 (eval $ac_try) 2>&5
133799 ac_status=$?
133800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133801 (exit $ac_status); }; } &&
133802 { ac_try='test -s conftest.$ac_objext'
133803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133804 (eval $ac_try) 2>&5
133805 ac_status=$?
133806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133807 (exit $ac_status); }; }; then
133808 ac_hi=-1 ac_mid=-1
133809 while :; do
133810 cat >conftest.$ac_ext <<_ACEOF
133811 /* confdefs.h. */
133812 _ACEOF
133813 cat confdefs.h >>conftest.$ac_ext
133814 cat >>conftest.$ac_ext <<_ACEOF
133815 /* end confdefs.h. */
133816 $ac_includes_default
133818 main ()
133820 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
133821 test_array [0] = 0
133824 return 0;
133826 _ACEOF
133827 rm -f conftest.$ac_objext
133828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133829 (eval $ac_compile) 2>conftest.er1
133830 ac_status=$?
133831 grep -v '^ *+' conftest.er1 >conftest.err
133832 rm -f conftest.er1
133833 cat conftest.err >&5
133834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133835 (exit $ac_status); } &&
133836 { ac_try='test -z "$ac_c_werror_flag"
133837 || test ! -s conftest.err'
133838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133839 (eval $ac_try) 2>&5
133840 ac_status=$?
133841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133842 (exit $ac_status); }; } &&
133843 { ac_try='test -s conftest.$ac_objext'
133844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133845 (eval $ac_try) 2>&5
133846 ac_status=$?
133847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133848 (exit $ac_status); }; }; then
133849 ac_lo=$ac_mid; break
133851 echo "$as_me: failed program was:" >&5
133852 sed 's/^/| /' conftest.$ac_ext >&5
133854 ac_hi=`expr '(' $ac_mid ')' - 1`
133855 if test $ac_mid -le $ac_hi; then
133856 ac_lo= ac_hi=
133857 break
133859 ac_mid=`expr 2 '*' $ac_mid`
133861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133864 echo "$as_me: failed program was:" >&5
133865 sed 's/^/| /' conftest.$ac_ext >&5
133867 ac_lo= ac_hi=
133869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133872 # Binary search between lo and hi bounds.
133873 while test "x$ac_lo" != "x$ac_hi"; do
133874 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
133875 cat >conftest.$ac_ext <<_ACEOF
133876 /* confdefs.h. */
133877 _ACEOF
133878 cat confdefs.h >>conftest.$ac_ext
133879 cat >>conftest.$ac_ext <<_ACEOF
133880 /* end confdefs.h. */
133881 $ac_includes_default
133883 main ()
133885 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
133886 test_array [0] = 0
133889 return 0;
133891 _ACEOF
133892 rm -f conftest.$ac_objext
133893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133894 (eval $ac_compile) 2>conftest.er1
133895 ac_status=$?
133896 grep -v '^ *+' conftest.er1 >conftest.err
133897 rm -f conftest.er1
133898 cat conftest.err >&5
133899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133900 (exit $ac_status); } &&
133901 { ac_try='test -z "$ac_c_werror_flag"
133902 || test ! -s conftest.err'
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); }; } &&
133908 { ac_try='test -s conftest.$ac_objext'
133909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133910 (eval $ac_try) 2>&5
133911 ac_status=$?
133912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133913 (exit $ac_status); }; }; then
133914 ac_hi=$ac_mid
133916 echo "$as_me: failed program was:" >&5
133917 sed 's/^/| /' conftest.$ac_ext >&5
133919 ac_lo=`expr '(' $ac_mid ')' + 1`
133921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133923 case $ac_lo in
133924 ?*) ac_cv_sizeof_char=$ac_lo;;
133925 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
133926 echo "$as_me: error: in \`$ac_pwd':" >&2;}
133927 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
133928 See \`config.log' for more details." >&5
133929 echo "$as_me: error: cannot compute sizeof (char), 77
133930 See \`config.log' for more details." >&2;}
133931 { (exit 1); exit 1; }; }; } ;;
133934 if test "$cross_compiling" = yes; then
133935 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
133936 echo "$as_me: error: in \`$ac_pwd':" >&2;}
133937 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
133938 See \`config.log' for more details." >&5
133939 echo "$as_me: error: cannot run test program while cross compiling
133940 See \`config.log' for more details." >&2;}
133941 { (exit 1); exit 1; }; }; }
133943 cat >conftest.$ac_ext <<_ACEOF
133944 /* confdefs.h. */
133945 _ACEOF
133946 cat confdefs.h >>conftest.$ac_ext
133947 cat >>conftest.$ac_ext <<_ACEOF
133948 /* end confdefs.h. */
133949 $ac_includes_default
133950 long longval () { return (long) (sizeof (char)); }
133951 unsigned long ulongval () { return (long) (sizeof (char)); }
133952 #include <stdio.h>
133953 #include <stdlib.h>
133955 main ()
133958 FILE *f = fopen ("conftest.val", "w");
133959 if (! f)
133960 exit (1);
133961 if (((long) (sizeof (char))) < 0)
133963 long i = longval ();
133964 if (i != ((long) (sizeof (char))))
133965 exit (1);
133966 fprintf (f, "%ld\n", i);
133970 unsigned long i = ulongval ();
133971 if (i != ((long) (sizeof (char))))
133972 exit (1);
133973 fprintf (f, "%lu\n", i);
133975 exit (ferror (f) || fclose (f) != 0);
133978 return 0;
133980 _ACEOF
133981 rm -f conftest$ac_exeext
133982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
133983 (eval $ac_link) 2>&5
133984 ac_status=$?
133985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133986 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
133987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133988 (eval $ac_try) 2>&5
133989 ac_status=$?
133990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133991 (exit $ac_status); }; }; then
133992 ac_cv_sizeof_char=`cat conftest.val`
133994 echo "$as_me: program exited with status $ac_status" >&5
133995 echo "$as_me: failed program was:" >&5
133996 sed 's/^/| /' conftest.$ac_ext >&5
133998 ( exit $ac_status )
133999 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
134000 echo "$as_me: error: in \`$ac_pwd':" >&2;}
134001 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
134002 See \`config.log' for more details." >&5
134003 echo "$as_me: error: cannot compute sizeof (char), 77
134004 See \`config.log' for more details." >&2;}
134005 { (exit 1); exit 1; }; }; }
134007 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
134010 rm -f conftest.val
134012 ac_cv_sizeof_char=0
134015 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
134016 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
134017 cat >>confdefs.h <<_ACEOF
134018 #define SIZEOF_CHAR $ac_cv_sizeof_char
134019 _ACEOF
134023 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
134024 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
134025 case "$ac_cv_sizeof_char" in
134026 1) acx_cv_type_int8_t=char ;;
134027 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
134028 echo "$as_me: error: no 8-bit type" >&2;}
134029 { (exit please report a bug); exit please report a bug; }; }
134031 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
134032 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
134034 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
134035 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
134036 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
134037 2:*) acx_cv_type_int16_t=int ;;
134038 *:2) acx_cv_type_int16_t=short ;;
134039 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
134040 echo "$as_me: error: no 16-bit type" >&2;}
134041 { (exit please report a bug); exit please report a bug; }; }
134043 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
134044 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
134046 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
134047 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
134048 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
134049 4:*) acx_cv_type_int32_t=int ;;
134050 *:4) acx_cv_type_int32_t=long ;;
134051 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
134052 echo "$as_me: error: no 32-bit type" >&2;}
134053 { (exit please report a bug); exit please report a bug; }; }
134055 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
134056 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
134059 # These tests are here to make the output prettier
134061 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
134062 case "$ac_cv_sizeof_long" in
134063 8) acx_cv_type_int64_t=long ;;
134065 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
134066 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
134067 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
134068 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
134071 # Now we can use the above types
134073 if test "$ac_cv_type_uintptr_t" != yes; then
134074 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
134075 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
134076 case $ac_cv_sizeof_void_p in
134077 2) acx_cv_type_intptr_t=int16_t ;;
134078 4) acx_cv_type_intptr_t=int32_t ;;
134079 8) acx_cv_type_intptr_t=int64_t ;;
134080 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
134081 echo "$as_me: error: no equivalent for intptr_t" >&2;}
134082 { (exit please report a bug); exit please report a bug; }; }
134084 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
134085 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
134088 # ----------------- done all checks, emit header -------------
134089 ac_config_commands="$ac_config_commands include/gstdint.h"
134094 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
134097 # Check whether --enable-symvers or --disable-symvers was given.
134098 if test "${enable_symvers+set}" = set; then
134099 enableval="$enable_symvers"
134101 case "$enableval" in
134102 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
134103 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
134104 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
134105 { (exit 1); exit 1; }; } ;;
134109 enable_symvers=yes
134113 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
134114 # don't know enough about $LD to do tricks...
134117 # Turn a 'yes' into a suitable default.
134118 if test x$enable_symvers = xyes ; then
134119 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
134120 enable_symvers=no
134122 if test $with_gnu_ld = yes ; then
134123 case ${target_os} in
134124 cygwin* | pe | mingw32* | hpux*)
134125 enable_symvers=no ;;
134127 enable_symvers=gnu ;;
134130 case ${target_os} in
134131 darwin*)
134132 enable_symvers=darwin ;;
134134 enable_symvers=no ;;
134140 # Check to see if 'darwin' or 'darwin-export' can win.
134141 if test x$enable_symvers = xdarwin-export ; then
134142 enable_symvers=darwin
134145 # Check to see if 'gnu' can win.
134146 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
134147 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
134148 echo "$as_me:$LINENO: checking for shared libgcc" >&5
134149 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
134150 ac_save_CFLAGS="$CFLAGS"
134151 CFLAGS=' -lgcc_s'
134152 if test x$gcc_no_link = xyes; then
134153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
134154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
134155 { (exit 1); exit 1; }; }
134157 cat >conftest.$ac_ext <<_ACEOF
134158 /* confdefs.h. */
134159 _ACEOF
134160 cat confdefs.h >>conftest.$ac_ext
134161 cat >>conftest.$ac_ext <<_ACEOF
134162 /* end confdefs.h. */
134165 main ()
134167 return 0;
134169 return 0;
134171 _ACEOF
134172 rm -f conftest.$ac_objext conftest$ac_exeext
134173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
134174 (eval $ac_link) 2>conftest.er1
134175 ac_status=$?
134176 grep -v '^ *+' conftest.er1 >conftest.err
134177 rm -f conftest.er1
134178 cat conftest.err >&5
134179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134180 (exit $ac_status); } &&
134181 { ac_try='test -z "$ac_c_werror_flag"
134182 || test ! -s conftest.err'
134183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134184 (eval $ac_try) 2>&5
134185 ac_status=$?
134186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134187 (exit $ac_status); }; } &&
134188 { ac_try='test -s conftest$ac_exeext'
134189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134190 (eval $ac_try) 2>&5
134191 ac_status=$?
134192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134193 (exit $ac_status); }; }; then
134194 glibcxx_shared_libgcc=yes
134196 echo "$as_me: failed program was:" >&5
134197 sed 's/^/| /' conftest.$ac_ext >&5
134199 glibcxx_shared_libgcc=no
134201 rm -f conftest.err conftest.$ac_objext \
134202 conftest$ac_exeext conftest.$ac_ext
134203 CFLAGS="$ac_save_CFLAGS"
134204 if test $glibcxx_shared_libgcc = no; then
134205 cat > conftest.c <<EOF
134206 int main (void) { return 0; }
134208 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
134209 -shared -shared-libgcc -o conftest.so \
134210 conftest.c -v 2>&1 >/dev/null \
134211 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
134212 rm -f conftest.c conftest.so
134213 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
134214 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
134215 if test x$gcc_no_link = xyes; then
134216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
134217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
134218 { (exit 1); exit 1; }; }
134220 cat >conftest.$ac_ext <<_ACEOF
134221 /* confdefs.h. */
134222 _ACEOF
134223 cat confdefs.h >>conftest.$ac_ext
134224 cat >>conftest.$ac_ext <<_ACEOF
134225 /* end confdefs.h. */
134228 main ()
134230 return 0;
134232 return 0;
134234 _ACEOF
134235 rm -f conftest.$ac_objext conftest$ac_exeext
134236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
134237 (eval $ac_link) 2>conftest.er1
134238 ac_status=$?
134239 grep -v '^ *+' conftest.er1 >conftest.err
134240 rm -f conftest.er1
134241 cat conftest.err >&5
134242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134243 (exit $ac_status); } &&
134244 { ac_try='test -z "$ac_c_werror_flag"
134245 || test ! -s conftest.err'
134246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134247 (eval $ac_try) 2>&5
134248 ac_status=$?
134249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134250 (exit $ac_status); }; } &&
134251 { ac_try='test -s conftest$ac_exeext'
134252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134253 (eval $ac_try) 2>&5
134254 ac_status=$?
134255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134256 (exit $ac_status); }; }; then
134257 glibcxx_shared_libgcc=yes
134259 echo "$as_me: failed program was:" >&5
134260 sed 's/^/| /' conftest.$ac_ext >&5
134263 rm -f conftest.err conftest.$ac_objext \
134264 conftest$ac_exeext conftest.$ac_ext
134265 CFLAGS="$ac_save_CFLAGS"
134268 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
134269 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
134271 # For GNU ld, we need at least this version. The format is described in
134272 # GLIBCXX_CHECK_LINKER_FEATURES above.
134273 glibcxx_min_gnu_ld_version=21400
134275 # If no shared libgcc, can't win.
134276 if test $glibcxx_shared_libgcc != yes; then
134277 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
134278 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
134279 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
134280 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
134281 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
134282 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
134283 enable_symvers=no
134284 elif test $with_gnu_ld != yes ; then
134285 # just fail for now
134286 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
134287 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
134288 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
134289 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
134290 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
134291 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
134292 enable_symvers=no
134293 elif test $glibcxx_ld_is_gold = yes ; then
134294 : All versions of gold support symbol versioning.
134295 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
134296 # The right tools, the right setup, but too old. Fallbacks?
134297 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
134298 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
134299 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
134300 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
134301 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
134302 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
134303 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
134304 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
134305 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
134306 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
134307 enable_symvers=no
134311 # Everything parsed; figure out what file to use.
134312 case $enable_symvers in
134314 SYMVER_FILE=config/abi/pre/none.ver
134317 SYMVER_FILE=config/abi/pre/gnu.ver
134319 cat >>confdefs.h <<\_ACEOF
134320 #define _GLIBCXX_SYMVER_GNU 1
134321 _ACEOF
134324 gnu-versioned-namespace)
134325 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
134327 cat >>confdefs.h <<\_ACEOF
134328 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
134329 _ACEOF
134332 darwin)
134333 SYMVER_FILE=config/abi/pre/gnu.ver
134335 cat >>confdefs.h <<\_ACEOF
134336 #define _GLIBCXX_SYMVER_DARWIN 1
134337 _ACEOF
134342 if test x$enable_symvers != xno ; then
134344 cat >>confdefs.h <<\_ACEOF
134345 #define _GLIBCXX_SYMVER 1
134346 _ACEOF
134350 echo "$as_me:$LINENO: checking whether the target supports .symver directive" >&5
134351 echo $ECHO_N "checking whether the target supports .symver directive... $ECHO_C" >&6
134352 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then
134353 echo $ECHO_N "(cached) $ECHO_C" >&6
134356 cat >conftest.$ac_ext <<_ACEOF
134357 /* confdefs.h. */
134358 _ACEOF
134359 cat confdefs.h >>conftest.$ac_ext
134360 cat >>conftest.$ac_ext <<_ACEOF
134361 /* end confdefs.h. */
134362 void foo (void); __asm (".symver foo, bar@SYMVER");
134364 main ()
134368 return 0;
134370 _ACEOF
134371 rm -f conftest.$ac_objext
134372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
134373 (eval $ac_compile) 2>conftest.er1
134374 ac_status=$?
134375 grep -v '^ *+' conftest.er1 >conftest.err
134376 rm -f conftest.er1
134377 cat conftest.err >&5
134378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134379 (exit $ac_status); } &&
134380 { ac_try='test -z "$ac_c_werror_flag"
134381 || test ! -s conftest.err'
134382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134383 (eval $ac_try) 2>&5
134384 ac_status=$?
134385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134386 (exit $ac_status); }; } &&
134387 { ac_try='test -s conftest.$ac_objext'
134388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134389 (eval $ac_try) 2>&5
134390 ac_status=$?
134391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134392 (exit $ac_status); }; }; then
134393 glibcxx_cv_have_as_symver_directive=yes
134395 echo "$as_me: failed program was:" >&5
134396 sed 's/^/| /' conftest.$ac_ext >&5
134398 glibcxx_cv_have_as_symver_directive=no
134400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
134402 echo "$as_me:$LINENO: result: $glibcxx_cv_have_as_symver_directive" >&5
134403 echo "${ECHO_T}$glibcxx_cv_have_as_symver_directive" >&6
134404 if test $glibcxx_cv_have_as_symver_directive = yes; then
134406 cat >>confdefs.h <<\_ACEOF
134407 #define HAVE_AS_SYMVER_DIRECTIVE 1
134408 _ACEOF
134418 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
134419 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
134421 # Now, set up compatibility support, if any.
134422 # In addition, need this to deal with std::size_t mangling in
134423 # src/compatibility.cc. In a perfect world, could use
134424 # typeid(std::size_t).name()[0] to do direct substitution.
134425 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
134426 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
134427 ac_save_CFLAGS="$CFLAGS"
134428 CFLAGS="-Werror"
134429 cat >conftest.$ac_ext <<_ACEOF
134430 /* confdefs.h. */
134431 _ACEOF
134432 cat confdefs.h >>conftest.$ac_ext
134433 cat >>conftest.$ac_ext <<_ACEOF
134434 /* end confdefs.h. */
134437 main ()
134439 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
134441 return 0;
134443 _ACEOF
134444 rm -f conftest.$ac_objext
134445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
134446 (eval $ac_compile) 2>conftest.er1
134447 ac_status=$?
134448 grep -v '^ *+' conftest.er1 >conftest.err
134449 rm -f conftest.er1
134450 cat conftest.err >&5
134451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134452 (exit $ac_status); } &&
134453 { ac_try='test -z "$ac_c_werror_flag"
134454 || test ! -s conftest.err'
134455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134456 (eval $ac_try) 2>&5
134457 ac_status=$?
134458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134459 (exit $ac_status); }; } &&
134460 { ac_try='test -s conftest.$ac_objext'
134461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134462 (eval $ac_try) 2>&5
134463 ac_status=$?
134464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134465 (exit $ac_status); }; }; then
134466 glibcxx_size_t_is_i=yes
134468 echo "$as_me: failed program was:" >&5
134469 sed 's/^/| /' conftest.$ac_ext >&5
134471 glibcxx_size_t_is_i=no
134473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
134474 CFLAGS=$ac_save_CFLAGS
134475 if test "$glibcxx_size_t_is_i" = yes; then
134477 cat >>confdefs.h <<\_ACEOF
134478 #define _GLIBCXX_SIZE_T_IS_UINT 1
134479 _ACEOF
134482 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
134483 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
134485 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
134486 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
134487 ac_save_CFLAGS="$CFLAGS"
134488 CFLAGS="-Werror"
134489 cat >conftest.$ac_ext <<_ACEOF
134490 /* confdefs.h. */
134491 _ACEOF
134492 cat confdefs.h >>conftest.$ac_ext
134493 cat >>conftest.$ac_ext <<_ACEOF
134494 /* end confdefs.h. */
134497 main ()
134499 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
134501 return 0;
134503 _ACEOF
134504 rm -f conftest.$ac_objext
134505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
134506 (eval $ac_compile) 2>conftest.er1
134507 ac_status=$?
134508 grep -v '^ *+' conftest.er1 >conftest.err
134509 rm -f conftest.er1
134510 cat conftest.err >&5
134511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134512 (exit $ac_status); } &&
134513 { ac_try='test -z "$ac_c_werror_flag"
134514 || test ! -s conftest.err'
134515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134516 (eval $ac_try) 2>&5
134517 ac_status=$?
134518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134519 (exit $ac_status); }; } &&
134520 { ac_try='test -s conftest.$ac_objext'
134521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134522 (eval $ac_try) 2>&5
134523 ac_status=$?
134524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134525 (exit $ac_status); }; }; then
134526 glibcxx_ptrdiff_t_is_i=yes
134528 echo "$as_me: failed program was:" >&5
134529 sed 's/^/| /' conftest.$ac_ext >&5
134531 glibcxx_ptrdiff_t_is_i=no
134533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
134534 CFLAGS=$ac_save_CFLAGS
134535 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
134537 cat >>confdefs.h <<\_ACEOF
134538 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
134539 _ACEOF
134542 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
134543 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
134546 # Check whether --enable-visibility or --disable-visibility was given.
134547 if test "${enable_visibility+set}" = set; then
134548 enableval="$enable_visibility"
134550 case "$enableval" in
134551 yes|no) ;;
134552 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
134553 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
134554 { (exit 1); exit 1; }; } ;;
134558 enable_visibility=yes
134562 if test x$enable_visibility = xyes ; then
134563 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
134564 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
134565 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then
134566 echo $ECHO_N "(cached) $ECHO_C" >&6
134569 save_CFLAGS="$CFLAGS"
134570 CFLAGS="$CFLAGS -Werror"
134571 cat >conftest.$ac_ext <<_ACEOF
134572 /* confdefs.h. */
134573 _ACEOF
134574 cat confdefs.h >>conftest.$ac_ext
134575 cat >>conftest.$ac_ext <<_ACEOF
134576 /* end confdefs.h. */
134577 void __attribute__((visibility("hidden"))) foo(void) { }
134579 main ()
134583 return 0;
134585 _ACEOF
134586 rm -f conftest.$ac_objext
134587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
134588 (eval $ac_compile) 2>conftest.er1
134589 ac_status=$?
134590 grep -v '^ *+' conftest.er1 >conftest.err
134591 rm -f conftest.er1
134592 cat conftest.err >&5
134593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134594 (exit $ac_status); } &&
134595 { ac_try='test -z "$ac_c_werror_flag"
134596 || test ! -s conftest.err'
134597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134598 (eval $ac_try) 2>&5
134599 ac_status=$?
134600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134601 (exit $ac_status); }; } &&
134602 { ac_try='test -s conftest.$ac_objext'
134603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134604 (eval $ac_try) 2>&5
134605 ac_status=$?
134606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134607 (exit $ac_status); }; }; then
134608 glibcxx_cv_have_attribute_visibility=yes
134610 echo "$as_me: failed program was:" >&5
134611 sed 's/^/| /' conftest.$ac_ext >&5
134613 glibcxx_cv_have_attribute_visibility=no
134615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
134616 CFLAGS="$save_CFLAGS"
134618 echo "$as_me:$LINENO: result: $glibcxx_cv_have_attribute_visibility" >&5
134619 echo "${ECHO_T}$glibcxx_cv_have_attribute_visibility" >&6
134620 if test $glibcxx_cv_have_attribute_visibility = no; then
134621 enable_visibility=no
134626 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
134627 echo "$as_me: visibility supported: $enable_visibility" >&6;}
134630 ac_ldbl_compat=no
134631 case "$target" in
134632 powerpc*-*-linux* | \
134633 powerpc*-*-gnu* | \
134634 sparc*-*-linux* | \
134635 s390*-*-linux* | \
134636 alpha*-*-linux*)
134637 cat >conftest.$ac_ext <<_ACEOF
134638 /* confdefs.h. */
134639 _ACEOF
134640 cat confdefs.h >>conftest.$ac_ext
134641 cat >>conftest.$ac_ext <<_ACEOF
134642 /* end confdefs.h. */
134645 main ()
134648 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
134649 #error no need for long double compatibility
134650 #endif
134653 return 0;
134655 _ACEOF
134656 rm -f conftest.$ac_objext
134657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
134658 (eval $ac_compile) 2>conftest.er1
134659 ac_status=$?
134660 grep -v '^ *+' conftest.er1 >conftest.err
134661 rm -f conftest.er1
134662 cat conftest.err >&5
134663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134664 (exit $ac_status); } &&
134665 { ac_try='test -z "$ac_c_werror_flag"
134666 || test ! -s conftest.err'
134667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134668 (eval $ac_try) 2>&5
134669 ac_status=$?
134670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134671 (exit $ac_status); }; } &&
134672 { ac_try='test -s conftest.$ac_objext'
134673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134674 (eval $ac_try) 2>&5
134675 ac_status=$?
134676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134677 (exit $ac_status); }; }; then
134678 ac_ldbl_compat=yes
134680 echo "$as_me: failed program was:" >&5
134681 sed 's/^/| /' conftest.$ac_ext >&5
134683 ac_ldbl_compat=no
134685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
134686 if test "$ac_ldbl_compat" = yes; then
134688 cat >>confdefs.h <<\_ACEOF
134689 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
134690 _ACEOF
134692 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
134697 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
134699 if $GLIBCXX_IS_NATIVE ; then
134700 # Do checks for resource limit functions.
134702 setrlimit_have_headers=yes
134706 for ac_header in unistd.h sys/time.h sys/resource.h
134708 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
134709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
134710 echo "$as_me:$LINENO: checking for $ac_header" >&5
134711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
134712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
134713 echo $ECHO_N "(cached) $ECHO_C" >&6
134715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
134716 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
134718 # Is the header compilable?
134719 echo "$as_me:$LINENO: checking $ac_header usability" >&5
134720 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
134721 cat >conftest.$ac_ext <<_ACEOF
134722 /* confdefs.h. */
134723 _ACEOF
134724 cat confdefs.h >>conftest.$ac_ext
134725 cat >>conftest.$ac_ext <<_ACEOF
134726 /* end confdefs.h. */
134727 $ac_includes_default
134728 #include <$ac_header>
134729 _ACEOF
134730 rm -f conftest.$ac_objext
134731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
134732 (eval $ac_compile) 2>conftest.er1
134733 ac_status=$?
134734 grep -v '^ *+' conftest.er1 >conftest.err
134735 rm -f conftest.er1
134736 cat conftest.err >&5
134737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134738 (exit $ac_status); } &&
134739 { ac_try='test -z "$ac_c_werror_flag"
134740 || test ! -s conftest.err'
134741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134742 (eval $ac_try) 2>&5
134743 ac_status=$?
134744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134745 (exit $ac_status); }; } &&
134746 { ac_try='test -s conftest.$ac_objext'
134747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134748 (eval $ac_try) 2>&5
134749 ac_status=$?
134750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134751 (exit $ac_status); }; }; then
134752 ac_header_compiler=yes
134754 echo "$as_me: failed program was:" >&5
134755 sed 's/^/| /' conftest.$ac_ext >&5
134757 ac_header_compiler=no
134759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
134760 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
134761 echo "${ECHO_T}$ac_header_compiler" >&6
134763 # Is the header present?
134764 echo "$as_me:$LINENO: checking $ac_header presence" >&5
134765 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
134766 cat >conftest.$ac_ext <<_ACEOF
134767 /* confdefs.h. */
134768 _ACEOF
134769 cat confdefs.h >>conftest.$ac_ext
134770 cat >>conftest.$ac_ext <<_ACEOF
134771 /* end confdefs.h. */
134772 #include <$ac_header>
134773 _ACEOF
134774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
134775 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
134776 ac_status=$?
134777 grep -v '^ *+' conftest.er1 >conftest.err
134778 rm -f conftest.er1
134779 cat conftest.err >&5
134780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134781 (exit $ac_status); } >/dev/null; then
134782 if test -s conftest.err; then
134783 ac_cpp_err=$ac_c_preproc_warn_flag
134784 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
134786 ac_cpp_err=
134789 ac_cpp_err=yes
134791 if test -z "$ac_cpp_err"; then
134792 ac_header_preproc=yes
134794 echo "$as_me: failed program was:" >&5
134795 sed 's/^/| /' conftest.$ac_ext >&5
134797 ac_header_preproc=no
134799 rm -f conftest.err conftest.$ac_ext
134800 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
134801 echo "${ECHO_T}$ac_header_preproc" >&6
134803 # So? What about this header?
134804 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
134805 yes:no: )
134806 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
134807 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
134808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
134809 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
134810 ac_header_preproc=yes
134812 no:yes:* )
134813 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
134814 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
134815 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
134816 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
134817 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
134818 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
134819 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
134820 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
134821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
134822 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
134823 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
134824 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
134826 cat <<\_ASBOX
134827 ## ----------------------------------------- ##
134828 ## Report this to the package-unused lists. ##
134829 ## ----------------------------------------- ##
134830 _ASBOX
134832 sed "s/^/$as_me: WARNING: /" >&2
134835 echo "$as_me:$LINENO: checking for $ac_header" >&5
134836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
134837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
134838 echo $ECHO_N "(cached) $ECHO_C" >&6
134840 eval "$as_ac_Header=\$ac_header_preproc"
134842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
134843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
134846 if test `eval echo '${'$as_ac_Header'}'` = yes; then
134847 cat >>confdefs.h <<_ACEOF
134848 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
134849 _ACEOF
134852 setrlimit_have_headers=no
134857 # If don't have the headers, then we can't run the tests now, and we
134858 # won't be seeing any of these during testsuite compilation.
134859 if test $setrlimit_have_headers = yes; then
134860 # Can't do these in a loop, else the resulting syntax is wrong.
134862 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
134863 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
134864 cat >conftest.$ac_ext <<_ACEOF
134865 /* confdefs.h. */
134866 _ACEOF
134867 cat confdefs.h >>conftest.$ac_ext
134868 cat >>conftest.$ac_ext <<_ACEOF
134869 /* end confdefs.h. */
134870 #include <unistd.h>
134871 #include <sys/time.h>
134872 #include <sys/resource.h>
134875 main ()
134877 int f = RLIMIT_DATA ;
134879 return 0;
134881 _ACEOF
134882 rm -f conftest.$ac_objext
134883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
134884 (eval $ac_compile) 2>conftest.er1
134885 ac_status=$?
134886 grep -v '^ *+' conftest.er1 >conftest.err
134887 rm -f conftest.er1
134888 cat conftest.err >&5
134889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134890 (exit $ac_status); } &&
134891 { ac_try='test -z "$ac_c_werror_flag"
134892 || test ! -s conftest.err'
134893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134894 (eval $ac_try) 2>&5
134895 ac_status=$?
134896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134897 (exit $ac_status); }; } &&
134898 { ac_try='test -s conftest.$ac_objext'
134899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134900 (eval $ac_try) 2>&5
134901 ac_status=$?
134902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134903 (exit $ac_status); }; }; then
134904 glibcxx_mresult=1
134906 echo "$as_me: failed program was:" >&5
134907 sed 's/^/| /' conftest.$ac_ext >&5
134909 glibcxx_mresult=0
134911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
134913 cat >>confdefs.h <<_ACEOF
134914 #define HAVE_LIMIT_DATA $glibcxx_mresult
134915 _ACEOF
134917 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
134918 echo "$as_me:$LINENO: result: $res" >&5
134919 echo "${ECHO_T}$res" >&6
134922 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
134923 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
134924 cat >conftest.$ac_ext <<_ACEOF
134925 /* confdefs.h. */
134926 _ACEOF
134927 cat confdefs.h >>conftest.$ac_ext
134928 cat >>conftest.$ac_ext <<_ACEOF
134929 /* end confdefs.h. */
134930 #include <unistd.h>
134931 #include <sys/time.h>
134932 #include <sys/resource.h>
134935 main ()
134937 int f = RLIMIT_RSS ;
134939 return 0;
134941 _ACEOF
134942 rm -f conftest.$ac_objext
134943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
134944 (eval $ac_compile) 2>conftest.er1
134945 ac_status=$?
134946 grep -v '^ *+' conftest.er1 >conftest.err
134947 rm -f conftest.er1
134948 cat conftest.err >&5
134949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134950 (exit $ac_status); } &&
134951 { ac_try='test -z "$ac_c_werror_flag"
134952 || test ! -s conftest.err'
134953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134954 (eval $ac_try) 2>&5
134955 ac_status=$?
134956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134957 (exit $ac_status); }; } &&
134958 { ac_try='test -s conftest.$ac_objext'
134959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134960 (eval $ac_try) 2>&5
134961 ac_status=$?
134962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134963 (exit $ac_status); }; }; then
134964 glibcxx_mresult=1
134966 echo "$as_me: failed program was:" >&5
134967 sed 's/^/| /' conftest.$ac_ext >&5
134969 glibcxx_mresult=0
134971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
134973 cat >>confdefs.h <<_ACEOF
134974 #define HAVE_LIMIT_RSS $glibcxx_mresult
134975 _ACEOF
134977 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
134978 echo "$as_me:$LINENO: result: $res" >&5
134979 echo "${ECHO_T}$res" >&6
134982 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
134983 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
134984 cat >conftest.$ac_ext <<_ACEOF
134985 /* confdefs.h. */
134986 _ACEOF
134987 cat confdefs.h >>conftest.$ac_ext
134988 cat >>conftest.$ac_ext <<_ACEOF
134989 /* end confdefs.h. */
134990 #include <unistd.h>
134991 #include <sys/time.h>
134992 #include <sys/resource.h>
134995 main ()
134997 int f = RLIMIT_VMEM ;
134999 return 0;
135001 _ACEOF
135002 rm -f conftest.$ac_objext
135003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
135004 (eval $ac_compile) 2>conftest.er1
135005 ac_status=$?
135006 grep -v '^ *+' conftest.er1 >conftest.err
135007 rm -f conftest.er1
135008 cat conftest.err >&5
135009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135010 (exit $ac_status); } &&
135011 { ac_try='test -z "$ac_c_werror_flag"
135012 || test ! -s conftest.err'
135013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135014 (eval $ac_try) 2>&5
135015 ac_status=$?
135016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135017 (exit $ac_status); }; } &&
135018 { ac_try='test -s conftest.$ac_objext'
135019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135020 (eval $ac_try) 2>&5
135021 ac_status=$?
135022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135023 (exit $ac_status); }; }; then
135024 glibcxx_mresult=1
135026 echo "$as_me: failed program was:" >&5
135027 sed 's/^/| /' conftest.$ac_ext >&5
135029 glibcxx_mresult=0
135031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
135033 cat >>confdefs.h <<_ACEOF
135034 #define HAVE_LIMIT_VMEM $glibcxx_mresult
135035 _ACEOF
135037 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
135038 echo "$as_me:$LINENO: result: $res" >&5
135039 echo "${ECHO_T}$res" >&6
135042 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
135043 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
135044 cat >conftest.$ac_ext <<_ACEOF
135045 /* confdefs.h. */
135046 _ACEOF
135047 cat confdefs.h >>conftest.$ac_ext
135048 cat >>conftest.$ac_ext <<_ACEOF
135049 /* end confdefs.h. */
135050 #include <unistd.h>
135051 #include <sys/time.h>
135052 #include <sys/resource.h>
135055 main ()
135057 int f = RLIMIT_AS ;
135059 return 0;
135061 _ACEOF
135062 rm -f conftest.$ac_objext
135063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
135064 (eval $ac_compile) 2>conftest.er1
135065 ac_status=$?
135066 grep -v '^ *+' conftest.er1 >conftest.err
135067 rm -f conftest.er1
135068 cat conftest.err >&5
135069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135070 (exit $ac_status); } &&
135071 { ac_try='test -z "$ac_c_werror_flag"
135072 || test ! -s conftest.err'
135073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135074 (eval $ac_try) 2>&5
135075 ac_status=$?
135076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135077 (exit $ac_status); }; } &&
135078 { ac_try='test -s conftest.$ac_objext'
135079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135080 (eval $ac_try) 2>&5
135081 ac_status=$?
135082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135083 (exit $ac_status); }; }; then
135084 glibcxx_mresult=1
135086 echo "$as_me: failed program was:" >&5
135087 sed 's/^/| /' conftest.$ac_ext >&5
135089 glibcxx_mresult=0
135091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
135093 cat >>confdefs.h <<_ACEOF
135094 #define HAVE_LIMIT_AS $glibcxx_mresult
135095 _ACEOF
135097 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
135098 echo "$as_me:$LINENO: result: $res" >&5
135099 echo "${ECHO_T}$res" >&6
135102 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
135103 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
135104 cat >conftest.$ac_ext <<_ACEOF
135105 /* confdefs.h. */
135106 _ACEOF
135107 cat confdefs.h >>conftest.$ac_ext
135108 cat >>conftest.$ac_ext <<_ACEOF
135109 /* end confdefs.h. */
135110 #include <unistd.h>
135111 #include <sys/time.h>
135112 #include <sys/resource.h>
135115 main ()
135117 int f = RLIMIT_FSIZE ;
135119 return 0;
135121 _ACEOF
135122 rm -f conftest.$ac_objext
135123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
135124 (eval $ac_compile) 2>conftest.er1
135125 ac_status=$?
135126 grep -v '^ *+' conftest.er1 >conftest.err
135127 rm -f conftest.er1
135128 cat conftest.err >&5
135129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135130 (exit $ac_status); } &&
135131 { ac_try='test -z "$ac_c_werror_flag"
135132 || test ! -s conftest.err'
135133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135134 (eval $ac_try) 2>&5
135135 ac_status=$?
135136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135137 (exit $ac_status); }; } &&
135138 { ac_try='test -s conftest.$ac_objext'
135139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135140 (eval $ac_try) 2>&5
135141 ac_status=$?
135142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135143 (exit $ac_status); }; }; then
135144 glibcxx_mresult=1
135146 echo "$as_me: failed program was:" >&5
135147 sed 's/^/| /' conftest.$ac_ext >&5
135149 glibcxx_mresult=0
135151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
135153 cat >>confdefs.h <<_ACEOF
135154 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
135155 _ACEOF
135157 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
135158 echo "$as_me:$LINENO: result: $res" >&5
135159 echo "${ECHO_T}$res" >&6
135162 # Check for rlimit, setrlimit.
135163 if test "${glibcxx_cv_setrlimit+set}" = set; then
135164 echo $ECHO_N "(cached) $ECHO_C" >&6
135167 cat >conftest.$ac_ext <<_ACEOF
135168 /* confdefs.h. */
135169 _ACEOF
135170 cat confdefs.h >>conftest.$ac_ext
135171 cat >>conftest.$ac_ext <<_ACEOF
135172 /* end confdefs.h. */
135173 #include <unistd.h>
135174 #include <sys/time.h>
135175 #include <sys/resource.h>
135178 main ()
135180 struct rlimit r;
135181 setrlimit(0, &r);
135183 return 0;
135185 _ACEOF
135186 rm -f conftest.$ac_objext
135187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
135188 (eval $ac_compile) 2>conftest.er1
135189 ac_status=$?
135190 grep -v '^ *+' conftest.er1 >conftest.err
135191 rm -f conftest.er1
135192 cat conftest.err >&5
135193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135194 (exit $ac_status); } &&
135195 { ac_try='test -z "$ac_c_werror_flag"
135196 || test ! -s conftest.err'
135197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135198 (eval $ac_try) 2>&5
135199 ac_status=$?
135200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135201 (exit $ac_status); }; } &&
135202 { ac_try='test -s conftest.$ac_objext'
135203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135204 (eval $ac_try) 2>&5
135205 ac_status=$?
135206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135207 (exit $ac_status); }; }; then
135208 glibcxx_cv_setrlimit=yes
135210 echo "$as_me: failed program was:" >&5
135211 sed 's/^/| /' conftest.$ac_ext >&5
135213 glibcxx_cv_setrlimit=no
135215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
135221 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
135222 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
135223 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
135224 ac_res_limits=yes
135226 cat >>confdefs.h <<\_ACEOF
135227 #define _GLIBCXX_RES_LIMITS 1
135228 _ACEOF
135231 ac_res_limits=no
135233 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
135234 echo "${ECHO_T}$ac_res_limits" >&6
135237 # Look for setenv, so that extended locale tests can be performed.
135239 echo "$as_me:$LINENO: checking for setenv declaration" >&5
135240 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
135241 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
135242 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
135243 echo $ECHO_N "(cached) $ECHO_C" >&6
135248 ac_ext=cc
135249 ac_cpp='$CXXCPP $CPPFLAGS'
135250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
135251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
135252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
135254 cat >conftest.$ac_ext <<_ACEOF
135255 /* confdefs.h. */
135256 _ACEOF
135257 cat confdefs.h >>conftest.$ac_ext
135258 cat >>conftest.$ac_ext <<_ACEOF
135259 /* end confdefs.h. */
135260 #include <stdlib.h>
135262 main ()
135264 setenv(0, 0, 0);
135266 return 0;
135268 _ACEOF
135269 rm -f conftest.$ac_objext
135270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
135271 (eval $ac_compile) 2>conftest.er1
135272 ac_status=$?
135273 grep -v '^ *+' conftest.er1 >conftest.err
135274 rm -f conftest.er1
135275 cat conftest.err >&5
135276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135277 (exit $ac_status); } &&
135278 { ac_try='test -z "$ac_cxx_werror_flag"
135279 || test ! -s conftest.err'
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); }; } &&
135285 { ac_try='test -s conftest.$ac_objext'
135286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135287 (eval $ac_try) 2>&5
135288 ac_status=$?
135289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135290 (exit $ac_status); }; }; then
135291 glibcxx_cv_func_setenv_use=yes
135293 echo "$as_me: failed program was:" >&5
135294 sed 's/^/| /' conftest.$ac_ext >&5
135296 glibcxx_cv_func_setenv_use=no
135298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
135299 ac_ext=c
135300 ac_cpp='$CPP $CPPFLAGS'
135301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
135302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
135303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
135309 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
135310 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
135311 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
135313 for ac_func in setenv
135315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
135316 echo "$as_me:$LINENO: checking for $ac_func" >&5
135317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
135318 if eval "test \"\${$as_ac_var+set}\" = set"; then
135319 echo $ECHO_N "(cached) $ECHO_C" >&6
135321 if test x$gcc_no_link = xyes; then
135322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
135323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
135324 { (exit 1); exit 1; }; }
135326 cat >conftest.$ac_ext <<_ACEOF
135327 /* confdefs.h. */
135328 _ACEOF
135329 cat confdefs.h >>conftest.$ac_ext
135330 cat >>conftest.$ac_ext <<_ACEOF
135331 /* end confdefs.h. */
135332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
135333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
135334 #define $ac_func innocuous_$ac_func
135336 /* System header to define __stub macros and hopefully few prototypes,
135337 which can conflict with char $ac_func (); below.
135338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
135339 <limits.h> exists even on freestanding compilers. */
135341 #ifdef __STDC__
135342 # include <limits.h>
135343 #else
135344 # include <assert.h>
135345 #endif
135347 #undef $ac_func
135349 /* Override any gcc2 internal prototype to avoid an error. */
135350 #ifdef __cplusplus
135351 extern "C"
135353 #endif
135354 /* We use char because int might match the return type of a gcc2
135355 builtin and then its argument prototype would still apply. */
135356 char $ac_func ();
135357 /* The GNU C library defines this for functions which it implements
135358 to always fail with ENOSYS. Some functions are actually named
135359 something starting with __ and the normal name is an alias. */
135360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
135361 choke me
135362 #else
135363 char (*f) () = $ac_func;
135364 #endif
135365 #ifdef __cplusplus
135367 #endif
135370 main ()
135372 return f != $ac_func;
135374 return 0;
135376 _ACEOF
135377 rm -f conftest.$ac_objext conftest$ac_exeext
135378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
135379 (eval $ac_link) 2>conftest.er1
135380 ac_status=$?
135381 grep -v '^ *+' conftest.er1 >conftest.err
135382 rm -f conftest.er1
135383 cat conftest.err >&5
135384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135385 (exit $ac_status); } &&
135386 { ac_try='test -z "$ac_c_werror_flag"
135387 || test ! -s conftest.err'
135388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135389 (eval $ac_try) 2>&5
135390 ac_status=$?
135391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135392 (exit $ac_status); }; } &&
135393 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
135399 eval "$as_ac_var=yes"
135401 echo "$as_me: failed program was:" >&5
135402 sed 's/^/| /' conftest.$ac_ext >&5
135404 eval "$as_ac_var=no"
135406 rm -f conftest.err conftest.$ac_objext \
135407 conftest$ac_exeext conftest.$ac_ext
135409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
135410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
135411 if test `eval echo '${'$as_ac_var'}'` = yes; then
135412 cat >>confdefs.h <<_ACEOF
135413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
135414 _ACEOF
135423 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
135424 test $enable_symvers != no; then
135425 case "$host" in
135426 *-*-cygwin*)
135427 enable_abi_check=no ;;
135429 enable_abi_check=yes ;;
135432 # Only build this as native, since automake does not understand
135433 # CXX_FOR_BUILD.
135434 enable_abi_check=no
135437 # Export file names for ABI checking.
135438 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
135442 # Propagate the target-specific source directories through the build chain.
135443 ATOMICITY_SRCDIR=config/${atomicity_dir}
135444 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
135445 ATOMIC_FLAGS=${atomic_flags}
135446 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
135447 OS_INC_SRCDIR=config/${os_include_dir}
135448 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
135449 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
135459 # Determine cross-compile flags and AM_CONDITIONALs.
135460 #AC_SUBST(GLIBCXX_IS_NATIVE)
135461 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
135464 if test $is_hosted = yes; then
135465 GLIBCXX_HOSTED_TRUE=
135466 GLIBCXX_HOSTED_FALSE='#'
135468 GLIBCXX_HOSTED_TRUE='#'
135469 GLIBCXX_HOSTED_FALSE=
135475 if test $enable_libstdcxx_pch = yes; then
135476 GLIBCXX_BUILD_PCH_TRUE=
135477 GLIBCXX_BUILD_PCH_FALSE='#'
135479 GLIBCXX_BUILD_PCH_TRUE='#'
135480 GLIBCXX_BUILD_PCH_FALSE=
135486 if test $enable_cheaders = c; then
135487 GLIBCXX_C_HEADERS_C_TRUE=
135488 GLIBCXX_C_HEADERS_C_FALSE='#'
135490 GLIBCXX_C_HEADERS_C_TRUE='#'
135491 GLIBCXX_C_HEADERS_C_FALSE=
135497 if test $enable_cheaders = c_std; then
135498 GLIBCXX_C_HEADERS_C_STD_TRUE=
135499 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
135501 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
135502 GLIBCXX_C_HEADERS_C_STD_FALSE=
135508 if test $enable_cheaders = c_global; then
135509 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
135510 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
135512 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
135513 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
135519 if test $c_compatibility = yes; then
135520 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
135521 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
135523 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
135524 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
135530 if test $c_extra = yes; then
135531 GLIBCXX_C_HEADERS_EXTRA_TRUE=
135532 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
135534 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
135535 GLIBCXX_C_HEADERS_EXTRA_FALSE=
135541 if test $enable_libstdcxx_debug = yes; then
135542 GLIBCXX_BUILD_DEBUG_TRUE=
135543 GLIBCXX_BUILD_DEBUG_FALSE='#'
135545 GLIBCXX_BUILD_DEBUG_TRUE='#'
135546 GLIBCXX_BUILD_DEBUG_FALSE=
135552 if test $enable_parallel = yes; then
135553 ENABLE_PARALLEL_TRUE=
135554 ENABLE_PARALLEL_FALSE='#'
135556 ENABLE_PARALLEL_TRUE='#'
135557 ENABLE_PARALLEL_FALSE=
135563 if test $enable_symvers != no; then
135564 ENABLE_SYMVERS_TRUE=
135565 ENABLE_SYMVERS_FALSE='#'
135567 ENABLE_SYMVERS_TRUE='#'
135568 ENABLE_SYMVERS_FALSE=
135574 if test $enable_symvers = gnu; then
135575 ENABLE_SYMVERS_GNU_TRUE=
135576 ENABLE_SYMVERS_GNU_FALSE='#'
135578 ENABLE_SYMVERS_GNU_TRUE='#'
135579 ENABLE_SYMVERS_GNU_FALSE=
135585 if test $enable_symvers = gnu-versioned-namespace; then
135586 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
135587 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
135589 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
135590 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
135596 if test $enable_symvers = darwin; then
135597 ENABLE_SYMVERS_DARWIN_TRUE=
135598 ENABLE_SYMVERS_DARWIN_FALSE='#'
135600 ENABLE_SYMVERS_DARWIN_TRUE='#'
135601 ENABLE_SYMVERS_DARWIN_FALSE=
135607 if test $enable_visibility = yes; then
135608 ENABLE_VISIBILITY_TRUE=
135609 ENABLE_VISIBILITY_FALSE='#'
135611 ENABLE_VISIBILITY_TRUE='#'
135612 ENABLE_VISIBILITY_FALSE=
135618 if test $ac_ldbl_compat = yes; then
135619 GLIBCXX_LDBL_COMPAT_TRUE=
135620 GLIBCXX_LDBL_COMPAT_FALSE='#'
135622 GLIBCXX_LDBL_COMPAT_TRUE='#'
135623 GLIBCXX_LDBL_COMPAT_FALSE=
135629 cat >confcache <<\_ACEOF
135630 # This file is a shell script that caches the results of configure
135631 # tests run on this system so they can be shared between configure
135632 # scripts and configure runs, see configure's option --config-cache.
135633 # It is not useful on other systems. If it contains results you don't
135634 # want to keep, you may remove or edit it.
135636 # config.status only pays attention to the cache file if you give it
135637 # the --recheck option to rerun configure.
135639 # `ac_cv_env_foo' variables (set or unset) will be overridden when
135640 # loading this file, other *unset* `ac_cv_foo' will be assigned the
135641 # following values.
135643 _ACEOF
135645 # The following way of writing the cache mishandles newlines in values,
135646 # but we know of no workaround that is simple, portable, and efficient.
135647 # So, don't put newlines in cache variables' values.
135648 # Ultrix sh set writes to stderr and can't be redirected directly,
135649 # and sets the high bit in the cache file unless we assign to the vars.
135651 (set) 2>&1 |
135652 case `(ac_space=' '; set | grep ac_space) 2>&1` in
135653 *ac_space=\ *)
135654 # `set' does not quote correctly, so add quotes (double-quote
135655 # substitution turns \\\\ into \\, and sed turns \\ into \).
135656 sed -n \
135657 "s/'/'\\\\''/g;
135658 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
135661 # `set' quotes correctly as required by POSIX, so do not add quotes.
135662 sed -n \
135663 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
135665 esac;
135667 sed '
135668 t clear
135669 : clear
135670 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
135671 t end
135672 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
135673 : end' >>confcache
135674 if diff $cache_file confcache >/dev/null 2>&1; then :; else
135675 if test -w $cache_file; then
135676 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
135677 cat confcache >$cache_file
135679 echo "not updating unwritable cache $cache_file"
135682 rm -f confcache
135684 if test ${multilib} = yes; then
135685 multilib_arg="--enable-multilib"
135687 multilib_arg=
135690 # Export all the install information.
135692 glibcxx_toolexecdir=no
135693 glibcxx_toolexeclibdir=no
135694 glibcxx_prefixdir=$prefix
135696 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
135697 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
135699 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
135700 if test "${with_gxx_include_dir+set}" = set; then
135701 withval="$with_gxx_include_dir"
135702 case "$withval" in
135703 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
135704 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
135705 { (exit 1); exit 1; }; } ;;
135706 no) gxx_include_dir=no ;;
135707 *) gxx_include_dir=$withval ;;
135710 gxx_include_dir=no
135712 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
135713 echo "${ECHO_T}$gxx_include_dir" >&6
135715 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
135716 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
135717 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
135718 if test "${enable_version_specific_runtime_libs+set}" = set; then
135719 enableval="$enable_version_specific_runtime_libs"
135720 case "$enableval" in
135721 yes) version_specific_libs=yes ;;
135722 no) version_specific_libs=no ;;
135723 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
135724 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
135725 { (exit 1); exit 1; }; };;
135728 version_specific_libs=no
135730 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
135731 echo "${ECHO_T}$version_specific_libs" >&6
135733 # Default case for install directory for include files.
135734 if test $version_specific_libs = no && test $gxx_include_dir = no; then
135735 gxx_include_dir='include/c++/${gcc_version}'
135736 if test -n "$with_cross_host" &&
135737 test x"$with_cross_host" != x"no"; then
135738 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
135740 gxx_include_dir='${prefix}/'"$gxx_include_dir"
135744 # Version-specific runtime libs processing.
135745 if test $version_specific_libs = yes; then
135746 # Need the gcc compiler version to know where to install libraries
135747 # and header files if --enable-version-specific-runtime-libs option
135748 # is selected. FIXME: these variables are misnamed, there are
135749 # no executables installed in _toolexecdir or _toolexeclibdir.
135750 if test x"$gxx_include_dir" = x"no"; then
135751 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
135753 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
135754 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
135757 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
135758 # Install a library built with a cross compiler in tooldir, not libdir.
135759 if test x"$glibcxx_toolexecdir" = x"no"; then
135760 if test -n "$with_cross_host" &&
135761 test x"$with_cross_host" != x"no"; then
135762 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
135763 glibcxx_toolexeclibdir='${toolexecdir}/lib'
135765 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
135766 glibcxx_toolexeclibdir='${libdir}'
135768 multi_os_directory=`$CXX -print-multi-os-directory`
135769 case $multi_os_directory in
135770 .) ;; # Avoid trailing /.
135771 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
135775 echo "$as_me:$LINENO: checking for install location" >&5
135776 echo $ECHO_N "checking for install location... $ECHO_C" >&6
135777 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
135778 echo "${ECHO_T}$gxx_include_dir" >&6
135786 # Export all the include and flag information to Makefiles.
135788 # Used for every C++ compile we perform.
135789 GLIBCXX_INCLUDES="\
135790 -I$glibcxx_builddir/include/$host_alias \
135791 -I$glibcxx_builddir/include \
135792 -I$glibcxx_srcdir/libsupc++"
135794 # For Canadian crosses, pick this up too.
135795 if test $CANADIAN = yes; then
135796 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
135799 # Stuff in the actual top level. Currently only used by libsupc++ to
135800 # get unwind* headers from the gcc dir.
135801 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
135802 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
135804 # Now, export this to all the little Makefiles....
135809 # Optimization flags that are probably a good idea for thrill-seekers. Just
135810 # uncomment the lines below and make, everything else is ready to go...
135811 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
135812 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
135815 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
135819 if test "$enable_shared" = yes; then
135820 LIBSUPCXX_PICFLAGS="-prefer-pic"
135822 LIBSUPCXX_PICFLAGS=
135826 ac_config_files="$ac_config_files Makefile include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
135828 ac_config_files="$ac_config_files scripts/testsuite_flags"
135831 ac_config_commands="$ac_config_commands default"
135834 cat >confcache <<\_ACEOF
135835 # This file is a shell script that caches the results of configure
135836 # tests run on this system so they can be shared between configure
135837 # scripts and configure runs, see configure's option --config-cache.
135838 # It is not useful on other systems. If it contains results you don't
135839 # want to keep, you may remove or edit it.
135841 # config.status only pays attention to the cache file if you give it
135842 # the --recheck option to rerun configure.
135844 # `ac_cv_env_foo' variables (set or unset) will be overridden when
135845 # loading this file, other *unset* `ac_cv_foo' will be assigned the
135846 # following values.
135848 _ACEOF
135850 # The following way of writing the cache mishandles newlines in values,
135851 # but we know of no workaround that is simple, portable, and efficient.
135852 # So, don't put newlines in cache variables' values.
135853 # Ultrix sh set writes to stderr and can't be redirected directly,
135854 # and sets the high bit in the cache file unless we assign to the vars.
135856 (set) 2>&1 |
135857 case `(ac_space=' '; set | grep ac_space) 2>&1` in
135858 *ac_space=\ *)
135859 # `set' does not quote correctly, so add quotes (double-quote
135860 # substitution turns \\\\ into \\, and sed turns \\ into \).
135861 sed -n \
135862 "s/'/'\\\\''/g;
135863 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
135866 # `set' quotes correctly as required by POSIX, so do not add quotes.
135867 sed -n \
135868 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
135870 esac;
135872 sed '
135873 t clear
135874 : clear
135875 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
135876 t end
135877 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
135878 : end' >>confcache
135879 if diff $cache_file confcache >/dev/null 2>&1; then :; else
135880 if test -w $cache_file; then
135881 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
135882 cat confcache >$cache_file
135884 echo "not updating unwritable cache $cache_file"
135887 rm -f confcache
135889 test "x$prefix" = xNONE && prefix=$ac_default_prefix
135890 # Let make expand exec_prefix.
135891 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
135893 # VPATH may cause trouble with some makes, so we remove $(srcdir),
135894 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
135895 # trailing colons and then remove the whole line if VPATH becomes empty
135896 # (actually we leave an empty line to preserve line numbers).
135897 if test "x$srcdir" = x.; then
135898 ac_vpsub='/^[ ]*VPATH[ ]*=/{
135899 s/:*\$(srcdir):*/:/;
135900 s/:*\${srcdir}:*/:/;
135901 s/:*@srcdir@:*/:/;
135902 s/^\([^=]*=[ ]*\):*/\1/;
135903 s/:*$//;
135904 s/^[^=]*=[ ]*$//;
135908 DEFS=-DHAVE_CONFIG_H
135910 ac_libobjs=
135911 ac_ltlibobjs=
135912 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
135913 # 1. Remove the extension, and $U if already installed.
135914 ac_i=`echo "$ac_i" |
135915 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
135916 # 2. Add them.
135917 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
135918 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
135920 LIBOBJS=$ac_libobjs
135922 LTLIBOBJS=$ac_ltlibobjs
135925 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
135926 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
135927 Usually this means the macro was only invoked conditionally." >&5
135928 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
135929 Usually this means the macro was only invoked conditionally." >&2;}
135930 { (exit 1); exit 1; }; }
135932 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
135933 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
135934 Usually this means the macro was only invoked conditionally." >&5
135935 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
135936 Usually this means the macro was only invoked conditionally." >&2;}
135937 { (exit 1); exit 1; }; }
135939 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
135940 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
135941 Usually this means the macro was only invoked conditionally." >&5
135942 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
135943 Usually this means the macro was only invoked conditionally." >&2;}
135944 { (exit 1); exit 1; }; }
135946 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
135947 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
135948 Usually this means the macro was only invoked conditionally." >&5
135949 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
135950 Usually this means the macro was only invoked conditionally." >&2;}
135951 { (exit 1); exit 1; }; }
135953 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
135954 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
135955 Usually this means the macro was only invoked conditionally." >&5
135956 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
135957 Usually this means the macro was only invoked conditionally." >&2;}
135958 { (exit 1); exit 1; }; }
135960 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
135961 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
135962 Usually this means the macro was only invoked conditionally." >&5
135963 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
135964 Usually this means the macro was only invoked conditionally." >&2;}
135965 { (exit 1); exit 1; }; }
135967 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
135968 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
135969 Usually this means the macro was only invoked conditionally." >&5
135970 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
135971 Usually this means the macro was only invoked conditionally." >&2;}
135972 { (exit 1); exit 1; }; }
135974 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
135975 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
135976 Usually this means the macro was only invoked conditionally." >&5
135977 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
135978 Usually this means the macro was only invoked conditionally." >&2;}
135979 { (exit 1); exit 1; }; }
135981 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
135982 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
135983 Usually this means the macro was only invoked conditionally." >&5
135984 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
135985 Usually this means the macro was only invoked conditionally." >&2;}
135986 { (exit 1); exit 1; }; }
135988 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
135989 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
135990 Usually this means the macro was only invoked conditionally." >&5
135991 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
135992 Usually this means the macro was only invoked conditionally." >&2;}
135993 { (exit 1); exit 1; }; }
135995 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
135996 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
135997 Usually this means the macro was only invoked conditionally." >&5
135998 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
135999 Usually this means the macro was only invoked conditionally." >&2;}
136000 { (exit 1); exit 1; }; }
136002 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
136003 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
136004 Usually this means the macro was only invoked conditionally." >&5
136005 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
136006 Usually this means the macro was only invoked conditionally." >&2;}
136007 { (exit 1); exit 1; }; }
136009 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
136010 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
136011 Usually this means the macro was only invoked conditionally." >&5
136012 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
136013 Usually this means the macro was only invoked conditionally." >&2;}
136014 { (exit 1); exit 1; }; }
136016 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
136017 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
136018 Usually this means the macro was only invoked conditionally." >&5
136019 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
136020 Usually this means the macro was only invoked conditionally." >&2;}
136021 { (exit 1); exit 1; }; }
136023 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
136024 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
136025 Usually this means the macro was only invoked conditionally." >&5
136026 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
136027 Usually this means the macro was only invoked conditionally." >&2;}
136028 { (exit 1); exit 1; }; }
136030 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
136031 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
136032 Usually this means the macro was only invoked conditionally." >&5
136033 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
136034 Usually this means the macro was only invoked conditionally." >&2;}
136035 { (exit 1); exit 1; }; }
136038 : ${CONFIG_STATUS=./config.status}
136039 ac_clean_files_save=$ac_clean_files
136040 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
136041 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
136042 echo "$as_me: creating $CONFIG_STATUS" >&6;}
136043 cat >$CONFIG_STATUS <<_ACEOF
136044 #! $SHELL
136045 # Generated by $as_me.
136046 # Run this file to recreate the current configuration.
136047 # Compiler output produced by configure, useful for debugging
136048 # configure, is in config.log if it exists.
136050 debug=false
136051 ac_cs_recheck=false
136052 ac_cs_silent=false
136053 SHELL=\${CONFIG_SHELL-$SHELL}
136054 _ACEOF
136056 cat >>$CONFIG_STATUS <<\_ACEOF
136057 ## --------------------- ##
136058 ## M4sh Initialization. ##
136059 ## --------------------- ##
136061 # Be Bourne compatible
136062 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
136063 emulate sh
136064 NULLCMD=:
136065 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
136066 # is contrary to our usage. Disable this feature.
136067 alias -g '${1+"$@"}'='"$@"'
136068 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
136069 set -o posix
136071 DUALCASE=1; export DUALCASE # for MKS sh
136073 # Support unset when possible.
136074 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
136075 as_unset=unset
136077 as_unset=false
136081 # Work around bugs in pre-3.0 UWIN ksh.
136082 $as_unset ENV MAIL MAILPATH
136083 PS1='$ '
136084 PS2='> '
136085 PS4='+ '
136087 # NLS nuisances.
136088 for as_var in \
136089 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
136090 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
136091 LC_TELEPHONE LC_TIME
136093 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
136094 eval $as_var=C; export $as_var
136096 $as_unset $as_var
136100 # Required to use basename.
136101 if expr a : '\(a\)' >/dev/null 2>&1; then
136102 as_expr=expr
136104 as_expr=false
136107 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
136108 as_basename=basename
136110 as_basename=false
136114 # Name of the executable.
136115 as_me=`$as_basename "$0" ||
136116 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136117 X"$0" : 'X\(//\)$' \| \
136118 X"$0" : 'X\(/\)$' \| \
136119 . : '\(.\)' 2>/dev/null ||
136120 echo X/"$0" |
136121 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
136122 /^X\/\(\/\/\)$/{ s//\1/; q; }
136123 /^X\/\(\/\).*/{ s//\1/; q; }
136124 s/.*/./; q'`
136127 # PATH needs CR, and LINENO needs CR and PATH.
136128 # Avoid depending upon Character Ranges.
136129 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
136130 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
136131 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
136132 as_cr_digits='0123456789'
136133 as_cr_alnum=$as_cr_Letters$as_cr_digits
136135 # The user is always right.
136136 if test "${PATH_SEPARATOR+set}" != set; then
136137 echo "#! /bin/sh" >conf$$.sh
136138 echo "exit 0" >>conf$$.sh
136139 chmod +x conf$$.sh
136140 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
136141 PATH_SEPARATOR=';'
136143 PATH_SEPARATOR=:
136145 rm -f conf$$.sh
136149 as_lineno_1=$LINENO
136150 as_lineno_2=$LINENO
136151 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
136152 test "x$as_lineno_1" != "x$as_lineno_2" &&
136153 test "x$as_lineno_3" = "x$as_lineno_2" || {
136154 # Find who we are. Look in the path if we contain no path at all
136155 # relative or not.
136156 case $0 in
136157 *[\\/]* ) as_myself=$0 ;;
136158 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
136159 for as_dir in $PATH
136161 IFS=$as_save_IFS
136162 test -z "$as_dir" && as_dir=.
136163 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
136168 # We did not find ourselves, most probably we were run as `sh COMMAND'
136169 # in which case we are not to be found in the path.
136170 if test "x$as_myself" = x; then
136171 as_myself=$0
136173 if test ! -f "$as_myself"; then
136174 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
136175 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
136176 { (exit 1); exit 1; }; }
136178 case $CONFIG_SHELL in
136180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
136181 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136183 IFS=$as_save_IFS
136184 test -z "$as_dir" && as_dir=.
136185 for as_base in sh bash ksh sh5; do
136186 case $as_dir in
136188 if ("$as_dir/$as_base" -c '
136189 as_lineno_1=$LINENO
136190 as_lineno_2=$LINENO
136191 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
136192 test "x$as_lineno_1" != "x$as_lineno_2" &&
136193 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
136194 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
136195 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
136196 CONFIG_SHELL=$as_dir/$as_base
136197 export CONFIG_SHELL
136198 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
136206 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
136207 # uniformly replaced by the line number. The first 'sed' inserts a
136208 # line-number line before each line; the second 'sed' does the real
136209 # work. The second script uses 'N' to pair each line-number line
136210 # with the numbered line, and appends trailing '-' during
136211 # substitution so that $LINENO is not a special case at line end.
136212 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
136213 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
136214 sed '=' <$as_myself |
136215 sed '
136217 s,$,-,
136218 : loop
136219 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
136220 t loop
136221 s,-$,,
136222 s,^['$as_cr_digits']*\n,,
136223 ' >$as_me.lineno &&
136224 chmod +x $as_me.lineno ||
136225 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
136226 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
136227 { (exit 1); exit 1; }; }
136229 # Don't try to exec as it changes $[0], causing all sort of problems
136230 # (the dirname of $[0] is not the place where we might find the
136231 # original and so on. Autoconf is especially sensible to this).
136232 . ./$as_me.lineno
136233 # Exit status is that of the last command.
136238 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
136239 *c*,-n*) ECHO_N= ECHO_C='
136240 ' ECHO_T=' ' ;;
136241 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
136242 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
136245 if expr a : '\(a\)' >/dev/null 2>&1; then
136246 as_expr=expr
136248 as_expr=false
136251 rm -f conf$$ conf$$.exe conf$$.file
136252 echo >conf$$.file
136253 if ln -s conf$$.file conf$$ 2>/dev/null; then
136254 # We could just check for DJGPP; but this test a) works b) is more generic
136255 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
136256 if test -f conf$$.exe; then
136257 # Don't use ln at all; we don't have any links
136258 as_ln_s='cp -p'
136260 as_ln_s='ln -s'
136262 elif ln conf$$.file conf$$ 2>/dev/null; then
136263 as_ln_s=ln
136265 as_ln_s='cp -p'
136267 rm -f conf$$ conf$$.exe conf$$.file
136269 if mkdir -p . 2>/dev/null; then
136270 as_mkdir_p=:
136272 test -d ./-p && rmdir ./-p
136273 as_mkdir_p=false
136276 as_executable_p="test -f"
136278 # Sed expression to map a string onto a valid CPP name.
136279 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
136281 # Sed expression to map a string onto a valid variable name.
136282 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
136285 # IFS
136286 # We need space, tab and new line, in precisely that order.
136287 as_nl='
136289 IFS=" $as_nl"
136291 # CDPATH.
136292 $as_unset CDPATH
136294 exec 6>&1
136296 # Open the log real soon, to keep \$[0] and so on meaningful, and to
136297 # report actual input values of CONFIG_FILES etc. instead of their
136298 # values after options handling. Logging --version etc. is OK.
136299 exec 5>>config.log
136302 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
136303 ## Running $as_me. ##
136304 _ASBOX
136305 } >&5
136306 cat >&5 <<_CSEOF
136308 This file was extended by package-unused $as_me version-unused, which was
136309 generated by GNU Autoconf 2.59. Invocation command line was
136311 CONFIG_FILES = $CONFIG_FILES
136312 CONFIG_HEADERS = $CONFIG_HEADERS
136313 CONFIG_LINKS = $CONFIG_LINKS
136314 CONFIG_COMMANDS = $CONFIG_COMMANDS
136315 $ $0 $@
136317 _CSEOF
136318 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
136319 echo >&5
136320 _ACEOF
136322 # Files that config.status was made for.
136323 if test -n "$ac_config_files"; then
136324 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
136327 if test -n "$ac_config_headers"; then
136328 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
136331 if test -n "$ac_config_links"; then
136332 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
136335 if test -n "$ac_config_commands"; then
136336 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
136339 cat >>$CONFIG_STATUS <<\_ACEOF
136341 ac_cs_usage="\
136342 \`$as_me' instantiates files from templates according to the
136343 current configuration.
136345 Usage: $0 [OPTIONS] [FILE]...
136347 -h, --help print this help, then exit
136348 -V, --version print version number, then exit
136349 -q, --quiet do not print progress messages
136350 -d, --debug don't remove temporary files
136351 --recheck update $as_me by reconfiguring in the same conditions
136352 --file=FILE[:TEMPLATE]
136353 instantiate the configuration file FILE
136354 --header=FILE[:TEMPLATE]
136355 instantiate the configuration header FILE
136357 Configuration files:
136358 $config_files
136360 Configuration headers:
136361 $config_headers
136363 Configuration commands:
136364 $config_commands
136366 Report bugs to <bug-autoconf@gnu.org>."
136367 _ACEOF
136369 cat >>$CONFIG_STATUS <<_ACEOF
136370 ac_cs_version="\\
136371 package-unused config.status version-unused
136372 configured by $0, generated by GNU Autoconf 2.59,
136373 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
136375 Copyright (C) 2003 Free Software Foundation, Inc.
136376 This config.status script is free software; the Free Software Foundation
136377 gives unlimited permission to copy, distribute and modify it."
136378 srcdir=$srcdir
136379 INSTALL="$INSTALL"
136380 _ACEOF
136382 cat >>$CONFIG_STATUS <<\_ACEOF
136383 # If no file are specified by the user, then we need to provide default
136384 # value. By we need to know if files were specified by the user.
136385 ac_need_defaults=:
136386 while test $# != 0
136388 case $1 in
136389 --*=*)
136390 ac_option=`expr "x$1" : 'x\([^=]*\)='`
136391 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
136392 ac_shift=:
136395 ac_option=$1
136396 ac_optarg=$2
136397 ac_shift=shift
136399 *) # This is not an option, so the user has probably given explicit
136400 # arguments.
136401 ac_option=$1
136402 ac_need_defaults=false;;
136405 case $ac_option in
136406 # Handling of the options.
136407 _ACEOF
136408 cat >>$CONFIG_STATUS <<\_ACEOF
136409 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
136410 ac_cs_recheck=: ;;
136411 --version | --vers* | -V )
136412 echo "$ac_cs_version"; exit 0 ;;
136413 --he | --h)
136414 # Conflict between --help and --header
136415 { { echo "$as_me:$LINENO: error: ambiguous option: $1
136416 Try \`$0 --help' for more information." >&5
136417 echo "$as_me: error: ambiguous option: $1
136418 Try \`$0 --help' for more information." >&2;}
136419 { (exit 1); exit 1; }; };;
136420 --help | --hel | -h )
136421 echo "$ac_cs_usage"; exit 0 ;;
136422 --debug | --d* | -d )
136423 debug=: ;;
136424 --file | --fil | --fi | --f )
136425 $ac_shift
136426 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
136427 ac_need_defaults=false;;
136428 --header | --heade | --head | --hea )
136429 $ac_shift
136430 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
136431 ac_need_defaults=false;;
136432 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
136433 | -silent | --silent | --silen | --sile | --sil | --si | --s)
136434 ac_cs_silent=: ;;
136436 # This is an error.
136437 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
136438 Try \`$0 --help' for more information." >&5
136439 echo "$as_me: error: unrecognized option: $1
136440 Try \`$0 --help' for more information." >&2;}
136441 { (exit 1); exit 1; }; } ;;
136443 *) ac_config_targets="$ac_config_targets $1" ;;
136446 shift
136449 ac_configure_extra_args=
136451 if $ac_cs_silent; then
136452 exec 6>/dev/null
136453 ac_configure_extra_args="$ac_configure_extra_args --silent"
136456 _ACEOF
136457 cat >>$CONFIG_STATUS <<_ACEOF
136458 if \$ac_cs_recheck; then
136459 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
136460 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
136463 _ACEOF
136465 cat >>$CONFIG_STATUS <<_ACEOF
136467 # INIT-COMMANDS section.
136471 srcdir="$srcdir"
136472 host="$host"
136473 target="$target"
136474 with_multisubdir="$with_multisubdir"
136475 with_multisrctop="$with_multisrctop"
136476 with_target_subdir="$with_target_subdir"
136477 ac_configure_args="${multilib_arg} ${ac_configure_args}"
136478 multi_basedir="$multi_basedir"
136479 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
136480 CC="$CC"
136481 CXX="$CXX"
136482 GFORTRAN="$GFORTRAN"
136483 GCJ="$GCJ"
136486 # The HP-UX ksh and POSIX shell print the target directory to stdout
136487 # if CDPATH is set.
136488 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136490 sed_quote_subst='$sed_quote_subst'
136491 double_quote_subst='$double_quote_subst'
136492 delay_variable_subst='$delay_variable_subst'
136493 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
136494 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
136495 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
136496 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
136497 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
136498 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
136499 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
136500 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
136501 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
136502 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
136503 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
136504 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
136505 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
136506 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
136507 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
136508 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
136509 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
136510 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
136511 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
136512 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
136513 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
136514 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
136515 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
136516 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
136517 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
136518 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
136519 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
136520 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136521 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
136522 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
136523 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
136524 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
136525 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
136526 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
136527 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
136528 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136529 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136530 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136531 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
136532 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
136533 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
136534 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
136535 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
136536 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
136537 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"`'
136538 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"`'
136539 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
136540 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
136541 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
136542 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
136543 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
136544 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
136545 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
136546 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
136547 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
136548 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
136549 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
136550 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
136551 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
136552 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
136553 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
136554 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
136555 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136556 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136557 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
136558 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
136559 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
136560 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
136561 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
136562 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136563 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136564 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136565 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136566 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136567 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136568 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
136569 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
136570 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
136571 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
136572 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
136573 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
136574 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
136575 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
136576 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
136577 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
136578 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
136579 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
136580 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
136581 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
136582 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
136583 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136584 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
136585 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
136586 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136587 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
136588 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
136589 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
136590 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
136591 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
136592 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
136593 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
136594 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
136595 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
136596 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
136597 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
136598 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136599 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136600 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136601 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
136602 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
136603 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
136604 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
136605 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
136606 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
136607 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
136608 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
136609 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
136610 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
136611 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
136612 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
136613 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
136614 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
136615 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
136616 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
136617 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136618 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136619 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136620 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136621 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136622 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136623 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136624 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136625 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136626 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136627 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136628 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136629 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136630 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136631 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136632 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136633 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136634 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136635 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136636 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136637 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136638 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136639 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136640 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136641 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136642 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136643 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136644 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136645 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136646 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136647 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136648 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136649 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136650 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136651 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136652 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136653 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136654 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136655 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136656 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136657 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136658 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136659 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136660 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136661 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136662 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136663 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136665 LTCC='$LTCC'
136666 LTCFLAGS='$LTCFLAGS'
136667 compiler='$compiler_DEFAULT'
136669 # Quote evaled strings.
136670 for var in SED \
136671 GREP \
136672 EGREP \
136673 FGREP \
136676 LN_S \
136677 lt_SP2NL \
136678 lt_NL2SP \
136679 reload_flag \
136680 OBJDUMP \
136681 deplibs_check_method \
136682 file_magic_cmd \
136684 AR_FLAGS \
136685 STRIP \
136686 RANLIB \
136688 CFLAGS \
136689 compiler \
136690 lt_cv_sys_global_symbol_pipe \
136691 lt_cv_sys_global_symbol_to_cdecl \
136692 lt_cv_sys_global_symbol_to_c_name_address \
136693 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
136694 SHELL \
136695 ECHO \
136696 lt_prog_compiler_no_builtin_flag \
136697 lt_prog_compiler_wl \
136698 lt_prog_compiler_pic \
136699 lt_prog_compiler_static \
136700 lt_cv_prog_compiler_c_o \
136701 need_locks \
136702 DSYMUTIL \
136703 NMEDIT \
136704 LIPO \
136705 OTOOL \
136706 OTOOL64 \
136707 shrext_cmds \
136708 export_dynamic_flag_spec \
136709 whole_archive_flag_spec \
136710 compiler_needs_object \
136711 with_gnu_ld \
136712 allow_undefined_flag \
136713 no_undefined_flag \
136714 hardcode_libdir_flag_spec \
136715 hardcode_libdir_flag_spec_ld \
136716 hardcode_libdir_separator \
136717 fix_srcfile_path \
136718 exclude_expsyms \
136719 include_expsyms \
136720 file_list_spec \
136721 variables_saved_for_relink \
136722 libname_spec \
136723 library_names_spec \
136724 soname_spec \
136725 finish_eval \
136726 old_striplib \
136727 striplib \
136728 compiler_lib_search_dirs \
136729 predep_objects \
136730 postdep_objects \
136731 predeps \
136732 postdeps \
136733 compiler_lib_search_path \
136734 LD_CXX \
136735 compiler_CXX \
136736 lt_prog_compiler_no_builtin_flag_CXX \
136737 lt_prog_compiler_wl_CXX \
136738 lt_prog_compiler_pic_CXX \
136739 lt_prog_compiler_static_CXX \
136740 lt_cv_prog_compiler_c_o_CXX \
136741 export_dynamic_flag_spec_CXX \
136742 whole_archive_flag_spec_CXX \
136743 compiler_needs_object_CXX \
136744 with_gnu_ld_CXX \
136745 allow_undefined_flag_CXX \
136746 no_undefined_flag_CXX \
136747 hardcode_libdir_flag_spec_CXX \
136748 hardcode_libdir_flag_spec_ld_CXX \
136749 hardcode_libdir_separator_CXX \
136750 fix_srcfile_path_CXX \
136751 exclude_expsyms_CXX \
136752 include_expsyms_CXX \
136753 file_list_spec_CXX \
136754 compiler_lib_search_dirs_CXX \
136755 predep_objects_CXX \
136756 postdep_objects_CXX \
136757 predeps_CXX \
136758 postdeps_CXX \
136759 compiler_lib_search_path_CXX; do
136760 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
136761 *[\\\\\\\`\\"\\\$]*)
136762 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
136765 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
136770 # Double-quote double-evaled strings.
136771 for var in reload_cmds \
136772 old_postinstall_cmds \
136773 old_postuninstall_cmds \
136774 old_archive_cmds \
136775 extract_expsyms_cmds \
136776 old_archive_from_new_cmds \
136777 old_archive_from_expsyms_cmds \
136778 archive_cmds \
136779 archive_expsym_cmds \
136780 module_cmds \
136781 module_expsym_cmds \
136782 export_symbols_cmds \
136783 prelink_cmds \
136784 postinstall_cmds \
136785 postuninstall_cmds \
136786 finish_cmds \
136787 sys_lib_search_path_spec \
136788 sys_lib_dlsearch_path_spec \
136789 old_archive_cmds_CXX \
136790 old_archive_from_new_cmds_CXX \
136791 old_archive_from_expsyms_cmds_CXX \
136792 archive_cmds_CXX \
136793 archive_expsym_cmds_CXX \
136794 module_cmds_CXX \
136795 module_expsym_cmds_CXX \
136796 export_symbols_cmds_CXX \
136797 prelink_cmds_CXX; do
136798 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
136799 *[\\\\\\\`\\"\\\$]*)
136800 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
136803 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
136808 # Fix-up fallback echo if it was mangled by the above quoting rules.
136809 case \$lt_ECHO in
136810 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
136814 ac_aux_dir='$ac_aux_dir'
136815 xsi_shell='$xsi_shell'
136816 lt_shell_append='$lt_shell_append'
136818 # See if we are running on zsh, and set the options which allow our
136819 # commands through without removal of \ escapes INIT.
136820 if test -n "\${ZSH_VERSION+set}" ; then
136821 setopt NO_GLOB_SUBST
136825 PACKAGE='$PACKAGE'
136826 VERSION='$VERSION'
136827 TIMESTAMP='$TIMESTAMP'
136828 RM='$RM'
136829 ofile='$ofile'
136836 GCC="$GCC"
136837 CC="$CC"
136838 acx_cv_header_stdint="$acx_cv_header_stdint"
136839 acx_cv_type_int8_t="$acx_cv_type_int8_t"
136840 acx_cv_type_int16_t="$acx_cv_type_int16_t"
136841 acx_cv_type_int32_t="$acx_cv_type_int32_t"
136842 acx_cv_type_int64_t="$acx_cv_type_int64_t"
136843 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
136844 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
136845 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
136846 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
136847 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
136848 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
136849 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
136850 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
136851 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
136854 # Variables needed in config.status (file generation) which aren't already
136855 # passed by autoconf.
136856 SUBDIRS="$SUBDIRS"
136859 _ACEOF
136863 cat >>$CONFIG_STATUS <<\_ACEOF
136864 for ac_config_target in $ac_config_targets
136866 case "$ac_config_target" in
136867 # Handling of arguments.
136868 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
136869 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
136870 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
136871 "python/Makefile" ) CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
136872 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
136873 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
136874 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
136875 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
136876 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
136877 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
136878 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
136879 "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
136880 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
136881 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
136882 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
136883 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
136884 { (exit 1); exit 1; }; };;
136888 # If the user did not use the arguments to specify the items to instantiate,
136889 # then the envvar interface is used. Set only those that are not.
136890 # We use the long form for the default assignment because of an extremely
136891 # bizarre bug on SunOS 4.1.3.
136892 if $ac_need_defaults; then
136893 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
136894 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
136895 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
136898 # Have a temporary directory for convenience. Make it in the build tree
136899 # simply because there is no reason to put it here, and in addition,
136900 # creating and moving files from /tmp can sometimes cause problems.
136901 # Create a temporary directory, and hook for its removal unless debugging.
136902 $debug ||
136904 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
136905 trap '{ (exit 1); exit 1; }' 1 2 13 15
136908 # Create a (secure) tmp directory for tmp files.
136911 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
136912 test -n "$tmp" && test -d "$tmp"
136915 tmp=./confstat$$-$RANDOM
136916 (umask 077 && mkdir $tmp)
136919 echo "$me: cannot create a temporary directory in ." >&2
136920 { (exit 1); exit 1; }
136923 _ACEOF
136925 cat >>$CONFIG_STATUS <<_ACEOF
136928 # CONFIG_FILES section.
136931 # No need to generate the scripts if there are no CONFIG_FILES.
136932 # This happens for instance when ./config.status config.h
136933 if test -n "\$CONFIG_FILES"; then
136934 # Protect against being on the right side of a sed subst in config.status.
136935 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
136936 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
136937 s,@SHELL@,$SHELL,;t t
136938 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
136939 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
136940 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
136941 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
136942 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
136943 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
136944 s,@exec_prefix@,$exec_prefix,;t t
136945 s,@prefix@,$prefix,;t t
136946 s,@program_transform_name@,$program_transform_name,;t t
136947 s,@bindir@,$bindir,;t t
136948 s,@sbindir@,$sbindir,;t t
136949 s,@libexecdir@,$libexecdir,;t t
136950 s,@datadir@,$datadir,;t t
136951 s,@sysconfdir@,$sysconfdir,;t t
136952 s,@sharedstatedir@,$sharedstatedir,;t t
136953 s,@localstatedir@,$localstatedir,;t t
136954 s,@libdir@,$libdir,;t t
136955 s,@includedir@,$includedir,;t t
136956 s,@oldincludedir@,$oldincludedir,;t t
136957 s,@infodir@,$infodir,;t t
136958 s,@mandir@,$mandir,;t t
136959 s,@build_alias@,$build_alias,;t t
136960 s,@host_alias@,$host_alias,;t t
136961 s,@target_alias@,$target_alias,;t t
136962 s,@DEFS@,$DEFS,;t t
136963 s,@ECHO_C@,$ECHO_C,;t t
136964 s,@ECHO_N@,$ECHO_N,;t t
136965 s,@ECHO_T@,$ECHO_T,;t t
136966 s,@LIBS@,$LIBS,;t t
136967 s,@libtool_VERSION@,$libtool_VERSION,;t t
136968 s,@multi_basedir@,$multi_basedir,;t t
136969 s,@build@,$build,;t t
136970 s,@build_cpu@,$build_cpu,;t t
136971 s,@build_vendor@,$build_vendor,;t t
136972 s,@build_os@,$build_os,;t t
136973 s,@host@,$host,;t t
136974 s,@host_cpu@,$host_cpu,;t t
136975 s,@host_vendor@,$host_vendor,;t t
136976 s,@host_os@,$host_os,;t t
136977 s,@target@,$target,;t t
136978 s,@target_cpu@,$target_cpu,;t t
136979 s,@target_vendor@,$target_vendor,;t t
136980 s,@target_os@,$target_os,;t t
136981 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
136982 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
136983 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
136984 s,@CYGPATH_W@,$CYGPATH_W,;t t
136985 s,@PACKAGE@,$PACKAGE,;t t
136986 s,@VERSION@,$VERSION,;t t
136987 s,@ACLOCAL@,$ACLOCAL,;t t
136988 s,@AUTOCONF@,$AUTOCONF,;t t
136989 s,@AUTOMAKE@,$AUTOMAKE,;t t
136990 s,@AUTOHEADER@,$AUTOHEADER,;t t
136991 s,@MAKEINFO@,$MAKEINFO,;t t
136992 s,@install_sh@,$install_sh,;t t
136993 s,@STRIP@,$STRIP,;t t
136994 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
136995 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
136996 s,@mkdir_p@,$mkdir_p,;t t
136997 s,@AWK@,$AWK,;t t
136998 s,@SET_MAKE@,$SET_MAKE,;t t
136999 s,@am__leading_dot@,$am__leading_dot,;t t
137000 s,@AMTAR@,$AMTAR,;t t
137001 s,@am__tar@,$am__tar,;t t
137002 s,@am__untar@,$am__untar,;t t
137003 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
137004 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
137005 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
137006 s,@CC@,$CC,;t t
137007 s,@ac_ct_CC@,$ac_ct_CC,;t t
137008 s,@EXEEXT@,$EXEEXT,;t t
137009 s,@OBJEXT@,$OBJEXT,;t t
137010 s,@CXX@,$CXX,;t t
137011 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
137012 s,@CFLAGS@,$CFLAGS,;t t
137013 s,@CXXFLAGS@,$CXXFLAGS,;t t
137014 s,@LN_S@,$LN_S,;t t
137015 s,@AS@,$AS,;t t
137016 s,@ac_ct_AS@,$ac_ct_AS,;t t
137017 s,@AR@,$AR,;t t
137018 s,@ac_ct_AR@,$ac_ct_AR,;t t
137019 s,@RANLIB@,$RANLIB,;t t
137020 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
137021 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
137022 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
137023 s,@MAINT@,$MAINT,;t t
137024 s,@CPP@,$CPP,;t t
137025 s,@CPPFLAGS@,$CPPFLAGS,;t t
137026 s,@EGREP@,$EGREP,;t t
137027 s,@LIBTOOL@,$LIBTOOL,;t t
137028 s,@SED@,$SED,;t t
137029 s,@FGREP@,$FGREP,;t t
137030 s,@GREP@,$GREP,;t t
137031 s,@LD@,$LD,;t t
137032 s,@DUMPBIN@,$DUMPBIN,;t t
137033 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
137034 s,@NM@,$NM,;t t
137035 s,@OBJDUMP@,$OBJDUMP,;t t
137036 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
137037 s,@lt_ECHO@,$lt_ECHO,;t t
137038 s,@DSYMUTIL@,$DSYMUTIL,;t t
137039 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
137040 s,@NMEDIT@,$NMEDIT,;t t
137041 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
137042 s,@LIPO@,$LIPO,;t t
137043 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
137044 s,@OTOOL@,$OTOOL,;t t
137045 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
137046 s,@OTOOL64@,$OTOOL64,;t t
137047 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
137048 s,@LDFLAGS@,$LDFLAGS,;t t
137049 s,@CXXCPP@,$CXXCPP,;t t
137050 s,@enable_shared@,$enable_shared,;t t
137051 s,@enable_static@,$enable_static,;t t
137052 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
137053 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
137054 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
137055 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
137056 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
137057 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
137058 s,@WERROR@,$WERROR,;t t
137059 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
137060 s,@CSTDIO_H@,$CSTDIO_H,;t t
137061 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
137062 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
137063 s,@check_msgfmt@,$check_msgfmt,;t t
137064 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
137065 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
137066 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
137067 s,@USE_NLS@,$USE_NLS,;t t
137068 s,@CLOCALE_H@,$CLOCALE_H,;t t
137069 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
137070 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
137071 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
137072 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
137073 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
137074 s,@CMONEY_CC@,$CMONEY_CC,;t t
137075 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
137076 s,@CTIME_H@,$CTIME_H,;t t
137077 s,@CTIME_CC@,$CTIME_CC,;t t
137078 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
137079 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
137080 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
137081 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
137082 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
137083 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
137084 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
137085 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
137086 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
137087 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
137088 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
137089 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
137090 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
137091 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
137092 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
137093 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
137094 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
137095 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
137096 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
137097 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
137098 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
137099 s,@GLIBCXX_LIBS@,$GLIBCXX_LIBS,;t t
137100 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
137101 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
137102 s,@LIBICONV@,$LIBICONV,;t t
137103 s,@LTLIBICONV@,$LTLIBICONV,;t t
137104 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
137105 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
137106 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
137107 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
137108 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
137109 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
137110 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
137111 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
137112 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
137113 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
137114 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
137115 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
137116 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
137117 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
137118 s,@baseline_dir@,$baseline_dir,;t t
137119 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
137120 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
137121 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
137122 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
137123 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
137124 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
137125 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
137126 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
137127 s,@gxx_include_dir@,$gxx_include_dir,;t t
137128 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
137129 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
137130 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
137131 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
137132 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
137133 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
137134 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
137135 s,@LIBOBJS@,$LIBOBJS,;t t
137136 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
137139 _ACEOF
137141 cat >>$CONFIG_STATUS <<\_ACEOF
137142 # Split the substitutions into bite-sized pieces for seds with
137143 # small command number limits, like on Digital OSF/1 and HP-UX.
137144 ac_max_sed_lines=48
137145 ac_sed_frag=1 # Number of current file.
137146 ac_beg=1 # First line for current file.
137147 ac_end=$ac_max_sed_lines # Line after last line for current file.
137148 ac_more_lines=:
137149 ac_sed_cmds=
137150 while $ac_more_lines; do
137151 if test $ac_beg -gt 1; then
137152 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
137154 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
137156 if test ! -s $tmp/subs.frag; then
137157 ac_more_lines=false
137159 # The purpose of the label and of the branching condition is to
137160 # speed up the sed processing (if there are no `@' at all, there
137161 # is no need to browse any of the substitutions).
137162 # These are the two extra sed commands mentioned above.
137163 (echo ':t
137164 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
137165 if test -z "$ac_sed_cmds"; then
137166 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
137168 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
137170 ac_sed_frag=`expr $ac_sed_frag + 1`
137171 ac_beg=$ac_end
137172 ac_end=`expr $ac_end + $ac_max_sed_lines`
137175 if test -z "$ac_sed_cmds"; then
137176 ac_sed_cmds=cat
137178 fi # test -n "$CONFIG_FILES"
137180 _ACEOF
137181 cat >>$CONFIG_STATUS <<\_ACEOF
137182 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
137183 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
137184 case $ac_file in
137185 - | *:- | *:-:* ) # input from stdin
137186 cat >$tmp/stdin
137187 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
137188 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
137189 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
137190 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
137191 * ) ac_file_in=$ac_file.in ;;
137194 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
137195 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
137196 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
137197 X"$ac_file" : 'X\(//\)[^/]' \| \
137198 X"$ac_file" : 'X\(//\)$' \| \
137199 X"$ac_file" : 'X\(/\)' \| \
137200 . : '\(.\)' 2>/dev/null ||
137201 echo X"$ac_file" |
137202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
137203 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
137204 /^X\(\/\/\)$/{ s//\1/; q; }
137205 /^X\(\/\).*/{ s//\1/; q; }
137206 s/.*/./; q'`
137207 { if $as_mkdir_p; then
137208 mkdir -p "$ac_dir"
137210 as_dir="$ac_dir"
137211 as_dirs=
137212 while test ! -d "$as_dir"; do
137213 as_dirs="$as_dir $as_dirs"
137214 as_dir=`(dirname "$as_dir") 2>/dev/null ||
137215 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
137216 X"$as_dir" : 'X\(//\)[^/]' \| \
137217 X"$as_dir" : 'X\(//\)$' \| \
137218 X"$as_dir" : 'X\(/\)' \| \
137219 . : '\(.\)' 2>/dev/null ||
137220 echo X"$as_dir" |
137221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
137222 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
137223 /^X\(\/\/\)$/{ s//\1/; q; }
137224 /^X\(\/\).*/{ s//\1/; q; }
137225 s/.*/./; q'`
137227 test ! -n "$as_dirs" || mkdir $as_dirs
137228 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
137229 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
137230 { (exit 1); exit 1; }; }; }
137232 ac_builddir=.
137234 if test "$ac_dir" != .; then
137235 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
137236 # A "../" for each directory in $ac_dir_suffix.
137237 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
137239 ac_dir_suffix= ac_top_builddir=
137242 case $srcdir in
137243 .) # No --srcdir option. We are building in place.
137244 ac_srcdir=.
137245 if test -z "$ac_top_builddir"; then
137246 ac_top_srcdir=.
137248 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
137249 fi ;;
137250 [\\/]* | ?:[\\/]* ) # Absolute path.
137251 ac_srcdir=$srcdir$ac_dir_suffix;
137252 ac_top_srcdir=$srcdir ;;
137253 *) # Relative path.
137254 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
137255 ac_top_srcdir=$ac_top_builddir$srcdir ;;
137258 # Do not use `cd foo && pwd` to compute absolute paths, because
137259 # the directories may not exist.
137260 case `pwd` in
137261 .) ac_abs_builddir="$ac_dir";;
137263 case "$ac_dir" in
137264 .) ac_abs_builddir=`pwd`;;
137265 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
137266 *) ac_abs_builddir=`pwd`/"$ac_dir";;
137267 esac;;
137269 case $ac_abs_builddir in
137270 .) ac_abs_top_builddir=${ac_top_builddir}.;;
137272 case ${ac_top_builddir}. in
137273 .) ac_abs_top_builddir=$ac_abs_builddir;;
137274 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
137275 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
137276 esac;;
137278 case $ac_abs_builddir in
137279 .) ac_abs_srcdir=$ac_srcdir;;
137281 case $ac_srcdir in
137282 .) ac_abs_srcdir=$ac_abs_builddir;;
137283 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
137284 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
137285 esac;;
137287 case $ac_abs_builddir in
137288 .) ac_abs_top_srcdir=$ac_top_srcdir;;
137290 case $ac_top_srcdir in
137291 .) ac_abs_top_srcdir=$ac_abs_builddir;;
137292 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
137293 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
137294 esac;;
137298 case $INSTALL in
137299 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
137300 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
137303 if test x"$ac_file" != x-; then
137304 { echo "$as_me:$LINENO: creating $ac_file" >&5
137305 echo "$as_me: creating $ac_file" >&6;}
137306 rm -f "$ac_file"
137308 # Let's still pretend it is `configure' which instantiates (i.e., don't
137309 # use $as_me), people would be surprised to read:
137310 # /* config.h. Generated by config.status. */
137311 if test x"$ac_file" = x-; then
137312 configure_input=
137314 configure_input="$ac_file. "
137316 configure_input=$configure_input"Generated from `echo $ac_file_in |
137317 sed 's,.*/,,'` by configure."
137319 # First look for the input files in the build tree, otherwise in the
137320 # src tree.
137321 ac_file_inputs=`IFS=:
137322 for f in $ac_file_in; do
137323 case $f in
137324 -) echo $tmp/stdin ;;
137325 [\\/$]*)
137326 # Absolute (can't be DOS-style, as IFS=:)
137327 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
137328 echo "$as_me: error: cannot find input file: $f" >&2;}
137329 { (exit 1); exit 1; }; }
137330 echo "$f";;
137331 *) # Relative
137332 if test -f "$f"; then
137333 # Build tree
137334 echo "$f"
137335 elif test -f "$srcdir/$f"; then
137336 # Source tree
137337 echo "$srcdir/$f"
137339 # /dev/null tree
137340 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
137341 echo "$as_me: error: cannot find input file: $f" >&2;}
137342 { (exit 1); exit 1; }; }
137345 done` || { (exit 1); exit 1; }
137346 _ACEOF
137347 cat >>$CONFIG_STATUS <<_ACEOF
137348 sed "$ac_vpsub
137349 $extrasub
137350 _ACEOF
137351 cat >>$CONFIG_STATUS <<\_ACEOF
137353 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
137354 s,@configure_input@,$configure_input,;t t
137355 s,@srcdir@,$ac_srcdir,;t t
137356 s,@abs_srcdir@,$ac_abs_srcdir,;t t
137357 s,@top_srcdir@,$ac_top_srcdir,;t t
137358 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
137359 s,@builddir@,$ac_builddir,;t t
137360 s,@abs_builddir@,$ac_abs_builddir,;t t
137361 s,@top_builddir@,$ac_top_builddir,;t t
137362 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
137363 s,@INSTALL@,$ac_INSTALL,;t t
137364 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
137365 rm -f $tmp/stdin
137366 if test x"$ac_file" != x-; then
137367 mv $tmp/out $ac_file
137369 cat $tmp/out
137370 rm -f $tmp/out
137373 # Run the commands associated with the file.
137374 case $ac_file in
137375 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
137378 _ACEOF
137379 cat >>$CONFIG_STATUS <<\_ACEOF
137382 # CONFIG_HEADER section.
137385 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
137386 # NAME is the cpp macro being defined and VALUE is the value it is being given.
137388 # ac_d sets the value in "#define NAME VALUE" lines.
137389 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
137390 ac_dB='[ ].*$,\1#\2'
137391 ac_dC=' '
137392 ac_dD=',;t'
137393 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
137394 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
137395 ac_uB='$,\1#\2define\3'
137396 ac_uC=' '
137397 ac_uD=',;t'
137399 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
137400 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
137401 case $ac_file in
137402 - | *:- | *:-:* ) # input from stdin
137403 cat >$tmp/stdin
137404 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
137405 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
137406 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
137407 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
137408 * ) ac_file_in=$ac_file.in ;;
137411 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
137412 echo "$as_me: creating $ac_file" >&6;}
137414 # First look for the input files in the build tree, otherwise in the
137415 # src tree.
137416 ac_file_inputs=`IFS=:
137417 for f in $ac_file_in; do
137418 case $f in
137419 -) echo $tmp/stdin ;;
137420 [\\/$]*)
137421 # Absolute (can't be DOS-style, as IFS=:)
137422 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
137423 echo "$as_me: error: cannot find input file: $f" >&2;}
137424 { (exit 1); exit 1; }; }
137425 # Do quote $f, to prevent DOS paths from being IFS'd.
137426 echo "$f";;
137427 *) # Relative
137428 if test -f "$f"; then
137429 # Build tree
137430 echo "$f"
137431 elif test -f "$srcdir/$f"; then
137432 # Source tree
137433 echo "$srcdir/$f"
137435 # /dev/null tree
137436 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
137437 echo "$as_me: error: cannot find input file: $f" >&2;}
137438 { (exit 1); exit 1; }; }
137441 done` || { (exit 1); exit 1; }
137442 # Remove the trailing spaces.
137443 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
137445 _ACEOF
137447 # Transform confdefs.h into two sed scripts, `conftest.defines' and
137448 # `conftest.undefs', that substitutes the proper values into
137449 # config.h.in to produce config.h. The first handles `#define'
137450 # templates, and the second `#undef' templates.
137451 # And first: Protect against being on the right side of a sed subst in
137452 # config.status. Protect against being in an unquoted here document
137453 # in config.status.
137454 rm -f conftest.defines conftest.undefs
137455 # Using a here document instead of a string reduces the quoting nightmare.
137456 # Putting comments in sed scripts is not portable.
137458 # `end' is used to avoid that the second main sed command (meant for
137459 # 0-ary CPP macros) applies to n-ary macro definitions.
137460 # See the Autoconf documentation for `clear'.
137461 cat >confdef2sed.sed <<\_ACEOF
137462 s/[\\&,]/\\&/g
137463 s,[\\$`],\\&,g
137464 t clear
137465 : clear
137466 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
137467 t end
137468 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
137469 : end
137470 _ACEOF
137471 # If some macros were called several times there might be several times
137472 # the same #defines, which is useless. Nevertheless, we may not want to
137473 # sort them, since we want the *last* AC-DEFINE to be honored.
137474 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
137475 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
137476 rm -f confdef2sed.sed
137478 # This sed command replaces #undef with comments. This is necessary, for
137479 # example, in the case of _POSIX_SOURCE, which is predefined and required
137480 # on some systems where configure will not decide to define it.
137481 cat >>conftest.undefs <<\_ACEOF
137482 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
137483 _ACEOF
137485 # Break up conftest.defines because some shells have a limit on the size
137486 # of here documents, and old seds have small limits too (100 cmds).
137487 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
137488 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
137489 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
137490 echo ' :' >>$CONFIG_STATUS
137491 rm -f conftest.tail
137492 while grep . conftest.defines >/dev/null
137494 # Write a limited-size here document to $tmp/defines.sed.
137495 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
137496 # Speed up: don't consider the non `#define' lines.
137497 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
137498 # Work around the forget-to-reset-the-flag bug.
137499 echo 't clr' >>$CONFIG_STATUS
137500 echo ': clr' >>$CONFIG_STATUS
137501 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
137502 echo 'CEOF
137503 sed -f $tmp/defines.sed $tmp/in >$tmp/out
137504 rm -f $tmp/in
137505 mv $tmp/out $tmp/in
137506 ' >>$CONFIG_STATUS
137507 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
137508 rm -f conftest.defines
137509 mv conftest.tail conftest.defines
137511 rm -f conftest.defines
137512 echo ' fi # grep' >>$CONFIG_STATUS
137513 echo >>$CONFIG_STATUS
137515 # Break up conftest.undefs because some shells have a limit on the size
137516 # of here documents, and old seds have small limits too (100 cmds).
137517 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
137518 rm -f conftest.tail
137519 while grep . conftest.undefs >/dev/null
137521 # Write a limited-size here document to $tmp/undefs.sed.
137522 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
137523 # Speed up: don't consider the non `#undef'
137524 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
137525 # Work around the forget-to-reset-the-flag bug.
137526 echo 't clr' >>$CONFIG_STATUS
137527 echo ': clr' >>$CONFIG_STATUS
137528 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
137529 echo 'CEOF
137530 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
137531 rm -f $tmp/in
137532 mv $tmp/out $tmp/in
137533 ' >>$CONFIG_STATUS
137534 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
137535 rm -f conftest.undefs
137536 mv conftest.tail conftest.undefs
137538 rm -f conftest.undefs
137540 cat >>$CONFIG_STATUS <<\_ACEOF
137541 # Let's still pretend it is `configure' which instantiates (i.e., don't
137542 # use $as_me), people would be surprised to read:
137543 # /* config.h. Generated by config.status. */
137544 if test x"$ac_file" = x-; then
137545 echo "/* Generated by configure. */" >$tmp/config.h
137547 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
137549 cat $tmp/in >>$tmp/config.h
137550 rm -f $tmp/in
137551 if test x"$ac_file" != x-; then
137552 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
137553 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
137554 echo "$as_me: $ac_file is unchanged" >&6;}
137556 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
137557 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
137558 X"$ac_file" : 'X\(//\)[^/]' \| \
137559 X"$ac_file" : 'X\(//\)$' \| \
137560 X"$ac_file" : 'X\(/\)' \| \
137561 . : '\(.\)' 2>/dev/null ||
137562 echo X"$ac_file" |
137563 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
137564 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
137565 /^X\(\/\/\)$/{ s//\1/; q; }
137566 /^X\(\/\).*/{ s//\1/; q; }
137567 s/.*/./; q'`
137568 { if $as_mkdir_p; then
137569 mkdir -p "$ac_dir"
137571 as_dir="$ac_dir"
137572 as_dirs=
137573 while test ! -d "$as_dir"; do
137574 as_dirs="$as_dir $as_dirs"
137575 as_dir=`(dirname "$as_dir") 2>/dev/null ||
137576 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
137577 X"$as_dir" : 'X\(//\)[^/]' \| \
137578 X"$as_dir" : 'X\(//\)$' \| \
137579 X"$as_dir" : 'X\(/\)' \| \
137580 . : '\(.\)' 2>/dev/null ||
137581 echo X"$as_dir" |
137582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
137583 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
137584 /^X\(\/\/\)$/{ s//\1/; q; }
137585 /^X\(\/\).*/{ s//\1/; q; }
137586 s/.*/./; q'`
137588 test ! -n "$as_dirs" || mkdir $as_dirs
137589 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
137590 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
137591 { (exit 1); exit 1; }; }; }
137593 rm -f $ac_file
137594 mv $tmp/config.h $ac_file
137597 cat $tmp/config.h
137598 rm -f $tmp/config.h
137600 # Compute $ac_file's index in $config_headers.
137601 _am_stamp_count=1
137602 for _am_header in $config_headers :; do
137603 case $_am_header in
137604 $ac_file | $ac_file:* )
137605 break ;;
137607 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
137610 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
137611 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
137612 X$ac_file : 'X\(//\)[^/]' \| \
137613 X$ac_file : 'X\(//\)$' \| \
137614 X$ac_file : 'X\(/\)' \| \
137615 . : '\(.\)' 2>/dev/null ||
137616 echo X$ac_file |
137617 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
137618 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
137619 /^X\(\/\/\)$/{ s//\1/; q; }
137620 /^X\(\/\).*/{ s//\1/; q; }
137621 s/.*/./; q'`/stamp-h$_am_stamp_count
137623 _ACEOF
137624 cat >>$CONFIG_STATUS <<\_ACEOF
137627 # CONFIG_COMMANDS section.
137629 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
137630 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
137631 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
137632 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
137633 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
137634 X"$ac_dest" : 'X\(//\)[^/]' \| \
137635 X"$ac_dest" : 'X\(//\)$' \| \
137636 X"$ac_dest" : 'X\(/\)' \| \
137637 . : '\(.\)' 2>/dev/null ||
137638 echo X"$ac_dest" |
137639 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
137640 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
137641 /^X\(\/\/\)$/{ s//\1/; q; }
137642 /^X\(\/\).*/{ s//\1/; q; }
137643 s/.*/./; q'`
137644 { if $as_mkdir_p; then
137645 mkdir -p "$ac_dir"
137647 as_dir="$ac_dir"
137648 as_dirs=
137649 while test ! -d "$as_dir"; do
137650 as_dirs="$as_dir $as_dirs"
137651 as_dir=`(dirname "$as_dir") 2>/dev/null ||
137652 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
137653 X"$as_dir" : 'X\(//\)[^/]' \| \
137654 X"$as_dir" : 'X\(//\)$' \| \
137655 X"$as_dir" : 'X\(/\)' \| \
137656 . : '\(.\)' 2>/dev/null ||
137657 echo X"$as_dir" |
137658 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
137659 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
137660 /^X\(\/\/\)$/{ s//\1/; q; }
137661 /^X\(\/\).*/{ s//\1/; q; }
137662 s/.*/./; q'`
137664 test ! -n "$as_dirs" || mkdir $as_dirs
137665 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
137666 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
137667 { (exit 1); exit 1; }; }; }
137669 ac_builddir=.
137671 if test "$ac_dir" != .; then
137672 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
137673 # A "../" for each directory in $ac_dir_suffix.
137674 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
137676 ac_dir_suffix= ac_top_builddir=
137679 case $srcdir in
137680 .) # No --srcdir option. We are building in place.
137681 ac_srcdir=.
137682 if test -z "$ac_top_builddir"; then
137683 ac_top_srcdir=.
137685 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
137686 fi ;;
137687 [\\/]* | ?:[\\/]* ) # Absolute path.
137688 ac_srcdir=$srcdir$ac_dir_suffix;
137689 ac_top_srcdir=$srcdir ;;
137690 *) # Relative path.
137691 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
137692 ac_top_srcdir=$ac_top_builddir$srcdir ;;
137695 # Do not use `cd foo && pwd` to compute absolute paths, because
137696 # the directories may not exist.
137697 case `pwd` in
137698 .) ac_abs_builddir="$ac_dir";;
137700 case "$ac_dir" in
137701 .) ac_abs_builddir=`pwd`;;
137702 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
137703 *) ac_abs_builddir=`pwd`/"$ac_dir";;
137704 esac;;
137706 case $ac_abs_builddir in
137707 .) ac_abs_top_builddir=${ac_top_builddir}.;;
137709 case ${ac_top_builddir}. in
137710 .) ac_abs_top_builddir=$ac_abs_builddir;;
137711 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
137712 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
137713 esac;;
137715 case $ac_abs_builddir in
137716 .) ac_abs_srcdir=$ac_srcdir;;
137718 case $ac_srcdir in
137719 .) ac_abs_srcdir=$ac_abs_builddir;;
137720 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
137721 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
137722 esac;;
137724 case $ac_abs_builddir in
137725 .) ac_abs_top_srcdir=$ac_top_srcdir;;
137727 case $ac_top_srcdir in
137728 .) ac_abs_top_srcdir=$ac_abs_builddir;;
137729 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
137730 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
137731 esac;;
137735 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
137736 echo "$as_me: executing $ac_dest commands" >&6;}
137737 case $ac_dest in
137738 default-1 )
137739 # Only add multilib support code if we just rebuilt the top-level
137740 # Makefile.
137741 case " $CONFIG_FILES " in
137742 *" Makefile "*)
137743 ac_file=Makefile . ${multi_basedir}/config-ml.in
137745 esac ;;
137746 libtool )
137748 # See if we are running on zsh, and set the options which allow our
137749 # commands through without removal of \ escapes.
137750 if test -n "${ZSH_VERSION+set}" ; then
137751 setopt NO_GLOB_SUBST
137754 cfgfile="${ofile}T"
137755 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
137756 $RM "$cfgfile"
137758 cat <<_LT_EOF >> "$cfgfile"
137759 #! $SHELL
137761 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
137762 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
137763 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
137764 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
137766 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
137767 # 2006, 2007, 2008 Free Software Foundation, Inc.
137768 # Written by Gordon Matzigkeit, 1996
137770 # This file is part of GNU Libtool.
137772 # GNU Libtool is free software; you can redistribute it and/or
137773 # modify it under the terms of the GNU General Public License as
137774 # published by the Free Software Foundation; either version 2 of
137775 # the License, or (at your option) any later version.
137777 # As a special exception to the GNU General Public License,
137778 # if you distribute this file as part of a program or library that
137779 # is built using GNU Libtool, you may include this file under the
137780 # same distribution terms that you use for the rest of that program.
137782 # GNU Libtool is distributed in the hope that it will be useful,
137783 # but WITHOUT ANY WARRANTY; without even the implied warranty of
137784 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
137785 # GNU General Public License for more details.
137787 # You should have received a copy of the GNU General Public License
137788 # along with GNU Libtool; see the file COPYING. If not, a copy
137789 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
137790 # obtained by writing to the Free Software Foundation, Inc.,
137791 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
137794 # The names of the tagged configurations supported by this script.
137795 available_tags="CXX "
137797 # ### BEGIN LIBTOOL CONFIG
137799 # Which release of libtool.m4 was used?
137800 macro_version=$macro_version
137801 macro_revision=$macro_revision
137803 # Whether or not to build shared libraries.
137804 build_libtool_libs=$enable_shared
137806 # Whether or not to build static libraries.
137807 build_old_libs=$enable_static
137809 # What type of objects to build.
137810 pic_mode=$pic_mode
137812 # Whether or not to optimize for fast installation.
137813 fast_install=$enable_fast_install
137815 # The host system.
137816 host_alias=$host_alias
137817 host=$host
137818 host_os=$host_os
137820 # The build system.
137821 build_alias=$build_alias
137822 build=$build
137823 build_os=$build_os
137825 # A sed program that does not truncate output.
137826 SED=$lt_SED
137828 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
137829 Xsed="\$SED -e 1s/^X//"
137831 # A grep program that handles long lines.
137832 GREP=$lt_GREP
137834 # An ERE matcher.
137835 EGREP=$lt_EGREP
137837 # A literal string matcher.
137838 FGREP=$lt_FGREP
137840 # A BSD- or MS-compatible name lister.
137841 NM=$lt_NM
137843 # Whether we need soft or hard links.
137844 LN_S=$lt_LN_S
137846 # What is the maximum length of a command?
137847 max_cmd_len=$max_cmd_len
137849 # Object file suffix (normally "o").
137850 objext=$ac_objext
137852 # Executable file suffix (normally "").
137853 exeext=$exeext
137855 # whether the shell understands "unset".
137856 lt_unset=$lt_unset
137858 # turn spaces into newlines.
137859 SP2NL=$lt_lt_SP2NL
137861 # turn newlines into spaces.
137862 NL2SP=$lt_lt_NL2SP
137864 # How to create reloadable object files.
137865 reload_flag=$lt_reload_flag
137866 reload_cmds=$lt_reload_cmds
137868 # An object symbol dumper.
137869 OBJDUMP=$lt_OBJDUMP
137871 # Method to check whether dependent libraries are shared objects.
137872 deplibs_check_method=$lt_deplibs_check_method
137874 # Command to use when deplibs_check_method == "file_magic".
137875 file_magic_cmd=$lt_file_magic_cmd
137877 # The archiver.
137878 AR=$lt_AR
137879 AR_FLAGS=$lt_AR_FLAGS
137881 # A symbol stripping program.
137882 STRIP=$lt_STRIP
137884 # Commands used to install an old-style archive.
137885 RANLIB=$lt_RANLIB
137886 old_postinstall_cmds=$lt_old_postinstall_cmds
137887 old_postuninstall_cmds=$lt_old_postuninstall_cmds
137889 # A C compiler.
137890 LTCC=$lt_CC
137892 # LTCC compiler flags.
137893 LTCFLAGS=$lt_CFLAGS
137895 # Take the output of nm and produce a listing of raw symbols and C names.
137896 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
137898 # Transform the output of nm in a proper C declaration.
137899 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
137901 # Transform the output of nm in a C name address pair.
137902 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
137904 # Transform the output of nm in a C name address pair when lib prefix is needed.
137905 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
137907 # The name of the directory that contains temporary libtool files.
137908 objdir=$objdir
137910 # Shell to use when invoking shell scripts.
137911 SHELL=$lt_SHELL
137913 # An echo program that does not interpret backslashes.
137914 ECHO=$lt_ECHO
137916 # Used to examine libraries when file_magic_cmd begins with "file".
137917 MAGIC_CMD=$MAGIC_CMD
137919 # Must we lock files when doing compilation?
137920 need_locks=$lt_need_locks
137922 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
137923 DSYMUTIL=$lt_DSYMUTIL
137925 # Tool to change global to local symbols on Mac OS X.
137926 NMEDIT=$lt_NMEDIT
137928 # Tool to manipulate fat objects and archives on Mac OS X.
137929 LIPO=$lt_LIPO
137931 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
137932 OTOOL=$lt_OTOOL
137934 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
137935 OTOOL64=$lt_OTOOL64
137937 # Old archive suffix (normally "a").
137938 libext=$libext
137940 # Shared library suffix (normally ".so").
137941 shrext_cmds=$lt_shrext_cmds
137943 # The commands to extract the exported symbol list from a shared archive.
137944 extract_expsyms_cmds=$lt_extract_expsyms_cmds
137946 # Variables whose values should be saved in libtool wrapper scripts and
137947 # restored at link time.
137948 variables_saved_for_relink=$lt_variables_saved_for_relink
137950 # Do we need the "lib" prefix for modules?
137951 need_lib_prefix=$need_lib_prefix
137953 # Do we need a version for libraries?
137954 need_version=$need_version
137956 # Library versioning type.
137957 version_type=$version_type
137959 # Shared library runtime path variable.
137960 runpath_var=$runpath_var
137962 # Shared library path variable.
137963 shlibpath_var=$shlibpath_var
137965 # Is shlibpath searched before the hard-coded library search path?
137966 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
137968 # Format of library name prefix.
137969 libname_spec=$lt_libname_spec
137971 # List of archive names. First name is the real one, the rest are links.
137972 # The last name is the one that the linker finds with -lNAME
137973 library_names_spec=$lt_library_names_spec
137975 # The coded name of the library, if different from the real name.
137976 soname_spec=$lt_soname_spec
137978 # Command to use after installation of a shared archive.
137979 postinstall_cmds=$lt_postinstall_cmds
137981 # Command to use after uninstallation of a shared archive.
137982 postuninstall_cmds=$lt_postuninstall_cmds
137984 # Commands used to finish a libtool library installation in a directory.
137985 finish_cmds=$lt_finish_cmds
137987 # As "finish_cmds", except a single script fragment to be evaled but
137988 # not shown.
137989 finish_eval=$lt_finish_eval
137991 # Whether we should hardcode library paths into libraries.
137992 hardcode_into_libs=$hardcode_into_libs
137994 # Compile-time system search path for libraries.
137995 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
137997 # Run-time system search path for libraries.
137998 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
138000 # Whether dlopen is supported.
138001 dlopen_support=$enable_dlopen
138003 # Whether dlopen of programs is supported.
138004 dlopen_self=$enable_dlopen_self
138006 # Whether dlopen of statically linked programs is supported.
138007 dlopen_self_static=$enable_dlopen_self_static
138009 # Commands to strip libraries.
138010 old_striplib=$lt_old_striplib
138011 striplib=$lt_striplib
138014 # The linker used to build libraries.
138015 LD=$lt_LD
138017 # Commands used to build an old-style archive.
138018 old_archive_cmds=$lt_old_archive_cmds
138020 # A language specific compiler.
138021 CC=$lt_compiler
138023 # Is the compiler the GNU compiler?
138024 with_gcc=$GCC
138026 # Compiler flag to turn off builtin functions.
138027 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
138029 # How to pass a linker flag through the compiler.
138030 wl=$lt_lt_prog_compiler_wl
138032 # Additional compiler flags for building library objects.
138033 pic_flag=$lt_lt_prog_compiler_pic
138035 # Compiler flag to prevent dynamic linking.
138036 link_static_flag=$lt_lt_prog_compiler_static
138038 # Does compiler simultaneously support -c and -o options?
138039 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
138041 # Whether or not to add -lc for building shared libraries.
138042 build_libtool_need_lc=$archive_cmds_need_lc
138044 # Whether or not to disallow shared libs when runtime libs are static.
138045 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
138047 # Compiler flag to allow reflexive dlopens.
138048 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
138050 # Compiler flag to generate shared objects directly from archives.
138051 whole_archive_flag_spec=$lt_whole_archive_flag_spec
138053 # Whether the compiler copes with passing no objects directly.
138054 compiler_needs_object=$lt_compiler_needs_object
138056 # Create an old-style archive from a shared archive.
138057 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
138059 # Create a temporary old-style archive to link instead of a shared archive.
138060 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
138062 # Commands used to build a shared archive.
138063 archive_cmds=$lt_archive_cmds
138064 archive_expsym_cmds=$lt_archive_expsym_cmds
138066 # Commands used to build a loadable module if different from building
138067 # a shared archive.
138068 module_cmds=$lt_module_cmds
138069 module_expsym_cmds=$lt_module_expsym_cmds
138071 # Whether we are building with GNU ld or not.
138072 with_gnu_ld=$lt_with_gnu_ld
138074 # Flag that allows shared libraries with undefined symbols to be built.
138075 allow_undefined_flag=$lt_allow_undefined_flag
138077 # Flag that enforces no undefined symbols.
138078 no_undefined_flag=$lt_no_undefined_flag
138080 # Flag to hardcode \$libdir into a binary during linking.
138081 # This must work even if \$libdir does not exist
138082 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
138084 # If ld is used when linking, flag to hardcode \$libdir into a binary
138085 # during linking. This must work even if \$libdir does not exist.
138086 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
138088 # Whether we need a single "-rpath" flag with a separated argument.
138089 hardcode_libdir_separator=$lt_hardcode_libdir_separator
138091 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
138092 # DIR into the resulting binary.
138093 hardcode_direct=$hardcode_direct
138095 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
138096 # DIR into the resulting binary and the resulting library dependency is
138097 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
138098 # library is relocated.
138099 hardcode_direct_absolute=$hardcode_direct_absolute
138101 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
138102 # into the resulting binary.
138103 hardcode_minus_L=$hardcode_minus_L
138105 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
138106 # into the resulting binary.
138107 hardcode_shlibpath_var=$hardcode_shlibpath_var
138109 # Set to "yes" if building a shared library automatically hardcodes DIR
138110 # into the library and all subsequent libraries and executables linked
138111 # against it.
138112 hardcode_automatic=$hardcode_automatic
138114 # Set to yes if linker adds runtime paths of dependent libraries
138115 # to runtime path list.
138116 inherit_rpath=$inherit_rpath
138118 # Whether libtool must link a program against all its dependency libraries.
138119 link_all_deplibs=$link_all_deplibs
138121 # Fix the shell variable \$srcfile for the compiler.
138122 fix_srcfile_path=$lt_fix_srcfile_path
138124 # Set to "yes" if exported symbols are required.
138125 always_export_symbols=$always_export_symbols
138127 # The commands to list exported symbols.
138128 export_symbols_cmds=$lt_export_symbols_cmds
138130 # Symbols that should not be listed in the preloaded symbols.
138131 exclude_expsyms=$lt_exclude_expsyms
138133 # Symbols that must always be exported.
138134 include_expsyms=$lt_include_expsyms
138136 # Commands necessary for linking programs (against libraries) with templates.
138137 prelink_cmds=$lt_prelink_cmds
138139 # Specify filename containing input files.
138140 file_list_spec=$lt_file_list_spec
138142 # How to hardcode a shared library path into an executable.
138143 hardcode_action=$hardcode_action
138145 # The directories searched by this compiler when creating a shared library.
138146 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
138148 # Dependencies to place before and after the objects being linked to
138149 # create a shared library.
138150 predep_objects=$lt_predep_objects
138151 postdep_objects=$lt_postdep_objects
138152 predeps=$lt_predeps
138153 postdeps=$lt_postdeps
138155 # The library search path used internally by the compiler when linking
138156 # a shared library.
138157 compiler_lib_search_path=$lt_compiler_lib_search_path
138159 # ### END LIBTOOL CONFIG
138161 _LT_EOF
138163 case $host_os in
138164 aix3*)
138165 cat <<\_LT_EOF >> "$cfgfile"
138166 # AIX sometimes has problems with the GCC collect2 program. For some
138167 # reason, if we set the COLLECT_NAMES environment variable, the problems
138168 # vanish in a puff of smoke.
138169 if test "X${COLLECT_NAMES+set}" != Xset; then
138170 COLLECT_NAMES=
138171 export COLLECT_NAMES
138173 _LT_EOF
138178 ltmain="$ac_aux_dir/ltmain.sh"
138181 # We use sed instead of cat because bash on DJGPP gets confused if
138182 # if finds mixed CR/LF and LF-only lines. Since sed operates in
138183 # text mode, it properly converts lines to CR/LF. This bash problem
138184 # is reportedly fixed, but why not run on old versions too?
138185 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
138186 || (rm -f "$cfgfile"; exit 1)
138188 case $xsi_shell in
138190 cat << \_LT_EOF >> "$cfgfile"
138192 # func_dirname file append nondir_replacement
138193 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
138194 # otherwise set result to NONDIR_REPLACEMENT.
138195 func_dirname ()
138197 case ${1} in
138198 */*) func_dirname_result="${1%/*}${2}" ;;
138199 * ) func_dirname_result="${3}" ;;
138203 # func_basename file
138204 func_basename ()
138206 func_basename_result="${1##*/}"
138209 # func_dirname_and_basename file append nondir_replacement
138210 # perform func_basename and func_dirname in a single function
138211 # call:
138212 # dirname: Compute the dirname of FILE. If nonempty,
138213 # add APPEND to the result, otherwise set result
138214 # to NONDIR_REPLACEMENT.
138215 # value returned in "$func_dirname_result"
138216 # basename: Compute filename of FILE.
138217 # value retuned in "$func_basename_result"
138218 # Implementation must be kept synchronized with func_dirname
138219 # and func_basename. For efficiency, we do not delegate to
138220 # those functions but instead duplicate the functionality here.
138221 func_dirname_and_basename ()
138223 case ${1} in
138224 */*) func_dirname_result="${1%/*}${2}" ;;
138225 * ) func_dirname_result="${3}" ;;
138227 func_basename_result="${1##*/}"
138230 # func_stripname prefix suffix name
138231 # strip PREFIX and SUFFIX off of NAME.
138232 # PREFIX and SUFFIX must not contain globbing or regex special
138233 # characters, hashes, percent signs, but SUFFIX may contain a leading
138234 # dot (in which case that matches only a dot).
138235 func_stripname ()
138237 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
138238 # positional parameters, so assign one to ordinary parameter first.
138239 func_stripname_result=${3}
138240 func_stripname_result=${func_stripname_result#"${1}"}
138241 func_stripname_result=${func_stripname_result%"${2}"}
138244 # func_opt_split
138245 func_opt_split ()
138247 func_opt_split_opt=${1%%=*}
138248 func_opt_split_arg=${1#*=}
138251 # func_lo2o object
138252 func_lo2o ()
138254 case ${1} in
138255 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
138256 *) func_lo2o_result=${1} ;;
138260 # func_xform libobj-or-source
138261 func_xform ()
138263 func_xform_result=${1%.*}.lo
138266 # func_arith arithmetic-term...
138267 func_arith ()
138269 func_arith_result=$(( $* ))
138272 # func_len string
138273 # STRING may not start with a hyphen.
138274 func_len ()
138276 func_len_result=${#1}
138279 _LT_EOF
138281 *) # Bourne compatible functions.
138282 cat << \_LT_EOF >> "$cfgfile"
138284 # func_dirname file append nondir_replacement
138285 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
138286 # otherwise set result to NONDIR_REPLACEMENT.
138287 func_dirname ()
138289 # Extract subdirectory from the argument.
138290 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
138291 if test "X$func_dirname_result" = "X${1}"; then
138292 func_dirname_result="${3}"
138294 func_dirname_result="$func_dirname_result${2}"
138298 # func_basename file
138299 func_basename ()
138301 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
138305 # func_stripname prefix suffix name
138306 # strip PREFIX and SUFFIX off of NAME.
138307 # PREFIX and SUFFIX must not contain globbing or regex special
138308 # characters, hashes, percent signs, but SUFFIX may contain a leading
138309 # dot (in which case that matches only a dot).
138310 # func_strip_suffix prefix name
138311 func_stripname ()
138313 case ${2} in
138314 .*) func_stripname_result=`$ECHO "X${3}" \
138315 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
138316 *) func_stripname_result=`$ECHO "X${3}" \
138317 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
138321 # sed scripts:
138322 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
138323 my_sed_long_arg='1s/^-[^=]*=//'
138325 # func_opt_split
138326 func_opt_split ()
138328 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
138329 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
138332 # func_lo2o object
138333 func_lo2o ()
138335 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
138338 # func_xform libobj-or-source
138339 func_xform ()
138341 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
138344 # func_arith arithmetic-term...
138345 func_arith ()
138347 func_arith_result=`expr "$@"`
138350 # func_len string
138351 # STRING may not start with a hyphen.
138352 func_len ()
138354 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
138357 _LT_EOF
138360 case $lt_shell_append in
138362 cat << \_LT_EOF >> "$cfgfile"
138364 # func_append var value
138365 # Append VALUE to the end of shell variable VAR.
138366 func_append ()
138368 eval "$1+=\$2"
138370 _LT_EOF
138373 cat << \_LT_EOF >> "$cfgfile"
138375 # func_append var value
138376 # Append VALUE to the end of shell variable VAR.
138377 func_append ()
138379 eval "$1=\$$1\$2"
138382 _LT_EOF
138387 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
138388 || (rm -f "$cfgfile"; exit 1)
138390 mv -f "$cfgfile" "$ofile" ||
138391 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
138392 chmod +x "$ofile"
138395 cat <<_LT_EOF >> "$ofile"
138397 # ### BEGIN LIBTOOL TAG CONFIG: CXX
138399 # The linker used to build libraries.
138400 LD=$lt_LD_CXX
138402 # Commands used to build an old-style archive.
138403 old_archive_cmds=$lt_old_archive_cmds_CXX
138405 # A language specific compiler.
138406 CC=$lt_compiler_CXX
138408 # Is the compiler the GNU compiler?
138409 with_gcc=$GCC_CXX
138411 # Compiler flag to turn off builtin functions.
138412 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
138414 # How to pass a linker flag through the compiler.
138415 wl=$lt_lt_prog_compiler_wl_CXX
138417 # Additional compiler flags for building library objects.
138418 pic_flag=$lt_lt_prog_compiler_pic_CXX
138420 # Compiler flag to prevent dynamic linking.
138421 link_static_flag=$lt_lt_prog_compiler_static_CXX
138423 # Does compiler simultaneously support -c and -o options?
138424 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
138426 # Whether or not to add -lc for building shared libraries.
138427 build_libtool_need_lc=$archive_cmds_need_lc_CXX
138429 # Whether or not to disallow shared libs when runtime libs are static.
138430 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
138432 # Compiler flag to allow reflexive dlopens.
138433 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
138435 # Compiler flag to generate shared objects directly from archives.
138436 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
138438 # Whether the compiler copes with passing no objects directly.
138439 compiler_needs_object=$lt_compiler_needs_object_CXX
138441 # Create an old-style archive from a shared archive.
138442 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
138444 # Create a temporary old-style archive to link instead of a shared archive.
138445 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
138447 # Commands used to build a shared archive.
138448 archive_cmds=$lt_archive_cmds_CXX
138449 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
138451 # Commands used to build a loadable module if different from building
138452 # a shared archive.
138453 module_cmds=$lt_module_cmds_CXX
138454 module_expsym_cmds=$lt_module_expsym_cmds_CXX
138456 # Whether we are building with GNU ld or not.
138457 with_gnu_ld=$lt_with_gnu_ld_CXX
138459 # Flag that allows shared libraries with undefined symbols to be built.
138460 allow_undefined_flag=$lt_allow_undefined_flag_CXX
138462 # Flag that enforces no undefined symbols.
138463 no_undefined_flag=$lt_no_undefined_flag_CXX
138465 # Flag to hardcode \$libdir into a binary during linking.
138466 # This must work even if \$libdir does not exist
138467 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
138469 # If ld is used when linking, flag to hardcode \$libdir into a binary
138470 # during linking. This must work even if \$libdir does not exist.
138471 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
138473 # Whether we need a single "-rpath" flag with a separated argument.
138474 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
138476 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
138477 # DIR into the resulting binary.
138478 hardcode_direct=$hardcode_direct_CXX
138480 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
138481 # DIR into the resulting binary and the resulting library dependency is
138482 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
138483 # library is relocated.
138484 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
138486 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
138487 # into the resulting binary.
138488 hardcode_minus_L=$hardcode_minus_L_CXX
138490 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
138491 # into the resulting binary.
138492 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
138494 # Set to "yes" if building a shared library automatically hardcodes DIR
138495 # into the library and all subsequent libraries and executables linked
138496 # against it.
138497 hardcode_automatic=$hardcode_automatic_CXX
138499 # Set to yes if linker adds runtime paths of dependent libraries
138500 # to runtime path list.
138501 inherit_rpath=$inherit_rpath_CXX
138503 # Whether libtool must link a program against all its dependency libraries.
138504 link_all_deplibs=$link_all_deplibs_CXX
138506 # Fix the shell variable \$srcfile for the compiler.
138507 fix_srcfile_path=$lt_fix_srcfile_path_CXX
138509 # Set to "yes" if exported symbols are required.
138510 always_export_symbols=$always_export_symbols_CXX
138512 # The commands to list exported symbols.
138513 export_symbols_cmds=$lt_export_symbols_cmds_CXX
138515 # Symbols that should not be listed in the preloaded symbols.
138516 exclude_expsyms=$lt_exclude_expsyms_CXX
138518 # Symbols that must always be exported.
138519 include_expsyms=$lt_include_expsyms_CXX
138521 # Commands necessary for linking programs (against libraries) with templates.
138522 prelink_cmds=$lt_prelink_cmds_CXX
138524 # Specify filename containing input files.
138525 file_list_spec=$lt_file_list_spec_CXX
138527 # How to hardcode a shared library path into an executable.
138528 hardcode_action=$hardcode_action_CXX
138530 # The directories searched by this compiler when creating a shared library.
138531 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
138533 # Dependencies to place before and after the objects being linked to
138534 # create a shared library.
138535 predep_objects=$lt_predep_objects_CXX
138536 postdep_objects=$lt_postdep_objects_CXX
138537 predeps=$lt_predeps_CXX
138538 postdeps=$lt_postdeps_CXX
138540 # The library search path used internally by the compiler when linking
138541 # a shared library.
138542 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
138544 # ### END LIBTOOL TAG CONFIG: CXX
138545 _LT_EOF
138548 include/gstdint.h )
138549 if test "$GCC" = yes; then
138550 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
138552 echo "/* generated for $CC */" > tmp-stdint.h
138555 sed 's/^ *//' >> tmp-stdint.h <<EOF
138557 #ifndef GCC_GENERATED_STDINT_H
138558 #define GCC_GENERATED_STDINT_H 1
138560 #include <sys/types.h>
138563 if test "$acx_cv_header_stdint" != stdint.h; then
138564 echo "#include <stddef.h>" >> tmp-stdint.h
138566 if test "$acx_cv_header_stdint" != stddef.h; then
138567 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
138570 sed 's/^ *//' >> tmp-stdint.h <<EOF
138571 /* glibc uses these symbols as guards to prevent redefinitions. */
138572 #ifdef __int8_t_defined
138573 #define _INT8_T
138574 #define _INT16_T
138575 #define _INT32_T
138576 #endif
138577 #ifdef __uint32_t_defined
138578 #define _UINT32_T
138579 #endif
138583 # ----------------- done header, emit basic int types -------------
138584 if test "$acx_cv_header_stdint" = stddef.h; then
138585 sed 's/^ *//' >> tmp-stdint.h <<EOF
138587 #ifndef _UINT8_T
138588 #define _UINT8_T
138589 #ifndef __uint8_t_defined
138590 #define __uint8_t_defined
138591 typedef unsigned $acx_cv_type_int8_t uint8_t;
138592 #endif
138593 #endif
138595 #ifndef _UINT16_T
138596 #define _UINT16_T
138597 #ifndef __uint16_t_defined
138598 #define __uint16_t_defined
138599 typedef unsigned $acx_cv_type_int16_t uint16_t;
138600 #endif
138601 #endif
138603 #ifndef _UINT32_T
138604 #define _UINT32_T
138605 #ifndef __uint32_t_defined
138606 #define __uint32_t_defined
138607 typedef unsigned $acx_cv_type_int32_t uint32_t;
138608 #endif
138609 #endif
138611 #ifndef _INT8_T
138612 #define _INT8_T
138613 #ifndef __int8_t_defined
138614 #define __int8_t_defined
138615 typedef $acx_cv_type_int8_t int8_t;
138616 #endif
138617 #endif
138619 #ifndef _INT16_T
138620 #define _INT16_T
138621 #ifndef __int16_t_defined
138622 #define __int16_t_defined
138623 typedef $acx_cv_type_int16_t int16_t;
138624 #endif
138625 #endif
138627 #ifndef _INT32_T
138628 #define _INT32_T
138629 #ifndef __int32_t_defined
138630 #define __int32_t_defined
138631 typedef $acx_cv_type_int32_t int32_t;
138632 #endif
138633 #endif
138635 elif test "$ac_cv_type_u_int32_t" = yes; then
138636 sed 's/^ *//' >> tmp-stdint.h <<EOF
138638 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
138639 #ifndef _INT8_T
138640 #define _INT8_T
138641 #endif
138642 #ifndef _INT16_T
138643 #define _INT16_T
138644 #endif
138645 #ifndef _INT32_T
138646 #define _INT32_T
138647 #endif
138649 #ifndef _UINT8_T
138650 #define _UINT8_T
138651 #ifndef __uint8_t_defined
138652 #define __uint8_t_defined
138653 typedef u_int8_t uint8_t;
138654 #endif
138655 #endif
138657 #ifndef _UINT16_T
138658 #define _UINT16_T
138659 #ifndef __uint16_t_defined
138660 #define __uint16_t_defined
138661 typedef u_int16_t uint16_t;
138662 #endif
138663 #endif
138665 #ifndef _UINT32_T
138666 #define _UINT32_T
138667 #ifndef __uint32_t_defined
138668 #define __uint32_t_defined
138669 typedef u_int32_t uint32_t;
138670 #endif
138671 #endif
138674 sed 's/^ *//' >> tmp-stdint.h <<EOF
138676 /* Some systems have guard macros to prevent redefinitions, define them. */
138677 #ifndef _INT8_T
138678 #define _INT8_T
138679 #endif
138680 #ifndef _INT16_T
138681 #define _INT16_T
138682 #endif
138683 #ifndef _INT32_T
138684 #define _INT32_T
138685 #endif
138686 #ifndef _UINT8_T
138687 #define _UINT8_T
138688 #endif
138689 #ifndef _UINT16_T
138690 #define _UINT16_T
138691 #endif
138692 #ifndef _UINT32_T
138693 #define _UINT32_T
138694 #endif
138698 # ------------- done basic int types, emit int64_t types ------------
138699 if test "$ac_cv_type_uint64_t" = yes; then
138700 sed 's/^ *//' >> tmp-stdint.h <<EOF
138702 /* system headers have good uint64_t and int64_t */
138703 #ifndef _INT64_T
138704 #define _INT64_T
138705 #endif
138706 #ifndef _UINT64_T
138707 #define _UINT64_T
138708 #endif
138710 elif test "$ac_cv_type_u_int64_t" = yes; then
138711 sed 's/^ *//' >> tmp-stdint.h <<EOF
138713 /* system headers have an u_int64_t (and int64_t) */
138714 #ifndef _INT64_T
138715 #define _INT64_T
138716 #endif
138717 #ifndef _UINT64_T
138718 #define _UINT64_T
138719 #ifndef __uint64_t_defined
138720 #define __uint64_t_defined
138721 typedef u_int64_t uint64_t;
138722 #endif
138723 #endif
138725 elif test -n "$acx_cv_type_int64_t"; then
138726 sed 's/^ *//' >> tmp-stdint.h <<EOF
138728 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
138729 #ifndef _INT64_T
138730 #define _INT64_T
138731 typedef $acx_cv_type_int64_t int64_t;
138732 #endif
138733 #ifndef _UINT64_T
138734 #define _UINT64_T
138735 #ifndef __uint64_t_defined
138736 #define __uint64_t_defined
138737 typedef unsigned $acx_cv_type_int64_t uint64_t;
138738 #endif
138739 #endif
138742 sed 's/^ *//' >> tmp-stdint.h <<EOF
138744 /* some common heuristics for int64_t, using compiler-specific tests */
138745 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
138746 #ifndef _INT64_T
138747 #define _INT64_T
138748 #ifndef __int64_t_defined
138749 typedef long long int64_t;
138750 #endif
138751 #endif
138752 #ifndef _UINT64_T
138753 #define _UINT64_T
138754 typedef unsigned long long uint64_t;
138755 #endif
138757 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
138758 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
138759 does not implement __extension__. But that compiler doesn't define
138760 __GNUC_MINOR__. */
138761 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
138762 # define __extension__
138763 # endif
138765 # ifndef _INT64_T
138766 # define _INT64_T
138767 __extension__ typedef long long int64_t;
138768 # endif
138769 # ifndef _UINT64_T
138770 # define _UINT64_T
138771 __extension__ typedef unsigned long long uint64_t;
138772 # endif
138774 #elif !defined __STRICT_ANSI__
138775 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
138777 # ifndef _INT64_T
138778 # define _INT64_T
138779 typedef __int64 int64_t;
138780 # endif
138781 # ifndef _UINT64_T
138782 # define _UINT64_T
138783 typedef unsigned __int64 uint64_t;
138784 # endif
138785 # endif /* compiler */
138787 #endif /* ANSI version */
138791 # ------------- done int64_t types, emit intptr types ------------
138792 if test "$ac_cv_type_uintptr_t" != yes; then
138793 sed 's/^ *//' >> tmp-stdint.h <<EOF
138795 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
138796 #ifndef __uintptr_t_defined
138797 typedef u$acx_cv_type_intptr_t uintptr_t;
138798 #endif
138799 #ifndef __intptr_t_defined
138800 typedef $acx_cv_type_intptr_t intptr_t;
138801 #endif
138805 # ------------- done intptr types, emit int_least types ------------
138806 if test "$ac_cv_type_int_least32_t" != yes; then
138807 sed 's/^ *//' >> tmp-stdint.h <<EOF
138809 /* Define int_least types */
138810 typedef int8_t int_least8_t;
138811 typedef int16_t int_least16_t;
138812 typedef int32_t int_least32_t;
138813 #ifdef _INT64_T
138814 typedef int64_t int_least64_t;
138815 #endif
138817 typedef uint8_t uint_least8_t;
138818 typedef uint16_t uint_least16_t;
138819 typedef uint32_t uint_least32_t;
138820 #ifdef _UINT64_T
138821 typedef uint64_t uint_least64_t;
138822 #endif
138826 # ------------- done intptr types, emit int_fast types ------------
138827 if test "$ac_cv_type_int_fast32_t" != yes; then
138828 sed 's/^ *//' >> tmp-stdint.h <<EOF
138830 /* Define int_fast types. short is often slow */
138831 typedef int8_t int_fast8_t;
138832 typedef int int_fast16_t;
138833 typedef int32_t int_fast32_t;
138834 #ifdef _INT64_T
138835 typedef int64_t int_fast64_t;
138836 #endif
138838 typedef uint8_t uint_fast8_t;
138839 typedef unsigned int uint_fast16_t;
138840 typedef uint32_t uint_fast32_t;
138841 #ifdef _UINT64_T
138842 typedef uint64_t uint_fast64_t;
138843 #endif
138847 if test "$ac_cv_type_uintmax_t" != yes; then
138848 sed 's/^ *//' >> tmp-stdint.h <<EOF
138850 /* Define intmax based on what we found */
138851 #ifdef _INT64_T
138852 typedef int64_t intmax_t;
138853 #else
138854 typedef long intmax_t;
138855 #endif
138856 #ifdef _UINT64_T
138857 typedef uint64_t uintmax_t;
138858 #else
138859 typedef unsigned long uintmax_t;
138860 #endif
138864 sed 's/^ *//' >> tmp-stdint.h <<EOF
138866 #endif /* GCC_GENERATED_STDINT_H */
138869 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
138870 rm -f tmp-stdint.h
138872 mv -f tmp-stdint.h include/gstdint.h
138876 default ) if test -n "$CONFIG_FILES"; then
138877 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
138878 # that multilib installs will end up installed in the correct place.
138879 # The testsuite needs it for multilib-aware ABI baseline files.
138880 # To work around this not being passed down from config-ml.in ->
138881 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
138882 # append it here. Only modify Makefiles that have just been created.
138884 # Also, get rid of this simulated-VPATH thing that automake does.
138885 cat > vpsed << \_EOF
138886 s!`test -f '$<' || echo '$(srcdir)/'`!!
138888 for i in $SUBDIRS; do
138889 case $CONFIG_FILES in
138890 *${i}/Makefile*)
138891 #echo "Adding MULTISUBDIR to $i/Makefile"
138892 sed -f vpsed $i/Makefile > tmp
138893 grep '^MULTISUBDIR =' Makefile >> tmp
138894 mv tmp $i/Makefile
138898 rm vpsed
138900 (cd include && ${MAKE-make})
138904 _ACEOF
138906 cat >>$CONFIG_STATUS <<\_ACEOF
138908 { (exit 0); exit 0; }
138909 _ACEOF
138910 chmod +x $CONFIG_STATUS
138911 ac_clean_files=$ac_clean_files_save
138914 # configure is writing to config.log, and then calls config.status.
138915 # config.status does its own redirection, appending to config.log.
138916 # Unfortunately, on DOS this fails, as config.log is still kept open
138917 # by configure, so config.status won't be able to write to it; its
138918 # output is simply discarded. So we exec the FD to /dev/null,
138919 # effectively closing config.log, so it can be properly (re)opened and
138920 # appended to by config.status. When coming back to configure, we
138921 # need to make the FD available again.
138922 if test "$no_create" != yes; then
138923 ac_cs_success=:
138924 ac_config_status_args=
138925 test "$silent" = yes &&
138926 ac_config_status_args="$ac_config_status_args --quiet"
138927 exec 5>/dev/null
138928 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
138929 exec 5>>config.log
138930 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
138931 # would make configure fail if this is the last instruction.
138932 $ac_cs_success || { (exit 1); exit 1; }