Daily bump.
[official-gcc.git] / libstdc++-v3 / configure
blob5e57fd651c6e11bcf872357b51db5f9ca0bd7418
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
248 case X$lt_ECHO in
249 X*--fallback-echo)
250 # Remove one level of quotation (which was required for Make).
251 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
253 esac
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257 # Discard the --no-reexec flag, and continue.
258 shift
259 elif test "X$1" = X--fallback-echo; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
265 else
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo; then
271 # used as fallback echo
272 shift
273 cat <<_LT_EOF
275 _LT_EOF
276 exit 0
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290 then
291 break
293 done
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
300 else
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308 for dir in $PATH /usr/ucb; do
309 IFS="$lt_save_ifs"
310 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
314 ECHO="$dir/echo"
315 break
317 done
318 IFS="$lt_save_ifs"
320 if test "X$ECHO" = Xecho; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
326 ECHO='print -r'
327 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X/bin/ksh; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL=/bin/ksh
333 export CONFIG_SHELL
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335 else
336 # Try using printf.
337 ECHO='printf %s\n'
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
341 # Cool, printf works
343 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348 export CONFIG_SHELL
349 SHELL="$CONFIG_SHELL"
350 export SHELL
351 ECHO="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO="$CONFIG_SHELL $0 --fallback-echo"
357 else
358 # maybe with a smaller string...
359 prev=:
361 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363 then
364 break
366 prev="$cmd"
367 done
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373 else
374 # Oops. We lost completely, so just stick with echo.
375 ECHO=echo
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
398 exec 6>&1
401 # Initializations.
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
417 PACKAGE_NAME='package-unused'
418 PACKAGE_TARNAME='libstdc++'
419 PACKAGE_VERSION='version-unused'
420 PACKAGE_STRING='package-unused version-unused'
421 PACKAGE_BUGREPORT=''
423 ac_unique_file="src/ios.cc"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
426 #include <stdio.h>
427 #if HAVE_SYS_TYPES_H
428 # include <sys/types.h>
429 #endif
430 #if HAVE_SYS_STAT_H
431 # include <sys/stat.h>
432 #endif
433 #if STDC_HEADERS
434 # include <stdlib.h>
435 # include <stddef.h>
436 #else
437 # if HAVE_STDLIB_H
438 # include <stdlib.h>
439 # endif
440 #endif
441 #if HAVE_STRING_H
442 # if !STDC_HEADERS && HAVE_MEMORY_H
443 # include <memory.h>
444 # endif
445 # include <string.h>
446 #endif
447 #if HAVE_STRINGS_H
448 # include <strings.h>
449 #endif
450 #if HAVE_INTTYPES_H
451 # include <inttypes.h>
452 #else
453 # if HAVE_STDINT_H
454 # include <stdint.h>
455 # endif
456 #endif
457 #if HAVE_UNISTD_H
458 # include <unistd.h>
459 #endif"
461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM lt_ECHO LDFLAGS CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS 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_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ATOMIC_FLAGS CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR ERROR_CONSTANTS_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
462 ac_subst_files=''
464 # Initialize some variables set by options.
465 ac_init_help=
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
469 cache_file=/dev/null
470 exec_prefix=NONE
471 no_create=
472 no_recursion=
473 prefix=NONE
474 program_prefix=NONE
475 program_suffix=NONE
476 program_transform_name=s,x,x,
477 silent=
478 site=
479 srcdir=
480 verbose=
481 x_includes=NONE
482 x_libraries=NONE
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
502 ac_prev=
503 for ac_option
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
508 ac_prev=
509 continue
512 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
516 case $ac_option in
518 -bindir | --bindir | --bindi | --bind | --bin | --bi)
519 ac_prev=bindir ;;
520 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
521 bindir=$ac_optarg ;;
523 -build | --build | --buil | --bui | --bu)
524 ac_prev=build_alias ;;
525 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526 build_alias=$ac_optarg ;;
528 -cache-file | --cache-file | --cache-fil | --cache-fi \
529 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530 ac_prev=cache_file ;;
531 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533 cache_file=$ac_optarg ;;
535 --config-cache | -C)
536 cache_file=config.cache ;;
538 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
539 ac_prev=datadir ;;
540 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
541 | --da=*)
542 datadir=$ac_optarg ;;
544 -disable-* | --disable-*)
545 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* | --enable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 case $ac_option in
561 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562 *) ac_optarg=yes ;;
563 esac
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568 | --exec | --exe | --ex)
569 ac_prev=exec_prefix ;;
570 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572 | --exec=* | --exe=* | --ex=*)
573 exec_prefix=$ac_optarg ;;
575 -gas | --gas | --ga | --g)
576 # Obsolete; use --with-gas.
577 with_gas=yes ;;
579 -help | --help | --hel | --he | -h)
580 ac_init_help=long ;;
581 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582 ac_init_help=recursive ;;
583 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584 ac_init_help=short ;;
586 -host | --host | --hos | --ho)
587 ac_prev=host_alias ;;
588 -host=* | --host=* | --hos=* | --ho=*)
589 host_alias=$ac_optarg ;;
591 -includedir | --includedir | --includedi | --included | --include \
592 | --includ | --inclu | --incl | --inc)
593 ac_prev=includedir ;;
594 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595 | --includ=* | --inclu=* | --incl=* | --inc=*)
596 includedir=$ac_optarg ;;
598 -infodir | --infodir | --infodi | --infod | --info | --inf)
599 ac_prev=infodir ;;
600 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601 infodir=$ac_optarg ;;
603 -libdir | --libdir | --libdi | --libd)
604 ac_prev=libdir ;;
605 -libdir=* | --libdir=* | --libdi=* | --libd=*)
606 libdir=$ac_optarg ;;
608 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609 | --libexe | --libex | --libe)
610 ac_prev=libexecdir ;;
611 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612 | --libexe=* | --libex=* | --libe=*)
613 libexecdir=$ac_optarg ;;
615 -localstatedir | --localstatedir | --localstatedi | --localstated \
616 | --localstate | --localstat | --localsta | --localst \
617 | --locals | --local | --loca | --loc | --lo)
618 ac_prev=localstatedir ;;
619 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622 localstatedir=$ac_optarg ;;
624 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
625 ac_prev=mandir ;;
626 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
627 mandir=$ac_optarg ;;
629 -nfp | --nfp | --nf)
630 # Obsolete; use --without-fp.
631 with_fp=no ;;
633 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634 | --no-cr | --no-c | -n)
635 no_create=yes ;;
637 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
639 no_recursion=yes ;;
641 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643 | --oldin | --oldi | --old | --ol | --o)
644 ac_prev=oldincludedir ;;
645 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648 oldincludedir=$ac_optarg ;;
650 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
651 ac_prev=prefix ;;
652 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
653 prefix=$ac_optarg ;;
655 -program-prefix | --program-prefix | --program-prefi | --program-pref \
656 | --program-pre | --program-pr | --program-p)
657 ac_prev=program_prefix ;;
658 -program-prefix=* | --program-prefix=* | --program-prefi=* \
659 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660 program_prefix=$ac_optarg ;;
662 -program-suffix | --program-suffix | --program-suffi | --program-suff \
663 | --program-suf | --program-su | --program-s)
664 ac_prev=program_suffix ;;
665 -program-suffix=* | --program-suffix=* | --program-suffi=* \
666 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667 program_suffix=$ac_optarg ;;
669 -program-transform-name | --program-transform-name \
670 | --program-transform-nam | --program-transform-na \
671 | --program-transform-n | --program-transform- \
672 | --program-transform | --program-transfor \
673 | --program-transfo | --program-transf \
674 | --program-trans | --program-tran \
675 | --progr-tra | --program-tr | --program-t)
676 ac_prev=program_transform_name ;;
677 -program-transform-name=* | --program-transform-name=* \
678 | --program-transform-nam=* | --program-transform-na=* \
679 | --program-transform-n=* | --program-transform-=* \
680 | --program-transform=* | --program-transfor=* \
681 | --program-transfo=* | --program-transf=* \
682 | --program-trans=* | --program-tran=* \
683 | --progr-tra=* | --program-tr=* | --program-t=*)
684 program_transform_name=$ac_optarg ;;
686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687 | -silent | --silent | --silen | --sile | --sil)
688 silent=yes ;;
690 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
691 ac_prev=sbindir ;;
692 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
693 | --sbi=* | --sb=*)
694 sbindir=$ac_optarg ;;
696 -sharedstatedir | --sharedstatedir | --sharedstatedi \
697 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698 | --sharedst | --shareds | --shared | --share | --shar \
699 | --sha | --sh)
700 ac_prev=sharedstatedir ;;
701 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
704 | --sha=* | --sh=*)
705 sharedstatedir=$ac_optarg ;;
707 -site | --site | --sit)
708 ac_prev=site ;;
709 -site=* | --site=* | --sit=*)
710 site=$ac_optarg ;;
712 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
713 ac_prev=srcdir ;;
714 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
715 srcdir=$ac_optarg ;;
717 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718 | --syscon | --sysco | --sysc | --sys | --sy)
719 ac_prev=sysconfdir ;;
720 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722 sysconfdir=$ac_optarg ;;
724 -target | --target | --targe | --targ | --tar | --ta | --t)
725 ac_prev=target_alias ;;
726 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727 target_alias=$ac_optarg ;;
729 -v | -verbose | --verbose | --verbos | --verbo | --verb)
730 verbose=yes ;;
732 -version | --version | --versio | --versi | --vers | -V)
733 ac_init_version=: ;;
735 -with-* | --with-*)
736 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package=`echo $ac_package| sed 's/-/_/g'`
742 case $ac_option in
743 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
744 *) ac_optarg=yes ;;
745 esac
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* | --without-*)
749 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
757 --x)
758 # Obsolete; use --with-x.
759 with_x=yes ;;
761 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762 | --x-incl | --x-inc | --x-in | --x-i)
763 ac_prev=x_includes ;;
764 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766 x_includes=$ac_optarg ;;
768 -x-libraries | --x-libraries | --x-librarie | --x-librari \
769 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770 ac_prev=x_libraries ;;
771 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773 x_libraries=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
780 *=*)
781 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
788 export $ac_envvar ;;
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
798 esac
799 done
801 if test -n "$ac_prev"; then
802 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
810 eval ac_val=$`echo $ac_var`
811 case $ac_val in
812 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
815 esac
816 done
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val=$`echo $ac_var`
823 case $ac_val in
824 [\\/$]* | ?:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
827 esac
828 done
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
833 build=$build_alias
834 host=$host_alias
835 target=$target_alias
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839 if test "x$build_alias" = x; then
840 cross_compiling=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
844 cross_compiling=yes
848 ac_tool_prefix=
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
851 test "$silent" = yes && exec 6>/dev/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
864 echo X"$0" |
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
869 s/.*/./; q'`
870 srcdir=$ac_confdir
871 if test ! -r $srcdir/$ac_unique_file; then
872 srcdir=..
874 else
875 ac_srcdir_defaulted=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
881 else
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CPP_set=${CPP+set}
903 ac_env_CPP_value=$CPP
904 ac_cv_env_CPP_set=${CPP+set}
905 ac_cv_env_CPP_value=$CPP
906 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
910 ac_env_CXX_set=${CXX+set}
911 ac_env_CXX_value=$CXX
912 ac_cv_env_CXX_set=${CXX+set}
913 ac_cv_env_CXX_value=$CXX
914 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_env_CXXFLAGS_value=$CXXFLAGS
916 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
917 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922 ac_env_CXXCPP_set=${CXXCPP+set}
923 ac_env_CXXCPP_value=$CXXCPP
924 ac_cv_env_CXXCPP_set=${CXXCPP+set}
925 ac_cv_env_CXXCPP_value=$CXXCPP
928 # Report the --help message.
930 if test "$ac_init_help" = "long"; then
931 # Omit some internal or obsolete options to make the list less imposing.
932 # This message is too long to be a string in the A/UX 3.1 sh.
933 cat <<_ACEOF
934 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
936 Usage: $0 [OPTION]... [VAR=VALUE]...
938 To assign environment variables (e.g., CC, CFLAGS...), specify them as
939 VAR=VALUE. See below for descriptions of some of the useful variables.
941 Defaults for the options are specified in brackets.
943 Configuration:
944 -h, --help display this help and exit
945 --help=short display options specific to this package
946 --help=recursive display the short help of all the included packages
947 -V, --version display version information and exit
948 -q, --quiet, --silent do not print \`checking...' messages
949 --cache-file=FILE cache test results in FILE [disabled]
950 -C, --config-cache alias for \`--cache-file=config.cache'
951 -n, --no-create do not create output files
952 --srcdir=DIR find the sources in DIR [configure dir or \`..']
954 _ACEOF
956 cat <<_ACEOF
957 Installation directories:
958 --prefix=PREFIX install architecture-independent files in PREFIX
959 [$ac_default_prefix]
960 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
961 [PREFIX]
963 By default, \`make install' will install all the files in
964 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
965 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
966 for instance \`--prefix=\$HOME'.
968 For better control, use the options below.
970 Fine tuning of the installation directories:
971 --bindir=DIR user executables [EPREFIX/bin]
972 --sbindir=DIR system admin executables [EPREFIX/sbin]
973 --libexecdir=DIR program executables [EPREFIX/libexec]
974 --datadir=DIR read-only architecture-independent data [PREFIX/share]
975 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
976 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
977 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
978 --libdir=DIR object code libraries [EPREFIX/lib]
979 --includedir=DIR C header files [PREFIX/include]
980 --oldincludedir=DIR C header files for non-gcc [/usr/include]
981 --infodir=DIR info documentation [PREFIX/info]
982 --mandir=DIR man documentation [PREFIX/man]
983 _ACEOF
985 cat <<\_ACEOF
987 Program names:
988 --program-prefix=PREFIX prepend PREFIX to installed program names
989 --program-suffix=SUFFIX append SUFFIX to installed program names
990 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
992 System types:
993 --build=BUILD configure for building on BUILD [guessed]
994 --host=HOST cross-compile to build programs to run on HOST [BUILD]
995 --target=TARGET configure for building compilers for TARGET [HOST]
996 _ACEOF
999 if test -n "$ac_init_help"; then
1000 case $ac_init_help in
1001 short | recursive ) echo "Configuration of package-unused version-unused:";;
1002 esac
1003 cat <<\_ACEOF
1005 Optional Features:
1006 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1007 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1008 --enable-multilib build many library versions (default)
1009 --enable-maintainer-mode enable make rules and dependencies not useful
1010 (and sometimes confusing) to the casual installer
1011 --enable-shared[=PKGS]
1012 build shared libraries [default=yes]
1013 --enable-static[=PKGS]
1014 build static libraries [default=yes]
1015 --enable-fast-install[=PKGS]
1016 optimize for fast installation [default=yes]
1017 --disable-libtool-lock avoid locking (might break parallel builds)
1018 --disable-hosted-libstdcxx
1019 only build freestanding C++ runtime support
1020 --enable-sjlj-exceptions
1021 force use of builtin_setjmp for exceptions
1022 [default=auto]
1023 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1024 [default=$is_hosted]
1025 --enable-cstdio=PACKAGE use target-specific I/O package
1026 [default=stdio]
1027 --enable-clocale[=MODEL]
1028 use MODEL for target locale package
1029 [default=auto]
1030 --enable-nls use Native Language Support (default)
1031 --enable-libstdcxx-allocator=KIND
1032 use KIND for target std::allocator base
1033 [default=auto]
1034 --enable-cheaders=KIND construct "C" headers for g++
1035 [default=$c_model]
1036 --enable-long-long enable template specializations for 'long long'
1037 [default=yes]
1038 --enable-wchar_t enable template specializations for 'wchar_t'
1039 [default=yes]
1040 --enable-c99 turns on ISO/IEC 9899:1999 support
1041 [default=yes]
1042 --enable-concept-checks use Boost-derived template checks [default=no]
1043 --enable-libstdcxx-debug-flags=FLAGS
1044 pass compiler FLAGS when building debug library
1045 [default="-g3 -O0"]
1046 --enable-libstdcxx-debug
1047 build extra debug library [default=no]
1048 --enable-cxx-flags=FLAGS
1049 pass compiler FLAGS when building library
1050 [default=]
1051 --enable-fully-dynamic-string
1052 do not put empty strings in per-process static
1053 memory [default=no]
1054 --enable-tls Use thread-local storage [default=yes]
1055 --disable-rpath do not hardcode runtime library paths
1056 --enable-symvers=STYLE enables symbol versioning of the shared library
1057 [default=yes]
1058 --enable-visibility enables visibility safe usage [default=yes]
1059 --enable-version-specific-runtime-libs
1060 Specify that runtime libraries should be installed
1061 in a compiler-specific directory
1063 Optional Packages:
1064 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1065 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1066 --with-target-subdir=SUBDIR
1067 configuring in a subdirectory
1068 --with-cross-host=HOST configuring with a cross compiler
1069 --with-newlib assume newlib as a system C library
1070 --with-pic try to use only PIC/non-PIC objects [default=use
1071 both]
1072 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1073 --with-gnu-ld assume the C compiler uses GNU ld default=no
1074 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1075 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1076 --with-gxx-include-dir=DIR
1077 installation directory for include files
1079 Some influential environment variables:
1080 CC C compiler command
1081 CFLAGS C compiler flags
1082 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1083 nonstandard directory <lib dir>
1084 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1085 headers in a nonstandard directory <include dir>
1086 CXX C++ compiler command
1087 CXXFLAGS C++ compiler flags
1088 CPP C preprocessor
1089 CXXCPP C++ preprocessor
1091 Use these variables to override the choices made by `configure' or to help
1092 it to find libraries and programs with nonstandard names/locations.
1094 _ACEOF
1097 if test "$ac_init_help" = "recursive"; then
1098 # If there are subdirs, report their specific --help.
1099 ac_popdir=`pwd`
1100 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1101 test -d $ac_dir || continue
1102 ac_builddir=.
1104 if test "$ac_dir" != .; then
1105 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1106 # A "../" for each directory in $ac_dir_suffix.
1107 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1108 else
1109 ac_dir_suffix= ac_top_builddir=
1112 case $srcdir in
1113 .) # No --srcdir option. We are building in place.
1114 ac_srcdir=.
1115 if test -z "$ac_top_builddir"; then
1116 ac_top_srcdir=.
1117 else
1118 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1119 fi ;;
1120 [\\/]* | ?:[\\/]* ) # Absolute path.
1121 ac_srcdir=$srcdir$ac_dir_suffix;
1122 ac_top_srcdir=$srcdir ;;
1123 *) # Relative path.
1124 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1125 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1126 esac
1128 # Do not use `cd foo && pwd` to compute absolute paths, because
1129 # the directories may not exist.
1130 case `pwd` in
1131 .) ac_abs_builddir="$ac_dir";;
1133 case "$ac_dir" in
1134 .) ac_abs_builddir=`pwd`;;
1135 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1136 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1137 esac;;
1138 esac
1139 case $ac_abs_builddir in
1140 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1142 case ${ac_top_builddir}. in
1143 .) ac_abs_top_builddir=$ac_abs_builddir;;
1144 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1145 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1146 esac;;
1147 esac
1148 case $ac_abs_builddir in
1149 .) ac_abs_srcdir=$ac_srcdir;;
1151 case $ac_srcdir in
1152 .) ac_abs_srcdir=$ac_abs_builddir;;
1153 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1154 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1155 esac;;
1156 esac
1157 case $ac_abs_builddir in
1158 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1160 case $ac_top_srcdir in
1161 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1162 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1163 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1164 esac;;
1165 esac
1167 cd $ac_dir
1168 # Check for guested configure; otherwise get Cygnus style configure.
1169 if test -f $ac_srcdir/configure.gnu; then
1170 echo
1171 $SHELL $ac_srcdir/configure.gnu --help=recursive
1172 elif test -f $ac_srcdir/configure; then
1173 echo
1174 $SHELL $ac_srcdir/configure --help=recursive
1175 elif test -f $ac_srcdir/configure.ac ||
1176 test -f $ac_srcdir/configure.in; then
1177 echo
1178 $ac_configure --help
1179 else
1180 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1182 cd $ac_popdir
1183 done
1186 test -n "$ac_init_help" && exit 0
1187 if $ac_init_version; then
1188 cat <<\_ACEOF
1189 package-unused configure version-unused
1190 generated by GNU Autoconf 2.59
1192 Copyright (C) 2003 Free Software Foundation, Inc.
1193 This configure script is free software; the Free Software Foundation
1194 gives unlimited permission to copy, distribute and modify it.
1195 _ACEOF
1196 exit 0
1198 exec 5>config.log
1199 cat >&5 <<_ACEOF
1200 This file contains any messages produced by compilers while
1201 running configure, to aid debugging if configure makes a mistake.
1203 It was created by package-unused $as_me version-unused, which was
1204 generated by GNU Autoconf 2.59. Invocation command line was
1206 $ $0 $@
1208 _ACEOF
1210 cat <<_ASUNAME
1211 ## --------- ##
1212 ## Platform. ##
1213 ## --------- ##
1215 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1216 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1217 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1218 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1219 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1221 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1222 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1224 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1225 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1226 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1227 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1228 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1229 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1230 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1232 _ASUNAME
1234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1235 for as_dir in $PATH
1237 IFS=$as_save_IFS
1238 test -z "$as_dir" && as_dir=.
1239 echo "PATH: $as_dir"
1240 done
1242 } >&5
1244 cat >&5 <<_ACEOF
1247 ## ----------- ##
1248 ## Core tests. ##
1249 ## ----------- ##
1251 _ACEOF
1254 # Keep a trace of the command line.
1255 # Strip out --no-create and --no-recursion so they do not pile up.
1256 # Strip out --silent because we don't want to record it for future runs.
1257 # Also quote any args containing shell meta-characters.
1258 # Make two passes to allow for proper duplicate-argument suppression.
1259 ac_configure_args=
1260 ac_configure_args0=
1261 ac_configure_args1=
1262 ac_sep=
1263 ac_must_keep_next=false
1264 for ac_pass in 1 2
1266 for ac_arg
1268 case $ac_arg in
1269 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1270 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1271 | -silent | --silent | --silen | --sile | --sil)
1272 continue ;;
1273 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1274 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1275 esac
1276 case $ac_pass in
1277 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1279 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1280 if test $ac_must_keep_next = true; then
1281 ac_must_keep_next=false # Got value, back to normal.
1282 else
1283 case $ac_arg in
1284 *=* | --config-cache | -C | -disable-* | --disable-* \
1285 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1286 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1287 | -with-* | --with-* | -without-* | --without-* | --x)
1288 case "$ac_configure_args0 " in
1289 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1290 esac
1292 -* ) ac_must_keep_next=true ;;
1293 esac
1295 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1296 # Get rid of the leading space.
1297 ac_sep=" "
1299 esac
1300 done
1301 done
1302 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1303 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1305 # When interrupted or exit'd, cleanup temporary files, and complete
1306 # config.log. We remove comments because anyway the quotes in there
1307 # would cause problems or look ugly.
1308 # WARNING: Be sure not to use single quotes in there, as some shells,
1309 # such as our DU 5.0 friend, will then `close' the trap.
1310 trap 'exit_status=$?
1311 # Save into config.log some information that might help in debugging.
1313 echo
1315 cat <<\_ASBOX
1316 ## ---------------- ##
1317 ## Cache variables. ##
1318 ## ---------------- ##
1319 _ASBOX
1320 echo
1321 # The following way of writing the cache mishandles newlines in values,
1323 (set) 2>&1 |
1324 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1325 *ac_space=\ *)
1326 sed -n \
1327 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1328 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1331 sed -n \
1332 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1334 esac;
1336 echo
1338 cat <<\_ASBOX
1339 ## ----------------- ##
1340 ## Output variables. ##
1341 ## ----------------- ##
1342 _ASBOX
1343 echo
1344 for ac_var in $ac_subst_vars
1346 eval ac_val=$`echo $ac_var`
1347 echo "$ac_var='"'"'$ac_val'"'"'"
1348 done | sort
1349 echo
1351 if test -n "$ac_subst_files"; then
1352 cat <<\_ASBOX
1353 ## ------------- ##
1354 ## Output files. ##
1355 ## ------------- ##
1356 _ASBOX
1357 echo
1358 for ac_var in $ac_subst_files
1360 eval ac_val=$`echo $ac_var`
1361 echo "$ac_var='"'"'$ac_val'"'"'"
1362 done | sort
1363 echo
1366 if test -s confdefs.h; then
1367 cat <<\_ASBOX
1368 ## ----------- ##
1369 ## confdefs.h. ##
1370 ## ----------- ##
1371 _ASBOX
1372 echo
1373 sed "/^$/d" confdefs.h | sort
1374 echo
1376 test "$ac_signal" != 0 &&
1377 echo "$as_me: caught signal $ac_signal"
1378 echo "$as_me: exit $exit_status"
1379 } >&5
1380 rm -f core *.core &&
1381 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1382 exit $exit_status
1384 for ac_signal in 1 2 13 15; do
1385 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1386 done
1387 ac_signal=0
1389 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1390 rm -rf conftest* confdefs.h
1391 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1392 echo >confdefs.h
1394 # Predefined preprocessor variables.
1396 cat >>confdefs.h <<_ACEOF
1397 #define PACKAGE_NAME "$PACKAGE_NAME"
1398 _ACEOF
1401 cat >>confdefs.h <<_ACEOF
1402 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1403 _ACEOF
1406 cat >>confdefs.h <<_ACEOF
1407 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1408 _ACEOF
1411 cat >>confdefs.h <<_ACEOF
1412 #define PACKAGE_STRING "$PACKAGE_STRING"
1413 _ACEOF
1416 cat >>confdefs.h <<_ACEOF
1417 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1418 _ACEOF
1421 # Let the site file select an alternate cache file if it wants to.
1422 # Prefer explicitly selected file to automatically selected ones.
1423 if test -z "$CONFIG_SITE"; then
1424 if test "x$prefix" != xNONE; then
1425 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1426 else
1427 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1430 for ac_site_file in $CONFIG_SITE; do
1431 if test -r "$ac_site_file"; then
1432 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1433 echo "$as_me: loading site script $ac_site_file" >&6;}
1434 sed 's/^/| /' "$ac_site_file" >&5
1435 . "$ac_site_file"
1437 done
1439 if test -r "$cache_file"; then
1440 # Some versions of bash will fail to source /dev/null (special
1441 # files actually), so we avoid doing that.
1442 if test -f "$cache_file"; then
1443 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1444 echo "$as_me: loading cache $cache_file" >&6;}
1445 case $cache_file in
1446 [\\/]* | ?:[\\/]* ) . $cache_file;;
1447 *) . ./$cache_file;;
1448 esac
1450 else
1451 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1452 echo "$as_me: creating cache $cache_file" >&6;}
1453 >$cache_file
1456 # Check that the precious variables saved in the cache have kept the same
1457 # value.
1458 ac_cache_corrupted=false
1459 for ac_var in `(set) 2>&1 |
1460 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1461 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1462 eval ac_new_set=\$ac_env_${ac_var}_set
1463 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1464 eval ac_new_val="\$ac_env_${ac_var}_value"
1465 case $ac_old_set,$ac_new_set in
1466 set,)
1467 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1468 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1469 ac_cache_corrupted=: ;;
1470 ,set)
1471 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1472 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1473 ac_cache_corrupted=: ;;
1474 ,);;
1476 if test "x$ac_old_val" != "x$ac_new_val"; then
1477 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1478 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1479 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1480 echo "$as_me: former value: $ac_old_val" >&2;}
1481 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1482 echo "$as_me: current value: $ac_new_val" >&2;}
1483 ac_cache_corrupted=:
1484 fi;;
1485 esac
1486 # Pass precious variables to config.status.
1487 if test "$ac_new_set" = set; then
1488 case $ac_new_val in
1489 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1490 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1491 *) ac_arg=$ac_var=$ac_new_val ;;
1492 esac
1493 case " $ac_configure_args " in
1494 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1495 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1496 esac
1498 done
1499 if $ac_cache_corrupted; then
1500 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1501 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1502 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1503 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1504 { (exit 1); exit 1; }; }
1507 ac_ext=c
1508 ac_cpp='$CPP $CPPFLAGS'
1509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1540 ac_config_headers="$ac_config_headers config.h"
1543 # This works around the fact that libtool configuration may change LD
1544 # for this particular configuration, but some shells, instead of
1545 # keeping the changes in LD private, export them just because LD is
1546 # exported. Only used at the end of this file.
1547 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1549 # For libtool versioning info, format is CURRENT:REVISION:AGE
1550 libtool_VERSION=6:10:0
1553 # Find the rest of the source tree framework.
1554 # Default to --enable-multilib
1555 # Check whether --enable-multilib or --disable-multilib was given.
1556 if test "${enable_multilib+set}" = set; then
1557 enableval="$enable_multilib"
1558 case "$enableval" in
1559 yes) multilib=yes ;;
1560 no) multilib=no ;;
1561 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1562 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1563 { (exit 1); exit 1; }; } ;;
1564 esac
1565 else
1566 multilib=yes
1569 # We may get other options which we leave undocumented:
1570 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1571 # See config-ml.in if you want the gory details.
1573 if test "$srcdir" = "."; then
1574 if test "$with_target_subdir" != "."; then
1575 multi_basedir="$srcdir/$with_multisrctop../.."
1576 else
1577 multi_basedir="$srcdir/$with_multisrctop.."
1579 else
1580 multi_basedir="$srcdir/.."
1584 # Even if the default multilib is not a cross compilation,
1585 # it may be that some of the other multilibs are.
1586 if test $cross_compiling = no && test $multilib = yes \
1587 && test "x${with_multisubdir}" != x ; then
1588 cross_compiling=maybe
1591 ac_config_commands="$ac_config_commands default-1"
1594 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1596 # You will slowly go insane if you do not grok the following fact: when
1597 # building v3 as part of the compiler, the top-level /target/ becomes the
1598 # library's /host/. configure then causes --target to default to --host,
1599 # exactly like any other package using autoconf. Therefore, 'target' and
1600 # 'host' will always be the same. This makes sense both for native and
1601 # cross compilers, just think about it for a little while. :-)
1603 # Also, if v3 is being configured as part of a cross compiler, the top-level
1604 # configure script will pass the "real" host as $with_cross_host.
1606 # Do not delete or change the following two lines. For why, see
1607 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1608 ac_aux_dir=
1609 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1610 if test -f $ac_dir/install-sh; then
1611 ac_aux_dir=$ac_dir
1612 ac_install_sh="$ac_aux_dir/install-sh -c"
1613 break
1614 elif test -f $ac_dir/install.sh; then
1615 ac_aux_dir=$ac_dir
1616 ac_install_sh="$ac_aux_dir/install.sh -c"
1617 break
1618 elif test -f $ac_dir/shtool; then
1619 ac_aux_dir=$ac_dir
1620 ac_install_sh="$ac_aux_dir/shtool install -c"
1621 break
1623 done
1624 if test -z "$ac_aux_dir"; then
1625 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1626 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1627 { (exit 1); exit 1; }; }
1629 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1630 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1631 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1633 # Make sure we can run config.sub.
1634 $ac_config_sub sun4 >/dev/null 2>&1 ||
1635 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1636 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1637 { (exit 1); exit 1; }; }
1639 echo "$as_me:$LINENO: checking build system type" >&5
1640 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1641 if test "${ac_cv_build+set}" = set; then
1642 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 else
1644 ac_cv_build_alias=$build_alias
1645 test -z "$ac_cv_build_alias" &&
1646 ac_cv_build_alias=`$ac_config_guess`
1647 test -z "$ac_cv_build_alias" &&
1648 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1649 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1650 { (exit 1); exit 1; }; }
1651 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1652 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1653 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1654 { (exit 1); exit 1; }; }
1657 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1658 echo "${ECHO_T}$ac_cv_build" >&6
1659 build=$ac_cv_build
1660 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1661 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1662 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1665 echo "$as_me:$LINENO: checking host system type" >&5
1666 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1667 if test "${ac_cv_host+set}" = set; then
1668 echo $ECHO_N "(cached) $ECHO_C" >&6
1669 else
1670 ac_cv_host_alias=$host_alias
1671 test -z "$ac_cv_host_alias" &&
1672 ac_cv_host_alias=$ac_cv_build_alias
1673 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1674 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1675 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1676 { (exit 1); exit 1; }; }
1679 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1680 echo "${ECHO_T}$ac_cv_host" >&6
1681 host=$ac_cv_host
1682 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1683 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1684 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1687 echo "$as_me:$LINENO: checking target system type" >&5
1688 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1689 if test "${ac_cv_target+set}" = set; then
1690 echo $ECHO_N "(cached) $ECHO_C" >&6
1691 else
1692 ac_cv_target_alias=$target_alias
1693 test "x$ac_cv_target_alias" = "x" &&
1694 ac_cv_target_alias=$ac_cv_host_alias
1695 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1696 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1697 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1698 { (exit 1); exit 1; }; }
1701 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1702 echo "${ECHO_T}$ac_cv_target" >&6
1703 target=$ac_cv_target
1704 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1705 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1706 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1709 # The aliases save the names the user supplied, while $host etc.
1710 # will get canonicalized.
1711 test -n "$target_alias" &&
1712 test "$program_prefix$program_suffix$program_transform_name" = \
1713 NONENONEs,x,x, &&
1714 program_prefix=${target_alias}-
1715 target_alias=${target_alias-$host_alias}
1717 # Handy for debugging:
1718 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1720 if test "$build" != "$host"; then
1721 # We are being configured with some form of cross compiler.
1722 GLIBCXX_IS_NATIVE=false
1723 case "$host","$target" in
1724 # Darwin crosses can use the host system's libraries and headers,
1725 # because of the fat library support. Of course, it must be the
1726 # same version of Darwin on both sides. Allow the user to
1727 # just say --target=foo-darwin without a version number to mean
1728 # "the version on this system".
1729 *-*-darwin*,*-*-darwin*)
1730 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1731 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1732 if test $hostos = $targetos -o $targetos = darwin ; then
1733 GLIBCXX_IS_NATIVE=true
1740 esac
1741 else
1742 GLIBCXX_IS_NATIVE=true
1745 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1746 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1747 # 1.x: minimum required version
1748 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1749 # of other PACKAGE_* variables will, however, and there's nothing
1750 # we can do about that; they come from AC_INIT).
1751 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1752 # file in the top srcdir, etc, etc), so stop complaining.
1753 # no-dependencies: turns off auto dependency generation (just for now)
1754 # -Wall: turns on all automake warnings...
1755 # -Wno-portability: ...except this one, since GNU make is now required.
1756 am__api_version="1.9"
1757 # Find a good install program. We prefer a C program (faster),
1758 # so one script is as good as another. But avoid the broken or
1759 # incompatible versions:
1760 # SysV /etc/install, /usr/sbin/install
1761 # SunOS /usr/etc/install
1762 # IRIX /sbin/install
1763 # AIX /bin/install
1764 # AmigaOS /C/install, which installs bootblocks on floppy discs
1765 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1766 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1767 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1768 # OS/2's system install, which has a completely different semantic
1769 # ./install, which can be erroneously created by make from ./install.sh.
1770 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1771 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1772 if test -z "$INSTALL"; then
1773 if test "${ac_cv_path_install+set}" = set; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 else
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 for as_dir in $PATH
1779 IFS=$as_save_IFS
1780 test -z "$as_dir" && as_dir=.
1781 # Account for people who put trailing slashes in PATH elements.
1782 case $as_dir/ in
1783 ./ | .// | /cC/* | \
1784 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1785 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1786 /usr/ucb/* ) ;;
1788 # OSF1 and SCO ODT 3.0 have their own names for install.
1789 # Don't use installbsd from OSF since it installs stuff as root
1790 # by default.
1791 for ac_prog in ginstall scoinst install; do
1792 for ac_exec_ext in '' $ac_executable_extensions; do
1793 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1794 if test $ac_prog = install &&
1795 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1796 # AIX install. It has an incompatible calling convention.
1798 elif test $ac_prog = install &&
1799 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1800 # program-specific install script used by HP pwplus--don't use.
1802 else
1803 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1804 break 3
1807 done
1808 done
1810 esac
1811 done
1815 if test "${ac_cv_path_install+set}" = set; then
1816 INSTALL=$ac_cv_path_install
1817 else
1818 # As a last resort, use the slow shell script. We don't cache a
1819 # path for INSTALL within a source directory, because that will
1820 # break other packages using the cache if that directory is
1821 # removed, or if the path is relative.
1822 INSTALL=$ac_install_sh
1825 echo "$as_me:$LINENO: result: $INSTALL" >&5
1826 echo "${ECHO_T}$INSTALL" >&6
1828 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1829 # It thinks the first close brace ends the variable substitution.
1830 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1832 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1834 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1836 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1837 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1838 # Just in case
1839 sleep 1
1840 echo timestamp > conftest.file
1841 # Do `set' in a subshell so we don't clobber the current shell's
1842 # arguments. Must try -L first in case configure is actually a
1843 # symlink; some systems play weird games with the mod time of symlinks
1844 # (eg FreeBSD returns the mod time of the symlink's containing
1845 # directory).
1846 if (
1847 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1848 if test "$*" = "X"; then
1849 # -L didn't work.
1850 set X `ls -t $srcdir/configure conftest.file`
1852 rm -f conftest.file
1853 if test "$*" != "X $srcdir/configure conftest.file" \
1854 && test "$*" != "X conftest.file $srcdir/configure"; then
1856 # If neither matched, then we have a broken ls. This can happen
1857 # if, for instance, CONFIG_SHELL is bash and it inherits a
1858 # broken ls alias from the environment. This has actually
1859 # happened. Such a system could not be considered "sane".
1860 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1861 alias in your environment" >&5
1862 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1863 alias in your environment" >&2;}
1864 { (exit 1); exit 1; }; }
1867 test "$2" = conftest.file
1869 then
1870 # Ok.
1872 else
1873 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1874 Check your system clock" >&5
1875 echo "$as_me: error: newly created file is older than distributed files!
1876 Check your system clock" >&2;}
1877 { (exit 1); exit 1; }; }
1879 echo "$as_me:$LINENO: result: yes" >&5
1880 echo "${ECHO_T}yes" >&6
1881 test "$program_prefix" != NONE &&
1882 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1883 # Use a double $ so make ignores it.
1884 test "$program_suffix" != NONE &&
1885 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1886 # Double any \ or $. echo might interpret backslashes.
1887 # By default was `s,x,x', remove it if useless.
1888 cat <<\_ACEOF >conftest.sed
1889 s/[\\$]/&&/g;s/;s,x,x,$//
1890 _ACEOF
1891 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1892 rm conftest.sed
1894 # expand $ac_aux_dir to an absolute path
1895 am_aux_dir=`cd $ac_aux_dir && pwd`
1897 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1898 # Use eval to expand $SHELL
1899 if eval "$MISSING --run true"; then
1900 am_missing_run="$MISSING --run "
1901 else
1902 am_missing_run=
1903 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1904 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1907 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1908 # We used to keeping the `.' as first argument, in order to
1909 # allow $(mkdir_p) to be used without argument. As in
1910 # $(mkdir_p) $(somedir)
1911 # where $(somedir) is conditionally defined. However this is wrong
1912 # for two reasons:
1913 # 1. if the package is installed by a user who cannot write `.'
1914 # make install will fail,
1915 # 2. the above comment should most certainly read
1916 # $(mkdir_p) $(DESTDIR)$(somedir)
1917 # so it does not work when $(somedir) is undefined and
1918 # $(DESTDIR) is not.
1919 # To support the latter case, we have to write
1920 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1921 # so the `.' trick is pointless.
1922 mkdir_p='mkdir -p --'
1923 else
1924 # On NextStep and OpenStep, the `mkdir' command does not
1925 # recognize any option. It will interpret all options as
1926 # directories to create, and then abort because `.' already
1927 # exists.
1928 for d in ./-p ./--version;
1930 test -d $d && rmdir $d
1931 done
1932 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1933 if test -f "$ac_aux_dir/mkinstalldirs"; then
1934 mkdir_p='$(mkinstalldirs)'
1935 else
1936 mkdir_p='$(install_sh) -d'
1940 for ac_prog in gawk mawk nawk awk
1942 # Extract the first word of "$ac_prog", so it can be a program name with args.
1943 set dummy $ac_prog; ac_word=$2
1944 echo "$as_me:$LINENO: checking for $ac_word" >&5
1945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1946 if test "${ac_cv_prog_AWK+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1948 else
1949 if test -n "$AWK"; then
1950 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1951 else
1952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1953 for as_dir in $PATH
1955 IFS=$as_save_IFS
1956 test -z "$as_dir" && as_dir=.
1957 for ac_exec_ext in '' $ac_executable_extensions; do
1958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1959 ac_cv_prog_AWK="$ac_prog"
1960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1961 break 2
1963 done
1964 done
1968 AWK=$ac_cv_prog_AWK
1969 if test -n "$AWK"; then
1970 echo "$as_me:$LINENO: result: $AWK" >&5
1971 echo "${ECHO_T}$AWK" >&6
1972 else
1973 echo "$as_me:$LINENO: result: no" >&5
1974 echo "${ECHO_T}no" >&6
1977 test -n "$AWK" && break
1978 done
1980 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1981 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1982 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1983 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1985 else
1986 cat >conftest.make <<\_ACEOF
1987 all:
1988 @echo 'ac_maketemp="$(MAKE)"'
1989 _ACEOF
1990 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1991 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1992 if test -n "$ac_maketemp"; then
1993 eval ac_cv_prog_make_${ac_make}_set=yes
1994 else
1995 eval ac_cv_prog_make_${ac_make}_set=no
1997 rm -f conftest.make
1999 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2000 echo "$as_me:$LINENO: result: yes" >&5
2001 echo "${ECHO_T}yes" >&6
2002 SET_MAKE=
2003 else
2004 echo "$as_me:$LINENO: result: no" >&5
2005 echo "${ECHO_T}no" >&6
2006 SET_MAKE="MAKE=${MAKE-make}"
2009 rm -rf .tst 2>/dev/null
2010 mkdir .tst 2>/dev/null
2011 if test -d .tst; then
2012 am__leading_dot=.
2013 else
2014 am__leading_dot=_
2016 rmdir .tst 2>/dev/null
2018 # test to see if srcdir already configured
2019 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2020 test -f $srcdir/config.status; then
2021 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2022 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2023 { (exit 1); exit 1; }; }
2026 # test whether we have cygpath
2027 if test -z "$CYGPATH_W"; then
2028 if (cygpath --version) >/dev/null 2>/dev/null; then
2029 CYGPATH_W='cygpath -w'
2030 else
2031 CYGPATH_W=echo
2036 # Define the identity of the package.
2037 PACKAGE='libstdc++'
2038 VERSION='version-unused'
2041 # Some tools Automake needs.
2043 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2046 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2049 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2052 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2055 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2057 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2059 # Installed binaries are usually stripped using `strip' when the user
2060 # run `make install-strip'. However `strip' might not be the right
2061 # tool to use in cross-compilation environments, therefore Automake
2062 # will honor the `STRIP' environment variable to overrule this program.
2063 if test "$cross_compiling" != no; then
2064 if test -n "$ac_tool_prefix"; then
2065 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2066 set dummy ${ac_tool_prefix}strip; ac_word=$2
2067 echo "$as_me:$LINENO: checking for $ac_word" >&5
2068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2069 if test "${ac_cv_prog_STRIP+set}" = set; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 else
2072 if test -n "$STRIP"; then
2073 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2074 else
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 for as_dir in $PATH
2078 IFS=$as_save_IFS
2079 test -z "$as_dir" && as_dir=.
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2082 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2084 break 2
2086 done
2087 done
2091 STRIP=$ac_cv_prog_STRIP
2092 if test -n "$STRIP"; then
2093 echo "$as_me:$LINENO: result: $STRIP" >&5
2094 echo "${ECHO_T}$STRIP" >&6
2095 else
2096 echo "$as_me:$LINENO: result: no" >&5
2097 echo "${ECHO_T}no" >&6
2101 if test -z "$ac_cv_prog_STRIP"; then
2102 ac_ct_STRIP=$STRIP
2103 # Extract the first word of "strip", so it can be a program name with args.
2104 set dummy strip; ac_word=$2
2105 echo "$as_me:$LINENO: checking for $ac_word" >&5
2106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2107 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2108 echo $ECHO_N "(cached) $ECHO_C" >&6
2109 else
2110 if test -n "$ac_ct_STRIP"; then
2111 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2112 else
2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114 for as_dir in $PATH
2116 IFS=$as_save_IFS
2117 test -z "$as_dir" && as_dir=.
2118 for ac_exec_ext in '' $ac_executable_extensions; do
2119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2120 ac_cv_prog_ac_ct_STRIP="strip"
2121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122 break 2
2124 done
2125 done
2127 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2130 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2131 if test -n "$ac_ct_STRIP"; then
2132 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2133 echo "${ECHO_T}$ac_ct_STRIP" >&6
2134 else
2135 echo "$as_me:$LINENO: result: no" >&5
2136 echo "${ECHO_T}no" >&6
2139 STRIP=$ac_ct_STRIP
2140 else
2141 STRIP="$ac_cv_prog_STRIP"
2145 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2147 # We need awk for the "check" target. The system "awk" is bad on
2148 # some platforms.
2149 # Always define AMTAR for backward compatibility.
2151 AMTAR=${AMTAR-"${am_missing_run}tar"}
2153 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2164 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
2165 # up critical shell variables.
2167 ac_ext=c
2168 ac_cpp='$CPP $CPPFLAGS'
2169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2172 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2173 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2174 # On Suns, sometimes $CPP names a directory.
2175 if test -n "$CPP" && test -d "$CPP"; then
2176 CPP=
2178 if test -z "$CPP"; then
2179 if test "${ac_cv_prog_CPP+set}" = set; then
2180 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 else
2182 # Double quotes because CPP needs to be expanded
2183 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2185 ac_preproc_ok=false
2186 for ac_c_preproc_warn_flag in '' yes
2188 # Use a header file that comes with gcc, so configuring glibc
2189 # with a fresh cross-compiler works.
2190 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2191 # <limits.h> exists even on freestanding compilers.
2192 # On the NeXT, cc -E runs the code through the compiler's parser,
2193 # not just through cpp. "Syntax error" is here to catch this case.
2194 cat >conftest.$ac_ext <<_ACEOF
2195 /* confdefs.h. */
2196 _ACEOF
2197 cat confdefs.h >>conftest.$ac_ext
2198 cat >>conftest.$ac_ext <<_ACEOF
2199 /* end confdefs.h. */
2200 #ifdef __STDC__
2201 # include <limits.h>
2202 #else
2203 # include <assert.h>
2204 #endif
2205 Syntax error
2206 _ACEOF
2207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2208 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2209 ac_status=$?
2210 grep -v '^ *+' conftest.er1 >conftest.err
2211 rm -f conftest.er1
2212 cat conftest.err >&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); } >/dev/null; then
2215 if test -s conftest.err; then
2216 ac_cpp_err=$ac_c_preproc_warn_flag
2217 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2218 else
2219 ac_cpp_err=
2221 else
2222 ac_cpp_err=yes
2224 if test -z "$ac_cpp_err"; then
2226 else
2227 echo "$as_me: failed program was:" >&5
2228 sed 's/^/| /' conftest.$ac_ext >&5
2230 # Broken: fails on valid input.
2231 continue
2233 rm -f conftest.err conftest.$ac_ext
2235 # OK, works on sane cases. Now check whether non-existent headers
2236 # can be detected and how.
2237 cat >conftest.$ac_ext <<_ACEOF
2238 /* confdefs.h. */
2239 _ACEOF
2240 cat confdefs.h >>conftest.$ac_ext
2241 cat >>conftest.$ac_ext <<_ACEOF
2242 /* end confdefs.h. */
2243 #include <ac_nonexistent.h>
2244 _ACEOF
2245 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2246 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2247 ac_status=$?
2248 grep -v '^ *+' conftest.er1 >conftest.err
2249 rm -f conftest.er1
2250 cat conftest.err >&5
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); } >/dev/null; then
2253 if test -s conftest.err; then
2254 ac_cpp_err=$ac_c_preproc_warn_flag
2255 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2256 else
2257 ac_cpp_err=
2259 else
2260 ac_cpp_err=yes
2262 if test -z "$ac_cpp_err"; then
2263 # Broken: success on invalid input.
2264 continue
2265 else
2266 echo "$as_me: failed program was:" >&5
2267 sed 's/^/| /' conftest.$ac_ext >&5
2269 # Passes both tests.
2270 ac_preproc_ok=:
2271 break
2273 rm -f conftest.err conftest.$ac_ext
2275 done
2276 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2277 rm -f conftest.err conftest.$ac_ext
2278 if $ac_preproc_ok; then
2279 break
2282 done
2283 ac_cv_prog_CPP=$CPP
2286 CPP=$ac_cv_prog_CPP
2287 else
2288 ac_cv_prog_CPP=$CPP
2290 echo "$as_me:$LINENO: result: $CPP" >&5
2291 echo "${ECHO_T}$CPP" >&6
2292 ac_preproc_ok=false
2293 for ac_c_preproc_warn_flag in '' yes
2295 # Use a header file that comes with gcc, so configuring glibc
2296 # with a fresh cross-compiler works.
2297 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2298 # <limits.h> exists even on freestanding compilers.
2299 # On the NeXT, cc -E runs the code through the compiler's parser,
2300 # not just through cpp. "Syntax error" is here to catch this case.
2301 cat >conftest.$ac_ext <<_ACEOF
2302 /* confdefs.h. */
2303 _ACEOF
2304 cat confdefs.h >>conftest.$ac_ext
2305 cat >>conftest.$ac_ext <<_ACEOF
2306 /* end confdefs.h. */
2307 #ifdef __STDC__
2308 # include <limits.h>
2309 #else
2310 # include <assert.h>
2311 #endif
2312 Syntax error
2313 _ACEOF
2314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2316 ac_status=$?
2317 grep -v '^ *+' conftest.er1 >conftest.err
2318 rm -f conftest.er1
2319 cat conftest.err >&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); } >/dev/null; then
2322 if test -s conftest.err; then
2323 ac_cpp_err=$ac_c_preproc_warn_flag
2324 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2325 else
2326 ac_cpp_err=
2328 else
2329 ac_cpp_err=yes
2331 if test -z "$ac_cpp_err"; then
2333 else
2334 echo "$as_me: failed program was:" >&5
2335 sed 's/^/| /' conftest.$ac_ext >&5
2337 # Broken: fails on valid input.
2338 continue
2340 rm -f conftest.err conftest.$ac_ext
2342 # OK, works on sane cases. Now check whether non-existent headers
2343 # can be detected and how.
2344 cat >conftest.$ac_ext <<_ACEOF
2345 /* confdefs.h. */
2346 _ACEOF
2347 cat confdefs.h >>conftest.$ac_ext
2348 cat >>conftest.$ac_ext <<_ACEOF
2349 /* end confdefs.h. */
2350 #include <ac_nonexistent.h>
2351 _ACEOF
2352 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2353 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2354 ac_status=$?
2355 grep -v '^ *+' conftest.er1 >conftest.err
2356 rm -f conftest.er1
2357 cat conftest.err >&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); } >/dev/null; then
2360 if test -s conftest.err; then
2361 ac_cpp_err=$ac_c_preproc_warn_flag
2362 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2363 else
2364 ac_cpp_err=
2366 else
2367 ac_cpp_err=yes
2369 if test -z "$ac_cpp_err"; then
2370 # Broken: success on invalid input.
2371 continue
2372 else
2373 echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.$ac_ext >&5
2376 # Passes both tests.
2377 ac_preproc_ok=:
2378 break
2380 rm -f conftest.err conftest.$ac_ext
2382 done
2383 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2384 rm -f conftest.err conftest.$ac_ext
2385 if $ac_preproc_ok; then
2387 else
2388 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2389 See \`config.log' for more details." >&5
2390 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2391 See \`config.log' for more details." >&2;}
2392 { (exit 1); exit 1; }; }
2395 ac_ext=c
2396 ac_cpp='$CPP $CPPFLAGS'
2397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2402 echo "$as_me:$LINENO: checking for egrep" >&5
2403 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2404 if test "${ac_cv_prog_egrep+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6
2406 else
2407 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2408 then ac_cv_prog_egrep='grep -E'
2409 else ac_cv_prog_egrep='egrep'
2412 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2413 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2414 EGREP=$ac_cv_prog_egrep
2418 # Keep these sync'd with the list in Makefile.am. The first provides an
2419 # expandable list at autoconf time; the second provides an expandable list
2420 # (i.e., shell variable) at configure time.
2422 SUBDIRS='include libmath libsupc++ src po testsuite'
2424 # These need to be absolute paths, yet at the same time need to
2425 # canonicalize only relative paths, because then amd will not unmount
2426 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2427 glibcxx_builddir=`${PWDCMD-pwd}`
2428 case $srcdir in
2429 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2430 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2431 esac
2432 toplevel_srcdir=${glibcxx_srcdir}/..
2437 # We use these options to decide which functions to include. They are
2438 # set from the top level.
2440 # Check whether --with-target-subdir or --without-target-subdir was given.
2441 if test "${with_target_subdir+set}" = set; then
2442 withval="$with_target_subdir"
2447 # Check whether --with-cross-host or --without-cross-host was given.
2448 if test "${with_cross_host+set}" = set; then
2449 withval="$with_cross_host"
2454 # Check whether --with-newlib or --without-newlib was given.
2455 if test "${with_newlib+set}" = set; then
2456 withval="$with_newlib"
2460 # We're almost certainly being configured before anything else which uses
2461 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2462 # we not cache the value of CXX that we "discover" here, because it's set
2463 # to something unique for us and libjava. Other target libraries need to
2464 # find CXX for themselves. We yank the rug out from under the normal AC_*
2465 # process by sneakily renaming the cache variable. This also lets us debug
2466 # the value of "our" CXX in postmortems.
2468 # We must also force CXX to /not/ be a precious variable, otherwise the
2469 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2470 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2471 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2472 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2474 # -fno-builtin must be present here so that a non-conflicting form of
2475 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2480 save_CXXFLAGS="$CXXFLAGS"
2481 CXXFLAGS="$CXXFLAGS -fno-builtin"
2482 ac_ext=c
2483 ac_cpp='$CPP $CPPFLAGS'
2484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2487 if test -n "$ac_tool_prefix"; then
2488 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2489 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2490 echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2492 if test "${ac_cv_prog_CC+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 else
2495 if test -n "$CC"; then
2496 ac_cv_prog_CC="$CC" # Let the user override the test.
2497 else
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 for as_dir in $PATH
2501 IFS=$as_save_IFS
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2505 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 break 2
2509 done
2510 done
2514 CC=$ac_cv_prog_CC
2515 if test -n "$CC"; then
2516 echo "$as_me:$LINENO: result: $CC" >&5
2517 echo "${ECHO_T}$CC" >&6
2518 else
2519 echo "$as_me:$LINENO: result: no" >&5
2520 echo "${ECHO_T}no" >&6
2524 if test -z "$ac_cv_prog_CC"; then
2525 ac_ct_CC=$CC
2526 # Extract the first word of "gcc", so it can be a program name with args.
2527 set dummy gcc; ac_word=$2
2528 echo "$as_me:$LINENO: checking for $ac_word" >&5
2529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2530 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2531 echo $ECHO_N "(cached) $ECHO_C" >&6
2532 else
2533 if test -n "$ac_ct_CC"; then
2534 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2535 else
2536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 for as_dir in $PATH
2539 IFS=$as_save_IFS
2540 test -z "$as_dir" && as_dir=.
2541 for ac_exec_ext in '' $ac_executable_extensions; do
2542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2543 ac_cv_prog_ac_ct_CC="gcc"
2544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2545 break 2
2547 done
2548 done
2552 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2553 if test -n "$ac_ct_CC"; then
2554 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2555 echo "${ECHO_T}$ac_ct_CC" >&6
2556 else
2557 echo "$as_me:$LINENO: result: no" >&5
2558 echo "${ECHO_T}no" >&6
2561 CC=$ac_ct_CC
2562 else
2563 CC="$ac_cv_prog_CC"
2566 if test -z "$CC"; then
2567 if test -n "$ac_tool_prefix"; then
2568 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2569 set dummy ${ac_tool_prefix}cc; ac_word=$2
2570 echo "$as_me:$LINENO: checking for $ac_word" >&5
2571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2572 if test "${ac_cv_prog_CC+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2574 else
2575 if test -n "$CC"; then
2576 ac_cv_prog_CC="$CC" # Let the user override the test.
2577 else
2578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579 for as_dir in $PATH
2581 IFS=$as_save_IFS
2582 test -z "$as_dir" && as_dir=.
2583 for ac_exec_ext in '' $ac_executable_extensions; do
2584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2585 ac_cv_prog_CC="${ac_tool_prefix}cc"
2586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2587 break 2
2589 done
2590 done
2594 CC=$ac_cv_prog_CC
2595 if test -n "$CC"; then
2596 echo "$as_me:$LINENO: result: $CC" >&5
2597 echo "${ECHO_T}$CC" >&6
2598 else
2599 echo "$as_me:$LINENO: result: no" >&5
2600 echo "${ECHO_T}no" >&6
2604 if test -z "$ac_cv_prog_CC"; then
2605 ac_ct_CC=$CC
2606 # Extract the first word of "cc", so it can be a program name with args.
2607 set dummy cc; ac_word=$2
2608 echo "$as_me:$LINENO: checking for $ac_word" >&5
2609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2610 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2612 else
2613 if test -n "$ac_ct_CC"; then
2614 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2615 else
2616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617 for as_dir in $PATH
2619 IFS=$as_save_IFS
2620 test -z "$as_dir" && as_dir=.
2621 for ac_exec_ext in '' $ac_executable_extensions; do
2622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2623 ac_cv_prog_ac_ct_CC="cc"
2624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2625 break 2
2627 done
2628 done
2632 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2633 if test -n "$ac_ct_CC"; then
2634 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2635 echo "${ECHO_T}$ac_ct_CC" >&6
2636 else
2637 echo "$as_me:$LINENO: result: no" >&5
2638 echo "${ECHO_T}no" >&6
2641 CC=$ac_ct_CC
2642 else
2643 CC="$ac_cv_prog_CC"
2647 if test -z "$CC"; then
2648 # Extract the first word of "cc", so it can be a program name with args.
2649 set dummy cc; ac_word=$2
2650 echo "$as_me:$LINENO: checking for $ac_word" >&5
2651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2652 if test "${ac_cv_prog_CC+set}" = set; then
2653 echo $ECHO_N "(cached) $ECHO_C" >&6
2654 else
2655 if test -n "$CC"; then
2656 ac_cv_prog_CC="$CC" # Let the user override the test.
2657 else
2658 ac_prog_rejected=no
2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660 for as_dir in $PATH
2662 IFS=$as_save_IFS
2663 test -z "$as_dir" && as_dir=.
2664 for ac_exec_ext in '' $ac_executable_extensions; do
2665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2666 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2667 ac_prog_rejected=yes
2668 continue
2670 ac_cv_prog_CC="cc"
2671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 break 2
2674 done
2675 done
2677 if test $ac_prog_rejected = yes; then
2678 # We found a bogon in the path, so make sure we never use it.
2679 set dummy $ac_cv_prog_CC
2680 shift
2681 if test $# != 0; then
2682 # We chose a different compiler from the bogus one.
2683 # However, it has the same basename, so the bogon will be chosen
2684 # first if we set CC to just the basename; use the full file name.
2685 shift
2686 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2691 CC=$ac_cv_prog_CC
2692 if test -n "$CC"; then
2693 echo "$as_me:$LINENO: result: $CC" >&5
2694 echo "${ECHO_T}$CC" >&6
2695 else
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2701 if test -z "$CC"; then
2702 if test -n "$ac_tool_prefix"; then
2703 for ac_prog in cl
2705 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2706 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2707 echo "$as_me:$LINENO: checking for $ac_word" >&5
2708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2709 if test "${ac_cv_prog_CC+set}" = set; then
2710 echo $ECHO_N "(cached) $ECHO_C" >&6
2711 else
2712 if test -n "$CC"; then
2713 ac_cv_prog_CC="$CC" # Let the user override the test.
2714 else
2715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2716 for as_dir in $PATH
2718 IFS=$as_save_IFS
2719 test -z "$as_dir" && as_dir=.
2720 for ac_exec_ext in '' $ac_executable_extensions; do
2721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2722 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 break 2
2726 done
2727 done
2731 CC=$ac_cv_prog_CC
2732 if test -n "$CC"; then
2733 echo "$as_me:$LINENO: result: $CC" >&5
2734 echo "${ECHO_T}$CC" >&6
2735 else
2736 echo "$as_me:$LINENO: result: no" >&5
2737 echo "${ECHO_T}no" >&6
2740 test -n "$CC" && break
2741 done
2743 if test -z "$CC"; then
2744 ac_ct_CC=$CC
2745 for ac_prog in cl
2747 # Extract the first word of "$ac_prog", so it can be a program name with args.
2748 set dummy $ac_prog; ac_word=$2
2749 echo "$as_me:$LINENO: checking for $ac_word" >&5
2750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2751 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2752 echo $ECHO_N "(cached) $ECHO_C" >&6
2753 else
2754 if test -n "$ac_ct_CC"; then
2755 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2756 else
2757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758 for as_dir in $PATH
2760 IFS=$as_save_IFS
2761 test -z "$as_dir" && as_dir=.
2762 for ac_exec_ext in '' $ac_executable_extensions; do
2763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2764 ac_cv_prog_ac_ct_CC="$ac_prog"
2765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 break 2
2768 done
2769 done
2773 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2774 if test -n "$ac_ct_CC"; then
2775 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2776 echo "${ECHO_T}$ac_ct_CC" >&6
2777 else
2778 echo "$as_me:$LINENO: result: no" >&5
2779 echo "${ECHO_T}no" >&6
2782 test -n "$ac_ct_CC" && break
2783 done
2785 CC=$ac_ct_CC
2791 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2792 See \`config.log' for more details." >&5
2793 echo "$as_me: error: no acceptable C compiler found in \$PATH
2794 See \`config.log' for more details." >&2;}
2795 { (exit 1); exit 1; }; }
2797 # Provide some information about the compiler.
2798 echo "$as_me:$LINENO:" \
2799 "checking for C compiler version" >&5
2800 ac_compiler=`set X $ac_compile; echo $2`
2801 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2802 (eval $ac_compiler --version </dev/null >&5) 2>&5
2803 ac_status=$?
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); }
2806 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2807 (eval $ac_compiler -v </dev/null >&5) 2>&5
2808 ac_status=$?
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }
2811 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2812 (eval $ac_compiler -V </dev/null >&5) 2>&5
2813 ac_status=$?
2814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815 (exit $ac_status); }
2817 cat >conftest.$ac_ext <<_ACEOF
2818 /* confdefs.h. */
2819 _ACEOF
2820 cat confdefs.h >>conftest.$ac_ext
2821 cat >>conftest.$ac_ext <<_ACEOF
2822 /* end confdefs.h. */
2825 main ()
2829 return 0;
2831 _ACEOF
2832 # FIXME: Cleanup?
2833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2834 (eval $ac_link) 2>&5
2835 ac_status=$?
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; then
2838 gcc_no_link=no
2839 else
2840 gcc_no_link=yes
2843 if test x$gcc_no_link = xyes; then
2844 # Setting cross_compile will disable run tests; it will
2845 # also disable AC_CHECK_FILE but that's generally
2846 # correct if we can't link.
2847 cross_compiling=yes
2848 EXEEXT=
2849 else
2850 cat >conftest.$ac_ext <<_ACEOF
2851 /* confdefs.h. */
2852 _ACEOF
2853 cat confdefs.h >>conftest.$ac_ext
2854 cat >>conftest.$ac_ext <<_ACEOF
2855 /* end confdefs.h. */
2858 main ()
2862 return 0;
2864 _ACEOF
2865 ac_clean_files_save=$ac_clean_files
2866 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2867 # Try to create an executable without -o first, disregard a.out.
2868 # It will help us diagnose broken compilers, and finding out an intuition
2869 # of exeext.
2870 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2871 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2872 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2873 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2874 (eval $ac_link_default) 2>&5
2875 ac_status=$?
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }; then
2878 # Find the output, starting from the most likely. This scheme is
2879 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2880 # resort.
2882 # Be careful to initialize this variable, since it used to be cached.
2883 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2884 ac_cv_exeext=
2885 # b.out is created by i960 compilers.
2886 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2888 test -f "$ac_file" || continue
2889 case $ac_file in
2890 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2892 conftest.$ac_ext )
2893 # This is the source file.
2895 [ab].out )
2896 # We found the default executable, but exeext='' is most
2897 # certainly right.
2898 break;;
2899 *.* )
2900 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2901 # FIXME: I believe we export ac_cv_exeext for Libtool,
2902 # but it would be cool to find out if it's true. Does anybody
2903 # maintain Libtool? --akim.
2904 export ac_cv_exeext
2905 break;;
2907 break;;
2908 esac
2909 done
2910 else
2911 echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.$ac_ext >&5
2914 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2915 See \`config.log' for more details." >&5
2916 echo "$as_me: error: C compiler cannot create executables
2917 See \`config.log' for more details." >&2;}
2918 { (exit 77); exit 77; }; }
2921 ac_exeext=$ac_cv_exeext
2922 echo "$as_me:$LINENO: result: $ac_file" >&5
2923 echo "${ECHO_T}$ac_file" >&6
2925 # Check the compiler produces executables we can run. If not, either
2926 # the compiler is broken, or we cross compile.
2927 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2928 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2929 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2930 # If not cross compiling, check that we can run a simple program.
2931 if test "$cross_compiling" != yes; then
2932 if { ac_try='./$ac_file'
2933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2934 (eval $ac_try) 2>&5
2935 ac_status=$?
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); }; }; then
2938 cross_compiling=no
2939 else
2940 if test "$cross_compiling" = maybe; then
2941 cross_compiling=yes
2942 else
2943 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2944 If you meant to cross compile, use \`--host'.
2945 See \`config.log' for more details." >&5
2946 echo "$as_me: error: cannot run C compiled programs.
2947 If you meant to cross compile, use \`--host'.
2948 See \`config.log' for more details." >&2;}
2949 { (exit 1); exit 1; }; }
2953 echo "$as_me:$LINENO: result: yes" >&5
2954 echo "${ECHO_T}yes" >&6
2956 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2957 ac_clean_files=$ac_clean_files_save
2958 # Check the compiler produces executables we can run. If not, either
2959 # the compiler is broken, or we cross compile.
2960 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2961 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2962 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2963 echo "${ECHO_T}$cross_compiling" >&6
2965 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2966 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2968 (eval $ac_link) 2>&5
2969 ac_status=$?
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); }; then
2972 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2973 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2974 # work properly (i.e., refer to `conftest.exe'), while it won't with
2975 # `rm'.
2976 for ac_file in conftest.exe conftest conftest.*; do
2977 test -f "$ac_file" || continue
2978 case $ac_file in
2979 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2980 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2981 export ac_cv_exeext
2982 break;;
2983 * ) break;;
2984 esac
2985 done
2986 else
2987 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2988 See \`config.log' for more details." >&5
2989 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2990 See \`config.log' for more details." >&2;}
2991 { (exit 1); exit 1; }; }
2994 rm -f conftest$ac_cv_exeext
2995 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2996 echo "${ECHO_T}$ac_cv_exeext" >&6
2998 rm -f conftest.$ac_ext
2999 EXEEXT=$ac_cv_exeext
3000 ac_exeext=$EXEEXT
3002 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3003 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3004 if test "${ac_cv_objext+set}" = set; then
3005 echo $ECHO_N "(cached) $ECHO_C" >&6
3006 else
3007 cat >conftest.$ac_ext <<_ACEOF
3008 /* confdefs.h. */
3009 _ACEOF
3010 cat confdefs.h >>conftest.$ac_ext
3011 cat >>conftest.$ac_ext <<_ACEOF
3012 /* end confdefs.h. */
3015 main ()
3019 return 0;
3021 _ACEOF
3022 rm -f conftest.o conftest.obj
3023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3024 (eval $ac_compile) 2>&5
3025 ac_status=$?
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); }; then
3028 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3029 case $ac_file in
3030 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3031 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3032 break;;
3033 esac
3034 done
3035 else
3036 echo "$as_me: failed program was:" >&5
3037 sed 's/^/| /' conftest.$ac_ext >&5
3039 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3040 See \`config.log' for more details." >&5
3041 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3042 See \`config.log' for more details." >&2;}
3043 { (exit 1); exit 1; }; }
3046 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3048 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3049 echo "${ECHO_T}$ac_cv_objext" >&6
3050 OBJEXT=$ac_cv_objext
3051 ac_objext=$OBJEXT
3052 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3053 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3054 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3055 echo $ECHO_N "(cached) $ECHO_C" >&6
3056 else
3057 cat >conftest.$ac_ext <<_ACEOF
3058 /* confdefs.h. */
3059 _ACEOF
3060 cat confdefs.h >>conftest.$ac_ext
3061 cat >>conftest.$ac_ext <<_ACEOF
3062 /* end confdefs.h. */
3065 main ()
3067 #ifndef __GNUC__
3068 choke me
3069 #endif
3072 return 0;
3074 _ACEOF
3075 rm -f conftest.$ac_objext
3076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3077 (eval $ac_compile) 2>conftest.er1
3078 ac_status=$?
3079 grep -v '^ *+' conftest.er1 >conftest.err
3080 rm -f conftest.er1
3081 cat conftest.err >&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } &&
3084 { ac_try='test -z "$ac_c_werror_flag"
3085 || test ! -s conftest.err'
3086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3087 (eval $ac_try) 2>&5
3088 ac_status=$?
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }; } &&
3091 { ac_try='test -s conftest.$ac_objext'
3092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3093 (eval $ac_try) 2>&5
3094 ac_status=$?
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }; }; then
3097 ac_compiler_gnu=yes
3098 else
3099 echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.$ac_ext >&5
3102 ac_compiler_gnu=no
3104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3105 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3108 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3109 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3110 GCC=`test $ac_compiler_gnu = yes && echo yes`
3111 ac_test_CFLAGS=${CFLAGS+set}
3112 ac_save_CFLAGS=$CFLAGS
3113 CFLAGS="-g"
3114 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3115 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3116 if test "${ac_cv_prog_cc_g+set}" = set; then
3117 echo $ECHO_N "(cached) $ECHO_C" >&6
3118 else
3119 cat >conftest.$ac_ext <<_ACEOF
3120 /* confdefs.h. */
3121 _ACEOF
3122 cat confdefs.h >>conftest.$ac_ext
3123 cat >>conftest.$ac_ext <<_ACEOF
3124 /* end confdefs.h. */
3127 main ()
3131 return 0;
3133 _ACEOF
3134 rm -f conftest.$ac_objext
3135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3136 (eval $ac_compile) 2>conftest.er1
3137 ac_status=$?
3138 grep -v '^ *+' conftest.er1 >conftest.err
3139 rm -f conftest.er1
3140 cat conftest.err >&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); } &&
3143 { ac_try='test -z "$ac_c_werror_flag"
3144 || test ! -s conftest.err'
3145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3146 (eval $ac_try) 2>&5
3147 ac_status=$?
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); }; } &&
3150 { ac_try='test -s conftest.$ac_objext'
3151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3152 (eval $ac_try) 2>&5
3153 ac_status=$?
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); }; }; then
3156 ac_cv_prog_cc_g=yes
3157 else
3158 echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.$ac_ext >&5
3161 ac_cv_prog_cc_g=no
3163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3165 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3166 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3167 if test "$ac_test_CFLAGS" = set; then
3168 CFLAGS=$ac_save_CFLAGS
3169 elif test $ac_cv_prog_cc_g = yes; then
3170 if test "$GCC" = yes; then
3171 CFLAGS="-g -O2"
3172 else
3173 CFLAGS="-g"
3175 else
3176 if test "$GCC" = yes; then
3177 CFLAGS="-O2"
3178 else
3179 CFLAGS=
3182 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3183 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3184 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3185 echo $ECHO_N "(cached) $ECHO_C" >&6
3186 else
3187 ac_cv_prog_cc_stdc=no
3188 ac_save_CC=$CC
3189 cat >conftest.$ac_ext <<_ACEOF
3190 /* confdefs.h. */
3191 _ACEOF
3192 cat confdefs.h >>conftest.$ac_ext
3193 cat >>conftest.$ac_ext <<_ACEOF
3194 /* end confdefs.h. */
3195 #include <stdarg.h>
3196 #include <stdio.h>
3197 #include <sys/types.h>
3198 #include <sys/stat.h>
3199 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3200 struct buf { int x; };
3201 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3202 static char *e (p, i)
3203 char **p;
3204 int i;
3206 return p[i];
3208 static char *f (char * (*g) (char **, int), char **p, ...)
3210 char *s;
3211 va_list v;
3212 va_start (v,p);
3213 s = g (p, va_arg (v,int));
3214 va_end (v);
3215 return s;
3218 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3219 function prototypes and stuff, but not '\xHH' hex character constants.
3220 These don't provoke an error unfortunately, instead are silently treated
3221 as 'x'. The following induces an error, until -std1 is added to get
3222 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3223 array size at least. It's necessary to write '\x00'==0 to get something
3224 that's true only with -std1. */
3225 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3227 int test (int i, double x);
3228 struct s1 {int (*f) (int a);};
3229 struct s2 {int (*f) (double a);};
3230 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3231 int argc;
3232 char **argv;
3234 main ()
3236 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3238 return 0;
3240 _ACEOF
3241 # Don't try gcc -ansi; that turns off useful extensions and
3242 # breaks some systems' header files.
3243 # AIX -qlanglvl=ansi
3244 # Ultrix and OSF/1 -std1
3245 # HP-UX 10.20 and later -Ae
3246 # HP-UX older versions -Aa -D_HPUX_SOURCE
3247 # SVR4 -Xc -D__EXTENSIONS__
3248 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3250 CC="$ac_save_CC $ac_arg"
3251 rm -f conftest.$ac_objext
3252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3253 (eval $ac_compile) 2>conftest.er1
3254 ac_status=$?
3255 grep -v '^ *+' conftest.er1 >conftest.err
3256 rm -f conftest.er1
3257 cat conftest.err >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } &&
3260 { ac_try='test -z "$ac_c_werror_flag"
3261 || test ! -s conftest.err'
3262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3263 (eval $ac_try) 2>&5
3264 ac_status=$?
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); }; } &&
3267 { ac_try='test -s conftest.$ac_objext'
3268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3269 (eval $ac_try) 2>&5
3270 ac_status=$?
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); }; }; then
3273 ac_cv_prog_cc_stdc=$ac_arg
3274 break
3275 else
3276 echo "$as_me: failed program was:" >&5
3277 sed 's/^/| /' conftest.$ac_ext >&5
3280 rm -f conftest.err conftest.$ac_objext
3281 done
3282 rm -f conftest.$ac_ext conftest.$ac_objext
3283 CC=$ac_save_CC
3287 case "x$ac_cv_prog_cc_stdc" in
3288 x|xno)
3289 echo "$as_me:$LINENO: result: none needed" >&5
3290 echo "${ECHO_T}none needed" >&6 ;;
3292 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3293 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3294 CC="$CC $ac_cv_prog_cc_stdc" ;;
3295 esac
3297 # Some people use a C++ compiler to compile C. Since we use `exit',
3298 # in C++ we need to declare it. In case someone uses the same compiler
3299 # for both compiling C and C++ we need to have the C++ compiler decide
3300 # the declaration of exit, since it's the most demanding environment.
3301 cat >conftest.$ac_ext <<_ACEOF
3302 #ifndef __cplusplus
3303 choke me
3304 #endif
3305 _ACEOF
3306 rm -f conftest.$ac_objext
3307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3308 (eval $ac_compile) 2>conftest.er1
3309 ac_status=$?
3310 grep -v '^ *+' conftest.er1 >conftest.err
3311 rm -f conftest.er1
3312 cat conftest.err >&5
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); } &&
3315 { ac_try='test -z "$ac_c_werror_flag"
3316 || test ! -s conftest.err'
3317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3318 (eval $ac_try) 2>&5
3319 ac_status=$?
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; } &&
3322 { ac_try='test -s conftest.$ac_objext'
3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3324 (eval $ac_try) 2>&5
3325 ac_status=$?
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; }; then
3328 for ac_declaration in \
3329 '' \
3330 'extern "C" void std::exit (int) throw (); using std::exit;' \
3331 'extern "C" void std::exit (int); using std::exit;' \
3332 'extern "C" void exit (int) throw ();' \
3333 'extern "C" void exit (int);' \
3334 'void exit (int);'
3336 cat >conftest.$ac_ext <<_ACEOF
3337 /* confdefs.h. */
3338 _ACEOF
3339 cat confdefs.h >>conftest.$ac_ext
3340 cat >>conftest.$ac_ext <<_ACEOF
3341 /* end confdefs.h. */
3342 $ac_declaration
3343 #include <stdlib.h>
3345 main ()
3347 exit (42);
3349 return 0;
3351 _ACEOF
3352 rm -f conftest.$ac_objext
3353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3354 (eval $ac_compile) 2>conftest.er1
3355 ac_status=$?
3356 grep -v '^ *+' conftest.er1 >conftest.err
3357 rm -f conftest.er1
3358 cat conftest.err >&5
3359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 (exit $ac_status); } &&
3361 { ac_try='test -z "$ac_c_werror_flag"
3362 || test ! -s conftest.err'
3363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3364 (eval $ac_try) 2>&5
3365 ac_status=$?
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); }; } &&
3368 { ac_try='test -s conftest.$ac_objext'
3369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3370 (eval $ac_try) 2>&5
3371 ac_status=$?
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); }; }; then
3375 else
3376 echo "$as_me: failed program was:" >&5
3377 sed 's/^/| /' conftest.$ac_ext >&5
3379 continue
3381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3382 cat >conftest.$ac_ext <<_ACEOF
3383 /* confdefs.h. */
3384 _ACEOF
3385 cat confdefs.h >>conftest.$ac_ext
3386 cat >>conftest.$ac_ext <<_ACEOF
3387 /* end confdefs.h. */
3388 $ac_declaration
3390 main ()
3392 exit (42);
3394 return 0;
3396 _ACEOF
3397 rm -f conftest.$ac_objext
3398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3399 (eval $ac_compile) 2>conftest.er1
3400 ac_status=$?
3401 grep -v '^ *+' conftest.er1 >conftest.err
3402 rm -f conftest.er1
3403 cat conftest.err >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); } &&
3406 { ac_try='test -z "$ac_c_werror_flag"
3407 || test ! -s conftest.err'
3408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3409 (eval $ac_try) 2>&5
3410 ac_status=$?
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }; } &&
3413 { ac_try='test -s conftest.$ac_objext'
3414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415 (eval $ac_try) 2>&5
3416 ac_status=$?
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); }; }; then
3419 break
3420 else
3421 echo "$as_me: failed program was:" >&5
3422 sed 's/^/| /' conftest.$ac_ext >&5
3425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3426 done
3427 rm -f conftest*
3428 if test -n "$ac_declaration"; then
3429 echo '#ifdef __cplusplus' >>confdefs.h
3430 echo $ac_declaration >>confdefs.h
3431 echo '#endif' >>confdefs.h
3434 else
3435 echo "$as_me: failed program was:" >&5
3436 sed 's/^/| /' conftest.$ac_ext >&5
3439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3440 ac_ext=c
3441 ac_cpp='$CPP $CPPFLAGS'
3442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3446 ac_ext=cc
3447 ac_cpp='$CXXCPP $CPPFLAGS'
3448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3451 if test -n "$ac_tool_prefix"; then
3452 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3454 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3455 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3456 echo "$as_me:$LINENO: checking for $ac_word" >&5
3457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3458 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3459 echo $ECHO_N "(cached) $ECHO_C" >&6
3460 else
3461 if test -n "$CXX"; then
3462 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3463 else
3464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3465 for as_dir in $PATH
3467 IFS=$as_save_IFS
3468 test -z "$as_dir" && as_dir=.
3469 for ac_exec_ext in '' $ac_executable_extensions; do
3470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3471 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3473 break 2
3475 done
3476 done
3480 CXX=$glibcxx_cv_prog_CXX
3481 if test -n "$CXX"; then
3482 echo "$as_me:$LINENO: result: $CXX" >&5
3483 echo "${ECHO_T}$CXX" >&6
3484 else
3485 echo "$as_me:$LINENO: result: no" >&5
3486 echo "${ECHO_T}no" >&6
3489 test -n "$CXX" && break
3490 done
3492 if test -z "$CXX"; then
3493 ac_ct_CXX=$CXX
3494 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3496 # Extract the first word of "$ac_prog", so it can be a program name with args.
3497 set dummy $ac_prog; ac_word=$2
3498 echo "$as_me:$LINENO: checking for $ac_word" >&5
3499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3500 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3502 else
3503 if test -n "$ac_ct_CXX"; then
3504 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3505 else
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 for as_dir in $PATH
3509 IFS=$as_save_IFS
3510 test -z "$as_dir" && as_dir=.
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3513 ac_cv_prog_ac_ct_CXX="$ac_prog"
3514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 break 2
3517 done
3518 done
3522 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3523 if test -n "$ac_ct_CXX"; then
3524 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3525 echo "${ECHO_T}$ac_ct_CXX" >&6
3526 else
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3531 test -n "$ac_ct_CXX" && break
3532 done
3533 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3535 CXX=$ac_ct_CXX
3539 # Provide some information about the compiler.
3540 echo "$as_me:$LINENO:" \
3541 "checking for C++ compiler version" >&5
3542 ac_compiler=`set X $ac_compile; echo $2`
3543 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3544 (eval $ac_compiler --version </dev/null >&5) 2>&5
3545 ac_status=$?
3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); }
3548 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3549 (eval $ac_compiler -v </dev/null >&5) 2>&5
3550 ac_status=$?
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); }
3553 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3554 (eval $ac_compiler -V </dev/null >&5) 2>&5
3555 ac_status=$?
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); }
3559 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3560 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3561 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 else
3564 cat >conftest.$ac_ext <<_ACEOF
3565 /* confdefs.h. */
3566 _ACEOF
3567 cat confdefs.h >>conftest.$ac_ext
3568 cat >>conftest.$ac_ext <<_ACEOF
3569 /* end confdefs.h. */
3572 main ()
3574 #ifndef __GNUC__
3575 choke me
3576 #endif
3579 return 0;
3581 _ACEOF
3582 rm -f conftest.$ac_objext
3583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3584 (eval $ac_compile) 2>conftest.er1
3585 ac_status=$?
3586 grep -v '^ *+' conftest.er1 >conftest.err
3587 rm -f conftest.er1
3588 cat conftest.err >&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); } &&
3591 { ac_try='test -z "$ac_cxx_werror_flag"
3592 || test ! -s conftest.err'
3593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3594 (eval $ac_try) 2>&5
3595 ac_status=$?
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); }; } &&
3598 { ac_try='test -s conftest.$ac_objext'
3599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3600 (eval $ac_try) 2>&5
3601 ac_status=$?
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); }; }; then
3604 ac_compiler_gnu=yes
3605 else
3606 echo "$as_me: failed program was:" >&5
3607 sed 's/^/| /' conftest.$ac_ext >&5
3609 ac_compiler_gnu=no
3611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3612 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3615 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3616 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3617 GXX=`test $ac_compiler_gnu = yes && echo yes`
3618 ac_test_CXXFLAGS=${CXXFLAGS+set}
3619 ac_save_CXXFLAGS=$CXXFLAGS
3620 CXXFLAGS="-g"
3621 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3622 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3623 if test "${ac_cv_prog_cxx_g+set}" = set; then
3624 echo $ECHO_N "(cached) $ECHO_C" >&6
3625 else
3626 cat >conftest.$ac_ext <<_ACEOF
3627 /* confdefs.h. */
3628 _ACEOF
3629 cat confdefs.h >>conftest.$ac_ext
3630 cat >>conftest.$ac_ext <<_ACEOF
3631 /* end confdefs.h. */
3634 main ()
3638 return 0;
3640 _ACEOF
3641 rm -f conftest.$ac_objext
3642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3643 (eval $ac_compile) 2>conftest.er1
3644 ac_status=$?
3645 grep -v '^ *+' conftest.er1 >conftest.err
3646 rm -f conftest.er1
3647 cat conftest.err >&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); } &&
3650 { ac_try='test -z "$ac_cxx_werror_flag"
3651 || test ! -s conftest.err'
3652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3653 (eval $ac_try) 2>&5
3654 ac_status=$?
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); }; } &&
3657 { ac_try='test -s conftest.$ac_objext'
3658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3659 (eval $ac_try) 2>&5
3660 ac_status=$?
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); }; }; then
3663 ac_cv_prog_cxx_g=yes
3664 else
3665 echo "$as_me: failed program was:" >&5
3666 sed 's/^/| /' conftest.$ac_ext >&5
3668 ac_cv_prog_cxx_g=no
3670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3672 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3673 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3674 if test "$ac_test_CXXFLAGS" = set; then
3675 CXXFLAGS=$ac_save_CXXFLAGS
3676 elif test $ac_cv_prog_cxx_g = yes; then
3677 if test "$GXX" = yes; then
3678 CXXFLAGS="-g -O2"
3679 else
3680 CXXFLAGS="-g"
3682 else
3683 if test "$GXX" = yes; then
3684 CXXFLAGS="-O2"
3685 else
3686 CXXFLAGS=
3689 for ac_declaration in \
3690 '' \
3691 'extern "C" void std::exit (int) throw (); using std::exit;' \
3692 'extern "C" void std::exit (int); using std::exit;' \
3693 'extern "C" void exit (int) throw ();' \
3694 'extern "C" void exit (int);' \
3695 'void exit (int);'
3697 cat >conftest.$ac_ext <<_ACEOF
3698 /* confdefs.h. */
3699 _ACEOF
3700 cat confdefs.h >>conftest.$ac_ext
3701 cat >>conftest.$ac_ext <<_ACEOF
3702 /* end confdefs.h. */
3703 $ac_declaration
3704 #include <stdlib.h>
3706 main ()
3708 exit (42);
3710 return 0;
3712 _ACEOF
3713 rm -f conftest.$ac_objext
3714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3715 (eval $ac_compile) 2>conftest.er1
3716 ac_status=$?
3717 grep -v '^ *+' conftest.er1 >conftest.err
3718 rm -f conftest.er1
3719 cat conftest.err >&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); } &&
3722 { ac_try='test -z "$ac_cxx_werror_flag"
3723 || test ! -s conftest.err'
3724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3725 (eval $ac_try) 2>&5
3726 ac_status=$?
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); }; } &&
3729 { ac_try='test -s conftest.$ac_objext'
3730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3731 (eval $ac_try) 2>&5
3732 ac_status=$?
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }; }; then
3736 else
3737 echo "$as_me: failed program was:" >&5
3738 sed 's/^/| /' conftest.$ac_ext >&5
3740 continue
3742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3743 cat >conftest.$ac_ext <<_ACEOF
3744 /* confdefs.h. */
3745 _ACEOF
3746 cat confdefs.h >>conftest.$ac_ext
3747 cat >>conftest.$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3749 $ac_declaration
3751 main ()
3753 exit (42);
3755 return 0;
3757 _ACEOF
3758 rm -f conftest.$ac_objext
3759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3760 (eval $ac_compile) 2>conftest.er1
3761 ac_status=$?
3762 grep -v '^ *+' conftest.er1 >conftest.err
3763 rm -f conftest.er1
3764 cat conftest.err >&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); } &&
3767 { ac_try='test -z "$ac_cxx_werror_flag"
3768 || test ! -s conftest.err'
3769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3770 (eval $ac_try) 2>&5
3771 ac_status=$?
3772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773 (exit $ac_status); }; } &&
3774 { ac_try='test -s conftest.$ac_objext'
3775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3776 (eval $ac_try) 2>&5
3777 ac_status=$?
3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779 (exit $ac_status); }; }; then
3780 break
3781 else
3782 echo "$as_me: failed program was:" >&5
3783 sed 's/^/| /' conftest.$ac_ext >&5
3786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3787 done
3788 rm -f conftest*
3789 if test -n "$ac_declaration"; then
3790 echo '#ifdef __cplusplus' >>confdefs.h
3791 echo $ac_declaration >>confdefs.h
3792 echo '#endif' >>confdefs.h
3795 ac_ext=c
3796 ac_cpp='$CPP $CPPFLAGS'
3797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3801 CXXFLAGS="$save_CXXFLAGS"
3806 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3807 # available). Uncomment the next line to force a particular method.
3808 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3809 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3810 LN_S=$as_ln_s
3811 if test "$LN_S" = "ln -s"; then
3812 echo "$as_me:$LINENO: result: yes" >&5
3813 echo "${ECHO_T}yes" >&6
3814 else
3815 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3816 echo "${ECHO_T}no, using $LN_S" >&6
3819 #LN_S='cp -p'
3821 if test -n "$ac_tool_prefix"; then
3822 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3823 set dummy ${ac_tool_prefix}as; ac_word=$2
3824 echo "$as_me:$LINENO: checking for $ac_word" >&5
3825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3826 if test "${ac_cv_prog_AS+set}" = set; then
3827 echo $ECHO_N "(cached) $ECHO_C" >&6
3828 else
3829 if test -n "$AS"; then
3830 ac_cv_prog_AS="$AS" # Let the user override the test.
3831 else
3832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3833 for as_dir in $PATH
3835 IFS=$as_save_IFS
3836 test -z "$as_dir" && as_dir=.
3837 for ac_exec_ext in '' $ac_executable_extensions; do
3838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3839 ac_cv_prog_AS="${ac_tool_prefix}as"
3840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3841 break 2
3843 done
3844 done
3848 AS=$ac_cv_prog_AS
3849 if test -n "$AS"; then
3850 echo "$as_me:$LINENO: result: $AS" >&5
3851 echo "${ECHO_T}$AS" >&6
3852 else
3853 echo "$as_me:$LINENO: result: no" >&5
3854 echo "${ECHO_T}no" >&6
3858 if test -z "$ac_cv_prog_AS"; then
3859 ac_ct_AS=$AS
3860 # Extract the first word of "as", so it can be a program name with args.
3861 set dummy as; ac_word=$2
3862 echo "$as_me:$LINENO: checking for $ac_word" >&5
3863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3864 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3865 echo $ECHO_N "(cached) $ECHO_C" >&6
3866 else
3867 if test -n "$ac_ct_AS"; then
3868 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3869 else
3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3871 for as_dir in $PATH
3873 IFS=$as_save_IFS
3874 test -z "$as_dir" && as_dir=.
3875 for ac_exec_ext in '' $ac_executable_extensions; do
3876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3877 ac_cv_prog_ac_ct_AS="as"
3878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 break 2
3881 done
3882 done
3886 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3887 if test -n "$ac_ct_AS"; then
3888 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3889 echo "${ECHO_T}$ac_ct_AS" >&6
3890 else
3891 echo "$as_me:$LINENO: result: no" >&5
3892 echo "${ECHO_T}no" >&6
3895 AS=$ac_ct_AS
3896 else
3897 AS="$ac_cv_prog_AS"
3900 if test -n "$ac_tool_prefix"; then
3901 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3902 set dummy ${ac_tool_prefix}ar; ac_word=$2
3903 echo "$as_me:$LINENO: checking for $ac_word" >&5
3904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3905 if test "${ac_cv_prog_AR+set}" = set; then
3906 echo $ECHO_N "(cached) $ECHO_C" >&6
3907 else
3908 if test -n "$AR"; then
3909 ac_cv_prog_AR="$AR" # Let the user override the test.
3910 else
3911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3912 for as_dir in $PATH
3914 IFS=$as_save_IFS
3915 test -z "$as_dir" && as_dir=.
3916 for ac_exec_ext in '' $ac_executable_extensions; do
3917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3918 ac_cv_prog_AR="${ac_tool_prefix}ar"
3919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3920 break 2
3922 done
3923 done
3927 AR=$ac_cv_prog_AR
3928 if test -n "$AR"; then
3929 echo "$as_me:$LINENO: result: $AR" >&5
3930 echo "${ECHO_T}$AR" >&6
3931 else
3932 echo "$as_me:$LINENO: result: no" >&5
3933 echo "${ECHO_T}no" >&6
3937 if test -z "$ac_cv_prog_AR"; then
3938 ac_ct_AR=$AR
3939 # Extract the first word of "ar", so it can be a program name with args.
3940 set dummy ar; ac_word=$2
3941 echo "$as_me:$LINENO: checking for $ac_word" >&5
3942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3943 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 else
3946 if test -n "$ac_ct_AR"; then
3947 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3948 else
3949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3950 for as_dir in $PATH
3952 IFS=$as_save_IFS
3953 test -z "$as_dir" && as_dir=.
3954 for ac_exec_ext in '' $ac_executable_extensions; do
3955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3956 ac_cv_prog_ac_ct_AR="ar"
3957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 break 2
3960 done
3961 done
3965 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3966 if test -n "$ac_ct_AR"; then
3967 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3968 echo "${ECHO_T}$ac_ct_AR" >&6
3969 else
3970 echo "$as_me:$LINENO: result: no" >&5
3971 echo "${ECHO_T}no" >&6
3974 AR=$ac_ct_AR
3975 else
3976 AR="$ac_cv_prog_AR"
3979 if test -n "$ac_tool_prefix"; then
3980 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3981 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3982 echo "$as_me:$LINENO: checking for $ac_word" >&5
3983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3984 if test "${ac_cv_prog_RANLIB+set}" = set; then
3985 echo $ECHO_N "(cached) $ECHO_C" >&6
3986 else
3987 if test -n "$RANLIB"; then
3988 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3989 else
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 for as_dir in $PATH
3993 IFS=$as_save_IFS
3994 test -z "$as_dir" && as_dir=.
3995 for ac_exec_ext in '' $ac_executable_extensions; do
3996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3997 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 break 2
4001 done
4002 done
4006 RANLIB=$ac_cv_prog_RANLIB
4007 if test -n "$RANLIB"; then
4008 echo "$as_me:$LINENO: result: $RANLIB" >&5
4009 echo "${ECHO_T}$RANLIB" >&6
4010 else
4011 echo "$as_me:$LINENO: result: no" >&5
4012 echo "${ECHO_T}no" >&6
4016 if test -z "$ac_cv_prog_RANLIB"; then
4017 ac_ct_RANLIB=$RANLIB
4018 # Extract the first word of "ranlib", so it can be a program name with args.
4019 set dummy ranlib; ac_word=$2
4020 echo "$as_me:$LINENO: checking for $ac_word" >&5
4021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4022 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4023 echo $ECHO_N "(cached) $ECHO_C" >&6
4024 else
4025 if test -n "$ac_ct_RANLIB"; then
4026 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4027 else
4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4029 for as_dir in $PATH
4031 IFS=$as_save_IFS
4032 test -z "$as_dir" && as_dir=.
4033 for ac_exec_ext in '' $ac_executable_extensions; do
4034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4035 ac_cv_prog_ac_ct_RANLIB="ranlib"
4036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4037 break 2
4039 done
4040 done
4042 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4045 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4046 if test -n "$ac_ct_RANLIB"; then
4047 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4048 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4049 else
4050 echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6
4054 RANLIB=$ac_ct_RANLIB
4055 else
4056 RANLIB="$ac_cv_prog_RANLIB"
4060 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4061 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4062 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4063 if test "${enable_maintainer_mode+set}" = set; then
4064 enableval="$enable_maintainer_mode"
4065 USE_MAINTAINER_MODE=$enableval
4066 else
4067 USE_MAINTAINER_MODE=no
4069 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4070 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4073 if test $USE_MAINTAINER_MODE = yes; then
4074 MAINTAINER_MODE_TRUE=
4075 MAINTAINER_MODE_FALSE='#'
4076 else
4077 MAINTAINER_MODE_TRUE='#'
4078 MAINTAINER_MODE_FALSE=
4081 MAINT=$MAINTAINER_MODE_TRUE
4085 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4086 # which are themselves conditionally expanded.
4087 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4088 ## other macros from doing the same. This should be automated.) -pme
4089 need_libmath=no
4091 # Check for uClibc since Linux platforms use different configuration
4092 # directories depending on the C library in use.
4093 cat >conftest.$ac_ext <<_ACEOF
4094 /* confdefs.h. */
4095 _ACEOF
4096 cat confdefs.h >>conftest.$ac_ext
4097 cat >>conftest.$ac_ext <<_ACEOF
4098 /* end confdefs.h. */
4100 #include <stdio.h>
4101 #if __UCLIBC__
4102 _using_uclibc
4103 #endif
4105 _ACEOF
4106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4107 $EGREP "_using_uclibc" >/dev/null 2>&1; then
4108 uclibc=yes
4109 else
4110 uclibc=no
4112 rm -f conftest*
4115 # Find platform-specific directories containing configuration info.
4116 # Also possibly modify flags used elsewhere, as needed by the platform.
4118 . $glibcxx_srcdir/configure.host
4119 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4120 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4121 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4122 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4126 enable_dlopen=yes
4132 macro_version='2.1a'
4133 macro_revision='1.2435'
4146 ltmain="$ac_aux_dir/ltmain.sh"
4148 # Set options
4151 enable_win32_dll=no
4154 # Check whether --enable-shared or --disable-shared was given.
4155 if test "${enable_shared+set}" = set; then
4156 enableval="$enable_shared"
4157 p=${PACKAGE-default}
4158 case $enableval in
4159 yes) enable_shared=yes ;;
4160 no) enable_shared=no ;;
4162 enable_shared=no
4163 # Look at the argument we got. We use all the common list separators.
4164 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4165 for pkg in $enableval; do
4166 IFS="$lt_save_ifs"
4167 if test "X$pkg" = "X$p"; then
4168 enable_shared=yes
4170 done
4171 IFS="$lt_save_ifs"
4173 esac
4174 else
4175 enable_shared=yes
4185 # Check whether --enable-static or --disable-static was given.
4186 if test "${enable_static+set}" = set; then
4187 enableval="$enable_static"
4188 p=${PACKAGE-default}
4189 case $enableval in
4190 yes) enable_static=yes ;;
4191 no) enable_static=no ;;
4193 enable_static=no
4194 # Look at the argument we got. We use all the common list separators.
4195 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4196 for pkg in $enableval; do
4197 IFS="$lt_save_ifs"
4198 if test "X$pkg" = "X$p"; then
4199 enable_static=yes
4201 done
4202 IFS="$lt_save_ifs"
4204 esac
4205 else
4206 enable_static=yes
4217 # Check whether --with-pic or --without-pic was given.
4218 if test "${with_pic+set}" = set; then
4219 withval="$with_pic"
4220 pic_mode="$withval"
4221 else
4222 pic_mode=default
4225 test -z "$pic_mode" && pic_mode=default
4233 # Check whether --enable-fast-install or --disable-fast-install was given.
4234 if test "${enable_fast_install+set}" = set; then
4235 enableval="$enable_fast_install"
4236 p=${PACKAGE-default}
4237 case $enableval in
4238 yes) enable_fast_install=yes ;;
4239 no) enable_fast_install=no ;;
4241 enable_fast_install=no
4242 # Look at the argument we got. We use all the common list separators.
4243 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4244 for pkg in $enableval; do
4245 IFS="$lt_save_ifs"
4246 if test "X$pkg" = "X$p"; then
4247 enable_fast_install=yes
4249 done
4250 IFS="$lt_save_ifs"
4252 esac
4253 else
4254 enable_fast_install=yes
4264 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4265 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4266 if test "${lt_cv_path_SED+set}" = set; then
4267 echo $ECHO_N "(cached) $ECHO_C" >&6
4268 else
4269 # Loop through the user's path and test for sed and gsed.
4270 # Then use that list of sed's as ones to test for truncation.
4271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4272 for as_dir in $PATH
4274 IFS=$as_save_IFS
4275 test -z "$as_dir" && as_dir=.
4276 for lt_ac_prog in sed gsed; do
4277 for ac_exec_ext in '' $ac_executable_extensions; do
4278 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4279 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4281 done
4282 done
4283 done
4284 IFS=$as_save_IFS
4285 lt_ac_max=0
4286 lt_ac_count=0
4287 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4288 # along with /bin/sed that truncates output.
4289 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4290 test ! -f $lt_ac_sed && continue
4291 cat /dev/null > conftest.in
4292 lt_ac_count=0
4293 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4294 # Check for GNU sed and select it if it is found.
4295 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4296 lt_cv_path_SED=$lt_ac_sed
4297 break
4299 while true; do
4300 cat conftest.in conftest.in >conftest.tmp
4301 mv conftest.tmp conftest.in
4302 cp conftest.in conftest.nl
4303 echo >>conftest.nl
4304 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4305 cmp -s conftest.out conftest.nl || break
4306 # 10000 chars as input seems more than enough
4307 test $lt_ac_count -gt 10 && break
4308 lt_ac_count=`expr $lt_ac_count + 1`
4309 if test $lt_ac_count -gt $lt_ac_max; then
4310 lt_ac_max=$lt_ac_count
4311 lt_cv_path_SED=$lt_ac_sed
4313 done
4314 done
4318 SED=$lt_cv_path_SED
4320 echo "$as_me:$LINENO: result: $SED" >&5
4321 echo "${ECHO_T}$SED" >&6
4323 test -z "$SED" && SED=sed
4324 Xsed="$SED -e 1s/^X//"
4336 echo "$as_me:$LINENO: checking for fgrep" >&5
4337 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4338 if test "${ac_cv_prog_fgrep+set}" = set; then
4339 echo $ECHO_N "(cached) $ECHO_C" >&6
4340 else
4341 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4342 then ac_cv_prog_fgrep='grep -F'
4343 else ac_cv_prog_fgrep='fgrep'
4346 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4347 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4348 FGREP=$ac_cv_prog_fgrep
4351 test -z "$GREP" && GREP=grep
4371 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4372 if test "${with_gnu_ld+set}" = set; then
4373 withval="$with_gnu_ld"
4374 test "$withval" = no || with_gnu_ld=yes
4375 else
4376 with_gnu_ld=no
4378 ac_prog=ld
4379 if test "$GCC" = yes; then
4380 # Check if gcc -print-prog-name=ld gives a path.
4381 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4382 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4383 case $host in
4384 *-*-mingw*)
4385 # gcc leaves a trailing carriage return which upsets mingw
4386 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4388 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4389 esac
4390 case $ac_prog in
4391 # Accept absolute paths.
4392 [\\/]* | ?:[\\/]*)
4393 re_direlt='/[^/][^/]*/\.\./'
4394 # Canonicalize the pathname of ld
4395 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4396 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4397 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4398 done
4399 test -z "$LD" && LD="$ac_prog"
4402 # If it fails, then pretend we aren't using GCC.
4403 ac_prog=ld
4406 # If it is relative, then search for the first ld in PATH.
4407 with_gnu_ld=unknown
4409 esac
4410 elif test "$with_gnu_ld" = yes; then
4411 echo "$as_me:$LINENO: checking for GNU ld" >&5
4412 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4413 else
4414 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4415 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4417 if test "${lt_cv_path_LD+set}" = set; then
4418 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 else
4420 if test -z "$LD"; then
4421 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4422 for ac_dir in $PATH; do
4423 IFS="$lt_save_ifs"
4424 test -z "$ac_dir" && ac_dir=.
4425 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4426 lt_cv_path_LD="$ac_dir/$ac_prog"
4427 # Check to see if the program is GNU ld. I'd rather use --version,
4428 # but apparently some variants of GNU ld only accept -v.
4429 # Break only if it was the GNU/non-GNU ld that we prefer.
4430 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4431 *GNU* | *'with BFD'*)
4432 test "$with_gnu_ld" != no && break
4435 test "$with_gnu_ld" != yes && break
4437 esac
4439 done
4440 IFS="$lt_save_ifs"
4441 else
4442 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4446 LD="$lt_cv_path_LD"
4447 if test -n "$LD"; then
4448 echo "$as_me:$LINENO: result: $LD" >&5
4449 echo "${ECHO_T}$LD" >&6
4450 else
4451 echo "$as_me:$LINENO: result: no" >&5
4452 echo "${ECHO_T}no" >&6
4454 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4455 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4456 { (exit 1); exit 1; }; }
4457 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4458 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4459 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4460 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 else
4462 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4463 case `$LD -v 2>&1 </dev/null` in
4464 *GNU* | *'with BFD'*)
4465 lt_cv_prog_gnu_ld=yes
4468 lt_cv_prog_gnu_ld=no
4470 esac
4472 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4473 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4474 with_gnu_ld=$lt_cv_prog_gnu_ld
4485 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4486 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4487 if test "${lt_cv_path_NM+set}" = set; then
4488 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 else
4490 if test -n "$NM"; then
4491 # Let the user override the test.
4492 lt_cv_path_NM="$NM"
4493 else
4494 lt_nm_to_check="${ac_tool_prefix}nm"
4495 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4496 lt_nm_to_check="$lt_nm_to_check nm"
4498 for lt_tmp_nm in $lt_nm_to_check; do
4499 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4500 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4501 IFS="$lt_save_ifs"
4502 test -z "$ac_dir" && ac_dir=.
4503 tmp_nm="$ac_dir/$lt_tmp_nm"
4504 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4505 # Check to see if the nm accepts a BSD-compat flag.
4506 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4507 # nm: unknown option "B" ignored
4508 # Tru64's nm complains that /dev/null is an invalid object file
4509 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4510 */dev/null* | *'Invalid file or object type'*)
4511 lt_cv_path_NM="$tmp_nm -B"
4512 break
4515 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4516 */dev/null*)
4517 lt_cv_path_NM="$tmp_nm -p"
4518 break
4521 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4522 continue # so that we can try to find one that supports BSD flags
4524 esac
4526 esac
4528 done
4529 IFS="$lt_save_ifs"
4530 done
4531 : ${lt_cv_path_NM=no}
4534 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4535 echo "${ECHO_T}$lt_cv_path_NM" >&6
4536 if test "$lt_cv_path_NM" != "no"; then
4537 NM="$lt_cv_path_NM"
4538 else
4539 # Didn't find any BSD compatible name lister, look for dumpbin.
4540 if test -n "$ac_tool_prefix"; then
4541 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4543 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4544 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4545 echo "$as_me:$LINENO: checking for $ac_word" >&5
4546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4547 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4548 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 else
4550 if test -n "$DUMPBIN"; then
4551 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4552 else
4553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4554 for as_dir in $PATH
4556 IFS=$as_save_IFS
4557 test -z "$as_dir" && as_dir=.
4558 for ac_exec_ext in '' $ac_executable_extensions; do
4559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4560 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 break 2
4564 done
4565 done
4569 DUMPBIN=$ac_cv_prog_DUMPBIN
4570 if test -n "$DUMPBIN"; then
4571 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4572 echo "${ECHO_T}$DUMPBIN" >&6
4573 else
4574 echo "$as_me:$LINENO: result: no" >&5
4575 echo "${ECHO_T}no" >&6
4578 test -n "$DUMPBIN" && break
4579 done
4581 if test -z "$DUMPBIN"; then
4582 ac_ct_DUMPBIN=$DUMPBIN
4583 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4585 # Extract the first word of "$ac_prog", so it can be a program name with args.
4586 set dummy $ac_prog; ac_word=$2
4587 echo "$as_me:$LINENO: checking for $ac_word" >&5
4588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4589 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4590 echo $ECHO_N "(cached) $ECHO_C" >&6
4591 else
4592 if test -n "$ac_ct_DUMPBIN"; then
4593 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4594 else
4595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596 for as_dir in $PATH
4598 IFS=$as_save_IFS
4599 test -z "$as_dir" && as_dir=.
4600 for ac_exec_ext in '' $ac_executable_extensions; do
4601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4602 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 break 2
4606 done
4607 done
4611 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4612 if test -n "$ac_ct_DUMPBIN"; then
4613 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4614 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4615 else
4616 echo "$as_me:$LINENO: result: no" >&5
4617 echo "${ECHO_T}no" >&6
4620 test -n "$ac_ct_DUMPBIN" && break
4621 done
4622 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4624 DUMPBIN=$ac_ct_DUMPBIN
4628 if test "$DUMPBIN" != ":"; then
4629 NM="$DUMPBIN"
4632 test -z "$NM" && NM=nm
4639 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4640 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4641 if test "${lt_cv_nm_interface+set}" = set; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 else
4644 lt_cv_nm_interface="BSD nm"
4645 echo "int some_variable = 0;" > conftest.$ac_ext
4646 (eval echo "\"\$as_me:4646: $ac_compile\"" >&5)
4647 (eval "$ac_compile" 2>conftest.err)
4648 cat conftest.err >&5
4649 (eval echo "\"\$as_me:4649: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4650 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4651 cat conftest.err >&5
4652 (eval echo "\"\$as_me:4652: output\"" >&5)
4653 cat conftest.out >&5
4654 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4655 lt_cv_nm_interface="MS dumpbin"
4657 rm -f conftest*
4659 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4660 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4662 # find the maximum length of command line arguments
4663 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4664 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4665 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4667 else
4669 teststring="ABCD"
4671 case $build_os in
4672 msdosdjgpp*)
4673 # On DJGPP, this test can blow up pretty badly due to problems in libc
4674 # (any single argument exceeding 2000 bytes causes a buffer overrun
4675 # during glob expansion). Even if it were fixed, the result of this
4676 # check would be larger than it should be.
4677 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4680 gnu*)
4681 # Under GNU Hurd, this test is not required because there is
4682 # no limit to the length of command line arguments.
4683 # Libtool will interpret -1 as no limit whatsoever
4684 lt_cv_sys_max_cmd_len=-1;
4687 cygwin* | mingw*)
4688 # On Win9x/ME, this test blows up -- it succeeds, but takes
4689 # about 5 minutes as the teststring grows exponentially.
4690 # Worse, since 9x/ME are not pre-emptively multitasking,
4691 # you end up with a "frozen" computer, even though with patience
4692 # the test eventually succeeds (with a max line length of 256k).
4693 # Instead, let's just punt: use the minimum linelength reported by
4694 # all of the supported platforms: 8192 (on NT/2K/XP).
4695 lt_cv_sys_max_cmd_len=8192;
4698 amigaos*)
4699 # On AmigaOS with pdksh, this test takes hours, literally.
4700 # So we just punt and use a minimum line length of 8192.
4701 lt_cv_sys_max_cmd_len=8192;
4704 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4705 # This has been around since 386BSD, at least. Likely further.
4706 if test -x /sbin/sysctl; then
4707 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4708 elif test -x /usr/sbin/sysctl; then
4709 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4710 else
4711 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4713 # And add a safety zone
4714 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4715 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4718 interix*)
4719 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4720 lt_cv_sys_max_cmd_len=196608
4723 osf*)
4724 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4725 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4726 # nice to cause kernel panics so lets avoid the loop below.
4727 # First set a reasonable default.
4728 lt_cv_sys_max_cmd_len=16384
4730 if test -x /sbin/sysconfig; then
4731 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4732 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4733 esac
4736 sco3.2v5*)
4737 lt_cv_sys_max_cmd_len=102400
4739 sysv5* | sco5v6* | sysv4.2uw2*)
4740 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4741 if test -n "$kargmax"; then
4742 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4743 else
4744 lt_cv_sys_max_cmd_len=32768
4748 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4749 if test -n $lt_cv_sys_max_cmd_len; then
4750 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4751 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4752 else
4753 # Make teststring a little bigger before we do anything with it.
4754 # a 1K string should be a reasonable start.
4755 for i in 1 2 3 4 5 6 7 8 ; do
4756 teststring=$teststring$teststring
4757 done
4758 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4759 # If test is not a shell built-in, we'll probably end up computing a
4760 # maximum length that is only half of the actual maximum length, but
4761 # we can't tell.
4762 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4763 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4764 test $i != 17 # 1/2 MB should be enough
4766 i=`expr $i + 1`
4767 teststring=$teststring$teststring
4768 done
4769 # Only check the string length outside the loop.
4770 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4771 teststring=
4772 # Add a significant safety factor because C++ compilers can tack on
4773 # massive amounts of additional arguments before passing them to the
4774 # linker. It appears as though 1/2 is a usable value.
4775 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4778 esac
4782 if test -n $lt_cv_sys_max_cmd_len ; then
4783 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4784 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4785 else
4786 echo "$as_me:$LINENO: result: none" >&5
4787 echo "${ECHO_T}none" >&6
4789 max_cmd_len=$lt_cv_sys_max_cmd_len
4797 : ${CP="cp -f"}
4798 : ${MV="mv -f"}
4799 : ${RM="rm -f"}
4801 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4802 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4803 # Try some XSI features
4804 xsi_shell=no
4805 ( _lt_dummy="a/b/c"
4806 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4807 = c,a/b,, ) >/dev/null 2>&1 \
4808 && xsi_shell=yes
4809 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4810 echo "${ECHO_T}$xsi_shell" >&6
4813 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4814 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4815 lt_shell_append=no
4816 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4817 >/dev/null 2>&1 \
4818 && lt_shell_append=yes
4819 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4820 echo "${ECHO_T}$lt_shell_append" >&6
4823 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4824 lt_unset=unset
4825 else
4826 lt_unset=false
4833 # test EBCDIC or ASCII
4834 case `echo X|tr X '\101'` in
4835 A) # ASCII based system
4836 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4837 lt_SP2NL='tr \040 \012'
4838 lt_NL2SP='tr \015\012 \040\040'
4840 *) # EBCDIC based system
4841 lt_SP2NL='tr \100 \n'
4842 lt_NL2SP='tr \r\n \100\100'
4844 esac
4854 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4855 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4856 if test "${lt_cv_ld_reload_flag+set}" = set; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4858 else
4859 lt_cv_ld_reload_flag='-r'
4861 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4862 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4863 reload_flag=$lt_cv_ld_reload_flag
4864 case $reload_flag in
4865 "" | " "*) ;;
4866 *) reload_flag=" $reload_flag" ;;
4867 esac
4868 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4869 case $host_os in
4870 darwin*)
4871 if test "$GCC" = yes; then
4872 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4873 else
4874 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4877 esac
4888 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4889 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4890 if test "${lt_cv_deplibs_check_method+set}" = set; then
4891 echo $ECHO_N "(cached) $ECHO_C" >&6
4892 else
4893 lt_cv_file_magic_cmd='$MAGIC_CMD'
4894 lt_cv_file_magic_test_file=
4895 lt_cv_deplibs_check_method='unknown'
4896 # Need to set the preceding variable on all platforms that support
4897 # interlibrary dependencies.
4898 # 'none' -- dependencies not supported.
4899 # `unknown' -- same as none, but documents that we really don't know.
4900 # 'pass_all' -- all dependencies passed with no checks.
4901 # 'test_compile' -- check by making test program.
4902 # 'file_magic [[regex]]' -- check by looking for files in library path
4903 # which responds to the $file_magic_cmd with a given extended regex.
4904 # If you have `file' or equivalent on your system and you're not sure
4905 # whether `pass_all' will *always* work, you probably want this one.
4907 case $host_os in
4908 aix4* | aix5*)
4909 lt_cv_deplibs_check_method=pass_all
4912 beos*)
4913 lt_cv_deplibs_check_method=pass_all
4916 bsdi[45]*)
4917 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4918 lt_cv_file_magic_cmd='/usr/bin/file -L'
4919 lt_cv_file_magic_test_file=/shlib/libc.so
4922 cygwin*)
4923 # func_win32_libid is a shell function defined in ltmain.sh
4924 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4925 lt_cv_file_magic_cmd='func_win32_libid'
4928 mingw* | pw32*)
4929 # Base MSYS/MinGW do not provide the 'file' command needed by
4930 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4931 # unless we find 'file', for example because we are cross-compiling.
4932 if ( file / ) >/dev/null 2>&1; then
4933 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4934 lt_cv_file_magic_cmd='func_win32_libid'
4935 else
4936 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4937 lt_cv_file_magic_cmd='$OBJDUMP -f'
4941 darwin* | rhapsody*)
4942 lt_cv_deplibs_check_method=pass_all
4945 freebsd* | dragonfly*)
4946 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4947 case $host_cpu in
4948 i*86 )
4949 # Not sure whether the presence of OpenBSD here was a mistake.
4950 # Let's accept both of them until this is cleared up.
4951 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4952 lt_cv_file_magic_cmd=/usr/bin/file
4953 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4955 esac
4956 else
4957 lt_cv_deplibs_check_method=pass_all
4961 gnu*)
4962 lt_cv_deplibs_check_method=pass_all
4965 hpux10.20* | hpux11*)
4966 lt_cv_file_magic_cmd=/usr/bin/file
4967 case $host_cpu in
4968 ia64*)
4969 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4970 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4972 hppa*64*)
4973 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]'
4974 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4977 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4978 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4980 esac
4983 interix[3-9]*)
4984 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4985 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4988 irix5* | irix6* | nonstopux*)
4989 case $LD in
4990 *-32|*"-32 ") libmagic=32-bit;;
4991 *-n32|*"-n32 ") libmagic=N32;;
4992 *-64|*"-64 ") libmagic=64-bit;;
4993 *) libmagic=never-match;;
4994 esac
4995 lt_cv_deplibs_check_method=pass_all
4998 # This must be Linux ELF.
4999 linux* | k*bsd*-gnu)
5000 lt_cv_deplibs_check_method=pass_all
5003 netbsd*)
5004 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5005 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5006 else
5007 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5011 newos6*)
5012 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5013 lt_cv_file_magic_cmd=/usr/bin/file
5014 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5017 *nto* | *qnx*)
5018 lt_cv_deplibs_check_method=pass_all
5021 openbsd*)
5022 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5023 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5024 else
5025 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5029 osf3* | osf4* | osf5*)
5030 lt_cv_deplibs_check_method=pass_all
5033 rdos*)
5034 lt_cv_deplibs_check_method=pass_all
5037 solaris*)
5038 lt_cv_deplibs_check_method=pass_all
5041 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5042 lt_cv_deplibs_check_method=pass_all
5045 sysv4 | sysv4.3*)
5046 case $host_vendor in
5047 motorola)
5048 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]'
5049 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5051 ncr)
5052 lt_cv_deplibs_check_method=pass_all
5054 sequent)
5055 lt_cv_file_magic_cmd='/bin/file'
5056 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5058 sni)
5059 lt_cv_file_magic_cmd='/bin/file'
5060 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5061 lt_cv_file_magic_test_file=/lib/libc.so
5063 siemens)
5064 lt_cv_deplibs_check_method=pass_all
5067 lt_cv_deplibs_check_method=pass_all
5069 esac
5072 tpf*)
5073 lt_cv_deplibs_check_method=pass_all
5075 esac
5078 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5079 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5080 file_magic_cmd=$lt_cv_file_magic_cmd
5081 deplibs_check_method=$lt_cv_deplibs_check_method
5082 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5095 if test -n "$ac_tool_prefix"; then
5096 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5097 set dummy ${ac_tool_prefix}ar; ac_word=$2
5098 echo "$as_me:$LINENO: checking for $ac_word" >&5
5099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5100 if test "${ac_cv_prog_AR+set}" = set; then
5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5102 else
5103 if test -n "$AR"; then
5104 ac_cv_prog_AR="$AR" # Let the user override the test.
5105 else
5106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5107 for as_dir in $PATH
5109 IFS=$as_save_IFS
5110 test -z "$as_dir" && as_dir=.
5111 for ac_exec_ext in '' $ac_executable_extensions; do
5112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5113 ac_cv_prog_AR="${ac_tool_prefix}ar"
5114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5115 break 2
5117 done
5118 done
5122 AR=$ac_cv_prog_AR
5123 if test -n "$AR"; then
5124 echo "$as_me:$LINENO: result: $AR" >&5
5125 echo "${ECHO_T}$AR" >&6
5126 else
5127 echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6
5132 if test -z "$ac_cv_prog_AR"; then
5133 ac_ct_AR=$AR
5134 # Extract the first word of "ar", so it can be a program name with args.
5135 set dummy ar; ac_word=$2
5136 echo "$as_me:$LINENO: checking for $ac_word" >&5
5137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5138 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5139 echo $ECHO_N "(cached) $ECHO_C" >&6
5140 else
5141 if test -n "$ac_ct_AR"; then
5142 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5143 else
5144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145 for as_dir in $PATH
5147 IFS=$as_save_IFS
5148 test -z "$as_dir" && as_dir=.
5149 for ac_exec_ext in '' $ac_executable_extensions; do
5150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5151 ac_cv_prog_ac_ct_AR="ar"
5152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 break 2
5155 done
5156 done
5158 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5161 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5162 if test -n "$ac_ct_AR"; then
5163 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5164 echo "${ECHO_T}$ac_ct_AR" >&6
5165 else
5166 echo "$as_me:$LINENO: result: no" >&5
5167 echo "${ECHO_T}no" >&6
5170 AR=$ac_ct_AR
5171 else
5172 AR="$ac_cv_prog_AR"
5175 test -z "$AR" && AR=ar
5176 test -z "$AR_FLAGS" && AR_FLAGS=cru
5188 if test -n "$ac_tool_prefix"; then
5189 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5190 set dummy ${ac_tool_prefix}strip; ac_word=$2
5191 echo "$as_me:$LINENO: checking for $ac_word" >&5
5192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5193 if test "${ac_cv_prog_STRIP+set}" = set; then
5194 echo $ECHO_N "(cached) $ECHO_C" >&6
5195 else
5196 if test -n "$STRIP"; then
5197 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5198 else
5199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5200 for as_dir in $PATH
5202 IFS=$as_save_IFS
5203 test -z "$as_dir" && as_dir=.
5204 for ac_exec_ext in '' $ac_executable_extensions; do
5205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5206 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 break 2
5210 done
5211 done
5215 STRIP=$ac_cv_prog_STRIP
5216 if test -n "$STRIP"; then
5217 echo "$as_me:$LINENO: result: $STRIP" >&5
5218 echo "${ECHO_T}$STRIP" >&6
5219 else
5220 echo "$as_me:$LINENO: result: no" >&5
5221 echo "${ECHO_T}no" >&6
5225 if test -z "$ac_cv_prog_STRIP"; then
5226 ac_ct_STRIP=$STRIP
5227 # Extract the first word of "strip", so it can be a program name with args.
5228 set dummy strip; ac_word=$2
5229 echo "$as_me:$LINENO: checking for $ac_word" >&5
5230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5231 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5232 echo $ECHO_N "(cached) $ECHO_C" >&6
5233 else
5234 if test -n "$ac_ct_STRIP"; then
5235 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5236 else
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 for as_dir in $PATH
5240 IFS=$as_save_IFS
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_ac_ct_STRIP="strip"
5245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 break 2
5248 done
5249 done
5251 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5254 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5255 if test -n "$ac_ct_STRIP"; then
5256 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5257 echo "${ECHO_T}$ac_ct_STRIP" >&6
5258 else
5259 echo "$as_me:$LINENO: result: no" >&5
5260 echo "${ECHO_T}no" >&6
5263 STRIP=$ac_ct_STRIP
5264 else
5265 STRIP="$ac_cv_prog_STRIP"
5268 test -z "$STRIP" && STRIP=:
5275 if test -n "$ac_tool_prefix"; then
5276 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5277 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5278 echo "$as_me:$LINENO: checking for $ac_word" >&5
5279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5280 if test "${ac_cv_prog_RANLIB+set}" = set; then
5281 echo $ECHO_N "(cached) $ECHO_C" >&6
5282 else
5283 if test -n "$RANLIB"; then
5284 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5285 else
5286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 for as_dir in $PATH
5289 IFS=$as_save_IFS
5290 test -z "$as_dir" && as_dir=.
5291 for ac_exec_ext in '' $ac_executable_extensions; do
5292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5293 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5295 break 2
5297 done
5298 done
5302 RANLIB=$ac_cv_prog_RANLIB
5303 if test -n "$RANLIB"; then
5304 echo "$as_me:$LINENO: result: $RANLIB" >&5
5305 echo "${ECHO_T}$RANLIB" >&6
5306 else
5307 echo "$as_me:$LINENO: result: no" >&5
5308 echo "${ECHO_T}no" >&6
5312 if test -z "$ac_cv_prog_RANLIB"; then
5313 ac_ct_RANLIB=$RANLIB
5314 # Extract the first word of "ranlib", so it can be a program name with args.
5315 set dummy ranlib; ac_word=$2
5316 echo "$as_me:$LINENO: checking for $ac_word" >&5
5317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5318 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5319 echo $ECHO_N "(cached) $ECHO_C" >&6
5320 else
5321 if test -n "$ac_ct_RANLIB"; then
5322 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5323 else
5324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5325 for as_dir in $PATH
5327 IFS=$as_save_IFS
5328 test -z "$as_dir" && as_dir=.
5329 for ac_exec_ext in '' $ac_executable_extensions; do
5330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5331 ac_cv_prog_ac_ct_RANLIB="ranlib"
5332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5333 break 2
5335 done
5336 done
5338 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5341 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5342 if test -n "$ac_ct_RANLIB"; then
5343 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5344 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5345 else
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5350 RANLIB=$ac_ct_RANLIB
5351 else
5352 RANLIB="$ac_cv_prog_RANLIB"
5355 test -z "$RANLIB" && RANLIB=:
5362 # Determine commands to create old-style static archives.
5363 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5364 old_postinstall_cmds='chmod 644 $oldlib'
5365 old_postuninstall_cmds=
5367 if test -n "$RANLIB"; then
5368 case $host_os in
5369 openbsd*)
5370 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5373 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5375 esac
5376 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5412 # If no C compiler was specified, use CC.
5413 LTCC=${LTCC-"$CC"}
5415 # If no C compiler flags were specified, use CFLAGS.
5416 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5418 # Allow CC to be a program name with arguments.
5419 compiler=$CC
5422 # Check for command to grab the raw symbol name followed by C symbol from nm.
5423 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5424 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5425 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5426 echo $ECHO_N "(cached) $ECHO_C" >&6
5427 else
5429 # These are sane defaults that work on at least a few old systems.
5430 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5432 # Character class describing NM global symbol codes.
5433 symcode='[BCDEGRST]'
5435 # Regexp to match symbols that can be accessed directly from C.
5436 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5438 # Define system-specific variables.
5439 case $host_os in
5440 aix*)
5441 symcode='[BCDT]'
5443 cygwin* | mingw* | pw32*)
5444 symcode='[ABCDGISTW]'
5446 hpux*)
5447 if test "$host_cpu" = ia64; then
5448 symcode='[ABCDEGRST]'
5451 irix* | nonstopux*)
5452 symcode='[BCDEGRST]'
5454 osf*)
5455 symcode='[BCDEGQRST]'
5457 solaris*)
5458 symcode='[BDRT]'
5460 sco3.2v5*)
5461 symcode='[DT]'
5463 sysv4.2uw2*)
5464 symcode='[DT]'
5466 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5467 symcode='[ABDT]'
5469 sysv4)
5470 symcode='[DFNSTU]'
5472 esac
5474 # If we're using GNU nm, then use its standard symbol codes.
5475 case `$NM -V 2>&1` in
5476 *GNU* | *'with BFD'*)
5477 symcode='[ABCDGIRSTW]' ;;
5478 esac
5480 # Transform an extracted symbol line into a proper C declaration.
5481 # Some systems (esp. on ia64) link data and code symbols differently,
5482 # so use this general approach.
5483 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5485 # Transform an extracted symbol line into symbol name and symbol address
5486 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5488 # Handle CRLF in mingw tool chain
5489 opt_cr=
5490 case $build_os in
5491 mingw*)
5492 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5494 esac
5496 # Try without a prefix underscore, then with it.
5497 for ac_symprfx in "" "_"; do
5499 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5500 symxfrm="\\1 $ac_symprfx\\2 \\2"
5502 # Write the raw and C identifiers.
5503 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5504 # Fake it for dumpbin and say T for any non-static function
5505 # and D for any global variable.
5506 # Also find C++ and __fastcall symbols from MSVC++,
5507 # which start with @ or ?.
5508 lt_cv_sys_global_symbol_pipe="$AWK '"\
5509 " {last_section=section; section=\$ 3};"\
5510 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5511 " \$ 0!~/External *\|/{next};"\
5512 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5513 " {if(hide[section]) next};"\
5514 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5515 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5516 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5517 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5518 " ' prfx=^$ac_symprfx"
5519 else
5520 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5523 # Check to see that the pipe works correctly.
5524 pipe_works=no
5526 rm -f conftest*
5527 cat > conftest.$ac_ext <<_LT_EOF
5528 #ifdef __cplusplus
5529 extern "C" {
5530 #endif
5531 char nm_test_var;
5532 void nm_test_func(void);
5533 void nm_test_func(void){}
5534 #ifdef __cplusplus
5536 #endif
5537 int main(){nm_test_var='a';nm_test_func();return(0);}
5538 _LT_EOF
5540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5541 (eval $ac_compile) 2>&5
5542 ac_status=$?
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); }; then
5545 # Now try to grab the symbols.
5546 nlist=conftest.nm
5547 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5548 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5549 ac_status=$?
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); } && test -s "$nlist"; then
5552 # Try sorting and uniquifying the output.
5553 if sort "$nlist" | uniq > "$nlist"T; then
5554 mv -f "$nlist"T "$nlist"
5555 else
5556 rm -f "$nlist"T
5559 # Make sure that we snagged all the symbols we need.
5560 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5561 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5562 cat <<_LT_EOF > conftest.$ac_ext
5563 #ifdef __cplusplus
5564 extern "C" {
5565 #endif
5567 _LT_EOF
5568 # Now generate the symbol file.
5569 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5571 cat <<_LT_EOF >> conftest.$ac_ext
5573 /* The mapping between symbol names and symbols. */
5574 const struct {
5575 const char *name;
5576 void *address;
5578 lt__PROGRAM__LTX_preloaded_symbols[] =
5580 { "@PROGRAM@", (void *) 0 },
5581 _LT_EOF
5582 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5583 cat <<\_LT_EOF >> conftest.$ac_ext
5584 {0, (void *) 0}
5587 /* This works around a problem in FreeBSD linker */
5588 #ifdef FREEBSD_WORKAROUND
5589 static const void *lt_preloaded_setup() {
5590 return lt__PROGRAM__LTX_preloaded_symbols;
5592 #endif
5594 #ifdef __cplusplus
5596 #endif
5597 _LT_EOF
5598 # Now try linking the two files.
5599 mv conftest.$ac_objext conftstm.$ac_objext
5600 lt_save_LIBS="$LIBS"
5601 lt_save_CFLAGS="$CFLAGS"
5602 LIBS="conftstm.$ac_objext"
5603 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5605 (eval $ac_link) 2>&5
5606 ac_status=$?
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5609 pipe_works=yes
5611 LIBS="$lt_save_LIBS"
5612 CFLAGS="$lt_save_CFLAGS"
5613 else
5614 echo "cannot find nm_test_func in $nlist" >&5
5616 else
5617 echo "cannot find nm_test_var in $nlist" >&5
5619 else
5620 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5622 else
5623 echo "$progname: failed program was:" >&5
5624 cat conftest.$ac_ext >&5
5626 rm -f conftest* conftst*
5628 # Do not use the global_symbol_pipe unless it works.
5629 if test "$pipe_works" = yes; then
5630 break
5631 else
5632 lt_cv_sys_global_symbol_pipe=
5634 done
5638 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5639 lt_cv_sys_global_symbol_to_cdecl=
5641 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5642 echo "$as_me:$LINENO: result: failed" >&5
5643 echo "${ECHO_T}failed" >&6
5644 else
5645 echo "$as_me:$LINENO: result: ok" >&5
5646 echo "${ECHO_T}ok" >&6
5665 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5666 if test "${enable_libtool_lock+set}" = set; then
5667 enableval="$enable_libtool_lock"
5670 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5672 # Some flags need to be propagated to the compiler or linker for good
5673 # libtool support.
5674 case $host in
5675 ia64-*-hpux*)
5676 # Find out which ABI we are using.
5677 echo 'int i;' > conftest.$ac_ext
5678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5679 (eval $ac_compile) 2>&5
5680 ac_status=$?
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); }; then
5683 case `/usr/bin/file conftest.$ac_objext` in
5684 *ELF-32*)
5685 HPUX_IA64_MODE="32"
5687 *ELF-64*)
5688 HPUX_IA64_MODE="64"
5690 esac
5692 rm -rf conftest*
5694 *-*-irix6*)
5695 # Find out which ABI we are using.
5696 echo '#line 5696 "configure"' > conftest.$ac_ext
5697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5698 (eval $ac_compile) 2>&5
5699 ac_status=$?
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); }; then
5702 if test "$lt_cv_prog_gnu_ld" = yes; then
5703 case `/usr/bin/file conftest.$ac_objext` in
5704 *32-bit*)
5705 LD="${LD-ld} -melf32bsmip"
5707 *N32*)
5708 LD="${LD-ld} -melf32bmipn32"
5710 *64-bit*)
5711 LD="${LD-ld} -melf64bmip"
5713 esac
5714 else
5715 case `/usr/bin/file conftest.$ac_objext` in
5716 *32-bit*)
5717 LD="${LD-ld} -32"
5719 *N32*)
5720 LD="${LD-ld} -n32"
5722 *64-bit*)
5723 LD="${LD-ld} -64"
5725 esac
5728 rm -rf conftest*
5731 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5732 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5733 # Find out which ABI we are using.
5734 echo 'int i;' > conftest.$ac_ext
5735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5736 (eval $ac_compile) 2>&5
5737 ac_status=$?
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); }; then
5740 case `/usr/bin/file conftest.o` in
5741 *32-bit*)
5742 case $host in
5743 x86_64-*kfreebsd*-gnu)
5744 LD="${LD-ld} -m elf_i386_fbsd"
5746 x86_64-*linux*)
5747 LD="${LD-ld} -m elf_i386"
5749 ppc64-*linux*|powerpc64-*linux*)
5750 LD="${LD-ld} -m elf32ppclinux"
5752 s390x-*linux*)
5753 LD="${LD-ld} -m elf_s390"
5755 sparc64-*linux*)
5756 LD="${LD-ld} -m elf32_sparc"
5758 esac
5760 *64-bit*)
5761 case $host in
5762 x86_64-*kfreebsd*-gnu)
5763 LD="${LD-ld} -m elf_x86_64_fbsd"
5765 x86_64-*linux*)
5766 LD="${LD-ld} -m elf_x86_64"
5768 ppc*-*linux*|powerpc*-*linux*)
5769 LD="${LD-ld} -m elf64ppc"
5771 s390*-*linux*|s390*-*tpf*)
5772 LD="${LD-ld} -m elf64_s390"
5774 sparc*-*linux*)
5775 LD="${LD-ld} -m elf64_sparc"
5777 esac
5779 esac
5781 rm -rf conftest*
5784 *-*-sco3.2v5*)
5785 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5786 SAVE_CFLAGS="$CFLAGS"
5787 CFLAGS="$CFLAGS -belf"
5788 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5789 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5790 if test "${lt_cv_cc_needs_belf+set}" = set; then
5791 echo $ECHO_N "(cached) $ECHO_C" >&6
5792 else
5793 ac_ext=c
5794 ac_cpp='$CPP $CPPFLAGS'
5795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5799 if test x$gcc_no_link = xyes; then
5800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5802 { (exit 1); exit 1; }; }
5804 cat >conftest.$ac_ext <<_ACEOF
5805 /* confdefs.h. */
5806 _ACEOF
5807 cat confdefs.h >>conftest.$ac_ext
5808 cat >>conftest.$ac_ext <<_ACEOF
5809 /* end confdefs.h. */
5812 main ()
5816 return 0;
5818 _ACEOF
5819 rm -f conftest.$ac_objext conftest$ac_exeext
5820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5821 (eval $ac_link) 2>conftest.er1
5822 ac_status=$?
5823 grep -v '^ *+' conftest.er1 >conftest.err
5824 rm -f conftest.er1
5825 cat conftest.err >&5
5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827 (exit $ac_status); } &&
5828 { ac_try='test -z "$ac_c_werror_flag"
5829 || test ! -s conftest.err'
5830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5831 (eval $ac_try) 2>&5
5832 ac_status=$?
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); }; } &&
5835 { ac_try='test -s conftest$ac_exeext'
5836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5837 (eval $ac_try) 2>&5
5838 ac_status=$?
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); }; }; then
5841 lt_cv_cc_needs_belf=yes
5842 else
5843 echo "$as_me: failed program was:" >&5
5844 sed 's/^/| /' conftest.$ac_ext >&5
5846 lt_cv_cc_needs_belf=no
5848 rm -f conftest.err conftest.$ac_objext \
5849 conftest$ac_exeext conftest.$ac_ext
5850 ac_ext=c
5851 ac_cpp='$CPP $CPPFLAGS'
5852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5857 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5858 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5859 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5860 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5861 CFLAGS="$SAVE_CFLAGS"
5864 sparc*-*solaris*)
5865 # Find out which ABI we are using.
5866 echo 'int i;' > conftest.$ac_ext
5867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5868 (eval $ac_compile) 2>&5
5869 ac_status=$?
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; then
5872 case `/usr/bin/file conftest.o` in
5873 *64-bit*)
5874 case $lt_cv_prog_gnu_ld in
5875 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5876 *) LD="${LD-ld} -64" ;;
5877 esac
5879 esac
5881 rm -rf conftest*
5883 esac
5885 need_locks="$enable_libtool_lock"
5887 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5888 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5889 if test "${ac_cv_header_stdc+set}" = set; then
5890 echo $ECHO_N "(cached) $ECHO_C" >&6
5891 else
5892 cat >conftest.$ac_ext <<_ACEOF
5893 /* confdefs.h. */
5894 _ACEOF
5895 cat confdefs.h >>conftest.$ac_ext
5896 cat >>conftest.$ac_ext <<_ACEOF
5897 /* end confdefs.h. */
5898 #include <stdlib.h>
5899 #include <stdarg.h>
5900 #include <string.h>
5901 #include <float.h>
5904 main ()
5908 return 0;
5910 _ACEOF
5911 rm -f conftest.$ac_objext
5912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5913 (eval $ac_compile) 2>conftest.er1
5914 ac_status=$?
5915 grep -v '^ *+' conftest.er1 >conftest.err
5916 rm -f conftest.er1
5917 cat conftest.err >&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); } &&
5920 { ac_try='test -z "$ac_c_werror_flag"
5921 || test ! -s conftest.err'
5922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5923 (eval $ac_try) 2>&5
5924 ac_status=$?
5925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926 (exit $ac_status); }; } &&
5927 { ac_try='test -s conftest.$ac_objext'
5928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5929 (eval $ac_try) 2>&5
5930 ac_status=$?
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); }; }; then
5933 ac_cv_header_stdc=yes
5934 else
5935 echo "$as_me: failed program was:" >&5
5936 sed 's/^/| /' conftest.$ac_ext >&5
5938 ac_cv_header_stdc=no
5940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5942 if test $ac_cv_header_stdc = yes; then
5943 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5944 cat >conftest.$ac_ext <<_ACEOF
5945 /* confdefs.h. */
5946 _ACEOF
5947 cat confdefs.h >>conftest.$ac_ext
5948 cat >>conftest.$ac_ext <<_ACEOF
5949 /* end confdefs.h. */
5950 #include <string.h>
5952 _ACEOF
5953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5954 $EGREP "memchr" >/dev/null 2>&1; then
5956 else
5957 ac_cv_header_stdc=no
5959 rm -f conftest*
5963 if test $ac_cv_header_stdc = yes; then
5964 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5965 cat >conftest.$ac_ext <<_ACEOF
5966 /* confdefs.h. */
5967 _ACEOF
5968 cat confdefs.h >>conftest.$ac_ext
5969 cat >>conftest.$ac_ext <<_ACEOF
5970 /* end confdefs.h. */
5971 #include <stdlib.h>
5973 _ACEOF
5974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5975 $EGREP "free" >/dev/null 2>&1; then
5977 else
5978 ac_cv_header_stdc=no
5980 rm -f conftest*
5984 if test $ac_cv_header_stdc = yes; then
5985 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5986 if test "$cross_compiling" = yes; then
5988 else
5989 cat >conftest.$ac_ext <<_ACEOF
5990 /* confdefs.h. */
5991 _ACEOF
5992 cat confdefs.h >>conftest.$ac_ext
5993 cat >>conftest.$ac_ext <<_ACEOF
5994 /* end confdefs.h. */
5995 #include <ctype.h>
5996 #if ((' ' & 0x0FF) == 0x020)
5997 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5998 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5999 #else
6000 # define ISLOWER(c) \
6001 (('a' <= (c) && (c) <= 'i') \
6002 || ('j' <= (c) && (c) <= 'r') \
6003 || ('s' <= (c) && (c) <= 'z'))
6004 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6005 #endif
6007 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6009 main ()
6011 int i;
6012 for (i = 0; i < 256; i++)
6013 if (XOR (islower (i), ISLOWER (i))
6014 || toupper (i) != TOUPPER (i))
6015 exit(2);
6016 exit (0);
6018 _ACEOF
6019 rm -f conftest$ac_exeext
6020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6021 (eval $ac_link) 2>&5
6022 ac_status=$?
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6026 (eval $ac_try) 2>&5
6027 ac_status=$?
6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029 (exit $ac_status); }; }; then
6031 else
6032 echo "$as_me: program exited with status $ac_status" >&5
6033 echo "$as_me: failed program was:" >&5
6034 sed 's/^/| /' conftest.$ac_ext >&5
6036 ( exit $ac_status )
6037 ac_cv_header_stdc=no
6039 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6043 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6044 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6045 if test $ac_cv_header_stdc = yes; then
6047 cat >>confdefs.h <<\_ACEOF
6048 #define STDC_HEADERS 1
6049 _ACEOF
6053 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6063 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6064 inttypes.h stdint.h unistd.h
6066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6067 echo "$as_me:$LINENO: checking for $ac_header" >&5
6068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6070 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 else
6072 cat >conftest.$ac_ext <<_ACEOF
6073 /* confdefs.h. */
6074 _ACEOF
6075 cat confdefs.h >>conftest.$ac_ext
6076 cat >>conftest.$ac_ext <<_ACEOF
6077 /* end confdefs.h. */
6078 $ac_includes_default
6080 #include <$ac_header>
6081 _ACEOF
6082 rm -f conftest.$ac_objext
6083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6084 (eval $ac_compile) 2>conftest.er1
6085 ac_status=$?
6086 grep -v '^ *+' conftest.er1 >conftest.err
6087 rm -f conftest.er1
6088 cat conftest.err >&5
6089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090 (exit $ac_status); } &&
6091 { ac_try='test -z "$ac_c_werror_flag"
6092 || test ! -s conftest.err'
6093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6094 (eval $ac_try) 2>&5
6095 ac_status=$?
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); }; } &&
6098 { ac_try='test -s conftest.$ac_objext'
6099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6100 (eval $ac_try) 2>&5
6101 ac_status=$?
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); }; }; then
6104 eval "$as_ac_Header=yes"
6105 else
6106 echo "$as_me: failed program was:" >&5
6107 sed 's/^/| /' conftest.$ac_ext >&5
6109 eval "$as_ac_Header=no"
6111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6116 cat >>confdefs.h <<_ACEOF
6117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6118 _ACEOF
6122 done
6126 for ac_header in dlfcn.h
6128 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6129 echo "$as_me:$LINENO: checking for $ac_header" >&5
6130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6132 echo $ECHO_N "(cached) $ECHO_C" >&6
6133 else
6134 cat >conftest.$ac_ext <<_ACEOF
6135 /* confdefs.h. */
6136 _ACEOF
6137 cat confdefs.h >>conftest.$ac_ext
6138 cat >>conftest.$ac_ext <<_ACEOF
6139 /* end confdefs.h. */
6140 $ac_includes_default
6142 #include <$ac_header>
6143 _ACEOF
6144 rm -f conftest.$ac_objext
6145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6146 (eval $ac_compile) 2>conftest.er1
6147 ac_status=$?
6148 grep -v '^ *+' conftest.er1 >conftest.err
6149 rm -f conftest.er1
6150 cat conftest.err >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); } &&
6153 { ac_try='test -z "$ac_c_werror_flag"
6154 || test ! -s conftest.err'
6155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6156 (eval $ac_try) 2>&5
6157 ac_status=$?
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); }; } &&
6160 { ac_try='test -s conftest.$ac_objext'
6161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6162 (eval $ac_try) 2>&5
6163 ac_status=$?
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); }; }; then
6166 eval "$as_ac_Header=yes"
6167 else
6168 echo "$as_me: failed program was:" >&5
6169 sed 's/^/| /' conftest.$ac_ext >&5
6171 eval "$as_ac_Header=no"
6173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6178 cat >>confdefs.h <<_ACEOF
6179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6180 _ACEOF
6184 done
6188 ac_ext=cc
6189 ac_cpp='$CXXCPP $CPPFLAGS'
6190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6193 if test -n "$ac_tool_prefix"; then
6194 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6196 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6197 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6198 echo "$as_me:$LINENO: checking for $ac_word" >&5
6199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6200 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6202 else
6203 if test -n "$CXX"; then
6204 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6205 else
6206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6207 for as_dir in $PATH
6209 IFS=$as_save_IFS
6210 test -z "$as_dir" && as_dir=.
6211 for ac_exec_ext in '' $ac_executable_extensions; do
6212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6213 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6215 break 2
6217 done
6218 done
6222 CXX=$glibcxx_cv_prog_CXX
6223 if test -n "$CXX"; then
6224 echo "$as_me:$LINENO: result: $CXX" >&5
6225 echo "${ECHO_T}$CXX" >&6
6226 else
6227 echo "$as_me:$LINENO: result: no" >&5
6228 echo "${ECHO_T}no" >&6
6231 test -n "$CXX" && break
6232 done
6234 if test -z "$CXX"; then
6235 ac_ct_CXX=$CXX
6236 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6238 # Extract the first word of "$ac_prog", so it can be a program name with args.
6239 set dummy $ac_prog; ac_word=$2
6240 echo "$as_me:$LINENO: checking for $ac_word" >&5
6241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6242 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 else
6245 if test -n "$ac_ct_CXX"; then
6246 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6247 else
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 for as_dir in $PATH
6251 IFS=$as_save_IFS
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6255 ac_cv_prog_ac_ct_CXX="$ac_prog"
6256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 break 2
6259 done
6260 done
6264 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6265 if test -n "$ac_ct_CXX"; then
6266 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6267 echo "${ECHO_T}$ac_ct_CXX" >&6
6268 else
6269 echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6
6273 test -n "$ac_ct_CXX" && break
6274 done
6275 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6277 CXX=$ac_ct_CXX
6281 # Provide some information about the compiler.
6282 echo "$as_me:$LINENO:" \
6283 "checking for C++ compiler version" >&5
6284 ac_compiler=`set X $ac_compile; echo $2`
6285 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6286 (eval $ac_compiler --version </dev/null >&5) 2>&5
6287 ac_status=$?
6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); }
6290 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6291 (eval $ac_compiler -v </dev/null >&5) 2>&5
6292 ac_status=$?
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); }
6295 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6296 (eval $ac_compiler -V </dev/null >&5) 2>&5
6297 ac_status=$?
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }
6301 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6302 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6303 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6304 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 else
6306 cat >conftest.$ac_ext <<_ACEOF
6307 /* confdefs.h. */
6308 _ACEOF
6309 cat confdefs.h >>conftest.$ac_ext
6310 cat >>conftest.$ac_ext <<_ACEOF
6311 /* end confdefs.h. */
6314 main ()
6316 #ifndef __GNUC__
6317 choke me
6318 #endif
6321 return 0;
6323 _ACEOF
6324 rm -f conftest.$ac_objext
6325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6326 (eval $ac_compile) 2>conftest.er1
6327 ac_status=$?
6328 grep -v '^ *+' conftest.er1 >conftest.err
6329 rm -f conftest.er1
6330 cat conftest.err >&5
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); } &&
6333 { ac_try='test -z "$ac_cxx_werror_flag"
6334 || test ! -s conftest.err'
6335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6336 (eval $ac_try) 2>&5
6337 ac_status=$?
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); }; } &&
6340 { ac_try='test -s conftest.$ac_objext'
6341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6342 (eval $ac_try) 2>&5
6343 ac_status=$?
6344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6345 (exit $ac_status); }; }; then
6346 ac_compiler_gnu=yes
6347 else
6348 echo "$as_me: failed program was:" >&5
6349 sed 's/^/| /' conftest.$ac_ext >&5
6351 ac_compiler_gnu=no
6353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6354 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6357 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6358 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6359 GXX=`test $ac_compiler_gnu = yes && echo yes`
6360 ac_test_CXXFLAGS=${CXXFLAGS+set}
6361 ac_save_CXXFLAGS=$CXXFLAGS
6362 CXXFLAGS="-g"
6363 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6364 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6365 if test "${ac_cv_prog_cxx_g+set}" = set; then
6366 echo $ECHO_N "(cached) $ECHO_C" >&6
6367 else
6368 cat >conftest.$ac_ext <<_ACEOF
6369 /* confdefs.h. */
6370 _ACEOF
6371 cat confdefs.h >>conftest.$ac_ext
6372 cat >>conftest.$ac_ext <<_ACEOF
6373 /* end confdefs.h. */
6376 main ()
6380 return 0;
6382 _ACEOF
6383 rm -f conftest.$ac_objext
6384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6385 (eval $ac_compile) 2>conftest.er1
6386 ac_status=$?
6387 grep -v '^ *+' conftest.er1 >conftest.err
6388 rm -f conftest.er1
6389 cat conftest.err >&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } &&
6392 { ac_try='test -z "$ac_cxx_werror_flag"
6393 || test ! -s conftest.err'
6394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6395 (eval $ac_try) 2>&5
6396 ac_status=$?
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); }; } &&
6399 { ac_try='test -s conftest.$ac_objext'
6400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6401 (eval $ac_try) 2>&5
6402 ac_status=$?
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); }; }; then
6405 ac_cv_prog_cxx_g=yes
6406 else
6407 echo "$as_me: failed program was:" >&5
6408 sed 's/^/| /' conftest.$ac_ext >&5
6410 ac_cv_prog_cxx_g=no
6412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6414 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6415 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6416 if test "$ac_test_CXXFLAGS" = set; then
6417 CXXFLAGS=$ac_save_CXXFLAGS
6418 elif test $ac_cv_prog_cxx_g = yes; then
6419 if test "$GXX" = yes; then
6420 CXXFLAGS="-g -O2"
6421 else
6422 CXXFLAGS="-g"
6424 else
6425 if test "$GXX" = yes; then
6426 CXXFLAGS="-O2"
6427 else
6428 CXXFLAGS=
6431 for ac_declaration in \
6432 '' \
6433 'extern "C" void std::exit (int) throw (); using std::exit;' \
6434 'extern "C" void std::exit (int); using std::exit;' \
6435 'extern "C" void exit (int) throw ();' \
6436 'extern "C" void exit (int);' \
6437 'void exit (int);'
6439 cat >conftest.$ac_ext <<_ACEOF
6440 /* confdefs.h. */
6441 _ACEOF
6442 cat confdefs.h >>conftest.$ac_ext
6443 cat >>conftest.$ac_ext <<_ACEOF
6444 /* end confdefs.h. */
6445 $ac_declaration
6446 #include <stdlib.h>
6448 main ()
6450 exit (42);
6452 return 0;
6454 _ACEOF
6455 rm -f conftest.$ac_objext
6456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6457 (eval $ac_compile) 2>conftest.er1
6458 ac_status=$?
6459 grep -v '^ *+' conftest.er1 >conftest.err
6460 rm -f conftest.er1
6461 cat conftest.err >&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); } &&
6464 { ac_try='test -z "$ac_cxx_werror_flag"
6465 || test ! -s conftest.err'
6466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6467 (eval $ac_try) 2>&5
6468 ac_status=$?
6469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 (exit $ac_status); }; } &&
6471 { ac_try='test -s conftest.$ac_objext'
6472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6473 (eval $ac_try) 2>&5
6474 ac_status=$?
6475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); }; }; then
6478 else
6479 echo "$as_me: failed program was:" >&5
6480 sed 's/^/| /' conftest.$ac_ext >&5
6482 continue
6484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6485 cat >conftest.$ac_ext <<_ACEOF
6486 /* confdefs.h. */
6487 _ACEOF
6488 cat confdefs.h >>conftest.$ac_ext
6489 cat >>conftest.$ac_ext <<_ACEOF
6490 /* end confdefs.h. */
6491 $ac_declaration
6493 main ()
6495 exit (42);
6497 return 0;
6499 _ACEOF
6500 rm -f conftest.$ac_objext
6501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6502 (eval $ac_compile) 2>conftest.er1
6503 ac_status=$?
6504 grep -v '^ *+' conftest.er1 >conftest.err
6505 rm -f conftest.er1
6506 cat conftest.err >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); } &&
6509 { ac_try='test -z "$ac_cxx_werror_flag"
6510 || test ! -s conftest.err'
6511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6512 (eval $ac_try) 2>&5
6513 ac_status=$?
6514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515 (exit $ac_status); }; } &&
6516 { ac_try='test -s conftest.$ac_objext'
6517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6518 (eval $ac_try) 2>&5
6519 ac_status=$?
6520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521 (exit $ac_status); }; }; then
6522 break
6523 else
6524 echo "$as_me: failed program was:" >&5
6525 sed 's/^/| /' conftest.$ac_ext >&5
6528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6529 done
6530 rm -f conftest*
6531 if test -n "$ac_declaration"; then
6532 echo '#ifdef __cplusplus' >>confdefs.h
6533 echo $ac_declaration >>confdefs.h
6534 echo '#endif' >>confdefs.h
6537 ac_ext=c
6538 ac_cpp='$CPP $CPPFLAGS'
6539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6543 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6544 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6545 (test "X$CXX" != "Xg++"))) ; then
6546 ac_ext=cc
6547 ac_cpp='$CXXCPP $CPPFLAGS'
6548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6551 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6552 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6553 if test -z "$CXXCPP"; then
6554 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6555 echo $ECHO_N "(cached) $ECHO_C" >&6
6556 else
6557 # Double quotes because CXXCPP needs to be expanded
6558 for CXXCPP in "$CXX -E" "/lib/cpp"
6560 ac_preproc_ok=false
6561 for ac_cxx_preproc_warn_flag in '' yes
6563 # Use a header file that comes with gcc, so configuring glibc
6564 # with a fresh cross-compiler works.
6565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6566 # <limits.h> exists even on freestanding compilers.
6567 # On the NeXT, cc -E runs the code through the compiler's parser,
6568 # not just through cpp. "Syntax error" is here to catch this case.
6569 cat >conftest.$ac_ext <<_ACEOF
6570 /* confdefs.h. */
6571 _ACEOF
6572 cat confdefs.h >>conftest.$ac_ext
6573 cat >>conftest.$ac_ext <<_ACEOF
6574 /* end confdefs.h. */
6575 #ifdef __STDC__
6576 # include <limits.h>
6577 #else
6578 # include <assert.h>
6579 #endif
6580 Syntax error
6581 _ACEOF
6582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6584 ac_status=$?
6585 grep -v '^ *+' conftest.er1 >conftest.err
6586 rm -f conftest.er1
6587 cat conftest.err >&5
6588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589 (exit $ac_status); } >/dev/null; then
6590 if test -s conftest.err; then
6591 ac_cpp_err=$ac_cxx_preproc_warn_flag
6592 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6593 else
6594 ac_cpp_err=
6596 else
6597 ac_cpp_err=yes
6599 if test -z "$ac_cpp_err"; then
6601 else
6602 echo "$as_me: failed program was:" >&5
6603 sed 's/^/| /' conftest.$ac_ext >&5
6605 # Broken: fails on valid input.
6606 continue
6608 rm -f conftest.err conftest.$ac_ext
6610 # OK, works on sane cases. Now check whether non-existent headers
6611 # can be detected and how.
6612 cat >conftest.$ac_ext <<_ACEOF
6613 /* confdefs.h. */
6614 _ACEOF
6615 cat confdefs.h >>conftest.$ac_ext
6616 cat >>conftest.$ac_ext <<_ACEOF
6617 /* end confdefs.h. */
6618 #include <ac_nonexistent.h>
6619 _ACEOF
6620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6621 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6622 ac_status=$?
6623 grep -v '^ *+' conftest.er1 >conftest.err
6624 rm -f conftest.er1
6625 cat conftest.err >&5
6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627 (exit $ac_status); } >/dev/null; then
6628 if test -s conftest.err; then
6629 ac_cpp_err=$ac_cxx_preproc_warn_flag
6630 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6631 else
6632 ac_cpp_err=
6634 else
6635 ac_cpp_err=yes
6637 if test -z "$ac_cpp_err"; then
6638 # Broken: success on invalid input.
6639 continue
6640 else
6641 echo "$as_me: failed program was:" >&5
6642 sed 's/^/| /' conftest.$ac_ext >&5
6644 # Passes both tests.
6645 ac_preproc_ok=:
6646 break
6648 rm -f conftest.err conftest.$ac_ext
6650 done
6651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6652 rm -f conftest.err conftest.$ac_ext
6653 if $ac_preproc_ok; then
6654 break
6657 done
6658 ac_cv_prog_CXXCPP=$CXXCPP
6661 CXXCPP=$ac_cv_prog_CXXCPP
6662 else
6663 ac_cv_prog_CXXCPP=$CXXCPP
6665 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6666 echo "${ECHO_T}$CXXCPP" >&6
6667 ac_preproc_ok=false
6668 for ac_cxx_preproc_warn_flag in '' yes
6670 # Use a header file that comes with gcc, so configuring glibc
6671 # with a fresh cross-compiler works.
6672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6673 # <limits.h> exists even on freestanding compilers.
6674 # On the NeXT, cc -E runs the code through the compiler's parser,
6675 # not just through cpp. "Syntax error" is here to catch this case.
6676 cat >conftest.$ac_ext <<_ACEOF
6677 /* confdefs.h. */
6678 _ACEOF
6679 cat confdefs.h >>conftest.$ac_ext
6680 cat >>conftest.$ac_ext <<_ACEOF
6681 /* end confdefs.h. */
6682 #ifdef __STDC__
6683 # include <limits.h>
6684 #else
6685 # include <assert.h>
6686 #endif
6687 Syntax error
6688 _ACEOF
6689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6690 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6691 ac_status=$?
6692 grep -v '^ *+' conftest.er1 >conftest.err
6693 rm -f conftest.er1
6694 cat conftest.err >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } >/dev/null; then
6697 if test -s conftest.err; then
6698 ac_cpp_err=$ac_cxx_preproc_warn_flag
6699 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6700 else
6701 ac_cpp_err=
6703 else
6704 ac_cpp_err=yes
6706 if test -z "$ac_cpp_err"; then
6708 else
6709 echo "$as_me: failed program was:" >&5
6710 sed 's/^/| /' conftest.$ac_ext >&5
6712 # Broken: fails on valid input.
6713 continue
6715 rm -f conftest.err conftest.$ac_ext
6717 # OK, works on sane cases. Now check whether non-existent headers
6718 # can be detected and how.
6719 cat >conftest.$ac_ext <<_ACEOF
6720 /* confdefs.h. */
6721 _ACEOF
6722 cat confdefs.h >>conftest.$ac_ext
6723 cat >>conftest.$ac_ext <<_ACEOF
6724 /* end confdefs.h. */
6725 #include <ac_nonexistent.h>
6726 _ACEOF
6727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6729 ac_status=$?
6730 grep -v '^ *+' conftest.er1 >conftest.err
6731 rm -f conftest.er1
6732 cat conftest.err >&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); } >/dev/null; then
6735 if test -s conftest.err; then
6736 ac_cpp_err=$ac_cxx_preproc_warn_flag
6737 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6738 else
6739 ac_cpp_err=
6741 else
6742 ac_cpp_err=yes
6744 if test -z "$ac_cpp_err"; then
6745 # Broken: success on invalid input.
6746 continue
6747 else
6748 echo "$as_me: failed program was:" >&5
6749 sed 's/^/| /' conftest.$ac_ext >&5
6751 # Passes both tests.
6752 ac_preproc_ok=:
6753 break
6755 rm -f conftest.err conftest.$ac_ext
6757 done
6758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6759 rm -f conftest.err conftest.$ac_ext
6760 if $ac_preproc_ok; then
6762 else
6763 _lt_caught_CXX_error=yes
6766 ac_ext=c
6767 ac_cpp='$CPP $CPPFLAGS'
6768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6772 else
6773 _lt_caught_CXX_error=yes
6780 # This can be used to rebuild libtool when needed
6781 LIBTOOL_DEPS="$ltmain"
6783 # Always use our own libtool.
6784 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6810 test -z "$LN_S" && LN_S="ln -s"
6825 if test -n "${ZSH_VERSION+set}" ; then
6826 setopt NO_GLOB_SUBST
6829 echo "$as_me:$LINENO: checking for objdir" >&5
6830 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6831 if test "${lt_cv_objdir+set}" = set; then
6832 echo $ECHO_N "(cached) $ECHO_C" >&6
6833 else
6834 rm -f .libs 2>/dev/null
6835 mkdir .libs 2>/dev/null
6836 if test -d .libs; then
6837 lt_cv_objdir=.libs
6838 else
6839 # MS-DOS does not allow filenames that begin with a dot.
6840 lt_cv_objdir=_libs
6842 rmdir .libs 2>/dev/null
6844 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6845 echo "${ECHO_T}$lt_cv_objdir" >&6
6846 objdir=$lt_cv_objdir
6852 cat >>confdefs.h <<_ACEOF
6853 #define LT_OBJDIR "$lt_cv_objdir/"
6854 _ACEOF
6872 case $host_os in
6873 aix3*)
6874 # AIX sometimes has problems with the GCC collect2 program. For some
6875 # reason, if we set the COLLECT_NAMES environment variable, the problems
6876 # vanish in a puff of smoke.
6877 if test "X${COLLECT_NAMES+set}" != Xset; then
6878 COLLECT_NAMES=
6879 export COLLECT_NAMES
6882 esac
6884 # Sed substitution that helps us do robust quoting. It backslashifies
6885 # metacharacters that are still active within double-quoted strings.
6886 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6888 # Same as above, but do not quote variable references.
6889 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6891 # Sed substitution to delay expansion of an escaped shell variable in a
6892 # double_quote_subst'ed string.
6893 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6895 # Sed substitution to delay expansion of an escaped single quote.
6896 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6898 # Sed substitution to avoid accidental globbing in evaled expressions
6899 no_glob_subst='s/\*/\\\*/g'
6901 # Global variables:
6902 ofile=libtool
6903 can_build_shared=yes
6905 # All known linkers require a `.a' archive for static linking (except MSVC,
6906 # which needs '.lib').
6907 libext=a
6909 with_gnu_ld="$lt_cv_prog_gnu_ld"
6911 old_CC="$CC"
6912 old_CFLAGS="$CFLAGS"
6914 # Set sane defaults for various variables
6915 test -z "$CC" && CC=cc
6916 test -z "$LTCC" && LTCC=$CC
6917 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6918 test -z "$LD" && LD=ld
6919 test -z "$ac_objext" && ac_objext=o
6921 for cc_temp in $compiler""; do
6922 case $cc_temp in
6923 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6924 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6925 \-*) ;;
6926 *) break;;
6927 esac
6928 done
6929 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6932 # Only perform the check for file, if the check method requires it
6933 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6934 case $deplibs_check_method in
6935 file_magic*)
6936 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6937 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6938 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6939 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6940 echo $ECHO_N "(cached) $ECHO_C" >&6
6941 else
6942 case $MAGIC_CMD in
6943 [\\/*] | ?:[\\/]*)
6944 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6947 lt_save_MAGIC_CMD="$MAGIC_CMD"
6948 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6949 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6950 for ac_dir in $ac_dummy; do
6951 IFS="$lt_save_ifs"
6952 test -z "$ac_dir" && ac_dir=.
6953 if test -f $ac_dir/${ac_tool_prefix}file; then
6954 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6955 if test -n "$file_magic_test_file"; then
6956 case $deplibs_check_method in
6957 "file_magic "*)
6958 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6959 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6960 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6961 $EGREP "$file_magic_regex" > /dev/null; then
6963 else
6964 cat <<_LT_EOF 1>&2
6966 *** Warning: the command libtool uses to detect shared libraries,
6967 *** $file_magic_cmd, produces output that libtool cannot recognize.
6968 *** The result is that libtool may fail to recognize shared libraries
6969 *** as such. This will affect the creation of libtool libraries that
6970 *** depend on shared libraries, but programs linked with such libtool
6971 *** libraries will work regardless of this problem. Nevertheless, you
6972 *** may want to report the problem to your system manager and/or to
6973 *** bug-libtool@gnu.org
6975 _LT_EOF
6976 fi ;;
6977 esac
6979 break
6981 done
6982 IFS="$lt_save_ifs"
6983 MAGIC_CMD="$lt_save_MAGIC_CMD"
6985 esac
6988 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6989 if test -n "$MAGIC_CMD"; then
6990 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6991 echo "${ECHO_T}$MAGIC_CMD" >&6
6992 else
6993 echo "$as_me:$LINENO: result: no" >&5
6994 echo "${ECHO_T}no" >&6
7001 if test -z "$lt_cv_path_MAGIC_CMD"; then
7002 if test -n "$ac_tool_prefix"; then
7003 echo "$as_me:$LINENO: checking for file" >&5
7004 echo $ECHO_N "checking for file... $ECHO_C" >&6
7005 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7006 echo $ECHO_N "(cached) $ECHO_C" >&6
7007 else
7008 case $MAGIC_CMD in
7009 [\\/*] | ?:[\\/]*)
7010 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7013 lt_save_MAGIC_CMD="$MAGIC_CMD"
7014 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7015 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7016 for ac_dir in $ac_dummy; do
7017 IFS="$lt_save_ifs"
7018 test -z "$ac_dir" && ac_dir=.
7019 if test -f $ac_dir/file; then
7020 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7021 if test -n "$file_magic_test_file"; then
7022 case $deplibs_check_method in
7023 "file_magic "*)
7024 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7025 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7026 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7027 $EGREP "$file_magic_regex" > /dev/null; then
7029 else
7030 cat <<_LT_EOF 1>&2
7032 *** Warning: the command libtool uses to detect shared libraries,
7033 *** $file_magic_cmd, produces output that libtool cannot recognize.
7034 *** The result is that libtool may fail to recognize shared libraries
7035 *** as such. This will affect the creation of libtool libraries that
7036 *** depend on shared libraries, but programs linked with such libtool
7037 *** libraries will work regardless of this problem. Nevertheless, you
7038 *** may want to report the problem to your system manager and/or to
7039 *** bug-libtool@gnu.org
7041 _LT_EOF
7042 fi ;;
7043 esac
7045 break
7047 done
7048 IFS="$lt_save_ifs"
7049 MAGIC_CMD="$lt_save_MAGIC_CMD"
7051 esac
7054 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7055 if test -n "$MAGIC_CMD"; then
7056 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7057 echo "${ECHO_T}$MAGIC_CMD" >&6
7058 else
7059 echo "$as_me:$LINENO: result: no" >&5
7060 echo "${ECHO_T}no" >&6
7064 else
7065 MAGIC_CMD=:
7071 esac
7073 # Use C for the default configuration in the libtool script
7075 lt_save_CC="$CC"
7076 ac_ext=c
7077 ac_cpp='$CPP $CPPFLAGS'
7078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7083 # Source file extension for C test sources.
7084 ac_ext=c
7086 # Object file extension for compiled C test sources.
7087 objext=o
7088 objext=$objext
7090 # Code to be used in simple compile tests
7091 lt_simple_compile_test_code="int some_variable = 0;"
7093 # Code to be used in simple link tests
7094 lt_simple_link_test_code='int main(){return(0);}'
7102 # If no C compiler was specified, use CC.
7103 LTCC=${LTCC-"$CC"}
7105 # If no C compiler flags were specified, use CFLAGS.
7106 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7108 # Allow CC to be a program name with arguments.
7109 compiler=$CC
7111 # Save the default compiler, since it gets overwritten when the other
7112 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7113 compiler_DEFAULT=$CC
7115 # save warnings/boilerplate of simple test code
7116 ac_outfile=conftest.$ac_objext
7117 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7118 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7119 _lt_compiler_boilerplate=`cat conftest.err`
7120 $RM conftest*
7122 ac_outfile=conftest.$ac_objext
7123 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7124 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7125 _lt_linker_boilerplate=`cat conftest.err`
7126 $RM conftest*
7129 ## CAVEAT EMPTOR:
7130 ## There is no encapsulation within the following macros, do not change
7131 ## the running order or otherwise move them around unless you know exactly
7132 ## what you are doing...
7133 if test -n "$compiler"; then
7135 lt_prog_compiler_no_builtin_flag=
7137 if test "$GCC" = yes; then
7138 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7140 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7141 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7142 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7143 echo $ECHO_N "(cached) $ECHO_C" >&6
7144 else
7145 lt_cv_prog_compiler_rtti_exceptions=no
7146 ac_outfile=conftest.$ac_objext
7147 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7148 lt_compiler_flag="-fno-rtti -fno-exceptions"
7149 # Insert the option either (1) after the last *FLAGS variable, or
7150 # (2) before a word containing "conftest.", or (3) at the end.
7151 # Note that $ac_compile itself does not contain backslashes and begins
7152 # with a dollar sign (not a hyphen), so the echo should work correctly.
7153 # The option is referenced via a variable to avoid confusing sed.
7154 lt_compile=`echo "$ac_compile" | $SED \
7155 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7156 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7157 -e 's:$: $lt_compiler_flag:'`
7158 (eval echo "\"\$as_me:7158: $lt_compile\"" >&5)
7159 (eval "$lt_compile" 2>conftest.err)
7160 ac_status=$?
7161 cat conftest.err >&5
7162 echo "$as_me:7162: \$? = $ac_status" >&5
7163 if (exit $ac_status) && test -s "$ac_outfile"; then
7164 # The compiler can only warn and ignore the option if not recognized
7165 # So say no if there are warnings other than the usual output.
7166 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7167 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7168 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7169 lt_cv_prog_compiler_rtti_exceptions=yes
7172 $RM conftest*
7175 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7176 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7178 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7179 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7180 else
7191 lt_prog_compiler_wl=
7192 lt_prog_compiler_pic=
7193 lt_prog_compiler_static=
7195 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7196 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7198 if test "$GCC" = yes; then
7199 lt_prog_compiler_wl='-Wl,'
7200 lt_prog_compiler_static='-static'
7202 case $host_os in
7203 aix*)
7204 # All AIX code is PIC.
7205 if test "$host_cpu" = ia64; then
7206 # AIX 5 now supports IA64 processor
7207 lt_prog_compiler_static='-Bstatic'
7211 amigaos*)
7212 if test "$host_cpu" = m68k; then
7213 # FIXME: we need at least 68020 code to build shared libraries, but
7214 # adding the `-m68020' flag to GCC prevents building anything better,
7215 # like `-m68040'.
7216 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7220 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7221 # PIC is the default for these OSes.
7224 mingw* | cygwin* | pw32* | os2*)
7225 # This hack is so that the source file can tell whether it is being
7226 # built for inclusion in a dll (and should export symbols for example).
7227 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7228 # (--disable-auto-import) libraries
7229 lt_prog_compiler_pic='-DDLL_EXPORT'
7232 darwin* | rhapsody*)
7233 # PIC is the default on this platform
7234 # Common symbols not allowed in MH_DYLIB files
7235 lt_prog_compiler_pic='-fno-common'
7238 hpux*)
7239 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7240 # not for PA HP-UX.
7241 case $host_cpu in
7242 hppa*64*|ia64*)
7243 # +Z the default
7246 lt_prog_compiler_pic='-fPIC'
7248 esac
7251 interix[3-9]*)
7252 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7253 # Instead, we relocate shared libraries at runtime.
7256 msdosdjgpp*)
7257 # Just because we use GCC doesn't mean we suddenly get shared libraries
7258 # on systems that don't support them.
7259 lt_prog_compiler_can_build_shared=no
7260 enable_shared=no
7263 *nto* | *qnx*)
7264 # QNX uses GNU C++, but need to define -shared option too, otherwise
7265 # it will coredump.
7266 lt_prog_compiler_pic='-fPIC -shared'
7269 sysv4*MP*)
7270 if test -d /usr/nec; then
7271 lt_prog_compiler_pic=-Kconform_pic
7276 lt_prog_compiler_pic='-fPIC'
7278 esac
7279 else
7280 # PORTME Check for flag to pass linker flags through the system compiler.
7281 case $host_os in
7282 aix*)
7283 lt_prog_compiler_wl='-Wl,'
7284 if test "$host_cpu" = ia64; then
7285 # AIX 5 now supports IA64 processor
7286 lt_prog_compiler_static='-Bstatic'
7287 else
7288 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7291 darwin*)
7292 # PIC is the default on this platform
7293 # Common symbols not allowed in MH_DYLIB files
7294 case $cc_basename in
7295 xlc*)
7296 lt_prog_compiler_pic='-qnocommon'
7297 lt_prog_compiler_wl='-Wl,'
7299 esac
7302 mingw* | cygwin* | pw32* | os2*)
7303 # This hack is so that the source file can tell whether it is being
7304 # built for inclusion in a dll (and should export symbols for example).
7305 lt_prog_compiler_pic='-DDLL_EXPORT'
7308 hpux9* | hpux10* | hpux11*)
7309 lt_prog_compiler_wl='-Wl,'
7310 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7311 # not for PA HP-UX.
7312 case $host_cpu in
7313 hppa*64*|ia64*)
7314 # +Z the default
7317 lt_prog_compiler_pic='+Z'
7319 esac
7320 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7321 lt_prog_compiler_static='${wl}-a ${wl}archive'
7324 irix5* | irix6* | nonstopux*)
7325 lt_prog_compiler_wl='-Wl,'
7326 # PIC (with -KPIC) is the default.
7327 lt_prog_compiler_static='-non_shared'
7330 linux* | k*bsd*-gnu)
7331 case $cc_basename in
7332 icc* | ecc*)
7333 lt_prog_compiler_wl='-Wl,'
7334 lt_prog_compiler_pic='-KPIC'
7335 lt_prog_compiler_static='-static'
7337 pgcc* | pgf77* | pgf90* | pgf95*)
7338 # Portland Group compilers (*not* the Pentium gcc compiler,
7339 # which looks to be a dead project)
7340 lt_prog_compiler_wl='-Wl,'
7341 lt_prog_compiler_pic='-fpic'
7342 lt_prog_compiler_static='-Bstatic'
7344 ccc*)
7345 lt_prog_compiler_wl='-Wl,'
7346 # All Alpha code is PIC.
7347 lt_prog_compiler_static='-non_shared'
7350 case `$CC -V 2>&1 | sed 5q` in
7351 *Sun\ C*)
7352 # Sun C 5.9
7353 lt_prog_compiler_pic='-KPIC'
7354 lt_prog_compiler_static='-Bstatic'
7355 lt_prog_compiler_wl='-Wl,'
7357 *Sun\ F*)
7358 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7359 lt_prog_compiler_pic='-KPIC'
7360 lt_prog_compiler_static='-Bstatic'
7361 lt_prog_compiler_wl=''
7363 esac
7365 esac
7368 newsos6)
7369 lt_prog_compiler_pic='-KPIC'
7370 lt_prog_compiler_static='-Bstatic'
7373 *nto* | *qnx*)
7374 # QNX uses GNU C++, but need to define -shared option too, otherwise
7375 # it will coredump.
7376 lt_prog_compiler_pic='-fPIC -shared'
7379 osf3* | osf4* | osf5*)
7380 lt_prog_compiler_wl='-Wl,'
7381 # All OSF/1 code is PIC.
7382 lt_prog_compiler_static='-non_shared'
7385 rdos*)
7386 lt_prog_compiler_static='-non_shared'
7389 solaris*)
7390 lt_prog_compiler_pic='-KPIC'
7391 lt_prog_compiler_static='-Bstatic'
7392 case $cc_basename in
7393 f77* | f90* | f95*)
7394 lt_prog_compiler_wl='-Qoption ld ';;
7396 lt_prog_compiler_wl='-Wl,';;
7397 esac
7400 sunos4*)
7401 lt_prog_compiler_wl='-Qoption ld '
7402 lt_prog_compiler_pic='-PIC'
7403 lt_prog_compiler_static='-Bstatic'
7406 sysv4 | sysv4.2uw2* | sysv4.3*)
7407 lt_prog_compiler_wl='-Wl,'
7408 lt_prog_compiler_pic='-KPIC'
7409 lt_prog_compiler_static='-Bstatic'
7412 sysv4*MP*)
7413 if test -d /usr/nec ;then
7414 lt_prog_compiler_pic='-Kconform_pic'
7415 lt_prog_compiler_static='-Bstatic'
7419 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7420 lt_prog_compiler_wl='-Wl,'
7421 lt_prog_compiler_pic='-KPIC'
7422 lt_prog_compiler_static='-Bstatic'
7425 unicos*)
7426 lt_prog_compiler_wl='-Wl,'
7427 lt_prog_compiler_can_build_shared=no
7430 uts4*)
7431 lt_prog_compiler_pic='-pic'
7432 lt_prog_compiler_static='-Bstatic'
7436 lt_prog_compiler_can_build_shared=no
7438 esac
7441 case $host_os in
7442 # For platforms which do not support PIC, -DPIC is meaningless:
7443 *djgpp*)
7444 lt_prog_compiler_pic=
7447 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7449 esac
7450 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7451 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7459 # Check to make sure the PIC flag actually works.
7461 if test -n "$lt_prog_compiler_pic"; then
7462 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7463 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7464 if test "${lt_prog_compiler_pic_works+set}" = set; then
7465 echo $ECHO_N "(cached) $ECHO_C" >&6
7466 else
7467 lt_prog_compiler_pic_works=no
7468 ac_outfile=conftest.$ac_objext
7469 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7470 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7471 # Insert the option either (1) after the last *FLAGS variable, or
7472 # (2) before a word containing "conftest.", or (3) at the end.
7473 # Note that $ac_compile itself does not contain backslashes and begins
7474 # with a dollar sign (not a hyphen), so the echo should work correctly.
7475 # The option is referenced via a variable to avoid confusing sed.
7476 lt_compile=`echo "$ac_compile" | $SED \
7477 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7478 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7479 -e 's:$: $lt_compiler_flag:'`
7480 (eval echo "\"\$as_me:7480: $lt_compile\"" >&5)
7481 (eval "$lt_compile" 2>conftest.err)
7482 ac_status=$?
7483 cat conftest.err >&5
7484 echo "$as_me:7484: \$? = $ac_status" >&5
7485 if (exit $ac_status) && test -s "$ac_outfile"; then
7486 # The compiler can only warn and ignore the option if not recognized
7487 # So say no if there are warnings other than the usual output.
7488 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7489 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7490 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7491 lt_prog_compiler_pic_works=yes
7494 $RM conftest*
7497 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7498 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7500 if test x"$lt_prog_compiler_pic_works" = xyes; then
7501 case $lt_prog_compiler_pic in
7502 "" | " "*) ;;
7503 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7504 esac
7505 else
7506 lt_prog_compiler_pic=
7507 lt_prog_compiler_can_build_shared=no
7518 # Check to make sure the static flag actually works.
7520 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7521 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7522 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7523 if test "${lt_prog_compiler_static_works+set}" = set; then
7524 echo $ECHO_N "(cached) $ECHO_C" >&6
7525 else
7526 lt_prog_compiler_static_works=no
7527 save_LDFLAGS="$LDFLAGS"
7528 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7529 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7530 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7531 # The linker can only warn and ignore the option if not recognized
7532 # So say no if there are warnings
7533 if test -s conftest.err; then
7534 # Append any errors to the config.log.
7535 cat conftest.err 1>&5
7536 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7537 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7538 if diff conftest.exp conftest.er2 >/dev/null; then
7539 lt_prog_compiler_static_works=yes
7541 else
7542 lt_prog_compiler_static_works=yes
7545 $RM conftest*
7546 LDFLAGS="$save_LDFLAGS"
7549 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7550 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7552 if test x"$lt_prog_compiler_static_works" = xyes; then
7554 else
7555 lt_prog_compiler_static=
7564 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7565 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7566 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7567 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 else
7569 lt_cv_prog_compiler_c_o=no
7570 $RM -r conftest 2>/dev/null
7571 mkdir conftest
7572 cd conftest
7573 mkdir out
7574 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7576 lt_compiler_flag="-o out/conftest2.$ac_objext"
7577 # Insert the option either (1) after the last *FLAGS variable, or
7578 # (2) before a word containing "conftest.", or (3) at the end.
7579 # Note that $ac_compile itself does not contain backslashes and begins
7580 # with a dollar sign (not a hyphen), so the echo should work correctly.
7581 lt_compile=`echo "$ac_compile" | $SED \
7582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7584 -e 's:$: $lt_compiler_flag:'`
7585 (eval echo "\"\$as_me:7585: $lt_compile\"" >&5)
7586 (eval "$lt_compile" 2>out/conftest.err)
7587 ac_status=$?
7588 cat out/conftest.err >&5
7589 echo "$as_me:7589: \$? = $ac_status" >&5
7590 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7591 then
7592 # The compiler can only warn and ignore the option if not recognized
7593 # So say no if there are warnings
7594 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7595 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7596 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7597 lt_cv_prog_compiler_c_o=yes
7600 chmod u+w . 2>&5
7601 $RM conftest*
7602 # SGI C++ compiler will create directory out/ii_files/ for
7603 # template instantiation
7604 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7605 $RM out/* && rmdir out
7606 cd ..
7607 $RM -r conftest
7608 $RM conftest*
7611 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7612 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7619 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7620 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7621 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7622 echo $ECHO_N "(cached) $ECHO_C" >&6
7623 else
7624 lt_cv_prog_compiler_c_o=no
7625 $RM -r conftest 2>/dev/null
7626 mkdir conftest
7627 cd conftest
7628 mkdir out
7629 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7631 lt_compiler_flag="-o out/conftest2.$ac_objext"
7632 # Insert the option either (1) after the last *FLAGS variable, or
7633 # (2) before a word containing "conftest.", or (3) at the end.
7634 # Note that $ac_compile itself does not contain backslashes and begins
7635 # with a dollar sign (not a hyphen), so the echo should work correctly.
7636 lt_compile=`echo "$ac_compile" | $SED \
7637 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7638 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7639 -e 's:$: $lt_compiler_flag:'`
7640 (eval echo "\"\$as_me:7640: $lt_compile\"" >&5)
7641 (eval "$lt_compile" 2>out/conftest.err)
7642 ac_status=$?
7643 cat out/conftest.err >&5
7644 echo "$as_me:7644: \$? = $ac_status" >&5
7645 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7646 then
7647 # The compiler can only warn and ignore the option if not recognized
7648 # So say no if there are warnings
7649 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7650 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7651 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7652 lt_cv_prog_compiler_c_o=yes
7655 chmod u+w . 2>&5
7656 $RM conftest*
7657 # SGI C++ compiler will create directory out/ii_files/ for
7658 # template instantiation
7659 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7660 $RM out/* && rmdir out
7661 cd ..
7662 $RM -r conftest
7663 $RM conftest*
7666 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7667 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7672 hard_links="nottested"
7673 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7674 # do not overwrite the value of need_locks provided by the user
7675 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7676 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7677 hard_links=yes
7678 $RM conftest*
7679 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7680 touch conftest.a
7681 ln conftest.a conftest.b 2>&5 || hard_links=no
7682 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7683 echo "$as_me:$LINENO: result: $hard_links" >&5
7684 echo "${ECHO_T}$hard_links" >&6
7685 if test "$hard_links" = no; then
7686 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7687 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7688 need_locks=warn
7690 else
7691 need_locks=no
7699 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7700 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7702 runpath_var=
7703 allow_undefined_flag=
7704 always_export_symbols=no
7705 archive_cmds=
7706 archive_expsym_cmds=
7707 compiler_needs_object=no
7708 enable_shared_with_static_runtimes=no
7709 export_dynamic_flag_spec=
7710 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7711 hardcode_automatic=no
7712 hardcode_direct=no
7713 hardcode_direct_absolute=no
7714 hardcode_libdir_flag_spec=
7715 hardcode_libdir_flag_spec_ld=
7716 hardcode_libdir_separator=
7717 hardcode_minus_L=no
7718 hardcode_shlibpath_var=unsupported
7719 inherit_rpath=no
7720 link_all_deplibs=unknown
7721 module_cmds=
7722 module_expsym_cmds=
7723 old_archive_from_new_cmds=
7724 old_archive_from_expsyms_cmds=
7725 thread_safe_flag_spec=
7726 whole_archive_flag_spec=
7727 # include_expsyms should be a list of space-separated symbols to be *always*
7728 # included in the symbol list
7729 include_expsyms=
7730 # exclude_expsyms can be an extended regexp of symbols to exclude
7731 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7732 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7733 # as well as any symbol that contains `d'.
7734 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7735 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7736 # platforms (ab)use it in PIC code, but their linkers get confused if
7737 # the symbol is explicitly referenced. Since portable code cannot
7738 # rely on this symbol name, it's probably fine to never include it in
7739 # preloaded symbol tables.
7740 extract_expsyms_cmds=
7742 case $host_os in
7743 cygwin* | mingw* | pw32*)
7744 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7745 # When not using gcc, we currently assume that we are using
7746 # Microsoft Visual C++.
7747 if test "$GCC" != yes; then
7748 with_gnu_ld=no
7751 interix*)
7752 # we just hope/assume this is gcc and not c89 (= MSVC++)
7753 with_gnu_ld=yes
7755 openbsd*)
7756 with_gnu_ld=no
7758 esac
7760 ld_shlibs=yes
7761 if test "$with_gnu_ld" = yes; then
7762 # If archive_cmds runs LD, not CC, wlarc should be empty
7763 wlarc='${wl}'
7765 # Set some defaults for GNU ld with shared library support. These
7766 # are reset later if shared libraries are not supported. Putting them
7767 # here allows them to be overridden if necessary.
7768 runpath_var=LD_RUN_PATH
7769 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7770 export_dynamic_flag_spec='${wl}--export-dynamic'
7771 # ancient GNU ld didn't support --whole-archive et. al.
7772 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7773 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7774 else
7775 whole_archive_flag_spec=
7777 supports_anon_versioning=no
7778 case `$LD -v 2>&1` in
7779 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7780 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7781 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7782 *\ 2.11.*) ;; # other 2.11 versions
7783 *) supports_anon_versioning=yes ;;
7784 esac
7786 # See if GNU ld supports shared libraries.
7787 case $host_os in
7788 aix3* | aix4* | aix5*)
7789 # On AIX/PPC, the GNU linker is very broken
7790 if test "$host_cpu" != ia64; then
7791 ld_shlibs=no
7792 cat <<_LT_EOF 1>&2
7794 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7795 *** to be unable to reliably create shared libraries on AIX.
7796 *** Therefore, libtool is disabling shared libraries support. If you
7797 *** really care for shared libraries, you may want to modify your PATH
7798 *** so that a non-GNU linker is found, and then restart.
7800 _LT_EOF
7804 amigaos*)
7805 if test "$host_cpu" = m68k; then
7806 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)'
7807 hardcode_libdir_flag_spec='-L$libdir'
7808 hardcode_minus_L=yes
7811 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7812 # that the semantics of dynamic libraries on AmigaOS, at least up
7813 # to version 4, is to share data among multiple programs linked
7814 # with the same dynamic library. Since this doesn't match the
7815 # behavior of shared libraries on other platforms, we can't use
7816 # them.
7817 ld_shlibs=no
7820 beos*)
7821 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7822 allow_undefined_flag=unsupported
7823 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7824 # support --undefined. This deserves some investigation. FIXME
7825 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7826 else
7827 ld_shlibs=no
7831 cygwin* | mingw* | pw32*)
7832 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7833 # as there is no search path for DLLs.
7834 hardcode_libdir_flag_spec='-L$libdir'
7835 allow_undefined_flag=unsupported
7836 always_export_symbols=no
7837 enable_shared_with_static_runtimes=yes
7838 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7840 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7841 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7842 # If the export-symbols file already is a .def file (1st line
7843 # is EXPORTS), use it as is; otherwise, prepend...
7844 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7845 cp $export_symbols $output_objdir/$soname.def;
7846 else
7847 echo EXPORTS > $output_objdir/$soname.def;
7848 cat $export_symbols >> $output_objdir/$soname.def;
7850 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7851 else
7852 ld_shlibs=no
7856 interix[3-9]*)
7857 hardcode_direct=no
7858 hardcode_shlibpath_var=no
7859 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7860 export_dynamic_flag_spec='${wl}-E'
7861 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7862 # Instead, shared libraries are loaded at an image base (0x10000000 by
7863 # default) and relocated if they conflict, which is a slow very memory
7864 # consuming and fragmenting process. To avoid this, we pick a random,
7865 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7866 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7867 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7868 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'
7871 gnu* | linux* | tpf* | k*bsd*-gnu)
7872 tmp_diet=no
7873 if test "$host_os" = linux-dietlibc; then
7874 case $cc_basename in
7875 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7876 esac
7878 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7879 && test "$tmp_diet" = no
7880 then
7881 tmp_addflag=
7882 case $cc_basename,$host_cpu in
7883 pgcc*) # Portland Group C compiler
7884 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'
7885 tmp_addflag=' $pic_flag'
7887 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7888 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'
7889 tmp_addflag=' $pic_flag -Mnomain' ;;
7890 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7891 tmp_addflag=' -i_dynamic' ;;
7892 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7893 tmp_addflag=' -i_dynamic -nofor_main' ;;
7894 ifc* | ifort*) # Intel Fortran compiler
7895 tmp_addflag=' -nofor_main' ;;
7896 esac
7897 case `$CC -V 2>&1 | sed 5q` in
7898 *Sun\ C*) # Sun C 5.9
7899 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'
7900 compiler_needs_object=yes
7901 tmp_sharedflag='-G' ;;
7902 *Sun\ F*) # Sun Fortran 8.3
7903 tmp_sharedflag='-G' ;;
7905 tmp_sharedflag='-shared' ;;
7906 esac
7907 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7909 if test "x$supports_anon_versioning" = xyes; then
7910 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7911 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7912 echo "local: *; };" >> $output_objdir/$libname.ver~
7913 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7915 else
7916 ld_shlibs=no
7920 netbsd*)
7921 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7922 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7923 wlarc=
7924 else
7925 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7926 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7930 solaris*)
7931 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7932 ld_shlibs=no
7933 cat <<_LT_EOF 1>&2
7935 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7936 *** create shared libraries on Solaris systems. Therefore, libtool
7937 *** is disabling shared libraries support. We urge you to upgrade GNU
7938 *** binutils to release 2.9.1 or newer. Another option is to modify
7939 *** your PATH or compiler configuration so that the native linker is
7940 *** used, and then restart.
7942 _LT_EOF
7943 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7944 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7945 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7946 else
7947 ld_shlibs=no
7951 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7952 case `$LD -v 2>&1` in
7953 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7954 ld_shlibs=no
7955 cat <<_LT_EOF 1>&2
7957 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7958 *** reliably create shared libraries on SCO systems. Therefore, libtool
7959 *** is disabling shared libraries support. We urge you to upgrade GNU
7960 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7961 *** your PATH or compiler configuration so that the native linker is
7962 *** used, and then restart.
7964 _LT_EOF
7967 # For security reasons, it is highly recommended that you always
7968 # use absolute paths for naming shared libraries, and exclude the
7969 # DT_RUNPATH tag from executables and libraries. But doing so
7970 # requires that you compile everything twice, which is a pain.
7971 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7972 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7973 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7974 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7975 else
7976 ld_shlibs=no
7979 esac
7982 sunos4*)
7983 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7984 wlarc=
7985 hardcode_direct=yes
7986 hardcode_shlibpath_var=no
7990 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7991 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7992 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7993 else
7994 ld_shlibs=no
7997 esac
7999 if test "$ld_shlibs" = no; then
8000 runpath_var=
8001 hardcode_libdir_flag_spec=
8002 export_dynamic_flag_spec=
8003 whole_archive_flag_spec=
8005 else
8006 # PORTME fill in a description of your system's linker (not GNU ld)
8007 case $host_os in
8008 aix3*)
8009 allow_undefined_flag=unsupported
8010 always_export_symbols=yes
8011 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'
8012 # Note: this linker hardcodes the directories in LIBPATH if there
8013 # are no directories specified by -L.
8014 hardcode_minus_L=yes
8015 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8016 # Neither direct hardcoding nor static linking is supported with a
8017 # broken collect2.
8018 hardcode_direct=unsupported
8022 aix4* | aix5*)
8023 if test "$host_cpu" = ia64; then
8024 # On IA64, the linker does run time linking by default, so we don't
8025 # have to do anything special.
8026 aix_use_runtimelinking=no
8027 exp_sym_flag='-Bexport'
8028 no_entry_flag=""
8029 else
8030 # If we're using GNU nm, then we don't want the "-C" option.
8031 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8032 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8033 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'
8034 else
8035 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'
8037 aix_use_runtimelinking=no
8039 # Test if we are trying to use run time linking or normal
8040 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8041 # need to do runtime linking.
8042 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8043 for ld_flag in $LDFLAGS; do
8044 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8045 aix_use_runtimelinking=yes
8046 break
8048 done
8050 esac
8052 exp_sym_flag='-bexport'
8053 no_entry_flag='-bnoentry'
8056 # When large executables or shared objects are built, AIX ld can
8057 # have problems creating the table of contents. If linking a library
8058 # or program results in "error TOC overflow" add -mminimal-toc to
8059 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8060 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8062 archive_cmds=''
8063 hardcode_direct=yes
8064 hardcode_direct_absolute=yes
8065 hardcode_libdir_separator=':'
8066 link_all_deplibs=yes
8067 file_list_spec='${wl}-f,'
8069 if test "$GCC" = yes; then
8070 case $host_os in aix4.[012]|aix4.[012].*)
8071 # We only want to do this on AIX 4.2 and lower, the check
8072 # below for broken collect2 doesn't work under 4.3+
8073 collect2name=`${CC} -print-prog-name=collect2`
8074 if test -f "$collect2name" &&
8075 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8076 then
8077 # We have reworked collect2
8079 else
8080 # We have old collect2
8081 hardcode_direct=unsupported
8082 # It fails to find uninstalled libraries when the uninstalled
8083 # path is not listed in the libpath. Setting hardcode_minus_L
8084 # to unsupported forces relinking
8085 hardcode_minus_L=yes
8086 hardcode_libdir_flag_spec='-L$libdir'
8087 hardcode_libdir_separator=
8090 esac
8091 shared_flag='-shared'
8092 if test "$aix_use_runtimelinking" = yes; then
8093 shared_flag="$shared_flag "'${wl}-G'
8095 else
8096 # not using gcc
8097 if test "$host_cpu" = ia64; then
8098 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8099 # chokes on -Wl,-G. The following line is correct:
8100 shared_flag='-G'
8101 else
8102 if test "$aix_use_runtimelinking" = yes; then
8103 shared_flag='${wl}-G'
8104 else
8105 shared_flag='${wl}-bM:SRE'
8110 # It seems that -bexpall does not export symbols beginning with
8111 # underscore (_), so it is better to generate a list of symbols to export.
8112 always_export_symbols=yes
8113 if test "$aix_use_runtimelinking" = yes; then
8114 # Warning - without using the other runtime loading flags (-brtl),
8115 # -berok will link without error, but may produce a broken library.
8116 allow_undefined_flag='-berok'
8117 # Determine the default libpath from the value encoded in an
8118 # empty executable.
8119 if test x$gcc_no_link = xyes; then
8120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8122 { (exit 1); exit 1; }; }
8124 cat >conftest.$ac_ext <<_ACEOF
8125 /* confdefs.h. */
8126 _ACEOF
8127 cat confdefs.h >>conftest.$ac_ext
8128 cat >>conftest.$ac_ext <<_ACEOF
8129 /* end confdefs.h. */
8132 main ()
8136 return 0;
8138 _ACEOF
8139 rm -f conftest.$ac_objext conftest$ac_exeext
8140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8141 (eval $ac_link) 2>conftest.er1
8142 ac_status=$?
8143 grep -v '^ *+' conftest.er1 >conftest.err
8144 rm -f conftest.er1
8145 cat conftest.err >&5
8146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147 (exit $ac_status); } &&
8148 { ac_try='test -z "$ac_c_werror_flag"
8149 || test ! -s conftest.err'
8150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8151 (eval $ac_try) 2>&5
8152 ac_status=$?
8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 (exit $ac_status); }; } &&
8155 { ac_try='test -s conftest$ac_exeext'
8156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8157 (eval $ac_try) 2>&5
8158 ac_status=$?
8159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8160 (exit $ac_status); }; }; then
8162 lt_aix_libpath_sed='
8163 /Import File Strings/,/^$/ {
8164 /^0/ {
8165 s/^0 *\(.*\)$/\1/
8169 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8170 # Check for a 64-bit object if we didn't find anything.
8171 if test -z "$aix_libpath"; then
8172 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8174 else
8175 echo "$as_me: failed program was:" >&5
8176 sed 's/^/| /' conftest.$ac_ext >&5
8179 rm -f conftest.err conftest.$ac_objext \
8180 conftest$ac_exeext conftest.$ac_ext
8181 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8183 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8184 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"
8185 else
8186 if test "$host_cpu" = ia64; then
8187 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8188 allow_undefined_flag="-z nodefs"
8189 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"
8190 else
8191 # Determine the default libpath from the value encoded in an
8192 # empty executable.
8193 if test x$gcc_no_link = xyes; then
8194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8196 { (exit 1); exit 1; }; }
8198 cat >conftest.$ac_ext <<_ACEOF
8199 /* confdefs.h. */
8200 _ACEOF
8201 cat confdefs.h >>conftest.$ac_ext
8202 cat >>conftest.$ac_ext <<_ACEOF
8203 /* end confdefs.h. */
8206 main ()
8210 return 0;
8212 _ACEOF
8213 rm -f conftest.$ac_objext conftest$ac_exeext
8214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8215 (eval $ac_link) 2>conftest.er1
8216 ac_status=$?
8217 grep -v '^ *+' conftest.er1 >conftest.err
8218 rm -f conftest.er1
8219 cat conftest.err >&5
8220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 (exit $ac_status); } &&
8222 { ac_try='test -z "$ac_c_werror_flag"
8223 || test ! -s conftest.err'
8224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225 (eval $ac_try) 2>&5
8226 ac_status=$?
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); }; } &&
8229 { ac_try='test -s conftest$ac_exeext'
8230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8231 (eval $ac_try) 2>&5
8232 ac_status=$?
8233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234 (exit $ac_status); }; }; then
8236 lt_aix_libpath_sed='
8237 /Import File Strings/,/^$/ {
8238 /^0/ {
8239 s/^0 *\(.*\)$/\1/
8243 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8244 # Check for a 64-bit object if we didn't find anything.
8245 if test -z "$aix_libpath"; then
8246 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8248 else
8249 echo "$as_me: failed program was:" >&5
8250 sed 's/^/| /' conftest.$ac_ext >&5
8253 rm -f conftest.err conftest.$ac_objext \
8254 conftest$ac_exeext conftest.$ac_ext
8255 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8257 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8258 # Warning - without using the other run time loading flags,
8259 # -berok will link without error, but may produce a broken library.
8260 no_undefined_flag=' ${wl}-bernotok'
8261 allow_undefined_flag=' ${wl}-berok'
8262 # Exported symbols can be pulled into shared objects from archives
8263 whole_archive_flag_spec='$convenience'
8264 archive_cmds_need_lc=yes
8265 # This is similar to how AIX traditionally builds its shared libraries.
8266 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'
8271 amigaos*)
8272 if test "$host_cpu" = m68k; then
8273 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)'
8274 hardcode_libdir_flag_spec='-L$libdir'
8275 hardcode_minus_L=yes
8277 # see comment about different semantics on the GNU ld section
8278 ld_shlibs=no
8281 bsdi[45]*)
8282 export_dynamic_flag_spec=-rdynamic
8285 cygwin* | mingw* | pw32*)
8286 # When not using gcc, we currently assume that we are using
8287 # Microsoft Visual C++.
8288 # hardcode_libdir_flag_spec is actually meaningless, as there is
8289 # no search path for DLLs.
8290 hardcode_libdir_flag_spec=' '
8291 allow_undefined_flag=unsupported
8292 # Tell ltmain to make .lib files, not .a files.
8293 libext=lib
8294 # Tell ltmain to make .dll files, not .so files.
8295 shrext_cmds=".dll"
8296 # FIXME: Setting linknames here is a bad hack.
8297 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8298 # The linker will automatically build a .lib file if we build a DLL.
8299 old_archive_from_new_cmds='true'
8300 # FIXME: Should let the user specify the lib program.
8301 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8302 fix_srcfile_path='`cygpath -w "$srcfile"`'
8303 enable_shared_with_static_runtimes=yes
8306 darwin* | rhapsody*)
8307 case $host_os in
8308 rhapsody* | darwin1.[012])
8309 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8311 *) # Darwin 1.3 on
8312 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8313 10.[012])
8314 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8316 10.*)
8317 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8319 esac
8321 esac
8322 archive_cmds_need_lc=no
8323 hardcode_direct=no
8324 hardcode_automatic=yes
8325 hardcode_shlibpath_var=unsupported
8326 whole_archive_flag_spec=''
8327 link_all_deplibs=yes
8328 if test "$GCC" = yes ; then
8329 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8330 echo $ECHO_N "(cached) $ECHO_C" >&6
8331 else
8332 lt_cv_apple_cc_single_mod=no
8333 if test -z "${LT_MULTI_MODULE}"; then
8334 # By default we will add the -single_module flag. You can override
8335 # by either setting the environment variable LT_MULTI_MODULE
8336 # non-empty at configure time, or by adding -multi-module to the
8337 # link flags.
8338 echo "int foo(void){return 1;}" > conftest.c
8339 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8340 -dynamiclib ${wl}-single_module conftest.c
8341 if test -f libconftest.dylib; then
8342 lt_cv_apple_cc_single_mod=yes
8343 rm libconftest.dylib
8345 rm conftest.$ac_ext
8349 output_verbose_link_cmd=echo
8350 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8351 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8352 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8353 else
8354 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8355 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8357 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8358 module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8359 else
8360 case $cc_basename in
8361 xlc*)
8362 output_verbose_link_cmd=echo
8363 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8364 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8365 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8366 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8367 module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8370 ld_shlibs=no
8372 esac
8376 dgux*)
8377 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8378 hardcode_libdir_flag_spec='-L$libdir'
8379 hardcode_shlibpath_var=no
8382 freebsd1*)
8383 ld_shlibs=no
8386 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8387 # support. Future versions do this automatically, but an explicit c++rt0.o
8388 # does not break anything, and helps significantly (at the cost of a little
8389 # extra space).
8390 freebsd2.2*)
8391 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8392 hardcode_libdir_flag_spec='-R$libdir'
8393 hardcode_direct=yes
8394 hardcode_shlibpath_var=no
8397 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8398 freebsd2*)
8399 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8400 hardcode_direct=yes
8401 hardcode_minus_L=yes
8402 hardcode_shlibpath_var=no
8405 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8406 freebsd* | dragonfly*)
8407 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8408 hardcode_libdir_flag_spec='-R$libdir'
8409 hardcode_direct=yes
8410 hardcode_shlibpath_var=no
8413 hpux9*)
8414 if test "$GCC" = yes; then
8415 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'
8416 else
8417 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'
8419 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8420 hardcode_libdir_separator=:
8421 hardcode_direct=yes
8423 # hardcode_minus_L: Not really in the search PATH,
8424 # but as the default location of the library.
8425 hardcode_minus_L=yes
8426 export_dynamic_flag_spec='${wl}-E'
8429 hpux10*)
8430 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8431 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8432 else
8433 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8435 if test "$with_gnu_ld" = no; then
8436 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8437 hardcode_libdir_flag_spec_ld='+b $libdir'
8438 hardcode_libdir_separator=:
8439 hardcode_direct=yes
8440 hardcode_direct_absolute=yes
8441 export_dynamic_flag_spec='${wl}-E'
8442 # hardcode_minus_L: Not really in the search PATH,
8443 # but as the default location of the library.
8444 hardcode_minus_L=yes
8448 hpux11*)
8449 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8450 case $host_cpu in
8451 hppa*64*)
8452 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8454 ia64*)
8455 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8458 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8460 esac
8461 else
8462 case $host_cpu in
8463 hppa*64*)
8464 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8466 ia64*)
8467 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8470 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8472 esac
8474 if test "$with_gnu_ld" = no; then
8475 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8476 hardcode_libdir_separator=:
8478 case $host_cpu in
8479 hppa*64*|ia64*)
8480 hardcode_direct=no
8481 hardcode_shlibpath_var=no
8484 hardcode_direct=yes
8485 hardcode_direct_absolute=yes
8486 export_dynamic_flag_spec='${wl}-E'
8488 # hardcode_minus_L: Not really in the search PATH,
8489 # but as the default location of the library.
8490 hardcode_minus_L=yes
8492 esac
8496 irix5* | irix6* | nonstopux*)
8497 if test "$GCC" = yes; then
8498 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'
8499 # Try to use the -exported_symbol ld option, if it does not
8500 # work, assume that -exports_file does not work either and
8501 # implicitly export all symbols.
8502 save_LDFLAGS="$LDFLAGS"
8503 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8504 if test x$gcc_no_link = xyes; then
8505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8507 { (exit 1); exit 1; }; }
8509 cat >conftest.$ac_ext <<_ACEOF
8510 int foo(void) {}
8511 _ACEOF
8512 rm -f conftest.$ac_objext conftest$ac_exeext
8513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8514 (eval $ac_link) 2>conftest.er1
8515 ac_status=$?
8516 grep -v '^ *+' conftest.er1 >conftest.err
8517 rm -f conftest.er1
8518 cat conftest.err >&5
8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520 (exit $ac_status); } &&
8521 { ac_try='test -z "$ac_c_werror_flag"
8522 || test ! -s conftest.err'
8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8524 (eval $ac_try) 2>&5
8525 ac_status=$?
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }; } &&
8528 { ac_try='test -s conftest$ac_exeext'
8529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8530 (eval $ac_try) 2>&5
8531 ac_status=$?
8532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8533 (exit $ac_status); }; }; then
8534 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'
8536 else
8537 echo "$as_me: failed program was:" >&5
8538 sed 's/^/| /' conftest.$ac_ext >&5
8541 rm -f conftest.err conftest.$ac_objext \
8542 conftest$ac_exeext conftest.$ac_ext
8543 LDFLAGS="$save_LDFLAGS"
8544 else
8545 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'
8546 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'
8548 archive_cmds_need_lc='no'
8549 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8550 hardcode_libdir_separator=:
8551 inherit_rpath=yes
8552 link_all_deplibs=yes
8555 netbsd*)
8556 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8557 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8558 else
8559 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8561 hardcode_libdir_flag_spec='-R$libdir'
8562 hardcode_direct=yes
8563 hardcode_shlibpath_var=no
8566 newsos6)
8567 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8568 hardcode_direct=yes
8569 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8570 hardcode_libdir_separator=:
8571 hardcode_shlibpath_var=no
8574 *nto* | *qnx*)
8577 openbsd*)
8578 hardcode_direct=yes
8579 hardcode_shlibpath_var=no
8580 hardcode_direct_absolute=yes
8581 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8582 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8583 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8584 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8585 export_dynamic_flag_spec='${wl}-E'
8586 else
8587 case $host_os in
8588 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8589 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8590 hardcode_libdir_flag_spec='-R$libdir'
8593 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8594 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8596 esac
8600 os2*)
8601 hardcode_libdir_flag_spec='-L$libdir'
8602 hardcode_minus_L=yes
8603 allow_undefined_flag=unsupported
8604 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'
8605 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8608 osf3*)
8609 if test "$GCC" = yes; then
8610 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8611 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'
8612 else
8613 allow_undefined_flag=' -expect_unresolved \*'
8614 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'
8616 archive_cmds_need_lc='no'
8617 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8618 hardcode_libdir_separator=:
8621 osf4* | osf5*) # as osf3* with the addition of -msym flag
8622 if test "$GCC" = yes; then
8623 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8624 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'
8625 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8626 else
8627 allow_undefined_flag=' -expect_unresolved \*'
8628 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'
8629 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~
8630 $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'
8632 # Both c and cxx compiler support -rpath directly
8633 hardcode_libdir_flag_spec='-rpath $libdir'
8635 archive_cmds_need_lc='no'
8636 hardcode_libdir_separator=:
8639 solaris*)
8640 no_undefined_flag=' -z defs'
8641 if test "$GCC" = yes; then
8642 wlarc='${wl}'
8643 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8644 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8645 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8646 else
8647 case `$CC -V 2>&1` in
8648 *"Compilers 5.0"*)
8649 wlarc=''
8650 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8651 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8652 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8655 wlarc='${wl}'
8656 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8657 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8658 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8660 esac
8662 hardcode_libdir_flag_spec='-R$libdir'
8663 hardcode_shlibpath_var=no
8664 case $host_os in
8665 solaris2.[0-5] | solaris2.[0-5].*) ;;
8667 # The compiler driver will combine and reorder linker options,
8668 # but understands `-z linker_flag'. GCC discards it without `$wl',
8669 # but is careful enough not to reorder.
8670 # Supported since Solaris 2.6 (maybe 2.5.1?)
8671 if test "$GCC" = yes; then
8672 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8673 else
8674 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8677 esac
8678 link_all_deplibs=yes
8681 sunos4*)
8682 if test "x$host_vendor" = xsequent; then
8683 # Use $CC to link under sequent, because it throws in some extra .o
8684 # files that make .init and .fini sections work.
8685 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8686 else
8687 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8689 hardcode_libdir_flag_spec='-L$libdir'
8690 hardcode_direct=yes
8691 hardcode_minus_L=yes
8692 hardcode_shlibpath_var=no
8695 sysv4)
8696 case $host_vendor in
8697 sni)
8698 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8699 hardcode_direct=yes # is this really true???
8701 siemens)
8702 ## LD is ld it makes a PLAMLIB
8703 ## CC just makes a GrossModule.
8704 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8705 reload_cmds='$CC -r -o $output$reload_objs'
8706 hardcode_direct=no
8708 motorola)
8709 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8710 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8712 esac
8713 runpath_var='LD_RUN_PATH'
8714 hardcode_shlibpath_var=no
8717 sysv4.3*)
8718 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8719 hardcode_shlibpath_var=no
8720 export_dynamic_flag_spec='-Bexport'
8723 sysv4*MP*)
8724 if test -d /usr/nec; then
8725 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8726 hardcode_shlibpath_var=no
8727 runpath_var=LD_RUN_PATH
8728 hardcode_runpath_var=yes
8729 ld_shlibs=yes
8733 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8734 no_undefined_flag='${wl}-z,text'
8735 archive_cmds_need_lc=no
8736 hardcode_shlibpath_var=no
8737 runpath_var='LD_RUN_PATH'
8739 if test "$GCC" = yes; then
8740 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8741 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8742 else
8743 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8744 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8748 sysv5* | sco3.2v5* | sco5v6*)
8749 # Note: We can NOT use -z defs as we might desire, because we do not
8750 # link with -lc, and that would cause any symbols used from libc to
8751 # always be unresolved, which means just about no library would
8752 # ever link correctly. If we're not using GNU ld we use -z text
8753 # though, which does catch some bad symbols but isn't as heavy-handed
8754 # as -z defs.
8755 no_undefined_flag='${wl}-z,text'
8756 allow_undefined_flag='${wl}-z,nodefs'
8757 archive_cmds_need_lc=no
8758 hardcode_shlibpath_var=no
8759 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8760 hardcode_libdir_separator=':'
8761 link_all_deplibs=yes
8762 export_dynamic_flag_spec='${wl}-Bexport'
8763 runpath_var='LD_RUN_PATH'
8765 if test "$GCC" = yes; then
8766 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8767 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8768 else
8769 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8770 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8774 uts4*)
8775 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8776 hardcode_libdir_flag_spec='-L$libdir'
8777 hardcode_shlibpath_var=no
8781 ld_shlibs=no
8783 esac
8785 if test x$host_vendor = xsni; then
8786 case $host in
8787 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8788 export_dynamic_flag_spec='${wl}-Blargedynsym'
8790 esac
8794 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8795 echo "${ECHO_T}$ld_shlibs" >&6
8796 test "$ld_shlibs" = no && can_build_shared=no
8798 with_gnu_ld=$with_gnu_ld
8815 # Do we need to explicitly link libc?
8817 case "x$archive_cmds_need_lc" in
8818 x|xyes)
8819 # Assume -lc should be added
8820 archive_cmds_need_lc=yes
8822 if test "$enable_shared" = yes && test "$GCC" = yes; then
8823 case $archive_cmds in
8824 *'~'*)
8825 # FIXME: we may have to deal with multi-command sequences.
8827 '$CC '*)
8828 # Test whether the compiler implicitly links with -lc since on some
8829 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8830 # to ld, don't add -lc before -lgcc.
8831 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8832 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8833 $RM conftest*
8834 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8837 (eval $ac_compile) 2>&5
8838 ac_status=$?
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 (exit $ac_status); } 2>conftest.err; then
8841 soname=conftest
8842 lib=conftest
8843 libobjs=conftest.$ac_objext
8844 deplibs=
8845 wl=$lt_prog_compiler_wl
8846 pic_flag=$lt_prog_compiler_pic
8847 compiler_flags=-v
8848 linker_flags=-v
8849 verstring=
8850 output_objdir=.
8851 libname=conftest
8852 lt_save_allow_undefined_flag=$allow_undefined_flag
8853 allow_undefined_flag=
8854 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8855 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8856 ac_status=$?
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); }
8859 then
8860 archive_cmds_need_lc=no
8861 else
8862 archive_cmds_need_lc=yes
8864 allow_undefined_flag=$lt_save_allow_undefined_flag
8865 else
8866 cat conftest.err 1>&5
8868 $RM conftest*
8869 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8870 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8872 esac
8875 esac
9033 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9034 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9035 withGCC=$GCC
9036 if test "$withGCC" = yes; then
9037 case $host_os in
9038 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9039 *) lt_awk_arg="/^libraries:/" ;;
9040 esac
9041 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9042 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9043 # if the path contains ";" then we assume it to be the separator
9044 # otherwise default to the standard path separator (i.e. ":") - it is
9045 # assumed that no part of a normal pathname contains ";" but that should
9046 # okay in the real world where ";" in dirpaths is itself problematic.
9047 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9048 else
9049 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9051 # Ok, now we have the path, separated by spaces, we can step through it
9052 # and add multilib dir if necessary.
9053 lt_tmp_lt_search_path_spec=
9054 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9055 for lt_sys_path in $lt_search_path_spec; do
9056 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9057 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9058 else
9059 test -d "$lt_sys_path" && \
9060 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9062 done
9063 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9064 BEGIN {RS=" "; FS="/|\n";} {
9065 lt_foo="";
9066 lt_count=0;
9067 for (lt_i = NF; lt_i > 0; lt_i--) {
9068 if ($lt_i != "" && $lt_i != ".") {
9069 if ($lt_i == "..") {
9070 lt_count++;
9071 } else {
9072 if (lt_count == 0) {
9073 lt_foo="/" $lt_i lt_foo;
9074 } else {
9075 lt_count--;
9080 if (lt_foo != "") { lt_freq[lt_foo]++; }
9081 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9083 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9084 else
9085 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9087 library_names_spec=
9088 libname_spec='lib$name'
9089 soname_spec=
9090 shrext_cmds=".so"
9091 postinstall_cmds=
9092 postuninstall_cmds=
9093 finish_cmds=
9094 finish_eval=
9095 shlibpath_var=
9096 shlibpath_overrides_runpath=unknown
9097 version_type=none
9098 dynamic_linker="$host_os ld.so"
9099 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9100 need_lib_prefix=unknown
9101 hardcode_into_libs=no
9103 # when you set need_version to no, make sure it does not cause -set_version
9104 # flags to be left without arguments
9105 need_version=unknown
9107 case $host_os in
9108 aix3*)
9109 version_type=linux
9110 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9111 shlibpath_var=LIBPATH
9113 # AIX 3 has no versioning support, so we append a major version to the name.
9114 soname_spec='${libname}${release}${shared_ext}$major'
9117 aix4* | aix5*)
9118 version_type=linux
9119 need_lib_prefix=no
9120 need_version=no
9121 hardcode_into_libs=yes
9122 if test "$host_cpu" = ia64; then
9123 # AIX 5 supports IA64
9124 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9125 shlibpath_var=LD_LIBRARY_PATH
9126 else
9127 # With GCC up to 2.95.x, collect2 would create an import file
9128 # for dependence libraries. The import file would start with
9129 # the line `#! .'. This would cause the generated library to
9130 # depend on `.', always an invalid library. This was fixed in
9131 # development snapshots of GCC prior to 3.0.
9132 case $host_os in
9133 aix4 | aix4.[01] | aix4.[01].*)
9134 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9135 echo ' yes '
9136 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9138 else
9139 can_build_shared=no
9142 esac
9143 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9144 # soname into executable. Probably we can add versioning support to
9145 # collect2, so additional links can be useful in future.
9146 if test "$aix_use_runtimelinking" = yes; then
9147 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9148 # instead of lib<name>.a to let people know that these are not
9149 # typical AIX shared libraries.
9150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9151 else
9152 # We preserve .a as extension for shared libraries through AIX4.2
9153 # and later when we are not doing run time linking.
9154 library_names_spec='${libname}${release}.a $libname.a'
9155 soname_spec='${libname}${release}${shared_ext}$major'
9157 shlibpath_var=LIBPATH
9161 amigaos*)
9162 if test "$host_cpu" = m68k; then
9163 library_names_spec='$libname.ixlibrary $libname.a'
9164 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9165 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'
9166 else
9167 dynamic_linker=no
9171 beos*)
9172 library_names_spec='${libname}${shared_ext}'
9173 dynamic_linker="$host_os ld.so"
9174 shlibpath_var=LIBRARY_PATH
9177 bsdi[45]*)
9178 version_type=linux
9179 need_version=no
9180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9181 soname_spec='${libname}${release}${shared_ext}$major'
9182 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9183 shlibpath_var=LD_LIBRARY_PATH
9184 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9185 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9186 # the default ld.so.conf also contains /usr/contrib/lib and
9187 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9188 # libtool to hard-code these into programs
9191 cygwin* | mingw* | pw32*)
9192 version_type=windows
9193 shrext_cmds=".dll"
9194 need_version=no
9195 need_lib_prefix=no
9197 case $withGCC,$host_os in
9198 yes,cygwin* | yes,mingw* | yes,pw32*)
9199 library_names_spec='$libname.dll.a'
9200 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9201 postinstall_cmds='base_file=`basename \${file}`~
9202 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9203 dldir=$destdir/`dirname \$dlpath`~
9204 test -d \$dldir || mkdir -p \$dldir~
9205 $install_prog $dir/$dlname \$dldir/$dlname~
9206 chmod a+x \$dldir/$dlname~
9207 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9208 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9210 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9211 dlpath=$dir/\$dldll~
9212 $RM \$dlpath'
9213 shlibpath_overrides_runpath=yes
9215 case $host_os in
9216 cygwin*)
9217 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9218 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9219 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9221 mingw*)
9222 # MinGW DLLs use traditional 'lib' prefix
9223 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9224 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9225 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9226 # It is most probably a Windows format PATH printed by
9227 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9228 # path with ; separators, and with drive letters. We can handle the
9229 # drive letters (cygwin fileutils understands them), so leave them,
9230 # especially as we might pass files found there to a mingw objdump,
9231 # which wouldn't understand a cygwinified path. Ahh.
9232 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9233 else
9234 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9237 pw32*)
9238 # pw32 DLLs use 'pw' prefix rather than 'lib'
9239 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9241 esac
9245 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9247 esac
9248 dynamic_linker='Win32 ld.exe'
9249 # FIXME: first we should search . and the directory the executable is in
9250 shlibpath_var=PATH
9253 darwin* | rhapsody*)
9254 dynamic_linker="$host_os dyld"
9255 version_type=darwin
9256 need_lib_prefix=no
9257 need_version=no
9258 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9259 soname_spec='${libname}${release}${major}$shared_ext'
9260 shlibpath_overrides_runpath=yes
9261 shlibpath_var=DYLD_LIBRARY_PATH
9262 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9264 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9265 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9268 dgux*)
9269 version_type=linux
9270 need_lib_prefix=no
9271 need_version=no
9272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9273 soname_spec='${libname}${release}${shared_ext}$major'
9274 shlibpath_var=LD_LIBRARY_PATH
9277 freebsd1*)
9278 dynamic_linker=no
9281 freebsd* | dragonfly*)
9282 # DragonFly does not have aout. When/if they implement a new
9283 # versioning mechanism, adjust this.
9284 if test -x /usr/bin/objformat; then
9285 objformat=`/usr/bin/objformat`
9286 else
9287 case $host_os in
9288 freebsd[123]*) objformat=aout ;;
9289 *) objformat=elf ;;
9290 esac
9292 version_type=freebsd-$objformat
9293 case $version_type in
9294 freebsd-elf*)
9295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9296 need_version=no
9297 need_lib_prefix=no
9299 freebsd-*)
9300 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9301 need_version=yes
9303 esac
9304 shlibpath_var=LD_LIBRARY_PATH
9305 case $host_os in
9306 freebsd2*)
9307 shlibpath_overrides_runpath=yes
9309 freebsd3.[01]* | freebsdelf3.[01]*)
9310 shlibpath_overrides_runpath=yes
9311 hardcode_into_libs=yes
9313 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9314 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9315 shlibpath_overrides_runpath=no
9316 hardcode_into_libs=yes
9318 *) # from 4.6 on, and DragonFly
9319 shlibpath_overrides_runpath=yes
9320 hardcode_into_libs=yes
9322 esac
9325 gnu*)
9326 version_type=linux
9327 need_lib_prefix=no
9328 need_version=no
9329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9330 soname_spec='${libname}${release}${shared_ext}$major'
9331 shlibpath_var=LD_LIBRARY_PATH
9332 hardcode_into_libs=yes
9335 hpux9* | hpux10* | hpux11*)
9336 # Give a soname corresponding to the major version so that dld.sl refuses to
9337 # link against other versions.
9338 version_type=sunos
9339 need_lib_prefix=no
9340 need_version=no
9341 case $host_cpu in
9342 ia64*)
9343 shrext_cmds='.so'
9344 hardcode_into_libs=yes
9345 dynamic_linker="$host_os dld.so"
9346 shlibpath_var=LD_LIBRARY_PATH
9347 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9349 soname_spec='${libname}${release}${shared_ext}$major'
9350 if test "X$HPUX_IA64_MODE" = X32; then
9351 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9352 else
9353 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9355 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9357 hppa*64*)
9358 shrext_cmds='.sl'
9359 hardcode_into_libs=yes
9360 dynamic_linker="$host_os dld.sl"
9361 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9362 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9364 soname_spec='${libname}${release}${shared_ext}$major'
9365 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9366 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9369 shrext_cmds='.sl'
9370 dynamic_linker="$host_os dld.sl"
9371 shlibpath_var=SHLIB_PATH
9372 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9374 soname_spec='${libname}${release}${shared_ext}$major'
9376 esac
9377 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9378 postinstall_cmds='chmod 555 $lib'
9381 interix[3-9]*)
9382 version_type=linux
9383 need_lib_prefix=no
9384 need_version=no
9385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9386 soname_spec='${libname}${release}${shared_ext}$major'
9387 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9388 shlibpath_var=LD_LIBRARY_PATH
9389 shlibpath_overrides_runpath=no
9390 hardcode_into_libs=yes
9393 irix5* | irix6* | nonstopux*)
9394 case $host_os in
9395 nonstopux*) version_type=nonstopux ;;
9397 if test "$lt_cv_prog_gnu_ld" = yes; then
9398 version_type=linux
9399 else
9400 version_type=irix
9401 fi ;;
9402 esac
9403 need_lib_prefix=no
9404 need_version=no
9405 soname_spec='${libname}${release}${shared_ext}$major'
9406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9407 case $host_os in
9408 irix5* | nonstopux*)
9409 libsuff= shlibsuff=
9412 case $LD in # libtool.m4 will add one of these switches to LD
9413 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9414 libsuff= shlibsuff= libmagic=32-bit;;
9415 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9416 libsuff=32 shlibsuff=N32 libmagic=N32;;
9417 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9418 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9419 *) libsuff= shlibsuff= libmagic=never-match;;
9420 esac
9422 esac
9423 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9424 shlibpath_overrides_runpath=no
9425 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9426 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9427 hardcode_into_libs=yes
9430 # No shared lib support for Linux oldld, aout, or coff.
9431 linux*oldld* | linux*aout* | linux*coff*)
9432 dynamic_linker=no
9435 # This must be Linux ELF.
9436 linux* | k*bsd*-gnu)
9437 version_type=linux
9438 need_lib_prefix=no
9439 need_version=no
9440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9441 soname_spec='${libname}${release}${shared_ext}$major'
9442 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9443 shlibpath_var=LD_LIBRARY_PATH
9444 shlibpath_overrides_runpath=no
9445 # Some binutils ld are patched to set DT_RUNPATH
9446 save_LDFLAGS=$LDFLAGS
9447 save_libdir=$libdir
9448 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9449 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9450 if test x$gcc_no_link = xyes; then
9451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9453 { (exit 1); exit 1; }; }
9455 cat >conftest.$ac_ext <<_ACEOF
9456 /* confdefs.h. */
9457 _ACEOF
9458 cat confdefs.h >>conftest.$ac_ext
9459 cat >>conftest.$ac_ext <<_ACEOF
9460 /* end confdefs.h. */
9463 main ()
9467 return 0;
9469 _ACEOF
9470 rm -f conftest.$ac_objext conftest$ac_exeext
9471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9472 (eval $ac_link) 2>conftest.er1
9473 ac_status=$?
9474 grep -v '^ *+' conftest.er1 >conftest.err
9475 rm -f conftest.er1
9476 cat conftest.err >&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); } &&
9479 { ac_try='test -z "$ac_c_werror_flag"
9480 || test ! -s conftest.err'
9481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9482 (eval $ac_try) 2>&5
9483 ac_status=$?
9484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9485 (exit $ac_status); }; } &&
9486 { ac_try='test -s conftest$ac_exeext'
9487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9488 (eval $ac_try) 2>&5
9489 ac_status=$?
9490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 (exit $ac_status); }; }; then
9492 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9493 shlibpath_overrides_runpath=yes
9496 else
9497 echo "$as_me: failed program was:" >&5
9498 sed 's/^/| /' conftest.$ac_ext >&5
9501 rm -f conftest.err conftest.$ac_objext \
9502 conftest$ac_exeext conftest.$ac_ext
9503 LDFLAGS=$save_LDFLAGS
9504 libdir=$save_libdir
9506 # This implies no fast_install, which is unacceptable.
9507 # Some rework will be needed to allow for fast_install
9508 # before this can be enabled.
9509 hardcode_into_libs=yes
9511 # Append ld.so.conf contents to the search path
9512 if test -f /etc/ld.so.conf; then
9513 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9514 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9517 # We used to test for /lib/ld.so.1 and disable shared libraries on
9518 # powerpc, because MkLinux only supported shared libraries with the
9519 # GNU dynamic linker. Since this was broken with cross compilers,
9520 # most powerpc-linux boxes support dynamic linking these days and
9521 # people can always --disable-shared, the test was removed, and we
9522 # assume the GNU/Linux dynamic linker is in use.
9523 dynamic_linker='GNU/Linux ld.so'
9526 netbsd*)
9527 version_type=sunos
9528 need_lib_prefix=no
9529 need_version=no
9530 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9532 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9533 dynamic_linker='NetBSD (a.out) ld.so'
9534 else
9535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9536 soname_spec='${libname}${release}${shared_ext}$major'
9537 dynamic_linker='NetBSD ld.elf_so'
9539 shlibpath_var=LD_LIBRARY_PATH
9540 shlibpath_overrides_runpath=yes
9541 hardcode_into_libs=yes
9544 newsos6)
9545 version_type=linux
9546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9547 shlibpath_var=LD_LIBRARY_PATH
9548 shlibpath_overrides_runpath=yes
9551 *nto* | *qnx*)
9552 version_type=qnx
9553 need_lib_prefix=no
9554 need_version=no
9555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9556 soname_spec='${libname}${release}${shared_ext}$major'
9557 shlibpath_var=LD_LIBRARY_PATH
9558 shlibpath_overrides_runpath=no
9559 hardcode_into_libs=yes
9560 dynamic_linker='ldqnx.so'
9563 openbsd*)
9564 version_type=sunos
9565 sys_lib_dlsearch_path_spec="/usr/lib"
9566 need_lib_prefix=no
9567 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9568 case $host_os in
9569 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9570 *) need_version=no ;;
9571 esac
9572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9573 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9574 shlibpath_var=LD_LIBRARY_PATH
9575 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9576 case $host_os in
9577 openbsd2.[89] | openbsd2.[89].*)
9578 shlibpath_overrides_runpath=no
9581 shlibpath_overrides_runpath=yes
9583 esac
9584 else
9585 shlibpath_overrides_runpath=yes
9589 os2*)
9590 libname_spec='$name'
9591 shrext_cmds=".dll"
9592 need_lib_prefix=no
9593 library_names_spec='$libname${shared_ext} $libname.a'
9594 dynamic_linker='OS/2 ld.exe'
9595 shlibpath_var=LIBPATH
9598 osf3* | osf4* | osf5*)
9599 version_type=osf
9600 need_lib_prefix=no
9601 need_version=no
9602 soname_spec='${libname}${release}${shared_ext}$major'
9603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9604 shlibpath_var=LD_LIBRARY_PATH
9605 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9606 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9609 rdos*)
9610 dynamic_linker=no
9613 solaris*)
9614 version_type=linux
9615 need_lib_prefix=no
9616 need_version=no
9617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9618 soname_spec='${libname}${release}${shared_ext}$major'
9619 shlibpath_var=LD_LIBRARY_PATH
9620 shlibpath_overrides_runpath=yes
9621 hardcode_into_libs=yes
9622 # ldd complains unless libraries are executable
9623 postinstall_cmds='chmod +x $lib'
9626 sunos4*)
9627 version_type=sunos
9628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9629 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9630 shlibpath_var=LD_LIBRARY_PATH
9631 shlibpath_overrides_runpath=yes
9632 if test "$with_gnu_ld" = yes; then
9633 need_lib_prefix=no
9635 need_version=yes
9638 sysv4 | sysv4.3*)
9639 version_type=linux
9640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9641 soname_spec='${libname}${release}${shared_ext}$major'
9642 shlibpath_var=LD_LIBRARY_PATH
9643 case $host_vendor in
9644 sni)
9645 shlibpath_overrides_runpath=no
9646 need_lib_prefix=no
9647 runpath_var=LD_RUN_PATH
9649 siemens)
9650 need_lib_prefix=no
9652 motorola)
9653 need_lib_prefix=no
9654 need_version=no
9655 shlibpath_overrides_runpath=no
9656 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9658 esac
9661 sysv4*MP*)
9662 if test -d /usr/nec ;then
9663 version_type=linux
9664 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9665 soname_spec='$libname${shared_ext}.$major'
9666 shlibpath_var=LD_LIBRARY_PATH
9670 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9671 version_type=freebsd-elf
9672 need_lib_prefix=no
9673 need_version=no
9674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9675 soname_spec='${libname}${release}${shared_ext}$major'
9676 shlibpath_var=LD_LIBRARY_PATH
9677 shlibpath_overrides_runpath=yes
9678 hardcode_into_libs=yes
9679 if test "$with_gnu_ld" = yes; then
9680 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9681 else
9682 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9683 case $host_os in
9684 sco3.2v5*)
9685 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9687 esac
9689 sys_lib_dlsearch_path_spec='/usr/lib'
9692 tpf*)
9693 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9694 version_type=linux
9695 need_lib_prefix=no
9696 need_version=no
9697 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9698 shlibpath_var=LD_LIBRARY_PATH
9699 shlibpath_overrides_runpath=no
9700 hardcode_into_libs=yes
9703 uts4*)
9704 version_type=linux
9705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9706 soname_spec='${libname}${release}${shared_ext}$major'
9707 shlibpath_var=LD_LIBRARY_PATH
9711 dynamic_linker=no
9713 esac
9714 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9715 echo "${ECHO_T}$dynamic_linker" >&6
9716 test "$dynamic_linker" = no && can_build_shared=no
9718 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9719 if test "$GCC" = yes; then
9720 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9809 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9810 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9811 hardcode_action=
9812 if test -n "$hardcode_libdir_flag_spec" ||
9813 test -n "$runpath_var" ||
9814 test "X$hardcode_automatic" = "Xyes" ; then
9816 # We can hardcode non-existent directories.
9817 if test "$hardcode_direct" != no &&
9818 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9819 # have to relink, otherwise we might link with an installed library
9820 # when we should be linking with a yet-to-be-installed one
9821 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9822 test "$hardcode_minus_L" != no; then
9823 # Linking always hardcodes the temporary library directory.
9824 hardcode_action=relink
9825 else
9826 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9827 hardcode_action=immediate
9829 else
9830 # We cannot hardcode anything, or else we can only hardcode existing
9831 # directories.
9832 hardcode_action=unsupported
9834 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9835 echo "${ECHO_T}$hardcode_action" >&6
9837 if test "$hardcode_action" = relink ||
9838 test "$inherit_rpath" = yes; then
9839 # Fast installation is not supported
9840 enable_fast_install=no
9841 elif test "$shlibpath_overrides_runpath" = yes ||
9842 test "$enable_shared" = no; then
9843 # Fast installation is not necessary
9844 enable_fast_install=needless
9852 if test "x$enable_dlopen" != xyes; then
9853 enable_dlopen=unknown
9854 enable_dlopen_self=unknown
9855 enable_dlopen_self_static=unknown
9856 else
9857 lt_cv_dlopen=no
9858 lt_cv_dlopen_libs=
9860 case $host_os in
9861 beos*)
9862 lt_cv_dlopen="load_add_on"
9863 lt_cv_dlopen_libs=
9864 lt_cv_dlopen_self=yes
9867 mingw* | pw32*)
9868 lt_cv_dlopen="LoadLibrary"
9869 lt_cv_dlopen_libs=
9872 cygwin*)
9873 lt_cv_dlopen="dlopen"
9874 lt_cv_dlopen_libs=
9877 darwin*)
9878 # if libdl is installed we need to link against it
9879 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9880 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9881 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9882 echo $ECHO_N "(cached) $ECHO_C" >&6
9883 else
9884 ac_check_lib_save_LIBS=$LIBS
9885 LIBS="-ldl $LIBS"
9886 if test x$gcc_no_link = xyes; then
9887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9889 { (exit 1); exit 1; }; }
9891 cat >conftest.$ac_ext <<_ACEOF
9892 /* confdefs.h. */
9893 _ACEOF
9894 cat confdefs.h >>conftest.$ac_ext
9895 cat >>conftest.$ac_ext <<_ACEOF
9896 /* end confdefs.h. */
9898 /* Override any gcc2 internal prototype to avoid an error. */
9899 #ifdef __cplusplus
9900 extern "C"
9901 #endif
9902 /* We use char because int might match the return type of a gcc2
9903 builtin and then its argument prototype would still apply. */
9904 char dlopen ();
9906 main ()
9908 dlopen ();
9910 return 0;
9912 _ACEOF
9913 rm -f conftest.$ac_objext conftest$ac_exeext
9914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9915 (eval $ac_link) 2>conftest.er1
9916 ac_status=$?
9917 grep -v '^ *+' conftest.er1 >conftest.err
9918 rm -f conftest.er1
9919 cat conftest.err >&5
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); } &&
9922 { ac_try='test -z "$ac_c_werror_flag"
9923 || test ! -s conftest.err'
9924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925 (eval $ac_try) 2>&5
9926 ac_status=$?
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); }; } &&
9929 { ac_try='test -s conftest$ac_exeext'
9930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9931 (eval $ac_try) 2>&5
9932 ac_status=$?
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); }; }; then
9935 ac_cv_lib_dl_dlopen=yes
9936 else
9937 echo "$as_me: failed program was:" >&5
9938 sed 's/^/| /' conftest.$ac_ext >&5
9940 ac_cv_lib_dl_dlopen=no
9942 rm -f conftest.err conftest.$ac_objext \
9943 conftest$ac_exeext conftest.$ac_ext
9944 LIBS=$ac_check_lib_save_LIBS
9946 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9947 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9948 if test $ac_cv_lib_dl_dlopen = yes; then
9949 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9950 else
9952 lt_cv_dlopen="dyld"
9953 lt_cv_dlopen_libs=
9954 lt_cv_dlopen_self=yes
9961 echo "$as_me:$LINENO: checking for shl_load" >&5
9962 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9963 if test "${ac_cv_func_shl_load+set}" = set; then
9964 echo $ECHO_N "(cached) $ECHO_C" >&6
9965 else
9966 if test x$gcc_no_link = xyes; then
9967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9969 { (exit 1); exit 1; }; }
9971 cat >conftest.$ac_ext <<_ACEOF
9972 /* confdefs.h. */
9973 _ACEOF
9974 cat confdefs.h >>conftest.$ac_ext
9975 cat >>conftest.$ac_ext <<_ACEOF
9976 /* end confdefs.h. */
9977 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9979 #define shl_load innocuous_shl_load
9981 /* System header to define __stub macros and hopefully few prototypes,
9982 which can conflict with char shl_load (); below.
9983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9984 <limits.h> exists even on freestanding compilers. */
9986 #ifdef __STDC__
9987 # include <limits.h>
9988 #else
9989 # include <assert.h>
9990 #endif
9992 #undef shl_load
9994 /* Override any gcc2 internal prototype to avoid an error. */
9995 #ifdef __cplusplus
9996 extern "C"
9998 #endif
9999 /* We use char because int might match the return type of a gcc2
10000 builtin and then its argument prototype would still apply. */
10001 char shl_load ();
10002 /* The GNU C library defines this for functions which it implements
10003 to always fail with ENOSYS. Some functions are actually named
10004 something starting with __ and the normal name is an alias. */
10005 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10006 choke me
10007 #else
10008 char (*f) () = shl_load;
10009 #endif
10010 #ifdef __cplusplus
10012 #endif
10015 main ()
10017 return f != shl_load;
10019 return 0;
10021 _ACEOF
10022 rm -f conftest.$ac_objext conftest$ac_exeext
10023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10024 (eval $ac_link) 2>conftest.er1
10025 ac_status=$?
10026 grep -v '^ *+' conftest.er1 >conftest.err
10027 rm -f conftest.er1
10028 cat conftest.err >&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); } &&
10031 { ac_try='test -z "$ac_c_werror_flag"
10032 || test ! -s conftest.err'
10033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10034 (eval $ac_try) 2>&5
10035 ac_status=$?
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); }; } &&
10038 { ac_try='test -s conftest$ac_exeext'
10039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10040 (eval $ac_try) 2>&5
10041 ac_status=$?
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 (exit $ac_status); }; }; then
10044 ac_cv_func_shl_load=yes
10045 else
10046 echo "$as_me: failed program was:" >&5
10047 sed 's/^/| /' conftest.$ac_ext >&5
10049 ac_cv_func_shl_load=no
10051 rm -f conftest.err conftest.$ac_objext \
10052 conftest$ac_exeext conftest.$ac_ext
10054 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10055 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10056 if test $ac_cv_func_shl_load = yes; then
10057 lt_cv_dlopen="shl_load"
10058 else
10059 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10060 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10061 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10062 echo $ECHO_N "(cached) $ECHO_C" >&6
10063 else
10064 ac_check_lib_save_LIBS=$LIBS
10065 LIBS="-ldld $LIBS"
10066 if test x$gcc_no_link = xyes; then
10067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10069 { (exit 1); exit 1; }; }
10071 cat >conftest.$ac_ext <<_ACEOF
10072 /* confdefs.h. */
10073 _ACEOF
10074 cat confdefs.h >>conftest.$ac_ext
10075 cat >>conftest.$ac_ext <<_ACEOF
10076 /* end confdefs.h. */
10078 /* Override any gcc2 internal prototype to avoid an error. */
10079 #ifdef __cplusplus
10080 extern "C"
10081 #endif
10082 /* We use char because int might match the return type of a gcc2
10083 builtin and then its argument prototype would still apply. */
10084 char shl_load ();
10086 main ()
10088 shl_load ();
10090 return 0;
10092 _ACEOF
10093 rm -f conftest.$ac_objext conftest$ac_exeext
10094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10095 (eval $ac_link) 2>conftest.er1
10096 ac_status=$?
10097 grep -v '^ *+' conftest.er1 >conftest.err
10098 rm -f conftest.er1
10099 cat conftest.err >&5
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); } &&
10102 { ac_try='test -z "$ac_c_werror_flag"
10103 || test ! -s conftest.err'
10104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10105 (eval $ac_try) 2>&5
10106 ac_status=$?
10107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108 (exit $ac_status); }; } &&
10109 { ac_try='test -s conftest$ac_exeext'
10110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10111 (eval $ac_try) 2>&5
10112 ac_status=$?
10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); }; }; then
10115 ac_cv_lib_dld_shl_load=yes
10116 else
10117 echo "$as_me: failed program was:" >&5
10118 sed 's/^/| /' conftest.$ac_ext >&5
10120 ac_cv_lib_dld_shl_load=no
10122 rm -f conftest.err conftest.$ac_objext \
10123 conftest$ac_exeext conftest.$ac_ext
10124 LIBS=$ac_check_lib_save_LIBS
10126 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10127 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10128 if test $ac_cv_lib_dld_shl_load = yes; then
10129 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10130 else
10131 echo "$as_me:$LINENO: checking for dlopen" >&5
10132 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10133 if test "${ac_cv_func_dlopen+set}" = set; then
10134 echo $ECHO_N "(cached) $ECHO_C" >&6
10135 else
10136 if test x$gcc_no_link = xyes; then
10137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10139 { (exit 1); exit 1; }; }
10141 cat >conftest.$ac_ext <<_ACEOF
10142 /* confdefs.h. */
10143 _ACEOF
10144 cat confdefs.h >>conftest.$ac_ext
10145 cat >>conftest.$ac_ext <<_ACEOF
10146 /* end confdefs.h. */
10147 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10149 #define dlopen innocuous_dlopen
10151 /* System header to define __stub macros and hopefully few prototypes,
10152 which can conflict with char dlopen (); below.
10153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10154 <limits.h> exists even on freestanding compilers. */
10156 #ifdef __STDC__
10157 # include <limits.h>
10158 #else
10159 # include <assert.h>
10160 #endif
10162 #undef dlopen
10164 /* Override any gcc2 internal prototype to avoid an error. */
10165 #ifdef __cplusplus
10166 extern "C"
10168 #endif
10169 /* We use char because int might match the return type of a gcc2
10170 builtin and then its argument prototype would still apply. */
10171 char dlopen ();
10172 /* The GNU C library defines this for functions which it implements
10173 to always fail with ENOSYS. Some functions are actually named
10174 something starting with __ and the normal name is an alias. */
10175 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10176 choke me
10177 #else
10178 char (*f) () = dlopen;
10179 #endif
10180 #ifdef __cplusplus
10182 #endif
10185 main ()
10187 return f != dlopen;
10189 return 0;
10191 _ACEOF
10192 rm -f conftest.$ac_objext conftest$ac_exeext
10193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10194 (eval $ac_link) 2>conftest.er1
10195 ac_status=$?
10196 grep -v '^ *+' conftest.er1 >conftest.err
10197 rm -f conftest.er1
10198 cat conftest.err >&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); } &&
10201 { ac_try='test -z "$ac_c_werror_flag"
10202 || test ! -s conftest.err'
10203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10204 (eval $ac_try) 2>&5
10205 ac_status=$?
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); }; } &&
10208 { ac_try='test -s conftest$ac_exeext'
10209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10210 (eval $ac_try) 2>&5
10211 ac_status=$?
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); }; }; then
10214 ac_cv_func_dlopen=yes
10215 else
10216 echo "$as_me: failed program was:" >&5
10217 sed 's/^/| /' conftest.$ac_ext >&5
10219 ac_cv_func_dlopen=no
10221 rm -f conftest.err conftest.$ac_objext \
10222 conftest$ac_exeext conftest.$ac_ext
10224 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10225 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10226 if test $ac_cv_func_dlopen = yes; then
10227 lt_cv_dlopen="dlopen"
10228 else
10229 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10230 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10231 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10232 echo $ECHO_N "(cached) $ECHO_C" >&6
10233 else
10234 ac_check_lib_save_LIBS=$LIBS
10235 LIBS="-ldl $LIBS"
10236 if test x$gcc_no_link = xyes; then
10237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10239 { (exit 1); exit 1; }; }
10241 cat >conftest.$ac_ext <<_ACEOF
10242 /* confdefs.h. */
10243 _ACEOF
10244 cat confdefs.h >>conftest.$ac_ext
10245 cat >>conftest.$ac_ext <<_ACEOF
10246 /* end confdefs.h. */
10248 /* Override any gcc2 internal prototype to avoid an error. */
10249 #ifdef __cplusplus
10250 extern "C"
10251 #endif
10252 /* We use char because int might match the return type of a gcc2
10253 builtin and then its argument prototype would still apply. */
10254 char dlopen ();
10256 main ()
10258 dlopen ();
10260 return 0;
10262 _ACEOF
10263 rm -f conftest.$ac_objext conftest$ac_exeext
10264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10265 (eval $ac_link) 2>conftest.er1
10266 ac_status=$?
10267 grep -v '^ *+' conftest.er1 >conftest.err
10268 rm -f conftest.er1
10269 cat conftest.err >&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); } &&
10272 { ac_try='test -z "$ac_c_werror_flag"
10273 || test ! -s conftest.err'
10274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10275 (eval $ac_try) 2>&5
10276 ac_status=$?
10277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278 (exit $ac_status); }; } &&
10279 { ac_try='test -s conftest$ac_exeext'
10280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10281 (eval $ac_try) 2>&5
10282 ac_status=$?
10283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10284 (exit $ac_status); }; }; then
10285 ac_cv_lib_dl_dlopen=yes
10286 else
10287 echo "$as_me: failed program was:" >&5
10288 sed 's/^/| /' conftest.$ac_ext >&5
10290 ac_cv_lib_dl_dlopen=no
10292 rm -f conftest.err conftest.$ac_objext \
10293 conftest$ac_exeext conftest.$ac_ext
10294 LIBS=$ac_check_lib_save_LIBS
10296 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10297 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10298 if test $ac_cv_lib_dl_dlopen = yes; then
10299 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10300 else
10301 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10302 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10303 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10305 else
10306 ac_check_lib_save_LIBS=$LIBS
10307 LIBS="-lsvld $LIBS"
10308 if test x$gcc_no_link = xyes; then
10309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10311 { (exit 1); exit 1; }; }
10313 cat >conftest.$ac_ext <<_ACEOF
10314 /* confdefs.h. */
10315 _ACEOF
10316 cat confdefs.h >>conftest.$ac_ext
10317 cat >>conftest.$ac_ext <<_ACEOF
10318 /* end confdefs.h. */
10320 /* Override any gcc2 internal prototype to avoid an error. */
10321 #ifdef __cplusplus
10322 extern "C"
10323 #endif
10324 /* We use char because int might match the return type of a gcc2
10325 builtin and then its argument prototype would still apply. */
10326 char dlopen ();
10328 main ()
10330 dlopen ();
10332 return 0;
10334 _ACEOF
10335 rm -f conftest.$ac_objext conftest$ac_exeext
10336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10337 (eval $ac_link) 2>conftest.er1
10338 ac_status=$?
10339 grep -v '^ *+' conftest.er1 >conftest.err
10340 rm -f conftest.er1
10341 cat conftest.err >&5
10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343 (exit $ac_status); } &&
10344 { ac_try='test -z "$ac_c_werror_flag"
10345 || test ! -s conftest.err'
10346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10347 (eval $ac_try) 2>&5
10348 ac_status=$?
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); }; } &&
10351 { ac_try='test -s conftest$ac_exeext'
10352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10353 (eval $ac_try) 2>&5
10354 ac_status=$?
10355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 (exit $ac_status); }; }; then
10357 ac_cv_lib_svld_dlopen=yes
10358 else
10359 echo "$as_me: failed program was:" >&5
10360 sed 's/^/| /' conftest.$ac_ext >&5
10362 ac_cv_lib_svld_dlopen=no
10364 rm -f conftest.err conftest.$ac_objext \
10365 conftest$ac_exeext conftest.$ac_ext
10366 LIBS=$ac_check_lib_save_LIBS
10368 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10369 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10370 if test $ac_cv_lib_svld_dlopen = yes; then
10371 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10372 else
10373 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10374 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10375 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10376 echo $ECHO_N "(cached) $ECHO_C" >&6
10377 else
10378 ac_check_lib_save_LIBS=$LIBS
10379 LIBS="-ldld $LIBS"
10380 if test x$gcc_no_link = xyes; then
10381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10383 { (exit 1); exit 1; }; }
10385 cat >conftest.$ac_ext <<_ACEOF
10386 /* confdefs.h. */
10387 _ACEOF
10388 cat confdefs.h >>conftest.$ac_ext
10389 cat >>conftest.$ac_ext <<_ACEOF
10390 /* end confdefs.h. */
10392 /* Override any gcc2 internal prototype to avoid an error. */
10393 #ifdef __cplusplus
10394 extern "C"
10395 #endif
10396 /* We use char because int might match the return type of a gcc2
10397 builtin and then its argument prototype would still apply. */
10398 char dld_link ();
10400 main ()
10402 dld_link ();
10404 return 0;
10406 _ACEOF
10407 rm -f conftest.$ac_objext conftest$ac_exeext
10408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10409 (eval $ac_link) 2>conftest.er1
10410 ac_status=$?
10411 grep -v '^ *+' conftest.er1 >conftest.err
10412 rm -f conftest.er1
10413 cat conftest.err >&5
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); } &&
10416 { ac_try='test -z "$ac_c_werror_flag"
10417 || test ! -s conftest.err'
10418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10419 (eval $ac_try) 2>&5
10420 ac_status=$?
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); }; } &&
10423 { ac_try='test -s conftest$ac_exeext'
10424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10425 (eval $ac_try) 2>&5
10426 ac_status=$?
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); }; }; then
10429 ac_cv_lib_dld_dld_link=yes
10430 else
10431 echo "$as_me: failed program was:" >&5
10432 sed 's/^/| /' conftest.$ac_ext >&5
10434 ac_cv_lib_dld_dld_link=no
10436 rm -f conftest.err conftest.$ac_objext \
10437 conftest$ac_exeext conftest.$ac_ext
10438 LIBS=$ac_check_lib_save_LIBS
10440 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10441 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10442 if test $ac_cv_lib_dld_dld_link = yes; then
10443 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10462 esac
10464 if test "x$lt_cv_dlopen" != xno; then
10465 enable_dlopen=yes
10466 else
10467 enable_dlopen=no
10470 case $lt_cv_dlopen in
10471 dlopen)
10472 save_CPPFLAGS="$CPPFLAGS"
10473 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10475 save_LDFLAGS="$LDFLAGS"
10476 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10478 save_LIBS="$LIBS"
10479 LIBS="$lt_cv_dlopen_libs $LIBS"
10481 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10482 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10483 if test "${lt_cv_dlopen_self+set}" = set; then
10484 echo $ECHO_N "(cached) $ECHO_C" >&6
10485 else
10486 if test "$cross_compiling" = yes; then :
10487 lt_cv_dlopen_self=cross
10488 else
10489 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10490 lt_status=$lt_dlunknown
10491 cat > conftest.$ac_ext <<_LT_EOF
10492 #line 10492 "configure"
10493 #include "confdefs.h"
10495 #if HAVE_DLFCN_H
10496 #include <dlfcn.h>
10497 #endif
10499 #include <stdio.h>
10501 #ifdef RTLD_GLOBAL
10502 # define LT_DLGLOBAL RTLD_GLOBAL
10503 #else
10504 # ifdef DL_GLOBAL
10505 # define LT_DLGLOBAL DL_GLOBAL
10506 # else
10507 # define LT_DLGLOBAL 0
10508 # endif
10509 #endif
10511 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10512 find out it does not work in some platform. */
10513 #ifndef LT_DLLAZY_OR_NOW
10514 # ifdef RTLD_LAZY
10515 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10516 # else
10517 # ifdef DL_LAZY
10518 # define LT_DLLAZY_OR_NOW DL_LAZY
10519 # else
10520 # ifdef RTLD_NOW
10521 # define LT_DLLAZY_OR_NOW RTLD_NOW
10522 # else
10523 # ifdef DL_NOW
10524 # define LT_DLLAZY_OR_NOW DL_NOW
10525 # else
10526 # define LT_DLLAZY_OR_NOW 0
10527 # endif
10528 # endif
10529 # endif
10530 # endif
10531 #endif
10533 #ifdef __cplusplus
10534 extern "C" void exit (int);
10535 #endif
10537 void fnord() { int i=42;}
10538 int main ()
10540 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10541 int status = $lt_dlunknown;
10543 if (self)
10545 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10546 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10547 /* dlclose (self); */
10549 else
10550 puts (dlerror ());
10552 exit (status);
10554 _LT_EOF
10555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10556 (eval $ac_link) 2>&5
10557 ac_status=$?
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10560 (./conftest; exit; ) >&5 2>/dev/null
10561 lt_status=$?
10562 case x$lt_status in
10563 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10564 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10565 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10566 esac
10567 else :
10568 # compilation failed
10569 lt_cv_dlopen_self=no
10572 rm -fr conftest*
10576 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10577 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10579 if test "x$lt_cv_dlopen_self" = xyes; then
10580 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10581 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10582 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10583 if test "${lt_cv_dlopen_self_static+set}" = set; then
10584 echo $ECHO_N "(cached) $ECHO_C" >&6
10585 else
10586 if test "$cross_compiling" = yes; then :
10587 lt_cv_dlopen_self_static=cross
10588 else
10589 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10590 lt_status=$lt_dlunknown
10591 cat > conftest.$ac_ext <<_LT_EOF
10592 #line 10592 "configure"
10593 #include "confdefs.h"
10595 #if HAVE_DLFCN_H
10596 #include <dlfcn.h>
10597 #endif
10599 #include <stdio.h>
10601 #ifdef RTLD_GLOBAL
10602 # define LT_DLGLOBAL RTLD_GLOBAL
10603 #else
10604 # ifdef DL_GLOBAL
10605 # define LT_DLGLOBAL DL_GLOBAL
10606 # else
10607 # define LT_DLGLOBAL 0
10608 # endif
10609 #endif
10611 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10612 find out it does not work in some platform. */
10613 #ifndef LT_DLLAZY_OR_NOW
10614 # ifdef RTLD_LAZY
10615 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10616 # else
10617 # ifdef DL_LAZY
10618 # define LT_DLLAZY_OR_NOW DL_LAZY
10619 # else
10620 # ifdef RTLD_NOW
10621 # define LT_DLLAZY_OR_NOW RTLD_NOW
10622 # else
10623 # ifdef DL_NOW
10624 # define LT_DLLAZY_OR_NOW DL_NOW
10625 # else
10626 # define LT_DLLAZY_OR_NOW 0
10627 # endif
10628 # endif
10629 # endif
10630 # endif
10631 #endif
10633 #ifdef __cplusplus
10634 extern "C" void exit (int);
10635 #endif
10637 void fnord() { int i=42;}
10638 int main ()
10640 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10641 int status = $lt_dlunknown;
10643 if (self)
10645 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10646 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10647 /* dlclose (self); */
10649 else
10650 puts (dlerror ());
10652 exit (status);
10654 _LT_EOF
10655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10656 (eval $ac_link) 2>&5
10657 ac_status=$?
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10660 (./conftest; exit; ) >&5 2>/dev/null
10661 lt_status=$?
10662 case x$lt_status in
10663 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10664 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10665 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10666 esac
10667 else :
10668 # compilation failed
10669 lt_cv_dlopen_self_static=no
10672 rm -fr conftest*
10676 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10677 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10680 CPPFLAGS="$save_CPPFLAGS"
10681 LDFLAGS="$save_LDFLAGS"
10682 LIBS="$save_LIBS"
10684 esac
10686 case $lt_cv_dlopen_self in
10687 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10688 *) enable_dlopen_self=unknown ;;
10689 esac
10691 case $lt_cv_dlopen_self_static in
10692 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10693 *) enable_dlopen_self_static=unknown ;;
10694 esac
10713 striplib=
10714 old_striplib=
10715 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10716 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10717 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10718 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10719 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10720 echo "$as_me:$LINENO: result: yes" >&5
10721 echo "${ECHO_T}yes" >&6
10722 else
10723 # FIXME - insert some real tests, host_os isn't really good enough
10724 case $host_os in
10725 darwin*)
10726 if test -n "$STRIP" ; then
10727 striplib="$STRIP -x"
10728 old_striplib="$STRIP -S"
10729 echo "$as_me:$LINENO: result: yes" >&5
10730 echo "${ECHO_T}yes" >&6
10731 else
10732 echo "$as_me:$LINENO: result: no" >&5
10733 echo "${ECHO_T}no" >&6
10737 echo "$as_me:$LINENO: result: no" >&5
10738 echo "${ECHO_T}no" >&6
10740 esac
10754 # Report which library types will actually be built
10755 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10756 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10757 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10758 echo "${ECHO_T}$can_build_shared" >&6
10760 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10761 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10762 test "$can_build_shared" = "no" && enable_shared=no
10764 # On AIX, shared libraries and static libraries use the same namespace, and
10765 # are all built from PIC.
10766 case $host_os in
10767 aix3*)
10768 test "$enable_shared" = yes && enable_static=no
10769 if test -n "$RANLIB"; then
10770 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10771 postinstall_cmds='$RANLIB $lib'
10775 aix4* | aix5*)
10776 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10777 test "$enable_shared" = yes && enable_static=no
10780 esac
10781 echo "$as_me:$LINENO: result: $enable_shared" >&5
10782 echo "${ECHO_T}$enable_shared" >&6
10784 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10785 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10786 # Make sure either enable_shared or enable_static is yes.
10787 test "$enable_shared" = yes || enable_static=yes
10788 echo "$as_me:$LINENO: result: $enable_static" >&5
10789 echo "${ECHO_T}$enable_static" >&6
10795 ac_ext=c
10796 ac_cpp='$CPP $CPPFLAGS'
10797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10801 CC="$lt_save_CC"
10804 ac_ext=cc
10805 ac_cpp='$CXXCPP $CPPFLAGS'
10806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10810 archive_cmds_need_lc_CXX=no
10811 allow_undefined_flag_CXX=
10812 always_export_symbols_CXX=no
10813 archive_expsym_cmds_CXX=
10814 compiler_needs_object_CXX=no
10815 export_dynamic_flag_spec_CXX=
10816 hardcode_direct_CXX=no
10817 hardcode_direct_absolute_CXX=no
10818 hardcode_libdir_flag_spec_CXX=
10819 hardcode_libdir_flag_spec_ld_CXX=
10820 hardcode_libdir_separator_CXX=
10821 hardcode_minus_L_CXX=no
10822 hardcode_shlibpath_var_CXX=unsupported
10823 hardcode_automatic_CXX=no
10824 inherit_rpath_CXX=no
10825 module_cmds_CXX=
10826 module_expsym_cmds_CXX=
10827 link_all_deplibs_CXX=unknown
10828 old_archive_cmds_CXX=$old_archive_cmds
10829 no_undefined_flag_CXX=
10830 whole_archive_flag_spec_CXX=
10831 enable_shared_with_static_runtimes_CXX=no
10833 # Source file extension for C++ test sources.
10834 ac_ext=cpp
10836 # Object file extension for compiled C++ test sources.
10837 objext=o
10838 objext_CXX=$objext
10840 # No sense in running all these tests if we already determined that
10841 # the CXX compiler isn't working. Some variables (like enable_shared)
10842 # are currently assumed to apply to all compilers on this platform,
10843 # and will be corrupted by setting them based on a non-working compiler.
10844 if test "$_lt_caught_CXX_error" != yes; then
10845 # Code to be used in simple compile tests
10846 lt_simple_compile_test_code="int some_variable = 0;"
10848 # Code to be used in simple link tests
10849 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10851 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10858 # If no C compiler was specified, use CC.
10859 LTCC=${LTCC-"$CC"}
10861 # If no C compiler flags were specified, use CFLAGS.
10862 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10864 # Allow CC to be a program name with arguments.
10865 compiler=$CC
10868 # save warnings/boilerplate of simple test code
10869 ac_outfile=conftest.$ac_objext
10870 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10871 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10872 _lt_compiler_boilerplate=`cat conftest.err`
10873 $RM conftest*
10875 ac_outfile=conftest.$ac_objext
10876 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10877 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10878 _lt_linker_boilerplate=`cat conftest.err`
10879 $RM conftest*
10882 # Allow CC to be a program name with arguments.
10883 lt_save_CC=$CC
10884 lt_save_LD=$LD
10885 lt_save_GCC=$GCC
10886 GCC=$GXX
10887 lt_save_with_gnu_ld=$with_gnu_ld
10888 lt_save_path_LD=$lt_cv_path_LD
10889 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10890 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10891 else
10892 $as_unset lt_cv_prog_gnu_ld
10894 if test -n "${lt_cv_path_LDCXX+set}"; then
10895 lt_cv_path_LD=$lt_cv_path_LDCXX
10896 else
10897 $as_unset lt_cv_path_LD
10899 test -z "${LDCXX+set}" || LD=$LDCXX
10900 CC=${CXX-"c++"}
10901 compiler=$CC
10902 compiler_CXX=$CC
10903 for cc_temp in $compiler""; do
10904 case $cc_temp in
10905 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10906 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10907 \-*) ;;
10908 *) break;;
10909 esac
10910 done
10911 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10914 if test -n "$compiler"; then
10915 # We don't want -fno-exception when compiling C++ code, so set the
10916 # no_builtin_flag separately
10917 if test "$GXX" = yes; then
10918 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10919 else
10920 lt_prog_compiler_no_builtin_flag_CXX=
10923 if test "$GXX" = yes; then
10924 # Set up default GNU C++ configuration
10928 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10929 if test "${with_gnu_ld+set}" = set; then
10930 withval="$with_gnu_ld"
10931 test "$withval" = no || with_gnu_ld=yes
10932 else
10933 with_gnu_ld=no
10935 ac_prog=ld
10936 if test "$GCC" = yes; then
10937 # Check if gcc -print-prog-name=ld gives a path.
10938 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10939 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10940 case $host in
10941 *-*-mingw*)
10942 # gcc leaves a trailing carriage return which upsets mingw
10943 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10945 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10946 esac
10947 case $ac_prog in
10948 # Accept absolute paths.
10949 [\\/]* | ?:[\\/]*)
10950 re_direlt='/[^/][^/]*/\.\./'
10951 # Canonicalize the pathname of ld
10952 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10953 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10954 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10955 done
10956 test -z "$LD" && LD="$ac_prog"
10959 # If it fails, then pretend we aren't using GCC.
10960 ac_prog=ld
10963 # If it is relative, then search for the first ld in PATH.
10964 with_gnu_ld=unknown
10966 esac
10967 elif test "$with_gnu_ld" = yes; then
10968 echo "$as_me:$LINENO: checking for GNU ld" >&5
10969 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10970 else
10971 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10972 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10974 if test "${lt_cv_path_LD+set}" = set; then
10975 echo $ECHO_N "(cached) $ECHO_C" >&6
10976 else
10977 if test -z "$LD"; then
10978 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10979 for ac_dir in $PATH; do
10980 IFS="$lt_save_ifs"
10981 test -z "$ac_dir" && ac_dir=.
10982 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10983 lt_cv_path_LD="$ac_dir/$ac_prog"
10984 # Check to see if the program is GNU ld. I'd rather use --version,
10985 # but apparently some variants of GNU ld only accept -v.
10986 # Break only if it was the GNU/non-GNU ld that we prefer.
10987 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10988 *GNU* | *'with BFD'*)
10989 test "$with_gnu_ld" != no && break
10992 test "$with_gnu_ld" != yes && break
10994 esac
10996 done
10997 IFS="$lt_save_ifs"
10998 else
10999 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11003 LD="$lt_cv_path_LD"
11004 if test -n "$LD"; then
11005 echo "$as_me:$LINENO: result: $LD" >&5
11006 echo "${ECHO_T}$LD" >&6
11007 else
11008 echo "$as_me:$LINENO: result: no" >&5
11009 echo "${ECHO_T}no" >&6
11011 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11012 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11013 { (exit 1); exit 1; }; }
11014 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11015 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11016 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11017 echo $ECHO_N "(cached) $ECHO_C" >&6
11018 else
11019 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11020 case `$LD -v 2>&1 </dev/null` in
11021 *GNU* | *'with BFD'*)
11022 lt_cv_prog_gnu_ld=yes
11025 lt_cv_prog_gnu_ld=no
11027 esac
11029 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11030 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11031 with_gnu_ld=$lt_cv_prog_gnu_ld
11039 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11040 # archiving commands below assume that GNU ld is being used.
11041 if test "$with_gnu_ld" = yes; then
11042 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11043 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'
11045 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11046 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11048 # If archive_cmds runs LD, not CC, wlarc should be empty
11049 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11050 # investigate it a little bit more. (MM)
11051 wlarc='${wl}'
11053 # ancient GNU ld didn't support --whole-archive et. al.
11054 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11055 $GREP 'no-whole-archive' > /dev/null; then
11056 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11057 else
11058 whole_archive_flag_spec_CXX=
11060 else
11061 with_gnu_ld=no
11062 wlarc=
11064 # A generic and very simple default shared library creation
11065 # command for GNU C++ for the case where it uses the native
11066 # linker, instead of GNU ld. If possible, this setting should
11067 # overridden to take advantage of the native linker features on
11068 # the platform it is being used on.
11069 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11072 # Commands to make compiler produce verbose output that lists
11073 # what "hidden" libraries, object files and flags are used when
11074 # linking a shared library.
11075 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11077 else
11078 GXX=no
11079 with_gnu_ld=no
11080 wlarc=
11083 # PORTME: fill in a description of your system's C++ link characteristics
11084 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11085 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11086 ld_shlibs_CXX=yes
11087 case $host_os in
11088 aix3*)
11089 # FIXME: insert proper C++ library support
11090 ld_shlibs_CXX=no
11092 aix4* | aix5*)
11093 if test "$host_cpu" = ia64; then
11094 # On IA64, the linker does run time linking by default, so we don't
11095 # have to do anything special.
11096 aix_use_runtimelinking=no
11097 exp_sym_flag='-Bexport'
11098 no_entry_flag=""
11099 else
11100 aix_use_runtimelinking=no
11102 # Test if we are trying to use run time linking or normal
11103 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11104 # need to do runtime linking.
11105 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11106 for ld_flag in $LDFLAGS; do
11107 case $ld_flag in
11108 *-brtl*)
11109 aix_use_runtimelinking=yes
11110 break
11112 esac
11113 done
11115 esac
11117 exp_sym_flag='-bexport'
11118 no_entry_flag='-bnoentry'
11121 # When large executables or shared objects are built, AIX ld can
11122 # have problems creating the table of contents. If linking a library
11123 # or program results in "error TOC overflow" add -mminimal-toc to
11124 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11125 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11127 archive_cmds_CXX=''
11128 hardcode_direct_CXX=yes
11129 hardcode_direct_absolute_CXX=yes
11130 hardcode_libdir_separator_CXX=':'
11131 link_all_deplibs_CXX=yes
11132 file_list_spec_CXX='${wl}-f,'
11134 if test "$GXX" = yes; then
11135 case $host_os in aix4.[012]|aix4.[012].*)
11136 # We only want to do this on AIX 4.2 and lower, the check
11137 # below for broken collect2 doesn't work under 4.3+
11138 collect2name=`${CC} -print-prog-name=collect2`
11139 if test -f "$collect2name" &&
11140 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11141 then
11142 # We have reworked collect2
11144 else
11145 # We have old collect2
11146 hardcode_direct_CXX=unsupported
11147 # It fails to find uninstalled libraries when the uninstalled
11148 # path is not listed in the libpath. Setting hardcode_minus_L
11149 # to unsupported forces relinking
11150 hardcode_minus_L_CXX=yes
11151 hardcode_libdir_flag_spec_CXX='-L$libdir'
11152 hardcode_libdir_separator_CXX=
11154 esac
11155 shared_flag='-shared'
11156 if test "$aix_use_runtimelinking" = yes; then
11157 shared_flag="$shared_flag "'${wl}-G'
11159 else
11160 # not using gcc
11161 if test "$host_cpu" = ia64; then
11162 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11163 # chokes on -Wl,-G. The following line is correct:
11164 shared_flag='-G'
11165 else
11166 if test "$aix_use_runtimelinking" = yes; then
11167 shared_flag='${wl}-G'
11168 else
11169 shared_flag='${wl}-bM:SRE'
11174 # It seems that -bexpall does not export symbols beginning with
11175 # underscore (_), so it is better to generate a list of symbols to
11176 # export.
11177 always_export_symbols_CXX=yes
11178 if test "$aix_use_runtimelinking" = yes; then
11179 # Warning - without using the other runtime loading flags (-brtl),
11180 # -berok will link without error, but may produce a broken library.
11181 allow_undefined_flag_CXX='-berok'
11182 # Determine the default libpath from the value encoded in an empty
11183 # executable.
11184 if test x$gcc_no_link = xyes; then
11185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11187 { (exit 1); exit 1; }; }
11189 cat >conftest.$ac_ext <<_ACEOF
11190 /* confdefs.h. */
11191 _ACEOF
11192 cat confdefs.h >>conftest.$ac_ext
11193 cat >>conftest.$ac_ext <<_ACEOF
11194 /* end confdefs.h. */
11197 main ()
11201 return 0;
11203 _ACEOF
11204 rm -f conftest.$ac_objext conftest$ac_exeext
11205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11206 (eval $ac_link) 2>conftest.er1
11207 ac_status=$?
11208 grep -v '^ *+' conftest.er1 >conftest.err
11209 rm -f conftest.er1
11210 cat conftest.err >&5
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); } &&
11213 { ac_try='test -z "$ac_cxx_werror_flag"
11214 || test ! -s conftest.err'
11215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11216 (eval $ac_try) 2>&5
11217 ac_status=$?
11218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 (exit $ac_status); }; } &&
11220 { ac_try='test -s conftest$ac_exeext'
11221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11222 (eval $ac_try) 2>&5
11223 ac_status=$?
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); }; }; then
11227 lt_aix_libpath_sed='
11228 /Import File Strings/,/^$/ {
11229 /^0/ {
11230 s/^0 *\(.*\)$/\1/
11234 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11235 # Check for a 64-bit object if we didn't find anything.
11236 if test -z "$aix_libpath"; then
11237 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11239 else
11240 echo "$as_me: failed program was:" >&5
11241 sed 's/^/| /' conftest.$ac_ext >&5
11244 rm -f conftest.err conftest.$ac_objext \
11245 conftest$ac_exeext conftest.$ac_ext
11246 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11248 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11250 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"
11251 else
11252 if test "$host_cpu" = ia64; then
11253 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11254 allow_undefined_flag_CXX="-z nodefs"
11255 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"
11256 else
11257 # Determine the default libpath from the value encoded in an
11258 # empty executable.
11259 if test x$gcc_no_link = xyes; then
11260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11262 { (exit 1); exit 1; }; }
11264 cat >conftest.$ac_ext <<_ACEOF
11265 /* confdefs.h. */
11266 _ACEOF
11267 cat confdefs.h >>conftest.$ac_ext
11268 cat >>conftest.$ac_ext <<_ACEOF
11269 /* end confdefs.h. */
11272 main ()
11276 return 0;
11278 _ACEOF
11279 rm -f conftest.$ac_objext conftest$ac_exeext
11280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11281 (eval $ac_link) 2>conftest.er1
11282 ac_status=$?
11283 grep -v '^ *+' conftest.er1 >conftest.err
11284 rm -f conftest.er1
11285 cat conftest.err >&5
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); } &&
11288 { ac_try='test -z "$ac_cxx_werror_flag"
11289 || test ! -s conftest.err'
11290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291 (eval $ac_try) 2>&5
11292 ac_status=$?
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); }; } &&
11295 { ac_try='test -s conftest$ac_exeext'
11296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11297 (eval $ac_try) 2>&5
11298 ac_status=$?
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); }; }; then
11302 lt_aix_libpath_sed='
11303 /Import File Strings/,/^$/ {
11304 /^0/ {
11305 s/^0 *\(.*\)$/\1/
11309 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11310 # Check for a 64-bit object if we didn't find anything.
11311 if test -z "$aix_libpath"; then
11312 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11314 else
11315 echo "$as_me: failed program was:" >&5
11316 sed 's/^/| /' conftest.$ac_ext >&5
11319 rm -f conftest.err conftest.$ac_objext \
11320 conftest$ac_exeext conftest.$ac_ext
11321 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11323 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11324 # Warning - without using the other run time loading flags,
11325 # -berok will link without error, but may produce a broken library.
11326 no_undefined_flag_CXX=' ${wl}-bernotok'
11327 allow_undefined_flag_CXX=' ${wl}-berok'
11328 # Exported symbols can be pulled into shared objects from archives
11329 whole_archive_flag_spec_CXX='$convenience'
11330 archive_cmds_need_lc_CXX=yes
11331 # This is similar to how AIX traditionally builds its shared
11332 # libraries.
11333 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'
11338 beos*)
11339 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11340 allow_undefined_flag_CXX=unsupported
11341 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11342 # support --undefined. This deserves some investigation. FIXME
11343 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11344 else
11345 ld_shlibs_CXX=no
11349 chorus*)
11350 case $cc_basename in
11352 # FIXME: insert proper C++ library support
11353 ld_shlibs_CXX=no
11355 esac
11358 cygwin* | mingw* | pw32*)
11359 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11360 # as there is no search path for DLLs.
11361 hardcode_libdir_flag_spec_CXX='-L$libdir'
11362 allow_undefined_flag_CXX=unsupported
11363 always_export_symbols_CXX=no
11364 enable_shared_with_static_runtimes_CXX=yes
11366 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11367 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'
11368 # If the export-symbols file already is a .def file (1st line
11369 # is EXPORTS), use it as is; otherwise, prepend...
11370 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11371 cp $export_symbols $output_objdir/$soname.def;
11372 else
11373 echo EXPORTS > $output_objdir/$soname.def;
11374 cat $export_symbols >> $output_objdir/$soname.def;
11376 $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'
11377 else
11378 ld_shlibs_CXX=no
11381 darwin* | rhapsody*)
11382 case $host_os in
11383 rhapsody* | darwin1.[012])
11384 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11386 *) # Darwin 1.3 on
11387 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11388 10.[012])
11389 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11391 10.*)
11392 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11394 esac
11396 esac
11397 archive_cmds_need_lc_CXX=no
11398 hardcode_direct_CXX=no
11399 hardcode_automatic_CXX=yes
11400 hardcode_shlibpath_var_CXX=unsupported
11401 whole_archive_flag_spec_CXX=''
11402 link_all_deplibs_CXX=yes
11404 if test "$GXX" = yes ; then
11405 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11406 echo $ECHO_N "(cached) $ECHO_C" >&6
11407 else
11408 lt_cv_apple_cc_single_mod=no
11409 if test -z "${LT_MULTI_MODULE}"; then
11410 # By default we will add the -single_module flag. You can override
11411 # by either setting the environment variable LT_MULTI_MODULE
11412 # non-empty at configure time, or by adding -multi-module to the
11413 # link flags.
11414 echo "int foo(void){return 1;}" > conftest.c
11415 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11416 -dynamiclib ${wl}-single_module conftest.c
11417 if test -f libconftest.dylib; then
11418 lt_cv_apple_cc_single_mod=yes
11419 rm libconftest.dylib
11421 rm conftest.$ac_ext
11425 output_verbose_link_cmd=echo
11426 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11427 archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11428 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11429 else
11430 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'
11431 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11433 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11434 module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11435 else
11436 case $cc_basename in
11437 xlc*)
11438 output_verbose_link_cmd=echo
11439 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO "$rpath/$soname"` $verstring'
11440 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11441 # Don't fix this by using the ld -exported_symbols_list flag,
11442 # it doesn't exist in older darwin lds
11443 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11444 module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11447 ld_shlibs_CXX=no
11449 esac
11453 dgux*)
11454 case $cc_basename in
11455 ec++*)
11456 # FIXME: insert proper C++ library support
11457 ld_shlibs_CXX=no
11459 ghcx*)
11460 # Green Hills C++ Compiler
11461 # FIXME: insert proper C++ library support
11462 ld_shlibs_CXX=no
11465 # FIXME: insert proper C++ library support
11466 ld_shlibs_CXX=no
11468 esac
11471 freebsd[12]*)
11472 # C++ shared libraries reported to be fairly broken before
11473 # switch to ELF
11474 ld_shlibs_CXX=no
11477 freebsd-elf*)
11478 archive_cmds_need_lc_CXX=no
11481 freebsd* | dragonfly*)
11482 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11483 # conventions
11484 ld_shlibs_CXX=yes
11487 gnu*)
11490 hpux9*)
11491 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11492 hardcode_libdir_separator_CXX=:
11493 export_dynamic_flag_spec_CXX='${wl}-E'
11494 hardcode_direct_CXX=yes
11495 hardcode_minus_L_CXX=yes # Not in the search PATH,
11496 # but as the default
11497 # location of the library.
11499 case $cc_basename in
11500 CC*)
11501 # FIXME: insert proper C++ library support
11502 ld_shlibs_CXX=no
11504 aCC*)
11505 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'
11506 # Commands to make compiler produce verbose output that lists
11507 # what "hidden" libraries, object files and flags are used when
11508 # linking a shared library.
11510 # There doesn't appear to be a way to prevent this compiler from
11511 # explicitly linking system object files so we need to strip them
11512 # from the output so that they don't get included in the library
11513 # dependencies.
11514 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'
11517 if test "$GXX" = yes; then
11518 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'
11519 else
11520 # FIXME: insert proper C++ library support
11521 ld_shlibs_CXX=no
11524 esac
11527 hpux10*|hpux11*)
11528 if test $with_gnu_ld = no; then
11529 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11530 hardcode_libdir_separator_CXX=:
11532 case $host_cpu in
11533 hppa*64*|ia64*)
11536 export_dynamic_flag_spec_CXX='${wl}-E'
11538 esac
11540 case $host_cpu in
11541 hppa*64*|ia64*)
11542 hardcode_direct_CXX=no
11543 hardcode_shlibpath_var_CXX=no
11546 hardcode_direct_CXX=yes
11547 hardcode_direct_absolute_CXX=yes
11548 hardcode_minus_L_CXX=yes # Not in the search PATH,
11549 # but as the default
11550 # location of the library.
11552 esac
11554 case $cc_basename in
11555 CC*)
11556 # FIXME: insert proper C++ library support
11557 ld_shlibs_CXX=no
11559 aCC*)
11560 case $host_cpu in
11561 hppa*64*)
11562 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11564 ia64*)
11565 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11568 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11570 esac
11571 # Commands to make compiler produce verbose output that lists
11572 # what "hidden" libraries, object files and flags are used when
11573 # linking a shared library.
11575 # There doesn't appear to be a way to prevent this compiler from
11576 # explicitly linking system object files so we need to strip them
11577 # from the output so that they don't get included in the library
11578 # dependencies.
11579 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'
11582 if test "$GXX" = yes; then
11583 if test $with_gnu_ld = no; then
11584 case $host_cpu in
11585 hppa*64*)
11586 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11588 ia64*)
11589 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11592 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'
11594 esac
11596 else
11597 # FIXME: insert proper C++ library support
11598 ld_shlibs_CXX=no
11601 esac
11604 interix[3-9]*)
11605 hardcode_direct_CXX=no
11606 hardcode_shlibpath_var_CXX=no
11607 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11608 export_dynamic_flag_spec_CXX='${wl}-E'
11609 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11610 # Instead, shared libraries are loaded at an image base (0x10000000 by
11611 # default) and relocated if they conflict, which is a slow very memory
11612 # consuming and fragmenting process. To avoid this, we pick a random,
11613 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11614 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11615 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'
11616 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'
11618 irix5* | irix6*)
11619 case $cc_basename in
11620 CC*)
11621 # SGI C++
11622 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'
11624 # Archives containing C++ object files must be created using
11625 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11626 # necessary to make sure instantiated templates are included
11627 # in the archive.
11628 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11631 if test "$GXX" = yes; then
11632 if test "$with_gnu_ld" = no; then
11633 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'
11634 else
11635 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'
11638 link_all_deplibs_CXX=yes
11640 esac
11641 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11642 hardcode_libdir_separator_CXX=:
11643 inherit_rpath_CXX=yes
11646 linux* | k*bsd*-gnu)
11647 case $cc_basename in
11648 KCC*)
11649 # Kuck and Associates, Inc. (KAI) C++ Compiler
11651 # KCC will only create a shared library if the output file
11652 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11653 # to its proper name (with version) after linking.
11654 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'
11655 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'
11656 # Commands to make compiler produce verbose output that lists
11657 # what "hidden" libraries, object files and flags are used when
11658 # linking a shared library.
11660 # There doesn't appear to be a way to prevent this compiler from
11661 # explicitly linking system object files so we need to strip them
11662 # from the output so that they don't get included in the library
11663 # dependencies.
11664 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'
11666 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11667 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11669 # Archives containing C++ object files must be created using
11670 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11671 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11673 icpc* | ecpc* )
11674 # Intel C++
11675 with_gnu_ld=yes
11676 # version 8.0 and above of icpc choke on multiply defined symbols
11677 # if we add $predep_objects and $postdep_objects, however 7.1 and
11678 # earlier do not add the objects themselves.
11679 case `$CC -V 2>&1` in
11680 *"Version 7."*)
11681 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11682 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'
11684 *) # Version 8.0 or newer
11685 tmp_idyn=
11686 case $host_cpu in
11687 ia64*) tmp_idyn=' -i_dynamic';;
11688 esac
11689 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11690 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'
11692 esac
11693 archive_cmds_need_lc_CXX=no
11694 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11695 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11696 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11698 pgCC*)
11699 # Portland Group C++ compiler
11700 case `$CC -V` in
11701 *pgCC\ [1-5]*)
11702 prelink_cmds_CXX='tpldir=Template.dir~
11703 rm -rf $tpldir~
11704 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11705 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11706 old_archive_cmds_CXX='tpldir=Template.dir~
11707 rm -rf $tpldir~
11708 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11709 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11710 $RANLIB $oldlib'
11711 archive_cmds_CXX='tpldir=Template.dir~
11712 rm -rf $tpldir~
11713 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11714 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11715 archive_expsym_cmds_CXX='tpldir=Template.dir~
11716 rm -rf $tpldir~
11717 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11718 $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'
11720 *) # Version 6 will use weak symbols
11721 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11722 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'
11724 esac
11726 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11727 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11728 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'
11730 cxx*)
11731 # Compaq C++
11732 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11733 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'
11735 runpath_var=LD_RUN_PATH
11736 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11737 hardcode_libdir_separator_CXX=:
11739 # Commands to make compiler produce verbose output that lists
11740 # what "hidden" libraries, object files and flags are used when
11741 # linking a shared library.
11743 # There doesn't appear to be a way to prevent this compiler from
11744 # explicitly linking system object files so we need to strip them
11745 # from the output so that they don't get included in the library
11746 # dependencies.
11747 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'
11750 case `$CC -V 2>&1 | sed 5q` in
11751 *Sun\ C*)
11752 # Sun C++ 5.9
11753 no_undefined_flag_CXX=' -zdefs'
11754 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11755 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'
11756 hardcode_libdir_flag_spec_CXX='-R$libdir'
11757 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'
11758 compiler_needs_object_CXX=yes
11760 # Not sure whether something based on
11761 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11762 # would be better.
11763 output_verbose_link_cmd='echo'
11765 # Archives containing C++ object files must be created using
11766 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11767 # necessary to make sure instantiated templates are included
11768 # in the archive.
11769 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11771 esac
11773 esac
11776 lynxos*)
11777 # FIXME: insert proper C++ library support
11778 ld_shlibs_CXX=no
11781 m88k*)
11782 # FIXME: insert proper C++ library support
11783 ld_shlibs_CXX=no
11786 mvs*)
11787 case $cc_basename in
11788 cxx*)
11789 # FIXME: insert proper C++ library support
11790 ld_shlibs_CXX=no
11793 # FIXME: insert proper C++ library support
11794 ld_shlibs_CXX=no
11796 esac
11799 netbsd*)
11800 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11801 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11802 wlarc=
11803 hardcode_libdir_flag_spec_CXX='-R$libdir'
11804 hardcode_direct_CXX=yes
11805 hardcode_shlibpath_var_CXX=no
11807 # Workaround some broken pre-1.5 toolchains
11808 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11811 *nto* | *qnx*)
11812 ld_shlibs_CXX=yes
11815 openbsd2*)
11816 # C++ shared libraries are fairly broken
11817 ld_shlibs_CXX=no
11820 openbsd*)
11821 hardcode_direct_CXX=yes
11822 hardcode_shlibpath_var_CXX=no
11823 hardcode_direct_absolute_CXX=yes
11824 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11825 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11826 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11827 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11828 export_dynamic_flag_spec_CXX='${wl}-E'
11829 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11831 output_verbose_link_cmd=echo
11834 osf3* | osf4* | osf5*)
11835 case $cc_basename in
11836 KCC*)
11837 # Kuck and Associates, Inc. (KAI) C++ Compiler
11839 # KCC will only create a shared library if the output file
11840 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11841 # to its proper name (with version) after linking.
11842 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'
11844 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11845 hardcode_libdir_separator_CXX=:
11847 # Archives containing C++ object files must be created using
11848 # the KAI C++ compiler.
11849 case $host in
11850 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11851 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11852 esac
11854 RCC*)
11855 # Rational C++ 2.4.1
11856 # FIXME: insert proper C++ library support
11857 ld_shlibs_CXX=no
11859 cxx*)
11860 case $host in
11861 osf3*)
11862 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11863 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'
11864 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11867 allow_undefined_flag_CXX=' -expect_unresolved \*'
11868 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'
11869 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11870 echo "-hidden">> $lib.exp~
11871 $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~
11872 $RM $lib.exp'
11873 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11875 esac
11877 hardcode_libdir_separator_CXX=:
11879 # Commands to make compiler produce verbose output that lists
11880 # what "hidden" libraries, object files and flags are used when
11881 # linking a shared library.
11883 # There doesn't appear to be a way to prevent this compiler from
11884 # explicitly linking system object files so we need to strip them
11885 # from the output so that they don't get included in the library
11886 # dependencies.
11887 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'
11890 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11891 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11892 case $host in
11893 osf3*)
11894 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'
11897 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'
11899 esac
11901 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11902 hardcode_libdir_separator_CXX=:
11904 # Commands to make compiler produce verbose output that lists
11905 # what "hidden" libraries, object files and flags are used when
11906 # linking a shared library.
11907 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11909 else
11910 # FIXME: insert proper C++ library support
11911 ld_shlibs_CXX=no
11914 esac
11917 psos*)
11918 # FIXME: insert proper C++ library support
11919 ld_shlibs_CXX=no
11922 sunos4*)
11923 case $cc_basename in
11924 CC*)
11925 # Sun C++ 4.x
11926 # FIXME: insert proper C++ library support
11927 ld_shlibs_CXX=no
11929 lcc*)
11930 # Lucid
11931 # FIXME: insert proper C++ library support
11932 ld_shlibs_CXX=no
11935 # FIXME: insert proper C++ library support
11936 ld_shlibs_CXX=no
11938 esac
11941 solaris*)
11942 case $cc_basename in
11943 CC*)
11944 # Sun C++ 4.2, 5.x and Centerline C++
11945 archive_cmds_need_lc_CXX=yes
11946 no_undefined_flag_CXX=' -zdefs'
11947 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11948 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11949 $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'
11951 hardcode_libdir_flag_spec_CXX='-R$libdir'
11952 hardcode_shlibpath_var_CXX=no
11953 case $host_os in
11954 solaris2.[0-5] | solaris2.[0-5].*) ;;
11956 # The compiler driver will combine and reorder linker options,
11957 # but understands `-z linker_flag'.
11958 # Supported since Solaris 2.6 (maybe 2.5.1?)
11959 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11961 esac
11962 link_all_deplibs_CXX=yes
11964 output_verbose_link_cmd='echo'
11966 # Archives containing C++ object files must be created using
11967 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11968 # necessary to make sure instantiated templates are included
11969 # in the archive.
11970 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11972 gcx*)
11973 # Green Hills C++ Compiler
11974 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11976 # The C++ compiler must be used to create the archive.
11977 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11980 # GNU C++ compiler with Solaris linker
11981 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11982 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11983 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
11984 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11985 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11986 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11988 # Commands to make compiler produce verbose output that lists
11989 # what "hidden" libraries, object files and flags are used when
11990 # linking a shared library.
11991 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11992 else
11993 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11994 # platform.
11995 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11996 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11997 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11999 # Commands to make compiler produce verbose output that lists
12000 # what "hidden" libraries, object files and flags are used when
12001 # linking a shared library.
12002 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12005 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12006 case $host_os in
12007 solaris2.[0-5] | solaris2.[0-5].*) ;;
12009 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12011 esac
12014 esac
12017 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12018 no_undefined_flag_CXX='${wl}-z,text'
12019 archive_cmds_need_lc_CXX=no
12020 hardcode_shlibpath_var_CXX=no
12021 runpath_var='LD_RUN_PATH'
12023 case $cc_basename in
12024 CC*)
12025 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12026 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12029 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12030 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12032 esac
12035 sysv5* | sco3.2v5* | sco5v6*)
12036 # Note: We can NOT use -z defs as we might desire, because we do not
12037 # link with -lc, and that would cause any symbols used from libc to
12038 # always be unresolved, which means just about no library would
12039 # ever link correctly. If we're not using GNU ld we use -z text
12040 # though, which does catch some bad symbols but isn't as heavy-handed
12041 # as -z defs.
12042 no_undefined_flag_CXX='${wl}-z,text'
12043 allow_undefined_flag_CXX='${wl}-z,nodefs'
12044 archive_cmds_need_lc_CXX=no
12045 hardcode_shlibpath_var_CXX=no
12046 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12047 hardcode_libdir_separator_CXX=':'
12048 link_all_deplibs_CXX=yes
12049 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12050 runpath_var='LD_RUN_PATH'
12052 case $cc_basename in
12053 CC*)
12054 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12055 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12058 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12059 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12061 esac
12064 tandem*)
12065 case $cc_basename in
12066 NCC*)
12067 # NonStop-UX NCC 3.20
12068 # FIXME: insert proper C++ library support
12069 ld_shlibs_CXX=no
12072 # FIXME: insert proper C++ library support
12073 ld_shlibs_CXX=no
12075 esac
12078 vxworks*)
12079 # FIXME: insert proper C++ library support
12080 ld_shlibs_CXX=no
12084 # FIXME: insert proper C++ library support
12085 ld_shlibs_CXX=no
12087 esac
12089 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12090 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12091 test "$ld_shlibs_CXX" = no && can_build_shared=no
12093 GCC_CXX="$GXX"
12094 LD_CXX="$LD"
12096 ## CAVEAT EMPTOR:
12097 ## There is no encapsulation within the following macros, do not change
12098 ## the running order or otherwise move them around unless you know exactly
12099 ## what you are doing...
12100 # Dependencies to place before and after the object being linked:
12101 predep_objects_CXX=
12102 postdep_objects_CXX=
12103 predeps_CXX=
12104 postdeps_CXX=
12105 compiler_lib_search_path_CXX=
12107 cat > conftest.$ac_ext <<_LT_EOF
12108 class Foo
12110 public:
12111 Foo (void) { a = 0; }
12112 private:
12113 int a;
12115 _LT_EOF
12117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12118 (eval $ac_compile) 2>&5
12119 ac_status=$?
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); }; then
12122 # Parse the compiler output and extract the necessary
12123 # objects, libraries and library flags.
12125 # Sentinel used to keep track of whether or not we are before
12126 # the conftest object file.
12127 pre_test_object_deps_done=no
12129 # The `*' in the case matches for architectures that use `case' in
12130 # $output_verbose_cmd can trigger glob expansion during the loop
12131 # eval without this substitution.
12132 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12134 for p in `eval $output_verbose_link_cmd`; do
12135 case $p in
12137 -L* | -R* | -l*)
12138 # Some compilers place space between "-{L,R}" and the path.
12139 # Remove the space.
12140 if test $p = "-L" ||
12141 test $p = "-R"; then
12142 prev=$p
12143 continue
12144 else
12145 prev=
12148 if test "$pre_test_object_deps_done" = no; then
12149 case $p in
12150 -L* | -R*)
12151 # Internal compiler library paths should come after those
12152 # provided the user. The postdeps already come after the
12153 # user supplied libs so there is no need to process them.
12154 if test -z "$compiler_lib_search_path_CXX"; then
12155 compiler_lib_search_path_CXX="${prev}${p}"
12156 else
12157 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12160 # The "-l" case would never come before the object being
12161 # linked, so don't bother handling this case.
12162 esac
12163 else
12164 if test -z "$postdeps_CXX"; then
12165 postdeps_CXX="${prev}${p}"
12166 else
12167 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12172 *.$objext)
12173 # This assumes that the test object file only shows up
12174 # once in the compiler output.
12175 if test "$p" = "conftest.$objext"; then
12176 pre_test_object_deps_done=yes
12177 continue
12180 if test "$pre_test_object_deps_done" = no; then
12181 if test -z "$predep_objects_CXX"; then
12182 predep_objects_CXX="$p"
12183 else
12184 predep_objects_CXX="$predep_objects_CXX $p"
12186 else
12187 if test -z "$postdep_objects_CXX"; then
12188 postdep_objects_CXX="$p"
12189 else
12190 postdep_objects_CXX="$postdep_objects_CXX $p"
12195 *) ;; # Ignore the rest.
12197 esac
12198 done
12200 # Clean up.
12201 rm -f a.out a.exe
12202 else
12203 echo "libtool.m4: error: problem compiling CXX test program"
12206 $RM -f confest.$objext
12208 # PORTME: override above test on systems where it is broken
12209 case $host_os in
12210 interix[3-9]*)
12211 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12212 # hack all around it, let's just trust "g++" to DTRT.
12213 predep_objects_CXX=
12214 postdep_objects_CXX=
12215 postdeps_CXX=
12218 linux*)
12219 case `$CC -V 2>&1 | sed 5q` in
12220 *Sun\ C*)
12221 # Sun C++ 5.9
12223 # The more standards-conforming stlport4 library is
12224 # incompatible with the Cstd library. Avoid specifying
12225 # it if it's in CXXFLAGS. Ignore libCrun as
12226 # -library=stlport4 depends on it.
12227 case " $CXX $CXXFLAGS " in
12228 *" -library=stlport4 "*)
12229 solaris_use_stlport4=yes
12231 esac
12233 if test "$solaris_use_stlport4" != yes; then
12234 postdeps_CXX='-library=Cstd -library=Crun'
12237 esac
12240 solaris*)
12241 case $cc_basename in
12242 CC*)
12243 # The more standards-conforming stlport4 library is
12244 # incompatible with the Cstd library. Avoid specifying
12245 # it if it's in CXXFLAGS. Ignore libCrun as
12246 # -library=stlport4 depends on it.
12247 case " $CXX $CXXFLAGS " in
12248 *" -library=stlport4 "*)
12249 solaris_use_stlport4=yes
12251 esac
12253 # Adding this requires a known-good setup of shared libraries for
12254 # Sun compiler versions before 5.6, else PIC objects from an old
12255 # archive will be linked into the output, leading to subtle bugs.
12256 if test "$solaris_use_stlport4" != yes; then
12257 postdeps_CXX='-library=Cstd -library=Crun'
12260 esac
12262 esac
12265 case " $postdeps_CXX " in
12266 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12267 esac
12294 lt_prog_compiler_wl_CXX=
12295 lt_prog_compiler_pic_CXX=
12296 lt_prog_compiler_static_CXX=
12298 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12299 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12301 # C++ specific cases for pic, static, wl, etc.
12302 if test "$GXX" = yes; then
12303 lt_prog_compiler_wl_CXX='-Wl,'
12304 lt_prog_compiler_static_CXX='-static'
12306 case $host_os in
12307 aix*)
12308 # All AIX code is PIC.
12309 if test "$host_cpu" = ia64; then
12310 # AIX 5 now supports IA64 processor
12311 lt_prog_compiler_static_CXX='-Bstatic'
12314 amigaos*)
12315 if test "$host_cpu" = m68k; then
12316 # FIXME: we need at least 68020 code to build shared libraries, but
12317 # adding the `-m68020' flag to GCC prevents building anything better,
12318 # like `-m68040'.
12319 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12322 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12323 # PIC is the default for these OSes.
12325 mingw* | cygwin* | os2* | pw32*)
12326 # This hack is so that the source file can tell whether it is being
12327 # built for inclusion in a dll (and should export symbols for example).
12328 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12329 # (--disable-auto-import) libraries
12330 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12332 darwin* | rhapsody*)
12333 # PIC is the default on this platform
12334 # Common symbols not allowed in MH_DYLIB files
12335 lt_prog_compiler_pic_CXX='-fno-common'
12337 *djgpp*)
12338 # DJGPP does not support shared libraries at all
12339 lt_prog_compiler_pic_CXX=
12341 interix[3-9]*)
12342 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12343 # Instead, we relocate shared libraries at runtime.
12345 sysv4*MP*)
12346 if test -d /usr/nec; then
12347 lt_prog_compiler_pic_CXX=-Kconform_pic
12350 hpux*)
12351 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12352 # not for PA HP-UX.
12353 case $host_cpu in
12354 hppa*64*|ia64*)
12357 lt_prog_compiler_pic_CXX='-fPIC'
12359 esac
12361 *qnx* | *nto*)
12362 # QNX uses GNU C++, but need to define -shared option too, otherwise
12363 # it will coredump.
12364 lt_prog_compiler_pic_CXX='-fPIC -shared'
12367 lt_prog_compiler_pic_CXX='-fPIC'
12369 esac
12370 else
12371 case $host_os in
12372 aix4* | aix5*)
12373 # All AIX code is PIC.
12374 if test "$host_cpu" = ia64; then
12375 # AIX 5 now supports IA64 processor
12376 lt_prog_compiler_static_CXX='-Bstatic'
12377 else
12378 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12381 chorus*)
12382 case $cc_basename in
12383 cxch68*)
12384 # Green Hills C++ Compiler
12385 # _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"
12387 esac
12389 darwin*)
12390 # PIC is the default on this platform
12391 # Common symbols not allowed in MH_DYLIB files
12392 case $cc_basename in
12393 xlc*)
12394 lt_prog_compiler_pic_CXX='-qnocommon'
12395 lt_prog_compiler_wl_CXX='-Wl,'
12397 esac
12399 dgux*)
12400 case $cc_basename in
12401 ec++*)
12402 lt_prog_compiler_pic_CXX='-KPIC'
12404 ghcx*)
12405 # Green Hills C++ Compiler
12406 lt_prog_compiler_pic_CXX='-pic'
12410 esac
12412 freebsd* | dragonfly*)
12413 # FreeBSD uses GNU C++
12415 hpux9* | hpux10* | hpux11*)
12416 case $cc_basename in
12417 CC*)
12418 lt_prog_compiler_wl_CXX='-Wl,'
12419 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12420 if test "$host_cpu" != ia64; then
12421 lt_prog_compiler_pic_CXX='+Z'
12424 aCC*)
12425 lt_prog_compiler_wl_CXX='-Wl,'
12426 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12427 case $host_cpu in
12428 hppa*64*|ia64*)
12429 # +Z the default
12432 lt_prog_compiler_pic_CXX='+Z'
12434 esac
12438 esac
12440 interix*)
12441 # This is c89, which is MS Visual C++ (no shared libs)
12442 # Anyone wants to do a port?
12444 irix5* | irix6* | nonstopux*)
12445 case $cc_basename in
12446 CC*)
12447 lt_prog_compiler_wl_CXX='-Wl,'
12448 lt_prog_compiler_static_CXX='-non_shared'
12449 # CC pic flag -KPIC is the default.
12453 esac
12455 linux* | k*bsd*-gnu)
12456 case $cc_basename in
12457 KCC*)
12458 # KAI C++ Compiler
12459 lt_prog_compiler_wl_CXX='--backend -Wl,'
12460 lt_prog_compiler_pic_CXX='-fPIC'
12462 icpc* | ecpc* )
12463 # Intel C++
12464 lt_prog_compiler_wl_CXX='-Wl,'
12465 lt_prog_compiler_pic_CXX='-KPIC'
12466 lt_prog_compiler_static_CXX='-static'
12468 pgCC*)
12469 # Portland Group C++ compiler
12470 lt_prog_compiler_wl_CXX='-Wl,'
12471 lt_prog_compiler_pic_CXX='-fpic'
12472 lt_prog_compiler_static_CXX='-Bstatic'
12474 cxx*)
12475 # Compaq C++
12476 # Make sure the PIC flag is empty. It appears that all Alpha
12477 # Linux and Compaq Tru64 Unix objects are PIC.
12478 lt_prog_compiler_pic_CXX=
12479 lt_prog_compiler_static_CXX='-non_shared'
12482 case `$CC -V 2>&1 | sed 5q` in
12483 *Sun\ C*)
12484 # Sun C++ 5.9
12485 lt_prog_compiler_pic_CXX='-KPIC'
12486 lt_prog_compiler_static_CXX='-Bstatic'
12487 lt_prog_compiler_wl_CXX='-Qoption ld '
12489 esac
12491 esac
12493 lynxos*)
12495 m88k*)
12497 mvs*)
12498 case $cc_basename in
12499 cxx*)
12500 lt_prog_compiler_pic_CXX='-W c,exportall'
12504 esac
12506 netbsd*)
12508 *qnx* | *nto*)
12509 # QNX uses GNU C++, but need to define -shared option too, otherwise
12510 # it will coredump.
12511 lt_prog_compiler_pic_CXX='-fPIC -shared'
12513 osf3* | osf4* | osf5*)
12514 case $cc_basename in
12515 KCC*)
12516 lt_prog_compiler_wl_CXX='--backend -Wl,'
12518 RCC*)
12519 # Rational C++ 2.4.1
12520 lt_prog_compiler_pic_CXX='-pic'
12522 cxx*)
12523 # Digital/Compaq C++
12524 lt_prog_compiler_wl_CXX='-Wl,'
12525 # Make sure the PIC flag is empty. It appears that all Alpha
12526 # Linux and Compaq Tru64 Unix objects are PIC.
12527 lt_prog_compiler_pic_CXX=
12528 lt_prog_compiler_static_CXX='-non_shared'
12532 esac
12534 psos*)
12536 solaris*)
12537 case $cc_basename in
12538 CC*)
12539 # Sun C++ 4.2, 5.x and Centerline C++
12540 lt_prog_compiler_pic_CXX='-KPIC'
12541 lt_prog_compiler_static_CXX='-Bstatic'
12542 lt_prog_compiler_wl_CXX='-Qoption ld '
12544 gcx*)
12545 # Green Hills C++ Compiler
12546 lt_prog_compiler_pic_CXX='-PIC'
12550 esac
12552 sunos4*)
12553 case $cc_basename in
12554 CC*)
12555 # Sun C++ 4.x
12556 lt_prog_compiler_pic_CXX='-pic'
12557 lt_prog_compiler_static_CXX='-Bstatic'
12559 lcc*)
12560 # Lucid
12561 lt_prog_compiler_pic_CXX='-pic'
12565 esac
12567 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12568 case $cc_basename in
12569 CC*)
12570 lt_prog_compiler_wl_CXX='-Wl,'
12571 lt_prog_compiler_pic_CXX='-KPIC'
12572 lt_prog_compiler_static_CXX='-Bstatic'
12574 esac
12576 tandem*)
12577 case $cc_basename in
12578 NCC*)
12579 # NonStop-UX NCC 3.20
12580 lt_prog_compiler_pic_CXX='-KPIC'
12584 esac
12586 vxworks*)
12589 lt_prog_compiler_can_build_shared_CXX=no
12591 esac
12594 case $host_os in
12595 # For platforms which do not support PIC, -DPIC is meaningless:
12596 *djgpp*)
12597 lt_prog_compiler_pic_CXX=
12600 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12602 esac
12603 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12604 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12609 # Check to make sure the PIC flag actually works.
12611 if test -n "$lt_prog_compiler_pic_CXX"; then
12612 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12613 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12614 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12615 echo $ECHO_N "(cached) $ECHO_C" >&6
12616 else
12617 lt_prog_compiler_pic_works_CXX=no
12618 ac_outfile=conftest.$ac_objext
12619 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12620 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12621 # Insert the option either (1) after the last *FLAGS variable, or
12622 # (2) before a word containing "conftest.", or (3) at the end.
12623 # Note that $ac_compile itself does not contain backslashes and begins
12624 # with a dollar sign (not a hyphen), so the echo should work correctly.
12625 # The option is referenced via a variable to avoid confusing sed.
12626 lt_compile=`echo "$ac_compile" | $SED \
12627 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12628 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12629 -e 's:$: $lt_compiler_flag:'`
12630 (eval echo "\"\$as_me:12630: $lt_compile\"" >&5)
12631 (eval "$lt_compile" 2>conftest.err)
12632 ac_status=$?
12633 cat conftest.err >&5
12634 echo "$as_me:12634: \$? = $ac_status" >&5
12635 if (exit $ac_status) && test -s "$ac_outfile"; then
12636 # The compiler can only warn and ignore the option if not recognized
12637 # So say no if there are warnings other than the usual output.
12638 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12639 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12640 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12641 lt_prog_compiler_pic_works_CXX=yes
12644 $RM conftest*
12647 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12648 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12650 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12651 case $lt_prog_compiler_pic_CXX in
12652 "" | " "*) ;;
12653 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12654 esac
12655 else
12656 lt_prog_compiler_pic_CXX=
12657 lt_prog_compiler_can_build_shared_CXX=no
12665 # Check to make sure the static flag actually works.
12667 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12668 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12669 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12670 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12671 echo $ECHO_N "(cached) $ECHO_C" >&6
12672 else
12673 lt_prog_compiler_static_works_CXX=no
12674 save_LDFLAGS="$LDFLAGS"
12675 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12676 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12677 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12678 # The linker can only warn and ignore the option if not recognized
12679 # So say no if there are warnings
12680 if test -s conftest.err; then
12681 # Append any errors to the config.log.
12682 cat conftest.err 1>&5
12683 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12684 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12685 if diff conftest.exp conftest.er2 >/dev/null; then
12686 lt_prog_compiler_static_works_CXX=yes
12688 else
12689 lt_prog_compiler_static_works_CXX=yes
12692 $RM conftest*
12693 LDFLAGS="$save_LDFLAGS"
12696 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12697 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12699 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12701 else
12702 lt_prog_compiler_static_CXX=
12708 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12709 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12710 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12711 echo $ECHO_N "(cached) $ECHO_C" >&6
12712 else
12713 lt_cv_prog_compiler_c_o_CXX=no
12714 $RM -r conftest 2>/dev/null
12715 mkdir conftest
12716 cd conftest
12717 mkdir out
12718 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12720 lt_compiler_flag="-o out/conftest2.$ac_objext"
12721 # Insert the option either (1) after the last *FLAGS variable, or
12722 # (2) before a word containing "conftest.", or (3) at the end.
12723 # Note that $ac_compile itself does not contain backslashes and begins
12724 # with a dollar sign (not a hyphen), so the echo should work correctly.
12725 lt_compile=`echo "$ac_compile" | $SED \
12726 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12727 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12728 -e 's:$: $lt_compiler_flag:'`
12729 (eval echo "\"\$as_me:12729: $lt_compile\"" >&5)
12730 (eval "$lt_compile" 2>out/conftest.err)
12731 ac_status=$?
12732 cat out/conftest.err >&5
12733 echo "$as_me:12733: \$? = $ac_status" >&5
12734 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12735 then
12736 # The compiler can only warn and ignore the option if not recognized
12737 # So say no if there are warnings
12738 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12739 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12740 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12741 lt_cv_prog_compiler_c_o_CXX=yes
12744 chmod u+w . 2>&5
12745 $RM conftest*
12746 # SGI C++ compiler will create directory out/ii_files/ for
12747 # template instantiation
12748 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12749 $RM out/* && rmdir out
12750 cd ..
12751 $RM -r conftest
12752 $RM conftest*
12755 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12756 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12760 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12761 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12762 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12763 echo $ECHO_N "(cached) $ECHO_C" >&6
12764 else
12765 lt_cv_prog_compiler_c_o_CXX=no
12766 $RM -r conftest 2>/dev/null
12767 mkdir conftest
12768 cd conftest
12769 mkdir out
12770 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12772 lt_compiler_flag="-o out/conftest2.$ac_objext"
12773 # Insert the option either (1) after the last *FLAGS variable, or
12774 # (2) before a word containing "conftest.", or (3) at the end.
12775 # Note that $ac_compile itself does not contain backslashes and begins
12776 # with a dollar sign (not a hyphen), so the echo should work correctly.
12777 lt_compile=`echo "$ac_compile" | $SED \
12778 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12779 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12780 -e 's:$: $lt_compiler_flag:'`
12781 (eval echo "\"\$as_me:12781: $lt_compile\"" >&5)
12782 (eval "$lt_compile" 2>out/conftest.err)
12783 ac_status=$?
12784 cat out/conftest.err >&5
12785 echo "$as_me:12785: \$? = $ac_status" >&5
12786 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12787 then
12788 # The compiler can only warn and ignore the option if not recognized
12789 # So say no if there are warnings
12790 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12791 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12792 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12793 lt_cv_prog_compiler_c_o_CXX=yes
12796 chmod u+w . 2>&5
12797 $RM conftest*
12798 # SGI C++ compiler will create directory out/ii_files/ for
12799 # template instantiation
12800 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12801 $RM out/* && rmdir out
12802 cd ..
12803 $RM -r conftest
12804 $RM conftest*
12807 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12808 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12813 hard_links="nottested"
12814 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12815 # do not overwrite the value of need_locks provided by the user
12816 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12817 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12818 hard_links=yes
12819 $RM conftest*
12820 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12821 touch conftest.a
12822 ln conftest.a conftest.b 2>&5 || hard_links=no
12823 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12824 echo "$as_me:$LINENO: result: $hard_links" >&5
12825 echo "${ECHO_T}$hard_links" >&6
12826 if test "$hard_links" = no; then
12827 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12828 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12829 need_locks=warn
12831 else
12832 need_locks=no
12837 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12838 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12840 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12841 case $host_os in
12842 aix4* | aix5*)
12843 # If we're using GNU nm, then we don't want the "-C" option.
12844 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12845 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12846 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'
12847 else
12848 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'
12851 pw32*)
12852 export_symbols_cmds_CXX="$ltdll_cmds"
12854 cygwin* | mingw*)
12855 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'
12858 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12860 esac
12862 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12863 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12864 test "$ld_shlibs_CXX" = no && can_build_shared=no
12866 with_gnu_ld_CXX=$with_gnu_ld
12874 # Do we need to explicitly link libc?
12876 case "x$archive_cmds_need_lc_CXX" in
12877 x|xyes)
12878 # Assume -lc should be added
12879 archive_cmds_need_lc_CXX=yes
12881 if test "$enable_shared" = yes && test "$GCC" = yes; then
12882 case $archive_cmds_CXX in
12883 *'~'*)
12884 # FIXME: we may have to deal with multi-command sequences.
12886 '$CC '*)
12887 # Test whether the compiler implicitly links with -lc since on some
12888 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12889 # to ld, don't add -lc before -lgcc.
12890 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12891 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12892 $RM conftest*
12893 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12896 (eval $ac_compile) 2>&5
12897 ac_status=$?
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } 2>conftest.err; then
12900 soname=conftest
12901 lib=conftest
12902 libobjs=conftest.$ac_objext
12903 deplibs=
12904 wl=$lt_prog_compiler_wl_CXX
12905 pic_flag=$lt_prog_compiler_pic_CXX
12906 compiler_flags=-v
12907 linker_flags=-v
12908 verstring=
12909 output_objdir=.
12910 libname=conftest
12911 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12912 allow_undefined_flag_CXX=
12913 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12914 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12915 ac_status=$?
12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); }
12918 then
12919 archive_cmds_need_lc_CXX=no
12920 else
12921 archive_cmds_need_lc_CXX=yes
12923 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12924 else
12925 cat conftest.err 1>&5
12927 $RM conftest*
12928 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12929 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12931 esac
12934 esac
12999 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13000 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13001 withGCC=$GXX
13002 library_names_spec=
13003 libname_spec='lib$name'
13004 soname_spec=
13005 shrext_cmds=".so"
13006 postinstall_cmds=
13007 postuninstall_cmds=
13008 finish_cmds=
13009 finish_eval=
13010 shlibpath_var=
13011 shlibpath_overrides_runpath=unknown
13012 version_type=none
13013 dynamic_linker="$host_os ld.so"
13014 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13015 need_lib_prefix=unknown
13016 hardcode_into_libs=no
13018 # when you set need_version to no, make sure it does not cause -set_version
13019 # flags to be left without arguments
13020 need_version=unknown
13022 case $host_os in
13023 aix3*)
13024 version_type=linux
13025 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13026 shlibpath_var=LIBPATH
13028 # AIX 3 has no versioning support, so we append a major version to the name.
13029 soname_spec='${libname}${release}${shared_ext}$major'
13032 aix4* | aix5*)
13033 version_type=linux
13034 need_lib_prefix=no
13035 need_version=no
13036 hardcode_into_libs=yes
13037 if test "$host_cpu" = ia64; then
13038 # AIX 5 supports IA64
13039 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13040 shlibpath_var=LD_LIBRARY_PATH
13041 else
13042 # With GCC up to 2.95.x, collect2 would create an import file
13043 # for dependence libraries. The import file would start with
13044 # the line `#! .'. This would cause the generated library to
13045 # depend on `.', always an invalid library. This was fixed in
13046 # development snapshots of GCC prior to 3.0.
13047 case $host_os in
13048 aix4 | aix4.[01] | aix4.[01].*)
13049 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13050 echo ' yes '
13051 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13053 else
13054 can_build_shared=no
13057 esac
13058 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13059 # soname into executable. Probably we can add versioning support to
13060 # collect2, so additional links can be useful in future.
13061 if test "$aix_use_runtimelinking" = yes; then
13062 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13063 # instead of lib<name>.a to let people know that these are not
13064 # typical AIX shared libraries.
13065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13066 else
13067 # We preserve .a as extension for shared libraries through AIX4.2
13068 # and later when we are not doing run time linking.
13069 library_names_spec='${libname}${release}.a $libname.a'
13070 soname_spec='${libname}${release}${shared_ext}$major'
13072 shlibpath_var=LIBPATH
13076 amigaos*)
13077 if test "$host_cpu" = m68k; then
13078 library_names_spec='$libname.ixlibrary $libname.a'
13079 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13080 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'
13081 else
13082 dynamic_linker=no
13086 beos*)
13087 library_names_spec='${libname}${shared_ext}'
13088 dynamic_linker="$host_os ld.so"
13089 shlibpath_var=LIBRARY_PATH
13092 bsdi[45]*)
13093 version_type=linux
13094 need_version=no
13095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13096 soname_spec='${libname}${release}${shared_ext}$major'
13097 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13098 shlibpath_var=LD_LIBRARY_PATH
13099 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13100 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13101 # the default ld.so.conf also contains /usr/contrib/lib and
13102 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13103 # libtool to hard-code these into programs
13106 cygwin* | mingw* | pw32*)
13107 version_type=windows
13108 shrext_cmds=".dll"
13109 need_version=no
13110 need_lib_prefix=no
13112 case $withGCC,$host_os in
13113 yes,cygwin* | yes,mingw* | yes,pw32*)
13114 library_names_spec='$libname.dll.a'
13115 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13116 postinstall_cmds='base_file=`basename \${file}`~
13117 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13118 dldir=$destdir/`dirname \$dlpath`~
13119 test -d \$dldir || mkdir -p \$dldir~
13120 $install_prog $dir/$dlname \$dldir/$dlname~
13121 chmod a+x \$dldir/$dlname~
13122 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13123 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13125 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13126 dlpath=$dir/\$dldll~
13127 $RM \$dlpath'
13128 shlibpath_overrides_runpath=yes
13130 case $host_os in
13131 cygwin*)
13132 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13133 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13134 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13136 mingw*)
13137 # MinGW DLLs use traditional 'lib' prefix
13138 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13139 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13140 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13141 # It is most probably a Windows format PATH printed by
13142 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13143 # path with ; separators, and with drive letters. We can handle the
13144 # drive letters (cygwin fileutils understands them), so leave them,
13145 # especially as we might pass files found there to a mingw objdump,
13146 # which wouldn't understand a cygwinified path. Ahh.
13147 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13148 else
13149 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13152 pw32*)
13153 # pw32 DLLs use 'pw' prefix rather than 'lib'
13154 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13156 esac
13160 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13162 esac
13163 dynamic_linker='Win32 ld.exe'
13164 # FIXME: first we should search . and the directory the executable is in
13165 shlibpath_var=PATH
13168 darwin* | rhapsody*)
13169 dynamic_linker="$host_os dyld"
13170 version_type=darwin
13171 need_lib_prefix=no
13172 need_version=no
13173 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13174 soname_spec='${libname}${release}${major}$shared_ext'
13175 shlibpath_overrides_runpath=yes
13176 shlibpath_var=DYLD_LIBRARY_PATH
13177 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13179 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13182 dgux*)
13183 version_type=linux
13184 need_lib_prefix=no
13185 need_version=no
13186 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13187 soname_spec='${libname}${release}${shared_ext}$major'
13188 shlibpath_var=LD_LIBRARY_PATH
13191 freebsd1*)
13192 dynamic_linker=no
13195 freebsd* | dragonfly*)
13196 # DragonFly does not have aout. When/if they implement a new
13197 # versioning mechanism, adjust this.
13198 if test -x /usr/bin/objformat; then
13199 objformat=`/usr/bin/objformat`
13200 else
13201 case $host_os in
13202 freebsd[123]*) objformat=aout ;;
13203 *) objformat=elf ;;
13204 esac
13206 version_type=freebsd-$objformat
13207 case $version_type in
13208 freebsd-elf*)
13209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13210 need_version=no
13211 need_lib_prefix=no
13213 freebsd-*)
13214 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13215 need_version=yes
13217 esac
13218 shlibpath_var=LD_LIBRARY_PATH
13219 case $host_os in
13220 freebsd2*)
13221 shlibpath_overrides_runpath=yes
13223 freebsd3.[01]* | freebsdelf3.[01]*)
13224 shlibpath_overrides_runpath=yes
13225 hardcode_into_libs=yes
13227 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13228 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13229 shlibpath_overrides_runpath=no
13230 hardcode_into_libs=yes
13232 *) # from 4.6 on, and DragonFly
13233 shlibpath_overrides_runpath=yes
13234 hardcode_into_libs=yes
13236 esac
13239 gnu*)
13240 version_type=linux
13241 need_lib_prefix=no
13242 need_version=no
13243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13244 soname_spec='${libname}${release}${shared_ext}$major'
13245 shlibpath_var=LD_LIBRARY_PATH
13246 hardcode_into_libs=yes
13249 hpux9* | hpux10* | hpux11*)
13250 # Give a soname corresponding to the major version so that dld.sl refuses to
13251 # link against other versions.
13252 version_type=sunos
13253 need_lib_prefix=no
13254 need_version=no
13255 case $host_cpu in
13256 ia64*)
13257 shrext_cmds='.so'
13258 hardcode_into_libs=yes
13259 dynamic_linker="$host_os dld.so"
13260 shlibpath_var=LD_LIBRARY_PATH
13261 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13263 soname_spec='${libname}${release}${shared_ext}$major'
13264 if test "X$HPUX_IA64_MODE" = X32; then
13265 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13266 else
13267 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13269 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13271 hppa*64*)
13272 shrext_cmds='.sl'
13273 hardcode_into_libs=yes
13274 dynamic_linker="$host_os dld.sl"
13275 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13276 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13278 soname_spec='${libname}${release}${shared_ext}$major'
13279 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13280 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13283 shrext_cmds='.sl'
13284 dynamic_linker="$host_os dld.sl"
13285 shlibpath_var=SHLIB_PATH
13286 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13288 soname_spec='${libname}${release}${shared_ext}$major'
13290 esac
13291 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13292 postinstall_cmds='chmod 555 $lib'
13295 interix[3-9]*)
13296 version_type=linux
13297 need_lib_prefix=no
13298 need_version=no
13299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13300 soname_spec='${libname}${release}${shared_ext}$major'
13301 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13302 shlibpath_var=LD_LIBRARY_PATH
13303 shlibpath_overrides_runpath=no
13304 hardcode_into_libs=yes
13307 irix5* | irix6* | nonstopux*)
13308 case $host_os in
13309 nonstopux*) version_type=nonstopux ;;
13311 if test "$lt_cv_prog_gnu_ld" = yes; then
13312 version_type=linux
13313 else
13314 version_type=irix
13315 fi ;;
13316 esac
13317 need_lib_prefix=no
13318 need_version=no
13319 soname_spec='${libname}${release}${shared_ext}$major'
13320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13321 case $host_os in
13322 irix5* | nonstopux*)
13323 libsuff= shlibsuff=
13326 case $LD in # libtool.m4 will add one of these switches to LD
13327 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13328 libsuff= shlibsuff= libmagic=32-bit;;
13329 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13330 libsuff=32 shlibsuff=N32 libmagic=N32;;
13331 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13332 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13333 *) libsuff= shlibsuff= libmagic=never-match;;
13334 esac
13336 esac
13337 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13338 shlibpath_overrides_runpath=no
13339 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13340 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13341 hardcode_into_libs=yes
13344 # No shared lib support for Linux oldld, aout, or coff.
13345 linux*oldld* | linux*aout* | linux*coff*)
13346 dynamic_linker=no
13349 # This must be Linux ELF.
13350 linux* | k*bsd*-gnu)
13351 version_type=linux
13352 need_lib_prefix=no
13353 need_version=no
13354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13355 soname_spec='${libname}${release}${shared_ext}$major'
13356 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13357 shlibpath_var=LD_LIBRARY_PATH
13358 shlibpath_overrides_runpath=no
13359 # Some binutils ld are patched to set DT_RUNPATH
13360 save_LDFLAGS=$LDFLAGS
13361 save_libdir=$libdir
13362 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13363 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13364 if test x$gcc_no_link = xyes; then
13365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13367 { (exit 1); exit 1; }; }
13369 cat >conftest.$ac_ext <<_ACEOF
13370 /* confdefs.h. */
13371 _ACEOF
13372 cat confdefs.h >>conftest.$ac_ext
13373 cat >>conftest.$ac_ext <<_ACEOF
13374 /* end confdefs.h. */
13377 main ()
13381 return 0;
13383 _ACEOF
13384 rm -f conftest.$ac_objext conftest$ac_exeext
13385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13386 (eval $ac_link) 2>conftest.er1
13387 ac_status=$?
13388 grep -v '^ *+' conftest.er1 >conftest.err
13389 rm -f conftest.er1
13390 cat conftest.err >&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); } &&
13393 { ac_try='test -z "$ac_cxx_werror_flag"
13394 || test ! -s conftest.err'
13395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13396 (eval $ac_try) 2>&5
13397 ac_status=$?
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); }; } &&
13400 { ac_try='test -s conftest$ac_exeext'
13401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13402 (eval $ac_try) 2>&5
13403 ac_status=$?
13404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405 (exit $ac_status); }; }; then
13406 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13407 shlibpath_overrides_runpath=yes
13410 else
13411 echo "$as_me: failed program was:" >&5
13412 sed 's/^/| /' conftest.$ac_ext >&5
13415 rm -f conftest.err conftest.$ac_objext \
13416 conftest$ac_exeext conftest.$ac_ext
13417 LDFLAGS=$save_LDFLAGS
13418 libdir=$save_libdir
13420 # This implies no fast_install, which is unacceptable.
13421 # Some rework will be needed to allow for fast_install
13422 # before this can be enabled.
13423 hardcode_into_libs=yes
13425 # Append ld.so.conf contents to the search path
13426 if test -f /etc/ld.so.conf; then
13427 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13428 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13431 # We used to test for /lib/ld.so.1 and disable shared libraries on
13432 # powerpc, because MkLinux only supported shared libraries with the
13433 # GNU dynamic linker. Since this was broken with cross compilers,
13434 # most powerpc-linux boxes support dynamic linking these days and
13435 # people can always --disable-shared, the test was removed, and we
13436 # assume the GNU/Linux dynamic linker is in use.
13437 dynamic_linker='GNU/Linux ld.so'
13440 netbsd*)
13441 version_type=sunos
13442 need_lib_prefix=no
13443 need_version=no
13444 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13446 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13447 dynamic_linker='NetBSD (a.out) ld.so'
13448 else
13449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13450 soname_spec='${libname}${release}${shared_ext}$major'
13451 dynamic_linker='NetBSD ld.elf_so'
13453 shlibpath_var=LD_LIBRARY_PATH
13454 shlibpath_overrides_runpath=yes
13455 hardcode_into_libs=yes
13458 newsos6)
13459 version_type=linux
13460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13461 shlibpath_var=LD_LIBRARY_PATH
13462 shlibpath_overrides_runpath=yes
13465 *nto* | *qnx*)
13466 version_type=qnx
13467 need_lib_prefix=no
13468 need_version=no
13469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13470 soname_spec='${libname}${release}${shared_ext}$major'
13471 shlibpath_var=LD_LIBRARY_PATH
13472 shlibpath_overrides_runpath=no
13473 hardcode_into_libs=yes
13474 dynamic_linker='ldqnx.so'
13477 openbsd*)
13478 version_type=sunos
13479 sys_lib_dlsearch_path_spec="/usr/lib"
13480 need_lib_prefix=no
13481 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13482 case $host_os in
13483 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13484 *) need_version=no ;;
13485 esac
13486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13487 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13488 shlibpath_var=LD_LIBRARY_PATH
13489 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13490 case $host_os in
13491 openbsd2.[89] | openbsd2.[89].*)
13492 shlibpath_overrides_runpath=no
13495 shlibpath_overrides_runpath=yes
13497 esac
13498 else
13499 shlibpath_overrides_runpath=yes
13503 os2*)
13504 libname_spec='$name'
13505 shrext_cmds=".dll"
13506 need_lib_prefix=no
13507 library_names_spec='$libname${shared_ext} $libname.a'
13508 dynamic_linker='OS/2 ld.exe'
13509 shlibpath_var=LIBPATH
13512 osf3* | osf4* | osf5*)
13513 version_type=osf
13514 need_lib_prefix=no
13515 need_version=no
13516 soname_spec='${libname}${release}${shared_ext}$major'
13517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13518 shlibpath_var=LD_LIBRARY_PATH
13519 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13520 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13523 rdos*)
13524 dynamic_linker=no
13527 solaris*)
13528 version_type=linux
13529 need_lib_prefix=no
13530 need_version=no
13531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13532 soname_spec='${libname}${release}${shared_ext}$major'
13533 shlibpath_var=LD_LIBRARY_PATH
13534 shlibpath_overrides_runpath=yes
13535 hardcode_into_libs=yes
13536 # ldd complains unless libraries are executable
13537 postinstall_cmds='chmod +x $lib'
13540 sunos4*)
13541 version_type=sunos
13542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13543 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13544 shlibpath_var=LD_LIBRARY_PATH
13545 shlibpath_overrides_runpath=yes
13546 if test "$with_gnu_ld" = yes; then
13547 need_lib_prefix=no
13549 need_version=yes
13552 sysv4 | sysv4.3*)
13553 version_type=linux
13554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13555 soname_spec='${libname}${release}${shared_ext}$major'
13556 shlibpath_var=LD_LIBRARY_PATH
13557 case $host_vendor in
13558 sni)
13559 shlibpath_overrides_runpath=no
13560 need_lib_prefix=no
13561 runpath_var=LD_RUN_PATH
13563 siemens)
13564 need_lib_prefix=no
13566 motorola)
13567 need_lib_prefix=no
13568 need_version=no
13569 shlibpath_overrides_runpath=no
13570 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13572 esac
13575 sysv4*MP*)
13576 if test -d /usr/nec ;then
13577 version_type=linux
13578 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13579 soname_spec='$libname${shared_ext}.$major'
13580 shlibpath_var=LD_LIBRARY_PATH
13584 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13585 version_type=freebsd-elf
13586 need_lib_prefix=no
13587 need_version=no
13588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13589 soname_spec='${libname}${release}${shared_ext}$major'
13590 shlibpath_var=LD_LIBRARY_PATH
13591 shlibpath_overrides_runpath=yes
13592 hardcode_into_libs=yes
13593 if test "$with_gnu_ld" = yes; then
13594 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13595 else
13596 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13597 case $host_os in
13598 sco3.2v5*)
13599 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13601 esac
13603 sys_lib_dlsearch_path_spec='/usr/lib'
13606 tpf*)
13607 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13608 version_type=linux
13609 need_lib_prefix=no
13610 need_version=no
13611 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13612 shlibpath_var=LD_LIBRARY_PATH
13613 shlibpath_overrides_runpath=no
13614 hardcode_into_libs=yes
13617 uts4*)
13618 version_type=linux
13619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13620 soname_spec='${libname}${release}${shared_ext}$major'
13621 shlibpath_var=LD_LIBRARY_PATH
13625 dynamic_linker=no
13627 esac
13628 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13629 echo "${ECHO_T}$dynamic_linker" >&6
13630 test "$dynamic_linker" = no && can_build_shared=no
13632 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13633 if test "$GCC" = yes; then
13634 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13672 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13673 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13674 hardcode_action_CXX=
13675 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13676 test -n "$runpath_var_CXX" ||
13677 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13679 # We can hardcode non-existent directories.
13680 if test "$hardcode_direct_CXX" != no &&
13681 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13682 # have to relink, otherwise we might link with an installed library
13683 # when we should be linking with a yet-to-be-installed one
13684 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13685 test "$hardcode_minus_L_CXX" != no; then
13686 # Linking always hardcodes the temporary library directory.
13687 hardcode_action_CXX=relink
13688 else
13689 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13690 hardcode_action_CXX=immediate
13692 else
13693 # We cannot hardcode anything, or else we can only hardcode existing
13694 # directories.
13695 hardcode_action_CXX=unsupported
13697 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13698 echo "${ECHO_T}$hardcode_action_CXX" >&6
13700 if test "$hardcode_action_CXX" = relink ||
13701 test "$inherit_rpath_CXX" = yes; then
13702 # Fast installation is not supported
13703 enable_fast_install=no
13704 elif test "$shlibpath_overrides_runpath" = yes ||
13705 test "$enable_shared" = no; then
13706 # Fast installation is not necessary
13707 enable_fast_install=needless
13716 fi # test -n "$compiler"
13718 CC=$lt_save_CC
13719 LDCXX=$LD
13720 LD=$lt_save_LD
13721 GCC=$lt_save_GCC
13722 with_gnu_ld=$lt_save_with_gnu_ld
13723 lt_cv_path_LDCXX=$lt_cv_path_LD
13724 lt_cv_path_LD=$lt_save_path_LD
13725 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13726 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13727 fi # test "$_lt_caught_CXX_error" != yes
13729 ac_ext=c
13730 ac_cpp='$CPP $CPPFLAGS'
13731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13747 ac_config_commands="$ac_config_commands libtool"
13752 # Only expand once:
13758 # Possibly disable most of the library.
13759 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13760 ## than just ignoring the results. Faster /and/ more correct, win win.
13762 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13763 if test "${enable_hosted_libstdcxx+set}" = set; then
13764 enableval="$enable_hosted_libstdcxx"
13766 else
13767 case "$host" in
13768 arm*-*-symbianelf*)
13769 enable_hosted_libstdcxx=no
13772 enable_hosted_libstdcxx=yes
13774 esac
13776 if test "$enable_hosted_libstdcxx" = no; then
13777 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13778 echo "$as_me: Only freestanding libraries will be built" >&6;}
13779 is_hosted=no
13780 hosted_define=0
13781 enable_abi_check=no
13782 enable_libstdcxx_pch=no
13783 else
13784 is_hosted=yes
13785 hosted_define=1
13789 cat >>confdefs.h <<_ACEOF
13790 #define _GLIBCXX_HOSTED $hosted_define
13791 _ACEOF
13795 # Enable compiler support that doesn't require linking.
13797 echo "$as_me:$LINENO: checking for exception model to use" >&5
13798 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13801 ac_ext=cc
13802 ac_cpp='$CXXCPP $CPPFLAGS'
13803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13807 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13808 if test "${enable_sjlj_exceptions+set}" = set; then
13809 enableval="$enable_sjlj_exceptions"
13811 case "$enableval" in
13812 yes|no|auto) ;;
13813 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13814 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13815 { (exit 1); exit 1; }; } ;;
13816 esac
13818 else
13819 enable_sjlj_exceptions=auto
13823 if test $enable_sjlj_exceptions = auto; then
13824 # Botheration. Now we've got to detect the exception model. Link tests
13825 # against libgcc.a are problematic since we've not been given proper -L
13826 # bits for single-tree newlib and libgloss.
13828 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
13829 cat > conftest.$ac_ext << EOF
13830 #line 13830 "configure"
13831 struct S { ~S(); };
13832 void bar();
13833 void foo()
13835 S s;
13836 bar();
13839 old_CXXFLAGS="$CXXFLAGS"
13840 CXXFLAGS=-S
13841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13842 (eval $ac_compile) 2>&5
13843 ac_status=$?
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); }; then
13846 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13847 enable_sjlj_exceptions=yes
13848 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13849 enable_sjlj_exceptions=no
13850 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13851 enable_sjlj_exceptions=no
13854 CXXFLAGS="$old_CXXFLAGS"
13855 rm -f conftest*
13858 # This is a tad weird, for hysterical raisins. We have to map
13859 # enable/disable to two different models.
13860 case $enable_sjlj_exceptions in
13861 yes)
13863 cat >>confdefs.h <<\_ACEOF
13864 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13865 _ACEOF
13867 ac_exception_model_name=sjlj
13870 ac_exception_model_name="call frame"
13873 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13874 echo "$as_me: error: unable to detect exception model" >&2;}
13875 { (exit 1); exit 1; }; }
13877 esac
13878 ac_ext=c
13879 ac_cpp='$CPP $CPPFLAGS'
13880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13884 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13885 echo "${ECHO_T}$ac_exception_model_name" >&6
13888 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13889 if test "${enable_libstdcxx_pch+set}" = set; then
13890 enableval="$enable_libstdcxx_pch"
13892 case "$enableval" in
13893 yes|no) ;;
13894 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13895 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13896 { (exit 1); exit 1; }; } ;;
13897 esac
13899 else
13900 enable_libstdcxx_pch=$is_hosted
13903 if test $enable_libstdcxx_pch = yes; then
13904 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13905 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13906 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13907 echo $ECHO_N "(cached) $ECHO_C" >&6
13908 else
13909 ac_save_CXXFLAGS="$CXXFLAGS"
13910 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13913 ac_ext=cc
13914 ac_cpp='$CXXCPP $CPPFLAGS'
13915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13919 echo '#include <math.h>' > conftest.h
13920 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13921 -o conftest.h.gch 1>&5 2>&1 &&
13922 echo '#error "pch failed"' > conftest.h &&
13923 echo '#include "conftest.h"' > conftest.cc &&
13924 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13925 then
13926 glibcxx_cv_prog_CXX_pch=yes
13927 else
13928 glibcxx_cv_prog_CXX_pch=no
13930 rm -f conftest*
13931 CXXFLAGS=$ac_save_CXXFLAGS
13932 ac_ext=c
13933 ac_cpp='$CPP $CPPFLAGS'
13934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13940 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13941 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13942 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13945 echo "$as_me:$LINENO: checking for enabled PCH" >&5
13946 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13947 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13948 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13951 if test $enable_libstdcxx_pch = yes; then
13952 glibcxx_PCHFLAGS="-include bits/stdc++.h"
13953 else
13954 glibcxx_PCHFLAGS=""
13959 # Enable all the variable C++ runtime options that doesn't require linking.
13961 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
13962 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
13963 # Check whether --enable-cstdio or --disable-cstdio was given.
13964 if test "${enable_cstdio+set}" = set; then
13965 enableval="$enable_cstdio"
13967 case "$enableval" in
13968 stdio) ;;
13969 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
13970 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
13971 { (exit 1); exit 1; }; } ;;
13972 esac
13974 else
13975 enable_cstdio=stdio
13979 # Now that libio has been removed, you can have any color you want as long
13980 # as it's black. This is one big no-op until other packages are added, but
13981 # showing the framework never hurts.
13982 case ${enable_cstdio} in
13983 stdio)
13984 CSTDIO_H=config/io/c_io_stdio.h
13985 BASIC_FILE_H=config/io/basic_file_stdio.h
13986 BASIC_FILE_CC=config/io/basic_file_stdio.cc
13987 echo "$as_me:$LINENO: result: stdio" >&5
13988 echo "${ECHO_T}stdio" >&6
13990 esac
13997 # Check whether --enable-clocale or --disable-clocale was given.
13998 if test "${enable_clocale+set}" = set; then
13999 enableval="$enable_clocale"
14001 case "$enableval" in
14002 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14003 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14004 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14005 { (exit 1); exit 1; }; } ;;
14006 esac
14008 else
14009 enable_clocale=auto
14013 # Deal with gettext issues. Default to not using it (=no) until we detect
14014 # support for it later. Let the user turn it off via --e/d, but let that
14015 # default to on for easier handling.
14016 USE_NLS=no
14017 # Check whether --enable-nls or --disable-nls was given.
14018 if test "${enable_nls+set}" = set; then
14019 enableval="$enable_nls"
14021 else
14022 enable_nls=yes
14025 # Either a known packaage, or "auto"
14026 if test $enable_clocale = no || test $enable_clocale = yes; then
14027 enable_clocale=auto
14029 enable_clocale_flag=$enable_clocale
14031 # Probe for locale model to use if none specified.
14032 # Default to "generic".
14033 if test $enable_clocale_flag = auto; then
14034 case ${target_os} in
14035 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14036 enable_clocale_flag=gnu
14038 darwin* | freebsd*)
14039 enable_clocale_flag=darwin
14042 enable_clocale_flag=generic
14044 esac
14047 # Sanity check model, and test for special functionality.
14048 if test $enable_clocale_flag = gnu; then
14049 cat >conftest.$ac_ext <<_ACEOF
14050 /* confdefs.h. */
14051 _ACEOF
14052 cat confdefs.h >>conftest.$ac_ext
14053 cat >>conftest.$ac_ext <<_ACEOF
14054 /* end confdefs.h. */
14056 #include <features.h>
14057 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14058 _GLIBCXX_ok
14059 #endif
14061 _ACEOF
14062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14063 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14064 enable_clocale_flag=gnu
14065 else
14066 enable_clocale_flag=generic
14068 rm -f conftest*
14071 if test $enable_clocale = auto; then
14072 # Test for bugs early in glibc-2.2.x series
14073 if test "$cross_compiling" = yes; then
14074 enable_clocale_flag=generic
14075 else
14076 cat >conftest.$ac_ext <<_ACEOF
14077 /* confdefs.h. */
14078 _ACEOF
14079 cat confdefs.h >>conftest.$ac_ext
14080 cat >>conftest.$ac_ext <<_ACEOF
14081 /* end confdefs.h. */
14083 #define _GNU_SOURCE 1
14084 #include <locale.h>
14085 #include <string.h>
14086 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14087 extern __typeof(newlocale) __newlocale;
14088 extern __typeof(duplocale) __duplocale;
14089 extern __typeof(strcoll_l) __strcoll_l;
14090 #endif
14091 int main()
14093 const char __one[] = "Äuglein Augmen";
14094 const char __two[] = "Äuglein";
14095 int i;
14096 int j;
14097 __locale_t loc;
14098 __locale_t loc_dup;
14099 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14100 loc_dup = __duplocale(loc);
14101 i = __strcoll_l(__one, __two, loc);
14102 j = __strcoll_l(__one, __two, loc_dup);
14103 return 0;
14106 _ACEOF
14107 rm -f conftest$ac_exeext
14108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14109 (eval $ac_link) 2>&5
14110 ac_status=$?
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14114 (eval $ac_try) 2>&5
14115 ac_status=$?
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; }; then
14118 enable_clocale_flag=gnu
14119 else
14120 echo "$as_me: program exited with status $ac_status" >&5
14121 echo "$as_me: failed program was:" >&5
14122 sed 's/^/| /' conftest.$ac_ext >&5
14124 ( exit $ac_status )
14125 enable_clocale_flag=generic
14127 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14131 # Set it to scream when it hurts.
14132 ac_save_CFLAGS="$CFLAGS"
14133 CFLAGS="-Wimplicit-function-declaration -Werror"
14135 # Use strxfrm_l if available.
14136 cat >conftest.$ac_ext <<_ACEOF
14137 /* confdefs.h. */
14138 _ACEOF
14139 cat confdefs.h >>conftest.$ac_ext
14140 cat >>conftest.$ac_ext <<_ACEOF
14141 /* end confdefs.h. */
14142 #define _GNU_SOURCE 1
14143 #include <string.h>
14144 #include <locale.h>
14146 main ()
14148 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14150 return 0;
14152 _ACEOF
14153 rm -f conftest.$ac_objext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14155 (eval $ac_compile) 2>conftest.er1
14156 ac_status=$?
14157 grep -v '^ *+' conftest.er1 >conftest.err
14158 rm -f conftest.er1
14159 cat conftest.err >&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } &&
14162 { ac_try='test -z "$ac_c_werror_flag"
14163 || test ! -s conftest.err'
14164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14165 (eval $ac_try) 2>&5
14166 ac_status=$?
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }; } &&
14169 { ac_try='test -s conftest.$ac_objext'
14170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 (eval $ac_try) 2>&5
14172 ac_status=$?
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); }; }; then
14176 cat >>confdefs.h <<\_ACEOF
14177 #define HAVE_STRXFRM_L 1
14178 _ACEOF
14180 else
14181 echo "$as_me: failed program was:" >&5
14182 sed 's/^/| /' conftest.$ac_ext >&5
14185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14187 # Use strerror_l if available.
14188 cat >conftest.$ac_ext <<_ACEOF
14189 /* confdefs.h. */
14190 _ACEOF
14191 cat confdefs.h >>conftest.$ac_ext
14192 cat >>conftest.$ac_ext <<_ACEOF
14193 /* end confdefs.h. */
14194 #define _GNU_SOURCE 1
14195 #include <string.h>
14196 #include <locale.h>
14198 main ()
14200 __locale_t loc; strerror_l(5, loc);
14202 return 0;
14204 _ACEOF
14205 rm -f conftest.$ac_objext
14206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14207 (eval $ac_compile) 2>conftest.er1
14208 ac_status=$?
14209 grep -v '^ *+' conftest.er1 >conftest.err
14210 rm -f conftest.er1
14211 cat conftest.err >&5
14212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14213 (exit $ac_status); } &&
14214 { ac_try='test -z "$ac_c_werror_flag"
14215 || test ! -s conftest.err'
14216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14217 (eval $ac_try) 2>&5
14218 ac_status=$?
14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220 (exit $ac_status); }; } &&
14221 { ac_try='test -s conftest.$ac_objext'
14222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14223 (eval $ac_try) 2>&5
14224 ac_status=$?
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); }; }; then
14228 cat >>confdefs.h <<\_ACEOF
14229 #define HAVE_STRERROR_L 1
14230 _ACEOF
14232 else
14233 echo "$as_me: failed program was:" >&5
14234 sed 's/^/| /' conftest.$ac_ext >&5
14237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14239 CFLAGS="$ac_save_CFLAGS"
14242 # Perhaps use strerror_r if available, and strerror_l isn't.
14243 ac_save_CFLAGS="$CFLAGS"
14244 CFLAGS="-Wimplicit-function-declaration -Werror"
14245 cat >conftest.$ac_ext <<_ACEOF
14246 /* confdefs.h. */
14247 _ACEOF
14248 cat confdefs.h >>conftest.$ac_ext
14249 cat >>conftest.$ac_ext <<_ACEOF
14250 /* end confdefs.h. */
14251 #define _GNU_SOURCE 1
14252 #include <string.h>
14253 #include <locale.h>
14255 main ()
14257 char s[128]; strerror_r(5, s, 128);
14259 return 0;
14261 _ACEOF
14262 rm -f conftest.$ac_objext
14263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14264 (eval $ac_compile) 2>conftest.er1
14265 ac_status=$?
14266 grep -v '^ *+' conftest.er1 >conftest.err
14267 rm -f conftest.er1
14268 cat conftest.err >&5
14269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14270 (exit $ac_status); } &&
14271 { ac_try='test -z "$ac_c_werror_flag"
14272 || test ! -s conftest.err'
14273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14274 (eval $ac_try) 2>&5
14275 ac_status=$?
14276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); }; } &&
14278 { ac_try='test -s conftest.$ac_objext'
14279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14280 (eval $ac_try) 2>&5
14281 ac_status=$?
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); }; }; then
14285 cat >>confdefs.h <<\_ACEOF
14286 #define HAVE_STRERROR_R 1
14287 _ACEOF
14289 else
14290 echo "$as_me: failed program was:" >&5
14291 sed 's/^/| /' conftest.$ac_ext >&5
14294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14295 CFLAGS="$ac_save_CFLAGS"
14297 # Set configure bits for specified locale package
14298 echo "$as_me:$LINENO: checking for C locale to use" >&5
14299 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14300 case ${enable_clocale_flag} in
14301 generic)
14302 echo "$as_me:$LINENO: result: generic" >&5
14303 echo "${ECHO_T}generic" >&6
14305 CLOCALE_H=config/locale/generic/c_locale.h
14306 CLOCALE_CC=config/locale/generic/c_locale.cc
14307 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14308 CCOLLATE_CC=config/locale/generic/collate_members.cc
14309 CCTYPE_CC=config/locale/generic/ctype_members.cc
14310 CMESSAGES_H=config/locale/generic/messages_members.h
14311 CMESSAGES_CC=config/locale/generic/messages_members.cc
14312 CMONEY_CC=config/locale/generic/monetary_members.cc
14313 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14314 CTIME_H=config/locale/generic/time_members.h
14315 CTIME_CC=config/locale/generic/time_members.cc
14316 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14318 darwin)
14319 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14320 echo "${ECHO_T}darwin or freebsd" >&6
14322 CLOCALE_H=config/locale/generic/c_locale.h
14323 CLOCALE_CC=config/locale/generic/c_locale.cc
14324 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14325 CCOLLATE_CC=config/locale/generic/collate_members.cc
14326 CCTYPE_CC=config/locale/darwin/ctype_members.cc
14327 CMESSAGES_H=config/locale/generic/messages_members.h
14328 CMESSAGES_CC=config/locale/generic/messages_members.cc
14329 CMONEY_CC=config/locale/generic/monetary_members.cc
14330 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14331 CTIME_H=config/locale/generic/time_members.h
14332 CTIME_CC=config/locale/generic/time_members.cc
14333 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14336 gnu)
14337 echo "$as_me:$LINENO: result: gnu" >&5
14338 echo "${ECHO_T}gnu" >&6
14340 # Declare intention to use gettext, and add support for specific
14341 # languages.
14342 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14343 ALL_LINGUAS="de fr"
14345 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14346 # Extract the first word of "msgfmt", so it can be a program name with args.
14347 set dummy msgfmt; ac_word=$2
14348 echo "$as_me:$LINENO: checking for $ac_word" >&5
14349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14350 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14351 echo $ECHO_N "(cached) $ECHO_C" >&6
14352 else
14353 if test -n "$check_msgfmt"; then
14354 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14355 else
14356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14357 for as_dir in $PATH
14359 IFS=$as_save_IFS
14360 test -z "$as_dir" && as_dir=.
14361 for ac_exec_ext in '' $ac_executable_extensions; do
14362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14363 ac_cv_prog_check_msgfmt="yes"
14364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14365 break 2
14367 done
14368 done
14370 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14373 check_msgfmt=$ac_cv_prog_check_msgfmt
14374 if test -n "$check_msgfmt"; then
14375 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14376 echo "${ECHO_T}$check_msgfmt" >&6
14377 else
14378 echo "$as_me:$LINENO: result: no" >&5
14379 echo "${ECHO_T}no" >&6
14382 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14383 USE_NLS=yes
14385 # Export the build objects.
14386 for ling in $ALL_LINGUAS; do \
14387 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14388 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14389 done
14393 CLOCALE_H=config/locale/gnu/c_locale.h
14394 CLOCALE_CC=config/locale/gnu/c_locale.cc
14395 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14396 CCOLLATE_CC=config/locale/gnu/collate_members.cc
14397 CCTYPE_CC=config/locale/gnu/ctype_members.cc
14398 CMESSAGES_H=config/locale/gnu/messages_members.h
14399 CMESSAGES_CC=config/locale/gnu/messages_members.cc
14400 CMONEY_CC=config/locale/gnu/monetary_members.cc
14401 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14402 CTIME_H=config/locale/gnu/time_members.h
14403 CTIME_CC=config/locale/gnu/time_members.cc
14404 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14406 ieee_1003.1-2001)
14407 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14408 echo "${ECHO_T}IEEE 1003.1" >&6
14410 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14411 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14412 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14413 CCOLLATE_CC=config/locale/generic/collate_members.cc
14414 CCTYPE_CC=config/locale/generic/ctype_members.cc
14415 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14416 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14417 CMONEY_CC=config/locale/generic/monetary_members.cc
14418 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14419 CTIME_H=config/locale/generic/time_members.h
14420 CTIME_CC=config/locale/generic/time_members.cc
14421 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14423 esac
14425 # This is where the testsuite looks for locale catalogs, using the
14426 # -DLOCALEDIR define during testsuite compilation.
14427 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14430 # A standalone libintl (e.g., GNU libintl) may be in use.
14431 if test $USE_NLS = yes; then
14433 for ac_header in libintl.h
14435 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14437 echo "$as_me:$LINENO: checking for $ac_header" >&5
14438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14440 echo $ECHO_N "(cached) $ECHO_C" >&6
14442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14444 else
14445 # Is the header compilable?
14446 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14447 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14448 cat >conftest.$ac_ext <<_ACEOF
14449 /* confdefs.h. */
14450 _ACEOF
14451 cat confdefs.h >>conftest.$ac_ext
14452 cat >>conftest.$ac_ext <<_ACEOF
14453 /* end confdefs.h. */
14454 $ac_includes_default
14455 #include <$ac_header>
14456 _ACEOF
14457 rm -f conftest.$ac_objext
14458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14459 (eval $ac_compile) 2>conftest.er1
14460 ac_status=$?
14461 grep -v '^ *+' conftest.er1 >conftest.err
14462 rm -f conftest.er1
14463 cat conftest.err >&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } &&
14466 { ac_try='test -z "$ac_c_werror_flag"
14467 || test ! -s conftest.err'
14468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14469 (eval $ac_try) 2>&5
14470 ac_status=$?
14471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472 (exit $ac_status); }; } &&
14473 { ac_try='test -s conftest.$ac_objext'
14474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14475 (eval $ac_try) 2>&5
14476 ac_status=$?
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); }; }; then
14479 ac_header_compiler=yes
14480 else
14481 echo "$as_me: failed program was:" >&5
14482 sed 's/^/| /' conftest.$ac_ext >&5
14484 ac_header_compiler=no
14486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14487 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14488 echo "${ECHO_T}$ac_header_compiler" >&6
14490 # Is the header present?
14491 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14492 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14493 cat >conftest.$ac_ext <<_ACEOF
14494 /* confdefs.h. */
14495 _ACEOF
14496 cat confdefs.h >>conftest.$ac_ext
14497 cat >>conftest.$ac_ext <<_ACEOF
14498 /* end confdefs.h. */
14499 #include <$ac_header>
14500 _ACEOF
14501 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14502 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14503 ac_status=$?
14504 grep -v '^ *+' conftest.er1 >conftest.err
14505 rm -f conftest.er1
14506 cat conftest.err >&5
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); } >/dev/null; then
14509 if test -s conftest.err; then
14510 ac_cpp_err=$ac_c_preproc_warn_flag
14511 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14512 else
14513 ac_cpp_err=
14515 else
14516 ac_cpp_err=yes
14518 if test -z "$ac_cpp_err"; then
14519 ac_header_preproc=yes
14520 else
14521 echo "$as_me: failed program was:" >&5
14522 sed 's/^/| /' conftest.$ac_ext >&5
14524 ac_header_preproc=no
14526 rm -f conftest.err conftest.$ac_ext
14527 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14528 echo "${ECHO_T}$ac_header_preproc" >&6
14530 # So? What about this header?
14531 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14532 yes:no: )
14533 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14534 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14536 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14537 ac_header_preproc=yes
14539 no:yes:* )
14540 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14541 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14542 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14543 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14544 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14545 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14546 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14547 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14549 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14550 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14551 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14553 cat <<\_ASBOX
14554 ## ----------------------------------------- ##
14555 ## Report this to the package-unused lists. ##
14556 ## ----------------------------------------- ##
14557 _ASBOX
14559 sed "s/^/$as_me: WARNING: /" >&2
14561 esac
14562 echo "$as_me:$LINENO: checking for $ac_header" >&5
14563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14565 echo $ECHO_N "(cached) $ECHO_C" >&6
14566 else
14567 eval "$as_ac_Header=\$ac_header_preproc"
14569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14570 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14574 cat >>confdefs.h <<_ACEOF
14575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14576 _ACEOF
14578 else
14579 USE_NLS=no
14582 done
14584 echo "$as_me:$LINENO: checking for library containing gettext" >&5
14585 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14586 if test "${ac_cv_search_gettext+set}" = set; then
14587 echo $ECHO_N "(cached) $ECHO_C" >&6
14588 else
14589 ac_func_search_save_LIBS=$LIBS
14590 ac_cv_search_gettext=no
14591 if test x$gcc_no_link = xyes; then
14592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14594 { (exit 1); exit 1; }; }
14596 cat >conftest.$ac_ext <<_ACEOF
14597 /* confdefs.h. */
14598 _ACEOF
14599 cat confdefs.h >>conftest.$ac_ext
14600 cat >>conftest.$ac_ext <<_ACEOF
14601 /* end confdefs.h. */
14603 /* Override any gcc2 internal prototype to avoid an error. */
14604 #ifdef __cplusplus
14605 extern "C"
14606 #endif
14607 /* We use char because int might match the return type of a gcc2
14608 builtin and then its argument prototype would still apply. */
14609 char gettext ();
14611 main ()
14613 gettext ();
14615 return 0;
14617 _ACEOF
14618 rm -f conftest.$ac_objext conftest$ac_exeext
14619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14620 (eval $ac_link) 2>conftest.er1
14621 ac_status=$?
14622 grep -v '^ *+' conftest.er1 >conftest.err
14623 rm -f conftest.er1
14624 cat conftest.err >&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); } &&
14627 { ac_try='test -z "$ac_c_werror_flag"
14628 || test ! -s conftest.err'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14631 ac_status=$?
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; } &&
14634 { ac_try='test -s conftest$ac_exeext'
14635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14636 (eval $ac_try) 2>&5
14637 ac_status=$?
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); }; }; then
14640 ac_cv_search_gettext="none required"
14641 else
14642 echo "$as_me: failed program was:" >&5
14643 sed 's/^/| /' conftest.$ac_ext >&5
14646 rm -f conftest.err conftest.$ac_objext \
14647 conftest$ac_exeext conftest.$ac_ext
14648 if test "$ac_cv_search_gettext" = no; then
14649 for ac_lib in intl; do
14650 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14651 if test x$gcc_no_link = xyes; then
14652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14654 { (exit 1); exit 1; }; }
14656 cat >conftest.$ac_ext <<_ACEOF
14657 /* confdefs.h. */
14658 _ACEOF
14659 cat confdefs.h >>conftest.$ac_ext
14660 cat >>conftest.$ac_ext <<_ACEOF
14661 /* end confdefs.h. */
14663 /* Override any gcc2 internal prototype to avoid an error. */
14664 #ifdef __cplusplus
14665 extern "C"
14666 #endif
14667 /* We use char because int might match the return type of a gcc2
14668 builtin and then its argument prototype would still apply. */
14669 char gettext ();
14671 main ()
14673 gettext ();
14675 return 0;
14677 _ACEOF
14678 rm -f conftest.$ac_objext conftest$ac_exeext
14679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14680 (eval $ac_link) 2>conftest.er1
14681 ac_status=$?
14682 grep -v '^ *+' conftest.er1 >conftest.err
14683 rm -f conftest.er1
14684 cat conftest.err >&5
14685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686 (exit $ac_status); } &&
14687 { ac_try='test -z "$ac_c_werror_flag"
14688 || test ! -s conftest.err'
14689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14690 (eval $ac_try) 2>&5
14691 ac_status=$?
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); }; } &&
14694 { ac_try='test -s conftest$ac_exeext'
14695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14696 (eval $ac_try) 2>&5
14697 ac_status=$?
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); }; }; then
14700 ac_cv_search_gettext="-l$ac_lib"
14701 break
14702 else
14703 echo "$as_me: failed program was:" >&5
14704 sed 's/^/| /' conftest.$ac_ext >&5
14707 rm -f conftest.err conftest.$ac_objext \
14708 conftest$ac_exeext conftest.$ac_ext
14709 done
14711 LIBS=$ac_func_search_save_LIBS
14713 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
14714 echo "${ECHO_T}$ac_cv_search_gettext" >&6
14715 if test "$ac_cv_search_gettext" != no; then
14716 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
14718 else
14719 USE_NLS=no
14723 if test $USE_NLS = yes; then
14725 cat >>confdefs.h <<\_ACEOF
14726 #define _GLIBCXX_USE_NLS 1
14727 _ACEOF
14746 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
14747 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
14748 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
14749 if test "${enable_libstdcxx_allocator+set}" = set; then
14750 enableval="$enable_libstdcxx_allocator"
14752 case "$enableval" in
14753 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
14754 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
14755 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
14756 { (exit 1); exit 1; }; } ;;
14757 esac
14759 else
14760 enable_libstdcxx_allocator=auto
14764 # If they didn't use this option switch, or if they specified --enable
14765 # with no specific model, we'll have to look for one. If they
14766 # specified --disable (???), do likewise.
14767 if test $enable_libstdcxx_allocator = no ||
14768 test $enable_libstdcxx_allocator = yes;
14769 then
14770 enable_libstdcxx_allocator=auto
14773 # Either a known package, or "auto". Auto implies the default choice
14774 # for a particular platform.
14775 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
14777 # Probe for host-specific support if no specific model is specified.
14778 # Default to "new".
14779 if test $enable_libstdcxx_allocator_flag = auto; then
14780 case ${target_os} in
14781 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14782 enable_libstdcxx_allocator_flag=new
14785 enable_libstdcxx_allocator_flag=new
14787 esac
14789 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
14790 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
14793 # Set configure bits for specified locale package
14794 case ${enable_libstdcxx_allocator_flag} in
14795 bitmap)
14796 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
14797 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
14799 malloc)
14800 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
14801 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
14804 ALLOCATOR_H=config/allocator/mt_allocator_base.h
14805 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
14807 new)
14808 ALLOCATOR_H=config/allocator/new_allocator_base.h
14809 ALLOCATOR_NAME=__gnu_cxx::new_allocator
14811 pool)
14812 ALLOCATOR_H=config/allocator/pool_allocator_base.h
14813 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
14815 esac
14821 # Check whether --enable-cheaders or --disable-cheaders was given.
14822 if test "${enable_cheaders+set}" = set; then
14823 enableval="$enable_cheaders"
14825 case "$enableval" in
14826 c|c_std|c_global) ;;
14827 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
14828 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
14829 { (exit 1); exit 1; }; } ;;
14830 esac
14832 else
14833 enable_cheaders=$c_model
14836 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
14837 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
14839 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
14841 # Allow overrides to configure.host here.
14842 if test $enable_cheaders = c_global; then
14843 c_compatibility=yes
14846 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
14847 c_extra=yes
14857 # Check whether --enable-long-long or --disable-long-long was given.
14858 if test "${enable_long_long+set}" = set; then
14859 enableval="$enable_long_long"
14861 case "$enableval" in
14862 yes|no) ;;
14863 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
14864 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
14865 { (exit 1); exit 1; }; } ;;
14866 esac
14868 else
14869 enable_long_long=yes
14872 if test $enable_long_long = yes; then
14874 cat >>confdefs.h <<\_ACEOF
14875 #define _GLIBCXX_USE_LONG_LONG 1
14876 _ACEOF
14879 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
14880 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
14881 echo "$as_me:$LINENO: result: $enable_long_long" >&5
14882 echo "${ECHO_T}$enable_long_long" >&6
14885 # Check whether --enable-wchar_t or --disable-wchar_t was given.
14886 if test "${enable_wchar_t+set}" = set; then
14887 enableval="$enable_wchar_t"
14889 case "$enableval" in
14890 yes|no) ;;
14891 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
14892 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
14893 { (exit 1); exit 1; }; } ;;
14894 esac
14896 else
14897 enable_wchar_t=yes
14901 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
14903 for ac_header in wchar.h
14905 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14907 echo "$as_me:$LINENO: checking for $ac_header" >&5
14908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14910 echo $ECHO_N "(cached) $ECHO_C" >&6
14912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14914 else
14915 # Is the header compilable?
14916 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14917 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14918 cat >conftest.$ac_ext <<_ACEOF
14919 /* confdefs.h. */
14920 _ACEOF
14921 cat confdefs.h >>conftest.$ac_ext
14922 cat >>conftest.$ac_ext <<_ACEOF
14923 /* end confdefs.h. */
14924 $ac_includes_default
14925 #include <$ac_header>
14926 _ACEOF
14927 rm -f conftest.$ac_objext
14928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14929 (eval $ac_compile) 2>conftest.er1
14930 ac_status=$?
14931 grep -v '^ *+' conftest.er1 >conftest.err
14932 rm -f conftest.er1
14933 cat conftest.err >&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); } &&
14936 { ac_try='test -z "$ac_c_werror_flag"
14937 || test ! -s conftest.err'
14938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14939 (eval $ac_try) 2>&5
14940 ac_status=$?
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); }; } &&
14943 { ac_try='test -s conftest.$ac_objext'
14944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14945 (eval $ac_try) 2>&5
14946 ac_status=$?
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }; }; then
14949 ac_header_compiler=yes
14950 else
14951 echo "$as_me: failed program was:" >&5
14952 sed 's/^/| /' conftest.$ac_ext >&5
14954 ac_header_compiler=no
14956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14957 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14958 echo "${ECHO_T}$ac_header_compiler" >&6
14960 # Is the header present?
14961 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14962 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14963 cat >conftest.$ac_ext <<_ACEOF
14964 /* confdefs.h. */
14965 _ACEOF
14966 cat confdefs.h >>conftest.$ac_ext
14967 cat >>conftest.$ac_ext <<_ACEOF
14968 /* end confdefs.h. */
14969 #include <$ac_header>
14970 _ACEOF
14971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14972 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14973 ac_status=$?
14974 grep -v '^ *+' conftest.er1 >conftest.err
14975 rm -f conftest.er1
14976 cat conftest.err >&5
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); } >/dev/null; then
14979 if test -s conftest.err; then
14980 ac_cpp_err=$ac_c_preproc_warn_flag
14981 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14982 else
14983 ac_cpp_err=
14985 else
14986 ac_cpp_err=yes
14988 if test -z "$ac_cpp_err"; then
14989 ac_header_preproc=yes
14990 else
14991 echo "$as_me: failed program was:" >&5
14992 sed 's/^/| /' conftest.$ac_ext >&5
14994 ac_header_preproc=no
14996 rm -f conftest.err conftest.$ac_ext
14997 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14998 echo "${ECHO_T}$ac_header_preproc" >&6
15000 # So? What about this header?
15001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15002 yes:no: )
15003 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15004 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15006 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15007 ac_header_preproc=yes
15009 no:yes:* )
15010 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15011 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15012 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15013 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15014 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15015 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15016 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15017 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15019 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15020 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15021 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15023 cat <<\_ASBOX
15024 ## ----------------------------------------- ##
15025 ## Report this to the package-unused lists. ##
15026 ## ----------------------------------------- ##
15027 _ASBOX
15029 sed "s/^/$as_me: WARNING: /" >&2
15031 esac
15032 echo "$as_me:$LINENO: checking for $ac_header" >&5
15033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15035 echo $ECHO_N "(cached) $ECHO_C" >&6
15036 else
15037 eval "$as_ac_Header=\$ac_header_preproc"
15039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15044 cat >>confdefs.h <<_ACEOF
15045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15046 _ACEOF
15047 ac_has_wchar_h=yes
15048 else
15049 ac_has_wchar_h=no
15052 done
15054 echo "$as_me:$LINENO: checking for mbstate_t" >&5
15055 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15056 cat >conftest.$ac_ext <<_ACEOF
15057 /* confdefs.h. */
15058 _ACEOF
15059 cat confdefs.h >>conftest.$ac_ext
15060 cat >>conftest.$ac_ext <<_ACEOF
15061 /* end confdefs.h. */
15062 #include <wchar.h>
15064 main ()
15066 mbstate_t teststate;
15068 return 0;
15070 _ACEOF
15071 rm -f conftest.$ac_objext
15072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15073 (eval $ac_compile) 2>conftest.er1
15074 ac_status=$?
15075 grep -v '^ *+' conftest.er1 >conftest.err
15076 rm -f conftest.er1
15077 cat conftest.err >&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); } &&
15080 { ac_try='test -z "$ac_c_werror_flag"
15081 || test ! -s conftest.err'
15082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15083 (eval $ac_try) 2>&5
15084 ac_status=$?
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); }; } &&
15087 { ac_try='test -s conftest.$ac_objext'
15088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15089 (eval $ac_try) 2>&5
15090 ac_status=$?
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); }; }; then
15093 have_mbstate_t=yes
15094 else
15095 echo "$as_me: failed program was:" >&5
15096 sed 's/^/| /' conftest.$ac_ext >&5
15098 have_mbstate_t=no
15100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15101 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15102 echo "${ECHO_T}$have_mbstate_t" >&6
15103 if test x"$have_mbstate_t" = xyes; then
15105 cat >>confdefs.h <<\_ACEOF
15106 #define HAVE_MBSTATE_T 1
15107 _ACEOF
15111 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15112 # ac_has_wchar_h.
15114 for ac_header in wctype.h
15116 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15118 echo "$as_me:$LINENO: checking for $ac_header" >&5
15119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15121 echo $ECHO_N "(cached) $ECHO_C" >&6
15123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15125 else
15126 # Is the header compilable?
15127 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15128 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15129 cat >conftest.$ac_ext <<_ACEOF
15130 /* confdefs.h. */
15131 _ACEOF
15132 cat confdefs.h >>conftest.$ac_ext
15133 cat >>conftest.$ac_ext <<_ACEOF
15134 /* end confdefs.h. */
15135 $ac_includes_default
15136 #include <$ac_header>
15137 _ACEOF
15138 rm -f conftest.$ac_objext
15139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15140 (eval $ac_compile) 2>conftest.er1
15141 ac_status=$?
15142 grep -v '^ *+' conftest.er1 >conftest.err
15143 rm -f conftest.er1
15144 cat conftest.err >&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); } &&
15147 { ac_try='test -z "$ac_c_werror_flag"
15148 || test ! -s conftest.err'
15149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15150 (eval $ac_try) 2>&5
15151 ac_status=$?
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); }; } &&
15154 { ac_try='test -s conftest.$ac_objext'
15155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15156 (eval $ac_try) 2>&5
15157 ac_status=$?
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); }; }; then
15160 ac_header_compiler=yes
15161 else
15162 echo "$as_me: failed program was:" >&5
15163 sed 's/^/| /' conftest.$ac_ext >&5
15165 ac_header_compiler=no
15167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15169 echo "${ECHO_T}$ac_header_compiler" >&6
15171 # Is the header present?
15172 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15173 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15174 cat >conftest.$ac_ext <<_ACEOF
15175 /* confdefs.h. */
15176 _ACEOF
15177 cat confdefs.h >>conftest.$ac_ext
15178 cat >>conftest.$ac_ext <<_ACEOF
15179 /* end confdefs.h. */
15180 #include <$ac_header>
15181 _ACEOF
15182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15183 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15184 ac_status=$?
15185 grep -v '^ *+' conftest.er1 >conftest.err
15186 rm -f conftest.er1
15187 cat conftest.err >&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } >/dev/null; then
15190 if test -s conftest.err; then
15191 ac_cpp_err=$ac_c_preproc_warn_flag
15192 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15193 else
15194 ac_cpp_err=
15196 else
15197 ac_cpp_err=yes
15199 if test -z "$ac_cpp_err"; then
15200 ac_header_preproc=yes
15201 else
15202 echo "$as_me: failed program was:" >&5
15203 sed 's/^/| /' conftest.$ac_ext >&5
15205 ac_header_preproc=no
15207 rm -f conftest.err conftest.$ac_ext
15208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15209 echo "${ECHO_T}$ac_header_preproc" >&6
15211 # So? What about this header?
15212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15213 yes:no: )
15214 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15215 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15217 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15218 ac_header_preproc=yes
15220 no:yes:* )
15221 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15222 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15223 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15224 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15225 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15226 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15227 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15228 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15230 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15231 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15232 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15234 cat <<\_ASBOX
15235 ## ----------------------------------------- ##
15236 ## Report this to the package-unused lists. ##
15237 ## ----------------------------------------- ##
15238 _ASBOX
15240 sed "s/^/$as_me: WARNING: /" >&2
15242 esac
15243 echo "$as_me:$LINENO: checking for $ac_header" >&5
15244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15247 else
15248 eval "$as_ac_Header=\$ac_header_preproc"
15250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15254 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15255 cat >>confdefs.h <<_ACEOF
15256 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15257 _ACEOF
15258 ac_has_wctype_h=yes
15259 else
15260 ac_has_wctype_h=no
15263 done
15266 if test x"$enable_wchar_t" = x"yes"; then
15270 ac_ext=cc
15271 ac_cpp='$CXXCPP $CPPFLAGS'
15272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15277 if test x"$ac_has_wchar_h" = xyes &&
15278 test x"$ac_has_wctype_h" = xyes; then
15279 cat >conftest.$ac_ext <<_ACEOF
15280 /* confdefs.h. */
15281 _ACEOF
15282 cat confdefs.h >>conftest.$ac_ext
15283 cat >>conftest.$ac_ext <<_ACEOF
15284 /* end confdefs.h. */
15285 #include <wchar.h>
15286 #include <stddef.h>
15287 wint_t i;
15288 long l = WEOF;
15289 long j = WCHAR_MIN;
15290 long k = WCHAR_MAX;
15291 namespace test
15293 using ::btowc;
15294 using ::fgetwc;
15295 using ::fgetws;
15296 using ::fputwc;
15297 using ::fputws;
15298 using ::fwide;
15299 using ::fwprintf;
15300 using ::fwscanf;
15301 using ::getwc;
15302 using ::getwchar;
15303 using ::mbrlen;
15304 using ::mbrtowc;
15305 using ::mbsinit;
15306 using ::mbsrtowcs;
15307 using ::putwc;
15308 using ::putwchar;
15309 using ::swprintf;
15310 using ::swscanf;
15311 using ::ungetwc;
15312 using ::vfwprintf;
15313 using ::vswprintf;
15314 using ::vwprintf;
15315 using ::wcrtomb;
15316 using ::wcscat;
15317 using ::wcschr;
15318 using ::wcscmp;
15319 using ::wcscoll;
15320 using ::wcscpy;
15321 using ::wcscspn;
15322 using ::wcsftime;
15323 using ::wcslen;
15324 using ::wcsncat;
15325 using ::wcsncmp;
15326 using ::wcsncpy;
15327 using ::wcspbrk;
15328 using ::wcsrchr;
15329 using ::wcsrtombs;
15330 using ::wcsspn;
15331 using ::wcsstr;
15332 using ::wcstod;
15333 using ::wcstok;
15334 using ::wcstol;
15335 using ::wcstoul;
15336 using ::wcsxfrm;
15337 using ::wctob;
15338 using ::wmemchr;
15339 using ::wmemcmp;
15340 using ::wmemcpy;
15341 using ::wmemmove;
15342 using ::wmemset;
15343 using ::wprintf;
15344 using ::wscanf;
15348 main ()
15352 return 0;
15354 _ACEOF
15355 rm -f conftest.$ac_objext
15356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15357 (eval $ac_compile) 2>conftest.er1
15358 ac_status=$?
15359 grep -v '^ *+' conftest.er1 >conftest.err
15360 rm -f conftest.er1
15361 cat conftest.err >&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); } &&
15364 { ac_try='test -z "$ac_cxx_werror_flag"
15365 || test ! -s conftest.err'
15366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15367 (eval $ac_try) 2>&5
15368 ac_status=$?
15369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370 (exit $ac_status); }; } &&
15371 { ac_try='test -s conftest.$ac_objext'
15372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15373 (eval $ac_try) 2>&5
15374 ac_status=$?
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); }; }; then
15378 else
15379 echo "$as_me: failed program was:" >&5
15380 sed 's/^/| /' conftest.$ac_ext >&5
15382 enable_wchar_t=no
15384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15385 else
15386 enable_wchar_t=no
15389 ac_ext=c
15390 ac_cpp='$CPP $CPPFLAGS'
15391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15397 if test x"$enable_wchar_t" = x"yes"; then
15399 cat >>confdefs.h <<\_ACEOF
15400 #define _GLIBCXX_USE_WCHAR_T 1
15401 _ACEOF
15405 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15406 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15407 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15408 echo "${ECHO_T}$enable_wchar_t" >&6
15412 # Check whether --enable-c99 or --disable-c99 was given.
15413 if test "${enable_c99+set}" = set; then
15414 enableval="$enable_c99"
15416 case "$enableval" in
15417 yes|no) ;;
15418 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15419 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15420 { (exit 1); exit 1; }; } ;;
15421 esac
15423 else
15424 enable_c99=yes
15428 if test x"$enable_c99" = x"yes"; then
15432 ac_ext=cc
15433 ac_cpp='$CXXCPP $CPPFLAGS'
15434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15439 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
15440 # undefined and fake C99 facilities - like pre-standard snprintf - may be
15441 # spuriously enabled.
15442 # Long term, -std=c++0x could be even better, could manage to explicitely
15443 # request C99 facilities to the underlying C headers.
15444 ac_save_CXXFLAGS="$CXXFLAGS"
15445 CXXFLAGS="$CXXFLAGS -std=c++98"
15446 ac_save_LIBS="$LIBS"
15447 ac_save_gcc_no_link="$gcc_no_link"
15449 if test x$gcc_no_link != xyes; then
15450 # Use -fno-exceptions to that the C driver can link these tests without
15451 # hitting undefined references to personality routines.
15452 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15453 echo "$as_me:$LINENO: checking for sin in -lm" >&5
15454 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
15455 if test "${ac_cv_lib_m_sin+set}" = set; then
15456 echo $ECHO_N "(cached) $ECHO_C" >&6
15457 else
15458 ac_check_lib_save_LIBS=$LIBS
15459 LIBS="-lm $LIBS"
15460 if test x$gcc_no_link = xyes; then
15461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15463 { (exit 1); exit 1; }; }
15465 cat >conftest.$ac_ext <<_ACEOF
15466 /* confdefs.h. */
15467 _ACEOF
15468 cat confdefs.h >>conftest.$ac_ext
15469 cat >>conftest.$ac_ext <<_ACEOF
15470 /* end confdefs.h. */
15472 /* Override any gcc2 internal prototype to avoid an error. */
15473 #ifdef __cplusplus
15474 extern "C"
15475 #endif
15476 /* We use char because int might match the return type of a gcc2
15477 builtin and then its argument prototype would still apply. */
15478 char sin ();
15480 main ()
15482 sin ();
15484 return 0;
15486 _ACEOF
15487 rm -f conftest.$ac_objext conftest$ac_exeext
15488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15489 (eval $ac_link) 2>conftest.er1
15490 ac_status=$?
15491 grep -v '^ *+' conftest.er1 >conftest.err
15492 rm -f conftest.er1
15493 cat conftest.err >&5
15494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15495 (exit $ac_status); } &&
15496 { ac_try='test -z "$ac_cxx_werror_flag"
15497 || test ! -s conftest.err'
15498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15499 (eval $ac_try) 2>&5
15500 ac_status=$?
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); }; } &&
15503 { ac_try='test -s conftest$ac_exeext'
15504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15505 (eval $ac_try) 2>&5
15506 ac_status=$?
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); }; }; then
15509 ac_cv_lib_m_sin=yes
15510 else
15511 echo "$as_me: failed program was:" >&5
15512 sed 's/^/| /' conftest.$ac_ext >&5
15514 ac_cv_lib_m_sin=no
15516 rm -f conftest.err conftest.$ac_objext \
15517 conftest$ac_exeext conftest.$ac_ext
15518 LIBS=$ac_check_lib_save_LIBS
15520 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
15521 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
15522 if test $ac_cv_lib_m_sin = yes; then
15524 LIBS="$LIBS -lm"
15526 else
15528 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
15529 gcc_no_link=yes
15535 # Check for the existence of <math.h> functions used if C99 is enabled.
15536 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15537 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15538 if test "${ac_c99_math+set}" = set; then
15539 echo $ECHO_N "(cached) $ECHO_C" >&6
15540 else
15542 if test x$gcc_no_link = xyes; then
15543 cat >conftest.$ac_ext <<_ACEOF
15544 /* confdefs.h. */
15545 _ACEOF
15546 cat confdefs.h >>conftest.$ac_ext
15547 cat >>conftest.$ac_ext <<_ACEOF
15548 /* end confdefs.h. */
15549 #include <math.h>
15550 volatile double d1, d2;
15551 volatile int i;
15553 main ()
15555 i = fpclassify(d1);
15556 i = isfinite(d1);
15557 i = isinf(d1);
15558 i = isnan(d1);
15559 i = isnormal(d1);
15560 i = signbit(d1);
15561 i = isgreater(d1, d2);
15562 i = isgreaterequal(d1, d2);
15563 i = isless(d1, d2);
15564 i = islessequal(d1, d2);
15565 i = islessgreater(d1, d2);
15566 i = islessgreater(d1, d2);
15567 i = isunordered(d1, d2);
15570 return 0;
15572 _ACEOF
15573 rm -f conftest.$ac_objext
15574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15575 (eval $ac_compile) 2>conftest.er1
15576 ac_status=$?
15577 grep -v '^ *+' conftest.er1 >conftest.err
15578 rm -f conftest.er1
15579 cat conftest.err >&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } &&
15582 { ac_try='test -z "$ac_cxx_werror_flag"
15583 || test ! -s conftest.err'
15584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15585 (eval $ac_try) 2>&5
15586 ac_status=$?
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); }; } &&
15589 { ac_try='test -s conftest.$ac_objext'
15590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15591 (eval $ac_try) 2>&5
15592 ac_status=$?
15593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15594 (exit $ac_status); }; }; then
15595 ac_c99_math=yes
15596 else
15597 echo "$as_me: failed program was:" >&5
15598 sed 's/^/| /' conftest.$ac_ext >&5
15600 ac_c99_math=no
15602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15603 else
15604 if test x$gcc_no_link = xyes; then
15605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15607 { (exit 1); exit 1; }; }
15609 cat >conftest.$ac_ext <<_ACEOF
15610 /* confdefs.h. */
15611 _ACEOF
15612 cat confdefs.h >>conftest.$ac_ext
15613 cat >>conftest.$ac_ext <<_ACEOF
15614 /* end confdefs.h. */
15615 #include <math.h>
15616 volatile double d1, d2;
15617 volatile int i;
15619 main ()
15621 i = fpclassify(d1);
15622 i = isfinite(d1);
15623 i = isinf(d1);
15624 i = isnan(d1);
15625 i = isnormal(d1);
15626 i = signbit(d1);
15627 i = isgreater(d1, d2);
15628 i = isgreaterequal(d1, d2);
15629 i = isless(d1, d2);
15630 i = islessequal(d1, d2);
15631 i = islessgreater(d1, d2);
15632 i = islessgreater(d1, d2);
15633 i = isunordered(d1, d2);
15636 return 0;
15638 _ACEOF
15639 rm -f conftest.$ac_objext conftest$ac_exeext
15640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15641 (eval $ac_link) 2>conftest.er1
15642 ac_status=$?
15643 grep -v '^ *+' conftest.er1 >conftest.err
15644 rm -f conftest.er1
15645 cat conftest.err >&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } &&
15648 { ac_try='test -z "$ac_cxx_werror_flag"
15649 || test ! -s conftest.err'
15650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15651 (eval $ac_try) 2>&5
15652 ac_status=$?
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); }; } &&
15655 { ac_try='test -s conftest$ac_exeext'
15656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15657 (eval $ac_try) 2>&5
15658 ac_status=$?
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); }; }; then
15661 ac_c99_math=yes
15662 else
15663 echo "$as_me: failed program was:" >&5
15664 sed 's/^/| /' conftest.$ac_ext >&5
15666 ac_c99_math=no
15668 rm -f conftest.err conftest.$ac_objext \
15669 conftest$ac_exeext conftest.$ac_ext
15674 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
15675 echo "${ECHO_T}$ac_c99_math" >&6
15676 if test x"$ac_c99_math" = x"yes"; then
15678 cat >>confdefs.h <<\_ACEOF
15679 #define _GLIBCXX_USE_C99_MATH 1
15680 _ACEOF
15684 # Check for the existence of <complex.h> complex math functions.
15685 # This is necessary even though libstdc++ uses the builtin versions
15686 # of these functions, because if the builtin cannot be used, a reference
15687 # to the library function is emitted.
15689 for ac_header in tgmath.h
15691 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15693 echo "$as_me:$LINENO: checking for $ac_header" >&5
15694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15696 echo $ECHO_N "(cached) $ECHO_C" >&6
15698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15700 else
15701 # Is the header compilable?
15702 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15703 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15704 cat >conftest.$ac_ext <<_ACEOF
15705 /* confdefs.h. */
15706 _ACEOF
15707 cat confdefs.h >>conftest.$ac_ext
15708 cat >>conftest.$ac_ext <<_ACEOF
15709 /* end confdefs.h. */
15710 $ac_includes_default
15711 #include <$ac_header>
15712 _ACEOF
15713 rm -f conftest.$ac_objext
15714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15715 (eval $ac_compile) 2>conftest.er1
15716 ac_status=$?
15717 grep -v '^ *+' conftest.er1 >conftest.err
15718 rm -f conftest.er1
15719 cat conftest.err >&5
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); } &&
15722 { ac_try='test -z "$ac_cxx_werror_flag"
15723 || test ! -s conftest.err'
15724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15725 (eval $ac_try) 2>&5
15726 ac_status=$?
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); }; } &&
15729 { ac_try='test -s conftest.$ac_objext'
15730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15731 (eval $ac_try) 2>&5
15732 ac_status=$?
15733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734 (exit $ac_status); }; }; then
15735 ac_header_compiler=yes
15736 else
15737 echo "$as_me: failed program was:" >&5
15738 sed 's/^/| /' conftest.$ac_ext >&5
15740 ac_header_compiler=no
15742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15743 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15744 echo "${ECHO_T}$ac_header_compiler" >&6
15746 # Is the header present?
15747 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15748 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15749 cat >conftest.$ac_ext <<_ACEOF
15750 /* confdefs.h. */
15751 _ACEOF
15752 cat confdefs.h >>conftest.$ac_ext
15753 cat >>conftest.$ac_ext <<_ACEOF
15754 /* end confdefs.h. */
15755 #include <$ac_header>
15756 _ACEOF
15757 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15758 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15759 ac_status=$?
15760 grep -v '^ *+' conftest.er1 >conftest.err
15761 rm -f conftest.er1
15762 cat conftest.err >&5
15763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15764 (exit $ac_status); } >/dev/null; then
15765 if test -s conftest.err; then
15766 ac_cpp_err=$ac_cxx_preproc_warn_flag
15767 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15768 else
15769 ac_cpp_err=
15771 else
15772 ac_cpp_err=yes
15774 if test -z "$ac_cpp_err"; then
15775 ac_header_preproc=yes
15776 else
15777 echo "$as_me: failed program was:" >&5
15778 sed 's/^/| /' conftest.$ac_ext >&5
15780 ac_header_preproc=no
15782 rm -f conftest.err conftest.$ac_ext
15783 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15784 echo "${ECHO_T}$ac_header_preproc" >&6
15786 # So? What about this header?
15787 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15788 yes:no: )
15789 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15790 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15791 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15792 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15793 ac_header_preproc=yes
15795 no:yes:* )
15796 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15797 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15798 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15799 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15800 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15801 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15802 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15803 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15805 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15806 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15807 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15809 cat <<\_ASBOX
15810 ## ----------------------------------------- ##
15811 ## Report this to the package-unused lists. ##
15812 ## ----------------------------------------- ##
15813 _ASBOX
15815 sed "s/^/$as_me: WARNING: /" >&2
15817 esac
15818 echo "$as_me:$LINENO: checking for $ac_header" >&5
15819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15821 echo $ECHO_N "(cached) $ECHO_C" >&6
15822 else
15823 eval "$as_ac_Header=\$ac_header_preproc"
15825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15829 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15830 cat >>confdefs.h <<_ACEOF
15831 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15832 _ACEOF
15833 ac_has_tgmath_h=yes
15834 else
15835 ac_has_tgmath_h=no
15838 done
15841 for ac_header in complex.h
15843 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15845 echo "$as_me:$LINENO: checking for $ac_header" >&5
15846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15848 echo $ECHO_N "(cached) $ECHO_C" >&6
15850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15852 else
15853 # Is the header compilable?
15854 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15855 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15856 cat >conftest.$ac_ext <<_ACEOF
15857 /* confdefs.h. */
15858 _ACEOF
15859 cat confdefs.h >>conftest.$ac_ext
15860 cat >>conftest.$ac_ext <<_ACEOF
15861 /* end confdefs.h. */
15862 $ac_includes_default
15863 #include <$ac_header>
15864 _ACEOF
15865 rm -f conftest.$ac_objext
15866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15867 (eval $ac_compile) 2>conftest.er1
15868 ac_status=$?
15869 grep -v '^ *+' conftest.er1 >conftest.err
15870 rm -f conftest.er1
15871 cat conftest.err >&5
15872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15873 (exit $ac_status); } &&
15874 { ac_try='test -z "$ac_cxx_werror_flag"
15875 || test ! -s conftest.err'
15876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15877 (eval $ac_try) 2>&5
15878 ac_status=$?
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); }; } &&
15881 { ac_try='test -s conftest.$ac_objext'
15882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15883 (eval $ac_try) 2>&5
15884 ac_status=$?
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); }; }; then
15887 ac_header_compiler=yes
15888 else
15889 echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.$ac_ext >&5
15892 ac_header_compiler=no
15894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15895 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15896 echo "${ECHO_T}$ac_header_compiler" >&6
15898 # Is the header present?
15899 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15900 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15901 cat >conftest.$ac_ext <<_ACEOF
15902 /* confdefs.h. */
15903 _ACEOF
15904 cat confdefs.h >>conftest.$ac_ext
15905 cat >>conftest.$ac_ext <<_ACEOF
15906 /* end confdefs.h. */
15907 #include <$ac_header>
15908 _ACEOF
15909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15910 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15911 ac_status=$?
15912 grep -v '^ *+' conftest.er1 >conftest.err
15913 rm -f conftest.er1
15914 cat conftest.err >&5
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); } >/dev/null; then
15917 if test -s conftest.err; then
15918 ac_cpp_err=$ac_cxx_preproc_warn_flag
15919 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15920 else
15921 ac_cpp_err=
15923 else
15924 ac_cpp_err=yes
15926 if test -z "$ac_cpp_err"; then
15927 ac_header_preproc=yes
15928 else
15929 echo "$as_me: failed program was:" >&5
15930 sed 's/^/| /' conftest.$ac_ext >&5
15932 ac_header_preproc=no
15934 rm -f conftest.err conftest.$ac_ext
15935 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15936 echo "${ECHO_T}$ac_header_preproc" >&6
15938 # So? What about this header?
15939 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15940 yes:no: )
15941 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15942 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15943 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15944 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15945 ac_header_preproc=yes
15947 no:yes:* )
15948 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15949 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15950 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15951 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15952 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15953 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15954 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15955 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15957 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15958 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15959 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15961 cat <<\_ASBOX
15962 ## ----------------------------------------- ##
15963 ## Report this to the package-unused lists. ##
15964 ## ----------------------------------------- ##
15965 _ASBOX
15967 sed "s/^/$as_me: WARNING: /" >&2
15969 esac
15970 echo "$as_me:$LINENO: checking for $ac_header" >&5
15971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15973 echo $ECHO_N "(cached) $ECHO_C" >&6
15974 else
15975 eval "$as_ac_Header=\$ac_header_preproc"
15977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15981 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15982 cat >>confdefs.h <<_ACEOF
15983 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15984 _ACEOF
15985 ac_has_complex_h=yes
15986 else
15987 ac_has_complex_h=no
15990 done
15992 ac_c99_complex=no;
15993 if test x"$ac_has_complex_h" = x"yes"; then
15994 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
15995 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
15996 if test x$gcc_no_link = xyes; then
15997 cat >conftest.$ac_ext <<_ACEOF
15998 /* confdefs.h. */
15999 _ACEOF
16000 cat confdefs.h >>conftest.$ac_ext
16001 cat >>conftest.$ac_ext <<_ACEOF
16002 /* end confdefs.h. */
16003 #include <complex.h>
16004 typedef __complex__ float float_type;
16005 typedef __complex__ double double_type;
16006 typedef __complex__ long double ld_type;
16007 volatile float_type tmpf;
16008 volatile double_type tmpd;
16009 volatile ld_type tmpld;
16010 volatile float f;
16011 volatile double d;
16012 volatile long double ld;
16014 main ()
16016 f = cabsf(tmpf);
16017 f = cargf(tmpf);
16018 tmpf = ccosf(tmpf);
16019 tmpf = ccoshf(tmpf);
16020 tmpf = cexpf(tmpf);
16021 tmpf = clogf(tmpf);
16022 tmpf = csinf(tmpf);
16023 tmpf = csinhf(tmpf);
16024 tmpf = csqrtf(tmpf);
16025 tmpf = ctanf(tmpf);
16026 tmpf = ctanhf(tmpf);
16027 tmpf = cpowf(tmpf, tmpf);
16028 d = cabs(tmpd);
16029 d = carg(tmpd);
16030 tmpd = ccos(tmpd);
16031 tmpd = ccosh(tmpd);
16032 tmpd = cexp(tmpd);
16033 tmpd = clog(tmpd);
16034 tmpd = csin(tmpd);
16035 tmpd = csinh(tmpd);
16036 tmpd = csqrt(tmpd);
16037 tmpd = ctan(tmpd);
16038 tmpd = ctanh(tmpd);
16039 tmpd = cpow(tmpd, tmpd);
16040 ld = cabsl(tmpld);
16041 ld = cargl(tmpld);
16042 tmpld = ccosl(tmpld);
16043 tmpld = ccoshl(tmpld);
16044 tmpld = cexpl(tmpld);
16045 tmpld = clogl(tmpld);
16046 tmpld = csinl(tmpld);
16047 tmpld = csinhl(tmpld);
16048 tmpld = csqrtl(tmpld);
16049 tmpld = ctanl(tmpld);
16050 tmpld = ctanhl(tmpld);
16051 tmpld = cpowl(tmpld, tmpld);
16054 return 0;
16056 _ACEOF
16057 rm -f conftest.$ac_objext
16058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16059 (eval $ac_compile) 2>conftest.er1
16060 ac_status=$?
16061 grep -v '^ *+' conftest.er1 >conftest.err
16062 rm -f conftest.er1
16063 cat conftest.err >&5
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); } &&
16066 { ac_try='test -z "$ac_cxx_werror_flag"
16067 || test ! -s conftest.err'
16068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16069 (eval $ac_try) 2>&5
16070 ac_status=$?
16071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072 (exit $ac_status); }; } &&
16073 { ac_try='test -s conftest.$ac_objext'
16074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16075 (eval $ac_try) 2>&5
16076 ac_status=$?
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); }; }; then
16079 ac_c99_complex=yes
16080 else
16081 echo "$as_me: failed program was:" >&5
16082 sed 's/^/| /' conftest.$ac_ext >&5
16084 ac_c99_complex=no
16086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16087 else
16088 if test x$gcc_no_link = xyes; then
16089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16091 { (exit 1); exit 1; }; }
16093 cat >conftest.$ac_ext <<_ACEOF
16094 /* confdefs.h. */
16095 _ACEOF
16096 cat confdefs.h >>conftest.$ac_ext
16097 cat >>conftest.$ac_ext <<_ACEOF
16098 /* end confdefs.h. */
16099 #include <complex.h>
16100 typedef __complex__ float float_type;
16101 typedef __complex__ double double_type;
16102 typedef __complex__ long double ld_type;
16103 volatile float_type tmpf;
16104 volatile double_type tmpd;
16105 volatile ld_type tmpld;
16106 volatile float f;
16107 volatile double d;
16108 volatile long double ld;
16110 main ()
16112 f = cabsf(tmpf);
16113 f = cargf(tmpf);
16114 tmpf = ccosf(tmpf);
16115 tmpf = ccoshf(tmpf);
16116 tmpf = cexpf(tmpf);
16117 tmpf = clogf(tmpf);
16118 tmpf = csinf(tmpf);
16119 tmpf = csinhf(tmpf);
16120 tmpf = csqrtf(tmpf);
16121 tmpf = ctanf(tmpf);
16122 tmpf = ctanhf(tmpf);
16123 tmpf = cpowf(tmpf, tmpf);
16124 d = cabs(tmpd);
16125 d = carg(tmpd);
16126 tmpd = ccos(tmpd);
16127 tmpd = ccosh(tmpd);
16128 tmpd = cexp(tmpd);
16129 tmpd = clog(tmpd);
16130 tmpd = csin(tmpd);
16131 tmpd = csinh(tmpd);
16132 tmpd = csqrt(tmpd);
16133 tmpd = ctan(tmpd);
16134 tmpd = ctanh(tmpd);
16135 tmpd = cpow(tmpd, tmpd);
16136 ld = cabsl(tmpld);
16137 ld = cargl(tmpld);
16138 tmpld = ccosl(tmpld);
16139 tmpld = ccoshl(tmpld);
16140 tmpld = cexpl(tmpld);
16141 tmpld = clogl(tmpld);
16142 tmpld = csinl(tmpld);
16143 tmpld = csinhl(tmpld);
16144 tmpld = csqrtl(tmpld);
16145 tmpld = ctanl(tmpld);
16146 tmpld = ctanhl(tmpld);
16147 tmpld = cpowl(tmpld, tmpld);
16150 return 0;
16152 _ACEOF
16153 rm -f conftest.$ac_objext conftest$ac_exeext
16154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16155 (eval $ac_link) 2>conftest.er1
16156 ac_status=$?
16157 grep -v '^ *+' conftest.er1 >conftest.err
16158 rm -f conftest.er1
16159 cat conftest.err >&5
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); } &&
16162 { ac_try='test -z "$ac_cxx_werror_flag"
16163 || test ! -s conftest.err'
16164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16165 (eval $ac_try) 2>&5
16166 ac_status=$?
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; } &&
16169 { ac_try='test -s conftest$ac_exeext'
16170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16171 (eval $ac_try) 2>&5
16172 ac_status=$?
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); }; }; then
16175 ac_c99_complex=yes
16176 else
16177 echo "$as_me: failed program was:" >&5
16178 sed 's/^/| /' conftest.$ac_ext >&5
16180 ac_c99_complex=no
16182 rm -f conftest.err conftest.$ac_objext \
16183 conftest$ac_exeext conftest.$ac_ext
16186 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
16187 echo "${ECHO_T}$ac_c99_complex" >&6
16188 if test x"$ac_c99_complex" = x"yes"; then
16190 cat >>confdefs.h <<\_ACEOF
16191 #define _GLIBCXX_USE_C99_COMPLEX 1
16192 _ACEOF
16196 # Check for the existence in <stdio.h> of vscanf, et. al.
16197 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16198 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
16199 if test "${ac_c99_stdio+set}" = set; then
16200 echo $ECHO_N "(cached) $ECHO_C" >&6
16201 else
16203 if test x$gcc_no_link = xyes; then
16204 cat >conftest.$ac_ext <<_ACEOF
16205 /* confdefs.h. */
16206 _ACEOF
16207 cat confdefs.h >>conftest.$ac_ext
16208 cat >>conftest.$ac_ext <<_ACEOF
16209 /* end confdefs.h. */
16210 #include <stdio.h>
16211 #include <stdarg.h>
16212 void foo(char* fmt, ...)
16214 va_list args; va_start(args, fmt);
16215 vfscanf(stderr, "%i", args);
16216 vscanf("%i", args);
16217 vsnprintf(fmt, 0, "%i", args);
16218 vsscanf(fmt, "%i", args);
16221 main ()
16223 snprintf("12", 0, "%i");
16225 return 0;
16227 _ACEOF
16228 rm -f conftest.$ac_objext
16229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16230 (eval $ac_compile) 2>conftest.er1
16231 ac_status=$?
16232 grep -v '^ *+' conftest.er1 >conftest.err
16233 rm -f conftest.er1
16234 cat conftest.err >&5
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); } &&
16237 { ac_try='test -z "$ac_cxx_werror_flag"
16238 || test ! -s conftest.err'
16239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16240 (eval $ac_try) 2>&5
16241 ac_status=$?
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); }; } &&
16244 { ac_try='test -s conftest.$ac_objext'
16245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16246 (eval $ac_try) 2>&5
16247 ac_status=$?
16248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16249 (exit $ac_status); }; }; then
16250 ac_c99_stdio=yes
16251 else
16252 echo "$as_me: failed program was:" >&5
16253 sed 's/^/| /' conftest.$ac_ext >&5
16255 ac_c99_stdio=no
16257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16258 else
16259 if test x$gcc_no_link = xyes; then
16260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16262 { (exit 1); exit 1; }; }
16264 cat >conftest.$ac_ext <<_ACEOF
16265 /* confdefs.h. */
16266 _ACEOF
16267 cat confdefs.h >>conftest.$ac_ext
16268 cat >>conftest.$ac_ext <<_ACEOF
16269 /* end confdefs.h. */
16270 #include <stdio.h>
16271 #include <stdarg.h>
16272 void foo(char* fmt, ...)
16274 va_list args; va_start(args, fmt);
16275 vfscanf(stderr, "%i", args);
16276 vscanf("%i", args);
16277 vsnprintf(fmt, 0, "%i", args);
16278 vsscanf(fmt, "%i", args);
16281 main ()
16283 snprintf("12", 0, "%i");
16285 return 0;
16287 _ACEOF
16288 rm -f conftest.$ac_objext conftest$ac_exeext
16289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16290 (eval $ac_link) 2>conftest.er1
16291 ac_status=$?
16292 grep -v '^ *+' conftest.er1 >conftest.err
16293 rm -f conftest.er1
16294 cat conftest.err >&5
16295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16296 (exit $ac_status); } &&
16297 { ac_try='test -z "$ac_cxx_werror_flag"
16298 || test ! -s conftest.err'
16299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16300 (eval $ac_try) 2>&5
16301 ac_status=$?
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); }; } &&
16304 { ac_try='test -s conftest$ac_exeext'
16305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16306 (eval $ac_try) 2>&5
16307 ac_status=$?
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); }; }; then
16310 ac_c99_stdio=yes
16311 else
16312 echo "$as_me: failed program was:" >&5
16313 sed 's/^/| /' conftest.$ac_ext >&5
16315 ac_c99_stdio=no
16317 rm -f conftest.err conftest.$ac_objext \
16318 conftest$ac_exeext conftest.$ac_ext
16323 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
16324 echo "${ECHO_T}$ac_c99_stdio" >&6
16326 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16327 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
16328 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
16329 if test "${ac_c99_stdlib+set}" = set; then
16330 echo $ECHO_N "(cached) $ECHO_C" >&6
16331 else
16333 if test x$gcc_no_link = xyes; then
16334 cat >conftest.$ac_ext <<_ACEOF
16335 /* confdefs.h. */
16336 _ACEOF
16337 cat confdefs.h >>conftest.$ac_ext
16338 cat >>conftest.$ac_ext <<_ACEOF
16339 /* end confdefs.h. */
16340 #include <stdlib.h>
16341 volatile float f;
16342 volatile long double ld;
16343 volatile unsigned long long ll;
16344 lldiv_t mydivt;
16346 main ()
16348 char* tmp;
16349 f = strtof("gnu", &tmp);
16350 ld = strtold("gnu", &tmp);
16351 ll = strtoll("gnu", &tmp, 10);
16352 ll = strtoull("gnu", &tmp, 10);
16353 ll = llabs(10);
16354 mydivt = lldiv(10,1);
16355 ll = mydivt.quot;
16356 ll = mydivt.rem;
16357 ll = atoll("10");
16358 _Exit(0);
16361 return 0;
16363 _ACEOF
16364 rm -f conftest.$ac_objext
16365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16366 (eval $ac_compile) 2>conftest.er1
16367 ac_status=$?
16368 grep -v '^ *+' conftest.er1 >conftest.err
16369 rm -f conftest.er1
16370 cat conftest.err >&5
16371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16372 (exit $ac_status); } &&
16373 { ac_try='test -z "$ac_cxx_werror_flag"
16374 || test ! -s conftest.err'
16375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16376 (eval $ac_try) 2>&5
16377 ac_status=$?
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); }; } &&
16380 { ac_try='test -s conftest.$ac_objext'
16381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16382 (eval $ac_try) 2>&5
16383 ac_status=$?
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); }; }; then
16386 ac_c99_stdlib=yes
16387 else
16388 echo "$as_me: failed program was:" >&5
16389 sed 's/^/| /' conftest.$ac_ext >&5
16391 ac_c99_stdlib=no
16393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16394 else
16395 if test x$gcc_no_link = xyes; then
16396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16398 { (exit 1); exit 1; }; }
16400 cat >conftest.$ac_ext <<_ACEOF
16401 /* confdefs.h. */
16402 _ACEOF
16403 cat confdefs.h >>conftest.$ac_ext
16404 cat >>conftest.$ac_ext <<_ACEOF
16405 /* end confdefs.h. */
16406 #include <stdlib.h>
16407 volatile float f;
16408 volatile long double ld;
16409 volatile unsigned long long ll;
16410 lldiv_t mydivt;
16412 main ()
16414 char* tmp;
16415 f = strtof("gnu", &tmp);
16416 ld = strtold("gnu", &tmp);
16417 ll = strtoll("gnu", &tmp, 10);
16418 ll = strtoull("gnu", &tmp, 10);
16419 ll = llabs(10);
16420 mydivt = lldiv(10,1);
16421 ll = mydivt.quot;
16422 ll = mydivt.rem;
16423 ll = atoll("10");
16424 _Exit(0);
16427 return 0;
16429 _ACEOF
16430 rm -f conftest.$ac_objext conftest$ac_exeext
16431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16432 (eval $ac_link) 2>conftest.er1
16433 ac_status=$?
16434 grep -v '^ *+' conftest.er1 >conftest.err
16435 rm -f conftest.er1
16436 cat conftest.err >&5
16437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16438 (exit $ac_status); } &&
16439 { ac_try='test -z "$ac_cxx_werror_flag"
16440 || test ! -s conftest.err'
16441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16442 (eval $ac_try) 2>&5
16443 ac_status=$?
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; } &&
16446 { ac_try='test -s conftest$ac_exeext'
16447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16448 (eval $ac_try) 2>&5
16449 ac_status=$?
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }; }; then
16452 ac_c99_stdlib=yes
16453 else
16454 echo "$as_me: failed program was:" >&5
16455 sed 's/^/| /' conftest.$ac_ext >&5
16457 ac_c99_stdlib=no
16459 rm -f conftest.err conftest.$ac_objext \
16460 conftest$ac_exeext conftest.$ac_ext
16465 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
16466 echo "${ECHO_T}$ac_c99_stdlib" >&6
16468 # Check for the existence in <wchar.h> of wcstold, etc.
16469 ac_c99_wchar=no;
16470 if test x"$ac_has_wchar_h" = xyes &&
16471 test x"$ac_has_wctype_h" = xyes; then
16472 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16473 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16474 cat >conftest.$ac_ext <<_ACEOF
16475 /* confdefs.h. */
16476 _ACEOF
16477 cat confdefs.h >>conftest.$ac_ext
16478 cat >>conftest.$ac_ext <<_ACEOF
16479 /* end confdefs.h. */
16480 #include <wchar.h>
16481 namespace test
16483 using ::wcstold;
16484 using ::wcstoll;
16485 using ::wcstoull;
16489 main ()
16493 return 0;
16495 _ACEOF
16496 rm -f conftest.$ac_objext
16497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16498 (eval $ac_compile) 2>conftest.er1
16499 ac_status=$?
16500 grep -v '^ *+' conftest.er1 >conftest.err
16501 rm -f conftest.er1
16502 cat conftest.err >&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); } &&
16505 { ac_try='test -z "$ac_cxx_werror_flag"
16506 || test ! -s conftest.err'
16507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16508 (eval $ac_try) 2>&5
16509 ac_status=$?
16510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511 (exit $ac_status); }; } &&
16512 { ac_try='test -s conftest.$ac_objext'
16513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16514 (eval $ac_try) 2>&5
16515 ac_status=$?
16516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16517 (exit $ac_status); }; }; then
16518 ac_c99_wchar=yes
16519 else
16520 echo "$as_me: failed program was:" >&5
16521 sed 's/^/| /' conftest.$ac_ext >&5
16523 ac_c99_wchar=no
16525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16527 # Checks for wide character functions that may not be present.
16528 # Injection of these is wrapped with guard macros.
16529 # NB: only put functions here, instead of immediately above, if
16530 # absolutely necessary.
16531 cat >conftest.$ac_ext <<_ACEOF
16532 /* confdefs.h. */
16533 _ACEOF
16534 cat confdefs.h >>conftest.$ac_ext
16535 cat >>conftest.$ac_ext <<_ACEOF
16536 /* end confdefs.h. */
16537 #include <wchar.h>
16538 namespace test { using ::vfwscanf; }
16540 main ()
16544 return 0;
16546 _ACEOF
16547 rm -f conftest.$ac_objext
16548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16549 (eval $ac_compile) 2>conftest.er1
16550 ac_status=$?
16551 grep -v '^ *+' conftest.er1 >conftest.err
16552 rm -f conftest.er1
16553 cat conftest.err >&5
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); } &&
16556 { ac_try='test -z "$ac_cxx_werror_flag"
16557 || test ! -s conftest.err'
16558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16559 (eval $ac_try) 2>&5
16560 ac_status=$?
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); }; } &&
16563 { ac_try='test -s conftest.$ac_objext'
16564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16565 (eval $ac_try) 2>&5
16566 ac_status=$?
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; }; then
16570 cat >>confdefs.h <<\_ACEOF
16571 #define HAVE_VFWSCANF 1
16572 _ACEOF
16574 else
16575 echo "$as_me: failed program was:" >&5
16576 sed 's/^/| /' conftest.$ac_ext >&5
16579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16581 cat >conftest.$ac_ext <<_ACEOF
16582 /* confdefs.h. */
16583 _ACEOF
16584 cat confdefs.h >>conftest.$ac_ext
16585 cat >>conftest.$ac_ext <<_ACEOF
16586 /* end confdefs.h. */
16587 #include <wchar.h>
16588 namespace test { using ::vswscanf; }
16590 main ()
16594 return 0;
16596 _ACEOF
16597 rm -f conftest.$ac_objext
16598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16599 (eval $ac_compile) 2>conftest.er1
16600 ac_status=$?
16601 grep -v '^ *+' conftest.er1 >conftest.err
16602 rm -f conftest.er1
16603 cat conftest.err >&5
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); } &&
16606 { ac_try='test -z "$ac_cxx_werror_flag"
16607 || test ! -s conftest.err'
16608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16609 (eval $ac_try) 2>&5
16610 ac_status=$?
16611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612 (exit $ac_status); }; } &&
16613 { ac_try='test -s conftest.$ac_objext'
16614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16615 (eval $ac_try) 2>&5
16616 ac_status=$?
16617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16618 (exit $ac_status); }; }; then
16620 cat >>confdefs.h <<\_ACEOF
16621 #define HAVE_VSWSCANF 1
16622 _ACEOF
16624 else
16625 echo "$as_me: failed program was:" >&5
16626 sed 's/^/| /' conftest.$ac_ext >&5
16629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16631 cat >conftest.$ac_ext <<_ACEOF
16632 /* confdefs.h. */
16633 _ACEOF
16634 cat confdefs.h >>conftest.$ac_ext
16635 cat >>conftest.$ac_ext <<_ACEOF
16636 /* end confdefs.h. */
16637 #include <wchar.h>
16638 namespace test { using ::vwscanf; }
16640 main ()
16644 return 0;
16646 _ACEOF
16647 rm -f conftest.$ac_objext
16648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16649 (eval $ac_compile) 2>conftest.er1
16650 ac_status=$?
16651 grep -v '^ *+' conftest.er1 >conftest.err
16652 rm -f conftest.er1
16653 cat conftest.err >&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); } &&
16656 { ac_try='test -z "$ac_cxx_werror_flag"
16657 || test ! -s conftest.err'
16658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16659 (eval $ac_try) 2>&5
16660 ac_status=$?
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); }; } &&
16663 { ac_try='test -s conftest.$ac_objext'
16664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16665 (eval $ac_try) 2>&5
16666 ac_status=$?
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); }; }; then
16670 cat >>confdefs.h <<\_ACEOF
16671 #define HAVE_VWSCANF 1
16672 _ACEOF
16674 else
16675 echo "$as_me: failed program was:" >&5
16676 sed 's/^/| /' conftest.$ac_ext >&5
16679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16681 cat >conftest.$ac_ext <<_ACEOF
16682 /* confdefs.h. */
16683 _ACEOF
16684 cat confdefs.h >>conftest.$ac_ext
16685 cat >>conftest.$ac_ext <<_ACEOF
16686 /* end confdefs.h. */
16687 #include <wchar.h>
16688 namespace test { using ::wcstof; }
16690 main ()
16694 return 0;
16696 _ACEOF
16697 rm -f conftest.$ac_objext
16698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16699 (eval $ac_compile) 2>conftest.er1
16700 ac_status=$?
16701 grep -v '^ *+' conftest.er1 >conftest.err
16702 rm -f conftest.er1
16703 cat conftest.err >&5
16704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705 (exit $ac_status); } &&
16706 { ac_try='test -z "$ac_cxx_werror_flag"
16707 || test ! -s conftest.err'
16708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16709 (eval $ac_try) 2>&5
16710 ac_status=$?
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); }; } &&
16713 { ac_try='test -s conftest.$ac_objext'
16714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715 (eval $ac_try) 2>&5
16716 ac_status=$?
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); }; }; then
16720 cat >>confdefs.h <<\_ACEOF
16721 #define HAVE_WCSTOF 1
16722 _ACEOF
16724 else
16725 echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.$ac_ext >&5
16729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16731 cat >conftest.$ac_ext <<_ACEOF
16732 /* confdefs.h. */
16733 _ACEOF
16734 cat confdefs.h >>conftest.$ac_ext
16735 cat >>conftest.$ac_ext <<_ACEOF
16736 /* end confdefs.h. */
16737 #include <wctype.h>
16739 main ()
16741 wint_t t; int i = iswblank(t);
16743 return 0;
16745 _ACEOF
16746 rm -f conftest.$ac_objext
16747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16748 (eval $ac_compile) 2>conftest.er1
16749 ac_status=$?
16750 grep -v '^ *+' conftest.er1 >conftest.err
16751 rm -f conftest.er1
16752 cat conftest.err >&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); } &&
16755 { ac_try='test -z "$ac_cxx_werror_flag"
16756 || test ! -s conftest.err'
16757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16758 (eval $ac_try) 2>&5
16759 ac_status=$?
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); }; } &&
16762 { ac_try='test -s conftest.$ac_objext'
16763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16764 (eval $ac_try) 2>&5
16765 ac_status=$?
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); }; }; then
16769 cat >>confdefs.h <<\_ACEOF
16770 #define HAVE_ISWBLANK 1
16771 _ACEOF
16773 else
16774 echo "$as_me: failed program was:" >&5
16775 sed 's/^/| /' conftest.$ac_ext >&5
16778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16780 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
16781 echo "${ECHO_T}$ac_c99_wchar" >&6
16784 # Option parsed, now set things appropriately.
16785 if test x"$ac_c99_math" = x"no" ||
16786 test x"$ac_c99_complex" = x"no" ||
16787 test x"$ac_c99_stdio" = x"no" ||
16788 test x"$ac_c99_stdlib" = x"no" ||
16789 test x"$ac_c99_wchar" = x"no"; then
16790 enable_c99=no;
16791 else
16793 cat >>confdefs.h <<\_ACEOF
16794 #define _GLIBCXX_USE_C99 1
16795 _ACEOF
16799 gcc_no_link="$ac_save_gcc_no_link"
16800 LIBS="$ac_save_LIBS"
16801 CXXFLAGS="$ac_save_CXXFLAGS"
16802 ac_ext=c
16803 ac_cpp='$CPP $CPPFLAGS'
16804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16810 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
16811 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
16812 echo "$as_me:$LINENO: result: $enable_c99" >&5
16813 echo "${ECHO_T}$enable_c99" >&6
16816 # Check whether --enable-concept-checks or --disable-concept-checks was given.
16817 if test "${enable_concept_checks+set}" = set; then
16818 enableval="$enable_concept_checks"
16820 case "$enableval" in
16821 yes|no) ;;
16822 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
16823 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
16824 { (exit 1); exit 1; }; } ;;
16825 esac
16827 else
16828 enable_concept_checks=no
16831 if test $enable_concept_checks = yes; then
16833 cat >>confdefs.h <<\_ACEOF
16834 #define _GLIBCXX_CONCEPT_CHECKS 1
16835 _ACEOF
16840 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
16841 if test "${enable_libstdcxx_debug_flags+set}" = set; then
16842 enableval="$enable_libstdcxx_debug_flags"
16843 case "x$enable_libstdcxx_debug_flags" in
16844 xno | x) enable_libstdcxx_debug_flags= ;;
16845 x-*) ;;
16846 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
16847 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
16848 { (exit 1); exit 1; }; } ;;
16849 esac
16850 else
16851 enable_libstdcxx_debug_flags="-g3 -O0"
16855 # Option parsed, now set things appropriately
16856 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16859 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
16860 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16863 echo "$as_me:$LINENO: checking for additional debug build" >&5
16864 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
16865 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
16866 if test "${enable_libstdcxx_debug+set}" = set; then
16867 enableval="$enable_libstdcxx_debug"
16869 case "$enableval" in
16870 yes|no) ;;
16871 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
16872 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
16873 { (exit 1); exit 1; }; } ;;
16874 esac
16876 else
16877 enable_libstdcxx_debug=no
16880 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
16881 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
16886 # NB: libstdc++ may be configured before libgomp: can't check for the actual
16887 # dependencies (omp.h and libgomp).
16888 enable_parallel=no;
16889 if test -f $glibcxx_builddir/../libgomp/omp.h; then
16890 enable_parallel=yes;
16891 else
16892 { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
16893 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
16896 # Check to see if it's explicitly disabled.
16897 # GLIBCXX_ENABLE(libgomp,,,[enable code depending on libgomp],
16898 # [permit yes|no])
16900 # if test x$enable_libgomp = xno; then
16901 # enable_parallel=no
16902 # fi
16904 echo "$as_me:$LINENO: checking for parallel mode support" >&5
16905 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
16906 echo "$as_me:$LINENO: result: $enable_parallel" >&5
16907 echo "${ECHO_T}$enable_parallel" >&6
16910 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
16911 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
16912 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
16913 if test "${enable_cxx_flags+set}" = set; then
16914 enableval="$enable_cxx_flags"
16915 case "x$enable_cxx_flags" in
16916 xno | x) enable_cxx_flags= ;;
16917 x-*) ;;
16918 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
16919 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
16920 { (exit 1); exit 1; }; } ;;
16921 esac
16922 else
16923 enable_cxx_flags=
16927 # Run through flags (either default or command-line) and set anything
16928 # extra (e.g., #defines) that must accompany particular g++ options.
16929 if test -n "$enable_cxx_flags"; then
16930 for f in $enable_cxx_flags; do
16931 case "$f" in
16932 -fhonor-std) ;;
16933 -*) ;;
16934 *) # and we're trying to pass /what/ exactly?
16935 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
16936 echo "$as_me: error: compiler flags start with a -" >&2;}
16937 { (exit 1); exit 1; }; } ;;
16938 esac
16939 done
16942 EXTRA_CXX_FLAGS="$enable_cxx_flags"
16943 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
16944 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
16948 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
16949 if test "${enable_fully_dynamic_string+set}" = set; then
16950 enableval="$enable_fully_dynamic_string"
16952 case "$enableval" in
16953 yes|no) ;;
16954 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
16955 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
16956 { (exit 1); exit 1; }; } ;;
16957 esac
16959 else
16960 enable_fully_dynamic_string=no
16963 if test $enable_fully_dynamic_string = yes; then
16965 cat >>confdefs.h <<\_ACEOF
16966 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
16967 _ACEOF
16972 # Checks for operating systems support that don't require linking.
16975 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
16976 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
16977 if test "${ac_system_error1+set}" = set; then
16978 echo $ECHO_N "(cached) $ECHO_C" >&6
16979 else
16981 cat >conftest.$ac_ext <<_ACEOF
16982 /* confdefs.h. */
16983 _ACEOF
16984 cat confdefs.h >>conftest.$ac_ext
16985 cat >>conftest.$ac_ext <<_ACEOF
16986 /* end confdefs.h. */
16987 #include <errno.h>
16989 main ()
16991 int i = EOWNERDEAD;
16993 return 0;
16995 _ACEOF
16996 rm -f conftest.$ac_objext
16997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16998 (eval $ac_compile) 2>conftest.er1
16999 ac_status=$?
17000 grep -v '^ *+' conftest.er1 >conftest.err
17001 rm -f conftest.er1
17002 cat conftest.err >&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); } &&
17005 { ac_try='test -z "$ac_c_werror_flag"
17006 || test ! -s conftest.err'
17007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17008 (eval $ac_try) 2>&5
17009 ac_status=$?
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); }; } &&
17012 { ac_try='test -s conftest.$ac_objext'
17013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17014 (eval $ac_try) 2>&5
17015 ac_status=$?
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); }; }; then
17018 ac_system_error1=yes
17019 else
17020 echo "$as_me: failed program was:" >&5
17021 sed 's/^/| /' conftest.$ac_ext >&5
17023 ac_system_error1=no
17025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17029 echo "$as_me:$LINENO: result: $ac_system_error1" >&5
17030 echo "${ECHO_T}$ac_system_error1" >&6
17031 if test x"$ac_system_error1" = x"yes"; then
17033 cat >>confdefs.h <<\_ACEOF
17034 #define HAVE_EOWNERDEAD 1
17035 _ACEOF
17039 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
17040 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
17041 if test "${ac_system_error2+set}" = set; then
17042 echo $ECHO_N "(cached) $ECHO_C" >&6
17043 else
17045 cat >conftest.$ac_ext <<_ACEOF
17046 /* confdefs.h. */
17047 _ACEOF
17048 cat confdefs.h >>conftest.$ac_ext
17049 cat >>conftest.$ac_ext <<_ACEOF
17050 /* end confdefs.h. */
17051 #include <errno.h>
17053 main ()
17055 int i = ENOTRECOVERABLE;
17057 return 0;
17059 _ACEOF
17060 rm -f conftest.$ac_objext
17061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17062 (eval $ac_compile) 2>conftest.er1
17063 ac_status=$?
17064 grep -v '^ *+' conftest.er1 >conftest.err
17065 rm -f conftest.er1
17066 cat conftest.err >&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); } &&
17069 { ac_try='test -z "$ac_c_werror_flag"
17070 || test ! -s conftest.err'
17071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17072 (eval $ac_try) 2>&5
17073 ac_status=$?
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); }; } &&
17076 { ac_try='test -s conftest.$ac_objext'
17077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17078 (eval $ac_try) 2>&5
17079 ac_status=$?
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); }; }; then
17082 ac_system_error2=yes
17083 else
17084 echo "$as_me: failed program was:" >&5
17085 sed 's/^/| /' conftest.$ac_ext >&5
17087 ac_system_error2=no
17089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17093 echo "$as_me:$LINENO: result: $ac_system_error2" >&5
17094 echo "${ECHO_T}$ac_system_error2" >&6
17095 if test x"$ac_system_error2" = x"yes"; then
17097 cat >>confdefs.h <<\_ACEOF
17098 #define HAVE_ENOTRECOVERABLE 1
17099 _ACEOF
17103 echo "$as_me:$LINENO: checking for ENOLINK" >&5
17104 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
17105 if test "${ac_system_error3+set}" = set; then
17106 echo $ECHO_N "(cached) $ECHO_C" >&6
17107 else
17109 cat >conftest.$ac_ext <<_ACEOF
17110 /* confdefs.h. */
17111 _ACEOF
17112 cat confdefs.h >>conftest.$ac_ext
17113 cat >>conftest.$ac_ext <<_ACEOF
17114 /* end confdefs.h. */
17115 #include <errno.h>
17117 main ()
17119 int i = ENOLINK;
17121 return 0;
17123 _ACEOF
17124 rm -f conftest.$ac_objext
17125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17126 (eval $ac_compile) 2>conftest.er1
17127 ac_status=$?
17128 grep -v '^ *+' conftest.er1 >conftest.err
17129 rm -f conftest.er1
17130 cat conftest.err >&5
17131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17132 (exit $ac_status); } &&
17133 { ac_try='test -z "$ac_c_werror_flag"
17134 || test ! -s conftest.err'
17135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17136 (eval $ac_try) 2>&5
17137 ac_status=$?
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); }; } &&
17140 { ac_try='test -s conftest.$ac_objext'
17141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17142 (eval $ac_try) 2>&5
17143 ac_status=$?
17144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17145 (exit $ac_status); }; }; then
17146 ac_system_error3=yes
17147 else
17148 echo "$as_me: failed program was:" >&5
17149 sed 's/^/| /' conftest.$ac_ext >&5
17151 ac_system_error3=no
17153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17157 echo "$as_me:$LINENO: result: $ac_system_error3" >&5
17158 echo "${ECHO_T}$ac_system_error3" >&6
17159 if test x"$ac_system_error3" = x"yes"; then
17161 cat >>confdefs.h <<\_ACEOF
17162 #define HAVE_ENOLINK 1
17163 _ACEOF
17167 echo "$as_me:$LINENO: checking for EPROTO" >&5
17168 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
17169 if test "${ac_system_error_4+set}" = set; then
17170 echo $ECHO_N "(cached) $ECHO_C" >&6
17171 else
17173 cat >conftest.$ac_ext <<_ACEOF
17174 /* confdefs.h. */
17175 _ACEOF
17176 cat confdefs.h >>conftest.$ac_ext
17177 cat >>conftest.$ac_ext <<_ACEOF
17178 /* end confdefs.h. */
17179 #include <errno.h>
17181 main ()
17183 int i = EPROTO;
17185 return 0;
17187 _ACEOF
17188 rm -f conftest.$ac_objext
17189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17190 (eval $ac_compile) 2>conftest.er1
17191 ac_status=$?
17192 grep -v '^ *+' conftest.er1 >conftest.err
17193 rm -f conftest.er1
17194 cat conftest.err >&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } &&
17197 { ac_try='test -z "$ac_c_werror_flag"
17198 || test ! -s conftest.err'
17199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17200 (eval $ac_try) 2>&5
17201 ac_status=$?
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); }; } &&
17204 { ac_try='test -s conftest.$ac_objext'
17205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17206 (eval $ac_try) 2>&5
17207 ac_status=$?
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); }; }; then
17210 ac_system_error_4=yes
17211 else
17212 echo "$as_me: failed program was:" >&5
17213 sed 's/^/| /' conftest.$ac_ext >&5
17215 ac_system_error_4=no
17217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17221 echo "$as_me:$LINENO: result: $ac_system_error_4" >&5
17222 echo "${ECHO_T}$ac_system_error_4" >&6
17223 if test x"$ac_system_error_4" = x"yes"; then
17225 cat >>confdefs.h <<\_ACEOF
17226 #define HAVE_EPROTO 1
17227 _ACEOF
17231 echo "$as_me:$LINENO: checking for ENODATA" >&5
17232 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
17233 if test "${ac_system_error_5+set}" = set; then
17234 echo $ECHO_N "(cached) $ECHO_C" >&6
17235 else
17237 cat >conftest.$ac_ext <<_ACEOF
17238 /* confdefs.h. */
17239 _ACEOF
17240 cat confdefs.h >>conftest.$ac_ext
17241 cat >>conftest.$ac_ext <<_ACEOF
17242 /* end confdefs.h. */
17243 #include <errno.h>
17245 main ()
17247 int i = ENODATA;
17249 return 0;
17251 _ACEOF
17252 rm -f conftest.$ac_objext
17253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17254 (eval $ac_compile) 2>conftest.er1
17255 ac_status=$?
17256 grep -v '^ *+' conftest.er1 >conftest.err
17257 rm -f conftest.er1
17258 cat conftest.err >&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } &&
17261 { ac_try='test -z "$ac_c_werror_flag"
17262 || test ! -s conftest.err'
17263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17264 (eval $ac_try) 2>&5
17265 ac_status=$?
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); }; } &&
17268 { ac_try='test -s conftest.$ac_objext'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17271 ac_status=$?
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; }; then
17274 ac_system_error_5=yes
17275 else
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.$ac_ext >&5
17279 ac_system_error_5=no
17281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17285 echo "$as_me:$LINENO: result: $ac_system_error_5" >&5
17286 echo "${ECHO_T}$ac_system_error_5" >&6
17287 if test x"$ac_system_error_5" = x"yes"; then
17289 cat >>confdefs.h <<\_ACEOF
17290 #define HAVE_ENODATA 1
17291 _ACEOF
17295 echo "$as_me:$LINENO: checking for ENOSR" >&5
17296 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
17297 if test "${ac_system_error_6+set}" = set; then
17298 echo $ECHO_N "(cached) $ECHO_C" >&6
17299 else
17301 cat >conftest.$ac_ext <<_ACEOF
17302 /* confdefs.h. */
17303 _ACEOF
17304 cat confdefs.h >>conftest.$ac_ext
17305 cat >>conftest.$ac_ext <<_ACEOF
17306 /* end confdefs.h. */
17307 #include <errno.h>
17309 main ()
17311 int i = ENOSR;
17313 return 0;
17315 _ACEOF
17316 rm -f conftest.$ac_objext
17317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17318 (eval $ac_compile) 2>conftest.er1
17319 ac_status=$?
17320 grep -v '^ *+' conftest.er1 >conftest.err
17321 rm -f conftest.er1
17322 cat conftest.err >&5
17323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17324 (exit $ac_status); } &&
17325 { ac_try='test -z "$ac_c_werror_flag"
17326 || test ! -s conftest.err'
17327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17328 (eval $ac_try) 2>&5
17329 ac_status=$?
17330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17331 (exit $ac_status); }; } &&
17332 { ac_try='test -s conftest.$ac_objext'
17333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17334 (eval $ac_try) 2>&5
17335 ac_status=$?
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); }; }; then
17338 ac_system_error_6=yes
17339 else
17340 echo "$as_me: failed program was:" >&5
17341 sed 's/^/| /' conftest.$ac_ext >&5
17343 ac_system_error_6=no
17345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17349 echo "$as_me:$LINENO: result: $ac_system_error_6" >&5
17350 echo "${ECHO_T}$ac_system_error_6" >&6
17351 if test x"$ac_system_error_6" = x"yes"; then
17353 cat >>confdefs.h <<\_ACEOF
17354 #define HAVE_ENOSR 1
17355 _ACEOF
17359 echo "$as_me:$LINENO: checking for ENOSTR" >&5
17360 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
17361 if test "${ac_system_error_7+set}" = set; then
17362 echo $ECHO_N "(cached) $ECHO_C" >&6
17363 else
17365 cat >conftest.$ac_ext <<_ACEOF
17366 /* confdefs.h. */
17367 _ACEOF
17368 cat confdefs.h >>conftest.$ac_ext
17369 cat >>conftest.$ac_ext <<_ACEOF
17370 /* end confdefs.h. */
17371 #include <errno.h>
17373 main ()
17375 int i = ENOSTR;
17377 return 0;
17379 _ACEOF
17380 rm -f conftest.$ac_objext
17381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17382 (eval $ac_compile) 2>conftest.er1
17383 ac_status=$?
17384 grep -v '^ *+' conftest.er1 >conftest.err
17385 rm -f conftest.er1
17386 cat conftest.err >&5
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); } &&
17389 { ac_try='test -z "$ac_c_werror_flag"
17390 || test ! -s conftest.err'
17391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17392 (eval $ac_try) 2>&5
17393 ac_status=$?
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); }; } &&
17396 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17402 ac_system_error_7=yes
17403 else
17404 echo "$as_me: failed program was:" >&5
17405 sed 's/^/| /' conftest.$ac_ext >&5
17407 ac_system_error_7=no
17409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17413 echo "$as_me:$LINENO: result: $ac_system_error_7" >&5
17414 echo "${ECHO_T}$ac_system_error_7" >&6
17415 if test x"$ac_system_error_7" = x"yes"; then
17417 cat >>confdefs.h <<\_ACEOF
17418 #define HAVE_ENOSTR 1
17419 _ACEOF
17423 echo "$as_me:$LINENO: checking for ETIME" >&5
17424 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
17425 if test "${ac_system_error_8+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17427 else
17429 cat >conftest.$ac_ext <<_ACEOF
17430 /* confdefs.h. */
17431 _ACEOF
17432 cat confdefs.h >>conftest.$ac_ext
17433 cat >>conftest.$ac_ext <<_ACEOF
17434 /* end confdefs.h. */
17435 #include <errno.h>
17437 main ()
17439 int i = ETIME;
17441 return 0;
17443 _ACEOF
17444 rm -f conftest.$ac_objext
17445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17446 (eval $ac_compile) 2>conftest.er1
17447 ac_status=$?
17448 grep -v '^ *+' conftest.er1 >conftest.err
17449 rm -f conftest.er1
17450 cat conftest.err >&5
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); } &&
17453 { ac_try='test -z "$ac_c_werror_flag"
17454 || test ! -s conftest.err'
17455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17456 (eval $ac_try) 2>&5
17457 ac_status=$?
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }; } &&
17460 { ac_try='test -s conftest.$ac_objext'
17461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17462 (eval $ac_try) 2>&5
17463 ac_status=$?
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; }; then
17466 ac_system_error_8=yes
17467 else
17468 echo "$as_me: failed program was:" >&5
17469 sed 's/^/| /' conftest.$ac_ext >&5
17471 ac_system_error_8=no
17473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17477 echo "$as_me:$LINENO: result: $ac_system_error_8" >&5
17478 echo "${ECHO_T}$ac_system_error_8" >&6
17479 if test x"$ac_system_error_8" = x"yes"; then
17481 cat >>confdefs.h <<\_ACEOF
17482 #define HAVE_ETIME 1
17483 _ACEOF
17487 echo "$as_me:$LINENO: checking for sys_nerr" >&5
17488 echo $ECHO_N "checking for sys_nerr... $ECHO_C" >&6
17489 if test "${ac_system_error9+set}" = set; then
17490 echo $ECHO_N "(cached) $ECHO_C" >&6
17491 else
17493 cat >conftest.$ac_ext <<_ACEOF
17494 /* confdefs.h. */
17495 _ACEOF
17496 cat confdefs.h >>conftest.$ac_ext
17497 cat >>conftest.$ac_ext <<_ACEOF
17498 /* end confdefs.h. */
17499 #include <errno.h>
17501 main ()
17503 int i = sys_nerr;
17505 return 0;
17507 _ACEOF
17508 rm -f conftest.$ac_objext
17509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17510 (eval $ac_compile) 2>conftest.er1
17511 ac_status=$?
17512 grep -v '^ *+' conftest.er1 >conftest.err
17513 rm -f conftest.er1
17514 cat conftest.err >&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); } &&
17517 { ac_try='test -z "$ac_c_werror_flag"
17518 || test ! -s conftest.err'
17519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17520 (eval $ac_try) 2>&5
17521 ac_status=$?
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); }; } &&
17524 { ac_try='test -s conftest.$ac_objext'
17525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17526 (eval $ac_try) 2>&5
17527 ac_status=$?
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); }; }; then
17530 ac_system_error9=yes
17531 else
17532 echo "$as_me: failed program was:" >&5
17533 sed 's/^/| /' conftest.$ac_ext >&5
17535 ac_system_error9=no
17537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17541 echo "$as_me:$LINENO: result: $ac_system_error9" >&5
17542 echo "${ECHO_T}$ac_system_error9" >&6
17543 if test x"$ac_system_error9" = x"yes"; then
17545 cat >>confdefs.h <<\_ACEOF
17546 #define HAVE_SYS_NERR 1
17547 _ACEOF
17551 echo "$as_me:$LINENO: checking for EBADMSG" >&5
17552 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
17553 if test "${ac_system_error_10+set}" = set; then
17554 echo $ECHO_N "(cached) $ECHO_C" >&6
17555 else
17557 cat >conftest.$ac_ext <<_ACEOF
17558 /* confdefs.h. */
17559 _ACEOF
17560 cat confdefs.h >>conftest.$ac_ext
17561 cat >>conftest.$ac_ext <<_ACEOF
17562 /* end confdefs.h. */
17563 #include <errno.h>
17565 main ()
17567 int i = EBADMSG;
17569 return 0;
17571 _ACEOF
17572 rm -f conftest.$ac_objext
17573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17574 (eval $ac_compile) 2>conftest.er1
17575 ac_status=$?
17576 grep -v '^ *+' conftest.er1 >conftest.err
17577 rm -f conftest.er1
17578 cat conftest.err >&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); } &&
17581 { ac_try='test -z "$ac_c_werror_flag"
17582 || test ! -s conftest.err'
17583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17584 (eval $ac_try) 2>&5
17585 ac_status=$?
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); }; } &&
17588 { ac_try='test -s conftest.$ac_objext'
17589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17590 (eval $ac_try) 2>&5
17591 ac_status=$?
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); }; }; then
17594 ac_system_error_10=yes
17595 else
17596 echo "$as_me: failed program was:" >&5
17597 sed 's/^/| /' conftest.$ac_ext >&5
17599 ac_system_error_10=no
17601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17605 echo "$as_me:$LINENO: result: $ac_system_error_10" >&5
17606 echo "${ECHO_T}$ac_system_error_10" >&6
17607 if test x"$ac_system_error_10" = x"yes"; then
17609 cat >>confdefs.h <<\_ACEOF
17610 #define HAVE_EBADMSG 1
17611 _ACEOF
17615 echo "$as_me:$LINENO: checking for ECANCELED" >&5
17616 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
17617 if test "${ac_system_error_11+set}" = set; then
17618 echo $ECHO_N "(cached) $ECHO_C" >&6
17619 else
17621 cat >conftest.$ac_ext <<_ACEOF
17622 /* confdefs.h. */
17623 _ACEOF
17624 cat confdefs.h >>conftest.$ac_ext
17625 cat >>conftest.$ac_ext <<_ACEOF
17626 /* end confdefs.h. */
17627 #include <errno.h>
17629 main ()
17631 int i = ECANCELED;
17633 return 0;
17635 _ACEOF
17636 rm -f conftest.$ac_objext
17637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17638 (eval $ac_compile) 2>conftest.er1
17639 ac_status=$?
17640 grep -v '^ *+' conftest.er1 >conftest.err
17641 rm -f conftest.er1
17642 cat conftest.err >&5
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); } &&
17645 { ac_try='test -z "$ac_c_werror_flag"
17646 || test ! -s conftest.err'
17647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17648 (eval $ac_try) 2>&5
17649 ac_status=$?
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); }; } &&
17652 { ac_try='test -s conftest.$ac_objext'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17655 ac_status=$?
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; }; then
17658 ac_system_error_11=yes
17659 else
17660 echo "$as_me: failed program was:" >&5
17661 sed 's/^/| /' conftest.$ac_ext >&5
17663 ac_system_error_11=no
17665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17669 echo "$as_me:$LINENO: result: $ac_system_error_11" >&5
17670 echo "${ECHO_T}$ac_system_error_11" >&6
17671 if test x"$ac_system_error_11" = x"yes"; then
17673 cat >>confdefs.h <<\_ACEOF
17674 #define HAVE_ECANCELED 1
17675 _ACEOF
17679 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
17680 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
17681 if test "${ac_system_error_12+set}" = set; then
17682 echo $ECHO_N "(cached) $ECHO_C" >&6
17683 else
17685 cat >conftest.$ac_ext <<_ACEOF
17686 /* confdefs.h. */
17687 _ACEOF
17688 cat confdefs.h >>conftest.$ac_ext
17689 cat >>conftest.$ac_ext <<_ACEOF
17690 /* end confdefs.h. */
17691 #include <errno.h>
17693 main ()
17695 int i = EOVERFLOW;
17697 return 0;
17699 _ACEOF
17700 rm -f conftest.$ac_objext
17701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17702 (eval $ac_compile) 2>conftest.er1
17703 ac_status=$?
17704 grep -v '^ *+' conftest.er1 >conftest.err
17705 rm -f conftest.er1
17706 cat conftest.err >&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); } &&
17709 { ac_try='test -z "$ac_c_werror_flag"
17710 || test ! -s conftest.err'
17711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712 (eval $ac_try) 2>&5
17713 ac_status=$?
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; } &&
17716 { ac_try='test -s conftest.$ac_objext'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17719 ac_status=$?
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; }; then
17722 ac_system_error_12=yes
17723 else
17724 echo "$as_me: failed program was:" >&5
17725 sed 's/^/| /' conftest.$ac_ext >&5
17727 ac_system_error_12=no
17729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17733 echo "$as_me:$LINENO: result: $ac_system_error_12" >&5
17734 echo "${ECHO_T}$ac_system_error_12" >&6
17735 if test x"$ac_system_error_12" = x"yes"; then
17737 cat >>confdefs.h <<\_ACEOF
17738 #define HAVE_EOVERFLOW 1
17739 _ACEOF
17744 # No surprises, no surprises...
17746 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
17747 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
17748 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
17749 echo "$as_me:$LINENO: result: $target_thread_file" >&5
17750 echo "${ECHO_T}$target_thread_file" >&6
17752 if test $target_thread_file != single; then
17754 cat >>confdefs.h <<\_ACEOF
17755 #define HAVE_GTHR_DEFAULT 1
17756 _ACEOF
17760 glibcxx_thread_h=gthr-$target_thread_file.h
17762 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
17763 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
17764 enable_thread=yes
17765 else
17766 enable_thread=no
17772 echo "$as_me:$LINENO: checking for atomic builtins" >&5
17773 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
17776 ac_ext=cc
17777 ac_cpp='$CXXCPP $CPPFLAGS'
17778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17783 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
17784 cat > conftest.$ac_ext << EOF
17785 #line 17785 "configure"
17786 int main()
17788 // NB: _Atomic_word not necessarily int.
17789 typedef int atomic_type;
17790 atomic_type c1;
17791 atomic_type c2;
17792 const atomic_type c3(0);
17793 if (__sync_fetch_and_add(&c1, c2) == c3)
17795 // Do something.
17797 return 0;
17800 old_CXXFLAGS="$CXXFLAGS"
17801 CXXFLAGS=-S
17802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17803 (eval $ac_compile) 2>&5
17804 ac_status=$?
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); }; then
17807 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
17808 enable_atomic_builtins=no
17809 else
17811 cat >>confdefs.h <<\_ACEOF
17812 #define _GLIBCXX_ATOMIC_BUILTINS 1
17813 _ACEOF
17815 enable_atomic_builtins=yes
17816 atomicity_dir=cpu/generic/atomicity_builtins
17819 CXXFLAGS="$old_CXXFLAGS"
17820 rm -f conftest*
17822 # Now, if still generic, set to mutex.
17823 if test $atomicity_dir = "cpu/generic" ; then
17824 atomicity_dir=cpu/generic/atomicity_mutex
17826 ac_ext=c
17827 ac_cpp='$CPP $CPPFLAGS'
17828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17832 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
17833 echo "${ECHO_T}$enable_atomic_builtins" >&6
17835 if test $atomicity_dir = cpu/generic/atomicity_mutex ; then
17836 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
17837 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
17838 if test $target_thread_file = single; then
17839 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
17840 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
17841 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
17842 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
17843 else
17844 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
17845 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
17846 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
17847 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
17852 # All these tests are for C++; save the language and the compiler flags.
17853 # The CXXFLAGS thing is suspicious, but based on similar bits previously
17854 # found in GLIBCXX_CONFIGURE.
17857 ac_ext=cc
17858 ac_cpp='$CXXCPP $CPPFLAGS'
17859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17863 ac_test_CXXFLAGS="${CXXFLAGS+set}"
17864 ac_save_CXXFLAGS="$CXXFLAGS"
17866 # Check for maintainer-mode bits.
17867 if test x"$USE_MAINTAINER_MODE" = xno; then
17868 WERROR=''
17869 else
17870 WERROR='-Werror'
17873 # Check for -ffunction-sections -fdata-sections
17874 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
17875 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
17876 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
17877 cat >conftest.$ac_ext <<_ACEOF
17878 /* confdefs.h. */
17879 _ACEOF
17880 cat confdefs.h >>conftest.$ac_ext
17881 cat >>conftest.$ac_ext <<_ACEOF
17882 /* end confdefs.h. */
17883 int foo; void bar() { };
17885 main ()
17889 return 0;
17891 _ACEOF
17892 rm -f conftest.$ac_objext
17893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17894 (eval $ac_compile) 2>conftest.er1
17895 ac_status=$?
17896 grep -v '^ *+' conftest.er1 >conftest.err
17897 rm -f conftest.er1
17898 cat conftest.err >&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); } &&
17901 { ac_try='test -z "$ac_cxx_werror_flag"
17902 || test ! -s conftest.err'
17903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17904 (eval $ac_try) 2>&5
17905 ac_status=$?
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); }; } &&
17908 { ac_try='test -s conftest.$ac_objext'
17909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17910 (eval $ac_try) 2>&5
17911 ac_status=$?
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); }; }; then
17914 ac_fdsections=yes
17915 else
17916 echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.$ac_ext >&5
17919 ac_fdsections=no
17921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17922 if test "$ac_test_CXXFLAGS" = set; then
17923 CXXFLAGS="$ac_save_CXXFLAGS"
17924 else
17925 # this is the suspicious part
17926 CXXFLAGS=''
17928 if test x"$ac_fdsections" = x"yes"; then
17929 SECTION_FLAGS='-ffunction-sections -fdata-sections'
17931 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
17932 echo "${ECHO_T}$ac_fdsections" >&6
17934 ac_ext=c
17935 ac_cpp='$CPP $CPPFLAGS'
17936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17944 if $GLIBCXX_IS_NATIVE; then
17946 # We can do more elaborate tests that assume a working linker.
17947 CANADIAN=no
17949 # Check for available headers.
17965 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
17966 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
17967 sys/types.h sys/ipc.h sys/sem.h
17969 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17971 echo "$as_me:$LINENO: checking for $ac_header" >&5
17972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17974 echo $ECHO_N "(cached) $ECHO_C" >&6
17976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17978 else
17979 # Is the header compilable?
17980 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17981 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17982 cat >conftest.$ac_ext <<_ACEOF
17983 /* confdefs.h. */
17984 _ACEOF
17985 cat confdefs.h >>conftest.$ac_ext
17986 cat >>conftest.$ac_ext <<_ACEOF
17987 /* end confdefs.h. */
17988 $ac_includes_default
17989 #include <$ac_header>
17990 _ACEOF
17991 rm -f conftest.$ac_objext
17992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17993 (eval $ac_compile) 2>conftest.er1
17994 ac_status=$?
17995 grep -v '^ *+' conftest.er1 >conftest.err
17996 rm -f conftest.er1
17997 cat conftest.err >&5
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); } &&
18000 { ac_try='test -z "$ac_c_werror_flag"
18001 || test ! -s conftest.err'
18002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18003 (eval $ac_try) 2>&5
18004 ac_status=$?
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); }; } &&
18007 { ac_try='test -s conftest.$ac_objext'
18008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18009 (eval $ac_try) 2>&5
18010 ac_status=$?
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); }; }; then
18013 ac_header_compiler=yes
18014 else
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.$ac_ext >&5
18018 ac_header_compiler=no
18020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18021 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18022 echo "${ECHO_T}$ac_header_compiler" >&6
18024 # Is the header present?
18025 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18026 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18027 cat >conftest.$ac_ext <<_ACEOF
18028 /* confdefs.h. */
18029 _ACEOF
18030 cat confdefs.h >>conftest.$ac_ext
18031 cat >>conftest.$ac_ext <<_ACEOF
18032 /* end confdefs.h. */
18033 #include <$ac_header>
18034 _ACEOF
18035 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18036 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18037 ac_status=$?
18038 grep -v '^ *+' conftest.er1 >conftest.err
18039 rm -f conftest.er1
18040 cat conftest.err >&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); } >/dev/null; then
18043 if test -s conftest.err; then
18044 ac_cpp_err=$ac_c_preproc_warn_flag
18045 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18046 else
18047 ac_cpp_err=
18049 else
18050 ac_cpp_err=yes
18052 if test -z "$ac_cpp_err"; then
18053 ac_header_preproc=yes
18054 else
18055 echo "$as_me: failed program was:" >&5
18056 sed 's/^/| /' conftest.$ac_ext >&5
18058 ac_header_preproc=no
18060 rm -f conftest.err conftest.$ac_ext
18061 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18062 echo "${ECHO_T}$ac_header_preproc" >&6
18064 # So? What about this header?
18065 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18066 yes:no: )
18067 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18068 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18070 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18071 ac_header_preproc=yes
18073 no:yes:* )
18074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18075 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18077 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18078 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18079 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18080 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18081 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18084 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18085 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18087 cat <<\_ASBOX
18088 ## ----------------------------------------- ##
18089 ## Report this to the package-unused lists. ##
18090 ## ----------------------------------------- ##
18091 _ASBOX
18093 sed "s/^/$as_me: WARNING: /" >&2
18095 esac
18096 echo "$as_me:$LINENO: checking for $ac_header" >&5
18097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18099 echo $ECHO_N "(cached) $ECHO_C" >&6
18100 else
18101 eval "$as_ac_Header=\$ac_header_preproc"
18103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18107 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18108 cat >>confdefs.h <<_ACEOF
18109 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18110 _ACEOF
18114 done
18119 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18120 if test "${with_gnu_ld+set}" = set; then
18121 withval="$with_gnu_ld"
18122 test "$withval" = no || with_gnu_ld=yes
18123 else
18124 with_gnu_ld=no
18126 ac_prog=ld
18127 if test "$GCC" = yes; then
18128 # Check if gcc -print-prog-name=ld gives a path.
18129 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18130 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18131 case $host in
18132 *-*-mingw*)
18133 # gcc leaves a trailing carriage return which upsets mingw
18134 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18136 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18137 esac
18138 case $ac_prog in
18139 # Accept absolute paths.
18140 [\\/]* | ?:[\\/]*)
18141 re_direlt='/[^/][^/]*/\.\./'
18142 # Canonicalize the pathname of ld
18143 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18144 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18145 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18146 done
18147 test -z "$LD" && LD="$ac_prog"
18150 # If it fails, then pretend we aren't using GCC.
18151 ac_prog=ld
18154 # If it is relative, then search for the first ld in PATH.
18155 with_gnu_ld=unknown
18157 esac
18158 elif test "$with_gnu_ld" = yes; then
18159 echo "$as_me:$LINENO: checking for GNU ld" >&5
18160 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18161 else
18162 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18163 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18165 if test "${lt_cv_path_LD+set}" = set; then
18166 echo $ECHO_N "(cached) $ECHO_C" >&6
18167 else
18168 if test -z "$LD"; then
18169 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18170 for ac_dir in $PATH; do
18171 IFS="$lt_save_ifs"
18172 test -z "$ac_dir" && ac_dir=.
18173 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18174 lt_cv_path_LD="$ac_dir/$ac_prog"
18175 # Check to see if the program is GNU ld. I'd rather use --version,
18176 # but apparently some variants of GNU ld only accept -v.
18177 # Break only if it was the GNU/non-GNU ld that we prefer.
18178 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18179 *GNU* | *'with BFD'*)
18180 test "$with_gnu_ld" != no && break
18183 test "$with_gnu_ld" != yes && break
18185 esac
18187 done
18188 IFS="$lt_save_ifs"
18189 else
18190 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18194 LD="$lt_cv_path_LD"
18195 if test -n "$LD"; then
18196 echo "$as_me:$LINENO: result: $LD" >&5
18197 echo "${ECHO_T}$LD" >&6
18198 else
18199 echo "$as_me:$LINENO: result: no" >&5
18200 echo "${ECHO_T}no" >&6
18202 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18203 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18204 { (exit 1); exit 1; }; }
18205 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18206 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18207 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18208 echo $ECHO_N "(cached) $ECHO_C" >&6
18209 else
18210 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18211 case `$LD -v 2>&1 </dev/null` in
18212 *GNU* | *'with BFD'*)
18213 lt_cv_prog_gnu_ld=yes
18216 lt_cv_prog_gnu_ld=no
18218 esac
18220 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18221 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18222 with_gnu_ld=$lt_cv_prog_gnu_ld
18230 # If we're not using GNU ld, then there's no point in even trying these
18231 # tests. Check for that first. We should have already tested for gld
18232 # by now (in libtool), but require it now just to be safe...
18233 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
18234 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
18238 # The name set by libtool depends on the version of libtool. Shame on us
18239 # for depending on an impl detail, but c'est la vie. Older versions used
18240 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18241 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18242 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
18243 # set (hence we're using an older libtool), then set it.
18244 if test x${with_gnu_ld+set} != xset; then
18245 if test x${ac_cv_prog_gnu_ld+set} != xset; then
18246 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
18247 with_gnu_ld=no
18248 else
18249 with_gnu_ld=$ac_cv_prog_gnu_ld
18253 # Start by getting the version number. I think the libtool test already
18254 # does some of this, but throws away the result.
18255 if test x"$with_gnu_ld" = x"yes"; then
18256 echo "$as_me:$LINENO: checking for ld version" >&5
18257 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
18259 ldver=`$LD --version 2>/dev/null | head -1 | \
18260 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
18262 glibcxx_gnu_ld_version=`echo $ldver | \
18263 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18264 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
18265 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
18268 # Set --gc-sections.
18269 glibcxx_gcsections_min_ld=21602
18270 if test x"$with_gnu_ld" = x"yes" &&
18271 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
18273 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
18274 # NB: This flag only works reliably after 2.16.1. Configure tests
18275 # for this are difficult, so hard wire a value that should work.
18277 ac_test_CFLAGS="${CFLAGS+set}"
18278 ac_save_CFLAGS="$CFLAGS"
18279 CFLAGS='-Wl,--gc-sections'
18281 # Check for -Wl,--gc-sections
18282 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18283 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
18284 if test x$gcc_no_link = xyes; then
18285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18287 { (exit 1); exit 1; }; }
18289 cat >conftest.$ac_ext <<_ACEOF
18290 /* confdefs.h. */
18291 _ACEOF
18292 cat confdefs.h >>conftest.$ac_ext
18293 cat >>conftest.$ac_ext <<_ACEOF
18294 /* end confdefs.h. */
18295 int one(void) { return 1; }
18296 int two(void) { return 2; }
18299 main ()
18301 two();
18303 return 0;
18305 _ACEOF
18306 rm -f conftest.$ac_objext conftest$ac_exeext
18307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18308 (eval $ac_link) 2>conftest.er1
18309 ac_status=$?
18310 grep -v '^ *+' conftest.er1 >conftest.err
18311 rm -f conftest.er1
18312 cat conftest.err >&5
18313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314 (exit $ac_status); } &&
18315 { ac_try='test -z "$ac_c_werror_flag"
18316 || test ! -s conftest.err'
18317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318 (eval $ac_try) 2>&5
18319 ac_status=$?
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; } &&
18322 { ac_try='test -s conftest$ac_exeext'
18323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18324 (eval $ac_try) 2>&5
18325 ac_status=$?
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); }; }; then
18328 ac_gcsections=yes
18329 else
18330 echo "$as_me: failed program was:" >&5
18331 sed 's/^/| /' conftest.$ac_ext >&5
18333 ac_gcsections=no
18335 rm -f conftest.err conftest.$ac_objext \
18336 conftest$ac_exeext conftest.$ac_ext
18337 if test "$ac_gcsections" = "yes"; then
18338 rm -f conftest.c
18339 touch conftest.c
18340 if $CC -c conftest.c; then
18341 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
18342 grep "Warning: gc-sections option ignored" > /dev/null; then
18343 ac_gcsections=no
18346 rm -f conftest.c conftest.o conftest
18348 if test "$ac_gcsections" = "yes"; then
18349 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
18351 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
18352 echo "${ECHO_T}$ac_gcsections" >&6
18354 if test "$ac_test_CFLAGS" = set; then
18355 CFLAGS="$ac_save_CFLAGS"
18356 else
18357 # this is the suspicious part
18358 CFLAGS=''
18362 # Set -z,relro.
18363 # Note this is only for shared objects.
18364 ac_ld_relro=no
18365 if test x"$with_gnu_ld" = x"yes"; then
18366 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
18367 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
18368 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
18369 if test -n "$cxx_z_relo"; then
18370 OPT_LDFLAGS="-Wl,-z,relro"
18371 ac_ld_relro=yes
18373 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
18374 echo "${ECHO_T}$ac_ld_relro" >&6
18377 # Set linker optimization flags.
18378 if test x"$with_gnu_ld" = x"yes"; then
18379 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
18386 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18387 ac_save_CXXFLAGS="$CXXFLAGS"
18388 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
18390 echo "$as_me:$LINENO: checking for sin in -lm" >&5
18391 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18392 if test "${ac_cv_lib_m_sin+set}" = set; then
18393 echo $ECHO_N "(cached) $ECHO_C" >&6
18394 else
18395 ac_check_lib_save_LIBS=$LIBS
18396 LIBS="-lm $LIBS"
18397 if test x$gcc_no_link = xyes; then
18398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18400 { (exit 1); exit 1; }; }
18402 cat >conftest.$ac_ext <<_ACEOF
18403 /* confdefs.h. */
18404 _ACEOF
18405 cat confdefs.h >>conftest.$ac_ext
18406 cat >>conftest.$ac_ext <<_ACEOF
18407 /* end confdefs.h. */
18409 /* Override any gcc2 internal prototype to avoid an error. */
18410 #ifdef __cplusplus
18411 extern "C"
18412 #endif
18413 /* We use char because int might match the return type of a gcc2
18414 builtin and then its argument prototype would still apply. */
18415 char sin ();
18417 main ()
18419 sin ();
18421 return 0;
18423 _ACEOF
18424 rm -f conftest.$ac_objext conftest$ac_exeext
18425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18426 (eval $ac_link) 2>conftest.er1
18427 ac_status=$?
18428 grep -v '^ *+' conftest.er1 >conftest.err
18429 rm -f conftest.er1
18430 cat conftest.err >&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); } &&
18433 { ac_try='test -z "$ac_c_werror_flag"
18434 || test ! -s conftest.err'
18435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18436 (eval $ac_try) 2>&5
18437 ac_status=$?
18438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439 (exit $ac_status); }; } &&
18440 { ac_try='test -s conftest$ac_exeext'
18441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18442 (eval $ac_try) 2>&5
18443 ac_status=$?
18444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18445 (exit $ac_status); }; }; then
18446 ac_cv_lib_m_sin=yes
18447 else
18448 echo "$as_me: failed program was:" >&5
18449 sed 's/^/| /' conftest.$ac_ext >&5
18451 ac_cv_lib_m_sin=no
18453 rm -f conftest.err conftest.$ac_objext \
18454 conftest$ac_exeext conftest.$ac_ext
18455 LIBS=$ac_check_lib_save_LIBS
18457 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18458 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18459 if test $ac_cv_lib_m_sin = yes; then
18460 libm="-lm"
18463 ac_save_LIBS="$LIBS"
18464 LIBS="$LIBS $libm"
18468 echo "$as_me:$LINENO: checking for isinf declaration" >&5
18469 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
18470 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
18471 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
18472 echo $ECHO_N "(cached) $ECHO_C" >&6
18473 else
18477 ac_ext=cc
18478 ac_cpp='$CXXCPP $CPPFLAGS'
18479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18483 cat >conftest.$ac_ext <<_ACEOF
18484 /* confdefs.h. */
18485 _ACEOF
18486 cat confdefs.h >>conftest.$ac_ext
18487 cat >>conftest.$ac_ext <<_ACEOF
18488 /* end confdefs.h. */
18489 #include <math.h>
18490 #ifdef HAVE_IEEEFP_H
18491 #include <ieeefp.h>
18492 #endif
18495 main ()
18497 isinf(0);
18499 return 0;
18501 _ACEOF
18502 rm -f conftest.$ac_objext
18503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18504 (eval $ac_compile) 2>conftest.er1
18505 ac_status=$?
18506 grep -v '^ *+' conftest.er1 >conftest.err
18507 rm -f conftest.er1
18508 cat conftest.err >&5
18509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18510 (exit $ac_status); } &&
18511 { ac_try='test -z "$ac_cxx_werror_flag"
18512 || test ! -s conftest.err'
18513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18514 (eval $ac_try) 2>&5
18515 ac_status=$?
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); }; } &&
18518 { ac_try='test -s conftest.$ac_objext'
18519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18520 (eval $ac_try) 2>&5
18521 ac_status=$?
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); }; }; then
18524 glibcxx_cv_func_isinf_use=yes
18525 else
18526 echo "$as_me: failed program was:" >&5
18527 sed 's/^/| /' conftest.$ac_ext >&5
18529 glibcxx_cv_func_isinf_use=no
18531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18532 ac_ext=c
18533 ac_cpp='$CPP $CPPFLAGS'
18534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18542 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
18543 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
18545 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
18547 for ac_func in isinf
18549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18550 echo "$as_me:$LINENO: checking for $ac_func" >&5
18551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18552 if eval "test \"\${$as_ac_var+set}\" = set"; then
18553 echo $ECHO_N "(cached) $ECHO_C" >&6
18554 else
18555 if test x$gcc_no_link = xyes; then
18556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18558 { (exit 1); exit 1; }; }
18560 cat >conftest.$ac_ext <<_ACEOF
18561 /* confdefs.h. */
18562 _ACEOF
18563 cat confdefs.h >>conftest.$ac_ext
18564 cat >>conftest.$ac_ext <<_ACEOF
18565 /* end confdefs.h. */
18566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18568 #define $ac_func innocuous_$ac_func
18570 /* System header to define __stub macros and hopefully few prototypes,
18571 which can conflict with char $ac_func (); below.
18572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18573 <limits.h> exists even on freestanding compilers. */
18575 #ifdef __STDC__
18576 # include <limits.h>
18577 #else
18578 # include <assert.h>
18579 #endif
18581 #undef $ac_func
18583 /* Override any gcc2 internal prototype to avoid an error. */
18584 #ifdef __cplusplus
18585 extern "C"
18587 #endif
18588 /* We use char because int might match the return type of a gcc2
18589 builtin and then its argument prototype would still apply. */
18590 char $ac_func ();
18591 /* The GNU C library defines this for functions which it implements
18592 to always fail with ENOSYS. Some functions are actually named
18593 something starting with __ and the normal name is an alias. */
18594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18595 choke me
18596 #else
18597 char (*f) () = $ac_func;
18598 #endif
18599 #ifdef __cplusplus
18601 #endif
18604 main ()
18606 return f != $ac_func;
18608 return 0;
18610 _ACEOF
18611 rm -f conftest.$ac_objext conftest$ac_exeext
18612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18613 (eval $ac_link) 2>conftest.er1
18614 ac_status=$?
18615 grep -v '^ *+' conftest.er1 >conftest.err
18616 rm -f conftest.er1
18617 cat conftest.err >&5
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); } &&
18620 { ac_try='test -z "$ac_c_werror_flag"
18621 || test ! -s conftest.err'
18622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18623 (eval $ac_try) 2>&5
18624 ac_status=$?
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); }; } &&
18627 { ac_try='test -s conftest$ac_exeext'
18628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18629 (eval $ac_try) 2>&5
18630 ac_status=$?
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); }; }; then
18633 eval "$as_ac_var=yes"
18634 else
18635 echo "$as_me: failed program was:" >&5
18636 sed 's/^/| /' conftest.$ac_ext >&5
18638 eval "$as_ac_var=no"
18640 rm -f conftest.err conftest.$ac_objext \
18641 conftest$ac_exeext conftest.$ac_ext
18643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18645 if test `eval echo '${'$as_ac_var'}'` = yes; then
18646 cat >>confdefs.h <<_ACEOF
18647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18648 _ACEOF
18651 done
18653 else
18655 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
18656 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
18657 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
18658 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18660 else
18664 ac_ext=cc
18665 ac_cpp='$CXXCPP $CPPFLAGS'
18666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18670 cat >conftest.$ac_ext <<_ACEOF
18671 /* confdefs.h. */
18672 _ACEOF
18673 cat confdefs.h >>conftest.$ac_ext
18674 cat >>conftest.$ac_ext <<_ACEOF
18675 /* end confdefs.h. */
18676 #include <math.h>
18677 #ifdef HAVE_IEEEFP_H
18678 #include <ieeefp.h>
18679 #endif
18682 main ()
18684 _isinf(0);
18686 return 0;
18688 _ACEOF
18689 rm -f conftest.$ac_objext
18690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18691 (eval $ac_compile) 2>conftest.er1
18692 ac_status=$?
18693 grep -v '^ *+' conftest.er1 >conftest.err
18694 rm -f conftest.er1
18695 cat conftest.err >&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); } &&
18698 { ac_try='test -z "$ac_cxx_werror_flag"
18699 || test ! -s conftest.err'
18700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18701 (eval $ac_try) 2>&5
18702 ac_status=$?
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); }; } &&
18705 { ac_try='test -s conftest.$ac_objext'
18706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18707 (eval $ac_try) 2>&5
18708 ac_status=$?
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); }; }; then
18711 glibcxx_cv_func__isinf_use=yes
18712 else
18713 echo "$as_me: failed program was:" >&5
18714 sed 's/^/| /' conftest.$ac_ext >&5
18716 glibcxx_cv_func__isinf_use=no
18718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18719 ac_ext=c
18720 ac_cpp='$CPP $CPPFLAGS'
18721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18729 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
18730 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
18732 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
18734 for ac_func in _isinf
18736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18737 echo "$as_me:$LINENO: checking for $ac_func" >&5
18738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18739 if eval "test \"\${$as_ac_var+set}\" = set"; then
18740 echo $ECHO_N "(cached) $ECHO_C" >&6
18741 else
18742 if test x$gcc_no_link = xyes; then
18743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18745 { (exit 1); exit 1; }; }
18747 cat >conftest.$ac_ext <<_ACEOF
18748 /* confdefs.h. */
18749 _ACEOF
18750 cat confdefs.h >>conftest.$ac_ext
18751 cat >>conftest.$ac_ext <<_ACEOF
18752 /* end confdefs.h. */
18753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18755 #define $ac_func innocuous_$ac_func
18757 /* System header to define __stub macros and hopefully few prototypes,
18758 which can conflict with char $ac_func (); below.
18759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18760 <limits.h> exists even on freestanding compilers. */
18762 #ifdef __STDC__
18763 # include <limits.h>
18764 #else
18765 # include <assert.h>
18766 #endif
18768 #undef $ac_func
18770 /* Override any gcc2 internal prototype to avoid an error. */
18771 #ifdef __cplusplus
18772 extern "C"
18774 #endif
18775 /* We use char because int might match the return type of a gcc2
18776 builtin and then its argument prototype would still apply. */
18777 char $ac_func ();
18778 /* The GNU C library defines this for functions which it implements
18779 to always fail with ENOSYS. Some functions are actually named
18780 something starting with __ and the normal name is an alias. */
18781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18782 choke me
18783 #else
18784 char (*f) () = $ac_func;
18785 #endif
18786 #ifdef __cplusplus
18788 #endif
18791 main ()
18793 return f != $ac_func;
18795 return 0;
18797 _ACEOF
18798 rm -f conftest.$ac_objext conftest$ac_exeext
18799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18800 (eval $ac_link) 2>conftest.er1
18801 ac_status=$?
18802 grep -v '^ *+' conftest.er1 >conftest.err
18803 rm -f conftest.er1
18804 cat conftest.err >&5
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); } &&
18807 { ac_try='test -z "$ac_c_werror_flag"
18808 || test ! -s conftest.err'
18809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18810 (eval $ac_try) 2>&5
18811 ac_status=$?
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); }; } &&
18814 { ac_try='test -s conftest$ac_exeext'
18815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18816 (eval $ac_try) 2>&5
18817 ac_status=$?
18818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18819 (exit $ac_status); }; }; then
18820 eval "$as_ac_var=yes"
18821 else
18822 echo "$as_me: failed program was:" >&5
18823 sed 's/^/| /' conftest.$ac_ext >&5
18825 eval "$as_ac_var=no"
18827 rm -f conftest.err conftest.$ac_objext \
18828 conftest$ac_exeext conftest.$ac_ext
18830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18832 if test `eval echo '${'$as_ac_var'}'` = yes; then
18833 cat >>confdefs.h <<_ACEOF
18834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18835 _ACEOF
18838 done
18848 echo "$as_me:$LINENO: checking for isnan declaration" >&5
18849 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
18850 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
18851 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
18852 echo $ECHO_N "(cached) $ECHO_C" >&6
18853 else
18857 ac_ext=cc
18858 ac_cpp='$CXXCPP $CPPFLAGS'
18859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18863 cat >conftest.$ac_ext <<_ACEOF
18864 /* confdefs.h. */
18865 _ACEOF
18866 cat confdefs.h >>conftest.$ac_ext
18867 cat >>conftest.$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18869 #include <math.h>
18870 #ifdef HAVE_IEEEFP_H
18871 #include <ieeefp.h>
18872 #endif
18875 main ()
18877 isnan(0);
18879 return 0;
18881 _ACEOF
18882 rm -f conftest.$ac_objext
18883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18884 (eval $ac_compile) 2>conftest.er1
18885 ac_status=$?
18886 grep -v '^ *+' conftest.er1 >conftest.err
18887 rm -f conftest.er1
18888 cat conftest.err >&5
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); } &&
18891 { ac_try='test -z "$ac_cxx_werror_flag"
18892 || test ! -s conftest.err'
18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18894 (eval $ac_try) 2>&5
18895 ac_status=$?
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); }; } &&
18898 { ac_try='test -s conftest.$ac_objext'
18899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18900 (eval $ac_try) 2>&5
18901 ac_status=$?
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); }; }; then
18904 glibcxx_cv_func_isnan_use=yes
18905 else
18906 echo "$as_me: failed program was:" >&5
18907 sed 's/^/| /' conftest.$ac_ext >&5
18909 glibcxx_cv_func_isnan_use=no
18911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18912 ac_ext=c
18913 ac_cpp='$CPP $CPPFLAGS'
18914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18922 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
18923 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
18925 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
18927 for ac_func in isnan
18929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18930 echo "$as_me:$LINENO: checking for $ac_func" >&5
18931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18932 if eval "test \"\${$as_ac_var+set}\" = set"; then
18933 echo $ECHO_N "(cached) $ECHO_C" >&6
18934 else
18935 if test x$gcc_no_link = xyes; then
18936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18938 { (exit 1); exit 1; }; }
18940 cat >conftest.$ac_ext <<_ACEOF
18941 /* confdefs.h. */
18942 _ACEOF
18943 cat confdefs.h >>conftest.$ac_ext
18944 cat >>conftest.$ac_ext <<_ACEOF
18945 /* end confdefs.h. */
18946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18948 #define $ac_func innocuous_$ac_func
18950 /* System header to define __stub macros and hopefully few prototypes,
18951 which can conflict with char $ac_func (); below.
18952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18953 <limits.h> exists even on freestanding compilers. */
18955 #ifdef __STDC__
18956 # include <limits.h>
18957 #else
18958 # include <assert.h>
18959 #endif
18961 #undef $ac_func
18963 /* Override any gcc2 internal prototype to avoid an error. */
18964 #ifdef __cplusplus
18965 extern "C"
18967 #endif
18968 /* We use char because int might match the return type of a gcc2
18969 builtin and then its argument prototype would still apply. */
18970 char $ac_func ();
18971 /* The GNU C library defines this for functions which it implements
18972 to always fail with ENOSYS. Some functions are actually named
18973 something starting with __ and the normal name is an alias. */
18974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18975 choke me
18976 #else
18977 char (*f) () = $ac_func;
18978 #endif
18979 #ifdef __cplusplus
18981 #endif
18984 main ()
18986 return f != $ac_func;
18988 return 0;
18990 _ACEOF
18991 rm -f conftest.$ac_objext conftest$ac_exeext
18992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18993 (eval $ac_link) 2>conftest.er1
18994 ac_status=$?
18995 grep -v '^ *+' conftest.er1 >conftest.err
18996 rm -f conftest.er1
18997 cat conftest.err >&5
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); } &&
19000 { ac_try='test -z "$ac_c_werror_flag"
19001 || test ! -s conftest.err'
19002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19003 (eval $ac_try) 2>&5
19004 ac_status=$?
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); }; } &&
19007 { ac_try='test -s conftest$ac_exeext'
19008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19009 (eval $ac_try) 2>&5
19010 ac_status=$?
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); }; }; then
19013 eval "$as_ac_var=yes"
19014 else
19015 echo "$as_me: failed program was:" >&5
19016 sed 's/^/| /' conftest.$ac_ext >&5
19018 eval "$as_ac_var=no"
19020 rm -f conftest.err conftest.$ac_objext \
19021 conftest$ac_exeext conftest.$ac_ext
19023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19025 if test `eval echo '${'$as_ac_var'}'` = yes; then
19026 cat >>confdefs.h <<_ACEOF
19027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19028 _ACEOF
19031 done
19033 else
19035 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
19036 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
19037 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19038 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
19039 echo $ECHO_N "(cached) $ECHO_C" >&6
19040 else
19044 ac_ext=cc
19045 ac_cpp='$CXXCPP $CPPFLAGS'
19046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19050 cat >conftest.$ac_ext <<_ACEOF
19051 /* confdefs.h. */
19052 _ACEOF
19053 cat confdefs.h >>conftest.$ac_ext
19054 cat >>conftest.$ac_ext <<_ACEOF
19055 /* end confdefs.h. */
19056 #include <math.h>
19057 #ifdef HAVE_IEEEFP_H
19058 #include <ieeefp.h>
19059 #endif
19062 main ()
19064 _isnan(0);
19066 return 0;
19068 _ACEOF
19069 rm -f conftest.$ac_objext
19070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19071 (eval $ac_compile) 2>conftest.er1
19072 ac_status=$?
19073 grep -v '^ *+' conftest.er1 >conftest.err
19074 rm -f conftest.er1
19075 cat conftest.err >&5
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); } &&
19078 { ac_try='test -z "$ac_cxx_werror_flag"
19079 || test ! -s conftest.err'
19080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19081 (eval $ac_try) 2>&5
19082 ac_status=$?
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); }; } &&
19085 { ac_try='test -s conftest.$ac_objext'
19086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19087 (eval $ac_try) 2>&5
19088 ac_status=$?
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); }; }; then
19091 glibcxx_cv_func__isnan_use=yes
19092 else
19093 echo "$as_me: failed program was:" >&5
19094 sed 's/^/| /' conftest.$ac_ext >&5
19096 glibcxx_cv_func__isnan_use=no
19098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19099 ac_ext=c
19100 ac_cpp='$CPP $CPPFLAGS'
19101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19109 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
19110 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
19112 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19114 for ac_func in _isnan
19116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19117 echo "$as_me:$LINENO: checking for $ac_func" >&5
19118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19119 if eval "test \"\${$as_ac_var+set}\" = set"; then
19120 echo $ECHO_N "(cached) $ECHO_C" >&6
19121 else
19122 if test x$gcc_no_link = xyes; then
19123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19125 { (exit 1); exit 1; }; }
19127 cat >conftest.$ac_ext <<_ACEOF
19128 /* confdefs.h. */
19129 _ACEOF
19130 cat confdefs.h >>conftest.$ac_ext
19131 cat >>conftest.$ac_ext <<_ACEOF
19132 /* end confdefs.h. */
19133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19135 #define $ac_func innocuous_$ac_func
19137 /* System header to define __stub macros and hopefully few prototypes,
19138 which can conflict with char $ac_func (); below.
19139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19140 <limits.h> exists even on freestanding compilers. */
19142 #ifdef __STDC__
19143 # include <limits.h>
19144 #else
19145 # include <assert.h>
19146 #endif
19148 #undef $ac_func
19150 /* Override any gcc2 internal prototype to avoid an error. */
19151 #ifdef __cplusplus
19152 extern "C"
19154 #endif
19155 /* We use char because int might match the return type of a gcc2
19156 builtin and then its argument prototype would still apply. */
19157 char $ac_func ();
19158 /* The GNU C library defines this for functions which it implements
19159 to always fail with ENOSYS. Some functions are actually named
19160 something starting with __ and the normal name is an alias. */
19161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19162 choke me
19163 #else
19164 char (*f) () = $ac_func;
19165 #endif
19166 #ifdef __cplusplus
19168 #endif
19171 main ()
19173 return f != $ac_func;
19175 return 0;
19177 _ACEOF
19178 rm -f conftest.$ac_objext conftest$ac_exeext
19179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19180 (eval $ac_link) 2>conftest.er1
19181 ac_status=$?
19182 grep -v '^ *+' conftest.er1 >conftest.err
19183 rm -f conftest.er1
19184 cat conftest.err >&5
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); } &&
19187 { ac_try='test -z "$ac_c_werror_flag"
19188 || test ! -s conftest.err'
19189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19190 (eval $ac_try) 2>&5
19191 ac_status=$?
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); }; } &&
19194 { ac_try='test -s conftest$ac_exeext'
19195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19196 (eval $ac_try) 2>&5
19197 ac_status=$?
19198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19199 (exit $ac_status); }; }; then
19200 eval "$as_ac_var=yes"
19201 else
19202 echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.$ac_ext >&5
19205 eval "$as_ac_var=no"
19207 rm -f conftest.err conftest.$ac_objext \
19208 conftest$ac_exeext conftest.$ac_ext
19210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19212 if test `eval echo '${'$as_ac_var'}'` = yes; then
19213 cat >>confdefs.h <<_ACEOF
19214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19215 _ACEOF
19218 done
19228 echo "$as_me:$LINENO: checking for finite declaration" >&5
19229 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
19230 if test x${glibcxx_cv_func_finite_use+set} != xset; then
19231 if test "${glibcxx_cv_func_finite_use+set}" = set; then
19232 echo $ECHO_N "(cached) $ECHO_C" >&6
19233 else
19237 ac_ext=cc
19238 ac_cpp='$CXXCPP $CPPFLAGS'
19239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19243 cat >conftest.$ac_ext <<_ACEOF
19244 /* confdefs.h. */
19245 _ACEOF
19246 cat confdefs.h >>conftest.$ac_ext
19247 cat >>conftest.$ac_ext <<_ACEOF
19248 /* end confdefs.h. */
19249 #include <math.h>
19250 #ifdef HAVE_IEEEFP_H
19251 #include <ieeefp.h>
19252 #endif
19255 main ()
19257 finite(0);
19259 return 0;
19261 _ACEOF
19262 rm -f conftest.$ac_objext
19263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19264 (eval $ac_compile) 2>conftest.er1
19265 ac_status=$?
19266 grep -v '^ *+' conftest.er1 >conftest.err
19267 rm -f conftest.er1
19268 cat conftest.err >&5
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); } &&
19271 { ac_try='test -z "$ac_cxx_werror_flag"
19272 || test ! -s conftest.err'
19273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19274 (eval $ac_try) 2>&5
19275 ac_status=$?
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); }; } &&
19278 { ac_try='test -s conftest.$ac_objext'
19279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19280 (eval $ac_try) 2>&5
19281 ac_status=$?
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); }; }; then
19284 glibcxx_cv_func_finite_use=yes
19285 else
19286 echo "$as_me: failed program was:" >&5
19287 sed 's/^/| /' conftest.$ac_ext >&5
19289 glibcxx_cv_func_finite_use=no
19291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19292 ac_ext=c
19293 ac_cpp='$CPP $CPPFLAGS'
19294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19302 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
19303 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
19305 if test x$glibcxx_cv_func_finite_use = x"yes"; then
19307 for ac_func in finite
19309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19310 echo "$as_me:$LINENO: checking for $ac_func" >&5
19311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19312 if eval "test \"\${$as_ac_var+set}\" = set"; then
19313 echo $ECHO_N "(cached) $ECHO_C" >&6
19314 else
19315 if test x$gcc_no_link = xyes; then
19316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19318 { (exit 1); exit 1; }; }
19320 cat >conftest.$ac_ext <<_ACEOF
19321 /* confdefs.h. */
19322 _ACEOF
19323 cat confdefs.h >>conftest.$ac_ext
19324 cat >>conftest.$ac_ext <<_ACEOF
19325 /* end confdefs.h. */
19326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19328 #define $ac_func innocuous_$ac_func
19330 /* System header to define __stub macros and hopefully few prototypes,
19331 which can conflict with char $ac_func (); below.
19332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19333 <limits.h> exists even on freestanding compilers. */
19335 #ifdef __STDC__
19336 # include <limits.h>
19337 #else
19338 # include <assert.h>
19339 #endif
19341 #undef $ac_func
19343 /* Override any gcc2 internal prototype to avoid an error. */
19344 #ifdef __cplusplus
19345 extern "C"
19347 #endif
19348 /* We use char because int might match the return type of a gcc2
19349 builtin and then its argument prototype would still apply. */
19350 char $ac_func ();
19351 /* The GNU C library defines this for functions which it implements
19352 to always fail with ENOSYS. Some functions are actually named
19353 something starting with __ and the normal name is an alias. */
19354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19355 choke me
19356 #else
19357 char (*f) () = $ac_func;
19358 #endif
19359 #ifdef __cplusplus
19361 #endif
19364 main ()
19366 return f != $ac_func;
19368 return 0;
19370 _ACEOF
19371 rm -f conftest.$ac_objext conftest$ac_exeext
19372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19373 (eval $ac_link) 2>conftest.er1
19374 ac_status=$?
19375 grep -v '^ *+' conftest.er1 >conftest.err
19376 rm -f conftest.er1
19377 cat conftest.err >&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); } &&
19380 { ac_try='test -z "$ac_c_werror_flag"
19381 || test ! -s conftest.err'
19382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19383 (eval $ac_try) 2>&5
19384 ac_status=$?
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); }; } &&
19387 { ac_try='test -s conftest$ac_exeext'
19388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19389 (eval $ac_try) 2>&5
19390 ac_status=$?
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); }; }; then
19393 eval "$as_ac_var=yes"
19394 else
19395 echo "$as_me: failed program was:" >&5
19396 sed 's/^/| /' conftest.$ac_ext >&5
19398 eval "$as_ac_var=no"
19400 rm -f conftest.err conftest.$ac_objext \
19401 conftest$ac_exeext conftest.$ac_ext
19403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19405 if test `eval echo '${'$as_ac_var'}'` = yes; then
19406 cat >>confdefs.h <<_ACEOF
19407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19408 _ACEOF
19411 done
19413 else
19415 echo "$as_me:$LINENO: checking for _finite declaration" >&5
19416 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
19417 if test x${glibcxx_cv_func__finite_use+set} != xset; then
19418 if test "${glibcxx_cv_func__finite_use+set}" = set; then
19419 echo $ECHO_N "(cached) $ECHO_C" >&6
19420 else
19424 ac_ext=cc
19425 ac_cpp='$CXXCPP $CPPFLAGS'
19426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19430 cat >conftest.$ac_ext <<_ACEOF
19431 /* confdefs.h. */
19432 _ACEOF
19433 cat confdefs.h >>conftest.$ac_ext
19434 cat >>conftest.$ac_ext <<_ACEOF
19435 /* end confdefs.h. */
19436 #include <math.h>
19437 #ifdef HAVE_IEEEFP_H
19438 #include <ieeefp.h>
19439 #endif
19442 main ()
19444 _finite(0);
19446 return 0;
19448 _ACEOF
19449 rm -f conftest.$ac_objext
19450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19451 (eval $ac_compile) 2>conftest.er1
19452 ac_status=$?
19453 grep -v '^ *+' conftest.er1 >conftest.err
19454 rm -f conftest.er1
19455 cat conftest.err >&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); } &&
19458 { ac_try='test -z "$ac_cxx_werror_flag"
19459 || test ! -s conftest.err'
19460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19461 (eval $ac_try) 2>&5
19462 ac_status=$?
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); }; } &&
19465 { ac_try='test -s conftest.$ac_objext'
19466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19467 (eval $ac_try) 2>&5
19468 ac_status=$?
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); }; }; then
19471 glibcxx_cv_func__finite_use=yes
19472 else
19473 echo "$as_me: failed program was:" >&5
19474 sed 's/^/| /' conftest.$ac_ext >&5
19476 glibcxx_cv_func__finite_use=no
19478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19479 ac_ext=c
19480 ac_cpp='$CPP $CPPFLAGS'
19481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19489 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
19490 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
19492 if test x$glibcxx_cv_func__finite_use = x"yes"; then
19494 for ac_func in _finite
19496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19497 echo "$as_me:$LINENO: checking for $ac_func" >&5
19498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19499 if eval "test \"\${$as_ac_var+set}\" = set"; then
19500 echo $ECHO_N "(cached) $ECHO_C" >&6
19501 else
19502 if test x$gcc_no_link = xyes; then
19503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19505 { (exit 1); exit 1; }; }
19507 cat >conftest.$ac_ext <<_ACEOF
19508 /* confdefs.h. */
19509 _ACEOF
19510 cat confdefs.h >>conftest.$ac_ext
19511 cat >>conftest.$ac_ext <<_ACEOF
19512 /* end confdefs.h. */
19513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19515 #define $ac_func innocuous_$ac_func
19517 /* System header to define __stub macros and hopefully few prototypes,
19518 which can conflict with char $ac_func (); below.
19519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19520 <limits.h> exists even on freestanding compilers. */
19522 #ifdef __STDC__
19523 # include <limits.h>
19524 #else
19525 # include <assert.h>
19526 #endif
19528 #undef $ac_func
19530 /* Override any gcc2 internal prototype to avoid an error. */
19531 #ifdef __cplusplus
19532 extern "C"
19534 #endif
19535 /* We use char because int might match the return type of a gcc2
19536 builtin and then its argument prototype would still apply. */
19537 char $ac_func ();
19538 /* The GNU C library defines this for functions which it implements
19539 to always fail with ENOSYS. Some functions are actually named
19540 something starting with __ and the normal name is an alias. */
19541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19542 choke me
19543 #else
19544 char (*f) () = $ac_func;
19545 #endif
19546 #ifdef __cplusplus
19548 #endif
19551 main ()
19553 return f != $ac_func;
19555 return 0;
19557 _ACEOF
19558 rm -f conftest.$ac_objext conftest$ac_exeext
19559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19560 (eval $ac_link) 2>conftest.er1
19561 ac_status=$?
19562 grep -v '^ *+' conftest.er1 >conftest.err
19563 rm -f conftest.er1
19564 cat conftest.err >&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); } &&
19567 { ac_try='test -z "$ac_c_werror_flag"
19568 || test ! -s conftest.err'
19569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19570 (eval $ac_try) 2>&5
19571 ac_status=$?
19572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573 (exit $ac_status); }; } &&
19574 { ac_try='test -s conftest$ac_exeext'
19575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19576 (eval $ac_try) 2>&5
19577 ac_status=$?
19578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579 (exit $ac_status); }; }; then
19580 eval "$as_ac_var=yes"
19581 else
19582 echo "$as_me: failed program was:" >&5
19583 sed 's/^/| /' conftest.$ac_ext >&5
19585 eval "$as_ac_var=no"
19587 rm -f conftest.err conftest.$ac_objext \
19588 conftest$ac_exeext conftest.$ac_ext
19590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19592 if test `eval echo '${'$as_ac_var'}'` = yes; then
19593 cat >>confdefs.h <<_ACEOF
19594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19595 _ACEOF
19598 done
19608 echo "$as_me:$LINENO: checking for copysign declaration" >&5
19609 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
19610 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
19611 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
19612 echo $ECHO_N "(cached) $ECHO_C" >&6
19613 else
19617 ac_ext=cc
19618 ac_cpp='$CXXCPP $CPPFLAGS'
19619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19623 cat >conftest.$ac_ext <<_ACEOF
19624 /* confdefs.h. */
19625 _ACEOF
19626 cat confdefs.h >>conftest.$ac_ext
19627 cat >>conftest.$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 #include <math.h>
19631 main ()
19633 copysign(0, 0);
19635 return 0;
19637 _ACEOF
19638 rm -f conftest.$ac_objext
19639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19640 (eval $ac_compile) 2>conftest.er1
19641 ac_status=$?
19642 grep -v '^ *+' conftest.er1 >conftest.err
19643 rm -f conftest.er1
19644 cat conftest.err >&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); } &&
19647 { ac_try='test -z "$ac_cxx_werror_flag"
19648 || test ! -s conftest.err'
19649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19650 (eval $ac_try) 2>&5
19651 ac_status=$?
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); }; } &&
19654 { ac_try='test -s conftest.$ac_objext'
19655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19656 (eval $ac_try) 2>&5
19657 ac_status=$?
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); }; }; then
19660 glibcxx_cv_func_copysign_use=yes
19661 else
19662 echo "$as_me: failed program was:" >&5
19663 sed 's/^/| /' conftest.$ac_ext >&5
19665 glibcxx_cv_func_copysign_use=no
19667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19668 ac_ext=c
19669 ac_cpp='$CPP $CPPFLAGS'
19670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19678 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
19679 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
19681 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
19683 for ac_func in copysign
19685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19686 echo "$as_me:$LINENO: checking for $ac_func" >&5
19687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19688 if eval "test \"\${$as_ac_var+set}\" = set"; then
19689 echo $ECHO_N "(cached) $ECHO_C" >&6
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19704 #define $ac_func innocuous_$ac_func
19706 /* System header to define __stub macros and hopefully few prototypes,
19707 which can conflict with char $ac_func (); below.
19708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19709 <limits.h> exists even on freestanding compilers. */
19711 #ifdef __STDC__
19712 # include <limits.h>
19713 #else
19714 # include <assert.h>
19715 #endif
19717 #undef $ac_func
19719 /* Override any gcc2 internal prototype to avoid an error. */
19720 #ifdef __cplusplus
19721 extern "C"
19723 #endif
19724 /* We use char because int might match the return type of a gcc2
19725 builtin and then its argument prototype would still apply. */
19726 char $ac_func ();
19727 /* The GNU C library defines this for functions which it implements
19728 to always fail with ENOSYS. Some functions are actually named
19729 something starting with __ and the normal name is an alias. */
19730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19731 choke me
19732 #else
19733 char (*f) () = $ac_func;
19734 #endif
19735 #ifdef __cplusplus
19737 #endif
19740 main ()
19742 return f != $ac_func;
19744 return 0;
19746 _ACEOF
19747 rm -f conftest.$ac_objext conftest$ac_exeext
19748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19749 (eval $ac_link) 2>conftest.er1
19750 ac_status=$?
19751 grep -v '^ *+' conftest.er1 >conftest.err
19752 rm -f conftest.er1
19753 cat conftest.err >&5
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); } &&
19756 { ac_try='test -z "$ac_c_werror_flag"
19757 || test ! -s conftest.err'
19758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19759 (eval $ac_try) 2>&5
19760 ac_status=$?
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); }; } &&
19763 { ac_try='test -s conftest$ac_exeext'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19766 ac_status=$?
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; }; then
19769 eval "$as_ac_var=yes"
19770 else
19771 echo "$as_me: failed program was:" >&5
19772 sed 's/^/| /' conftest.$ac_ext >&5
19774 eval "$as_ac_var=no"
19776 rm -f conftest.err conftest.$ac_objext \
19777 conftest$ac_exeext conftest.$ac_ext
19779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19781 if test `eval echo '${'$as_ac_var'}'` = yes; then
19782 cat >>confdefs.h <<_ACEOF
19783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19784 _ACEOF
19787 done
19789 else
19791 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
19792 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
19793 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
19794 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
19795 echo $ECHO_N "(cached) $ECHO_C" >&6
19796 else
19800 ac_ext=cc
19801 ac_cpp='$CXXCPP $CPPFLAGS'
19802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 <math.h>
19814 main ()
19816 _copysign(0, 0);
19818 return 0;
19820 _ACEOF
19821 rm -f conftest.$ac_objext
19822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19823 (eval $ac_compile) 2>conftest.er1
19824 ac_status=$?
19825 grep -v '^ *+' conftest.er1 >conftest.err
19826 rm -f conftest.er1
19827 cat conftest.err >&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); } &&
19830 { ac_try='test -z "$ac_cxx_werror_flag"
19831 || test ! -s conftest.err'
19832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19833 (eval $ac_try) 2>&5
19834 ac_status=$?
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); }; } &&
19837 { ac_try='test -s conftest.$ac_objext'
19838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19839 (eval $ac_try) 2>&5
19840 ac_status=$?
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); }; }; then
19843 glibcxx_cv_func__copysign_use=yes
19844 else
19845 echo "$as_me: failed program was:" >&5
19846 sed 's/^/| /' conftest.$ac_ext >&5
19848 glibcxx_cv_func__copysign_use=no
19850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19851 ac_ext=c
19852 ac_cpp='$CPP $CPPFLAGS'
19853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19861 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
19862 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
19864 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
19866 for ac_func in _copysign
19868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19869 echo "$as_me:$LINENO: checking for $ac_func" >&5
19870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19871 if eval "test \"\${$as_ac_var+set}\" = set"; then
19872 echo $ECHO_N "(cached) $ECHO_C" >&6
19873 else
19874 if test x$gcc_no_link = xyes; then
19875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19877 { (exit 1); exit 1; }; }
19879 cat >conftest.$ac_ext <<_ACEOF
19880 /* confdefs.h. */
19881 _ACEOF
19882 cat confdefs.h >>conftest.$ac_ext
19883 cat >>conftest.$ac_ext <<_ACEOF
19884 /* end confdefs.h. */
19885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19887 #define $ac_func innocuous_$ac_func
19889 /* System header to define __stub macros and hopefully few prototypes,
19890 which can conflict with char $ac_func (); below.
19891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19892 <limits.h> exists even on freestanding compilers. */
19894 #ifdef __STDC__
19895 # include <limits.h>
19896 #else
19897 # include <assert.h>
19898 #endif
19900 #undef $ac_func
19902 /* Override any gcc2 internal prototype to avoid an error. */
19903 #ifdef __cplusplus
19904 extern "C"
19906 #endif
19907 /* We use char because int might match the return type of a gcc2
19908 builtin and then its argument prototype would still apply. */
19909 char $ac_func ();
19910 /* The GNU C library defines this for functions which it implements
19911 to always fail with ENOSYS. Some functions are actually named
19912 something starting with __ and the normal name is an alias. */
19913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19914 choke me
19915 #else
19916 char (*f) () = $ac_func;
19917 #endif
19918 #ifdef __cplusplus
19920 #endif
19923 main ()
19925 return f != $ac_func;
19927 return 0;
19929 _ACEOF
19930 rm -f conftest.$ac_objext conftest$ac_exeext
19931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19932 (eval $ac_link) 2>conftest.er1
19933 ac_status=$?
19934 grep -v '^ *+' conftest.er1 >conftest.err
19935 rm -f conftest.er1
19936 cat conftest.err >&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); } &&
19939 { ac_try='test -z "$ac_c_werror_flag"
19940 || test ! -s conftest.err'
19941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19942 (eval $ac_try) 2>&5
19943 ac_status=$?
19944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); }; } &&
19946 { ac_try='test -s conftest$ac_exeext'
19947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19948 (eval $ac_try) 2>&5
19949 ac_status=$?
19950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951 (exit $ac_status); }; }; then
19952 eval "$as_ac_var=yes"
19953 else
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.$ac_ext >&5
19957 eval "$as_ac_var=no"
19959 rm -f conftest.err conftest.$ac_objext \
19960 conftest$ac_exeext conftest.$ac_ext
19962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19964 if test `eval echo '${'$as_ac_var'}'` = yes; then
19965 cat >>confdefs.h <<_ACEOF
19966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19967 _ACEOF
19970 done
19980 echo "$as_me:$LINENO: checking for sincos declaration" >&5
19981 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
19982 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
19983 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
19984 echo $ECHO_N "(cached) $ECHO_C" >&6
19985 else
19989 ac_ext=cc
19990 ac_cpp='$CXXCPP $CPPFLAGS'
19991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19995 cat >conftest.$ac_ext <<_ACEOF
19996 /* confdefs.h. */
19997 _ACEOF
19998 cat confdefs.h >>conftest.$ac_ext
19999 cat >>conftest.$ac_ext <<_ACEOF
20000 /* end confdefs.h. */
20001 #include <math.h>
20003 main ()
20005 sincos(0, 0, 0);
20007 return 0;
20009 _ACEOF
20010 rm -f conftest.$ac_objext
20011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20012 (eval $ac_compile) 2>conftest.er1
20013 ac_status=$?
20014 grep -v '^ *+' conftest.er1 >conftest.err
20015 rm -f conftest.er1
20016 cat conftest.err >&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } &&
20019 { ac_try='test -z "$ac_cxx_werror_flag"
20020 || test ! -s conftest.err'
20021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20022 (eval $ac_try) 2>&5
20023 ac_status=$?
20024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20025 (exit $ac_status); }; } &&
20026 { ac_try='test -s conftest.$ac_objext'
20027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20028 (eval $ac_try) 2>&5
20029 ac_status=$?
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); }; }; then
20032 glibcxx_cv_func_sincos_use=yes
20033 else
20034 echo "$as_me: failed program was:" >&5
20035 sed 's/^/| /' conftest.$ac_ext >&5
20037 glibcxx_cv_func_sincos_use=no
20039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20040 ac_ext=c
20041 ac_cpp='$CPP $CPPFLAGS'
20042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20050 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
20051 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
20053 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20055 for ac_func in sincos
20057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20058 echo "$as_me:$LINENO: checking for $ac_func" >&5
20059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20060 if eval "test \"\${$as_ac_var+set}\" = set"; then
20061 echo $ECHO_N "(cached) $ECHO_C" >&6
20062 else
20063 if test x$gcc_no_link = xyes; then
20064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20066 { (exit 1); exit 1; }; }
20068 cat >conftest.$ac_ext <<_ACEOF
20069 /* confdefs.h. */
20070 _ACEOF
20071 cat confdefs.h >>conftest.$ac_ext
20072 cat >>conftest.$ac_ext <<_ACEOF
20073 /* end confdefs.h. */
20074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20076 #define $ac_func innocuous_$ac_func
20078 /* System header to define __stub macros and hopefully few prototypes,
20079 which can conflict with char $ac_func (); below.
20080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20081 <limits.h> exists even on freestanding compilers. */
20083 #ifdef __STDC__
20084 # include <limits.h>
20085 #else
20086 # include <assert.h>
20087 #endif
20089 #undef $ac_func
20091 /* Override any gcc2 internal prototype to avoid an error. */
20092 #ifdef __cplusplus
20093 extern "C"
20095 #endif
20096 /* We use char because int might match the return type of a gcc2
20097 builtin and then its argument prototype would still apply. */
20098 char $ac_func ();
20099 /* The GNU C library defines this for functions which it implements
20100 to always fail with ENOSYS. Some functions are actually named
20101 something starting with __ and the normal name is an alias. */
20102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20103 choke me
20104 #else
20105 char (*f) () = $ac_func;
20106 #endif
20107 #ifdef __cplusplus
20109 #endif
20112 main ()
20114 return f != $ac_func;
20116 return 0;
20118 _ACEOF
20119 rm -f conftest.$ac_objext conftest$ac_exeext
20120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20121 (eval $ac_link) 2>conftest.er1
20122 ac_status=$?
20123 grep -v '^ *+' conftest.er1 >conftest.err
20124 rm -f conftest.er1
20125 cat conftest.err >&5
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); } &&
20128 { ac_try='test -z "$ac_c_werror_flag"
20129 || test ! -s conftest.err'
20130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20131 (eval $ac_try) 2>&5
20132 ac_status=$?
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); }; } &&
20135 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
20141 eval "$as_ac_var=yes"
20142 else
20143 echo "$as_me: failed program was:" >&5
20144 sed 's/^/| /' conftest.$ac_ext >&5
20146 eval "$as_ac_var=no"
20148 rm -f conftest.err conftest.$ac_objext \
20149 conftest$ac_exeext conftest.$ac_ext
20151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20153 if test `eval echo '${'$as_ac_var'}'` = yes; then
20154 cat >>confdefs.h <<_ACEOF
20155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20156 _ACEOF
20159 done
20161 else
20163 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
20164 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
20165 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20166 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
20167 echo $ECHO_N "(cached) $ECHO_C" >&6
20168 else
20172 ac_ext=cc
20173 ac_cpp='$CXXCPP $CPPFLAGS'
20174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20178 cat >conftest.$ac_ext <<_ACEOF
20179 /* confdefs.h. */
20180 _ACEOF
20181 cat confdefs.h >>conftest.$ac_ext
20182 cat >>conftest.$ac_ext <<_ACEOF
20183 /* end confdefs.h. */
20184 #include <math.h>
20186 main ()
20188 _sincos(0, 0, 0);
20190 return 0;
20192 _ACEOF
20193 rm -f conftest.$ac_objext
20194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20195 (eval $ac_compile) 2>conftest.er1
20196 ac_status=$?
20197 grep -v '^ *+' conftest.er1 >conftest.err
20198 rm -f conftest.er1
20199 cat conftest.err >&5
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); } &&
20202 { ac_try='test -z "$ac_cxx_werror_flag"
20203 || test ! -s conftest.err'
20204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20205 (eval $ac_try) 2>&5
20206 ac_status=$?
20207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208 (exit $ac_status); }; } &&
20209 { ac_try='test -s conftest.$ac_objext'
20210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20211 (eval $ac_try) 2>&5
20212 ac_status=$?
20213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); }; }; then
20215 glibcxx_cv_func__sincos_use=yes
20216 else
20217 echo "$as_me: failed program was:" >&5
20218 sed 's/^/| /' conftest.$ac_ext >&5
20220 glibcxx_cv_func__sincos_use=no
20222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20223 ac_ext=c
20224 ac_cpp='$CPP $CPPFLAGS'
20225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20233 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
20234 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
20236 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20238 for ac_func in _sincos
20240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20241 echo "$as_me:$LINENO: checking for $ac_func" >&5
20242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20243 if eval "test \"\${$as_ac_var+set}\" = set"; then
20244 echo $ECHO_N "(cached) $ECHO_C" >&6
20245 else
20246 if test x$gcc_no_link = xyes; then
20247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20249 { (exit 1); exit 1; }; }
20251 cat >conftest.$ac_ext <<_ACEOF
20252 /* confdefs.h. */
20253 _ACEOF
20254 cat confdefs.h >>conftest.$ac_ext
20255 cat >>conftest.$ac_ext <<_ACEOF
20256 /* end confdefs.h. */
20257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20259 #define $ac_func innocuous_$ac_func
20261 /* System header to define __stub macros and hopefully few prototypes,
20262 which can conflict with char $ac_func (); below.
20263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20264 <limits.h> exists even on freestanding compilers. */
20266 #ifdef __STDC__
20267 # include <limits.h>
20268 #else
20269 # include <assert.h>
20270 #endif
20272 #undef $ac_func
20274 /* Override any gcc2 internal prototype to avoid an error. */
20275 #ifdef __cplusplus
20276 extern "C"
20278 #endif
20279 /* We use char because int might match the return type of a gcc2
20280 builtin and then its argument prototype would still apply. */
20281 char $ac_func ();
20282 /* The GNU C library defines this for functions which it implements
20283 to always fail with ENOSYS. Some functions are actually named
20284 something starting with __ and the normal name is an alias. */
20285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20286 choke me
20287 #else
20288 char (*f) () = $ac_func;
20289 #endif
20290 #ifdef __cplusplus
20292 #endif
20295 main ()
20297 return f != $ac_func;
20299 return 0;
20301 _ACEOF
20302 rm -f conftest.$ac_objext conftest$ac_exeext
20303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20304 (eval $ac_link) 2>conftest.er1
20305 ac_status=$?
20306 grep -v '^ *+' conftest.er1 >conftest.err
20307 rm -f conftest.er1
20308 cat conftest.err >&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); } &&
20311 { ac_try='test -z "$ac_c_werror_flag"
20312 || test ! -s conftest.err'
20313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314 (eval $ac_try) 2>&5
20315 ac_status=$?
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); }; } &&
20318 { ac_try='test -s conftest$ac_exeext'
20319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20320 (eval $ac_try) 2>&5
20321 ac_status=$?
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); }; }; then
20324 eval "$as_ac_var=yes"
20325 else
20326 echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.$ac_ext >&5
20329 eval "$as_ac_var=no"
20331 rm -f conftest.err conftest.$ac_objext \
20332 conftest$ac_exeext conftest.$ac_ext
20334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20336 if test `eval echo '${'$as_ac_var'}'` = yes; then
20337 cat >>confdefs.h <<_ACEOF
20338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20339 _ACEOF
20342 done
20352 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
20353 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
20354 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20355 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
20356 echo $ECHO_N "(cached) $ECHO_C" >&6
20357 else
20361 ac_ext=cc
20362 ac_cpp='$CXXCPP $CPPFLAGS'
20363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20367 cat >conftest.$ac_ext <<_ACEOF
20368 /* confdefs.h. */
20369 _ACEOF
20370 cat confdefs.h >>conftest.$ac_ext
20371 cat >>conftest.$ac_ext <<_ACEOF
20372 /* end confdefs.h. */
20373 #include <math.h>
20374 #ifdef HAVE_IEEEFP_H
20375 #include <ieeefp.h>
20376 #endif
20379 main ()
20381 fpclass(0);
20383 return 0;
20385 _ACEOF
20386 rm -f conftest.$ac_objext
20387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20388 (eval $ac_compile) 2>conftest.er1
20389 ac_status=$?
20390 grep -v '^ *+' conftest.er1 >conftest.err
20391 rm -f conftest.er1
20392 cat conftest.err >&5
20393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20394 (exit $ac_status); } &&
20395 { ac_try='test -z "$ac_cxx_werror_flag"
20396 || test ! -s conftest.err'
20397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20398 (eval $ac_try) 2>&5
20399 ac_status=$?
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); }; } &&
20402 { ac_try='test -s conftest.$ac_objext'
20403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20404 (eval $ac_try) 2>&5
20405 ac_status=$?
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); }; }; then
20408 glibcxx_cv_func_fpclass_use=yes
20409 else
20410 echo "$as_me: failed program was:" >&5
20411 sed 's/^/| /' conftest.$ac_ext >&5
20413 glibcxx_cv_func_fpclass_use=no
20415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20416 ac_ext=c
20417 ac_cpp='$CPP $CPPFLAGS'
20418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20426 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
20427 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
20429 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20431 for ac_func in fpclass
20433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20434 echo "$as_me:$LINENO: checking for $ac_func" >&5
20435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20436 if eval "test \"\${$as_ac_var+set}\" = set"; then
20437 echo $ECHO_N "(cached) $ECHO_C" >&6
20438 else
20439 if test x$gcc_no_link = xyes; then
20440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20442 { (exit 1); exit 1; }; }
20444 cat >conftest.$ac_ext <<_ACEOF
20445 /* confdefs.h. */
20446 _ACEOF
20447 cat confdefs.h >>conftest.$ac_ext
20448 cat >>conftest.$ac_ext <<_ACEOF
20449 /* end confdefs.h. */
20450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20452 #define $ac_func innocuous_$ac_func
20454 /* System header to define __stub macros and hopefully few prototypes,
20455 which can conflict with char $ac_func (); below.
20456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20457 <limits.h> exists even on freestanding compilers. */
20459 #ifdef __STDC__
20460 # include <limits.h>
20461 #else
20462 # include <assert.h>
20463 #endif
20465 #undef $ac_func
20467 /* Override any gcc2 internal prototype to avoid an error. */
20468 #ifdef __cplusplus
20469 extern "C"
20471 #endif
20472 /* We use char because int might match the return type of a gcc2
20473 builtin and then its argument prototype would still apply. */
20474 char $ac_func ();
20475 /* The GNU C library defines this for functions which it implements
20476 to always fail with ENOSYS. Some functions are actually named
20477 something starting with __ and the normal name is an alias. */
20478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20479 choke me
20480 #else
20481 char (*f) () = $ac_func;
20482 #endif
20483 #ifdef __cplusplus
20485 #endif
20488 main ()
20490 return f != $ac_func;
20492 return 0;
20494 _ACEOF
20495 rm -f conftest.$ac_objext conftest$ac_exeext
20496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20497 (eval $ac_link) 2>conftest.er1
20498 ac_status=$?
20499 grep -v '^ *+' conftest.er1 >conftest.err
20500 rm -f conftest.er1
20501 cat conftest.err >&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } &&
20504 { ac_try='test -z "$ac_c_werror_flag"
20505 || test ! -s conftest.err'
20506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20507 (eval $ac_try) 2>&5
20508 ac_status=$?
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); }; } &&
20511 { ac_try='test -s conftest$ac_exeext'
20512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20513 (eval $ac_try) 2>&5
20514 ac_status=$?
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); }; }; then
20517 eval "$as_ac_var=yes"
20518 else
20519 echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.$ac_ext >&5
20522 eval "$as_ac_var=no"
20524 rm -f conftest.err conftest.$ac_objext \
20525 conftest$ac_exeext conftest.$ac_ext
20527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20529 if test `eval echo '${'$as_ac_var'}'` = yes; then
20530 cat >>confdefs.h <<_ACEOF
20531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20532 _ACEOF
20535 done
20537 else
20539 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
20540 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
20541 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20542 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
20543 echo $ECHO_N "(cached) $ECHO_C" >&6
20544 else
20548 ac_ext=cc
20549 ac_cpp='$CXXCPP $CPPFLAGS'
20550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20554 cat >conftest.$ac_ext <<_ACEOF
20555 /* confdefs.h. */
20556 _ACEOF
20557 cat confdefs.h >>conftest.$ac_ext
20558 cat >>conftest.$ac_ext <<_ACEOF
20559 /* end confdefs.h. */
20560 #include <math.h>
20561 #ifdef HAVE_IEEEFP_H
20562 #include <ieeefp.h>
20563 #endif
20566 main ()
20568 _fpclass(0);
20570 return 0;
20572 _ACEOF
20573 rm -f conftest.$ac_objext
20574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20575 (eval $ac_compile) 2>conftest.er1
20576 ac_status=$?
20577 grep -v '^ *+' conftest.er1 >conftest.err
20578 rm -f conftest.er1
20579 cat conftest.err >&5
20580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581 (exit $ac_status); } &&
20582 { ac_try='test -z "$ac_cxx_werror_flag"
20583 || test ! -s conftest.err'
20584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20585 (eval $ac_try) 2>&5
20586 ac_status=$?
20587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20588 (exit $ac_status); }; } &&
20589 { ac_try='test -s conftest.$ac_objext'
20590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20591 (eval $ac_try) 2>&5
20592 ac_status=$?
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); }; }; then
20595 glibcxx_cv_func__fpclass_use=yes
20596 else
20597 echo "$as_me: failed program was:" >&5
20598 sed 's/^/| /' conftest.$ac_ext >&5
20600 glibcxx_cv_func__fpclass_use=no
20602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20603 ac_ext=c
20604 ac_cpp='$CPP $CPPFLAGS'
20605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20613 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
20614 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
20616 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20618 for ac_func in _fpclass
20620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20621 echo "$as_me:$LINENO: checking for $ac_func" >&5
20622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20623 if eval "test \"\${$as_ac_var+set}\" = set"; then
20624 echo $ECHO_N "(cached) $ECHO_C" >&6
20625 else
20626 if test x$gcc_no_link = xyes; then
20627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20629 { (exit 1); exit 1; }; }
20631 cat >conftest.$ac_ext <<_ACEOF
20632 /* confdefs.h. */
20633 _ACEOF
20634 cat confdefs.h >>conftest.$ac_ext
20635 cat >>conftest.$ac_ext <<_ACEOF
20636 /* end confdefs.h. */
20637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20639 #define $ac_func innocuous_$ac_func
20641 /* System header to define __stub macros and hopefully few prototypes,
20642 which can conflict with char $ac_func (); below.
20643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20644 <limits.h> exists even on freestanding compilers. */
20646 #ifdef __STDC__
20647 # include <limits.h>
20648 #else
20649 # include <assert.h>
20650 #endif
20652 #undef $ac_func
20654 /* Override any gcc2 internal prototype to avoid an error. */
20655 #ifdef __cplusplus
20656 extern "C"
20658 #endif
20659 /* We use char because int might match the return type of a gcc2
20660 builtin and then its argument prototype would still apply. */
20661 char $ac_func ();
20662 /* The GNU C library defines this for functions which it implements
20663 to always fail with ENOSYS. Some functions are actually named
20664 something starting with __ and the normal name is an alias. */
20665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20666 choke me
20667 #else
20668 char (*f) () = $ac_func;
20669 #endif
20670 #ifdef __cplusplus
20672 #endif
20675 main ()
20677 return f != $ac_func;
20679 return 0;
20681 _ACEOF
20682 rm -f conftest.$ac_objext conftest$ac_exeext
20683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20684 (eval $ac_link) 2>conftest.er1
20685 ac_status=$?
20686 grep -v '^ *+' conftest.er1 >conftest.err
20687 rm -f conftest.er1
20688 cat conftest.err >&5
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); } &&
20691 { ac_try='test -z "$ac_c_werror_flag"
20692 || test ! -s conftest.err'
20693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20694 (eval $ac_try) 2>&5
20695 ac_status=$?
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); }; } &&
20698 { ac_try='test -s conftest$ac_exeext'
20699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700 (eval $ac_try) 2>&5
20701 ac_status=$?
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; }; then
20704 eval "$as_ac_var=yes"
20705 else
20706 echo "$as_me: failed program was:" >&5
20707 sed 's/^/| /' conftest.$ac_ext >&5
20709 eval "$as_ac_var=no"
20711 rm -f conftest.err conftest.$ac_objext \
20712 conftest$ac_exeext conftest.$ac_ext
20714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20716 if test `eval echo '${'$as_ac_var'}'` = yes; then
20717 cat >>confdefs.h <<_ACEOF
20718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20719 _ACEOF
20722 done
20732 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
20733 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
20734 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20735 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
20736 echo $ECHO_N "(cached) $ECHO_C" >&6
20737 else
20741 ac_ext=cc
20742 ac_cpp='$CXXCPP $CPPFLAGS'
20743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20747 cat >conftest.$ac_ext <<_ACEOF
20748 /* confdefs.h. */
20749 _ACEOF
20750 cat confdefs.h >>conftest.$ac_ext
20751 cat >>conftest.$ac_ext <<_ACEOF
20752 /* end confdefs.h. */
20753 #include <math.h>
20754 #ifdef HAVE_IEEEFP_H
20755 #include <ieeefp.h>
20756 #endif
20759 main ()
20761 qfpclass(0);
20763 return 0;
20765 _ACEOF
20766 rm -f conftest.$ac_objext
20767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20768 (eval $ac_compile) 2>conftest.er1
20769 ac_status=$?
20770 grep -v '^ *+' conftest.er1 >conftest.err
20771 rm -f conftest.er1
20772 cat conftest.err >&5
20773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774 (exit $ac_status); } &&
20775 { ac_try='test -z "$ac_cxx_werror_flag"
20776 || test ! -s conftest.err'
20777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20778 (eval $ac_try) 2>&5
20779 ac_status=$?
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); }; } &&
20782 { ac_try='test -s conftest.$ac_objext'
20783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20784 (eval $ac_try) 2>&5
20785 ac_status=$?
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; }; then
20788 glibcxx_cv_func_qfpclass_use=yes
20789 else
20790 echo "$as_me: failed program was:" >&5
20791 sed 's/^/| /' conftest.$ac_ext >&5
20793 glibcxx_cv_func_qfpclass_use=no
20795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20796 ac_ext=c
20797 ac_cpp='$CPP $CPPFLAGS'
20798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20806 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
20807 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
20809 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20811 for ac_func in qfpclass
20813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20814 echo "$as_me:$LINENO: checking for $ac_func" >&5
20815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20816 if eval "test \"\${$as_ac_var+set}\" = set"; then
20817 echo $ECHO_N "(cached) $ECHO_C" >&6
20818 else
20819 if test x$gcc_no_link = xyes; then
20820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20822 { (exit 1); exit 1; }; }
20824 cat >conftest.$ac_ext <<_ACEOF
20825 /* confdefs.h. */
20826 _ACEOF
20827 cat confdefs.h >>conftest.$ac_ext
20828 cat >>conftest.$ac_ext <<_ACEOF
20829 /* end confdefs.h. */
20830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20832 #define $ac_func innocuous_$ac_func
20834 /* System header to define __stub macros and hopefully few prototypes,
20835 which can conflict with char $ac_func (); below.
20836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20837 <limits.h> exists even on freestanding compilers. */
20839 #ifdef __STDC__
20840 # include <limits.h>
20841 #else
20842 # include <assert.h>
20843 #endif
20845 #undef $ac_func
20847 /* Override any gcc2 internal prototype to avoid an error. */
20848 #ifdef __cplusplus
20849 extern "C"
20851 #endif
20852 /* We use char because int might match the return type of a gcc2
20853 builtin and then its argument prototype would still apply. */
20854 char $ac_func ();
20855 /* The GNU C library defines this for functions which it implements
20856 to always fail with ENOSYS. Some functions are actually named
20857 something starting with __ and the normal name is an alias. */
20858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20859 choke me
20860 #else
20861 char (*f) () = $ac_func;
20862 #endif
20863 #ifdef __cplusplus
20865 #endif
20868 main ()
20870 return f != $ac_func;
20872 return 0;
20874 _ACEOF
20875 rm -f conftest.$ac_objext conftest$ac_exeext
20876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20877 (eval $ac_link) 2>conftest.er1
20878 ac_status=$?
20879 grep -v '^ *+' conftest.er1 >conftest.err
20880 rm -f conftest.er1
20881 cat conftest.err >&5
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); } &&
20884 { ac_try='test -z "$ac_c_werror_flag"
20885 || test ! -s conftest.err'
20886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20887 (eval $ac_try) 2>&5
20888 ac_status=$?
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); }; } &&
20891 { ac_try='test -s conftest$ac_exeext'
20892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20893 (eval $ac_try) 2>&5
20894 ac_status=$?
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); }; }; then
20897 eval "$as_ac_var=yes"
20898 else
20899 echo "$as_me: failed program was:" >&5
20900 sed 's/^/| /' conftest.$ac_ext >&5
20902 eval "$as_ac_var=no"
20904 rm -f conftest.err conftest.$ac_objext \
20905 conftest$ac_exeext conftest.$ac_ext
20907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20909 if test `eval echo '${'$as_ac_var'}'` = yes; then
20910 cat >>confdefs.h <<_ACEOF
20911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20912 _ACEOF
20915 done
20917 else
20919 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
20920 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
20921 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20922 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
20923 echo $ECHO_N "(cached) $ECHO_C" >&6
20924 else
20928 ac_ext=cc
20929 ac_cpp='$CXXCPP $CPPFLAGS'
20930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20934 cat >conftest.$ac_ext <<_ACEOF
20935 /* confdefs.h. */
20936 _ACEOF
20937 cat confdefs.h >>conftest.$ac_ext
20938 cat >>conftest.$ac_ext <<_ACEOF
20939 /* end confdefs.h. */
20940 #include <math.h>
20941 #ifdef HAVE_IEEEFP_H
20942 #include <ieeefp.h>
20943 #endif
20946 main ()
20948 _qfpclass(0);
20950 return 0;
20952 _ACEOF
20953 rm -f conftest.$ac_objext
20954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20955 (eval $ac_compile) 2>conftest.er1
20956 ac_status=$?
20957 grep -v '^ *+' conftest.er1 >conftest.err
20958 rm -f conftest.er1
20959 cat conftest.err >&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); } &&
20962 { ac_try='test -z "$ac_cxx_werror_flag"
20963 || test ! -s conftest.err'
20964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20965 (eval $ac_try) 2>&5
20966 ac_status=$?
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); }; } &&
20969 { ac_try='test -s conftest.$ac_objext'
20970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20971 (eval $ac_try) 2>&5
20972 ac_status=$?
20973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20974 (exit $ac_status); }; }; then
20975 glibcxx_cv_func__qfpclass_use=yes
20976 else
20977 echo "$as_me: failed program was:" >&5
20978 sed 's/^/| /' conftest.$ac_ext >&5
20980 glibcxx_cv_func__qfpclass_use=no
20982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20983 ac_ext=c
20984 ac_cpp='$CPP $CPPFLAGS'
20985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20993 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
20994 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
20996 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20998 for ac_func in _qfpclass
21000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21001 echo "$as_me:$LINENO: checking for $ac_func" >&5
21002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21003 if eval "test \"\${$as_ac_var+set}\" = set"; then
21004 echo $ECHO_N "(cached) $ECHO_C" >&6
21005 else
21006 if test x$gcc_no_link = xyes; then
21007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21009 { (exit 1); exit 1; }; }
21011 cat >conftest.$ac_ext <<_ACEOF
21012 /* confdefs.h. */
21013 _ACEOF
21014 cat confdefs.h >>conftest.$ac_ext
21015 cat >>conftest.$ac_ext <<_ACEOF
21016 /* end confdefs.h. */
21017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21019 #define $ac_func innocuous_$ac_func
21021 /* System header to define __stub macros and hopefully few prototypes,
21022 which can conflict with char $ac_func (); below.
21023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21024 <limits.h> exists even on freestanding compilers. */
21026 #ifdef __STDC__
21027 # include <limits.h>
21028 #else
21029 # include <assert.h>
21030 #endif
21032 #undef $ac_func
21034 /* Override any gcc2 internal prototype to avoid an error. */
21035 #ifdef __cplusplus
21036 extern "C"
21038 #endif
21039 /* We use char because int might match the return type of a gcc2
21040 builtin and then its argument prototype would still apply. */
21041 char $ac_func ();
21042 /* The GNU C library defines this for functions which it implements
21043 to always fail with ENOSYS. Some functions are actually named
21044 something starting with __ and the normal name is an alias. */
21045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21046 choke me
21047 #else
21048 char (*f) () = $ac_func;
21049 #endif
21050 #ifdef __cplusplus
21052 #endif
21055 main ()
21057 return f != $ac_func;
21059 return 0;
21061 _ACEOF
21062 rm -f conftest.$ac_objext conftest$ac_exeext
21063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21064 (eval $ac_link) 2>conftest.er1
21065 ac_status=$?
21066 grep -v '^ *+' conftest.er1 >conftest.err
21067 rm -f conftest.er1
21068 cat conftest.err >&5
21069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21070 (exit $ac_status); } &&
21071 { ac_try='test -z "$ac_c_werror_flag"
21072 || test ! -s conftest.err'
21073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21074 (eval $ac_try) 2>&5
21075 ac_status=$?
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); }; } &&
21078 { ac_try='test -s conftest$ac_exeext'
21079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21080 (eval $ac_try) 2>&5
21081 ac_status=$?
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); }; }; then
21084 eval "$as_ac_var=yes"
21085 else
21086 echo "$as_me: failed program was:" >&5
21087 sed 's/^/| /' conftest.$ac_ext >&5
21089 eval "$as_ac_var=no"
21091 rm -f conftest.err conftest.$ac_objext \
21092 conftest$ac_exeext conftest.$ac_ext
21094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21096 if test `eval echo '${'$as_ac_var'}'` = yes; then
21097 cat >>confdefs.h <<_ACEOF
21098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21099 _ACEOF
21102 done
21112 echo "$as_me:$LINENO: checking for hypot declaration" >&5
21113 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
21114 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21115 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
21116 echo $ECHO_N "(cached) $ECHO_C" >&6
21117 else
21121 ac_ext=cc
21122 ac_cpp='$CXXCPP $CPPFLAGS'
21123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21127 cat >conftest.$ac_ext <<_ACEOF
21128 /* confdefs.h. */
21129 _ACEOF
21130 cat confdefs.h >>conftest.$ac_ext
21131 cat >>conftest.$ac_ext <<_ACEOF
21132 /* end confdefs.h. */
21133 #include <math.h>
21135 main ()
21137 hypot(0, 0);
21139 return 0;
21141 _ACEOF
21142 rm -f conftest.$ac_objext
21143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21144 (eval $ac_compile) 2>conftest.er1
21145 ac_status=$?
21146 grep -v '^ *+' conftest.er1 >conftest.err
21147 rm -f conftest.er1
21148 cat conftest.err >&5
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); } &&
21151 { ac_try='test -z "$ac_cxx_werror_flag"
21152 || test ! -s conftest.err'
21153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21154 (eval $ac_try) 2>&5
21155 ac_status=$?
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); }; } &&
21158 { ac_try='test -s conftest.$ac_objext'
21159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21160 (eval $ac_try) 2>&5
21161 ac_status=$?
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); }; }; then
21164 glibcxx_cv_func_hypot_use=yes
21165 else
21166 echo "$as_me: failed program was:" >&5
21167 sed 's/^/| /' conftest.$ac_ext >&5
21169 glibcxx_cv_func_hypot_use=no
21171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21172 ac_ext=c
21173 ac_cpp='$CPP $CPPFLAGS'
21174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21182 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
21183 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
21185 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21187 for ac_func in hypot
21189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21190 echo "$as_me:$LINENO: checking for $ac_func" >&5
21191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21192 if eval "test \"\${$as_ac_var+set}\" = set"; then
21193 echo $ECHO_N "(cached) $ECHO_C" >&6
21194 else
21195 if test x$gcc_no_link = xyes; then
21196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21198 { (exit 1); exit 1; }; }
21200 cat >conftest.$ac_ext <<_ACEOF
21201 /* confdefs.h. */
21202 _ACEOF
21203 cat confdefs.h >>conftest.$ac_ext
21204 cat >>conftest.$ac_ext <<_ACEOF
21205 /* end confdefs.h. */
21206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21208 #define $ac_func innocuous_$ac_func
21210 /* System header to define __stub macros and hopefully few prototypes,
21211 which can conflict with char $ac_func (); below.
21212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21213 <limits.h> exists even on freestanding compilers. */
21215 #ifdef __STDC__
21216 # include <limits.h>
21217 #else
21218 # include <assert.h>
21219 #endif
21221 #undef $ac_func
21223 /* Override any gcc2 internal prototype to avoid an error. */
21224 #ifdef __cplusplus
21225 extern "C"
21227 #endif
21228 /* We use char because int might match the return type of a gcc2
21229 builtin and then its argument prototype would still apply. */
21230 char $ac_func ();
21231 /* The GNU C library defines this for functions which it implements
21232 to always fail with ENOSYS. Some functions are actually named
21233 something starting with __ and the normal name is an alias. */
21234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21235 choke me
21236 #else
21237 char (*f) () = $ac_func;
21238 #endif
21239 #ifdef __cplusplus
21241 #endif
21244 main ()
21246 return f != $ac_func;
21248 return 0;
21250 _ACEOF
21251 rm -f conftest.$ac_objext conftest$ac_exeext
21252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21253 (eval $ac_link) 2>conftest.er1
21254 ac_status=$?
21255 grep -v '^ *+' conftest.er1 >conftest.err
21256 rm -f conftest.er1
21257 cat conftest.err >&5
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); } &&
21260 { ac_try='test -z "$ac_c_werror_flag"
21261 || test ! -s conftest.err'
21262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21263 (eval $ac_try) 2>&5
21264 ac_status=$?
21265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21266 (exit $ac_status); }; } &&
21267 { ac_try='test -s conftest$ac_exeext'
21268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21269 (eval $ac_try) 2>&5
21270 ac_status=$?
21271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272 (exit $ac_status); }; }; then
21273 eval "$as_ac_var=yes"
21274 else
21275 echo "$as_me: failed program was:" >&5
21276 sed 's/^/| /' conftest.$ac_ext >&5
21278 eval "$as_ac_var=no"
21280 rm -f conftest.err conftest.$ac_objext \
21281 conftest$ac_exeext conftest.$ac_ext
21283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21285 if test `eval echo '${'$as_ac_var'}'` = yes; then
21286 cat >>confdefs.h <<_ACEOF
21287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21288 _ACEOF
21291 done
21293 else
21295 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
21296 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
21297 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21298 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
21299 echo $ECHO_N "(cached) $ECHO_C" >&6
21300 else
21304 ac_ext=cc
21305 ac_cpp='$CXXCPP $CPPFLAGS'
21306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21310 cat >conftest.$ac_ext <<_ACEOF
21311 /* confdefs.h. */
21312 _ACEOF
21313 cat confdefs.h >>conftest.$ac_ext
21314 cat >>conftest.$ac_ext <<_ACEOF
21315 /* end confdefs.h. */
21316 #include <math.h>
21318 main ()
21320 _hypot(0, 0);
21322 return 0;
21324 _ACEOF
21325 rm -f conftest.$ac_objext
21326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21327 (eval $ac_compile) 2>conftest.er1
21328 ac_status=$?
21329 grep -v '^ *+' conftest.er1 >conftest.err
21330 rm -f conftest.er1
21331 cat conftest.err >&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); } &&
21334 { ac_try='test -z "$ac_cxx_werror_flag"
21335 || test ! -s conftest.err'
21336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21337 (eval $ac_try) 2>&5
21338 ac_status=$?
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); }; } &&
21341 { ac_try='test -s conftest.$ac_objext'
21342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21343 (eval $ac_try) 2>&5
21344 ac_status=$?
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); }; }; then
21347 glibcxx_cv_func__hypot_use=yes
21348 else
21349 echo "$as_me: failed program was:" >&5
21350 sed 's/^/| /' conftest.$ac_ext >&5
21352 glibcxx_cv_func__hypot_use=no
21354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21355 ac_ext=c
21356 ac_cpp='$CPP $CPPFLAGS'
21357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21365 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
21366 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
21368 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21370 for ac_func in _hypot
21372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21373 echo "$as_me:$LINENO: checking for $ac_func" >&5
21374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21375 if eval "test \"\${$as_ac_var+set}\" = set"; then
21376 echo $ECHO_N "(cached) $ECHO_C" >&6
21377 else
21378 if test x$gcc_no_link = xyes; then
21379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21381 { (exit 1); exit 1; }; }
21383 cat >conftest.$ac_ext <<_ACEOF
21384 /* confdefs.h. */
21385 _ACEOF
21386 cat confdefs.h >>conftest.$ac_ext
21387 cat >>conftest.$ac_ext <<_ACEOF
21388 /* end confdefs.h. */
21389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21391 #define $ac_func innocuous_$ac_func
21393 /* System header to define __stub macros and hopefully few prototypes,
21394 which can conflict with char $ac_func (); below.
21395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21396 <limits.h> exists even on freestanding compilers. */
21398 #ifdef __STDC__
21399 # include <limits.h>
21400 #else
21401 # include <assert.h>
21402 #endif
21404 #undef $ac_func
21406 /* Override any gcc2 internal prototype to avoid an error. */
21407 #ifdef __cplusplus
21408 extern "C"
21410 #endif
21411 /* We use char because int might match the return type of a gcc2
21412 builtin and then its argument prototype would still apply. */
21413 char $ac_func ();
21414 /* The GNU C library defines this for functions which it implements
21415 to always fail with ENOSYS. Some functions are actually named
21416 something starting with __ and the normal name is an alias. */
21417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21418 choke me
21419 #else
21420 char (*f) () = $ac_func;
21421 #endif
21422 #ifdef __cplusplus
21424 #endif
21427 main ()
21429 return f != $ac_func;
21431 return 0;
21433 _ACEOF
21434 rm -f conftest.$ac_objext conftest$ac_exeext
21435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21436 (eval $ac_link) 2>conftest.er1
21437 ac_status=$?
21438 grep -v '^ *+' conftest.er1 >conftest.err
21439 rm -f conftest.er1
21440 cat conftest.err >&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); } &&
21443 { ac_try='test -z "$ac_c_werror_flag"
21444 || test ! -s conftest.err'
21445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21446 (eval $ac_try) 2>&5
21447 ac_status=$?
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); }; } &&
21450 { ac_try='test -s conftest$ac_exeext'
21451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21452 (eval $ac_try) 2>&5
21453 ac_status=$?
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); }; }; then
21456 eval "$as_ac_var=yes"
21457 else
21458 echo "$as_me: failed program was:" >&5
21459 sed 's/^/| /' conftest.$ac_ext >&5
21461 eval "$as_ac_var=no"
21463 rm -f conftest.err conftest.$ac_objext \
21464 conftest$ac_exeext conftest.$ac_ext
21466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21468 if test `eval echo '${'$as_ac_var'}'` = yes; then
21469 cat >>confdefs.h <<_ACEOF
21470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21471 _ACEOF
21474 done
21484 echo "$as_me:$LINENO: checking for float trig functions" >&5
21485 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
21486 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
21487 echo $ECHO_N "(cached) $ECHO_C" >&6
21488 else
21492 ac_ext=cc
21493 ac_cpp='$CXXCPP $CPPFLAGS'
21494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 <math.h>
21506 main ()
21508 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21510 return 0;
21512 _ACEOF
21513 rm -f conftest.$ac_objext
21514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21515 (eval $ac_compile) 2>conftest.er1
21516 ac_status=$?
21517 grep -v '^ *+' conftest.er1 >conftest.err
21518 rm -f conftest.er1
21519 cat conftest.err >&5
21520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21521 (exit $ac_status); } &&
21522 { ac_try='test -z "$ac_cxx_werror_flag"
21523 || test ! -s conftest.err'
21524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21525 (eval $ac_try) 2>&5
21526 ac_status=$?
21527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21528 (exit $ac_status); }; } &&
21529 { ac_try='test -s conftest.$ac_objext'
21530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21531 (eval $ac_try) 2>&5
21532 ac_status=$?
21533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534 (exit $ac_status); }; }; then
21535 glibcxx_cv_func_float_trig_use=yes
21536 else
21537 echo "$as_me: failed program was:" >&5
21538 sed 's/^/| /' conftest.$ac_ext >&5
21540 glibcxx_cv_func_float_trig_use=no
21542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21543 ac_ext=c
21544 ac_cpp='$CPP $CPPFLAGS'
21545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21551 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
21552 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
21553 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21563 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21566 echo "$as_me:$LINENO: checking for $ac_func" >&5
21567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21568 if eval "test \"\${$as_ac_var+set}\" = set"; then
21569 echo $ECHO_N "(cached) $ECHO_C" >&6
21570 else
21571 if test x$gcc_no_link = xyes; then
21572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21574 { (exit 1); exit 1; }; }
21576 cat >conftest.$ac_ext <<_ACEOF
21577 /* confdefs.h. */
21578 _ACEOF
21579 cat confdefs.h >>conftest.$ac_ext
21580 cat >>conftest.$ac_ext <<_ACEOF
21581 /* end confdefs.h. */
21582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21584 #define $ac_func innocuous_$ac_func
21586 /* System header to define __stub macros and hopefully few prototypes,
21587 which can conflict with char $ac_func (); below.
21588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21589 <limits.h> exists even on freestanding compilers. */
21591 #ifdef __STDC__
21592 # include <limits.h>
21593 #else
21594 # include <assert.h>
21595 #endif
21597 #undef $ac_func
21599 /* Override any gcc2 internal prototype to avoid an error. */
21600 #ifdef __cplusplus
21601 extern "C"
21603 #endif
21604 /* We use char because int might match the return type of a gcc2
21605 builtin and then its argument prototype would still apply. */
21606 char $ac_func ();
21607 /* The GNU C library defines this for functions which it implements
21608 to always fail with ENOSYS. Some functions are actually named
21609 something starting with __ and the normal name is an alias. */
21610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21611 choke me
21612 #else
21613 char (*f) () = $ac_func;
21614 #endif
21615 #ifdef __cplusplus
21617 #endif
21620 main ()
21622 return f != $ac_func;
21624 return 0;
21626 _ACEOF
21627 rm -f conftest.$ac_objext conftest$ac_exeext
21628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21629 (eval $ac_link) 2>conftest.er1
21630 ac_status=$?
21631 grep -v '^ *+' conftest.er1 >conftest.err
21632 rm -f conftest.er1
21633 cat conftest.err >&5
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); } &&
21636 { ac_try='test -z "$ac_c_werror_flag"
21637 || test ! -s conftest.err'
21638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21639 (eval $ac_try) 2>&5
21640 ac_status=$?
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); }; } &&
21643 { ac_try='test -s conftest$ac_exeext'
21644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21645 (eval $ac_try) 2>&5
21646 ac_status=$?
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); }; }; then
21649 eval "$as_ac_var=yes"
21650 else
21651 echo "$as_me: failed program was:" >&5
21652 sed 's/^/| /' conftest.$ac_ext >&5
21654 eval "$as_ac_var=no"
21656 rm -f conftest.err conftest.$ac_objext \
21657 conftest$ac_exeext conftest.$ac_ext
21659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21661 if test `eval echo '${'$as_ac_var'}'` = yes; then
21662 cat >>confdefs.h <<_ACEOF
21663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21664 _ACEOF
21667 done
21669 else
21670 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21671 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21672 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21673 echo $ECHO_N "(cached) $ECHO_C" >&6
21674 else
21678 ac_ext=cc
21679 ac_cpp='$CXXCPP $CPPFLAGS'
21680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21684 cat >conftest.$ac_ext <<_ACEOF
21685 /* confdefs.h. */
21686 _ACEOF
21687 cat confdefs.h >>conftest.$ac_ext
21688 cat >>conftest.$ac_ext <<_ACEOF
21689 /* end confdefs.h. */
21690 #include <math.h>
21692 main ()
21694 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21696 return 0;
21698 _ACEOF
21699 rm -f conftest.$ac_objext
21700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21701 (eval $ac_compile) 2>conftest.er1
21702 ac_status=$?
21703 grep -v '^ *+' conftest.er1 >conftest.err
21704 rm -f conftest.er1
21705 cat conftest.err >&5
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); } &&
21708 { ac_try='test -z "$ac_cxx_werror_flag"
21709 || test ! -s conftest.err'
21710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21711 (eval $ac_try) 2>&5
21712 ac_status=$?
21713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21714 (exit $ac_status); }; } &&
21715 { ac_try='test -s conftest.$ac_objext'
21716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21717 (eval $ac_try) 2>&5
21718 ac_status=$?
21719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21720 (exit $ac_status); }; }; then
21721 glibcxx_cv_func__float_trig_use=yes
21722 else
21723 echo "$as_me: failed program was:" >&5
21724 sed 's/^/| /' conftest.$ac_ext >&5
21726 glibcxx_cv_func__float_trig_use=no
21728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21729 ac_ext=c
21730 ac_cpp='$CPP $CPPFLAGS'
21731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21737 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21738 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21739 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21749 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21752 echo "$as_me:$LINENO: checking for $ac_func" >&5
21753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21754 if eval "test \"\${$as_ac_var+set}\" = set"; then
21755 echo $ECHO_N "(cached) $ECHO_C" >&6
21756 else
21757 if test x$gcc_no_link = xyes; then
21758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21760 { (exit 1); exit 1; }; }
21762 cat >conftest.$ac_ext <<_ACEOF
21763 /* confdefs.h. */
21764 _ACEOF
21765 cat confdefs.h >>conftest.$ac_ext
21766 cat >>conftest.$ac_ext <<_ACEOF
21767 /* end confdefs.h. */
21768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21770 #define $ac_func innocuous_$ac_func
21772 /* System header to define __stub macros and hopefully few prototypes,
21773 which can conflict with char $ac_func (); below.
21774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21775 <limits.h> exists even on freestanding compilers. */
21777 #ifdef __STDC__
21778 # include <limits.h>
21779 #else
21780 # include <assert.h>
21781 #endif
21783 #undef $ac_func
21785 /* Override any gcc2 internal prototype to avoid an error. */
21786 #ifdef __cplusplus
21787 extern "C"
21789 #endif
21790 /* We use char because int might match the return type of a gcc2
21791 builtin and then its argument prototype would still apply. */
21792 char $ac_func ();
21793 /* The GNU C library defines this for functions which it implements
21794 to always fail with ENOSYS. Some functions are actually named
21795 something starting with __ and the normal name is an alias. */
21796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21797 choke me
21798 #else
21799 char (*f) () = $ac_func;
21800 #endif
21801 #ifdef __cplusplus
21803 #endif
21806 main ()
21808 return f != $ac_func;
21810 return 0;
21812 _ACEOF
21813 rm -f conftest.$ac_objext conftest$ac_exeext
21814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21815 (eval $ac_link) 2>conftest.er1
21816 ac_status=$?
21817 grep -v '^ *+' conftest.er1 >conftest.err
21818 rm -f conftest.er1
21819 cat conftest.err >&5
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); } &&
21822 { ac_try='test -z "$ac_c_werror_flag"
21823 || test ! -s conftest.err'
21824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21825 (eval $ac_try) 2>&5
21826 ac_status=$?
21827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828 (exit $ac_status); }; } &&
21829 { ac_try='test -s conftest$ac_exeext'
21830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21831 (eval $ac_try) 2>&5
21832 ac_status=$?
21833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21834 (exit $ac_status); }; }; then
21835 eval "$as_ac_var=yes"
21836 else
21837 echo "$as_me: failed program was:" >&5
21838 sed 's/^/| /' conftest.$ac_ext >&5
21840 eval "$as_ac_var=no"
21842 rm -f conftest.err conftest.$ac_objext \
21843 conftest$ac_exeext conftest.$ac_ext
21845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21847 if test `eval echo '${'$as_ac_var'}'` = yes; then
21848 cat >>confdefs.h <<_ACEOF
21849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21850 _ACEOF
21853 done
21871 echo "$as_me:$LINENO: checking for float round functions" >&5
21872 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
21873 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
21874 echo $ECHO_N "(cached) $ECHO_C" >&6
21875 else
21879 ac_ext=cc
21880 ac_cpp='$CXXCPP $CPPFLAGS'
21881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21885 cat >conftest.$ac_ext <<_ACEOF
21886 /* confdefs.h. */
21887 _ACEOF
21888 cat confdefs.h >>conftest.$ac_ext
21889 cat >>conftest.$ac_ext <<_ACEOF
21890 /* end confdefs.h. */
21891 #include <math.h>
21893 main ()
21895 ceilf (0); floorf (0);
21897 return 0;
21899 _ACEOF
21900 rm -f conftest.$ac_objext
21901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21902 (eval $ac_compile) 2>conftest.er1
21903 ac_status=$?
21904 grep -v '^ *+' conftest.er1 >conftest.err
21905 rm -f conftest.er1
21906 cat conftest.err >&5
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); } &&
21909 { ac_try='test -z "$ac_cxx_werror_flag"
21910 || test ! -s conftest.err'
21911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21912 (eval $ac_try) 2>&5
21913 ac_status=$?
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); }; } &&
21916 { ac_try='test -s conftest.$ac_objext'
21917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21918 (eval $ac_try) 2>&5
21919 ac_status=$?
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); }; }; then
21922 glibcxx_cv_func_float_round_use=yes
21923 else
21924 echo "$as_me: failed program was:" >&5
21925 sed 's/^/| /' conftest.$ac_ext >&5
21927 glibcxx_cv_func_float_round_use=no
21929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21930 ac_ext=c
21931 ac_cpp='$CPP $CPPFLAGS'
21932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21938 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
21939 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
21940 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21943 for ac_func in ceilf floorf
21945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21946 echo "$as_me:$LINENO: checking for $ac_func" >&5
21947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21948 if eval "test \"\${$as_ac_var+set}\" = set"; then
21949 echo $ECHO_N "(cached) $ECHO_C" >&6
21950 else
21951 if test x$gcc_no_link = xyes; then
21952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21954 { (exit 1); exit 1; }; }
21956 cat >conftest.$ac_ext <<_ACEOF
21957 /* confdefs.h. */
21958 _ACEOF
21959 cat confdefs.h >>conftest.$ac_ext
21960 cat >>conftest.$ac_ext <<_ACEOF
21961 /* end confdefs.h. */
21962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21964 #define $ac_func innocuous_$ac_func
21966 /* System header to define __stub macros and hopefully few prototypes,
21967 which can conflict with char $ac_func (); below.
21968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21969 <limits.h> exists even on freestanding compilers. */
21971 #ifdef __STDC__
21972 # include <limits.h>
21973 #else
21974 # include <assert.h>
21975 #endif
21977 #undef $ac_func
21979 /* Override any gcc2 internal prototype to avoid an error. */
21980 #ifdef __cplusplus
21981 extern "C"
21983 #endif
21984 /* We use char because int might match the return type of a gcc2
21985 builtin and then its argument prototype would still apply. */
21986 char $ac_func ();
21987 /* The GNU C library defines this for functions which it implements
21988 to always fail with ENOSYS. Some functions are actually named
21989 something starting with __ and the normal name is an alias. */
21990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21991 choke me
21992 #else
21993 char (*f) () = $ac_func;
21994 #endif
21995 #ifdef __cplusplus
21997 #endif
22000 main ()
22002 return f != $ac_func;
22004 return 0;
22006 _ACEOF
22007 rm -f conftest.$ac_objext conftest$ac_exeext
22008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22009 (eval $ac_link) 2>conftest.er1
22010 ac_status=$?
22011 grep -v '^ *+' conftest.er1 >conftest.err
22012 rm -f conftest.er1
22013 cat conftest.err >&5
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); } &&
22016 { ac_try='test -z "$ac_c_werror_flag"
22017 || test ! -s conftest.err'
22018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22019 (eval $ac_try) 2>&5
22020 ac_status=$?
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); }; } &&
22023 { ac_try='test -s conftest$ac_exeext'
22024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22025 (eval $ac_try) 2>&5
22026 ac_status=$?
22027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22028 (exit $ac_status); }; }; then
22029 eval "$as_ac_var=yes"
22030 else
22031 echo "$as_me: failed program was:" >&5
22032 sed 's/^/| /' conftest.$ac_ext >&5
22034 eval "$as_ac_var=no"
22036 rm -f conftest.err conftest.$ac_objext \
22037 conftest$ac_exeext conftest.$ac_ext
22039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22041 if test `eval echo '${'$as_ac_var'}'` = yes; then
22042 cat >>confdefs.h <<_ACEOF
22043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22044 _ACEOF
22047 done
22049 else
22050 echo "$as_me:$LINENO: checking for _float round functions" >&5
22051 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
22052 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
22053 echo $ECHO_N "(cached) $ECHO_C" >&6
22054 else
22058 ac_ext=cc
22059 ac_cpp='$CXXCPP $CPPFLAGS'
22060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22064 cat >conftest.$ac_ext <<_ACEOF
22065 /* confdefs.h. */
22066 _ACEOF
22067 cat confdefs.h >>conftest.$ac_ext
22068 cat >>conftest.$ac_ext <<_ACEOF
22069 /* end confdefs.h. */
22070 #include <math.h>
22072 main ()
22074 _ceilf (0); _floorf (0);
22076 return 0;
22078 _ACEOF
22079 rm -f conftest.$ac_objext
22080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22081 (eval $ac_compile) 2>conftest.er1
22082 ac_status=$?
22083 grep -v '^ *+' conftest.er1 >conftest.err
22084 rm -f conftest.er1
22085 cat conftest.err >&5
22086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087 (exit $ac_status); } &&
22088 { ac_try='test -z "$ac_cxx_werror_flag"
22089 || test ! -s conftest.err'
22090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22091 (eval $ac_try) 2>&5
22092 ac_status=$?
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); }; } &&
22095 { ac_try='test -s conftest.$ac_objext'
22096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22097 (eval $ac_try) 2>&5
22098 ac_status=$?
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); }; }; then
22101 glibcxx_cv_func__float_round_use=yes
22102 else
22103 echo "$as_me: failed program was:" >&5
22104 sed 's/^/| /' conftest.$ac_ext >&5
22106 glibcxx_cv_func__float_round_use=no
22108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22109 ac_ext=c
22110 ac_cpp='$CPP $CPPFLAGS'
22111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22117 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
22118 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
22119 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22122 for ac_func in _ceilf _floorf
22124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22125 echo "$as_me:$LINENO: checking for $ac_func" >&5
22126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22127 if eval "test \"\${$as_ac_var+set}\" = set"; then
22128 echo $ECHO_N "(cached) $ECHO_C" >&6
22129 else
22130 if test x$gcc_no_link = xyes; then
22131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22133 { (exit 1); exit 1; }; }
22135 cat >conftest.$ac_ext <<_ACEOF
22136 /* confdefs.h. */
22137 _ACEOF
22138 cat confdefs.h >>conftest.$ac_ext
22139 cat >>conftest.$ac_ext <<_ACEOF
22140 /* end confdefs.h. */
22141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22143 #define $ac_func innocuous_$ac_func
22145 /* System header to define __stub macros and hopefully few prototypes,
22146 which can conflict with char $ac_func (); below.
22147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22148 <limits.h> exists even on freestanding compilers. */
22150 #ifdef __STDC__
22151 # include <limits.h>
22152 #else
22153 # include <assert.h>
22154 #endif
22156 #undef $ac_func
22158 /* Override any gcc2 internal prototype to avoid an error. */
22159 #ifdef __cplusplus
22160 extern "C"
22162 #endif
22163 /* We use char because int might match the return type of a gcc2
22164 builtin and then its argument prototype would still apply. */
22165 char $ac_func ();
22166 /* The GNU C library defines this for functions which it implements
22167 to always fail with ENOSYS. Some functions are actually named
22168 something starting with __ and the normal name is an alias. */
22169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22170 choke me
22171 #else
22172 char (*f) () = $ac_func;
22173 #endif
22174 #ifdef __cplusplus
22176 #endif
22179 main ()
22181 return f != $ac_func;
22183 return 0;
22185 _ACEOF
22186 rm -f conftest.$ac_objext conftest$ac_exeext
22187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22188 (eval $ac_link) 2>conftest.er1
22189 ac_status=$?
22190 grep -v '^ *+' conftest.er1 >conftest.err
22191 rm -f conftest.er1
22192 cat conftest.err >&5
22193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22194 (exit $ac_status); } &&
22195 { ac_try='test -z "$ac_c_werror_flag"
22196 || test ! -s conftest.err'
22197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22198 (eval $ac_try) 2>&5
22199 ac_status=$?
22200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22201 (exit $ac_status); }; } &&
22202 { ac_try='test -s conftest$ac_exeext'
22203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22204 (eval $ac_try) 2>&5
22205 ac_status=$?
22206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22207 (exit $ac_status); }; }; then
22208 eval "$as_ac_var=yes"
22209 else
22210 echo "$as_me: failed program was:" >&5
22211 sed 's/^/| /' conftest.$ac_ext >&5
22213 eval "$as_ac_var=no"
22215 rm -f conftest.err conftest.$ac_objext \
22216 conftest$ac_exeext conftest.$ac_ext
22218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22220 if test `eval echo '${'$as_ac_var'}'` = yes; then
22221 cat >>confdefs.h <<_ACEOF
22222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22223 _ACEOF
22226 done
22238 echo "$as_me:$LINENO: checking for expf declaration" >&5
22239 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
22240 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22241 if test "${glibcxx_cv_func_expf_use+set}" = set; then
22242 echo $ECHO_N "(cached) $ECHO_C" >&6
22243 else
22247 ac_ext=cc
22248 ac_cpp='$CXXCPP $CPPFLAGS'
22249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22253 cat >conftest.$ac_ext <<_ACEOF
22254 /* confdefs.h. */
22255 _ACEOF
22256 cat confdefs.h >>conftest.$ac_ext
22257 cat >>conftest.$ac_ext <<_ACEOF
22258 /* end confdefs.h. */
22259 #include <math.h>
22260 #ifdef HAVE_IEEEFP_H
22261 #include <ieeefp.h>
22262 #endif
22265 main ()
22267 expf(0);
22269 return 0;
22271 _ACEOF
22272 rm -f conftest.$ac_objext
22273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22274 (eval $ac_compile) 2>conftest.er1
22275 ac_status=$?
22276 grep -v '^ *+' conftest.er1 >conftest.err
22277 rm -f conftest.er1
22278 cat conftest.err >&5
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); } &&
22281 { ac_try='test -z "$ac_cxx_werror_flag"
22282 || test ! -s conftest.err'
22283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22284 (eval $ac_try) 2>&5
22285 ac_status=$?
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); }; } &&
22288 { ac_try='test -s conftest.$ac_objext'
22289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22290 (eval $ac_try) 2>&5
22291 ac_status=$?
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); }; }; then
22294 glibcxx_cv_func_expf_use=yes
22295 else
22296 echo "$as_me: failed program was:" >&5
22297 sed 's/^/| /' conftest.$ac_ext >&5
22299 glibcxx_cv_func_expf_use=no
22301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22302 ac_ext=c
22303 ac_cpp='$CPP $CPPFLAGS'
22304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22312 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
22313 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
22315 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22317 for ac_func in expf
22319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22320 echo "$as_me:$LINENO: checking for $ac_func" >&5
22321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22322 if eval "test \"\${$as_ac_var+set}\" = set"; then
22323 echo $ECHO_N "(cached) $ECHO_C" >&6
22324 else
22325 if test x$gcc_no_link = xyes; then
22326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22328 { (exit 1); exit 1; }; }
22330 cat >conftest.$ac_ext <<_ACEOF
22331 /* confdefs.h. */
22332 _ACEOF
22333 cat confdefs.h >>conftest.$ac_ext
22334 cat >>conftest.$ac_ext <<_ACEOF
22335 /* end confdefs.h. */
22336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22338 #define $ac_func innocuous_$ac_func
22340 /* System header to define __stub macros and hopefully few prototypes,
22341 which can conflict with char $ac_func (); below.
22342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22343 <limits.h> exists even on freestanding compilers. */
22345 #ifdef __STDC__
22346 # include <limits.h>
22347 #else
22348 # include <assert.h>
22349 #endif
22351 #undef $ac_func
22353 /* Override any gcc2 internal prototype to avoid an error. */
22354 #ifdef __cplusplus
22355 extern "C"
22357 #endif
22358 /* We use char because int might match the return type of a gcc2
22359 builtin and then its argument prototype would still apply. */
22360 char $ac_func ();
22361 /* The GNU C library defines this for functions which it implements
22362 to always fail with ENOSYS. Some functions are actually named
22363 something starting with __ and the normal name is an alias. */
22364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22365 choke me
22366 #else
22367 char (*f) () = $ac_func;
22368 #endif
22369 #ifdef __cplusplus
22371 #endif
22374 main ()
22376 return f != $ac_func;
22378 return 0;
22380 _ACEOF
22381 rm -f conftest.$ac_objext conftest$ac_exeext
22382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22383 (eval $ac_link) 2>conftest.er1
22384 ac_status=$?
22385 grep -v '^ *+' conftest.er1 >conftest.err
22386 rm -f conftest.er1
22387 cat conftest.err >&5
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); } &&
22390 { ac_try='test -z "$ac_c_werror_flag"
22391 || test ! -s conftest.err'
22392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22393 (eval $ac_try) 2>&5
22394 ac_status=$?
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); }; } &&
22397 { ac_try='test -s conftest$ac_exeext'
22398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22399 (eval $ac_try) 2>&5
22400 ac_status=$?
22401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402 (exit $ac_status); }; }; then
22403 eval "$as_ac_var=yes"
22404 else
22405 echo "$as_me: failed program was:" >&5
22406 sed 's/^/| /' conftest.$ac_ext >&5
22408 eval "$as_ac_var=no"
22410 rm -f conftest.err conftest.$ac_objext \
22411 conftest$ac_exeext conftest.$ac_ext
22413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22415 if test `eval echo '${'$as_ac_var'}'` = yes; then
22416 cat >>confdefs.h <<_ACEOF
22417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22418 _ACEOF
22421 done
22423 else
22425 echo "$as_me:$LINENO: checking for _expf declaration" >&5
22426 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
22427 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22428 if test "${glibcxx_cv_func__expf_use+set}" = set; then
22429 echo $ECHO_N "(cached) $ECHO_C" >&6
22430 else
22434 ac_ext=cc
22435 ac_cpp='$CXXCPP $CPPFLAGS'
22436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22440 cat >conftest.$ac_ext <<_ACEOF
22441 /* confdefs.h. */
22442 _ACEOF
22443 cat confdefs.h >>conftest.$ac_ext
22444 cat >>conftest.$ac_ext <<_ACEOF
22445 /* end confdefs.h. */
22446 #include <math.h>
22447 #ifdef HAVE_IEEEFP_H
22448 #include <ieeefp.h>
22449 #endif
22452 main ()
22454 _expf(0);
22456 return 0;
22458 _ACEOF
22459 rm -f conftest.$ac_objext
22460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22461 (eval $ac_compile) 2>conftest.er1
22462 ac_status=$?
22463 grep -v '^ *+' conftest.er1 >conftest.err
22464 rm -f conftest.er1
22465 cat conftest.err >&5
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); } &&
22468 { ac_try='test -z "$ac_cxx_werror_flag"
22469 || test ! -s conftest.err'
22470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22471 (eval $ac_try) 2>&5
22472 ac_status=$?
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); }; } &&
22475 { ac_try='test -s conftest.$ac_objext'
22476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22477 (eval $ac_try) 2>&5
22478 ac_status=$?
22479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22480 (exit $ac_status); }; }; then
22481 glibcxx_cv_func__expf_use=yes
22482 else
22483 echo "$as_me: failed program was:" >&5
22484 sed 's/^/| /' conftest.$ac_ext >&5
22486 glibcxx_cv_func__expf_use=no
22488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22489 ac_ext=c
22490 ac_cpp='$CPP $CPPFLAGS'
22491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22499 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22500 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
22502 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22504 for ac_func in _expf
22506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22507 echo "$as_me:$LINENO: checking for $ac_func" >&5
22508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22509 if eval "test \"\${$as_ac_var+set}\" = set"; then
22510 echo $ECHO_N "(cached) $ECHO_C" >&6
22511 else
22512 if test x$gcc_no_link = xyes; then
22513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22515 { (exit 1); exit 1; }; }
22517 cat >conftest.$ac_ext <<_ACEOF
22518 /* confdefs.h. */
22519 _ACEOF
22520 cat confdefs.h >>conftest.$ac_ext
22521 cat >>conftest.$ac_ext <<_ACEOF
22522 /* end confdefs.h. */
22523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22525 #define $ac_func innocuous_$ac_func
22527 /* System header to define __stub macros and hopefully few prototypes,
22528 which can conflict with char $ac_func (); below.
22529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22530 <limits.h> exists even on freestanding compilers. */
22532 #ifdef __STDC__
22533 # include <limits.h>
22534 #else
22535 # include <assert.h>
22536 #endif
22538 #undef $ac_func
22540 /* Override any gcc2 internal prototype to avoid an error. */
22541 #ifdef __cplusplus
22542 extern "C"
22544 #endif
22545 /* We use char because int might match the return type of a gcc2
22546 builtin and then its argument prototype would still apply. */
22547 char $ac_func ();
22548 /* The GNU C library defines this for functions which it implements
22549 to always fail with ENOSYS. Some functions are actually named
22550 something starting with __ and the normal name is an alias. */
22551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22552 choke me
22553 #else
22554 char (*f) () = $ac_func;
22555 #endif
22556 #ifdef __cplusplus
22558 #endif
22561 main ()
22563 return f != $ac_func;
22565 return 0;
22567 _ACEOF
22568 rm -f conftest.$ac_objext conftest$ac_exeext
22569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22570 (eval $ac_link) 2>conftest.er1
22571 ac_status=$?
22572 grep -v '^ *+' conftest.er1 >conftest.err
22573 rm -f conftest.er1
22574 cat conftest.err >&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); } &&
22577 { ac_try='test -z "$ac_c_werror_flag"
22578 || test ! -s conftest.err'
22579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22580 (eval $ac_try) 2>&5
22581 ac_status=$?
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); }; } &&
22584 { ac_try='test -s conftest$ac_exeext'
22585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22586 (eval $ac_try) 2>&5
22587 ac_status=$?
22588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22589 (exit $ac_status); }; }; then
22590 eval "$as_ac_var=yes"
22591 else
22592 echo "$as_me: failed program was:" >&5
22593 sed 's/^/| /' conftest.$ac_ext >&5
22595 eval "$as_ac_var=no"
22597 rm -f conftest.err conftest.$ac_objext \
22598 conftest$ac_exeext conftest.$ac_ext
22600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22602 if test `eval echo '${'$as_ac_var'}'` = yes; then
22603 cat >>confdefs.h <<_ACEOF
22604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22605 _ACEOF
22608 done
22618 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
22619 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
22620 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22621 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
22622 echo $ECHO_N "(cached) $ECHO_C" >&6
22623 else
22627 ac_ext=cc
22628 ac_cpp='$CXXCPP $CPPFLAGS'
22629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22633 cat >conftest.$ac_ext <<_ACEOF
22634 /* confdefs.h. */
22635 _ACEOF
22636 cat confdefs.h >>conftest.$ac_ext
22637 cat >>conftest.$ac_ext <<_ACEOF
22638 /* end confdefs.h. */
22639 #include <math.h>
22640 #ifdef HAVE_IEEEFP_H
22641 #include <ieeefp.h>
22642 #endif
22645 main ()
22647 isnanf(0);
22649 return 0;
22651 _ACEOF
22652 rm -f conftest.$ac_objext
22653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22654 (eval $ac_compile) 2>conftest.er1
22655 ac_status=$?
22656 grep -v '^ *+' conftest.er1 >conftest.err
22657 rm -f conftest.er1
22658 cat conftest.err >&5
22659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22660 (exit $ac_status); } &&
22661 { ac_try='test -z "$ac_cxx_werror_flag"
22662 || test ! -s conftest.err'
22663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22664 (eval $ac_try) 2>&5
22665 ac_status=$?
22666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22667 (exit $ac_status); }; } &&
22668 { ac_try='test -s conftest.$ac_objext'
22669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22670 (eval $ac_try) 2>&5
22671 ac_status=$?
22672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673 (exit $ac_status); }; }; then
22674 glibcxx_cv_func_isnanf_use=yes
22675 else
22676 echo "$as_me: failed program was:" >&5
22677 sed 's/^/| /' conftest.$ac_ext >&5
22679 glibcxx_cv_func_isnanf_use=no
22681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22682 ac_ext=c
22683 ac_cpp='$CPP $CPPFLAGS'
22684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22692 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
22693 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
22695 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22697 for ac_func in isnanf
22699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22700 echo "$as_me:$LINENO: checking for $ac_func" >&5
22701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22702 if eval "test \"\${$as_ac_var+set}\" = set"; then
22703 echo $ECHO_N "(cached) $ECHO_C" >&6
22704 else
22705 if test x$gcc_no_link = xyes; then
22706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22708 { (exit 1); exit 1; }; }
22710 cat >conftest.$ac_ext <<_ACEOF
22711 /* confdefs.h. */
22712 _ACEOF
22713 cat confdefs.h >>conftest.$ac_ext
22714 cat >>conftest.$ac_ext <<_ACEOF
22715 /* end confdefs.h. */
22716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22718 #define $ac_func innocuous_$ac_func
22720 /* System header to define __stub macros and hopefully few prototypes,
22721 which can conflict with char $ac_func (); below.
22722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22723 <limits.h> exists even on freestanding compilers. */
22725 #ifdef __STDC__
22726 # include <limits.h>
22727 #else
22728 # include <assert.h>
22729 #endif
22731 #undef $ac_func
22733 /* Override any gcc2 internal prototype to avoid an error. */
22734 #ifdef __cplusplus
22735 extern "C"
22737 #endif
22738 /* We use char because int might match the return type of a gcc2
22739 builtin and then its argument prototype would still apply. */
22740 char $ac_func ();
22741 /* The GNU C library defines this for functions which it implements
22742 to always fail with ENOSYS. Some functions are actually named
22743 something starting with __ and the normal name is an alias. */
22744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22745 choke me
22746 #else
22747 char (*f) () = $ac_func;
22748 #endif
22749 #ifdef __cplusplus
22751 #endif
22754 main ()
22756 return f != $ac_func;
22758 return 0;
22760 _ACEOF
22761 rm -f conftest.$ac_objext conftest$ac_exeext
22762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22763 (eval $ac_link) 2>conftest.er1
22764 ac_status=$?
22765 grep -v '^ *+' conftest.er1 >conftest.err
22766 rm -f conftest.er1
22767 cat conftest.err >&5
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); } &&
22770 { ac_try='test -z "$ac_c_werror_flag"
22771 || test ! -s conftest.err'
22772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22773 (eval $ac_try) 2>&5
22774 ac_status=$?
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); }; } &&
22777 { ac_try='test -s conftest$ac_exeext'
22778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779 (eval $ac_try) 2>&5
22780 ac_status=$?
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; }; then
22783 eval "$as_ac_var=yes"
22784 else
22785 echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.$ac_ext >&5
22788 eval "$as_ac_var=no"
22790 rm -f conftest.err conftest.$ac_objext \
22791 conftest$ac_exeext conftest.$ac_ext
22793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22795 if test `eval echo '${'$as_ac_var'}'` = yes; then
22796 cat >>confdefs.h <<_ACEOF
22797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22798 _ACEOF
22801 done
22803 else
22805 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
22806 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
22807 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22808 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
22809 echo $ECHO_N "(cached) $ECHO_C" >&6
22810 else
22814 ac_ext=cc
22815 ac_cpp='$CXXCPP $CPPFLAGS'
22816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22820 cat >conftest.$ac_ext <<_ACEOF
22821 /* confdefs.h. */
22822 _ACEOF
22823 cat confdefs.h >>conftest.$ac_ext
22824 cat >>conftest.$ac_ext <<_ACEOF
22825 /* end confdefs.h. */
22826 #include <math.h>
22827 #ifdef HAVE_IEEEFP_H
22828 #include <ieeefp.h>
22829 #endif
22832 main ()
22834 _isnanf(0);
22836 return 0;
22838 _ACEOF
22839 rm -f conftest.$ac_objext
22840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22841 (eval $ac_compile) 2>conftest.er1
22842 ac_status=$?
22843 grep -v '^ *+' conftest.er1 >conftest.err
22844 rm -f conftest.er1
22845 cat conftest.err >&5
22846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22847 (exit $ac_status); } &&
22848 { ac_try='test -z "$ac_cxx_werror_flag"
22849 || test ! -s conftest.err'
22850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22851 (eval $ac_try) 2>&5
22852 ac_status=$?
22853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854 (exit $ac_status); }; } &&
22855 { ac_try='test -s conftest.$ac_objext'
22856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22857 (eval $ac_try) 2>&5
22858 ac_status=$?
22859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22860 (exit $ac_status); }; }; then
22861 glibcxx_cv_func__isnanf_use=yes
22862 else
22863 echo "$as_me: failed program was:" >&5
22864 sed 's/^/| /' conftest.$ac_ext >&5
22866 glibcxx_cv_func__isnanf_use=no
22868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22869 ac_ext=c
22870 ac_cpp='$CPP $CPPFLAGS'
22871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22879 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
22880 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
22882 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22884 for ac_func in _isnanf
22886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22887 echo "$as_me:$LINENO: checking for $ac_func" >&5
22888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22889 if eval "test \"\${$as_ac_var+set}\" = set"; then
22890 echo $ECHO_N "(cached) $ECHO_C" >&6
22891 else
22892 if test x$gcc_no_link = xyes; then
22893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22895 { (exit 1); exit 1; }; }
22897 cat >conftest.$ac_ext <<_ACEOF
22898 /* confdefs.h. */
22899 _ACEOF
22900 cat confdefs.h >>conftest.$ac_ext
22901 cat >>conftest.$ac_ext <<_ACEOF
22902 /* end confdefs.h. */
22903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22905 #define $ac_func innocuous_$ac_func
22907 /* System header to define __stub macros and hopefully few prototypes,
22908 which can conflict with char $ac_func (); below.
22909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22910 <limits.h> exists even on freestanding compilers. */
22912 #ifdef __STDC__
22913 # include <limits.h>
22914 #else
22915 # include <assert.h>
22916 #endif
22918 #undef $ac_func
22920 /* Override any gcc2 internal prototype to avoid an error. */
22921 #ifdef __cplusplus
22922 extern "C"
22924 #endif
22925 /* We use char because int might match the return type of a gcc2
22926 builtin and then its argument prototype would still apply. */
22927 char $ac_func ();
22928 /* The GNU C library defines this for functions which it implements
22929 to always fail with ENOSYS. Some functions are actually named
22930 something starting with __ and the normal name is an alias. */
22931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22932 choke me
22933 #else
22934 char (*f) () = $ac_func;
22935 #endif
22936 #ifdef __cplusplus
22938 #endif
22941 main ()
22943 return f != $ac_func;
22945 return 0;
22947 _ACEOF
22948 rm -f conftest.$ac_objext conftest$ac_exeext
22949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22950 (eval $ac_link) 2>conftest.er1
22951 ac_status=$?
22952 grep -v '^ *+' conftest.er1 >conftest.err
22953 rm -f conftest.er1
22954 cat conftest.err >&5
22955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22956 (exit $ac_status); } &&
22957 { ac_try='test -z "$ac_c_werror_flag"
22958 || test ! -s conftest.err'
22959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22960 (eval $ac_try) 2>&5
22961 ac_status=$?
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); }; } &&
22964 { ac_try='test -s conftest$ac_exeext'
22965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22966 (eval $ac_try) 2>&5
22967 ac_status=$?
22968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969 (exit $ac_status); }; }; then
22970 eval "$as_ac_var=yes"
22971 else
22972 echo "$as_me: failed program was:" >&5
22973 sed 's/^/| /' conftest.$ac_ext >&5
22975 eval "$as_ac_var=no"
22977 rm -f conftest.err conftest.$ac_objext \
22978 conftest$ac_exeext conftest.$ac_ext
22980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22982 if test `eval echo '${'$as_ac_var'}'` = yes; then
22983 cat >>confdefs.h <<_ACEOF
22984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22985 _ACEOF
22988 done
22998 echo "$as_me:$LINENO: checking for isinff declaration" >&5
22999 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
23000 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23001 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
23002 echo $ECHO_N "(cached) $ECHO_C" >&6
23003 else
23007 ac_ext=cc
23008 ac_cpp='$CXXCPP $CPPFLAGS'
23009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23013 cat >conftest.$ac_ext <<_ACEOF
23014 /* confdefs.h. */
23015 _ACEOF
23016 cat confdefs.h >>conftest.$ac_ext
23017 cat >>conftest.$ac_ext <<_ACEOF
23018 /* end confdefs.h. */
23019 #include <math.h>
23020 #ifdef HAVE_IEEEFP_H
23021 #include <ieeefp.h>
23022 #endif
23025 main ()
23027 isinff(0);
23029 return 0;
23031 _ACEOF
23032 rm -f conftest.$ac_objext
23033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23034 (eval $ac_compile) 2>conftest.er1
23035 ac_status=$?
23036 grep -v '^ *+' conftest.er1 >conftest.err
23037 rm -f conftest.er1
23038 cat conftest.err >&5
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); } &&
23041 { ac_try='test -z "$ac_cxx_werror_flag"
23042 || test ! -s conftest.err'
23043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23044 (eval $ac_try) 2>&5
23045 ac_status=$?
23046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23047 (exit $ac_status); }; } &&
23048 { ac_try='test -s conftest.$ac_objext'
23049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23050 (eval $ac_try) 2>&5
23051 ac_status=$?
23052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23053 (exit $ac_status); }; }; then
23054 glibcxx_cv_func_isinff_use=yes
23055 else
23056 echo "$as_me: failed program was:" >&5
23057 sed 's/^/| /' conftest.$ac_ext >&5
23059 glibcxx_cv_func_isinff_use=no
23061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23062 ac_ext=c
23063 ac_cpp='$CPP $CPPFLAGS'
23064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23072 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
23073 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
23075 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23077 for ac_func in isinff
23079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23080 echo "$as_me:$LINENO: checking for $ac_func" >&5
23081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23082 if eval "test \"\${$as_ac_var+set}\" = set"; then
23083 echo $ECHO_N "(cached) $ECHO_C" >&6
23084 else
23085 if test x$gcc_no_link = xyes; then
23086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23088 { (exit 1); exit 1; }; }
23090 cat >conftest.$ac_ext <<_ACEOF
23091 /* confdefs.h. */
23092 _ACEOF
23093 cat confdefs.h >>conftest.$ac_ext
23094 cat >>conftest.$ac_ext <<_ACEOF
23095 /* end confdefs.h. */
23096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23098 #define $ac_func innocuous_$ac_func
23100 /* System header to define __stub macros and hopefully few prototypes,
23101 which can conflict with char $ac_func (); below.
23102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23103 <limits.h> exists even on freestanding compilers. */
23105 #ifdef __STDC__
23106 # include <limits.h>
23107 #else
23108 # include <assert.h>
23109 #endif
23111 #undef $ac_func
23113 /* Override any gcc2 internal prototype to avoid an error. */
23114 #ifdef __cplusplus
23115 extern "C"
23117 #endif
23118 /* We use char because int might match the return type of a gcc2
23119 builtin and then its argument prototype would still apply. */
23120 char $ac_func ();
23121 /* The GNU C library defines this for functions which it implements
23122 to always fail with ENOSYS. Some functions are actually named
23123 something starting with __ and the normal name is an alias. */
23124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23125 choke me
23126 #else
23127 char (*f) () = $ac_func;
23128 #endif
23129 #ifdef __cplusplus
23131 #endif
23134 main ()
23136 return f != $ac_func;
23138 return 0;
23140 _ACEOF
23141 rm -f conftest.$ac_objext conftest$ac_exeext
23142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23143 (eval $ac_link) 2>conftest.er1
23144 ac_status=$?
23145 grep -v '^ *+' conftest.er1 >conftest.err
23146 rm -f conftest.er1
23147 cat conftest.err >&5
23148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23149 (exit $ac_status); } &&
23150 { ac_try='test -z "$ac_c_werror_flag"
23151 || test ! -s conftest.err'
23152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23153 (eval $ac_try) 2>&5
23154 ac_status=$?
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); }; } &&
23157 { ac_try='test -s conftest$ac_exeext'
23158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23159 (eval $ac_try) 2>&5
23160 ac_status=$?
23161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23162 (exit $ac_status); }; }; then
23163 eval "$as_ac_var=yes"
23164 else
23165 echo "$as_me: failed program was:" >&5
23166 sed 's/^/| /' conftest.$ac_ext >&5
23168 eval "$as_ac_var=no"
23170 rm -f conftest.err conftest.$ac_objext \
23171 conftest$ac_exeext conftest.$ac_ext
23173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23175 if test `eval echo '${'$as_ac_var'}'` = yes; then
23176 cat >>confdefs.h <<_ACEOF
23177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23178 _ACEOF
23181 done
23183 else
23185 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
23186 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
23187 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23188 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
23189 echo $ECHO_N "(cached) $ECHO_C" >&6
23190 else
23194 ac_ext=cc
23195 ac_cpp='$CXXCPP $CPPFLAGS'
23196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23200 cat >conftest.$ac_ext <<_ACEOF
23201 /* confdefs.h. */
23202 _ACEOF
23203 cat confdefs.h >>conftest.$ac_ext
23204 cat >>conftest.$ac_ext <<_ACEOF
23205 /* end confdefs.h. */
23206 #include <math.h>
23207 #ifdef HAVE_IEEEFP_H
23208 #include <ieeefp.h>
23209 #endif
23212 main ()
23214 _isinff(0);
23216 return 0;
23218 _ACEOF
23219 rm -f conftest.$ac_objext
23220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23221 (eval $ac_compile) 2>conftest.er1
23222 ac_status=$?
23223 grep -v '^ *+' conftest.er1 >conftest.err
23224 rm -f conftest.er1
23225 cat conftest.err >&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); } &&
23228 { ac_try='test -z "$ac_cxx_werror_flag"
23229 || test ! -s conftest.err'
23230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23231 (eval $ac_try) 2>&5
23232 ac_status=$?
23233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234 (exit $ac_status); }; } &&
23235 { ac_try='test -s conftest.$ac_objext'
23236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23237 (eval $ac_try) 2>&5
23238 ac_status=$?
23239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240 (exit $ac_status); }; }; then
23241 glibcxx_cv_func__isinff_use=yes
23242 else
23243 echo "$as_me: failed program was:" >&5
23244 sed 's/^/| /' conftest.$ac_ext >&5
23246 glibcxx_cv_func__isinff_use=no
23248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23249 ac_ext=c
23250 ac_cpp='$CPP $CPPFLAGS'
23251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23259 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
23260 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
23262 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23264 for ac_func in _isinff
23266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23267 echo "$as_me:$LINENO: checking for $ac_func" >&5
23268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23269 if eval "test \"\${$as_ac_var+set}\" = set"; then
23270 echo $ECHO_N "(cached) $ECHO_C" >&6
23271 else
23272 if test x$gcc_no_link = xyes; then
23273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23275 { (exit 1); exit 1; }; }
23277 cat >conftest.$ac_ext <<_ACEOF
23278 /* confdefs.h. */
23279 _ACEOF
23280 cat confdefs.h >>conftest.$ac_ext
23281 cat >>conftest.$ac_ext <<_ACEOF
23282 /* end confdefs.h. */
23283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23285 #define $ac_func innocuous_$ac_func
23287 /* System header to define __stub macros and hopefully few prototypes,
23288 which can conflict with char $ac_func (); below.
23289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23290 <limits.h> exists even on freestanding compilers. */
23292 #ifdef __STDC__
23293 # include <limits.h>
23294 #else
23295 # include <assert.h>
23296 #endif
23298 #undef $ac_func
23300 /* Override any gcc2 internal prototype to avoid an error. */
23301 #ifdef __cplusplus
23302 extern "C"
23304 #endif
23305 /* We use char because int might match the return type of a gcc2
23306 builtin and then its argument prototype would still apply. */
23307 char $ac_func ();
23308 /* The GNU C library defines this for functions which it implements
23309 to always fail with ENOSYS. Some functions are actually named
23310 something starting with __ and the normal name is an alias. */
23311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23312 choke me
23313 #else
23314 char (*f) () = $ac_func;
23315 #endif
23316 #ifdef __cplusplus
23318 #endif
23321 main ()
23323 return f != $ac_func;
23325 return 0;
23327 _ACEOF
23328 rm -f conftest.$ac_objext conftest$ac_exeext
23329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23330 (eval $ac_link) 2>conftest.er1
23331 ac_status=$?
23332 grep -v '^ *+' conftest.er1 >conftest.err
23333 rm -f conftest.er1
23334 cat conftest.err >&5
23335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23336 (exit $ac_status); } &&
23337 { ac_try='test -z "$ac_c_werror_flag"
23338 || test ! -s conftest.err'
23339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23340 (eval $ac_try) 2>&5
23341 ac_status=$?
23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343 (exit $ac_status); }; } &&
23344 { ac_try='test -s conftest$ac_exeext'
23345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23346 (eval $ac_try) 2>&5
23347 ac_status=$?
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); }; }; then
23350 eval "$as_ac_var=yes"
23351 else
23352 echo "$as_me: failed program was:" >&5
23353 sed 's/^/| /' conftest.$ac_ext >&5
23355 eval "$as_ac_var=no"
23357 rm -f conftest.err conftest.$ac_objext \
23358 conftest$ac_exeext conftest.$ac_ext
23360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23362 if test `eval echo '${'$as_ac_var'}'` = yes; then
23363 cat >>confdefs.h <<_ACEOF
23364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23365 _ACEOF
23368 done
23378 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
23379 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
23380 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23381 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
23382 echo $ECHO_N "(cached) $ECHO_C" >&6
23383 else
23387 ac_ext=cc
23388 ac_cpp='$CXXCPP $CPPFLAGS'
23389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23393 cat >conftest.$ac_ext <<_ACEOF
23394 /* confdefs.h. */
23395 _ACEOF
23396 cat confdefs.h >>conftest.$ac_ext
23397 cat >>conftest.$ac_ext <<_ACEOF
23398 /* end confdefs.h. */
23399 #include <math.h>
23401 main ()
23403 atan2f(0, 0);
23405 return 0;
23407 _ACEOF
23408 rm -f conftest.$ac_objext
23409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23410 (eval $ac_compile) 2>conftest.er1
23411 ac_status=$?
23412 grep -v '^ *+' conftest.er1 >conftest.err
23413 rm -f conftest.er1
23414 cat conftest.err >&5
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); } &&
23417 { ac_try='test -z "$ac_cxx_werror_flag"
23418 || test ! -s conftest.err'
23419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23420 (eval $ac_try) 2>&5
23421 ac_status=$?
23422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23423 (exit $ac_status); }; } &&
23424 { ac_try='test -s conftest.$ac_objext'
23425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23426 (eval $ac_try) 2>&5
23427 ac_status=$?
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); }; }; then
23430 glibcxx_cv_func_atan2f_use=yes
23431 else
23432 echo "$as_me: failed program was:" >&5
23433 sed 's/^/| /' conftest.$ac_ext >&5
23435 glibcxx_cv_func_atan2f_use=no
23437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23438 ac_ext=c
23439 ac_cpp='$CPP $CPPFLAGS'
23440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23448 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
23449 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
23451 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23453 for ac_func in atan2f
23455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23456 echo "$as_me:$LINENO: checking for $ac_func" >&5
23457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23458 if eval "test \"\${$as_ac_var+set}\" = set"; then
23459 echo $ECHO_N "(cached) $ECHO_C" >&6
23460 else
23461 if test x$gcc_no_link = xyes; then
23462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23464 { (exit 1); exit 1; }; }
23466 cat >conftest.$ac_ext <<_ACEOF
23467 /* confdefs.h. */
23468 _ACEOF
23469 cat confdefs.h >>conftest.$ac_ext
23470 cat >>conftest.$ac_ext <<_ACEOF
23471 /* end confdefs.h. */
23472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23474 #define $ac_func innocuous_$ac_func
23476 /* System header to define __stub macros and hopefully few prototypes,
23477 which can conflict with char $ac_func (); below.
23478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23479 <limits.h> exists even on freestanding compilers. */
23481 #ifdef __STDC__
23482 # include <limits.h>
23483 #else
23484 # include <assert.h>
23485 #endif
23487 #undef $ac_func
23489 /* Override any gcc2 internal prototype to avoid an error. */
23490 #ifdef __cplusplus
23491 extern "C"
23493 #endif
23494 /* We use char because int might match the return type of a gcc2
23495 builtin and then its argument prototype would still apply. */
23496 char $ac_func ();
23497 /* The GNU C library defines this for functions which it implements
23498 to always fail with ENOSYS. Some functions are actually named
23499 something starting with __ and the normal name is an alias. */
23500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23501 choke me
23502 #else
23503 char (*f) () = $ac_func;
23504 #endif
23505 #ifdef __cplusplus
23507 #endif
23510 main ()
23512 return f != $ac_func;
23514 return 0;
23516 _ACEOF
23517 rm -f conftest.$ac_objext conftest$ac_exeext
23518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23519 (eval $ac_link) 2>conftest.er1
23520 ac_status=$?
23521 grep -v '^ *+' conftest.er1 >conftest.err
23522 rm -f conftest.er1
23523 cat conftest.err >&5
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); } &&
23526 { ac_try='test -z "$ac_c_werror_flag"
23527 || test ! -s conftest.err'
23528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23529 (eval $ac_try) 2>&5
23530 ac_status=$?
23531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23532 (exit $ac_status); }; } &&
23533 { ac_try='test -s conftest$ac_exeext'
23534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23535 (eval $ac_try) 2>&5
23536 ac_status=$?
23537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538 (exit $ac_status); }; }; then
23539 eval "$as_ac_var=yes"
23540 else
23541 echo "$as_me: failed program was:" >&5
23542 sed 's/^/| /' conftest.$ac_ext >&5
23544 eval "$as_ac_var=no"
23546 rm -f conftest.err conftest.$ac_objext \
23547 conftest$ac_exeext conftest.$ac_ext
23549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23551 if test `eval echo '${'$as_ac_var'}'` = yes; then
23552 cat >>confdefs.h <<_ACEOF
23553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23554 _ACEOF
23557 done
23559 else
23561 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23562 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
23563 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23564 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23565 echo $ECHO_N "(cached) $ECHO_C" >&6
23566 else
23570 ac_ext=cc
23571 ac_cpp='$CXXCPP $CPPFLAGS'
23572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23576 cat >conftest.$ac_ext <<_ACEOF
23577 /* confdefs.h. */
23578 _ACEOF
23579 cat confdefs.h >>conftest.$ac_ext
23580 cat >>conftest.$ac_ext <<_ACEOF
23581 /* end confdefs.h. */
23582 #include <math.h>
23584 main ()
23586 _atan2f(0, 0);
23588 return 0;
23590 _ACEOF
23591 rm -f conftest.$ac_objext
23592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23593 (eval $ac_compile) 2>conftest.er1
23594 ac_status=$?
23595 grep -v '^ *+' conftest.er1 >conftest.err
23596 rm -f conftest.er1
23597 cat conftest.err >&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); } &&
23600 { ac_try='test -z "$ac_cxx_werror_flag"
23601 || test ! -s conftest.err'
23602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23603 (eval $ac_try) 2>&5
23604 ac_status=$?
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); }; } &&
23607 { ac_try='test -s conftest.$ac_objext'
23608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23609 (eval $ac_try) 2>&5
23610 ac_status=$?
23611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23612 (exit $ac_status); }; }; then
23613 glibcxx_cv_func__atan2f_use=yes
23614 else
23615 echo "$as_me: failed program was:" >&5
23616 sed 's/^/| /' conftest.$ac_ext >&5
23618 glibcxx_cv_func__atan2f_use=no
23620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23621 ac_ext=c
23622 ac_cpp='$CPP $CPPFLAGS'
23623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23631 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23632 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
23634 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23636 for ac_func in _atan2f
23638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23639 echo "$as_me:$LINENO: checking for $ac_func" >&5
23640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23641 if eval "test \"\${$as_ac_var+set}\" = set"; then
23642 echo $ECHO_N "(cached) $ECHO_C" >&6
23643 else
23644 if test x$gcc_no_link = xyes; then
23645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23647 { (exit 1); exit 1; }; }
23649 cat >conftest.$ac_ext <<_ACEOF
23650 /* confdefs.h. */
23651 _ACEOF
23652 cat confdefs.h >>conftest.$ac_ext
23653 cat >>conftest.$ac_ext <<_ACEOF
23654 /* end confdefs.h. */
23655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23657 #define $ac_func innocuous_$ac_func
23659 /* System header to define __stub macros and hopefully few prototypes,
23660 which can conflict with char $ac_func (); below.
23661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23662 <limits.h> exists even on freestanding compilers. */
23664 #ifdef __STDC__
23665 # include <limits.h>
23666 #else
23667 # include <assert.h>
23668 #endif
23670 #undef $ac_func
23672 /* Override any gcc2 internal prototype to avoid an error. */
23673 #ifdef __cplusplus
23674 extern "C"
23676 #endif
23677 /* We use char because int might match the return type of a gcc2
23678 builtin and then its argument prototype would still apply. */
23679 char $ac_func ();
23680 /* The GNU C library defines this for functions which it implements
23681 to always fail with ENOSYS. Some functions are actually named
23682 something starting with __ and the normal name is an alias. */
23683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23684 choke me
23685 #else
23686 char (*f) () = $ac_func;
23687 #endif
23688 #ifdef __cplusplus
23690 #endif
23693 main ()
23695 return f != $ac_func;
23697 return 0;
23699 _ACEOF
23700 rm -f conftest.$ac_objext conftest$ac_exeext
23701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23702 (eval $ac_link) 2>conftest.er1
23703 ac_status=$?
23704 grep -v '^ *+' conftest.er1 >conftest.err
23705 rm -f conftest.er1
23706 cat conftest.err >&5
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); } &&
23709 { ac_try='test -z "$ac_c_werror_flag"
23710 || test ! -s conftest.err'
23711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23712 (eval $ac_try) 2>&5
23713 ac_status=$?
23714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23715 (exit $ac_status); }; } &&
23716 { ac_try='test -s conftest$ac_exeext'
23717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23718 (eval $ac_try) 2>&5
23719 ac_status=$?
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); }; }; then
23722 eval "$as_ac_var=yes"
23723 else
23724 echo "$as_me: failed program was:" >&5
23725 sed 's/^/| /' conftest.$ac_ext >&5
23727 eval "$as_ac_var=no"
23729 rm -f conftest.err conftest.$ac_objext \
23730 conftest$ac_exeext conftest.$ac_ext
23732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23734 if test `eval echo '${'$as_ac_var'}'` = yes; then
23735 cat >>confdefs.h <<_ACEOF
23736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23737 _ACEOF
23740 done
23750 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
23751 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
23752 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23753 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
23754 echo $ECHO_N "(cached) $ECHO_C" >&6
23755 else
23759 ac_ext=cc
23760 ac_cpp='$CXXCPP $CPPFLAGS'
23761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23765 cat >conftest.$ac_ext <<_ACEOF
23766 /* confdefs.h. */
23767 _ACEOF
23768 cat confdefs.h >>conftest.$ac_ext
23769 cat >>conftest.$ac_ext <<_ACEOF
23770 /* end confdefs.h. */
23771 #include <math.h>
23772 #ifdef HAVE_IEEEFP_H
23773 #include <ieeefp.h>
23774 #endif
23777 main ()
23779 fabsf(0);
23781 return 0;
23783 _ACEOF
23784 rm -f conftest.$ac_objext
23785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23786 (eval $ac_compile) 2>conftest.er1
23787 ac_status=$?
23788 grep -v '^ *+' conftest.er1 >conftest.err
23789 rm -f conftest.er1
23790 cat conftest.err >&5
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); } &&
23793 { ac_try='test -z "$ac_cxx_werror_flag"
23794 || test ! -s conftest.err'
23795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23796 (eval $ac_try) 2>&5
23797 ac_status=$?
23798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23799 (exit $ac_status); }; } &&
23800 { ac_try='test -s conftest.$ac_objext'
23801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23802 (eval $ac_try) 2>&5
23803 ac_status=$?
23804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23805 (exit $ac_status); }; }; then
23806 glibcxx_cv_func_fabsf_use=yes
23807 else
23808 echo "$as_me: failed program was:" >&5
23809 sed 's/^/| /' conftest.$ac_ext >&5
23811 glibcxx_cv_func_fabsf_use=no
23813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23814 ac_ext=c
23815 ac_cpp='$CPP $CPPFLAGS'
23816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23824 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
23825 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
23827 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23829 for ac_func in fabsf
23831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23832 echo "$as_me:$LINENO: checking for $ac_func" >&5
23833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23834 if eval "test \"\${$as_ac_var+set}\" = set"; then
23835 echo $ECHO_N "(cached) $ECHO_C" >&6
23836 else
23837 if test x$gcc_no_link = xyes; then
23838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23840 { (exit 1); exit 1; }; }
23842 cat >conftest.$ac_ext <<_ACEOF
23843 /* confdefs.h. */
23844 _ACEOF
23845 cat confdefs.h >>conftest.$ac_ext
23846 cat >>conftest.$ac_ext <<_ACEOF
23847 /* end confdefs.h. */
23848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23850 #define $ac_func innocuous_$ac_func
23852 /* System header to define __stub macros and hopefully few prototypes,
23853 which can conflict with char $ac_func (); below.
23854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23855 <limits.h> exists even on freestanding compilers. */
23857 #ifdef __STDC__
23858 # include <limits.h>
23859 #else
23860 # include <assert.h>
23861 #endif
23863 #undef $ac_func
23865 /* Override any gcc2 internal prototype to avoid an error. */
23866 #ifdef __cplusplus
23867 extern "C"
23869 #endif
23870 /* We use char because int might match the return type of a gcc2
23871 builtin and then its argument prototype would still apply. */
23872 char $ac_func ();
23873 /* The GNU C library defines this for functions which it implements
23874 to always fail with ENOSYS. Some functions are actually named
23875 something starting with __ and the normal name is an alias. */
23876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23877 choke me
23878 #else
23879 char (*f) () = $ac_func;
23880 #endif
23881 #ifdef __cplusplus
23883 #endif
23886 main ()
23888 return f != $ac_func;
23890 return 0;
23892 _ACEOF
23893 rm -f conftest.$ac_objext conftest$ac_exeext
23894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23895 (eval $ac_link) 2>conftest.er1
23896 ac_status=$?
23897 grep -v '^ *+' conftest.er1 >conftest.err
23898 rm -f conftest.er1
23899 cat conftest.err >&5
23900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901 (exit $ac_status); } &&
23902 { ac_try='test -z "$ac_c_werror_flag"
23903 || test ! -s conftest.err'
23904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23905 (eval $ac_try) 2>&5
23906 ac_status=$?
23907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23908 (exit $ac_status); }; } &&
23909 { ac_try='test -s conftest$ac_exeext'
23910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23911 (eval $ac_try) 2>&5
23912 ac_status=$?
23913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914 (exit $ac_status); }; }; then
23915 eval "$as_ac_var=yes"
23916 else
23917 echo "$as_me: failed program was:" >&5
23918 sed 's/^/| /' conftest.$ac_ext >&5
23920 eval "$as_ac_var=no"
23922 rm -f conftest.err conftest.$ac_objext \
23923 conftest$ac_exeext conftest.$ac_ext
23925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23927 if test `eval echo '${'$as_ac_var'}'` = yes; then
23928 cat >>confdefs.h <<_ACEOF
23929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23930 _ACEOF
23933 done
23935 else
23937 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
23938 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
23939 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23940 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
23941 echo $ECHO_N "(cached) $ECHO_C" >&6
23942 else
23946 ac_ext=cc
23947 ac_cpp='$CXXCPP $CPPFLAGS'
23948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23952 cat >conftest.$ac_ext <<_ACEOF
23953 /* confdefs.h. */
23954 _ACEOF
23955 cat confdefs.h >>conftest.$ac_ext
23956 cat >>conftest.$ac_ext <<_ACEOF
23957 /* end confdefs.h. */
23958 #include <math.h>
23959 #ifdef HAVE_IEEEFP_H
23960 #include <ieeefp.h>
23961 #endif
23964 main ()
23966 _fabsf(0);
23968 return 0;
23970 _ACEOF
23971 rm -f conftest.$ac_objext
23972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23973 (eval $ac_compile) 2>conftest.er1
23974 ac_status=$?
23975 grep -v '^ *+' conftest.er1 >conftest.err
23976 rm -f conftest.er1
23977 cat conftest.err >&5
23978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23979 (exit $ac_status); } &&
23980 { ac_try='test -z "$ac_cxx_werror_flag"
23981 || test ! -s conftest.err'
23982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23983 (eval $ac_try) 2>&5
23984 ac_status=$?
23985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23986 (exit $ac_status); }; } &&
23987 { ac_try='test -s conftest.$ac_objext'
23988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23989 (eval $ac_try) 2>&5
23990 ac_status=$?
23991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23992 (exit $ac_status); }; }; then
23993 glibcxx_cv_func__fabsf_use=yes
23994 else
23995 echo "$as_me: failed program was:" >&5
23996 sed 's/^/| /' conftest.$ac_ext >&5
23998 glibcxx_cv_func__fabsf_use=no
24000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24001 ac_ext=c
24002 ac_cpp='$CPP $CPPFLAGS'
24003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24011 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
24012 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
24014 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24016 for ac_func in _fabsf
24018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24019 echo "$as_me:$LINENO: checking for $ac_func" >&5
24020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24021 if eval "test \"\${$as_ac_var+set}\" = set"; then
24022 echo $ECHO_N "(cached) $ECHO_C" >&6
24023 else
24024 if test x$gcc_no_link = xyes; then
24025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24027 { (exit 1); exit 1; }; }
24029 cat >conftest.$ac_ext <<_ACEOF
24030 /* confdefs.h. */
24031 _ACEOF
24032 cat confdefs.h >>conftest.$ac_ext
24033 cat >>conftest.$ac_ext <<_ACEOF
24034 /* end confdefs.h. */
24035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24037 #define $ac_func innocuous_$ac_func
24039 /* System header to define __stub macros and hopefully few prototypes,
24040 which can conflict with char $ac_func (); below.
24041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24042 <limits.h> exists even on freestanding compilers. */
24044 #ifdef __STDC__
24045 # include <limits.h>
24046 #else
24047 # include <assert.h>
24048 #endif
24050 #undef $ac_func
24052 /* Override any gcc2 internal prototype to avoid an error. */
24053 #ifdef __cplusplus
24054 extern "C"
24056 #endif
24057 /* We use char because int might match the return type of a gcc2
24058 builtin and then its argument prototype would still apply. */
24059 char $ac_func ();
24060 /* The GNU C library defines this for functions which it implements
24061 to always fail with ENOSYS. Some functions are actually named
24062 something starting with __ and the normal name is an alias. */
24063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24064 choke me
24065 #else
24066 char (*f) () = $ac_func;
24067 #endif
24068 #ifdef __cplusplus
24070 #endif
24073 main ()
24075 return f != $ac_func;
24077 return 0;
24079 _ACEOF
24080 rm -f conftest.$ac_objext conftest$ac_exeext
24081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24082 (eval $ac_link) 2>conftest.er1
24083 ac_status=$?
24084 grep -v '^ *+' conftest.er1 >conftest.err
24085 rm -f conftest.er1
24086 cat conftest.err >&5
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); } &&
24089 { ac_try='test -z "$ac_c_werror_flag"
24090 || test ! -s conftest.err'
24091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24092 (eval $ac_try) 2>&5
24093 ac_status=$?
24094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24095 (exit $ac_status); }; } &&
24096 { ac_try='test -s conftest$ac_exeext'
24097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24098 (eval $ac_try) 2>&5
24099 ac_status=$?
24100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24101 (exit $ac_status); }; }; then
24102 eval "$as_ac_var=yes"
24103 else
24104 echo "$as_me: failed program was:" >&5
24105 sed 's/^/| /' conftest.$ac_ext >&5
24107 eval "$as_ac_var=no"
24109 rm -f conftest.err conftest.$ac_objext \
24110 conftest$ac_exeext conftest.$ac_ext
24112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24114 if test `eval echo '${'$as_ac_var'}'` = yes; then
24115 cat >>confdefs.h <<_ACEOF
24116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24117 _ACEOF
24120 done
24130 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
24131 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
24132 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24133 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
24134 echo $ECHO_N "(cached) $ECHO_C" >&6
24135 else
24139 ac_ext=cc
24140 ac_cpp='$CXXCPP $CPPFLAGS'
24141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24145 cat >conftest.$ac_ext <<_ACEOF
24146 /* confdefs.h. */
24147 _ACEOF
24148 cat confdefs.h >>conftest.$ac_ext
24149 cat >>conftest.$ac_ext <<_ACEOF
24150 /* end confdefs.h. */
24151 #include <math.h>
24153 main ()
24155 fmodf(0, 0);
24157 return 0;
24159 _ACEOF
24160 rm -f conftest.$ac_objext
24161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24162 (eval $ac_compile) 2>conftest.er1
24163 ac_status=$?
24164 grep -v '^ *+' conftest.er1 >conftest.err
24165 rm -f conftest.er1
24166 cat conftest.err >&5
24167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24168 (exit $ac_status); } &&
24169 { ac_try='test -z "$ac_cxx_werror_flag"
24170 || test ! -s conftest.err'
24171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24172 (eval $ac_try) 2>&5
24173 ac_status=$?
24174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24175 (exit $ac_status); }; } &&
24176 { ac_try='test -s conftest.$ac_objext'
24177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24178 (eval $ac_try) 2>&5
24179 ac_status=$?
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); }; }; then
24182 glibcxx_cv_func_fmodf_use=yes
24183 else
24184 echo "$as_me: failed program was:" >&5
24185 sed 's/^/| /' conftest.$ac_ext >&5
24187 glibcxx_cv_func_fmodf_use=no
24189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24190 ac_ext=c
24191 ac_cpp='$CPP $CPPFLAGS'
24192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24200 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
24201 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
24203 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24205 for ac_func in fmodf
24207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24208 echo "$as_me:$LINENO: checking for $ac_func" >&5
24209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24210 if eval "test \"\${$as_ac_var+set}\" = set"; then
24211 echo $ECHO_N "(cached) $ECHO_C" >&6
24212 else
24213 if test x$gcc_no_link = xyes; then
24214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24216 { (exit 1); exit 1; }; }
24218 cat >conftest.$ac_ext <<_ACEOF
24219 /* confdefs.h. */
24220 _ACEOF
24221 cat confdefs.h >>conftest.$ac_ext
24222 cat >>conftest.$ac_ext <<_ACEOF
24223 /* end confdefs.h. */
24224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24226 #define $ac_func innocuous_$ac_func
24228 /* System header to define __stub macros and hopefully few prototypes,
24229 which can conflict with char $ac_func (); below.
24230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24231 <limits.h> exists even on freestanding compilers. */
24233 #ifdef __STDC__
24234 # include <limits.h>
24235 #else
24236 # include <assert.h>
24237 #endif
24239 #undef $ac_func
24241 /* Override any gcc2 internal prototype to avoid an error. */
24242 #ifdef __cplusplus
24243 extern "C"
24245 #endif
24246 /* We use char because int might match the return type of a gcc2
24247 builtin and then its argument prototype would still apply. */
24248 char $ac_func ();
24249 /* The GNU C library defines this for functions which it implements
24250 to always fail with ENOSYS. Some functions are actually named
24251 something starting with __ and the normal name is an alias. */
24252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24253 choke me
24254 #else
24255 char (*f) () = $ac_func;
24256 #endif
24257 #ifdef __cplusplus
24259 #endif
24262 main ()
24264 return f != $ac_func;
24266 return 0;
24268 _ACEOF
24269 rm -f conftest.$ac_objext conftest$ac_exeext
24270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24271 (eval $ac_link) 2>conftest.er1
24272 ac_status=$?
24273 grep -v '^ *+' conftest.er1 >conftest.err
24274 rm -f conftest.er1
24275 cat conftest.err >&5
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); } &&
24278 { ac_try='test -z "$ac_c_werror_flag"
24279 || test ! -s conftest.err'
24280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24281 (eval $ac_try) 2>&5
24282 ac_status=$?
24283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24284 (exit $ac_status); }; } &&
24285 { ac_try='test -s conftest$ac_exeext'
24286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24287 (eval $ac_try) 2>&5
24288 ac_status=$?
24289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290 (exit $ac_status); }; }; then
24291 eval "$as_ac_var=yes"
24292 else
24293 echo "$as_me: failed program was:" >&5
24294 sed 's/^/| /' conftest.$ac_ext >&5
24296 eval "$as_ac_var=no"
24298 rm -f conftest.err conftest.$ac_objext \
24299 conftest$ac_exeext conftest.$ac_ext
24301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24303 if test `eval echo '${'$as_ac_var'}'` = yes; then
24304 cat >>confdefs.h <<_ACEOF
24305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24306 _ACEOF
24309 done
24311 else
24313 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
24314 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
24315 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24316 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
24317 echo $ECHO_N "(cached) $ECHO_C" >&6
24318 else
24322 ac_ext=cc
24323 ac_cpp='$CXXCPP $CPPFLAGS'
24324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24328 cat >conftest.$ac_ext <<_ACEOF
24329 /* confdefs.h. */
24330 _ACEOF
24331 cat confdefs.h >>conftest.$ac_ext
24332 cat >>conftest.$ac_ext <<_ACEOF
24333 /* end confdefs.h. */
24334 #include <math.h>
24336 main ()
24338 _fmodf(0, 0);
24340 return 0;
24342 _ACEOF
24343 rm -f conftest.$ac_objext
24344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24345 (eval $ac_compile) 2>conftest.er1
24346 ac_status=$?
24347 grep -v '^ *+' conftest.er1 >conftest.err
24348 rm -f conftest.er1
24349 cat conftest.err >&5
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); } &&
24352 { ac_try='test -z "$ac_cxx_werror_flag"
24353 || test ! -s conftest.err'
24354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24355 (eval $ac_try) 2>&5
24356 ac_status=$?
24357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24358 (exit $ac_status); }; } &&
24359 { ac_try='test -s conftest.$ac_objext'
24360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24361 (eval $ac_try) 2>&5
24362 ac_status=$?
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); }; }; then
24365 glibcxx_cv_func__fmodf_use=yes
24366 else
24367 echo "$as_me: failed program was:" >&5
24368 sed 's/^/| /' conftest.$ac_ext >&5
24370 glibcxx_cv_func__fmodf_use=no
24372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24373 ac_ext=c
24374 ac_cpp='$CPP $CPPFLAGS'
24375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24383 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
24384 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
24386 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24388 for ac_func in _fmodf
24390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24391 echo "$as_me:$LINENO: checking for $ac_func" >&5
24392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24393 if eval "test \"\${$as_ac_var+set}\" = set"; then
24394 echo $ECHO_N "(cached) $ECHO_C" >&6
24395 else
24396 if test x$gcc_no_link = xyes; then
24397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24399 { (exit 1); exit 1; }; }
24401 cat >conftest.$ac_ext <<_ACEOF
24402 /* confdefs.h. */
24403 _ACEOF
24404 cat confdefs.h >>conftest.$ac_ext
24405 cat >>conftest.$ac_ext <<_ACEOF
24406 /* end confdefs.h. */
24407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24409 #define $ac_func innocuous_$ac_func
24411 /* System header to define __stub macros and hopefully few prototypes,
24412 which can conflict with char $ac_func (); below.
24413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24414 <limits.h> exists even on freestanding compilers. */
24416 #ifdef __STDC__
24417 # include <limits.h>
24418 #else
24419 # include <assert.h>
24420 #endif
24422 #undef $ac_func
24424 /* Override any gcc2 internal prototype to avoid an error. */
24425 #ifdef __cplusplus
24426 extern "C"
24428 #endif
24429 /* We use char because int might match the return type of a gcc2
24430 builtin and then its argument prototype would still apply. */
24431 char $ac_func ();
24432 /* The GNU C library defines this for functions which it implements
24433 to always fail with ENOSYS. Some functions are actually named
24434 something starting with __ and the normal name is an alias. */
24435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24436 choke me
24437 #else
24438 char (*f) () = $ac_func;
24439 #endif
24440 #ifdef __cplusplus
24442 #endif
24445 main ()
24447 return f != $ac_func;
24449 return 0;
24451 _ACEOF
24452 rm -f conftest.$ac_objext conftest$ac_exeext
24453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24454 (eval $ac_link) 2>conftest.er1
24455 ac_status=$?
24456 grep -v '^ *+' conftest.er1 >conftest.err
24457 rm -f conftest.er1
24458 cat conftest.err >&5
24459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24460 (exit $ac_status); } &&
24461 { ac_try='test -z "$ac_c_werror_flag"
24462 || test ! -s conftest.err'
24463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24464 (eval $ac_try) 2>&5
24465 ac_status=$?
24466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467 (exit $ac_status); }; } &&
24468 { ac_try='test -s conftest$ac_exeext'
24469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24470 (eval $ac_try) 2>&5
24471 ac_status=$?
24472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24473 (exit $ac_status); }; }; then
24474 eval "$as_ac_var=yes"
24475 else
24476 echo "$as_me: failed program was:" >&5
24477 sed 's/^/| /' conftest.$ac_ext >&5
24479 eval "$as_ac_var=no"
24481 rm -f conftest.err conftest.$ac_objext \
24482 conftest$ac_exeext conftest.$ac_ext
24484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24486 if test `eval echo '${'$as_ac_var'}'` = yes; then
24487 cat >>confdefs.h <<_ACEOF
24488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24489 _ACEOF
24492 done
24502 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24503 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
24504 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24505 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24506 echo $ECHO_N "(cached) $ECHO_C" >&6
24507 else
24511 ac_ext=cc
24512 ac_cpp='$CXXCPP $CPPFLAGS'
24513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24517 cat >conftest.$ac_ext <<_ACEOF
24518 /* confdefs.h. */
24519 _ACEOF
24520 cat confdefs.h >>conftest.$ac_ext
24521 cat >>conftest.$ac_ext <<_ACEOF
24522 /* end confdefs.h. */
24523 #include <math.h>
24525 main ()
24527 frexpf(0, 0);
24529 return 0;
24531 _ACEOF
24532 rm -f conftest.$ac_objext
24533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24534 (eval $ac_compile) 2>conftest.er1
24535 ac_status=$?
24536 grep -v '^ *+' conftest.er1 >conftest.err
24537 rm -f conftest.er1
24538 cat conftest.err >&5
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); } &&
24541 { ac_try='test -z "$ac_cxx_werror_flag"
24542 || test ! -s conftest.err'
24543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24544 (eval $ac_try) 2>&5
24545 ac_status=$?
24546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); }; } &&
24548 { ac_try='test -s conftest.$ac_objext'
24549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24550 (eval $ac_try) 2>&5
24551 ac_status=$?
24552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24553 (exit $ac_status); }; }; then
24554 glibcxx_cv_func_frexpf_use=yes
24555 else
24556 echo "$as_me: failed program was:" >&5
24557 sed 's/^/| /' conftest.$ac_ext >&5
24559 glibcxx_cv_func_frexpf_use=no
24561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24562 ac_ext=c
24563 ac_cpp='$CPP $CPPFLAGS'
24564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24572 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24573 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24575 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24577 for ac_func in frexpf
24579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24580 echo "$as_me:$LINENO: checking for $ac_func" >&5
24581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24582 if eval "test \"\${$as_ac_var+set}\" = set"; then
24583 echo $ECHO_N "(cached) $ECHO_C" >&6
24584 else
24585 if test x$gcc_no_link = xyes; then
24586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24588 { (exit 1); exit 1; }; }
24590 cat >conftest.$ac_ext <<_ACEOF
24591 /* confdefs.h. */
24592 _ACEOF
24593 cat confdefs.h >>conftest.$ac_ext
24594 cat >>conftest.$ac_ext <<_ACEOF
24595 /* end confdefs.h. */
24596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24598 #define $ac_func innocuous_$ac_func
24600 /* System header to define __stub macros and hopefully few prototypes,
24601 which can conflict with char $ac_func (); below.
24602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24603 <limits.h> exists even on freestanding compilers. */
24605 #ifdef __STDC__
24606 # include <limits.h>
24607 #else
24608 # include <assert.h>
24609 #endif
24611 #undef $ac_func
24613 /* Override any gcc2 internal prototype to avoid an error. */
24614 #ifdef __cplusplus
24615 extern "C"
24617 #endif
24618 /* We use char because int might match the return type of a gcc2
24619 builtin and then its argument prototype would still apply. */
24620 char $ac_func ();
24621 /* The GNU C library defines this for functions which it implements
24622 to always fail with ENOSYS. Some functions are actually named
24623 something starting with __ and the normal name is an alias. */
24624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24625 choke me
24626 #else
24627 char (*f) () = $ac_func;
24628 #endif
24629 #ifdef __cplusplus
24631 #endif
24634 main ()
24636 return f != $ac_func;
24638 return 0;
24640 _ACEOF
24641 rm -f conftest.$ac_objext conftest$ac_exeext
24642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24643 (eval $ac_link) 2>conftest.er1
24644 ac_status=$?
24645 grep -v '^ *+' conftest.er1 >conftest.err
24646 rm -f conftest.er1
24647 cat conftest.err >&5
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); } &&
24650 { ac_try='test -z "$ac_c_werror_flag"
24651 || test ! -s conftest.err'
24652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24653 (eval $ac_try) 2>&5
24654 ac_status=$?
24655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24656 (exit $ac_status); }; } &&
24657 { ac_try='test -s conftest$ac_exeext'
24658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24659 (eval $ac_try) 2>&5
24660 ac_status=$?
24661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24662 (exit $ac_status); }; }; then
24663 eval "$as_ac_var=yes"
24664 else
24665 echo "$as_me: failed program was:" >&5
24666 sed 's/^/| /' conftest.$ac_ext >&5
24668 eval "$as_ac_var=no"
24670 rm -f conftest.err conftest.$ac_objext \
24671 conftest$ac_exeext conftest.$ac_ext
24673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24675 if test `eval echo '${'$as_ac_var'}'` = yes; then
24676 cat >>confdefs.h <<_ACEOF
24677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24678 _ACEOF
24681 done
24683 else
24685 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
24686 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
24687 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24688 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
24689 echo $ECHO_N "(cached) $ECHO_C" >&6
24690 else
24694 ac_ext=cc
24695 ac_cpp='$CXXCPP $CPPFLAGS'
24696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24700 cat >conftest.$ac_ext <<_ACEOF
24701 /* confdefs.h. */
24702 _ACEOF
24703 cat confdefs.h >>conftest.$ac_ext
24704 cat >>conftest.$ac_ext <<_ACEOF
24705 /* end confdefs.h. */
24706 #include <math.h>
24708 main ()
24710 _frexpf(0, 0);
24712 return 0;
24714 _ACEOF
24715 rm -f conftest.$ac_objext
24716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24717 (eval $ac_compile) 2>conftest.er1
24718 ac_status=$?
24719 grep -v '^ *+' conftest.er1 >conftest.err
24720 rm -f conftest.er1
24721 cat conftest.err >&5
24722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24723 (exit $ac_status); } &&
24724 { ac_try='test -z "$ac_cxx_werror_flag"
24725 || test ! -s conftest.err'
24726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24727 (eval $ac_try) 2>&5
24728 ac_status=$?
24729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24730 (exit $ac_status); }; } &&
24731 { ac_try='test -s conftest.$ac_objext'
24732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24733 (eval $ac_try) 2>&5
24734 ac_status=$?
24735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24736 (exit $ac_status); }; }; then
24737 glibcxx_cv_func__frexpf_use=yes
24738 else
24739 echo "$as_me: failed program was:" >&5
24740 sed 's/^/| /' conftest.$ac_ext >&5
24742 glibcxx_cv_func__frexpf_use=no
24744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24745 ac_ext=c
24746 ac_cpp='$CPP $CPPFLAGS'
24747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24755 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
24756 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
24758 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24760 for ac_func in _frexpf
24762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24763 echo "$as_me:$LINENO: checking for $ac_func" >&5
24764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24765 if eval "test \"\${$as_ac_var+set}\" = set"; then
24766 echo $ECHO_N "(cached) $ECHO_C" >&6
24767 else
24768 if test x$gcc_no_link = xyes; then
24769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24771 { (exit 1); exit 1; }; }
24773 cat >conftest.$ac_ext <<_ACEOF
24774 /* confdefs.h. */
24775 _ACEOF
24776 cat confdefs.h >>conftest.$ac_ext
24777 cat >>conftest.$ac_ext <<_ACEOF
24778 /* end confdefs.h. */
24779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24781 #define $ac_func innocuous_$ac_func
24783 /* System header to define __stub macros and hopefully few prototypes,
24784 which can conflict with char $ac_func (); below.
24785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24786 <limits.h> exists even on freestanding compilers. */
24788 #ifdef __STDC__
24789 # include <limits.h>
24790 #else
24791 # include <assert.h>
24792 #endif
24794 #undef $ac_func
24796 /* Override any gcc2 internal prototype to avoid an error. */
24797 #ifdef __cplusplus
24798 extern "C"
24800 #endif
24801 /* We use char because int might match the return type of a gcc2
24802 builtin and then its argument prototype would still apply. */
24803 char $ac_func ();
24804 /* The GNU C library defines this for functions which it implements
24805 to always fail with ENOSYS. Some functions are actually named
24806 something starting with __ and the normal name is an alias. */
24807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24808 choke me
24809 #else
24810 char (*f) () = $ac_func;
24811 #endif
24812 #ifdef __cplusplus
24814 #endif
24817 main ()
24819 return f != $ac_func;
24821 return 0;
24823 _ACEOF
24824 rm -f conftest.$ac_objext conftest$ac_exeext
24825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24826 (eval $ac_link) 2>conftest.er1
24827 ac_status=$?
24828 grep -v '^ *+' conftest.er1 >conftest.err
24829 rm -f conftest.er1
24830 cat conftest.err >&5
24831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24832 (exit $ac_status); } &&
24833 { ac_try='test -z "$ac_c_werror_flag"
24834 || test ! -s conftest.err'
24835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24836 (eval $ac_try) 2>&5
24837 ac_status=$?
24838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839 (exit $ac_status); }; } &&
24840 { ac_try='test -s conftest$ac_exeext'
24841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24842 (eval $ac_try) 2>&5
24843 ac_status=$?
24844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24845 (exit $ac_status); }; }; then
24846 eval "$as_ac_var=yes"
24847 else
24848 echo "$as_me: failed program was:" >&5
24849 sed 's/^/| /' conftest.$ac_ext >&5
24851 eval "$as_ac_var=no"
24853 rm -f conftest.err conftest.$ac_objext \
24854 conftest$ac_exeext conftest.$ac_ext
24856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24858 if test `eval echo '${'$as_ac_var'}'` = yes; then
24859 cat >>confdefs.h <<_ACEOF
24860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24861 _ACEOF
24864 done
24874 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
24875 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
24876 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24877 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
24878 echo $ECHO_N "(cached) $ECHO_C" >&6
24879 else
24883 ac_ext=cc
24884 ac_cpp='$CXXCPP $CPPFLAGS'
24885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24889 cat >conftest.$ac_ext <<_ACEOF
24890 /* confdefs.h. */
24891 _ACEOF
24892 cat confdefs.h >>conftest.$ac_ext
24893 cat >>conftest.$ac_ext <<_ACEOF
24894 /* end confdefs.h. */
24895 #include <math.h>
24897 main ()
24899 hypotf(0, 0);
24901 return 0;
24903 _ACEOF
24904 rm -f conftest.$ac_objext
24905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24906 (eval $ac_compile) 2>conftest.er1
24907 ac_status=$?
24908 grep -v '^ *+' conftest.er1 >conftest.err
24909 rm -f conftest.er1
24910 cat conftest.err >&5
24911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24912 (exit $ac_status); } &&
24913 { ac_try='test -z "$ac_cxx_werror_flag"
24914 || test ! -s conftest.err'
24915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24916 (eval $ac_try) 2>&5
24917 ac_status=$?
24918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24919 (exit $ac_status); }; } &&
24920 { ac_try='test -s conftest.$ac_objext'
24921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24922 (eval $ac_try) 2>&5
24923 ac_status=$?
24924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24925 (exit $ac_status); }; }; then
24926 glibcxx_cv_func_hypotf_use=yes
24927 else
24928 echo "$as_me: failed program was:" >&5
24929 sed 's/^/| /' conftest.$ac_ext >&5
24931 glibcxx_cv_func_hypotf_use=no
24933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24934 ac_ext=c
24935 ac_cpp='$CPP $CPPFLAGS'
24936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24944 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
24945 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
24947 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24949 for ac_func in hypotf
24951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24952 echo "$as_me:$LINENO: checking for $ac_func" >&5
24953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24954 if eval "test \"\${$as_ac_var+set}\" = set"; then
24955 echo $ECHO_N "(cached) $ECHO_C" >&6
24956 else
24957 if test x$gcc_no_link = xyes; then
24958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24960 { (exit 1); exit 1; }; }
24962 cat >conftest.$ac_ext <<_ACEOF
24963 /* confdefs.h. */
24964 _ACEOF
24965 cat confdefs.h >>conftest.$ac_ext
24966 cat >>conftest.$ac_ext <<_ACEOF
24967 /* end confdefs.h. */
24968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24970 #define $ac_func innocuous_$ac_func
24972 /* System header to define __stub macros and hopefully few prototypes,
24973 which can conflict with char $ac_func (); below.
24974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24975 <limits.h> exists even on freestanding compilers. */
24977 #ifdef __STDC__
24978 # include <limits.h>
24979 #else
24980 # include <assert.h>
24981 #endif
24983 #undef $ac_func
24985 /* Override any gcc2 internal prototype to avoid an error. */
24986 #ifdef __cplusplus
24987 extern "C"
24989 #endif
24990 /* We use char because int might match the return type of a gcc2
24991 builtin and then its argument prototype would still apply. */
24992 char $ac_func ();
24993 /* The GNU C library defines this for functions which it implements
24994 to always fail with ENOSYS. Some functions are actually named
24995 something starting with __ and the normal name is an alias. */
24996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24997 choke me
24998 #else
24999 char (*f) () = $ac_func;
25000 #endif
25001 #ifdef __cplusplus
25003 #endif
25006 main ()
25008 return f != $ac_func;
25010 return 0;
25012 _ACEOF
25013 rm -f conftest.$ac_objext conftest$ac_exeext
25014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25015 (eval $ac_link) 2>conftest.er1
25016 ac_status=$?
25017 grep -v '^ *+' conftest.er1 >conftest.err
25018 rm -f conftest.er1
25019 cat conftest.err >&5
25020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25021 (exit $ac_status); } &&
25022 { ac_try='test -z "$ac_c_werror_flag"
25023 || test ! -s conftest.err'
25024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25025 (eval $ac_try) 2>&5
25026 ac_status=$?
25027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25028 (exit $ac_status); }; } &&
25029 { ac_try='test -s conftest$ac_exeext'
25030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25031 (eval $ac_try) 2>&5
25032 ac_status=$?
25033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25034 (exit $ac_status); }; }; then
25035 eval "$as_ac_var=yes"
25036 else
25037 echo "$as_me: failed program was:" >&5
25038 sed 's/^/| /' conftest.$ac_ext >&5
25040 eval "$as_ac_var=no"
25042 rm -f conftest.err conftest.$ac_objext \
25043 conftest$ac_exeext conftest.$ac_ext
25045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25047 if test `eval echo '${'$as_ac_var'}'` = yes; then
25048 cat >>confdefs.h <<_ACEOF
25049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25050 _ACEOF
25053 done
25055 else
25057 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
25058 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
25059 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25060 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
25061 echo $ECHO_N "(cached) $ECHO_C" >&6
25062 else
25066 ac_ext=cc
25067 ac_cpp='$CXXCPP $CPPFLAGS'
25068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25072 cat >conftest.$ac_ext <<_ACEOF
25073 /* confdefs.h. */
25074 _ACEOF
25075 cat confdefs.h >>conftest.$ac_ext
25076 cat >>conftest.$ac_ext <<_ACEOF
25077 /* end confdefs.h. */
25078 #include <math.h>
25080 main ()
25082 _hypotf(0, 0);
25084 return 0;
25086 _ACEOF
25087 rm -f conftest.$ac_objext
25088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25089 (eval $ac_compile) 2>conftest.er1
25090 ac_status=$?
25091 grep -v '^ *+' conftest.er1 >conftest.err
25092 rm -f conftest.er1
25093 cat conftest.err >&5
25094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25095 (exit $ac_status); } &&
25096 { ac_try='test -z "$ac_cxx_werror_flag"
25097 || test ! -s conftest.err'
25098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25099 (eval $ac_try) 2>&5
25100 ac_status=$?
25101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25102 (exit $ac_status); }; } &&
25103 { ac_try='test -s conftest.$ac_objext'
25104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25105 (eval $ac_try) 2>&5
25106 ac_status=$?
25107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25108 (exit $ac_status); }; }; then
25109 glibcxx_cv_func__hypotf_use=yes
25110 else
25111 echo "$as_me: failed program was:" >&5
25112 sed 's/^/| /' conftest.$ac_ext >&5
25114 glibcxx_cv_func__hypotf_use=no
25116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25117 ac_ext=c
25118 ac_cpp='$CPP $CPPFLAGS'
25119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25127 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
25128 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
25130 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25132 for ac_func in _hypotf
25134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25135 echo "$as_me:$LINENO: checking for $ac_func" >&5
25136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25137 if eval "test \"\${$as_ac_var+set}\" = set"; then
25138 echo $ECHO_N "(cached) $ECHO_C" >&6
25139 else
25140 if test x$gcc_no_link = xyes; then
25141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25143 { (exit 1); exit 1; }; }
25145 cat >conftest.$ac_ext <<_ACEOF
25146 /* confdefs.h. */
25147 _ACEOF
25148 cat confdefs.h >>conftest.$ac_ext
25149 cat >>conftest.$ac_ext <<_ACEOF
25150 /* end confdefs.h. */
25151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25153 #define $ac_func innocuous_$ac_func
25155 /* System header to define __stub macros and hopefully few prototypes,
25156 which can conflict with char $ac_func (); below.
25157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25158 <limits.h> exists even on freestanding compilers. */
25160 #ifdef __STDC__
25161 # include <limits.h>
25162 #else
25163 # include <assert.h>
25164 #endif
25166 #undef $ac_func
25168 /* Override any gcc2 internal prototype to avoid an error. */
25169 #ifdef __cplusplus
25170 extern "C"
25172 #endif
25173 /* We use char because int might match the return type of a gcc2
25174 builtin and then its argument prototype would still apply. */
25175 char $ac_func ();
25176 /* The GNU C library defines this for functions which it implements
25177 to always fail with ENOSYS. Some functions are actually named
25178 something starting with __ and the normal name is an alias. */
25179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25180 choke me
25181 #else
25182 char (*f) () = $ac_func;
25183 #endif
25184 #ifdef __cplusplus
25186 #endif
25189 main ()
25191 return f != $ac_func;
25193 return 0;
25195 _ACEOF
25196 rm -f conftest.$ac_objext conftest$ac_exeext
25197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25198 (eval $ac_link) 2>conftest.er1
25199 ac_status=$?
25200 grep -v '^ *+' conftest.er1 >conftest.err
25201 rm -f conftest.er1
25202 cat conftest.err >&5
25203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204 (exit $ac_status); } &&
25205 { ac_try='test -z "$ac_c_werror_flag"
25206 || test ! -s conftest.err'
25207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25208 (eval $ac_try) 2>&5
25209 ac_status=$?
25210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25211 (exit $ac_status); }; } &&
25212 { ac_try='test -s conftest$ac_exeext'
25213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25214 (eval $ac_try) 2>&5
25215 ac_status=$?
25216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217 (exit $ac_status); }; }; then
25218 eval "$as_ac_var=yes"
25219 else
25220 echo "$as_me: failed program was:" >&5
25221 sed 's/^/| /' conftest.$ac_ext >&5
25223 eval "$as_ac_var=no"
25225 rm -f conftest.err conftest.$ac_objext \
25226 conftest$ac_exeext conftest.$ac_ext
25228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25230 if test `eval echo '${'$as_ac_var'}'` = yes; then
25231 cat >>confdefs.h <<_ACEOF
25232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25233 _ACEOF
25236 done
25246 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
25247 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
25248 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25249 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
25250 echo $ECHO_N "(cached) $ECHO_C" >&6
25251 else
25255 ac_ext=cc
25256 ac_cpp='$CXXCPP $CPPFLAGS'
25257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25261 cat >conftest.$ac_ext <<_ACEOF
25262 /* confdefs.h. */
25263 _ACEOF
25264 cat confdefs.h >>conftest.$ac_ext
25265 cat >>conftest.$ac_ext <<_ACEOF
25266 /* end confdefs.h. */
25267 #include <math.h>
25269 main ()
25271 ldexpf(0, 0);
25273 return 0;
25275 _ACEOF
25276 rm -f conftest.$ac_objext
25277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25278 (eval $ac_compile) 2>conftest.er1
25279 ac_status=$?
25280 grep -v '^ *+' conftest.er1 >conftest.err
25281 rm -f conftest.er1
25282 cat conftest.err >&5
25283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25284 (exit $ac_status); } &&
25285 { ac_try='test -z "$ac_cxx_werror_flag"
25286 || test ! -s conftest.err'
25287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25288 (eval $ac_try) 2>&5
25289 ac_status=$?
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); }; } &&
25292 { ac_try='test -s conftest.$ac_objext'
25293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25294 (eval $ac_try) 2>&5
25295 ac_status=$?
25296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25297 (exit $ac_status); }; }; then
25298 glibcxx_cv_func_ldexpf_use=yes
25299 else
25300 echo "$as_me: failed program was:" >&5
25301 sed 's/^/| /' conftest.$ac_ext >&5
25303 glibcxx_cv_func_ldexpf_use=no
25305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25306 ac_ext=c
25307 ac_cpp='$CPP $CPPFLAGS'
25308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25316 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
25317 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
25319 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25321 for ac_func in ldexpf
25323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25324 echo "$as_me:$LINENO: checking for $ac_func" >&5
25325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25326 if eval "test \"\${$as_ac_var+set}\" = set"; then
25327 echo $ECHO_N "(cached) $ECHO_C" >&6
25328 else
25329 if test x$gcc_no_link = xyes; then
25330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25332 { (exit 1); exit 1; }; }
25334 cat >conftest.$ac_ext <<_ACEOF
25335 /* confdefs.h. */
25336 _ACEOF
25337 cat confdefs.h >>conftest.$ac_ext
25338 cat >>conftest.$ac_ext <<_ACEOF
25339 /* end confdefs.h. */
25340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25342 #define $ac_func innocuous_$ac_func
25344 /* System header to define __stub macros and hopefully few prototypes,
25345 which can conflict with char $ac_func (); below.
25346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25347 <limits.h> exists even on freestanding compilers. */
25349 #ifdef __STDC__
25350 # include <limits.h>
25351 #else
25352 # include <assert.h>
25353 #endif
25355 #undef $ac_func
25357 /* Override any gcc2 internal prototype to avoid an error. */
25358 #ifdef __cplusplus
25359 extern "C"
25361 #endif
25362 /* We use char because int might match the return type of a gcc2
25363 builtin and then its argument prototype would still apply. */
25364 char $ac_func ();
25365 /* The GNU C library defines this for functions which it implements
25366 to always fail with ENOSYS. Some functions are actually named
25367 something starting with __ and the normal name is an alias. */
25368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25369 choke me
25370 #else
25371 char (*f) () = $ac_func;
25372 #endif
25373 #ifdef __cplusplus
25375 #endif
25378 main ()
25380 return f != $ac_func;
25382 return 0;
25384 _ACEOF
25385 rm -f conftest.$ac_objext conftest$ac_exeext
25386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25387 (eval $ac_link) 2>conftest.er1
25388 ac_status=$?
25389 grep -v '^ *+' conftest.er1 >conftest.err
25390 rm -f conftest.er1
25391 cat conftest.err >&5
25392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25393 (exit $ac_status); } &&
25394 { ac_try='test -z "$ac_c_werror_flag"
25395 || test ! -s conftest.err'
25396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25397 (eval $ac_try) 2>&5
25398 ac_status=$?
25399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25400 (exit $ac_status); }; } &&
25401 { ac_try='test -s conftest$ac_exeext'
25402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25403 (eval $ac_try) 2>&5
25404 ac_status=$?
25405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25406 (exit $ac_status); }; }; then
25407 eval "$as_ac_var=yes"
25408 else
25409 echo "$as_me: failed program was:" >&5
25410 sed 's/^/| /' conftest.$ac_ext >&5
25412 eval "$as_ac_var=no"
25414 rm -f conftest.err conftest.$ac_objext \
25415 conftest$ac_exeext conftest.$ac_ext
25417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25419 if test `eval echo '${'$as_ac_var'}'` = yes; then
25420 cat >>confdefs.h <<_ACEOF
25421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25422 _ACEOF
25425 done
25427 else
25429 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
25430 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
25431 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25432 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
25433 echo $ECHO_N "(cached) $ECHO_C" >&6
25434 else
25438 ac_ext=cc
25439 ac_cpp='$CXXCPP $CPPFLAGS'
25440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25444 cat >conftest.$ac_ext <<_ACEOF
25445 /* confdefs.h. */
25446 _ACEOF
25447 cat confdefs.h >>conftest.$ac_ext
25448 cat >>conftest.$ac_ext <<_ACEOF
25449 /* end confdefs.h. */
25450 #include <math.h>
25452 main ()
25454 _ldexpf(0, 0);
25456 return 0;
25458 _ACEOF
25459 rm -f conftest.$ac_objext
25460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25461 (eval $ac_compile) 2>conftest.er1
25462 ac_status=$?
25463 grep -v '^ *+' conftest.er1 >conftest.err
25464 rm -f conftest.er1
25465 cat conftest.err >&5
25466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25467 (exit $ac_status); } &&
25468 { ac_try='test -z "$ac_cxx_werror_flag"
25469 || test ! -s conftest.err'
25470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25471 (eval $ac_try) 2>&5
25472 ac_status=$?
25473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25474 (exit $ac_status); }; } &&
25475 { ac_try='test -s conftest.$ac_objext'
25476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25477 (eval $ac_try) 2>&5
25478 ac_status=$?
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); }; }; then
25481 glibcxx_cv_func__ldexpf_use=yes
25482 else
25483 echo "$as_me: failed program was:" >&5
25484 sed 's/^/| /' conftest.$ac_ext >&5
25486 glibcxx_cv_func__ldexpf_use=no
25488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25489 ac_ext=c
25490 ac_cpp='$CPP $CPPFLAGS'
25491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25499 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
25500 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
25502 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25504 for ac_func in _ldexpf
25506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25507 echo "$as_me:$LINENO: checking for $ac_func" >&5
25508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25509 if eval "test \"\${$as_ac_var+set}\" = set"; then
25510 echo $ECHO_N "(cached) $ECHO_C" >&6
25511 else
25512 if test x$gcc_no_link = xyes; then
25513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25515 { (exit 1); exit 1; }; }
25517 cat >conftest.$ac_ext <<_ACEOF
25518 /* confdefs.h. */
25519 _ACEOF
25520 cat confdefs.h >>conftest.$ac_ext
25521 cat >>conftest.$ac_ext <<_ACEOF
25522 /* end confdefs.h. */
25523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25525 #define $ac_func innocuous_$ac_func
25527 /* System header to define __stub macros and hopefully few prototypes,
25528 which can conflict with char $ac_func (); below.
25529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25530 <limits.h> exists even on freestanding compilers. */
25532 #ifdef __STDC__
25533 # include <limits.h>
25534 #else
25535 # include <assert.h>
25536 #endif
25538 #undef $ac_func
25540 /* Override any gcc2 internal prototype to avoid an error. */
25541 #ifdef __cplusplus
25542 extern "C"
25544 #endif
25545 /* We use char because int might match the return type of a gcc2
25546 builtin and then its argument prototype would still apply. */
25547 char $ac_func ();
25548 /* The GNU C library defines this for functions which it implements
25549 to always fail with ENOSYS. Some functions are actually named
25550 something starting with __ and the normal name is an alias. */
25551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25552 choke me
25553 #else
25554 char (*f) () = $ac_func;
25555 #endif
25556 #ifdef __cplusplus
25558 #endif
25561 main ()
25563 return f != $ac_func;
25565 return 0;
25567 _ACEOF
25568 rm -f conftest.$ac_objext conftest$ac_exeext
25569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25570 (eval $ac_link) 2>conftest.er1
25571 ac_status=$?
25572 grep -v '^ *+' conftest.er1 >conftest.err
25573 rm -f conftest.er1
25574 cat conftest.err >&5
25575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25576 (exit $ac_status); } &&
25577 { ac_try='test -z "$ac_c_werror_flag"
25578 || test ! -s conftest.err'
25579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25580 (eval $ac_try) 2>&5
25581 ac_status=$?
25582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583 (exit $ac_status); }; } &&
25584 { ac_try='test -s conftest$ac_exeext'
25585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25586 (eval $ac_try) 2>&5
25587 ac_status=$?
25588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589 (exit $ac_status); }; }; then
25590 eval "$as_ac_var=yes"
25591 else
25592 echo "$as_me: failed program was:" >&5
25593 sed 's/^/| /' conftest.$ac_ext >&5
25595 eval "$as_ac_var=no"
25597 rm -f conftest.err conftest.$ac_objext \
25598 conftest$ac_exeext conftest.$ac_ext
25600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25602 if test `eval echo '${'$as_ac_var'}'` = yes; then
25603 cat >>confdefs.h <<_ACEOF
25604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25605 _ACEOF
25608 done
25618 echo "$as_me:$LINENO: checking for logf declaration" >&5
25619 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
25620 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25621 if test "${glibcxx_cv_func_logf_use+set}" = set; then
25622 echo $ECHO_N "(cached) $ECHO_C" >&6
25623 else
25627 ac_ext=cc
25628 ac_cpp='$CXXCPP $CPPFLAGS'
25629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25633 cat >conftest.$ac_ext <<_ACEOF
25634 /* confdefs.h. */
25635 _ACEOF
25636 cat confdefs.h >>conftest.$ac_ext
25637 cat >>conftest.$ac_ext <<_ACEOF
25638 /* end confdefs.h. */
25639 #include <math.h>
25640 #ifdef HAVE_IEEEFP_H
25641 #include <ieeefp.h>
25642 #endif
25645 main ()
25647 logf(0);
25649 return 0;
25651 _ACEOF
25652 rm -f conftest.$ac_objext
25653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25654 (eval $ac_compile) 2>conftest.er1
25655 ac_status=$?
25656 grep -v '^ *+' conftest.er1 >conftest.err
25657 rm -f conftest.er1
25658 cat conftest.err >&5
25659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25660 (exit $ac_status); } &&
25661 { ac_try='test -z "$ac_cxx_werror_flag"
25662 || test ! -s conftest.err'
25663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25664 (eval $ac_try) 2>&5
25665 ac_status=$?
25666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25667 (exit $ac_status); }; } &&
25668 { ac_try='test -s conftest.$ac_objext'
25669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25670 (eval $ac_try) 2>&5
25671 ac_status=$?
25672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25673 (exit $ac_status); }; }; then
25674 glibcxx_cv_func_logf_use=yes
25675 else
25676 echo "$as_me: failed program was:" >&5
25677 sed 's/^/| /' conftest.$ac_ext >&5
25679 glibcxx_cv_func_logf_use=no
25681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25682 ac_ext=c
25683 ac_cpp='$CPP $CPPFLAGS'
25684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25692 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
25693 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
25695 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25697 for ac_func in logf
25699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25700 echo "$as_me:$LINENO: checking for $ac_func" >&5
25701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25702 if eval "test \"\${$as_ac_var+set}\" = set"; then
25703 echo $ECHO_N "(cached) $ECHO_C" >&6
25704 else
25705 if test x$gcc_no_link = xyes; then
25706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25708 { (exit 1); exit 1; }; }
25710 cat >conftest.$ac_ext <<_ACEOF
25711 /* confdefs.h. */
25712 _ACEOF
25713 cat confdefs.h >>conftest.$ac_ext
25714 cat >>conftest.$ac_ext <<_ACEOF
25715 /* end confdefs.h. */
25716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25718 #define $ac_func innocuous_$ac_func
25720 /* System header to define __stub macros and hopefully few prototypes,
25721 which can conflict with char $ac_func (); below.
25722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25723 <limits.h> exists even on freestanding compilers. */
25725 #ifdef __STDC__
25726 # include <limits.h>
25727 #else
25728 # include <assert.h>
25729 #endif
25731 #undef $ac_func
25733 /* Override any gcc2 internal prototype to avoid an error. */
25734 #ifdef __cplusplus
25735 extern "C"
25737 #endif
25738 /* We use char because int might match the return type of a gcc2
25739 builtin and then its argument prototype would still apply. */
25740 char $ac_func ();
25741 /* The GNU C library defines this for functions which it implements
25742 to always fail with ENOSYS. Some functions are actually named
25743 something starting with __ and the normal name is an alias. */
25744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25745 choke me
25746 #else
25747 char (*f) () = $ac_func;
25748 #endif
25749 #ifdef __cplusplus
25751 #endif
25754 main ()
25756 return f != $ac_func;
25758 return 0;
25760 _ACEOF
25761 rm -f conftest.$ac_objext conftest$ac_exeext
25762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25763 (eval $ac_link) 2>conftest.er1
25764 ac_status=$?
25765 grep -v '^ *+' conftest.er1 >conftest.err
25766 rm -f conftest.er1
25767 cat conftest.err >&5
25768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25769 (exit $ac_status); } &&
25770 { ac_try='test -z "$ac_c_werror_flag"
25771 || test ! -s conftest.err'
25772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25773 (eval $ac_try) 2>&5
25774 ac_status=$?
25775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25776 (exit $ac_status); }; } &&
25777 { ac_try='test -s conftest$ac_exeext'
25778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25779 (eval $ac_try) 2>&5
25780 ac_status=$?
25781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25782 (exit $ac_status); }; }; then
25783 eval "$as_ac_var=yes"
25784 else
25785 echo "$as_me: failed program was:" >&5
25786 sed 's/^/| /' conftest.$ac_ext >&5
25788 eval "$as_ac_var=no"
25790 rm -f conftest.err conftest.$ac_objext \
25791 conftest$ac_exeext conftest.$ac_ext
25793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25795 if test `eval echo '${'$as_ac_var'}'` = yes; then
25796 cat >>confdefs.h <<_ACEOF
25797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25798 _ACEOF
25801 done
25803 else
25805 echo "$as_me:$LINENO: checking for _logf declaration" >&5
25806 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
25807 if test x${glibcxx_cv_func__logf_use+set} != xset; then
25808 if test "${glibcxx_cv_func__logf_use+set}" = set; then
25809 echo $ECHO_N "(cached) $ECHO_C" >&6
25810 else
25814 ac_ext=cc
25815 ac_cpp='$CXXCPP $CPPFLAGS'
25816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25820 cat >conftest.$ac_ext <<_ACEOF
25821 /* confdefs.h. */
25822 _ACEOF
25823 cat confdefs.h >>conftest.$ac_ext
25824 cat >>conftest.$ac_ext <<_ACEOF
25825 /* end confdefs.h. */
25826 #include <math.h>
25827 #ifdef HAVE_IEEEFP_H
25828 #include <ieeefp.h>
25829 #endif
25832 main ()
25834 _logf(0);
25836 return 0;
25838 _ACEOF
25839 rm -f conftest.$ac_objext
25840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25841 (eval $ac_compile) 2>conftest.er1
25842 ac_status=$?
25843 grep -v '^ *+' conftest.er1 >conftest.err
25844 rm -f conftest.er1
25845 cat conftest.err >&5
25846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25847 (exit $ac_status); } &&
25848 { ac_try='test -z "$ac_cxx_werror_flag"
25849 || test ! -s conftest.err'
25850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25851 (eval $ac_try) 2>&5
25852 ac_status=$?
25853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854 (exit $ac_status); }; } &&
25855 { ac_try='test -s conftest.$ac_objext'
25856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25857 (eval $ac_try) 2>&5
25858 ac_status=$?
25859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25860 (exit $ac_status); }; }; then
25861 glibcxx_cv_func__logf_use=yes
25862 else
25863 echo "$as_me: failed program was:" >&5
25864 sed 's/^/| /' conftest.$ac_ext >&5
25866 glibcxx_cv_func__logf_use=no
25868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25869 ac_ext=c
25870 ac_cpp='$CPP $CPPFLAGS'
25871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25879 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
25880 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
25882 if test x$glibcxx_cv_func__logf_use = x"yes"; then
25884 for ac_func in _logf
25886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25887 echo "$as_me:$LINENO: checking for $ac_func" >&5
25888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25889 if eval "test \"\${$as_ac_var+set}\" = set"; then
25890 echo $ECHO_N "(cached) $ECHO_C" >&6
25891 else
25892 if test x$gcc_no_link = xyes; then
25893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25895 { (exit 1); exit 1; }; }
25897 cat >conftest.$ac_ext <<_ACEOF
25898 /* confdefs.h. */
25899 _ACEOF
25900 cat confdefs.h >>conftest.$ac_ext
25901 cat >>conftest.$ac_ext <<_ACEOF
25902 /* end confdefs.h. */
25903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25905 #define $ac_func innocuous_$ac_func
25907 /* System header to define __stub macros and hopefully few prototypes,
25908 which can conflict with char $ac_func (); below.
25909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25910 <limits.h> exists even on freestanding compilers. */
25912 #ifdef __STDC__
25913 # include <limits.h>
25914 #else
25915 # include <assert.h>
25916 #endif
25918 #undef $ac_func
25920 /* Override any gcc2 internal prototype to avoid an error. */
25921 #ifdef __cplusplus
25922 extern "C"
25924 #endif
25925 /* We use char because int might match the return type of a gcc2
25926 builtin and then its argument prototype would still apply. */
25927 char $ac_func ();
25928 /* The GNU C library defines this for functions which it implements
25929 to always fail with ENOSYS. Some functions are actually named
25930 something starting with __ and the normal name is an alias. */
25931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25932 choke me
25933 #else
25934 char (*f) () = $ac_func;
25935 #endif
25936 #ifdef __cplusplus
25938 #endif
25941 main ()
25943 return f != $ac_func;
25945 return 0;
25947 _ACEOF
25948 rm -f conftest.$ac_objext conftest$ac_exeext
25949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25950 (eval $ac_link) 2>conftest.er1
25951 ac_status=$?
25952 grep -v '^ *+' conftest.er1 >conftest.err
25953 rm -f conftest.er1
25954 cat conftest.err >&5
25955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25956 (exit $ac_status); } &&
25957 { ac_try='test -z "$ac_c_werror_flag"
25958 || test ! -s conftest.err'
25959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25960 (eval $ac_try) 2>&5
25961 ac_status=$?
25962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963 (exit $ac_status); }; } &&
25964 { ac_try='test -s conftest$ac_exeext'
25965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25966 (eval $ac_try) 2>&5
25967 ac_status=$?
25968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25969 (exit $ac_status); }; }; then
25970 eval "$as_ac_var=yes"
25971 else
25972 echo "$as_me: failed program was:" >&5
25973 sed 's/^/| /' conftest.$ac_ext >&5
25975 eval "$as_ac_var=no"
25977 rm -f conftest.err conftest.$ac_objext \
25978 conftest$ac_exeext conftest.$ac_ext
25980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25982 if test `eval echo '${'$as_ac_var'}'` = yes; then
25983 cat >>confdefs.h <<_ACEOF
25984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25985 _ACEOF
25988 done
25998 echo "$as_me:$LINENO: checking for log10f declaration" >&5
25999 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
26000 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
26001 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
26002 echo $ECHO_N "(cached) $ECHO_C" >&6
26003 else
26007 ac_ext=cc
26008 ac_cpp='$CXXCPP $CPPFLAGS'
26009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26013 cat >conftest.$ac_ext <<_ACEOF
26014 /* confdefs.h. */
26015 _ACEOF
26016 cat confdefs.h >>conftest.$ac_ext
26017 cat >>conftest.$ac_ext <<_ACEOF
26018 /* end confdefs.h. */
26019 #include <math.h>
26020 #ifdef HAVE_IEEEFP_H
26021 #include <ieeefp.h>
26022 #endif
26025 main ()
26027 log10f(0);
26029 return 0;
26031 _ACEOF
26032 rm -f conftest.$ac_objext
26033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26034 (eval $ac_compile) 2>conftest.er1
26035 ac_status=$?
26036 grep -v '^ *+' conftest.er1 >conftest.err
26037 rm -f conftest.er1
26038 cat conftest.err >&5
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); } &&
26041 { ac_try='test -z "$ac_cxx_werror_flag"
26042 || test ! -s conftest.err'
26043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26044 (eval $ac_try) 2>&5
26045 ac_status=$?
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); }; } &&
26048 { ac_try='test -s conftest.$ac_objext'
26049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26050 (eval $ac_try) 2>&5
26051 ac_status=$?
26052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053 (exit $ac_status); }; }; then
26054 glibcxx_cv_func_log10f_use=yes
26055 else
26056 echo "$as_me: failed program was:" >&5
26057 sed 's/^/| /' conftest.$ac_ext >&5
26059 glibcxx_cv_func_log10f_use=no
26061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26062 ac_ext=c
26063 ac_cpp='$CPP $CPPFLAGS'
26064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26072 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
26073 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
26075 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
26077 for ac_func in log10f
26079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26080 echo "$as_me:$LINENO: checking for $ac_func" >&5
26081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26082 if eval "test \"\${$as_ac_var+set}\" = set"; then
26083 echo $ECHO_N "(cached) $ECHO_C" >&6
26084 else
26085 if test x$gcc_no_link = xyes; then
26086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26088 { (exit 1); exit 1; }; }
26090 cat >conftest.$ac_ext <<_ACEOF
26091 /* confdefs.h. */
26092 _ACEOF
26093 cat confdefs.h >>conftest.$ac_ext
26094 cat >>conftest.$ac_ext <<_ACEOF
26095 /* end confdefs.h. */
26096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26098 #define $ac_func innocuous_$ac_func
26100 /* System header to define __stub macros and hopefully few prototypes,
26101 which can conflict with char $ac_func (); below.
26102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26103 <limits.h> exists even on freestanding compilers. */
26105 #ifdef __STDC__
26106 # include <limits.h>
26107 #else
26108 # include <assert.h>
26109 #endif
26111 #undef $ac_func
26113 /* Override any gcc2 internal prototype to avoid an error. */
26114 #ifdef __cplusplus
26115 extern "C"
26117 #endif
26118 /* We use char because int might match the return type of a gcc2
26119 builtin and then its argument prototype would still apply. */
26120 char $ac_func ();
26121 /* The GNU C library defines this for functions which it implements
26122 to always fail with ENOSYS. Some functions are actually named
26123 something starting with __ and the normal name is an alias. */
26124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26125 choke me
26126 #else
26127 char (*f) () = $ac_func;
26128 #endif
26129 #ifdef __cplusplus
26131 #endif
26134 main ()
26136 return f != $ac_func;
26138 return 0;
26140 _ACEOF
26141 rm -f conftest.$ac_objext conftest$ac_exeext
26142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26143 (eval $ac_link) 2>conftest.er1
26144 ac_status=$?
26145 grep -v '^ *+' conftest.er1 >conftest.err
26146 rm -f conftest.er1
26147 cat conftest.err >&5
26148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26149 (exit $ac_status); } &&
26150 { ac_try='test -z "$ac_c_werror_flag"
26151 || test ! -s conftest.err'
26152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26153 (eval $ac_try) 2>&5
26154 ac_status=$?
26155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156 (exit $ac_status); }; } &&
26157 { ac_try='test -s conftest$ac_exeext'
26158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26159 (eval $ac_try) 2>&5
26160 ac_status=$?
26161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26162 (exit $ac_status); }; }; then
26163 eval "$as_ac_var=yes"
26164 else
26165 echo "$as_me: failed program was:" >&5
26166 sed 's/^/| /' conftest.$ac_ext >&5
26168 eval "$as_ac_var=no"
26170 rm -f conftest.err conftest.$ac_objext \
26171 conftest$ac_exeext conftest.$ac_ext
26173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26175 if test `eval echo '${'$as_ac_var'}'` = yes; then
26176 cat >>confdefs.h <<_ACEOF
26177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26178 _ACEOF
26181 done
26183 else
26185 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
26186 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
26187 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
26188 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
26189 echo $ECHO_N "(cached) $ECHO_C" >&6
26190 else
26194 ac_ext=cc
26195 ac_cpp='$CXXCPP $CPPFLAGS'
26196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26200 cat >conftest.$ac_ext <<_ACEOF
26201 /* confdefs.h. */
26202 _ACEOF
26203 cat confdefs.h >>conftest.$ac_ext
26204 cat >>conftest.$ac_ext <<_ACEOF
26205 /* end confdefs.h. */
26206 #include <math.h>
26207 #ifdef HAVE_IEEEFP_H
26208 #include <ieeefp.h>
26209 #endif
26212 main ()
26214 _log10f(0);
26216 return 0;
26218 _ACEOF
26219 rm -f conftest.$ac_objext
26220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26221 (eval $ac_compile) 2>conftest.er1
26222 ac_status=$?
26223 grep -v '^ *+' conftest.er1 >conftest.err
26224 rm -f conftest.er1
26225 cat conftest.err >&5
26226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26227 (exit $ac_status); } &&
26228 { ac_try='test -z "$ac_cxx_werror_flag"
26229 || test ! -s conftest.err'
26230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26231 (eval $ac_try) 2>&5
26232 ac_status=$?
26233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26234 (exit $ac_status); }; } &&
26235 { ac_try='test -s conftest.$ac_objext'
26236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26237 (eval $ac_try) 2>&5
26238 ac_status=$?
26239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26240 (exit $ac_status); }; }; then
26241 glibcxx_cv_func__log10f_use=yes
26242 else
26243 echo "$as_me: failed program was:" >&5
26244 sed 's/^/| /' conftest.$ac_ext >&5
26246 glibcxx_cv_func__log10f_use=no
26248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26249 ac_ext=c
26250 ac_cpp='$CPP $CPPFLAGS'
26251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26259 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
26260 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
26262 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
26264 for ac_func in _log10f
26266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26267 echo "$as_me:$LINENO: checking for $ac_func" >&5
26268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26269 if eval "test \"\${$as_ac_var+set}\" = set"; then
26270 echo $ECHO_N "(cached) $ECHO_C" >&6
26271 else
26272 if test x$gcc_no_link = xyes; then
26273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26275 { (exit 1); exit 1; }; }
26277 cat >conftest.$ac_ext <<_ACEOF
26278 /* confdefs.h. */
26279 _ACEOF
26280 cat confdefs.h >>conftest.$ac_ext
26281 cat >>conftest.$ac_ext <<_ACEOF
26282 /* end confdefs.h. */
26283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26285 #define $ac_func innocuous_$ac_func
26287 /* System header to define __stub macros and hopefully few prototypes,
26288 which can conflict with char $ac_func (); below.
26289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26290 <limits.h> exists even on freestanding compilers. */
26292 #ifdef __STDC__
26293 # include <limits.h>
26294 #else
26295 # include <assert.h>
26296 #endif
26298 #undef $ac_func
26300 /* Override any gcc2 internal prototype to avoid an error. */
26301 #ifdef __cplusplus
26302 extern "C"
26304 #endif
26305 /* We use char because int might match the return type of a gcc2
26306 builtin and then its argument prototype would still apply. */
26307 char $ac_func ();
26308 /* The GNU C library defines this for functions which it implements
26309 to always fail with ENOSYS. Some functions are actually named
26310 something starting with __ and the normal name is an alias. */
26311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26312 choke me
26313 #else
26314 char (*f) () = $ac_func;
26315 #endif
26316 #ifdef __cplusplus
26318 #endif
26321 main ()
26323 return f != $ac_func;
26325 return 0;
26327 _ACEOF
26328 rm -f conftest.$ac_objext conftest$ac_exeext
26329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26330 (eval $ac_link) 2>conftest.er1
26331 ac_status=$?
26332 grep -v '^ *+' conftest.er1 >conftest.err
26333 rm -f conftest.er1
26334 cat conftest.err >&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); } &&
26337 { ac_try='test -z "$ac_c_werror_flag"
26338 || test ! -s conftest.err'
26339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26340 (eval $ac_try) 2>&5
26341 ac_status=$?
26342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26343 (exit $ac_status); }; } &&
26344 { ac_try='test -s conftest$ac_exeext'
26345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26346 (eval $ac_try) 2>&5
26347 ac_status=$?
26348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26349 (exit $ac_status); }; }; then
26350 eval "$as_ac_var=yes"
26351 else
26352 echo "$as_me: failed program was:" >&5
26353 sed 's/^/| /' conftest.$ac_ext >&5
26355 eval "$as_ac_var=no"
26357 rm -f conftest.err conftest.$ac_objext \
26358 conftest$ac_exeext conftest.$ac_ext
26360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26362 if test `eval echo '${'$as_ac_var'}'` = yes; then
26363 cat >>confdefs.h <<_ACEOF
26364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26365 _ACEOF
26368 done
26378 echo "$as_me:$LINENO: checking for modff declaration" >&5
26379 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
26380 if test x${glibcxx_cv_func_modff_use+set} != xset; then
26381 if test "${glibcxx_cv_func_modff_use+set}" = set; then
26382 echo $ECHO_N "(cached) $ECHO_C" >&6
26383 else
26387 ac_ext=cc
26388 ac_cpp='$CXXCPP $CPPFLAGS'
26389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26393 cat >conftest.$ac_ext <<_ACEOF
26394 /* confdefs.h. */
26395 _ACEOF
26396 cat confdefs.h >>conftest.$ac_ext
26397 cat >>conftest.$ac_ext <<_ACEOF
26398 /* end confdefs.h. */
26399 #include <math.h>
26401 main ()
26403 modff(0, 0);
26405 return 0;
26407 _ACEOF
26408 rm -f conftest.$ac_objext
26409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26410 (eval $ac_compile) 2>conftest.er1
26411 ac_status=$?
26412 grep -v '^ *+' conftest.er1 >conftest.err
26413 rm -f conftest.er1
26414 cat conftest.err >&5
26415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26416 (exit $ac_status); } &&
26417 { ac_try='test -z "$ac_cxx_werror_flag"
26418 || test ! -s conftest.err'
26419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26420 (eval $ac_try) 2>&5
26421 ac_status=$?
26422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26423 (exit $ac_status); }; } &&
26424 { ac_try='test -s conftest.$ac_objext'
26425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26426 (eval $ac_try) 2>&5
26427 ac_status=$?
26428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26429 (exit $ac_status); }; }; then
26430 glibcxx_cv_func_modff_use=yes
26431 else
26432 echo "$as_me: failed program was:" >&5
26433 sed 's/^/| /' conftest.$ac_ext >&5
26435 glibcxx_cv_func_modff_use=no
26437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26438 ac_ext=c
26439 ac_cpp='$CPP $CPPFLAGS'
26440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26448 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
26449 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
26451 if test x$glibcxx_cv_func_modff_use = x"yes"; then
26453 for ac_func in modff
26455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26456 echo "$as_me:$LINENO: checking for $ac_func" >&5
26457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26458 if eval "test \"\${$as_ac_var+set}\" = set"; then
26459 echo $ECHO_N "(cached) $ECHO_C" >&6
26460 else
26461 if test x$gcc_no_link = xyes; then
26462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26464 { (exit 1); exit 1; }; }
26466 cat >conftest.$ac_ext <<_ACEOF
26467 /* confdefs.h. */
26468 _ACEOF
26469 cat confdefs.h >>conftest.$ac_ext
26470 cat >>conftest.$ac_ext <<_ACEOF
26471 /* end confdefs.h. */
26472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26474 #define $ac_func innocuous_$ac_func
26476 /* System header to define __stub macros and hopefully few prototypes,
26477 which can conflict with char $ac_func (); below.
26478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26479 <limits.h> exists even on freestanding compilers. */
26481 #ifdef __STDC__
26482 # include <limits.h>
26483 #else
26484 # include <assert.h>
26485 #endif
26487 #undef $ac_func
26489 /* Override any gcc2 internal prototype to avoid an error. */
26490 #ifdef __cplusplus
26491 extern "C"
26493 #endif
26494 /* We use char because int might match the return type of a gcc2
26495 builtin and then its argument prototype would still apply. */
26496 char $ac_func ();
26497 /* The GNU C library defines this for functions which it implements
26498 to always fail with ENOSYS. Some functions are actually named
26499 something starting with __ and the normal name is an alias. */
26500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26501 choke me
26502 #else
26503 char (*f) () = $ac_func;
26504 #endif
26505 #ifdef __cplusplus
26507 #endif
26510 main ()
26512 return f != $ac_func;
26514 return 0;
26516 _ACEOF
26517 rm -f conftest.$ac_objext conftest$ac_exeext
26518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26519 (eval $ac_link) 2>conftest.er1
26520 ac_status=$?
26521 grep -v '^ *+' conftest.er1 >conftest.err
26522 rm -f conftest.er1
26523 cat conftest.err >&5
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); } &&
26526 { ac_try='test -z "$ac_c_werror_flag"
26527 || test ! -s conftest.err'
26528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26529 (eval $ac_try) 2>&5
26530 ac_status=$?
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); }; } &&
26533 { ac_try='test -s conftest$ac_exeext'
26534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26535 (eval $ac_try) 2>&5
26536 ac_status=$?
26537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26538 (exit $ac_status); }; }; then
26539 eval "$as_ac_var=yes"
26540 else
26541 echo "$as_me: failed program was:" >&5
26542 sed 's/^/| /' conftest.$ac_ext >&5
26544 eval "$as_ac_var=no"
26546 rm -f conftest.err conftest.$ac_objext \
26547 conftest$ac_exeext conftest.$ac_ext
26549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26551 if test `eval echo '${'$as_ac_var'}'` = yes; then
26552 cat >>confdefs.h <<_ACEOF
26553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26554 _ACEOF
26557 done
26559 else
26561 echo "$as_me:$LINENO: checking for _modff declaration" >&5
26562 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
26563 if test x${glibcxx_cv_func__modff_use+set} != xset; then
26564 if test "${glibcxx_cv_func__modff_use+set}" = set; then
26565 echo $ECHO_N "(cached) $ECHO_C" >&6
26566 else
26570 ac_ext=cc
26571 ac_cpp='$CXXCPP $CPPFLAGS'
26572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26576 cat >conftest.$ac_ext <<_ACEOF
26577 /* confdefs.h. */
26578 _ACEOF
26579 cat confdefs.h >>conftest.$ac_ext
26580 cat >>conftest.$ac_ext <<_ACEOF
26581 /* end confdefs.h. */
26582 #include <math.h>
26584 main ()
26586 _modff(0, 0);
26588 return 0;
26590 _ACEOF
26591 rm -f conftest.$ac_objext
26592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26593 (eval $ac_compile) 2>conftest.er1
26594 ac_status=$?
26595 grep -v '^ *+' conftest.er1 >conftest.err
26596 rm -f conftest.er1
26597 cat conftest.err >&5
26598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599 (exit $ac_status); } &&
26600 { ac_try='test -z "$ac_cxx_werror_flag"
26601 || test ! -s conftest.err'
26602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26603 (eval $ac_try) 2>&5
26604 ac_status=$?
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); }; } &&
26607 { ac_try='test -s conftest.$ac_objext'
26608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26609 (eval $ac_try) 2>&5
26610 ac_status=$?
26611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26612 (exit $ac_status); }; }; then
26613 glibcxx_cv_func__modff_use=yes
26614 else
26615 echo "$as_me: failed program was:" >&5
26616 sed 's/^/| /' conftest.$ac_ext >&5
26618 glibcxx_cv_func__modff_use=no
26620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26621 ac_ext=c
26622 ac_cpp='$CPP $CPPFLAGS'
26623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26631 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
26632 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
26634 if test x$glibcxx_cv_func__modff_use = x"yes"; then
26636 for ac_func in _modff
26638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26639 echo "$as_me:$LINENO: checking for $ac_func" >&5
26640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26641 if eval "test \"\${$as_ac_var+set}\" = set"; then
26642 echo $ECHO_N "(cached) $ECHO_C" >&6
26643 else
26644 if test x$gcc_no_link = xyes; then
26645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26647 { (exit 1); exit 1; }; }
26649 cat >conftest.$ac_ext <<_ACEOF
26650 /* confdefs.h. */
26651 _ACEOF
26652 cat confdefs.h >>conftest.$ac_ext
26653 cat >>conftest.$ac_ext <<_ACEOF
26654 /* end confdefs.h. */
26655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26657 #define $ac_func innocuous_$ac_func
26659 /* System header to define __stub macros and hopefully few prototypes,
26660 which can conflict with char $ac_func (); below.
26661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26662 <limits.h> exists even on freestanding compilers. */
26664 #ifdef __STDC__
26665 # include <limits.h>
26666 #else
26667 # include <assert.h>
26668 #endif
26670 #undef $ac_func
26672 /* Override any gcc2 internal prototype to avoid an error. */
26673 #ifdef __cplusplus
26674 extern "C"
26676 #endif
26677 /* We use char because int might match the return type of a gcc2
26678 builtin and then its argument prototype would still apply. */
26679 char $ac_func ();
26680 /* The GNU C library defines this for functions which it implements
26681 to always fail with ENOSYS. Some functions are actually named
26682 something starting with __ and the normal name is an alias. */
26683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26684 choke me
26685 #else
26686 char (*f) () = $ac_func;
26687 #endif
26688 #ifdef __cplusplus
26690 #endif
26693 main ()
26695 return f != $ac_func;
26697 return 0;
26699 _ACEOF
26700 rm -f conftest.$ac_objext conftest$ac_exeext
26701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26702 (eval $ac_link) 2>conftest.er1
26703 ac_status=$?
26704 grep -v '^ *+' conftest.er1 >conftest.err
26705 rm -f conftest.er1
26706 cat conftest.err >&5
26707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26708 (exit $ac_status); } &&
26709 { ac_try='test -z "$ac_c_werror_flag"
26710 || test ! -s conftest.err'
26711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26712 (eval $ac_try) 2>&5
26713 ac_status=$?
26714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26715 (exit $ac_status); }; } &&
26716 { ac_try='test -s conftest$ac_exeext'
26717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26718 (eval $ac_try) 2>&5
26719 ac_status=$?
26720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26721 (exit $ac_status); }; }; then
26722 eval "$as_ac_var=yes"
26723 else
26724 echo "$as_me: failed program was:" >&5
26725 sed 's/^/| /' conftest.$ac_ext >&5
26727 eval "$as_ac_var=no"
26729 rm -f conftest.err conftest.$ac_objext \
26730 conftest$ac_exeext conftest.$ac_ext
26732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26734 if test `eval echo '${'$as_ac_var'}'` = yes; then
26735 cat >>confdefs.h <<_ACEOF
26736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26737 _ACEOF
26740 done
26750 echo "$as_me:$LINENO: checking for modf declaration" >&5
26751 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
26752 if test x${glibcxx_cv_func_modf_use+set} != xset; then
26753 if test "${glibcxx_cv_func_modf_use+set}" = set; then
26754 echo $ECHO_N "(cached) $ECHO_C" >&6
26755 else
26759 ac_ext=cc
26760 ac_cpp='$CXXCPP $CPPFLAGS'
26761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26765 cat >conftest.$ac_ext <<_ACEOF
26766 /* confdefs.h. */
26767 _ACEOF
26768 cat confdefs.h >>conftest.$ac_ext
26769 cat >>conftest.$ac_ext <<_ACEOF
26770 /* end confdefs.h. */
26771 #include <math.h>
26773 main ()
26775 modf(0, 0);
26777 return 0;
26779 _ACEOF
26780 rm -f conftest.$ac_objext
26781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26782 (eval $ac_compile) 2>conftest.er1
26783 ac_status=$?
26784 grep -v '^ *+' conftest.er1 >conftest.err
26785 rm -f conftest.er1
26786 cat conftest.err >&5
26787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26788 (exit $ac_status); } &&
26789 { ac_try='test -z "$ac_cxx_werror_flag"
26790 || test ! -s conftest.err'
26791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26792 (eval $ac_try) 2>&5
26793 ac_status=$?
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); }; } &&
26796 { ac_try='test -s conftest.$ac_objext'
26797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26798 (eval $ac_try) 2>&5
26799 ac_status=$?
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); }; }; then
26802 glibcxx_cv_func_modf_use=yes
26803 else
26804 echo "$as_me: failed program was:" >&5
26805 sed 's/^/| /' conftest.$ac_ext >&5
26807 glibcxx_cv_func_modf_use=no
26809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26810 ac_ext=c
26811 ac_cpp='$CPP $CPPFLAGS'
26812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26820 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
26821 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
26823 if test x$glibcxx_cv_func_modf_use = x"yes"; then
26825 for ac_func in modf
26827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26828 echo "$as_me:$LINENO: checking for $ac_func" >&5
26829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26830 if eval "test \"\${$as_ac_var+set}\" = set"; then
26831 echo $ECHO_N "(cached) $ECHO_C" >&6
26832 else
26833 if test x$gcc_no_link = xyes; then
26834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26836 { (exit 1); exit 1; }; }
26838 cat >conftest.$ac_ext <<_ACEOF
26839 /* confdefs.h. */
26840 _ACEOF
26841 cat confdefs.h >>conftest.$ac_ext
26842 cat >>conftest.$ac_ext <<_ACEOF
26843 /* end confdefs.h. */
26844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26846 #define $ac_func innocuous_$ac_func
26848 /* System header to define __stub macros and hopefully few prototypes,
26849 which can conflict with char $ac_func (); below.
26850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26851 <limits.h> exists even on freestanding compilers. */
26853 #ifdef __STDC__
26854 # include <limits.h>
26855 #else
26856 # include <assert.h>
26857 #endif
26859 #undef $ac_func
26861 /* Override any gcc2 internal prototype to avoid an error. */
26862 #ifdef __cplusplus
26863 extern "C"
26865 #endif
26866 /* We use char because int might match the return type of a gcc2
26867 builtin and then its argument prototype would still apply. */
26868 char $ac_func ();
26869 /* The GNU C library defines this for functions which it implements
26870 to always fail with ENOSYS. Some functions are actually named
26871 something starting with __ and the normal name is an alias. */
26872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26873 choke me
26874 #else
26875 char (*f) () = $ac_func;
26876 #endif
26877 #ifdef __cplusplus
26879 #endif
26882 main ()
26884 return f != $ac_func;
26886 return 0;
26888 _ACEOF
26889 rm -f conftest.$ac_objext conftest$ac_exeext
26890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26891 (eval $ac_link) 2>conftest.er1
26892 ac_status=$?
26893 grep -v '^ *+' conftest.er1 >conftest.err
26894 rm -f conftest.er1
26895 cat conftest.err >&5
26896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26897 (exit $ac_status); } &&
26898 { ac_try='test -z "$ac_c_werror_flag"
26899 || test ! -s conftest.err'
26900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26901 (eval $ac_try) 2>&5
26902 ac_status=$?
26903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26904 (exit $ac_status); }; } &&
26905 { ac_try='test -s conftest$ac_exeext'
26906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26907 (eval $ac_try) 2>&5
26908 ac_status=$?
26909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26910 (exit $ac_status); }; }; then
26911 eval "$as_ac_var=yes"
26912 else
26913 echo "$as_me: failed program was:" >&5
26914 sed 's/^/| /' conftest.$ac_ext >&5
26916 eval "$as_ac_var=no"
26918 rm -f conftest.err conftest.$ac_objext \
26919 conftest$ac_exeext conftest.$ac_ext
26921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26923 if test `eval echo '${'$as_ac_var'}'` = yes; then
26924 cat >>confdefs.h <<_ACEOF
26925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26926 _ACEOF
26929 done
26931 else
26933 echo "$as_me:$LINENO: checking for _modf declaration" >&5
26934 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
26935 if test x${glibcxx_cv_func__modf_use+set} != xset; then
26936 if test "${glibcxx_cv_func__modf_use+set}" = set; then
26937 echo $ECHO_N "(cached) $ECHO_C" >&6
26938 else
26942 ac_ext=cc
26943 ac_cpp='$CXXCPP $CPPFLAGS'
26944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26948 cat >conftest.$ac_ext <<_ACEOF
26949 /* confdefs.h. */
26950 _ACEOF
26951 cat confdefs.h >>conftest.$ac_ext
26952 cat >>conftest.$ac_ext <<_ACEOF
26953 /* end confdefs.h. */
26954 #include <math.h>
26956 main ()
26958 _modf(0, 0);
26960 return 0;
26962 _ACEOF
26963 rm -f conftest.$ac_objext
26964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26965 (eval $ac_compile) 2>conftest.er1
26966 ac_status=$?
26967 grep -v '^ *+' conftest.er1 >conftest.err
26968 rm -f conftest.er1
26969 cat conftest.err >&5
26970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26971 (exit $ac_status); } &&
26972 { ac_try='test -z "$ac_cxx_werror_flag"
26973 || test ! -s conftest.err'
26974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26975 (eval $ac_try) 2>&5
26976 ac_status=$?
26977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26978 (exit $ac_status); }; } &&
26979 { ac_try='test -s conftest.$ac_objext'
26980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26981 (eval $ac_try) 2>&5
26982 ac_status=$?
26983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26984 (exit $ac_status); }; }; then
26985 glibcxx_cv_func__modf_use=yes
26986 else
26987 echo "$as_me: failed program was:" >&5
26988 sed 's/^/| /' conftest.$ac_ext >&5
26990 glibcxx_cv_func__modf_use=no
26992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26993 ac_ext=c
26994 ac_cpp='$CPP $CPPFLAGS'
26995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27003 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
27004 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
27006 if test x$glibcxx_cv_func__modf_use = x"yes"; then
27008 for ac_func in _modf
27010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27011 echo "$as_me:$LINENO: checking for $ac_func" >&5
27012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27013 if eval "test \"\${$as_ac_var+set}\" = set"; then
27014 echo $ECHO_N "(cached) $ECHO_C" >&6
27015 else
27016 if test x$gcc_no_link = xyes; then
27017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27019 { (exit 1); exit 1; }; }
27021 cat >conftest.$ac_ext <<_ACEOF
27022 /* confdefs.h. */
27023 _ACEOF
27024 cat confdefs.h >>conftest.$ac_ext
27025 cat >>conftest.$ac_ext <<_ACEOF
27026 /* end confdefs.h. */
27027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27029 #define $ac_func innocuous_$ac_func
27031 /* System header to define __stub macros and hopefully few prototypes,
27032 which can conflict with char $ac_func (); below.
27033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27034 <limits.h> exists even on freestanding compilers. */
27036 #ifdef __STDC__
27037 # include <limits.h>
27038 #else
27039 # include <assert.h>
27040 #endif
27042 #undef $ac_func
27044 /* Override any gcc2 internal prototype to avoid an error. */
27045 #ifdef __cplusplus
27046 extern "C"
27048 #endif
27049 /* We use char because int might match the return type of a gcc2
27050 builtin and then its argument prototype would still apply. */
27051 char $ac_func ();
27052 /* The GNU C library defines this for functions which it implements
27053 to always fail with ENOSYS. Some functions are actually named
27054 something starting with __ and the normal name is an alias. */
27055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27056 choke me
27057 #else
27058 char (*f) () = $ac_func;
27059 #endif
27060 #ifdef __cplusplus
27062 #endif
27065 main ()
27067 return f != $ac_func;
27069 return 0;
27071 _ACEOF
27072 rm -f conftest.$ac_objext conftest$ac_exeext
27073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27074 (eval $ac_link) 2>conftest.er1
27075 ac_status=$?
27076 grep -v '^ *+' conftest.er1 >conftest.err
27077 rm -f conftest.er1
27078 cat conftest.err >&5
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); } &&
27081 { ac_try='test -z "$ac_c_werror_flag"
27082 || test ! -s conftest.err'
27083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27084 (eval $ac_try) 2>&5
27085 ac_status=$?
27086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27087 (exit $ac_status); }; } &&
27088 { ac_try='test -s conftest$ac_exeext'
27089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27090 (eval $ac_try) 2>&5
27091 ac_status=$?
27092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27093 (exit $ac_status); }; }; then
27094 eval "$as_ac_var=yes"
27095 else
27096 echo "$as_me: failed program was:" >&5
27097 sed 's/^/| /' conftest.$ac_ext >&5
27099 eval "$as_ac_var=no"
27101 rm -f conftest.err conftest.$ac_objext \
27102 conftest$ac_exeext conftest.$ac_ext
27104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27106 if test `eval echo '${'$as_ac_var'}'` = yes; then
27107 cat >>confdefs.h <<_ACEOF
27108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27109 _ACEOF
27112 done
27122 echo "$as_me:$LINENO: checking for powf declaration" >&5
27123 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
27124 if test x${glibcxx_cv_func_powf_use+set} != xset; then
27125 if test "${glibcxx_cv_func_powf_use+set}" = set; then
27126 echo $ECHO_N "(cached) $ECHO_C" >&6
27127 else
27131 ac_ext=cc
27132 ac_cpp='$CXXCPP $CPPFLAGS'
27133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27137 cat >conftest.$ac_ext <<_ACEOF
27138 /* confdefs.h. */
27139 _ACEOF
27140 cat confdefs.h >>conftest.$ac_ext
27141 cat >>conftest.$ac_ext <<_ACEOF
27142 /* end confdefs.h. */
27143 #include <math.h>
27145 main ()
27147 powf(0, 0);
27149 return 0;
27151 _ACEOF
27152 rm -f conftest.$ac_objext
27153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27154 (eval $ac_compile) 2>conftest.er1
27155 ac_status=$?
27156 grep -v '^ *+' conftest.er1 >conftest.err
27157 rm -f conftest.er1
27158 cat conftest.err >&5
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); } &&
27161 { ac_try='test -z "$ac_cxx_werror_flag"
27162 || test ! -s conftest.err'
27163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27164 (eval $ac_try) 2>&5
27165 ac_status=$?
27166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27167 (exit $ac_status); }; } &&
27168 { ac_try='test -s conftest.$ac_objext'
27169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27170 (eval $ac_try) 2>&5
27171 ac_status=$?
27172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27173 (exit $ac_status); }; }; then
27174 glibcxx_cv_func_powf_use=yes
27175 else
27176 echo "$as_me: failed program was:" >&5
27177 sed 's/^/| /' conftest.$ac_ext >&5
27179 glibcxx_cv_func_powf_use=no
27181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27182 ac_ext=c
27183 ac_cpp='$CPP $CPPFLAGS'
27184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27192 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
27193 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
27195 if test x$glibcxx_cv_func_powf_use = x"yes"; then
27197 for ac_func in powf
27199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27200 echo "$as_me:$LINENO: checking for $ac_func" >&5
27201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27202 if eval "test \"\${$as_ac_var+set}\" = set"; then
27203 echo $ECHO_N "(cached) $ECHO_C" >&6
27204 else
27205 if test x$gcc_no_link = xyes; then
27206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27208 { (exit 1); exit 1; }; }
27210 cat >conftest.$ac_ext <<_ACEOF
27211 /* confdefs.h. */
27212 _ACEOF
27213 cat confdefs.h >>conftest.$ac_ext
27214 cat >>conftest.$ac_ext <<_ACEOF
27215 /* end confdefs.h. */
27216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27218 #define $ac_func innocuous_$ac_func
27220 /* System header to define __stub macros and hopefully few prototypes,
27221 which can conflict with char $ac_func (); below.
27222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27223 <limits.h> exists even on freestanding compilers. */
27225 #ifdef __STDC__
27226 # include <limits.h>
27227 #else
27228 # include <assert.h>
27229 #endif
27231 #undef $ac_func
27233 /* Override any gcc2 internal prototype to avoid an error. */
27234 #ifdef __cplusplus
27235 extern "C"
27237 #endif
27238 /* We use char because int might match the return type of a gcc2
27239 builtin and then its argument prototype would still apply. */
27240 char $ac_func ();
27241 /* The GNU C library defines this for functions which it implements
27242 to always fail with ENOSYS. Some functions are actually named
27243 something starting with __ and the normal name is an alias. */
27244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27245 choke me
27246 #else
27247 char (*f) () = $ac_func;
27248 #endif
27249 #ifdef __cplusplus
27251 #endif
27254 main ()
27256 return f != $ac_func;
27258 return 0;
27260 _ACEOF
27261 rm -f conftest.$ac_objext conftest$ac_exeext
27262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27263 (eval $ac_link) 2>conftest.er1
27264 ac_status=$?
27265 grep -v '^ *+' conftest.er1 >conftest.err
27266 rm -f conftest.er1
27267 cat conftest.err >&5
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); } &&
27270 { ac_try='test -z "$ac_c_werror_flag"
27271 || test ! -s conftest.err'
27272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27273 (eval $ac_try) 2>&5
27274 ac_status=$?
27275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276 (exit $ac_status); }; } &&
27277 { ac_try='test -s conftest$ac_exeext'
27278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27279 (eval $ac_try) 2>&5
27280 ac_status=$?
27281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27282 (exit $ac_status); }; }; then
27283 eval "$as_ac_var=yes"
27284 else
27285 echo "$as_me: failed program was:" >&5
27286 sed 's/^/| /' conftest.$ac_ext >&5
27288 eval "$as_ac_var=no"
27290 rm -f conftest.err conftest.$ac_objext \
27291 conftest$ac_exeext conftest.$ac_ext
27293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27295 if test `eval echo '${'$as_ac_var'}'` = yes; then
27296 cat >>confdefs.h <<_ACEOF
27297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27298 _ACEOF
27301 done
27303 else
27305 echo "$as_me:$LINENO: checking for _powf declaration" >&5
27306 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
27307 if test x${glibcxx_cv_func__powf_use+set} != xset; then
27308 if test "${glibcxx_cv_func__powf_use+set}" = set; then
27309 echo $ECHO_N "(cached) $ECHO_C" >&6
27310 else
27314 ac_ext=cc
27315 ac_cpp='$CXXCPP $CPPFLAGS'
27316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27320 cat >conftest.$ac_ext <<_ACEOF
27321 /* confdefs.h. */
27322 _ACEOF
27323 cat confdefs.h >>conftest.$ac_ext
27324 cat >>conftest.$ac_ext <<_ACEOF
27325 /* end confdefs.h. */
27326 #include <math.h>
27328 main ()
27330 _powf(0, 0);
27332 return 0;
27334 _ACEOF
27335 rm -f conftest.$ac_objext
27336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27337 (eval $ac_compile) 2>conftest.er1
27338 ac_status=$?
27339 grep -v '^ *+' conftest.er1 >conftest.err
27340 rm -f conftest.er1
27341 cat conftest.err >&5
27342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27343 (exit $ac_status); } &&
27344 { ac_try='test -z "$ac_cxx_werror_flag"
27345 || test ! -s conftest.err'
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); }; } &&
27351 { ac_try='test -s conftest.$ac_objext'
27352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27353 (eval $ac_try) 2>&5
27354 ac_status=$?
27355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27356 (exit $ac_status); }; }; then
27357 glibcxx_cv_func__powf_use=yes
27358 else
27359 echo "$as_me: failed program was:" >&5
27360 sed 's/^/| /' conftest.$ac_ext >&5
27362 glibcxx_cv_func__powf_use=no
27364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27365 ac_ext=c
27366 ac_cpp='$CPP $CPPFLAGS'
27367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27375 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
27376 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
27378 if test x$glibcxx_cv_func__powf_use = x"yes"; then
27380 for ac_func in _powf
27382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27383 echo "$as_me:$LINENO: checking for $ac_func" >&5
27384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27385 if eval "test \"\${$as_ac_var+set}\" = set"; then
27386 echo $ECHO_N "(cached) $ECHO_C" >&6
27387 else
27388 if test x$gcc_no_link = xyes; then
27389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27391 { (exit 1); exit 1; }; }
27393 cat >conftest.$ac_ext <<_ACEOF
27394 /* confdefs.h. */
27395 _ACEOF
27396 cat confdefs.h >>conftest.$ac_ext
27397 cat >>conftest.$ac_ext <<_ACEOF
27398 /* end confdefs.h. */
27399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27401 #define $ac_func innocuous_$ac_func
27403 /* System header to define __stub macros and hopefully few prototypes,
27404 which can conflict with char $ac_func (); below.
27405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27406 <limits.h> exists even on freestanding compilers. */
27408 #ifdef __STDC__
27409 # include <limits.h>
27410 #else
27411 # include <assert.h>
27412 #endif
27414 #undef $ac_func
27416 /* Override any gcc2 internal prototype to avoid an error. */
27417 #ifdef __cplusplus
27418 extern "C"
27420 #endif
27421 /* We use char because int might match the return type of a gcc2
27422 builtin and then its argument prototype would still apply. */
27423 char $ac_func ();
27424 /* The GNU C library defines this for functions which it implements
27425 to always fail with ENOSYS. Some functions are actually named
27426 something starting with __ and the normal name is an alias. */
27427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27428 choke me
27429 #else
27430 char (*f) () = $ac_func;
27431 #endif
27432 #ifdef __cplusplus
27434 #endif
27437 main ()
27439 return f != $ac_func;
27441 return 0;
27443 _ACEOF
27444 rm -f conftest.$ac_objext conftest$ac_exeext
27445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27446 (eval $ac_link) 2>conftest.er1
27447 ac_status=$?
27448 grep -v '^ *+' conftest.er1 >conftest.err
27449 rm -f conftest.er1
27450 cat conftest.err >&5
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); } &&
27453 { ac_try='test -z "$ac_c_werror_flag"
27454 || test ! -s conftest.err'
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); }; } &&
27460 { ac_try='test -s conftest$ac_exeext'
27461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27462 (eval $ac_try) 2>&5
27463 ac_status=$?
27464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465 (exit $ac_status); }; }; then
27466 eval "$as_ac_var=yes"
27467 else
27468 echo "$as_me: failed program was:" >&5
27469 sed 's/^/| /' conftest.$ac_ext >&5
27471 eval "$as_ac_var=no"
27473 rm -f conftest.err conftest.$ac_objext \
27474 conftest$ac_exeext conftest.$ac_ext
27476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27478 if test `eval echo '${'$as_ac_var'}'` = yes; then
27479 cat >>confdefs.h <<_ACEOF
27480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27481 _ACEOF
27484 done
27494 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
27495 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
27496 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
27497 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
27498 echo $ECHO_N "(cached) $ECHO_C" >&6
27499 else
27503 ac_ext=cc
27504 ac_cpp='$CXXCPP $CPPFLAGS'
27505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27509 cat >conftest.$ac_ext <<_ACEOF
27510 /* confdefs.h. */
27511 _ACEOF
27512 cat confdefs.h >>conftest.$ac_ext
27513 cat >>conftest.$ac_ext <<_ACEOF
27514 /* end confdefs.h. */
27515 #include <math.h>
27516 #ifdef HAVE_IEEEFP_H
27517 #include <ieeefp.h>
27518 #endif
27521 main ()
27523 sqrtf(0);
27525 return 0;
27527 _ACEOF
27528 rm -f conftest.$ac_objext
27529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27530 (eval $ac_compile) 2>conftest.er1
27531 ac_status=$?
27532 grep -v '^ *+' conftest.er1 >conftest.err
27533 rm -f conftest.er1
27534 cat conftest.err >&5
27535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27536 (exit $ac_status); } &&
27537 { ac_try='test -z "$ac_cxx_werror_flag"
27538 || test ! -s conftest.err'
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); }; } &&
27544 { ac_try='test -s conftest.$ac_objext'
27545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27546 (eval $ac_try) 2>&5
27547 ac_status=$?
27548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27549 (exit $ac_status); }; }; then
27550 glibcxx_cv_func_sqrtf_use=yes
27551 else
27552 echo "$as_me: failed program was:" >&5
27553 sed 's/^/| /' conftest.$ac_ext >&5
27555 glibcxx_cv_func_sqrtf_use=no
27557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27558 ac_ext=c
27559 ac_cpp='$CPP $CPPFLAGS'
27560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27568 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27569 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
27571 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27573 for ac_func in sqrtf
27575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27576 echo "$as_me:$LINENO: checking for $ac_func" >&5
27577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27578 if eval "test \"\${$as_ac_var+set}\" = set"; then
27579 echo $ECHO_N "(cached) $ECHO_C" >&6
27580 else
27581 if test x$gcc_no_link = xyes; then
27582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27584 { (exit 1); exit 1; }; }
27586 cat >conftest.$ac_ext <<_ACEOF
27587 /* confdefs.h. */
27588 _ACEOF
27589 cat confdefs.h >>conftest.$ac_ext
27590 cat >>conftest.$ac_ext <<_ACEOF
27591 /* end confdefs.h. */
27592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27594 #define $ac_func innocuous_$ac_func
27596 /* System header to define __stub macros and hopefully few prototypes,
27597 which can conflict with char $ac_func (); below.
27598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27599 <limits.h> exists even on freestanding compilers. */
27601 #ifdef __STDC__
27602 # include <limits.h>
27603 #else
27604 # include <assert.h>
27605 #endif
27607 #undef $ac_func
27609 /* Override any gcc2 internal prototype to avoid an error. */
27610 #ifdef __cplusplus
27611 extern "C"
27613 #endif
27614 /* We use char because int might match the return type of a gcc2
27615 builtin and then its argument prototype would still apply. */
27616 char $ac_func ();
27617 /* The GNU C library defines this for functions which it implements
27618 to always fail with ENOSYS. Some functions are actually named
27619 something starting with __ and the normal name is an alias. */
27620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27621 choke me
27622 #else
27623 char (*f) () = $ac_func;
27624 #endif
27625 #ifdef __cplusplus
27627 #endif
27630 main ()
27632 return f != $ac_func;
27634 return 0;
27636 _ACEOF
27637 rm -f conftest.$ac_objext conftest$ac_exeext
27638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27639 (eval $ac_link) 2>conftest.er1
27640 ac_status=$?
27641 grep -v '^ *+' conftest.er1 >conftest.err
27642 rm -f conftest.er1
27643 cat conftest.err >&5
27644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27645 (exit $ac_status); } &&
27646 { ac_try='test -z "$ac_c_werror_flag"
27647 || test ! -s conftest.err'
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); }; } &&
27653 { ac_try='test -s conftest$ac_exeext'
27654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27655 (eval $ac_try) 2>&5
27656 ac_status=$?
27657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658 (exit $ac_status); }; }; then
27659 eval "$as_ac_var=yes"
27660 else
27661 echo "$as_me: failed program was:" >&5
27662 sed 's/^/| /' conftest.$ac_ext >&5
27664 eval "$as_ac_var=no"
27666 rm -f conftest.err conftest.$ac_objext \
27667 conftest$ac_exeext conftest.$ac_ext
27669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27671 if test `eval echo '${'$as_ac_var'}'` = yes; then
27672 cat >>confdefs.h <<_ACEOF
27673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27674 _ACEOF
27677 done
27679 else
27681 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
27682 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
27683 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
27684 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
27685 echo $ECHO_N "(cached) $ECHO_C" >&6
27686 else
27690 ac_ext=cc
27691 ac_cpp='$CXXCPP $CPPFLAGS'
27692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27696 cat >conftest.$ac_ext <<_ACEOF
27697 /* confdefs.h. */
27698 _ACEOF
27699 cat confdefs.h >>conftest.$ac_ext
27700 cat >>conftest.$ac_ext <<_ACEOF
27701 /* end confdefs.h. */
27702 #include <math.h>
27703 #ifdef HAVE_IEEEFP_H
27704 #include <ieeefp.h>
27705 #endif
27708 main ()
27710 _sqrtf(0);
27712 return 0;
27714 _ACEOF
27715 rm -f conftest.$ac_objext
27716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27717 (eval $ac_compile) 2>conftest.er1
27718 ac_status=$?
27719 grep -v '^ *+' conftest.er1 >conftest.err
27720 rm -f conftest.er1
27721 cat conftest.err >&5
27722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27723 (exit $ac_status); } &&
27724 { ac_try='test -z "$ac_cxx_werror_flag"
27725 || test ! -s conftest.err'
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); }; } &&
27731 { ac_try='test -s conftest.$ac_objext'
27732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27733 (eval $ac_try) 2>&5
27734 ac_status=$?
27735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736 (exit $ac_status); }; }; then
27737 glibcxx_cv_func__sqrtf_use=yes
27738 else
27739 echo "$as_me: failed program was:" >&5
27740 sed 's/^/| /' conftest.$ac_ext >&5
27742 glibcxx_cv_func__sqrtf_use=no
27744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27745 ac_ext=c
27746 ac_cpp='$CPP $CPPFLAGS'
27747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27755 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
27756 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
27758 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
27760 for ac_func in _sqrtf
27762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27763 echo "$as_me:$LINENO: checking for $ac_func" >&5
27764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27765 if eval "test \"\${$as_ac_var+set}\" = set"; then
27766 echo $ECHO_N "(cached) $ECHO_C" >&6
27767 else
27768 if test x$gcc_no_link = xyes; then
27769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27771 { (exit 1); exit 1; }; }
27773 cat >conftest.$ac_ext <<_ACEOF
27774 /* confdefs.h. */
27775 _ACEOF
27776 cat confdefs.h >>conftest.$ac_ext
27777 cat >>conftest.$ac_ext <<_ACEOF
27778 /* end confdefs.h. */
27779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27781 #define $ac_func innocuous_$ac_func
27783 /* System header to define __stub macros and hopefully few prototypes,
27784 which can conflict with char $ac_func (); below.
27785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27786 <limits.h> exists even on freestanding compilers. */
27788 #ifdef __STDC__
27789 # include <limits.h>
27790 #else
27791 # include <assert.h>
27792 #endif
27794 #undef $ac_func
27796 /* Override any gcc2 internal prototype to avoid an error. */
27797 #ifdef __cplusplus
27798 extern "C"
27800 #endif
27801 /* We use char because int might match the return type of a gcc2
27802 builtin and then its argument prototype would still apply. */
27803 char $ac_func ();
27804 /* The GNU C library defines this for functions which it implements
27805 to always fail with ENOSYS. Some functions are actually named
27806 something starting with __ and the normal name is an alias. */
27807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27808 choke me
27809 #else
27810 char (*f) () = $ac_func;
27811 #endif
27812 #ifdef __cplusplus
27814 #endif
27817 main ()
27819 return f != $ac_func;
27821 return 0;
27823 _ACEOF
27824 rm -f conftest.$ac_objext conftest$ac_exeext
27825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27826 (eval $ac_link) 2>conftest.er1
27827 ac_status=$?
27828 grep -v '^ *+' conftest.er1 >conftest.err
27829 rm -f conftest.er1
27830 cat conftest.err >&5
27831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27832 (exit $ac_status); } &&
27833 { ac_try='test -z "$ac_c_werror_flag"
27834 || test ! -s conftest.err'
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); }; } &&
27840 { ac_try='test -s conftest$ac_exeext'
27841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27842 (eval $ac_try) 2>&5
27843 ac_status=$?
27844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27845 (exit $ac_status); }; }; then
27846 eval "$as_ac_var=yes"
27847 else
27848 echo "$as_me: failed program was:" >&5
27849 sed 's/^/| /' conftest.$ac_ext >&5
27851 eval "$as_ac_var=no"
27853 rm -f conftest.err conftest.$ac_objext \
27854 conftest$ac_exeext conftest.$ac_ext
27856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27858 if test `eval echo '${'$as_ac_var'}'` = yes; then
27859 cat >>confdefs.h <<_ACEOF
27860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27861 _ACEOF
27864 done
27874 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
27875 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
27876 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
27877 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
27878 echo $ECHO_N "(cached) $ECHO_C" >&6
27879 else
27883 ac_ext=cc
27884 ac_cpp='$CXXCPP $CPPFLAGS'
27885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27889 cat >conftest.$ac_ext <<_ACEOF
27890 /* confdefs.h. */
27891 _ACEOF
27892 cat confdefs.h >>conftest.$ac_ext
27893 cat >>conftest.$ac_ext <<_ACEOF
27894 /* end confdefs.h. */
27895 #include <math.h>
27897 main ()
27899 sincosf(0, 0, 0);
27901 return 0;
27903 _ACEOF
27904 rm -f conftest.$ac_objext
27905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27906 (eval $ac_compile) 2>conftest.er1
27907 ac_status=$?
27908 grep -v '^ *+' conftest.er1 >conftest.err
27909 rm -f conftest.er1
27910 cat conftest.err >&5
27911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27912 (exit $ac_status); } &&
27913 { ac_try='test -z "$ac_cxx_werror_flag"
27914 || test ! -s conftest.err'
27915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27916 (eval $ac_try) 2>&5
27917 ac_status=$?
27918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27919 (exit $ac_status); }; } &&
27920 { ac_try='test -s conftest.$ac_objext'
27921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27922 (eval $ac_try) 2>&5
27923 ac_status=$?
27924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925 (exit $ac_status); }; }; then
27926 glibcxx_cv_func_sincosf_use=yes
27927 else
27928 echo "$as_me: failed program was:" >&5
27929 sed 's/^/| /' conftest.$ac_ext >&5
27931 glibcxx_cv_func_sincosf_use=no
27933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27934 ac_ext=c
27935 ac_cpp='$CPP $CPPFLAGS'
27936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27944 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
27945 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
27947 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
27949 for ac_func in sincosf
27951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27952 echo "$as_me:$LINENO: checking for $ac_func" >&5
27953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27954 if eval "test \"\${$as_ac_var+set}\" = set"; then
27955 echo $ECHO_N "(cached) $ECHO_C" >&6
27956 else
27957 if test x$gcc_no_link = xyes; then
27958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27960 { (exit 1); exit 1; }; }
27962 cat >conftest.$ac_ext <<_ACEOF
27963 /* confdefs.h. */
27964 _ACEOF
27965 cat confdefs.h >>conftest.$ac_ext
27966 cat >>conftest.$ac_ext <<_ACEOF
27967 /* end confdefs.h. */
27968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27970 #define $ac_func innocuous_$ac_func
27972 /* System header to define __stub macros and hopefully few prototypes,
27973 which can conflict with char $ac_func (); below.
27974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27975 <limits.h> exists even on freestanding compilers. */
27977 #ifdef __STDC__
27978 # include <limits.h>
27979 #else
27980 # include <assert.h>
27981 #endif
27983 #undef $ac_func
27985 /* Override any gcc2 internal prototype to avoid an error. */
27986 #ifdef __cplusplus
27987 extern "C"
27989 #endif
27990 /* We use char because int might match the return type of a gcc2
27991 builtin and then its argument prototype would still apply. */
27992 char $ac_func ();
27993 /* The GNU C library defines this for functions which it implements
27994 to always fail with ENOSYS. Some functions are actually named
27995 something starting with __ and the normal name is an alias. */
27996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27997 choke me
27998 #else
27999 char (*f) () = $ac_func;
28000 #endif
28001 #ifdef __cplusplus
28003 #endif
28006 main ()
28008 return f != $ac_func;
28010 return 0;
28012 _ACEOF
28013 rm -f conftest.$ac_objext conftest$ac_exeext
28014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28015 (eval $ac_link) 2>conftest.er1
28016 ac_status=$?
28017 grep -v '^ *+' conftest.er1 >conftest.err
28018 rm -f conftest.er1
28019 cat conftest.err >&5
28020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28021 (exit $ac_status); } &&
28022 { ac_try='test -z "$ac_c_werror_flag"
28023 || test ! -s conftest.err'
28024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28025 (eval $ac_try) 2>&5
28026 ac_status=$?
28027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28028 (exit $ac_status); }; } &&
28029 { ac_try='test -s conftest$ac_exeext'
28030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28031 (eval $ac_try) 2>&5
28032 ac_status=$?
28033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28034 (exit $ac_status); }; }; then
28035 eval "$as_ac_var=yes"
28036 else
28037 echo "$as_me: failed program was:" >&5
28038 sed 's/^/| /' conftest.$ac_ext >&5
28040 eval "$as_ac_var=no"
28042 rm -f conftest.err conftest.$ac_objext \
28043 conftest$ac_exeext conftest.$ac_ext
28045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28047 if test `eval echo '${'$as_ac_var'}'` = yes; then
28048 cat >>confdefs.h <<_ACEOF
28049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28050 _ACEOF
28053 done
28055 else
28057 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
28058 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
28059 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
28060 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
28061 echo $ECHO_N "(cached) $ECHO_C" >&6
28062 else
28066 ac_ext=cc
28067 ac_cpp='$CXXCPP $CPPFLAGS'
28068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28072 cat >conftest.$ac_ext <<_ACEOF
28073 /* confdefs.h. */
28074 _ACEOF
28075 cat confdefs.h >>conftest.$ac_ext
28076 cat >>conftest.$ac_ext <<_ACEOF
28077 /* end confdefs.h. */
28078 #include <math.h>
28080 main ()
28082 _sincosf(0, 0, 0);
28084 return 0;
28086 _ACEOF
28087 rm -f conftest.$ac_objext
28088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28089 (eval $ac_compile) 2>conftest.er1
28090 ac_status=$?
28091 grep -v '^ *+' conftest.er1 >conftest.err
28092 rm -f conftest.er1
28093 cat conftest.err >&5
28094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28095 (exit $ac_status); } &&
28096 { ac_try='test -z "$ac_cxx_werror_flag"
28097 || test ! -s conftest.err'
28098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28099 (eval $ac_try) 2>&5
28100 ac_status=$?
28101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28102 (exit $ac_status); }; } &&
28103 { ac_try='test -s conftest.$ac_objext'
28104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28105 (eval $ac_try) 2>&5
28106 ac_status=$?
28107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28108 (exit $ac_status); }; }; then
28109 glibcxx_cv_func__sincosf_use=yes
28110 else
28111 echo "$as_me: failed program was:" >&5
28112 sed 's/^/| /' conftest.$ac_ext >&5
28114 glibcxx_cv_func__sincosf_use=no
28116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28117 ac_ext=c
28118 ac_cpp='$CPP $CPPFLAGS'
28119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28127 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
28128 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
28130 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
28132 for ac_func in _sincosf
28134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28135 echo "$as_me:$LINENO: checking for $ac_func" >&5
28136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28137 if eval "test \"\${$as_ac_var+set}\" = set"; then
28138 echo $ECHO_N "(cached) $ECHO_C" >&6
28139 else
28140 if test x$gcc_no_link = xyes; then
28141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28143 { (exit 1); exit 1; }; }
28145 cat >conftest.$ac_ext <<_ACEOF
28146 /* confdefs.h. */
28147 _ACEOF
28148 cat confdefs.h >>conftest.$ac_ext
28149 cat >>conftest.$ac_ext <<_ACEOF
28150 /* end confdefs.h. */
28151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28153 #define $ac_func innocuous_$ac_func
28155 /* System header to define __stub macros and hopefully few prototypes,
28156 which can conflict with char $ac_func (); below.
28157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28158 <limits.h> exists even on freestanding compilers. */
28160 #ifdef __STDC__
28161 # include <limits.h>
28162 #else
28163 # include <assert.h>
28164 #endif
28166 #undef $ac_func
28168 /* Override any gcc2 internal prototype to avoid an error. */
28169 #ifdef __cplusplus
28170 extern "C"
28172 #endif
28173 /* We use char because int might match the return type of a gcc2
28174 builtin and then its argument prototype would still apply. */
28175 char $ac_func ();
28176 /* The GNU C library defines this for functions which it implements
28177 to always fail with ENOSYS. Some functions are actually named
28178 something starting with __ and the normal name is an alias. */
28179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28180 choke me
28181 #else
28182 char (*f) () = $ac_func;
28183 #endif
28184 #ifdef __cplusplus
28186 #endif
28189 main ()
28191 return f != $ac_func;
28193 return 0;
28195 _ACEOF
28196 rm -f conftest.$ac_objext conftest$ac_exeext
28197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28198 (eval $ac_link) 2>conftest.er1
28199 ac_status=$?
28200 grep -v '^ *+' conftest.er1 >conftest.err
28201 rm -f conftest.er1
28202 cat conftest.err >&5
28203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28204 (exit $ac_status); } &&
28205 { ac_try='test -z "$ac_c_werror_flag"
28206 || test ! -s conftest.err'
28207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28208 (eval $ac_try) 2>&5
28209 ac_status=$?
28210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28211 (exit $ac_status); }; } &&
28212 { ac_try='test -s conftest$ac_exeext'
28213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28214 (eval $ac_try) 2>&5
28215 ac_status=$?
28216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28217 (exit $ac_status); }; }; then
28218 eval "$as_ac_var=yes"
28219 else
28220 echo "$as_me: failed program was:" >&5
28221 sed 's/^/| /' conftest.$ac_ext >&5
28223 eval "$as_ac_var=no"
28225 rm -f conftest.err conftest.$ac_objext \
28226 conftest$ac_exeext conftest.$ac_ext
28228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28230 if test `eval echo '${'$as_ac_var'}'` = yes; then
28231 cat >>confdefs.h <<_ACEOF
28232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28233 _ACEOF
28236 done
28246 echo "$as_me:$LINENO: checking for finitef declaration" >&5
28247 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
28248 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
28249 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
28250 echo $ECHO_N "(cached) $ECHO_C" >&6
28251 else
28255 ac_ext=cc
28256 ac_cpp='$CXXCPP $CPPFLAGS'
28257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28261 cat >conftest.$ac_ext <<_ACEOF
28262 /* confdefs.h. */
28263 _ACEOF
28264 cat confdefs.h >>conftest.$ac_ext
28265 cat >>conftest.$ac_ext <<_ACEOF
28266 /* end confdefs.h. */
28267 #include <math.h>
28268 #ifdef HAVE_IEEEFP_H
28269 #include <ieeefp.h>
28270 #endif
28273 main ()
28275 finitef(0);
28277 return 0;
28279 _ACEOF
28280 rm -f conftest.$ac_objext
28281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28282 (eval $ac_compile) 2>conftest.er1
28283 ac_status=$?
28284 grep -v '^ *+' conftest.er1 >conftest.err
28285 rm -f conftest.er1
28286 cat conftest.err >&5
28287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28288 (exit $ac_status); } &&
28289 { ac_try='test -z "$ac_cxx_werror_flag"
28290 || test ! -s conftest.err'
28291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28292 (eval $ac_try) 2>&5
28293 ac_status=$?
28294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28295 (exit $ac_status); }; } &&
28296 { ac_try='test -s conftest.$ac_objext'
28297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28298 (eval $ac_try) 2>&5
28299 ac_status=$?
28300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28301 (exit $ac_status); }; }; then
28302 glibcxx_cv_func_finitef_use=yes
28303 else
28304 echo "$as_me: failed program was:" >&5
28305 sed 's/^/| /' conftest.$ac_ext >&5
28307 glibcxx_cv_func_finitef_use=no
28309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28310 ac_ext=c
28311 ac_cpp='$CPP $CPPFLAGS'
28312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28320 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
28321 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
28323 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
28325 for ac_func in finitef
28327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28328 echo "$as_me:$LINENO: checking for $ac_func" >&5
28329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28330 if eval "test \"\${$as_ac_var+set}\" = set"; then
28331 echo $ECHO_N "(cached) $ECHO_C" >&6
28332 else
28333 if test x$gcc_no_link = xyes; then
28334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28336 { (exit 1); exit 1; }; }
28338 cat >conftest.$ac_ext <<_ACEOF
28339 /* confdefs.h. */
28340 _ACEOF
28341 cat confdefs.h >>conftest.$ac_ext
28342 cat >>conftest.$ac_ext <<_ACEOF
28343 /* end confdefs.h. */
28344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28346 #define $ac_func innocuous_$ac_func
28348 /* System header to define __stub macros and hopefully few prototypes,
28349 which can conflict with char $ac_func (); below.
28350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28351 <limits.h> exists even on freestanding compilers. */
28353 #ifdef __STDC__
28354 # include <limits.h>
28355 #else
28356 # include <assert.h>
28357 #endif
28359 #undef $ac_func
28361 /* Override any gcc2 internal prototype to avoid an error. */
28362 #ifdef __cplusplus
28363 extern "C"
28365 #endif
28366 /* We use char because int might match the return type of a gcc2
28367 builtin and then its argument prototype would still apply. */
28368 char $ac_func ();
28369 /* The GNU C library defines this for functions which it implements
28370 to always fail with ENOSYS. Some functions are actually named
28371 something starting with __ and the normal name is an alias. */
28372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28373 choke me
28374 #else
28375 char (*f) () = $ac_func;
28376 #endif
28377 #ifdef __cplusplus
28379 #endif
28382 main ()
28384 return f != $ac_func;
28386 return 0;
28388 _ACEOF
28389 rm -f conftest.$ac_objext conftest$ac_exeext
28390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28391 (eval $ac_link) 2>conftest.er1
28392 ac_status=$?
28393 grep -v '^ *+' conftest.er1 >conftest.err
28394 rm -f conftest.er1
28395 cat conftest.err >&5
28396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397 (exit $ac_status); } &&
28398 { ac_try='test -z "$ac_c_werror_flag"
28399 || test ! -s conftest.err'
28400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28401 (eval $ac_try) 2>&5
28402 ac_status=$?
28403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28404 (exit $ac_status); }; } &&
28405 { ac_try='test -s conftest$ac_exeext'
28406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28407 (eval $ac_try) 2>&5
28408 ac_status=$?
28409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28410 (exit $ac_status); }; }; then
28411 eval "$as_ac_var=yes"
28412 else
28413 echo "$as_me: failed program was:" >&5
28414 sed 's/^/| /' conftest.$ac_ext >&5
28416 eval "$as_ac_var=no"
28418 rm -f conftest.err conftest.$ac_objext \
28419 conftest$ac_exeext conftest.$ac_ext
28421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28423 if test `eval echo '${'$as_ac_var'}'` = yes; then
28424 cat >>confdefs.h <<_ACEOF
28425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28426 _ACEOF
28429 done
28431 else
28433 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
28434 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
28435 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
28436 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
28437 echo $ECHO_N "(cached) $ECHO_C" >&6
28438 else
28442 ac_ext=cc
28443 ac_cpp='$CXXCPP $CPPFLAGS'
28444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28448 cat >conftest.$ac_ext <<_ACEOF
28449 /* confdefs.h. */
28450 _ACEOF
28451 cat confdefs.h >>conftest.$ac_ext
28452 cat >>conftest.$ac_ext <<_ACEOF
28453 /* end confdefs.h. */
28454 #include <math.h>
28455 #ifdef HAVE_IEEEFP_H
28456 #include <ieeefp.h>
28457 #endif
28460 main ()
28462 _finitef(0);
28464 return 0;
28466 _ACEOF
28467 rm -f conftest.$ac_objext
28468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28469 (eval $ac_compile) 2>conftest.er1
28470 ac_status=$?
28471 grep -v '^ *+' conftest.er1 >conftest.err
28472 rm -f conftest.er1
28473 cat conftest.err >&5
28474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28475 (exit $ac_status); } &&
28476 { ac_try='test -z "$ac_cxx_werror_flag"
28477 || test ! -s conftest.err'
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); }; } &&
28483 { ac_try='test -s conftest.$ac_objext'
28484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28485 (eval $ac_try) 2>&5
28486 ac_status=$?
28487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28488 (exit $ac_status); }; }; then
28489 glibcxx_cv_func__finitef_use=yes
28490 else
28491 echo "$as_me: failed program was:" >&5
28492 sed 's/^/| /' conftest.$ac_ext >&5
28494 glibcxx_cv_func__finitef_use=no
28496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28497 ac_ext=c
28498 ac_cpp='$CPP $CPPFLAGS'
28499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28507 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
28508 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
28510 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
28512 for ac_func in _finitef
28514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28515 echo "$as_me:$LINENO: checking for $ac_func" >&5
28516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28517 if eval "test \"\${$as_ac_var+set}\" = set"; then
28518 echo $ECHO_N "(cached) $ECHO_C" >&6
28519 else
28520 if test x$gcc_no_link = xyes; then
28521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28523 { (exit 1); exit 1; }; }
28525 cat >conftest.$ac_ext <<_ACEOF
28526 /* confdefs.h. */
28527 _ACEOF
28528 cat confdefs.h >>conftest.$ac_ext
28529 cat >>conftest.$ac_ext <<_ACEOF
28530 /* end confdefs.h. */
28531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28533 #define $ac_func innocuous_$ac_func
28535 /* System header to define __stub macros and hopefully few prototypes,
28536 which can conflict with char $ac_func (); below.
28537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28538 <limits.h> exists even on freestanding compilers. */
28540 #ifdef __STDC__
28541 # include <limits.h>
28542 #else
28543 # include <assert.h>
28544 #endif
28546 #undef $ac_func
28548 /* Override any gcc2 internal prototype to avoid an error. */
28549 #ifdef __cplusplus
28550 extern "C"
28552 #endif
28553 /* We use char because int might match the return type of a gcc2
28554 builtin and then its argument prototype would still apply. */
28555 char $ac_func ();
28556 /* The GNU C library defines this for functions which it implements
28557 to always fail with ENOSYS. Some functions are actually named
28558 something starting with __ and the normal name is an alias. */
28559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28560 choke me
28561 #else
28562 char (*f) () = $ac_func;
28563 #endif
28564 #ifdef __cplusplus
28566 #endif
28569 main ()
28571 return f != $ac_func;
28573 return 0;
28575 _ACEOF
28576 rm -f conftest.$ac_objext conftest$ac_exeext
28577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28578 (eval $ac_link) 2>conftest.er1
28579 ac_status=$?
28580 grep -v '^ *+' conftest.er1 >conftest.err
28581 rm -f conftest.er1
28582 cat conftest.err >&5
28583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584 (exit $ac_status); } &&
28585 { ac_try='test -z "$ac_c_werror_flag"
28586 || test ! -s conftest.err'
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); }; } &&
28592 { ac_try='test -s conftest$ac_exeext'
28593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28594 (eval $ac_try) 2>&5
28595 ac_status=$?
28596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597 (exit $ac_status); }; }; then
28598 eval "$as_ac_var=yes"
28599 else
28600 echo "$as_me: failed program was:" >&5
28601 sed 's/^/| /' conftest.$ac_ext >&5
28603 eval "$as_ac_var=no"
28605 rm -f conftest.err conftest.$ac_objext \
28606 conftest$ac_exeext conftest.$ac_ext
28608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28610 if test `eval echo '${'$as_ac_var'}'` = yes; then
28611 cat >>confdefs.h <<_ACEOF
28612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28613 _ACEOF
28616 done
28626 echo "$as_me:$LINENO: checking for long double trig functions" >&5
28627 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
28628 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
28629 echo $ECHO_N "(cached) $ECHO_C" >&6
28630 else
28634 ac_ext=cc
28635 ac_cpp='$CXXCPP $CPPFLAGS'
28636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28640 cat >conftest.$ac_ext <<_ACEOF
28641 /* confdefs.h. */
28642 _ACEOF
28643 cat confdefs.h >>conftest.$ac_ext
28644 cat >>conftest.$ac_ext <<_ACEOF
28645 /* end confdefs.h. */
28646 #include <math.h>
28648 main ()
28650 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
28652 return 0;
28654 _ACEOF
28655 rm -f conftest.$ac_objext
28656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28657 (eval $ac_compile) 2>conftest.er1
28658 ac_status=$?
28659 grep -v '^ *+' conftest.er1 >conftest.err
28660 rm -f conftest.er1
28661 cat conftest.err >&5
28662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28663 (exit $ac_status); } &&
28664 { ac_try='test -z "$ac_cxx_werror_flag"
28665 || test ! -s conftest.err'
28666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28667 (eval $ac_try) 2>&5
28668 ac_status=$?
28669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28670 (exit $ac_status); }; } &&
28671 { ac_try='test -s conftest.$ac_objext'
28672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28673 (eval $ac_try) 2>&5
28674 ac_status=$?
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); }; }; then
28677 glibcxx_cv_func_long_double_trig_use=yes
28678 else
28679 echo "$as_me: failed program was:" >&5
28680 sed 's/^/| /' conftest.$ac_ext >&5
28682 glibcxx_cv_func_long_double_trig_use=no
28684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28685 ac_ext=c
28686 ac_cpp='$CPP $CPPFLAGS'
28687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28693 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
28694 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
28695 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
28705 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
28707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28708 echo "$as_me:$LINENO: checking for $ac_func" >&5
28709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28710 if eval "test \"\${$as_ac_var+set}\" = set"; then
28711 echo $ECHO_N "(cached) $ECHO_C" >&6
28712 else
28713 if test x$gcc_no_link = xyes; then
28714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28716 { (exit 1); exit 1; }; }
28718 cat >conftest.$ac_ext <<_ACEOF
28719 /* confdefs.h. */
28720 _ACEOF
28721 cat confdefs.h >>conftest.$ac_ext
28722 cat >>conftest.$ac_ext <<_ACEOF
28723 /* end confdefs.h. */
28724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28726 #define $ac_func innocuous_$ac_func
28728 /* System header to define __stub macros and hopefully few prototypes,
28729 which can conflict with char $ac_func (); below.
28730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28731 <limits.h> exists even on freestanding compilers. */
28733 #ifdef __STDC__
28734 # include <limits.h>
28735 #else
28736 # include <assert.h>
28737 #endif
28739 #undef $ac_func
28741 /* Override any gcc2 internal prototype to avoid an error. */
28742 #ifdef __cplusplus
28743 extern "C"
28745 #endif
28746 /* We use char because int might match the return type of a gcc2
28747 builtin and then its argument prototype would still apply. */
28748 char $ac_func ();
28749 /* The GNU C library defines this for functions which it implements
28750 to always fail with ENOSYS. Some functions are actually named
28751 something starting with __ and the normal name is an alias. */
28752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28753 choke me
28754 #else
28755 char (*f) () = $ac_func;
28756 #endif
28757 #ifdef __cplusplus
28759 #endif
28762 main ()
28764 return f != $ac_func;
28766 return 0;
28768 _ACEOF
28769 rm -f conftest.$ac_objext conftest$ac_exeext
28770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28771 (eval $ac_link) 2>conftest.er1
28772 ac_status=$?
28773 grep -v '^ *+' conftest.er1 >conftest.err
28774 rm -f conftest.er1
28775 cat conftest.err >&5
28776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28777 (exit $ac_status); } &&
28778 { ac_try='test -z "$ac_c_werror_flag"
28779 || test ! -s conftest.err'
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); }; } &&
28785 { ac_try='test -s conftest$ac_exeext'
28786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28787 (eval $ac_try) 2>&5
28788 ac_status=$?
28789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28790 (exit $ac_status); }; }; then
28791 eval "$as_ac_var=yes"
28792 else
28793 echo "$as_me: failed program was:" >&5
28794 sed 's/^/| /' conftest.$ac_ext >&5
28796 eval "$as_ac_var=no"
28798 rm -f conftest.err conftest.$ac_objext \
28799 conftest$ac_exeext conftest.$ac_ext
28801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28803 if test `eval echo '${'$as_ac_var'}'` = yes; then
28804 cat >>confdefs.h <<_ACEOF
28805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28806 _ACEOF
28809 done
28811 else
28812 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
28813 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
28814 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
28815 echo $ECHO_N "(cached) $ECHO_C" >&6
28816 else
28820 ac_ext=cc
28821 ac_cpp='$CXXCPP $CPPFLAGS'
28822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28826 cat >conftest.$ac_ext <<_ACEOF
28827 /* confdefs.h. */
28828 _ACEOF
28829 cat confdefs.h >>conftest.$ac_ext
28830 cat >>conftest.$ac_ext <<_ACEOF
28831 /* end confdefs.h. */
28832 #include <math.h>
28834 main ()
28836 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (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__long_double_trig_use=yes
28864 else
28865 echo "$as_me: failed program was:" >&5
28866 sed 's/^/| /' conftest.$ac_ext >&5
28868 glibcxx_cv_func__long_double_trig_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
28879 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
28880 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
28881 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
28891 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
28893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28894 echo "$as_me:$LINENO: checking for $ac_func" >&5
28895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28896 if eval "test \"\${$as_ac_var+set}\" = set"; then
28897 echo $ECHO_N "(cached) $ECHO_C" >&6
28898 else
28899 if test x$gcc_no_link = xyes; then
28900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28902 { (exit 1); exit 1; }; }
28904 cat >conftest.$ac_ext <<_ACEOF
28905 /* confdefs.h. */
28906 _ACEOF
28907 cat confdefs.h >>conftest.$ac_ext
28908 cat >>conftest.$ac_ext <<_ACEOF
28909 /* end confdefs.h. */
28910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28912 #define $ac_func innocuous_$ac_func
28914 /* System header to define __stub macros and hopefully few prototypes,
28915 which can conflict with char $ac_func (); below.
28916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28917 <limits.h> exists even on freestanding compilers. */
28919 #ifdef __STDC__
28920 # include <limits.h>
28921 #else
28922 # include <assert.h>
28923 #endif
28925 #undef $ac_func
28927 /* Override any gcc2 internal prototype to avoid an error. */
28928 #ifdef __cplusplus
28929 extern "C"
28931 #endif
28932 /* We use char because int might match the return type of a gcc2
28933 builtin and then its argument prototype would still apply. */
28934 char $ac_func ();
28935 /* The GNU C library defines this for functions which it implements
28936 to always fail with ENOSYS. Some functions are actually named
28937 something starting with __ and the normal name is an alias. */
28938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28939 choke me
28940 #else
28941 char (*f) () = $ac_func;
28942 #endif
28943 #ifdef __cplusplus
28945 #endif
28948 main ()
28950 return f != $ac_func;
28952 return 0;
28954 _ACEOF
28955 rm -f conftest.$ac_objext conftest$ac_exeext
28956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28957 (eval $ac_link) 2>conftest.er1
28958 ac_status=$?
28959 grep -v '^ *+' conftest.er1 >conftest.err
28960 rm -f conftest.er1
28961 cat conftest.err >&5
28962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28963 (exit $ac_status); } &&
28964 { ac_try='test -z "$ac_c_werror_flag"
28965 || test ! -s conftest.err'
28966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28967 (eval $ac_try) 2>&5
28968 ac_status=$?
28969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28970 (exit $ac_status); }; } &&
28971 { ac_try='test -s conftest$ac_exeext'
28972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28973 (eval $ac_try) 2>&5
28974 ac_status=$?
28975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28976 (exit $ac_status); }; }; then
28977 eval "$as_ac_var=yes"
28978 else
28979 echo "$as_me: failed program was:" >&5
28980 sed 's/^/| /' conftest.$ac_ext >&5
28982 eval "$as_ac_var=no"
28984 rm -f conftest.err conftest.$ac_objext \
28985 conftest$ac_exeext conftest.$ac_ext
28987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28989 if test `eval echo '${'$as_ac_var'}'` = yes; then
28990 cat >>confdefs.h <<_ACEOF
28991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28992 _ACEOF
28995 done
29013 echo "$as_me:$LINENO: checking for long double round functions" >&5
29014 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
29015 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
29016 echo $ECHO_N "(cached) $ECHO_C" >&6
29017 else
29021 ac_ext=cc
29022 ac_cpp='$CXXCPP $CPPFLAGS'
29023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29027 cat >conftest.$ac_ext <<_ACEOF
29028 /* confdefs.h. */
29029 _ACEOF
29030 cat confdefs.h >>conftest.$ac_ext
29031 cat >>conftest.$ac_ext <<_ACEOF
29032 /* end confdefs.h. */
29033 #include <math.h>
29035 main ()
29037 ceill (0); floorl (0);
29039 return 0;
29041 _ACEOF
29042 rm -f conftest.$ac_objext
29043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29044 (eval $ac_compile) 2>conftest.er1
29045 ac_status=$?
29046 grep -v '^ *+' conftest.er1 >conftest.err
29047 rm -f conftest.er1
29048 cat conftest.err >&5
29049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29050 (exit $ac_status); } &&
29051 { ac_try='test -z "$ac_cxx_werror_flag"
29052 || test ! -s conftest.err'
29053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29054 (eval $ac_try) 2>&5
29055 ac_status=$?
29056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29057 (exit $ac_status); }; } &&
29058 { ac_try='test -s conftest.$ac_objext'
29059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29060 (eval $ac_try) 2>&5
29061 ac_status=$?
29062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29063 (exit $ac_status); }; }; then
29064 glibcxx_cv_func_long_double_round_use=yes
29065 else
29066 echo "$as_me: failed program was:" >&5
29067 sed 's/^/| /' conftest.$ac_ext >&5
29069 glibcxx_cv_func_long_double_round_use=no
29071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29072 ac_ext=c
29073 ac_cpp='$CPP $CPPFLAGS'
29074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29080 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
29081 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
29082 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29085 for ac_func in ceill floorl
29087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29088 echo "$as_me:$LINENO: checking for $ac_func" >&5
29089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29090 if eval "test \"\${$as_ac_var+set}\" = set"; then
29091 echo $ECHO_N "(cached) $ECHO_C" >&6
29092 else
29093 if test x$gcc_no_link = xyes; then
29094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29096 { (exit 1); exit 1; }; }
29098 cat >conftest.$ac_ext <<_ACEOF
29099 /* confdefs.h. */
29100 _ACEOF
29101 cat confdefs.h >>conftest.$ac_ext
29102 cat >>conftest.$ac_ext <<_ACEOF
29103 /* end confdefs.h. */
29104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29106 #define $ac_func innocuous_$ac_func
29108 /* System header to define __stub macros and hopefully few prototypes,
29109 which can conflict with char $ac_func (); below.
29110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29111 <limits.h> exists even on freestanding compilers. */
29113 #ifdef __STDC__
29114 # include <limits.h>
29115 #else
29116 # include <assert.h>
29117 #endif
29119 #undef $ac_func
29121 /* Override any gcc2 internal prototype to avoid an error. */
29122 #ifdef __cplusplus
29123 extern "C"
29125 #endif
29126 /* We use char because int might match the return type of a gcc2
29127 builtin and then its argument prototype would still apply. */
29128 char $ac_func ();
29129 /* The GNU C library defines this for functions which it implements
29130 to always fail with ENOSYS. Some functions are actually named
29131 something starting with __ and the normal name is an alias. */
29132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29133 choke me
29134 #else
29135 char (*f) () = $ac_func;
29136 #endif
29137 #ifdef __cplusplus
29139 #endif
29142 main ()
29144 return f != $ac_func;
29146 return 0;
29148 _ACEOF
29149 rm -f conftest.$ac_objext conftest$ac_exeext
29150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29151 (eval $ac_link) 2>conftest.er1
29152 ac_status=$?
29153 grep -v '^ *+' conftest.er1 >conftest.err
29154 rm -f conftest.er1
29155 cat conftest.err >&5
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); } &&
29158 { ac_try='test -z "$ac_c_werror_flag"
29159 || test ! -s conftest.err'
29160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29161 (eval $ac_try) 2>&5
29162 ac_status=$?
29163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164 (exit $ac_status); }; } &&
29165 { ac_try='test -s conftest$ac_exeext'
29166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29167 (eval $ac_try) 2>&5
29168 ac_status=$?
29169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170 (exit $ac_status); }; }; then
29171 eval "$as_ac_var=yes"
29172 else
29173 echo "$as_me: failed program was:" >&5
29174 sed 's/^/| /' conftest.$ac_ext >&5
29176 eval "$as_ac_var=no"
29178 rm -f conftest.err conftest.$ac_objext \
29179 conftest$ac_exeext conftest.$ac_ext
29181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29183 if test `eval echo '${'$as_ac_var'}'` = yes; then
29184 cat >>confdefs.h <<_ACEOF
29185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29186 _ACEOF
29189 done
29191 else
29192 echo "$as_me:$LINENO: checking for _long double round functions" >&5
29193 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
29194 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
29195 echo $ECHO_N "(cached) $ECHO_C" >&6
29196 else
29200 ac_ext=cc
29201 ac_cpp='$CXXCPP $CPPFLAGS'
29202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29206 cat >conftest.$ac_ext <<_ACEOF
29207 /* confdefs.h. */
29208 _ACEOF
29209 cat confdefs.h >>conftest.$ac_ext
29210 cat >>conftest.$ac_ext <<_ACEOF
29211 /* end confdefs.h. */
29212 #include <math.h>
29214 main ()
29216 _ceill (0); _floorl (0);
29218 return 0;
29220 _ACEOF
29221 rm -f conftest.$ac_objext
29222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29223 (eval $ac_compile) 2>conftest.er1
29224 ac_status=$?
29225 grep -v '^ *+' conftest.er1 >conftest.err
29226 rm -f conftest.er1
29227 cat conftest.err >&5
29228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29229 (exit $ac_status); } &&
29230 { ac_try='test -z "$ac_cxx_werror_flag"
29231 || test ! -s conftest.err'
29232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29233 (eval $ac_try) 2>&5
29234 ac_status=$?
29235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29236 (exit $ac_status); }; } &&
29237 { ac_try='test -s conftest.$ac_objext'
29238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29239 (eval $ac_try) 2>&5
29240 ac_status=$?
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); }; }; then
29243 glibcxx_cv_func__long_double_round_use=yes
29244 else
29245 echo "$as_me: failed program was:" >&5
29246 sed 's/^/| /' conftest.$ac_ext >&5
29248 glibcxx_cv_func__long_double_round_use=no
29250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29251 ac_ext=c
29252 ac_cpp='$CPP $CPPFLAGS'
29253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29259 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
29260 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
29261 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29264 for ac_func in _ceill _floorl
29266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29267 echo "$as_me:$LINENO: checking for $ac_func" >&5
29268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29269 if eval "test \"\${$as_ac_var+set}\" = set"; then
29270 echo $ECHO_N "(cached) $ECHO_C" >&6
29271 else
29272 if test x$gcc_no_link = xyes; then
29273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29275 { (exit 1); exit 1; }; }
29277 cat >conftest.$ac_ext <<_ACEOF
29278 /* confdefs.h. */
29279 _ACEOF
29280 cat confdefs.h >>conftest.$ac_ext
29281 cat >>conftest.$ac_ext <<_ACEOF
29282 /* end confdefs.h. */
29283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29285 #define $ac_func innocuous_$ac_func
29287 /* System header to define __stub macros and hopefully few prototypes,
29288 which can conflict with char $ac_func (); below.
29289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29290 <limits.h> exists even on freestanding compilers. */
29292 #ifdef __STDC__
29293 # include <limits.h>
29294 #else
29295 # include <assert.h>
29296 #endif
29298 #undef $ac_func
29300 /* Override any gcc2 internal prototype to avoid an error. */
29301 #ifdef __cplusplus
29302 extern "C"
29304 #endif
29305 /* We use char because int might match the return type of a gcc2
29306 builtin and then its argument prototype would still apply. */
29307 char $ac_func ();
29308 /* The GNU C library defines this for functions which it implements
29309 to always fail with ENOSYS. Some functions are actually named
29310 something starting with __ and the normal name is an alias. */
29311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29312 choke me
29313 #else
29314 char (*f) () = $ac_func;
29315 #endif
29316 #ifdef __cplusplus
29318 #endif
29321 main ()
29323 return f != $ac_func;
29325 return 0;
29327 _ACEOF
29328 rm -f conftest.$ac_objext conftest$ac_exeext
29329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29330 (eval $ac_link) 2>conftest.er1
29331 ac_status=$?
29332 grep -v '^ *+' conftest.er1 >conftest.err
29333 rm -f conftest.er1
29334 cat conftest.err >&5
29335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29336 (exit $ac_status); } &&
29337 { ac_try='test -z "$ac_c_werror_flag"
29338 || test ! -s conftest.err'
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); }; } &&
29344 { ac_try='test -s conftest$ac_exeext'
29345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29346 (eval $ac_try) 2>&5
29347 ac_status=$?
29348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29349 (exit $ac_status); }; }; then
29350 eval "$as_ac_var=yes"
29351 else
29352 echo "$as_me: failed program was:" >&5
29353 sed 's/^/| /' conftest.$ac_ext >&5
29355 eval "$as_ac_var=no"
29357 rm -f conftest.err conftest.$ac_objext \
29358 conftest$ac_exeext conftest.$ac_ext
29360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29362 if test `eval echo '${'$as_ac_var'}'` = yes; then
29363 cat >>confdefs.h <<_ACEOF
29364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29365 _ACEOF
29368 done
29380 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
29381 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
29382 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29383 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
29384 echo $ECHO_N "(cached) $ECHO_C" >&6
29385 else
29389 ac_ext=cc
29390 ac_cpp='$CXXCPP $CPPFLAGS'
29391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29395 cat >conftest.$ac_ext <<_ACEOF
29396 /* confdefs.h. */
29397 _ACEOF
29398 cat confdefs.h >>conftest.$ac_ext
29399 cat >>conftest.$ac_ext <<_ACEOF
29400 /* end confdefs.h. */
29401 #include <math.h>
29402 #ifdef HAVE_IEEEFP_H
29403 #include <ieeefp.h>
29404 #endif
29407 main ()
29409 isnanl(0);
29411 return 0;
29413 _ACEOF
29414 rm -f conftest.$ac_objext
29415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29416 (eval $ac_compile) 2>conftest.er1
29417 ac_status=$?
29418 grep -v '^ *+' conftest.er1 >conftest.err
29419 rm -f conftest.er1
29420 cat conftest.err >&5
29421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29422 (exit $ac_status); } &&
29423 { ac_try='test -z "$ac_cxx_werror_flag"
29424 || test ! -s conftest.err'
29425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29426 (eval $ac_try) 2>&5
29427 ac_status=$?
29428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29429 (exit $ac_status); }; } &&
29430 { ac_try='test -s conftest.$ac_objext'
29431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29432 (eval $ac_try) 2>&5
29433 ac_status=$?
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); }; }; then
29436 glibcxx_cv_func_isnanl_use=yes
29437 else
29438 echo "$as_me: failed program was:" >&5
29439 sed 's/^/| /' conftest.$ac_ext >&5
29441 glibcxx_cv_func_isnanl_use=no
29443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29444 ac_ext=c
29445 ac_cpp='$CPP $CPPFLAGS'
29446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29454 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
29455 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
29457 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
29459 for ac_func in isnanl
29461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29462 echo "$as_me:$LINENO: checking for $ac_func" >&5
29463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29464 if eval "test \"\${$as_ac_var+set}\" = set"; then
29465 echo $ECHO_N "(cached) $ECHO_C" >&6
29466 else
29467 if test x$gcc_no_link = xyes; then
29468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29470 { (exit 1); exit 1; }; }
29472 cat >conftest.$ac_ext <<_ACEOF
29473 /* confdefs.h. */
29474 _ACEOF
29475 cat confdefs.h >>conftest.$ac_ext
29476 cat >>conftest.$ac_ext <<_ACEOF
29477 /* end confdefs.h. */
29478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29480 #define $ac_func innocuous_$ac_func
29482 /* System header to define __stub macros and hopefully few prototypes,
29483 which can conflict with char $ac_func (); below.
29484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29485 <limits.h> exists even on freestanding compilers. */
29487 #ifdef __STDC__
29488 # include <limits.h>
29489 #else
29490 # include <assert.h>
29491 #endif
29493 #undef $ac_func
29495 /* Override any gcc2 internal prototype to avoid an error. */
29496 #ifdef __cplusplus
29497 extern "C"
29499 #endif
29500 /* We use char because int might match the return type of a gcc2
29501 builtin and then its argument prototype would still apply. */
29502 char $ac_func ();
29503 /* The GNU C library defines this for functions which it implements
29504 to always fail with ENOSYS. Some functions are actually named
29505 something starting with __ and the normal name is an alias. */
29506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29507 choke me
29508 #else
29509 char (*f) () = $ac_func;
29510 #endif
29511 #ifdef __cplusplus
29513 #endif
29516 main ()
29518 return f != $ac_func;
29520 return 0;
29522 _ACEOF
29523 rm -f conftest.$ac_objext conftest$ac_exeext
29524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29525 (eval $ac_link) 2>conftest.er1
29526 ac_status=$?
29527 grep -v '^ *+' conftest.er1 >conftest.err
29528 rm -f conftest.er1
29529 cat conftest.err >&5
29530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29531 (exit $ac_status); } &&
29532 { ac_try='test -z "$ac_c_werror_flag"
29533 || test ! -s conftest.err'
29534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29535 (eval $ac_try) 2>&5
29536 ac_status=$?
29537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29538 (exit $ac_status); }; } &&
29539 { ac_try='test -s conftest$ac_exeext'
29540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29541 (eval $ac_try) 2>&5
29542 ac_status=$?
29543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29544 (exit $ac_status); }; }; then
29545 eval "$as_ac_var=yes"
29546 else
29547 echo "$as_me: failed program was:" >&5
29548 sed 's/^/| /' conftest.$ac_ext >&5
29550 eval "$as_ac_var=no"
29552 rm -f conftest.err conftest.$ac_objext \
29553 conftest$ac_exeext conftest.$ac_ext
29555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29557 if test `eval echo '${'$as_ac_var'}'` = yes; then
29558 cat >>confdefs.h <<_ACEOF
29559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29560 _ACEOF
29563 done
29565 else
29567 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29568 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
29569 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29570 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
29571 echo $ECHO_N "(cached) $ECHO_C" >&6
29572 else
29576 ac_ext=cc
29577 ac_cpp='$CXXCPP $CPPFLAGS'
29578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29582 cat >conftest.$ac_ext <<_ACEOF
29583 /* confdefs.h. */
29584 _ACEOF
29585 cat confdefs.h >>conftest.$ac_ext
29586 cat >>conftest.$ac_ext <<_ACEOF
29587 /* end confdefs.h. */
29588 #include <math.h>
29589 #ifdef HAVE_IEEEFP_H
29590 #include <ieeefp.h>
29591 #endif
29594 main ()
29596 _isnanl(0);
29598 return 0;
29600 _ACEOF
29601 rm -f conftest.$ac_objext
29602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29603 (eval $ac_compile) 2>conftest.er1
29604 ac_status=$?
29605 grep -v '^ *+' conftest.er1 >conftest.err
29606 rm -f conftest.er1
29607 cat conftest.err >&5
29608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29609 (exit $ac_status); } &&
29610 { ac_try='test -z "$ac_cxx_werror_flag"
29611 || test ! -s conftest.err'
29612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29613 (eval $ac_try) 2>&5
29614 ac_status=$?
29615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29616 (exit $ac_status); }; } &&
29617 { ac_try='test -s conftest.$ac_objext'
29618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29619 (eval $ac_try) 2>&5
29620 ac_status=$?
29621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29622 (exit $ac_status); }; }; then
29623 glibcxx_cv_func__isnanl_use=yes
29624 else
29625 echo "$as_me: failed program was:" >&5
29626 sed 's/^/| /' conftest.$ac_ext >&5
29628 glibcxx_cv_func__isnanl_use=no
29630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29631 ac_ext=c
29632 ac_cpp='$CPP $CPPFLAGS'
29633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29641 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
29642 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
29644 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
29646 for ac_func in _isnanl
29648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29649 echo "$as_me:$LINENO: checking for $ac_func" >&5
29650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29651 if eval "test \"\${$as_ac_var+set}\" = set"; then
29652 echo $ECHO_N "(cached) $ECHO_C" >&6
29653 else
29654 if test x$gcc_no_link = xyes; then
29655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29657 { (exit 1); exit 1; }; }
29659 cat >conftest.$ac_ext <<_ACEOF
29660 /* confdefs.h. */
29661 _ACEOF
29662 cat confdefs.h >>conftest.$ac_ext
29663 cat >>conftest.$ac_ext <<_ACEOF
29664 /* end confdefs.h. */
29665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29667 #define $ac_func innocuous_$ac_func
29669 /* System header to define __stub macros and hopefully few prototypes,
29670 which can conflict with char $ac_func (); below.
29671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29672 <limits.h> exists even on freestanding compilers. */
29674 #ifdef __STDC__
29675 # include <limits.h>
29676 #else
29677 # include <assert.h>
29678 #endif
29680 #undef $ac_func
29682 /* Override any gcc2 internal prototype to avoid an error. */
29683 #ifdef __cplusplus
29684 extern "C"
29686 #endif
29687 /* We use char because int might match the return type of a gcc2
29688 builtin and then its argument prototype would still apply. */
29689 char $ac_func ();
29690 /* The GNU C library defines this for functions which it implements
29691 to always fail with ENOSYS. Some functions are actually named
29692 something starting with __ and the normal name is an alias. */
29693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29694 choke me
29695 #else
29696 char (*f) () = $ac_func;
29697 #endif
29698 #ifdef __cplusplus
29700 #endif
29703 main ()
29705 return f != $ac_func;
29707 return 0;
29709 _ACEOF
29710 rm -f conftest.$ac_objext conftest$ac_exeext
29711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29712 (eval $ac_link) 2>conftest.er1
29713 ac_status=$?
29714 grep -v '^ *+' conftest.er1 >conftest.err
29715 rm -f conftest.er1
29716 cat conftest.err >&5
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); } &&
29719 { ac_try='test -z "$ac_c_werror_flag"
29720 || test ! -s conftest.err'
29721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29722 (eval $ac_try) 2>&5
29723 ac_status=$?
29724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29725 (exit $ac_status); }; } &&
29726 { ac_try='test -s conftest$ac_exeext'
29727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29728 (eval $ac_try) 2>&5
29729 ac_status=$?
29730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29731 (exit $ac_status); }; }; then
29732 eval "$as_ac_var=yes"
29733 else
29734 echo "$as_me: failed program was:" >&5
29735 sed 's/^/| /' conftest.$ac_ext >&5
29737 eval "$as_ac_var=no"
29739 rm -f conftest.err conftest.$ac_objext \
29740 conftest$ac_exeext conftest.$ac_ext
29742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29744 if test `eval echo '${'$as_ac_var'}'` = yes; then
29745 cat >>confdefs.h <<_ACEOF
29746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29747 _ACEOF
29750 done
29760 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
29761 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
29762 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
29763 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
29764 echo $ECHO_N "(cached) $ECHO_C" >&6
29765 else
29769 ac_ext=cc
29770 ac_cpp='$CXXCPP $CPPFLAGS'
29771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29775 cat >conftest.$ac_ext <<_ACEOF
29776 /* confdefs.h. */
29777 _ACEOF
29778 cat confdefs.h >>conftest.$ac_ext
29779 cat >>conftest.$ac_ext <<_ACEOF
29780 /* end confdefs.h. */
29781 #include <math.h>
29782 #ifdef HAVE_IEEEFP_H
29783 #include <ieeefp.h>
29784 #endif
29787 main ()
29789 isinfl(0);
29791 return 0;
29793 _ACEOF
29794 rm -f conftest.$ac_objext
29795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29796 (eval $ac_compile) 2>conftest.er1
29797 ac_status=$?
29798 grep -v '^ *+' conftest.er1 >conftest.err
29799 rm -f conftest.er1
29800 cat conftest.err >&5
29801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29802 (exit $ac_status); } &&
29803 { ac_try='test -z "$ac_cxx_werror_flag"
29804 || test ! -s conftest.err'
29805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29806 (eval $ac_try) 2>&5
29807 ac_status=$?
29808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809 (exit $ac_status); }; } &&
29810 { ac_try='test -s conftest.$ac_objext'
29811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29812 (eval $ac_try) 2>&5
29813 ac_status=$?
29814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815 (exit $ac_status); }; }; then
29816 glibcxx_cv_func_isinfl_use=yes
29817 else
29818 echo "$as_me: failed program was:" >&5
29819 sed 's/^/| /' conftest.$ac_ext >&5
29821 glibcxx_cv_func_isinfl_use=no
29823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29824 ac_ext=c
29825 ac_cpp='$CPP $CPPFLAGS'
29826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29834 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
29835 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
29837 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
29839 for ac_func in isinfl
29841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29842 echo "$as_me:$LINENO: checking for $ac_func" >&5
29843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29844 if eval "test \"\${$as_ac_var+set}\" = set"; then
29845 echo $ECHO_N "(cached) $ECHO_C" >&6
29846 else
29847 if test x$gcc_no_link = xyes; then
29848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29850 { (exit 1); exit 1; }; }
29852 cat >conftest.$ac_ext <<_ACEOF
29853 /* confdefs.h. */
29854 _ACEOF
29855 cat confdefs.h >>conftest.$ac_ext
29856 cat >>conftest.$ac_ext <<_ACEOF
29857 /* end confdefs.h. */
29858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29860 #define $ac_func innocuous_$ac_func
29862 /* System header to define __stub macros and hopefully few prototypes,
29863 which can conflict with char $ac_func (); below.
29864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29865 <limits.h> exists even on freestanding compilers. */
29867 #ifdef __STDC__
29868 # include <limits.h>
29869 #else
29870 # include <assert.h>
29871 #endif
29873 #undef $ac_func
29875 /* Override any gcc2 internal prototype to avoid an error. */
29876 #ifdef __cplusplus
29877 extern "C"
29879 #endif
29880 /* We use char because int might match the return type of a gcc2
29881 builtin and then its argument prototype would still apply. */
29882 char $ac_func ();
29883 /* The GNU C library defines this for functions which it implements
29884 to always fail with ENOSYS. Some functions are actually named
29885 something starting with __ and the normal name is an alias. */
29886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29887 choke me
29888 #else
29889 char (*f) () = $ac_func;
29890 #endif
29891 #ifdef __cplusplus
29893 #endif
29896 main ()
29898 return f != $ac_func;
29900 return 0;
29902 _ACEOF
29903 rm -f conftest.$ac_objext conftest$ac_exeext
29904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29905 (eval $ac_link) 2>conftest.er1
29906 ac_status=$?
29907 grep -v '^ *+' conftest.er1 >conftest.err
29908 rm -f conftest.er1
29909 cat conftest.err >&5
29910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29911 (exit $ac_status); } &&
29912 { ac_try='test -z "$ac_c_werror_flag"
29913 || test ! -s conftest.err'
29914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29915 (eval $ac_try) 2>&5
29916 ac_status=$?
29917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29918 (exit $ac_status); }; } &&
29919 { ac_try='test -s conftest$ac_exeext'
29920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29921 (eval $ac_try) 2>&5
29922 ac_status=$?
29923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29924 (exit $ac_status); }; }; then
29925 eval "$as_ac_var=yes"
29926 else
29927 echo "$as_me: failed program was:" >&5
29928 sed 's/^/| /' conftest.$ac_ext >&5
29930 eval "$as_ac_var=no"
29932 rm -f conftest.err conftest.$ac_objext \
29933 conftest$ac_exeext conftest.$ac_ext
29935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29937 if test `eval echo '${'$as_ac_var'}'` = yes; then
29938 cat >>confdefs.h <<_ACEOF
29939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29940 _ACEOF
29943 done
29945 else
29947 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
29948 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
29949 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
29950 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
29951 echo $ECHO_N "(cached) $ECHO_C" >&6
29952 else
29956 ac_ext=cc
29957 ac_cpp='$CXXCPP $CPPFLAGS'
29958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29962 cat >conftest.$ac_ext <<_ACEOF
29963 /* confdefs.h. */
29964 _ACEOF
29965 cat confdefs.h >>conftest.$ac_ext
29966 cat >>conftest.$ac_ext <<_ACEOF
29967 /* end confdefs.h. */
29968 #include <math.h>
29969 #ifdef HAVE_IEEEFP_H
29970 #include <ieeefp.h>
29971 #endif
29974 main ()
29976 _isinfl(0);
29978 return 0;
29980 _ACEOF
29981 rm -f conftest.$ac_objext
29982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29983 (eval $ac_compile) 2>conftest.er1
29984 ac_status=$?
29985 grep -v '^ *+' conftest.er1 >conftest.err
29986 rm -f conftest.er1
29987 cat conftest.err >&5
29988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29989 (exit $ac_status); } &&
29990 { ac_try='test -z "$ac_cxx_werror_flag"
29991 || test ! -s conftest.err'
29992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29993 (eval $ac_try) 2>&5
29994 ac_status=$?
29995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29996 (exit $ac_status); }; } &&
29997 { ac_try='test -s conftest.$ac_objext'
29998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29999 (eval $ac_try) 2>&5
30000 ac_status=$?
30001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30002 (exit $ac_status); }; }; then
30003 glibcxx_cv_func__isinfl_use=yes
30004 else
30005 echo "$as_me: failed program was:" >&5
30006 sed 's/^/| /' conftest.$ac_ext >&5
30008 glibcxx_cv_func__isinfl_use=no
30010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30011 ac_ext=c
30012 ac_cpp='$CPP $CPPFLAGS'
30013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30021 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
30022 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
30024 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30026 for ac_func in _isinfl
30028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30029 echo "$as_me:$LINENO: checking for $ac_func" >&5
30030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30031 if eval "test \"\${$as_ac_var+set}\" = set"; then
30032 echo $ECHO_N "(cached) $ECHO_C" >&6
30033 else
30034 if test x$gcc_no_link = xyes; then
30035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30037 { (exit 1); exit 1; }; }
30039 cat >conftest.$ac_ext <<_ACEOF
30040 /* confdefs.h. */
30041 _ACEOF
30042 cat confdefs.h >>conftest.$ac_ext
30043 cat >>conftest.$ac_ext <<_ACEOF
30044 /* end confdefs.h. */
30045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30047 #define $ac_func innocuous_$ac_func
30049 /* System header to define __stub macros and hopefully few prototypes,
30050 which can conflict with char $ac_func (); below.
30051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30052 <limits.h> exists even on freestanding compilers. */
30054 #ifdef __STDC__
30055 # include <limits.h>
30056 #else
30057 # include <assert.h>
30058 #endif
30060 #undef $ac_func
30062 /* Override any gcc2 internal prototype to avoid an error. */
30063 #ifdef __cplusplus
30064 extern "C"
30066 #endif
30067 /* We use char because int might match the return type of a gcc2
30068 builtin and then its argument prototype would still apply. */
30069 char $ac_func ();
30070 /* The GNU C library defines this for functions which it implements
30071 to always fail with ENOSYS. Some functions are actually named
30072 something starting with __ and the normal name is an alias. */
30073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30074 choke me
30075 #else
30076 char (*f) () = $ac_func;
30077 #endif
30078 #ifdef __cplusplus
30080 #endif
30083 main ()
30085 return f != $ac_func;
30087 return 0;
30089 _ACEOF
30090 rm -f conftest.$ac_objext conftest$ac_exeext
30091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30092 (eval $ac_link) 2>conftest.er1
30093 ac_status=$?
30094 grep -v '^ *+' conftest.er1 >conftest.err
30095 rm -f conftest.er1
30096 cat conftest.err >&5
30097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30098 (exit $ac_status); } &&
30099 { ac_try='test -z "$ac_c_werror_flag"
30100 || test ! -s conftest.err'
30101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30102 (eval $ac_try) 2>&5
30103 ac_status=$?
30104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30105 (exit $ac_status); }; } &&
30106 { ac_try='test -s conftest$ac_exeext'
30107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30108 (eval $ac_try) 2>&5
30109 ac_status=$?
30110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30111 (exit $ac_status); }; }; then
30112 eval "$as_ac_var=yes"
30113 else
30114 echo "$as_me: failed program was:" >&5
30115 sed 's/^/| /' conftest.$ac_ext >&5
30117 eval "$as_ac_var=no"
30119 rm -f conftest.err conftest.$ac_objext \
30120 conftest$ac_exeext conftest.$ac_ext
30122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30124 if test `eval echo '${'$as_ac_var'}'` = yes; then
30125 cat >>confdefs.h <<_ACEOF
30126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30127 _ACEOF
30130 done
30140 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
30141 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
30142 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
30143 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
30144 echo $ECHO_N "(cached) $ECHO_C" >&6
30145 else
30149 ac_ext=cc
30150 ac_cpp='$CXXCPP $CPPFLAGS'
30151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30155 cat >conftest.$ac_ext <<_ACEOF
30156 /* confdefs.h. */
30157 _ACEOF
30158 cat confdefs.h >>conftest.$ac_ext
30159 cat >>conftest.$ac_ext <<_ACEOF
30160 /* end confdefs.h. */
30161 #include <math.h>
30163 main ()
30165 copysignl(0, 0);
30167 return 0;
30169 _ACEOF
30170 rm -f conftest.$ac_objext
30171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30172 (eval $ac_compile) 2>conftest.er1
30173 ac_status=$?
30174 grep -v '^ *+' conftest.er1 >conftest.err
30175 rm -f conftest.er1
30176 cat conftest.err >&5
30177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30178 (exit $ac_status); } &&
30179 { ac_try='test -z "$ac_cxx_werror_flag"
30180 || test ! -s conftest.err'
30181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30182 (eval $ac_try) 2>&5
30183 ac_status=$?
30184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185 (exit $ac_status); }; } &&
30186 { ac_try='test -s conftest.$ac_objext'
30187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30188 (eval $ac_try) 2>&5
30189 ac_status=$?
30190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30191 (exit $ac_status); }; }; then
30192 glibcxx_cv_func_copysignl_use=yes
30193 else
30194 echo "$as_me: failed program was:" >&5
30195 sed 's/^/| /' conftest.$ac_ext >&5
30197 glibcxx_cv_func_copysignl_use=no
30199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30200 ac_ext=c
30201 ac_cpp='$CPP $CPPFLAGS'
30202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30210 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
30211 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
30213 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
30215 for ac_func in copysignl
30217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30218 echo "$as_me:$LINENO: checking for $ac_func" >&5
30219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30220 if eval "test \"\${$as_ac_var+set}\" = set"; then
30221 echo $ECHO_N "(cached) $ECHO_C" >&6
30222 else
30223 if test x$gcc_no_link = xyes; then
30224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30226 { (exit 1); exit 1; }; }
30228 cat >conftest.$ac_ext <<_ACEOF
30229 /* confdefs.h. */
30230 _ACEOF
30231 cat confdefs.h >>conftest.$ac_ext
30232 cat >>conftest.$ac_ext <<_ACEOF
30233 /* end confdefs.h. */
30234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30236 #define $ac_func innocuous_$ac_func
30238 /* System header to define __stub macros and hopefully few prototypes,
30239 which can conflict with char $ac_func (); below.
30240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30241 <limits.h> exists even on freestanding compilers. */
30243 #ifdef __STDC__
30244 # include <limits.h>
30245 #else
30246 # include <assert.h>
30247 #endif
30249 #undef $ac_func
30251 /* Override any gcc2 internal prototype to avoid an error. */
30252 #ifdef __cplusplus
30253 extern "C"
30255 #endif
30256 /* We use char because int might match the return type of a gcc2
30257 builtin and then its argument prototype would still apply. */
30258 char $ac_func ();
30259 /* The GNU C library defines this for functions which it implements
30260 to always fail with ENOSYS. Some functions are actually named
30261 something starting with __ and the normal name is an alias. */
30262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30263 choke me
30264 #else
30265 char (*f) () = $ac_func;
30266 #endif
30267 #ifdef __cplusplus
30269 #endif
30272 main ()
30274 return f != $ac_func;
30276 return 0;
30278 _ACEOF
30279 rm -f conftest.$ac_objext conftest$ac_exeext
30280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30281 (eval $ac_link) 2>conftest.er1
30282 ac_status=$?
30283 grep -v '^ *+' conftest.er1 >conftest.err
30284 rm -f conftest.er1
30285 cat conftest.err >&5
30286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30287 (exit $ac_status); } &&
30288 { ac_try='test -z "$ac_c_werror_flag"
30289 || test ! -s conftest.err'
30290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30291 (eval $ac_try) 2>&5
30292 ac_status=$?
30293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30294 (exit $ac_status); }; } &&
30295 { ac_try='test -s conftest$ac_exeext'
30296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30297 (eval $ac_try) 2>&5
30298 ac_status=$?
30299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30300 (exit $ac_status); }; }; then
30301 eval "$as_ac_var=yes"
30302 else
30303 echo "$as_me: failed program was:" >&5
30304 sed 's/^/| /' conftest.$ac_ext >&5
30306 eval "$as_ac_var=no"
30308 rm -f conftest.err conftest.$ac_objext \
30309 conftest$ac_exeext conftest.$ac_ext
30311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30313 if test `eval echo '${'$as_ac_var'}'` = yes; then
30314 cat >>confdefs.h <<_ACEOF
30315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30316 _ACEOF
30319 done
30321 else
30323 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
30324 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
30325 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
30326 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
30327 echo $ECHO_N "(cached) $ECHO_C" >&6
30328 else
30332 ac_ext=cc
30333 ac_cpp='$CXXCPP $CPPFLAGS'
30334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30338 cat >conftest.$ac_ext <<_ACEOF
30339 /* confdefs.h. */
30340 _ACEOF
30341 cat confdefs.h >>conftest.$ac_ext
30342 cat >>conftest.$ac_ext <<_ACEOF
30343 /* end confdefs.h. */
30344 #include <math.h>
30346 main ()
30348 _copysignl(0, 0);
30350 return 0;
30352 _ACEOF
30353 rm -f conftest.$ac_objext
30354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30355 (eval $ac_compile) 2>conftest.er1
30356 ac_status=$?
30357 grep -v '^ *+' conftest.er1 >conftest.err
30358 rm -f conftest.er1
30359 cat conftest.err >&5
30360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30361 (exit $ac_status); } &&
30362 { ac_try='test -z "$ac_cxx_werror_flag"
30363 || test ! -s conftest.err'
30364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30365 (eval $ac_try) 2>&5
30366 ac_status=$?
30367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30368 (exit $ac_status); }; } &&
30369 { ac_try='test -s conftest.$ac_objext'
30370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30371 (eval $ac_try) 2>&5
30372 ac_status=$?
30373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30374 (exit $ac_status); }; }; then
30375 glibcxx_cv_func__copysignl_use=yes
30376 else
30377 echo "$as_me: failed program was:" >&5
30378 sed 's/^/| /' conftest.$ac_ext >&5
30380 glibcxx_cv_func__copysignl_use=no
30382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30383 ac_ext=c
30384 ac_cpp='$CPP $CPPFLAGS'
30385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30393 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
30394 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
30396 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
30398 for ac_func in _copysignl
30400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30401 echo "$as_me:$LINENO: checking for $ac_func" >&5
30402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30403 if eval "test \"\${$as_ac_var+set}\" = set"; then
30404 echo $ECHO_N "(cached) $ECHO_C" >&6
30405 else
30406 if test x$gcc_no_link = xyes; then
30407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30409 { (exit 1); exit 1; }; }
30411 cat >conftest.$ac_ext <<_ACEOF
30412 /* confdefs.h. */
30413 _ACEOF
30414 cat confdefs.h >>conftest.$ac_ext
30415 cat >>conftest.$ac_ext <<_ACEOF
30416 /* end confdefs.h. */
30417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30419 #define $ac_func innocuous_$ac_func
30421 /* System header to define __stub macros and hopefully few prototypes,
30422 which can conflict with char $ac_func (); below.
30423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30424 <limits.h> exists even on freestanding compilers. */
30426 #ifdef __STDC__
30427 # include <limits.h>
30428 #else
30429 # include <assert.h>
30430 #endif
30432 #undef $ac_func
30434 /* Override any gcc2 internal prototype to avoid an error. */
30435 #ifdef __cplusplus
30436 extern "C"
30438 #endif
30439 /* We use char because int might match the return type of a gcc2
30440 builtin and then its argument prototype would still apply. */
30441 char $ac_func ();
30442 /* The GNU C library defines this for functions which it implements
30443 to always fail with ENOSYS. Some functions are actually named
30444 something starting with __ and the normal name is an alias. */
30445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30446 choke me
30447 #else
30448 char (*f) () = $ac_func;
30449 #endif
30450 #ifdef __cplusplus
30452 #endif
30455 main ()
30457 return f != $ac_func;
30459 return 0;
30461 _ACEOF
30462 rm -f conftest.$ac_objext conftest$ac_exeext
30463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30464 (eval $ac_link) 2>conftest.er1
30465 ac_status=$?
30466 grep -v '^ *+' conftest.er1 >conftest.err
30467 rm -f conftest.er1
30468 cat conftest.err >&5
30469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30470 (exit $ac_status); } &&
30471 { ac_try='test -z "$ac_c_werror_flag"
30472 || test ! -s conftest.err'
30473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30474 (eval $ac_try) 2>&5
30475 ac_status=$?
30476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30477 (exit $ac_status); }; } &&
30478 { ac_try='test -s conftest$ac_exeext'
30479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30480 (eval $ac_try) 2>&5
30481 ac_status=$?
30482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30483 (exit $ac_status); }; }; then
30484 eval "$as_ac_var=yes"
30485 else
30486 echo "$as_me: failed program was:" >&5
30487 sed 's/^/| /' conftest.$ac_ext >&5
30489 eval "$as_ac_var=no"
30491 rm -f conftest.err conftest.$ac_objext \
30492 conftest$ac_exeext conftest.$ac_ext
30494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30496 if test `eval echo '${'$as_ac_var'}'` = yes; then
30497 cat >>confdefs.h <<_ACEOF
30498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30499 _ACEOF
30502 done
30512 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
30513 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
30514 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30515 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
30516 echo $ECHO_N "(cached) $ECHO_C" >&6
30517 else
30521 ac_ext=cc
30522 ac_cpp='$CXXCPP $CPPFLAGS'
30523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30527 cat >conftest.$ac_ext <<_ACEOF
30528 /* confdefs.h. */
30529 _ACEOF
30530 cat confdefs.h >>conftest.$ac_ext
30531 cat >>conftest.$ac_ext <<_ACEOF
30532 /* end confdefs.h. */
30533 #include <math.h>
30535 main ()
30537 atan2l(0, 0);
30539 return 0;
30541 _ACEOF
30542 rm -f conftest.$ac_objext
30543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30544 (eval $ac_compile) 2>conftest.er1
30545 ac_status=$?
30546 grep -v '^ *+' conftest.er1 >conftest.err
30547 rm -f conftest.er1
30548 cat conftest.err >&5
30549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30550 (exit $ac_status); } &&
30551 { ac_try='test -z "$ac_cxx_werror_flag"
30552 || test ! -s conftest.err'
30553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30554 (eval $ac_try) 2>&5
30555 ac_status=$?
30556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30557 (exit $ac_status); }; } &&
30558 { ac_try='test -s conftest.$ac_objext'
30559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30560 (eval $ac_try) 2>&5
30561 ac_status=$?
30562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30563 (exit $ac_status); }; }; then
30564 glibcxx_cv_func_atan2l_use=yes
30565 else
30566 echo "$as_me: failed program was:" >&5
30567 sed 's/^/| /' conftest.$ac_ext >&5
30569 glibcxx_cv_func_atan2l_use=no
30571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30572 ac_ext=c
30573 ac_cpp='$CPP $CPPFLAGS'
30574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30582 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30583 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
30585 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30587 for ac_func in atan2l
30589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30590 echo "$as_me:$LINENO: checking for $ac_func" >&5
30591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30592 if eval "test \"\${$as_ac_var+set}\" = set"; then
30593 echo $ECHO_N "(cached) $ECHO_C" >&6
30594 else
30595 if test x$gcc_no_link = xyes; then
30596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30598 { (exit 1); exit 1; }; }
30600 cat >conftest.$ac_ext <<_ACEOF
30601 /* confdefs.h. */
30602 _ACEOF
30603 cat confdefs.h >>conftest.$ac_ext
30604 cat >>conftest.$ac_ext <<_ACEOF
30605 /* end confdefs.h. */
30606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30608 #define $ac_func innocuous_$ac_func
30610 /* System header to define __stub macros and hopefully few prototypes,
30611 which can conflict with char $ac_func (); below.
30612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30613 <limits.h> exists even on freestanding compilers. */
30615 #ifdef __STDC__
30616 # include <limits.h>
30617 #else
30618 # include <assert.h>
30619 #endif
30621 #undef $ac_func
30623 /* Override any gcc2 internal prototype to avoid an error. */
30624 #ifdef __cplusplus
30625 extern "C"
30627 #endif
30628 /* We use char because int might match the return type of a gcc2
30629 builtin and then its argument prototype would still apply. */
30630 char $ac_func ();
30631 /* The GNU C library defines this for functions which it implements
30632 to always fail with ENOSYS. Some functions are actually named
30633 something starting with __ and the normal name is an alias. */
30634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30635 choke me
30636 #else
30637 char (*f) () = $ac_func;
30638 #endif
30639 #ifdef __cplusplus
30641 #endif
30644 main ()
30646 return f != $ac_func;
30648 return 0;
30650 _ACEOF
30651 rm -f conftest.$ac_objext conftest$ac_exeext
30652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30653 (eval $ac_link) 2>conftest.er1
30654 ac_status=$?
30655 grep -v '^ *+' conftest.er1 >conftest.err
30656 rm -f conftest.er1
30657 cat conftest.err >&5
30658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659 (exit $ac_status); } &&
30660 { ac_try='test -z "$ac_c_werror_flag"
30661 || test ! -s conftest.err'
30662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30663 (eval $ac_try) 2>&5
30664 ac_status=$?
30665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30666 (exit $ac_status); }; } &&
30667 { ac_try='test -s conftest$ac_exeext'
30668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30669 (eval $ac_try) 2>&5
30670 ac_status=$?
30671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30672 (exit $ac_status); }; }; then
30673 eval "$as_ac_var=yes"
30674 else
30675 echo "$as_me: failed program was:" >&5
30676 sed 's/^/| /' conftest.$ac_ext >&5
30678 eval "$as_ac_var=no"
30680 rm -f conftest.err conftest.$ac_objext \
30681 conftest$ac_exeext conftest.$ac_ext
30683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30685 if test `eval echo '${'$as_ac_var'}'` = yes; then
30686 cat >>confdefs.h <<_ACEOF
30687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30688 _ACEOF
30691 done
30693 else
30695 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
30696 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
30697 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30698 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
30699 echo $ECHO_N "(cached) $ECHO_C" >&6
30700 else
30704 ac_ext=cc
30705 ac_cpp='$CXXCPP $CPPFLAGS'
30706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30710 cat >conftest.$ac_ext <<_ACEOF
30711 /* confdefs.h. */
30712 _ACEOF
30713 cat confdefs.h >>conftest.$ac_ext
30714 cat >>conftest.$ac_ext <<_ACEOF
30715 /* end confdefs.h. */
30716 #include <math.h>
30718 main ()
30720 _atan2l(0, 0);
30722 return 0;
30724 _ACEOF
30725 rm -f conftest.$ac_objext
30726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30727 (eval $ac_compile) 2>conftest.er1
30728 ac_status=$?
30729 grep -v '^ *+' conftest.er1 >conftest.err
30730 rm -f conftest.er1
30731 cat conftest.err >&5
30732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30733 (exit $ac_status); } &&
30734 { ac_try='test -z "$ac_cxx_werror_flag"
30735 || test ! -s conftest.err'
30736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30737 (eval $ac_try) 2>&5
30738 ac_status=$?
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); }; } &&
30741 { ac_try='test -s conftest.$ac_objext'
30742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30743 (eval $ac_try) 2>&5
30744 ac_status=$?
30745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30746 (exit $ac_status); }; }; then
30747 glibcxx_cv_func__atan2l_use=yes
30748 else
30749 echo "$as_me: failed program was:" >&5
30750 sed 's/^/| /' conftest.$ac_ext >&5
30752 glibcxx_cv_func__atan2l_use=no
30754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30755 ac_ext=c
30756 ac_cpp='$CPP $CPPFLAGS'
30757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30765 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
30766 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
30768 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30770 for ac_func in _atan2l
30772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30773 echo "$as_me:$LINENO: checking for $ac_func" >&5
30774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30775 if eval "test \"\${$as_ac_var+set}\" = set"; then
30776 echo $ECHO_N "(cached) $ECHO_C" >&6
30777 else
30778 if test x$gcc_no_link = xyes; then
30779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30781 { (exit 1); exit 1; }; }
30783 cat >conftest.$ac_ext <<_ACEOF
30784 /* confdefs.h. */
30785 _ACEOF
30786 cat confdefs.h >>conftest.$ac_ext
30787 cat >>conftest.$ac_ext <<_ACEOF
30788 /* end confdefs.h. */
30789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30791 #define $ac_func innocuous_$ac_func
30793 /* System header to define __stub macros and hopefully few prototypes,
30794 which can conflict with char $ac_func (); below.
30795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30796 <limits.h> exists even on freestanding compilers. */
30798 #ifdef __STDC__
30799 # include <limits.h>
30800 #else
30801 # include <assert.h>
30802 #endif
30804 #undef $ac_func
30806 /* Override any gcc2 internal prototype to avoid an error. */
30807 #ifdef __cplusplus
30808 extern "C"
30810 #endif
30811 /* We use char because int might match the return type of a gcc2
30812 builtin and then its argument prototype would still apply. */
30813 char $ac_func ();
30814 /* The GNU C library defines this for functions which it implements
30815 to always fail with ENOSYS. Some functions are actually named
30816 something starting with __ and the normal name is an alias. */
30817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30818 choke me
30819 #else
30820 char (*f) () = $ac_func;
30821 #endif
30822 #ifdef __cplusplus
30824 #endif
30827 main ()
30829 return f != $ac_func;
30831 return 0;
30833 _ACEOF
30834 rm -f conftest.$ac_objext conftest$ac_exeext
30835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30836 (eval $ac_link) 2>conftest.er1
30837 ac_status=$?
30838 grep -v '^ *+' conftest.er1 >conftest.err
30839 rm -f conftest.er1
30840 cat conftest.err >&5
30841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30842 (exit $ac_status); } &&
30843 { ac_try='test -z "$ac_c_werror_flag"
30844 || test ! -s conftest.err'
30845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30846 (eval $ac_try) 2>&5
30847 ac_status=$?
30848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30849 (exit $ac_status); }; } &&
30850 { ac_try='test -s conftest$ac_exeext'
30851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30852 (eval $ac_try) 2>&5
30853 ac_status=$?
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); }; }; then
30856 eval "$as_ac_var=yes"
30857 else
30858 echo "$as_me: failed program was:" >&5
30859 sed 's/^/| /' conftest.$ac_ext >&5
30861 eval "$as_ac_var=no"
30863 rm -f conftest.err conftest.$ac_objext \
30864 conftest$ac_exeext conftest.$ac_ext
30866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30868 if test `eval echo '${'$as_ac_var'}'` = yes; then
30869 cat >>confdefs.h <<_ACEOF
30870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30871 _ACEOF
30874 done
30884 echo "$as_me:$LINENO: checking for expl declaration" >&5
30885 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
30886 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30887 if test "${glibcxx_cv_func_expl_use+set}" = set; then
30888 echo $ECHO_N "(cached) $ECHO_C" >&6
30889 else
30893 ac_ext=cc
30894 ac_cpp='$CXXCPP $CPPFLAGS'
30895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30899 cat >conftest.$ac_ext <<_ACEOF
30900 /* confdefs.h. */
30901 _ACEOF
30902 cat confdefs.h >>conftest.$ac_ext
30903 cat >>conftest.$ac_ext <<_ACEOF
30904 /* end confdefs.h. */
30905 #include <math.h>
30906 #ifdef HAVE_IEEEFP_H
30907 #include <ieeefp.h>
30908 #endif
30911 main ()
30913 expl(0);
30915 return 0;
30917 _ACEOF
30918 rm -f conftest.$ac_objext
30919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30920 (eval $ac_compile) 2>conftest.er1
30921 ac_status=$?
30922 grep -v '^ *+' conftest.er1 >conftest.err
30923 rm -f conftest.er1
30924 cat conftest.err >&5
30925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30926 (exit $ac_status); } &&
30927 { ac_try='test -z "$ac_cxx_werror_flag"
30928 || test ! -s conftest.err'
30929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30930 (eval $ac_try) 2>&5
30931 ac_status=$?
30932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30933 (exit $ac_status); }; } &&
30934 { ac_try='test -s conftest.$ac_objext'
30935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30936 (eval $ac_try) 2>&5
30937 ac_status=$?
30938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30939 (exit $ac_status); }; }; then
30940 glibcxx_cv_func_expl_use=yes
30941 else
30942 echo "$as_me: failed program was:" >&5
30943 sed 's/^/| /' conftest.$ac_ext >&5
30945 glibcxx_cv_func_expl_use=no
30947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30948 ac_ext=c
30949 ac_cpp='$CPP $CPPFLAGS'
30950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30958 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
30959 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
30961 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30963 for ac_func in expl
30965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30966 echo "$as_me:$LINENO: checking for $ac_func" >&5
30967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30968 if eval "test \"\${$as_ac_var+set}\" = set"; then
30969 echo $ECHO_N "(cached) $ECHO_C" >&6
30970 else
30971 if test x$gcc_no_link = xyes; then
30972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30974 { (exit 1); exit 1; }; }
30976 cat >conftest.$ac_ext <<_ACEOF
30977 /* confdefs.h. */
30978 _ACEOF
30979 cat confdefs.h >>conftest.$ac_ext
30980 cat >>conftest.$ac_ext <<_ACEOF
30981 /* end confdefs.h. */
30982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30984 #define $ac_func innocuous_$ac_func
30986 /* System header to define __stub macros and hopefully few prototypes,
30987 which can conflict with char $ac_func (); below.
30988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30989 <limits.h> exists even on freestanding compilers. */
30991 #ifdef __STDC__
30992 # include <limits.h>
30993 #else
30994 # include <assert.h>
30995 #endif
30997 #undef $ac_func
30999 /* Override any gcc2 internal prototype to avoid an error. */
31000 #ifdef __cplusplus
31001 extern "C"
31003 #endif
31004 /* We use char because int might match the return type of a gcc2
31005 builtin and then its argument prototype would still apply. */
31006 char $ac_func ();
31007 /* The GNU C library defines this for functions which it implements
31008 to always fail with ENOSYS. Some functions are actually named
31009 something starting with __ and the normal name is an alias. */
31010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31011 choke me
31012 #else
31013 char (*f) () = $ac_func;
31014 #endif
31015 #ifdef __cplusplus
31017 #endif
31020 main ()
31022 return f != $ac_func;
31024 return 0;
31026 _ACEOF
31027 rm -f conftest.$ac_objext conftest$ac_exeext
31028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31029 (eval $ac_link) 2>conftest.er1
31030 ac_status=$?
31031 grep -v '^ *+' conftest.er1 >conftest.err
31032 rm -f conftest.er1
31033 cat conftest.err >&5
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); } &&
31036 { ac_try='test -z "$ac_c_werror_flag"
31037 || test ! -s conftest.err'
31038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31039 (eval $ac_try) 2>&5
31040 ac_status=$?
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); }; } &&
31043 { ac_try='test -s conftest$ac_exeext'
31044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31045 (eval $ac_try) 2>&5
31046 ac_status=$?
31047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048 (exit $ac_status); }; }; then
31049 eval "$as_ac_var=yes"
31050 else
31051 echo "$as_me: failed program was:" >&5
31052 sed 's/^/| /' conftest.$ac_ext >&5
31054 eval "$as_ac_var=no"
31056 rm -f conftest.err conftest.$ac_objext \
31057 conftest$ac_exeext conftest.$ac_ext
31059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31061 if test `eval echo '${'$as_ac_var'}'` = yes; then
31062 cat >>confdefs.h <<_ACEOF
31063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31064 _ACEOF
31067 done
31069 else
31071 echo "$as_me:$LINENO: checking for _expl declaration" >&5
31072 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
31073 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31074 if test "${glibcxx_cv_func__expl_use+set}" = set; then
31075 echo $ECHO_N "(cached) $ECHO_C" >&6
31076 else
31080 ac_ext=cc
31081 ac_cpp='$CXXCPP $CPPFLAGS'
31082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31086 cat >conftest.$ac_ext <<_ACEOF
31087 /* confdefs.h. */
31088 _ACEOF
31089 cat confdefs.h >>conftest.$ac_ext
31090 cat >>conftest.$ac_ext <<_ACEOF
31091 /* end confdefs.h. */
31092 #include <math.h>
31093 #ifdef HAVE_IEEEFP_H
31094 #include <ieeefp.h>
31095 #endif
31098 main ()
31100 _expl(0);
31102 return 0;
31104 _ACEOF
31105 rm -f conftest.$ac_objext
31106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31107 (eval $ac_compile) 2>conftest.er1
31108 ac_status=$?
31109 grep -v '^ *+' conftest.er1 >conftest.err
31110 rm -f conftest.er1
31111 cat conftest.err >&5
31112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31113 (exit $ac_status); } &&
31114 { ac_try='test -z "$ac_cxx_werror_flag"
31115 || test ! -s conftest.err'
31116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31117 (eval $ac_try) 2>&5
31118 ac_status=$?
31119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120 (exit $ac_status); }; } &&
31121 { ac_try='test -s conftest.$ac_objext'
31122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31123 (eval $ac_try) 2>&5
31124 ac_status=$?
31125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31126 (exit $ac_status); }; }; then
31127 glibcxx_cv_func__expl_use=yes
31128 else
31129 echo "$as_me: failed program was:" >&5
31130 sed 's/^/| /' conftest.$ac_ext >&5
31132 glibcxx_cv_func__expl_use=no
31134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31135 ac_ext=c
31136 ac_cpp='$CPP $CPPFLAGS'
31137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31145 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
31146 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
31148 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31150 for ac_func in _expl
31152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31153 echo "$as_me:$LINENO: checking for $ac_func" >&5
31154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31155 if eval "test \"\${$as_ac_var+set}\" = set"; then
31156 echo $ECHO_N "(cached) $ECHO_C" >&6
31157 else
31158 if test x$gcc_no_link = xyes; then
31159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31161 { (exit 1); exit 1; }; }
31163 cat >conftest.$ac_ext <<_ACEOF
31164 /* confdefs.h. */
31165 _ACEOF
31166 cat confdefs.h >>conftest.$ac_ext
31167 cat >>conftest.$ac_ext <<_ACEOF
31168 /* end confdefs.h. */
31169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31171 #define $ac_func innocuous_$ac_func
31173 /* System header to define __stub macros and hopefully few prototypes,
31174 which can conflict with char $ac_func (); below.
31175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31176 <limits.h> exists even on freestanding compilers. */
31178 #ifdef __STDC__
31179 # include <limits.h>
31180 #else
31181 # include <assert.h>
31182 #endif
31184 #undef $ac_func
31186 /* Override any gcc2 internal prototype to avoid an error. */
31187 #ifdef __cplusplus
31188 extern "C"
31190 #endif
31191 /* We use char because int might match the return type of a gcc2
31192 builtin and then its argument prototype would still apply. */
31193 char $ac_func ();
31194 /* The GNU C library defines this for functions which it implements
31195 to always fail with ENOSYS. Some functions are actually named
31196 something starting with __ and the normal name is an alias. */
31197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31198 choke me
31199 #else
31200 char (*f) () = $ac_func;
31201 #endif
31202 #ifdef __cplusplus
31204 #endif
31207 main ()
31209 return f != $ac_func;
31211 return 0;
31213 _ACEOF
31214 rm -f conftest.$ac_objext conftest$ac_exeext
31215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31216 (eval $ac_link) 2>conftest.er1
31217 ac_status=$?
31218 grep -v '^ *+' conftest.er1 >conftest.err
31219 rm -f conftest.er1
31220 cat conftest.err >&5
31221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31222 (exit $ac_status); } &&
31223 { ac_try='test -z "$ac_c_werror_flag"
31224 || test ! -s conftest.err'
31225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31226 (eval $ac_try) 2>&5
31227 ac_status=$?
31228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31229 (exit $ac_status); }; } &&
31230 { ac_try='test -s conftest$ac_exeext'
31231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31232 (eval $ac_try) 2>&5
31233 ac_status=$?
31234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31235 (exit $ac_status); }; }; then
31236 eval "$as_ac_var=yes"
31237 else
31238 echo "$as_me: failed program was:" >&5
31239 sed 's/^/| /' conftest.$ac_ext >&5
31241 eval "$as_ac_var=no"
31243 rm -f conftest.err conftest.$ac_objext \
31244 conftest$ac_exeext conftest.$ac_ext
31246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31248 if test `eval echo '${'$as_ac_var'}'` = yes; then
31249 cat >>confdefs.h <<_ACEOF
31250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31251 _ACEOF
31254 done
31264 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
31265 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
31266 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31267 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
31268 echo $ECHO_N "(cached) $ECHO_C" >&6
31269 else
31273 ac_ext=cc
31274 ac_cpp='$CXXCPP $CPPFLAGS'
31275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31279 cat >conftest.$ac_ext <<_ACEOF
31280 /* confdefs.h. */
31281 _ACEOF
31282 cat confdefs.h >>conftest.$ac_ext
31283 cat >>conftest.$ac_ext <<_ACEOF
31284 /* end confdefs.h. */
31285 #include <math.h>
31286 #ifdef HAVE_IEEEFP_H
31287 #include <ieeefp.h>
31288 #endif
31291 main ()
31293 fabsl(0);
31295 return 0;
31297 _ACEOF
31298 rm -f conftest.$ac_objext
31299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31300 (eval $ac_compile) 2>conftest.er1
31301 ac_status=$?
31302 grep -v '^ *+' conftest.er1 >conftest.err
31303 rm -f conftest.er1
31304 cat conftest.err >&5
31305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31306 (exit $ac_status); } &&
31307 { ac_try='test -z "$ac_cxx_werror_flag"
31308 || test ! -s conftest.err'
31309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31310 (eval $ac_try) 2>&5
31311 ac_status=$?
31312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31313 (exit $ac_status); }; } &&
31314 { ac_try='test -s conftest.$ac_objext'
31315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31316 (eval $ac_try) 2>&5
31317 ac_status=$?
31318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31319 (exit $ac_status); }; }; then
31320 glibcxx_cv_func_fabsl_use=yes
31321 else
31322 echo "$as_me: failed program was:" >&5
31323 sed 's/^/| /' conftest.$ac_ext >&5
31325 glibcxx_cv_func_fabsl_use=no
31327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31328 ac_ext=c
31329 ac_cpp='$CPP $CPPFLAGS'
31330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31338 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
31339 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
31341 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31343 for ac_func in fabsl
31345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31346 echo "$as_me:$LINENO: checking for $ac_func" >&5
31347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31348 if eval "test \"\${$as_ac_var+set}\" = set"; then
31349 echo $ECHO_N "(cached) $ECHO_C" >&6
31350 else
31351 if test x$gcc_no_link = xyes; then
31352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31354 { (exit 1); exit 1; }; }
31356 cat >conftest.$ac_ext <<_ACEOF
31357 /* confdefs.h. */
31358 _ACEOF
31359 cat confdefs.h >>conftest.$ac_ext
31360 cat >>conftest.$ac_ext <<_ACEOF
31361 /* end confdefs.h. */
31362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31364 #define $ac_func innocuous_$ac_func
31366 /* System header to define __stub macros and hopefully few prototypes,
31367 which can conflict with char $ac_func (); below.
31368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31369 <limits.h> exists even on freestanding compilers. */
31371 #ifdef __STDC__
31372 # include <limits.h>
31373 #else
31374 # include <assert.h>
31375 #endif
31377 #undef $ac_func
31379 /* Override any gcc2 internal prototype to avoid an error. */
31380 #ifdef __cplusplus
31381 extern "C"
31383 #endif
31384 /* We use char because int might match the return type of a gcc2
31385 builtin and then its argument prototype would still apply. */
31386 char $ac_func ();
31387 /* The GNU C library defines this for functions which it implements
31388 to always fail with ENOSYS. Some functions are actually named
31389 something starting with __ and the normal name is an alias. */
31390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31391 choke me
31392 #else
31393 char (*f) () = $ac_func;
31394 #endif
31395 #ifdef __cplusplus
31397 #endif
31400 main ()
31402 return f != $ac_func;
31404 return 0;
31406 _ACEOF
31407 rm -f conftest.$ac_objext conftest$ac_exeext
31408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31409 (eval $ac_link) 2>conftest.er1
31410 ac_status=$?
31411 grep -v '^ *+' conftest.er1 >conftest.err
31412 rm -f conftest.er1
31413 cat conftest.err >&5
31414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31415 (exit $ac_status); } &&
31416 { ac_try='test -z "$ac_c_werror_flag"
31417 || test ! -s conftest.err'
31418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31419 (eval $ac_try) 2>&5
31420 ac_status=$?
31421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31422 (exit $ac_status); }; } &&
31423 { ac_try='test -s conftest$ac_exeext'
31424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31425 (eval $ac_try) 2>&5
31426 ac_status=$?
31427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31428 (exit $ac_status); }; }; then
31429 eval "$as_ac_var=yes"
31430 else
31431 echo "$as_me: failed program was:" >&5
31432 sed 's/^/| /' conftest.$ac_ext >&5
31434 eval "$as_ac_var=no"
31436 rm -f conftest.err conftest.$ac_objext \
31437 conftest$ac_exeext conftest.$ac_ext
31439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31441 if test `eval echo '${'$as_ac_var'}'` = yes; then
31442 cat >>confdefs.h <<_ACEOF
31443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31444 _ACEOF
31447 done
31449 else
31451 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
31452 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
31453 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31454 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
31455 echo $ECHO_N "(cached) $ECHO_C" >&6
31456 else
31460 ac_ext=cc
31461 ac_cpp='$CXXCPP $CPPFLAGS'
31462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31466 cat >conftest.$ac_ext <<_ACEOF
31467 /* confdefs.h. */
31468 _ACEOF
31469 cat confdefs.h >>conftest.$ac_ext
31470 cat >>conftest.$ac_ext <<_ACEOF
31471 /* end confdefs.h. */
31472 #include <math.h>
31473 #ifdef HAVE_IEEEFP_H
31474 #include <ieeefp.h>
31475 #endif
31478 main ()
31480 _fabsl(0);
31482 return 0;
31484 _ACEOF
31485 rm -f conftest.$ac_objext
31486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31487 (eval $ac_compile) 2>conftest.er1
31488 ac_status=$?
31489 grep -v '^ *+' conftest.er1 >conftest.err
31490 rm -f conftest.er1
31491 cat conftest.err >&5
31492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31493 (exit $ac_status); } &&
31494 { ac_try='test -z "$ac_cxx_werror_flag"
31495 || test ! -s conftest.err'
31496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31497 (eval $ac_try) 2>&5
31498 ac_status=$?
31499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500 (exit $ac_status); }; } &&
31501 { ac_try='test -s conftest.$ac_objext'
31502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31503 (eval $ac_try) 2>&5
31504 ac_status=$?
31505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31506 (exit $ac_status); }; }; then
31507 glibcxx_cv_func__fabsl_use=yes
31508 else
31509 echo "$as_me: failed program was:" >&5
31510 sed 's/^/| /' conftest.$ac_ext >&5
31512 glibcxx_cv_func__fabsl_use=no
31514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31515 ac_ext=c
31516 ac_cpp='$CPP $CPPFLAGS'
31517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31525 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
31526 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
31528 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31530 for ac_func in _fabsl
31532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31533 echo "$as_me:$LINENO: checking for $ac_func" >&5
31534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31535 if eval "test \"\${$as_ac_var+set}\" = set"; then
31536 echo $ECHO_N "(cached) $ECHO_C" >&6
31537 else
31538 if test x$gcc_no_link = xyes; then
31539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31541 { (exit 1); exit 1; }; }
31543 cat >conftest.$ac_ext <<_ACEOF
31544 /* confdefs.h. */
31545 _ACEOF
31546 cat confdefs.h >>conftest.$ac_ext
31547 cat >>conftest.$ac_ext <<_ACEOF
31548 /* end confdefs.h. */
31549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31551 #define $ac_func innocuous_$ac_func
31553 /* System header to define __stub macros and hopefully few prototypes,
31554 which can conflict with char $ac_func (); below.
31555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31556 <limits.h> exists even on freestanding compilers. */
31558 #ifdef __STDC__
31559 # include <limits.h>
31560 #else
31561 # include <assert.h>
31562 #endif
31564 #undef $ac_func
31566 /* Override any gcc2 internal prototype to avoid an error. */
31567 #ifdef __cplusplus
31568 extern "C"
31570 #endif
31571 /* We use char because int might match the return type of a gcc2
31572 builtin and then its argument prototype would still apply. */
31573 char $ac_func ();
31574 /* The GNU C library defines this for functions which it implements
31575 to always fail with ENOSYS. Some functions are actually named
31576 something starting with __ and the normal name is an alias. */
31577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31578 choke me
31579 #else
31580 char (*f) () = $ac_func;
31581 #endif
31582 #ifdef __cplusplus
31584 #endif
31587 main ()
31589 return f != $ac_func;
31591 return 0;
31593 _ACEOF
31594 rm -f conftest.$ac_objext conftest$ac_exeext
31595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31596 (eval $ac_link) 2>conftest.er1
31597 ac_status=$?
31598 grep -v '^ *+' conftest.er1 >conftest.err
31599 rm -f conftest.er1
31600 cat conftest.err >&5
31601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31602 (exit $ac_status); } &&
31603 { ac_try='test -z "$ac_c_werror_flag"
31604 || test ! -s conftest.err'
31605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31606 (eval $ac_try) 2>&5
31607 ac_status=$?
31608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31609 (exit $ac_status); }; } &&
31610 { ac_try='test -s conftest$ac_exeext'
31611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31612 (eval $ac_try) 2>&5
31613 ac_status=$?
31614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615 (exit $ac_status); }; }; then
31616 eval "$as_ac_var=yes"
31617 else
31618 echo "$as_me: failed program was:" >&5
31619 sed 's/^/| /' conftest.$ac_ext >&5
31621 eval "$as_ac_var=no"
31623 rm -f conftest.err conftest.$ac_objext \
31624 conftest$ac_exeext conftest.$ac_ext
31626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31628 if test `eval echo '${'$as_ac_var'}'` = yes; then
31629 cat >>confdefs.h <<_ACEOF
31630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31631 _ACEOF
31634 done
31644 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
31645 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
31646 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31647 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
31648 echo $ECHO_N "(cached) $ECHO_C" >&6
31649 else
31653 ac_ext=cc
31654 ac_cpp='$CXXCPP $CPPFLAGS'
31655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31659 cat >conftest.$ac_ext <<_ACEOF
31660 /* confdefs.h. */
31661 _ACEOF
31662 cat confdefs.h >>conftest.$ac_ext
31663 cat >>conftest.$ac_ext <<_ACEOF
31664 /* end confdefs.h. */
31665 #include <math.h>
31667 main ()
31669 fmodl(0, 0);
31671 return 0;
31673 _ACEOF
31674 rm -f conftest.$ac_objext
31675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31676 (eval $ac_compile) 2>conftest.er1
31677 ac_status=$?
31678 grep -v '^ *+' conftest.er1 >conftest.err
31679 rm -f conftest.er1
31680 cat conftest.err >&5
31681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31682 (exit $ac_status); } &&
31683 { ac_try='test -z "$ac_cxx_werror_flag"
31684 || test ! -s conftest.err'
31685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31686 (eval $ac_try) 2>&5
31687 ac_status=$?
31688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31689 (exit $ac_status); }; } &&
31690 { ac_try='test -s conftest.$ac_objext'
31691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31692 (eval $ac_try) 2>&5
31693 ac_status=$?
31694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31695 (exit $ac_status); }; }; then
31696 glibcxx_cv_func_fmodl_use=yes
31697 else
31698 echo "$as_me: failed program was:" >&5
31699 sed 's/^/| /' conftest.$ac_ext >&5
31701 glibcxx_cv_func_fmodl_use=no
31703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31704 ac_ext=c
31705 ac_cpp='$CPP $CPPFLAGS'
31706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31714 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
31715 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
31717 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31719 for ac_func in fmodl
31721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31722 echo "$as_me:$LINENO: checking for $ac_func" >&5
31723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31724 if eval "test \"\${$as_ac_var+set}\" = set"; then
31725 echo $ECHO_N "(cached) $ECHO_C" >&6
31726 else
31727 if test x$gcc_no_link = xyes; then
31728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31730 { (exit 1); exit 1; }; }
31732 cat >conftest.$ac_ext <<_ACEOF
31733 /* confdefs.h. */
31734 _ACEOF
31735 cat confdefs.h >>conftest.$ac_ext
31736 cat >>conftest.$ac_ext <<_ACEOF
31737 /* end confdefs.h. */
31738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31740 #define $ac_func innocuous_$ac_func
31742 /* System header to define __stub macros and hopefully few prototypes,
31743 which can conflict with char $ac_func (); below.
31744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31745 <limits.h> exists even on freestanding compilers. */
31747 #ifdef __STDC__
31748 # include <limits.h>
31749 #else
31750 # include <assert.h>
31751 #endif
31753 #undef $ac_func
31755 /* Override any gcc2 internal prototype to avoid an error. */
31756 #ifdef __cplusplus
31757 extern "C"
31759 #endif
31760 /* We use char because int might match the return type of a gcc2
31761 builtin and then its argument prototype would still apply. */
31762 char $ac_func ();
31763 /* The GNU C library defines this for functions which it implements
31764 to always fail with ENOSYS. Some functions are actually named
31765 something starting with __ and the normal name is an alias. */
31766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31767 choke me
31768 #else
31769 char (*f) () = $ac_func;
31770 #endif
31771 #ifdef __cplusplus
31773 #endif
31776 main ()
31778 return f != $ac_func;
31780 return 0;
31782 _ACEOF
31783 rm -f conftest.$ac_objext conftest$ac_exeext
31784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31785 (eval $ac_link) 2>conftest.er1
31786 ac_status=$?
31787 grep -v '^ *+' conftest.er1 >conftest.err
31788 rm -f conftest.er1
31789 cat conftest.err >&5
31790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31791 (exit $ac_status); } &&
31792 { ac_try='test -z "$ac_c_werror_flag"
31793 || test ! -s conftest.err'
31794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31795 (eval $ac_try) 2>&5
31796 ac_status=$?
31797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31798 (exit $ac_status); }; } &&
31799 { ac_try='test -s conftest$ac_exeext'
31800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31801 (eval $ac_try) 2>&5
31802 ac_status=$?
31803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31804 (exit $ac_status); }; }; then
31805 eval "$as_ac_var=yes"
31806 else
31807 echo "$as_me: failed program was:" >&5
31808 sed 's/^/| /' conftest.$ac_ext >&5
31810 eval "$as_ac_var=no"
31812 rm -f conftest.err conftest.$ac_objext \
31813 conftest$ac_exeext conftest.$ac_ext
31815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31817 if test `eval echo '${'$as_ac_var'}'` = yes; then
31818 cat >>confdefs.h <<_ACEOF
31819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31820 _ACEOF
31823 done
31825 else
31827 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
31828 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
31829 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31830 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
31831 echo $ECHO_N "(cached) $ECHO_C" >&6
31832 else
31836 ac_ext=cc
31837 ac_cpp='$CXXCPP $CPPFLAGS'
31838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31842 cat >conftest.$ac_ext <<_ACEOF
31843 /* confdefs.h. */
31844 _ACEOF
31845 cat confdefs.h >>conftest.$ac_ext
31846 cat >>conftest.$ac_ext <<_ACEOF
31847 /* end confdefs.h. */
31848 #include <math.h>
31850 main ()
31852 _fmodl(0, 0);
31854 return 0;
31856 _ACEOF
31857 rm -f conftest.$ac_objext
31858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31859 (eval $ac_compile) 2>conftest.er1
31860 ac_status=$?
31861 grep -v '^ *+' conftest.er1 >conftest.err
31862 rm -f conftest.er1
31863 cat conftest.err >&5
31864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31865 (exit $ac_status); } &&
31866 { ac_try='test -z "$ac_cxx_werror_flag"
31867 || test ! -s conftest.err'
31868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31869 (eval $ac_try) 2>&5
31870 ac_status=$?
31871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31872 (exit $ac_status); }; } &&
31873 { ac_try='test -s conftest.$ac_objext'
31874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31875 (eval $ac_try) 2>&5
31876 ac_status=$?
31877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31878 (exit $ac_status); }; }; then
31879 glibcxx_cv_func__fmodl_use=yes
31880 else
31881 echo "$as_me: failed program was:" >&5
31882 sed 's/^/| /' conftest.$ac_ext >&5
31884 glibcxx_cv_func__fmodl_use=no
31886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31887 ac_ext=c
31888 ac_cpp='$CPP $CPPFLAGS'
31889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31897 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
31898 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
31900 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31902 for ac_func in _fmodl
31904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31905 echo "$as_me:$LINENO: checking for $ac_func" >&5
31906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31907 if eval "test \"\${$as_ac_var+set}\" = set"; then
31908 echo $ECHO_N "(cached) $ECHO_C" >&6
31909 else
31910 if test x$gcc_no_link = xyes; then
31911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31913 { (exit 1); exit 1; }; }
31915 cat >conftest.$ac_ext <<_ACEOF
31916 /* confdefs.h. */
31917 _ACEOF
31918 cat confdefs.h >>conftest.$ac_ext
31919 cat >>conftest.$ac_ext <<_ACEOF
31920 /* end confdefs.h. */
31921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31923 #define $ac_func innocuous_$ac_func
31925 /* System header to define __stub macros and hopefully few prototypes,
31926 which can conflict with char $ac_func (); below.
31927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31928 <limits.h> exists even on freestanding compilers. */
31930 #ifdef __STDC__
31931 # include <limits.h>
31932 #else
31933 # include <assert.h>
31934 #endif
31936 #undef $ac_func
31938 /* Override any gcc2 internal prototype to avoid an error. */
31939 #ifdef __cplusplus
31940 extern "C"
31942 #endif
31943 /* We use char because int might match the return type of a gcc2
31944 builtin and then its argument prototype would still apply. */
31945 char $ac_func ();
31946 /* The GNU C library defines this for functions which it implements
31947 to always fail with ENOSYS. Some functions are actually named
31948 something starting with __ and the normal name is an alias. */
31949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31950 choke me
31951 #else
31952 char (*f) () = $ac_func;
31953 #endif
31954 #ifdef __cplusplus
31956 #endif
31959 main ()
31961 return f != $ac_func;
31963 return 0;
31965 _ACEOF
31966 rm -f conftest.$ac_objext conftest$ac_exeext
31967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31968 (eval $ac_link) 2>conftest.er1
31969 ac_status=$?
31970 grep -v '^ *+' conftest.er1 >conftest.err
31971 rm -f conftest.er1
31972 cat conftest.err >&5
31973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31974 (exit $ac_status); } &&
31975 { ac_try='test -z "$ac_c_werror_flag"
31976 || test ! -s conftest.err'
31977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31978 (eval $ac_try) 2>&5
31979 ac_status=$?
31980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31981 (exit $ac_status); }; } &&
31982 { ac_try='test -s conftest$ac_exeext'
31983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31984 (eval $ac_try) 2>&5
31985 ac_status=$?
31986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31987 (exit $ac_status); }; }; then
31988 eval "$as_ac_var=yes"
31989 else
31990 echo "$as_me: failed program was:" >&5
31991 sed 's/^/| /' conftest.$ac_ext >&5
31993 eval "$as_ac_var=no"
31995 rm -f conftest.err conftest.$ac_objext \
31996 conftest$ac_exeext conftest.$ac_ext
31998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32000 if test `eval echo '${'$as_ac_var'}'` = yes; then
32001 cat >>confdefs.h <<_ACEOF
32002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32003 _ACEOF
32006 done
32016 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
32017 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
32018 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32019 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
32020 echo $ECHO_N "(cached) $ECHO_C" >&6
32021 else
32025 ac_ext=cc
32026 ac_cpp='$CXXCPP $CPPFLAGS'
32027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32031 cat >conftest.$ac_ext <<_ACEOF
32032 /* confdefs.h. */
32033 _ACEOF
32034 cat confdefs.h >>conftest.$ac_ext
32035 cat >>conftest.$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32037 #include <math.h>
32039 main ()
32041 frexpl(0, 0);
32043 return 0;
32045 _ACEOF
32046 rm -f conftest.$ac_objext
32047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32048 (eval $ac_compile) 2>conftest.er1
32049 ac_status=$?
32050 grep -v '^ *+' conftest.er1 >conftest.err
32051 rm -f conftest.er1
32052 cat conftest.err >&5
32053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32054 (exit $ac_status); } &&
32055 { ac_try='test -z "$ac_cxx_werror_flag"
32056 || test ! -s conftest.err'
32057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32058 (eval $ac_try) 2>&5
32059 ac_status=$?
32060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32061 (exit $ac_status); }; } &&
32062 { ac_try='test -s conftest.$ac_objext'
32063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32064 (eval $ac_try) 2>&5
32065 ac_status=$?
32066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32067 (exit $ac_status); }; }; then
32068 glibcxx_cv_func_frexpl_use=yes
32069 else
32070 echo "$as_me: failed program was:" >&5
32071 sed 's/^/| /' conftest.$ac_ext >&5
32073 glibcxx_cv_func_frexpl_use=no
32075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32076 ac_ext=c
32077 ac_cpp='$CPP $CPPFLAGS'
32078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32086 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
32087 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
32089 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32091 for ac_func in frexpl
32093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32094 echo "$as_me:$LINENO: checking for $ac_func" >&5
32095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32096 if eval "test \"\${$as_ac_var+set}\" = set"; then
32097 echo $ECHO_N "(cached) $ECHO_C" >&6
32098 else
32099 if test x$gcc_no_link = xyes; then
32100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32102 { (exit 1); exit 1; }; }
32104 cat >conftest.$ac_ext <<_ACEOF
32105 /* confdefs.h. */
32106 _ACEOF
32107 cat confdefs.h >>conftest.$ac_ext
32108 cat >>conftest.$ac_ext <<_ACEOF
32109 /* end confdefs.h. */
32110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32112 #define $ac_func innocuous_$ac_func
32114 /* System header to define __stub macros and hopefully few prototypes,
32115 which can conflict with char $ac_func (); below.
32116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32117 <limits.h> exists even on freestanding compilers. */
32119 #ifdef __STDC__
32120 # include <limits.h>
32121 #else
32122 # include <assert.h>
32123 #endif
32125 #undef $ac_func
32127 /* Override any gcc2 internal prototype to avoid an error. */
32128 #ifdef __cplusplus
32129 extern "C"
32131 #endif
32132 /* We use char because int might match the return type of a gcc2
32133 builtin and then its argument prototype would still apply. */
32134 char $ac_func ();
32135 /* The GNU C library defines this for functions which it implements
32136 to always fail with ENOSYS. Some functions are actually named
32137 something starting with __ and the normal name is an alias. */
32138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32139 choke me
32140 #else
32141 char (*f) () = $ac_func;
32142 #endif
32143 #ifdef __cplusplus
32145 #endif
32148 main ()
32150 return f != $ac_func;
32152 return 0;
32154 _ACEOF
32155 rm -f conftest.$ac_objext conftest$ac_exeext
32156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32157 (eval $ac_link) 2>conftest.er1
32158 ac_status=$?
32159 grep -v '^ *+' conftest.er1 >conftest.err
32160 rm -f conftest.er1
32161 cat conftest.err >&5
32162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32163 (exit $ac_status); } &&
32164 { ac_try='test -z "$ac_c_werror_flag"
32165 || test ! -s conftest.err'
32166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32167 (eval $ac_try) 2>&5
32168 ac_status=$?
32169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32170 (exit $ac_status); }; } &&
32171 { ac_try='test -s conftest$ac_exeext'
32172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32173 (eval $ac_try) 2>&5
32174 ac_status=$?
32175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32176 (exit $ac_status); }; }; then
32177 eval "$as_ac_var=yes"
32178 else
32179 echo "$as_me: failed program was:" >&5
32180 sed 's/^/| /' conftest.$ac_ext >&5
32182 eval "$as_ac_var=no"
32184 rm -f conftest.err conftest.$ac_objext \
32185 conftest$ac_exeext conftest.$ac_ext
32187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32189 if test `eval echo '${'$as_ac_var'}'` = yes; then
32190 cat >>confdefs.h <<_ACEOF
32191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32192 _ACEOF
32195 done
32197 else
32199 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
32200 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
32201 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32202 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
32203 echo $ECHO_N "(cached) $ECHO_C" >&6
32204 else
32208 ac_ext=cc
32209 ac_cpp='$CXXCPP $CPPFLAGS'
32210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32214 cat >conftest.$ac_ext <<_ACEOF
32215 /* confdefs.h. */
32216 _ACEOF
32217 cat confdefs.h >>conftest.$ac_ext
32218 cat >>conftest.$ac_ext <<_ACEOF
32219 /* end confdefs.h. */
32220 #include <math.h>
32222 main ()
32224 _frexpl(0, 0);
32226 return 0;
32228 _ACEOF
32229 rm -f conftest.$ac_objext
32230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32231 (eval $ac_compile) 2>conftest.er1
32232 ac_status=$?
32233 grep -v '^ *+' conftest.er1 >conftest.err
32234 rm -f conftest.er1
32235 cat conftest.err >&5
32236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 (exit $ac_status); } &&
32238 { ac_try='test -z "$ac_cxx_werror_flag"
32239 || test ! -s conftest.err'
32240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32241 (eval $ac_try) 2>&5
32242 ac_status=$?
32243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32244 (exit $ac_status); }; } &&
32245 { ac_try='test -s conftest.$ac_objext'
32246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32247 (eval $ac_try) 2>&5
32248 ac_status=$?
32249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32250 (exit $ac_status); }; }; then
32251 glibcxx_cv_func__frexpl_use=yes
32252 else
32253 echo "$as_me: failed program was:" >&5
32254 sed 's/^/| /' conftest.$ac_ext >&5
32256 glibcxx_cv_func__frexpl_use=no
32258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32259 ac_ext=c
32260 ac_cpp='$CPP $CPPFLAGS'
32261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32269 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
32270 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
32272 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32274 for ac_func in _frexpl
32276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32277 echo "$as_me:$LINENO: checking for $ac_func" >&5
32278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32279 if eval "test \"\${$as_ac_var+set}\" = set"; then
32280 echo $ECHO_N "(cached) $ECHO_C" >&6
32281 else
32282 if test x$gcc_no_link = xyes; then
32283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32285 { (exit 1); exit 1; }; }
32287 cat >conftest.$ac_ext <<_ACEOF
32288 /* confdefs.h. */
32289 _ACEOF
32290 cat confdefs.h >>conftest.$ac_ext
32291 cat >>conftest.$ac_ext <<_ACEOF
32292 /* end confdefs.h. */
32293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32295 #define $ac_func innocuous_$ac_func
32297 /* System header to define __stub macros and hopefully few prototypes,
32298 which can conflict with char $ac_func (); below.
32299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32300 <limits.h> exists even on freestanding compilers. */
32302 #ifdef __STDC__
32303 # include <limits.h>
32304 #else
32305 # include <assert.h>
32306 #endif
32308 #undef $ac_func
32310 /* Override any gcc2 internal prototype to avoid an error. */
32311 #ifdef __cplusplus
32312 extern "C"
32314 #endif
32315 /* We use char because int might match the return type of a gcc2
32316 builtin and then its argument prototype would still apply. */
32317 char $ac_func ();
32318 /* The GNU C library defines this for functions which it implements
32319 to always fail with ENOSYS. Some functions are actually named
32320 something starting with __ and the normal name is an alias. */
32321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32322 choke me
32323 #else
32324 char (*f) () = $ac_func;
32325 #endif
32326 #ifdef __cplusplus
32328 #endif
32331 main ()
32333 return f != $ac_func;
32335 return 0;
32337 _ACEOF
32338 rm -f conftest.$ac_objext conftest$ac_exeext
32339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32340 (eval $ac_link) 2>conftest.er1
32341 ac_status=$?
32342 grep -v '^ *+' conftest.er1 >conftest.err
32343 rm -f conftest.er1
32344 cat conftest.err >&5
32345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32346 (exit $ac_status); } &&
32347 { ac_try='test -z "$ac_c_werror_flag"
32348 || test ! -s conftest.err'
32349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32350 (eval $ac_try) 2>&5
32351 ac_status=$?
32352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32353 (exit $ac_status); }; } &&
32354 { ac_try='test -s conftest$ac_exeext'
32355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32356 (eval $ac_try) 2>&5
32357 ac_status=$?
32358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359 (exit $ac_status); }; }; then
32360 eval "$as_ac_var=yes"
32361 else
32362 echo "$as_me: failed program was:" >&5
32363 sed 's/^/| /' conftest.$ac_ext >&5
32365 eval "$as_ac_var=no"
32367 rm -f conftest.err conftest.$ac_objext \
32368 conftest$ac_exeext conftest.$ac_ext
32370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32372 if test `eval echo '${'$as_ac_var'}'` = yes; then
32373 cat >>confdefs.h <<_ACEOF
32374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32375 _ACEOF
32378 done
32388 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
32389 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
32390 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32391 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
32392 echo $ECHO_N "(cached) $ECHO_C" >&6
32393 else
32397 ac_ext=cc
32398 ac_cpp='$CXXCPP $CPPFLAGS'
32399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32403 cat >conftest.$ac_ext <<_ACEOF
32404 /* confdefs.h. */
32405 _ACEOF
32406 cat confdefs.h >>conftest.$ac_ext
32407 cat >>conftest.$ac_ext <<_ACEOF
32408 /* end confdefs.h. */
32409 #include <math.h>
32411 main ()
32413 hypotl(0, 0);
32415 return 0;
32417 _ACEOF
32418 rm -f conftest.$ac_objext
32419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32420 (eval $ac_compile) 2>conftest.er1
32421 ac_status=$?
32422 grep -v '^ *+' conftest.er1 >conftest.err
32423 rm -f conftest.er1
32424 cat conftest.err >&5
32425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32426 (exit $ac_status); } &&
32427 { ac_try='test -z "$ac_cxx_werror_flag"
32428 || test ! -s conftest.err'
32429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32430 (eval $ac_try) 2>&5
32431 ac_status=$?
32432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32433 (exit $ac_status); }; } &&
32434 { ac_try='test -s conftest.$ac_objext'
32435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32436 (eval $ac_try) 2>&5
32437 ac_status=$?
32438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32439 (exit $ac_status); }; }; then
32440 glibcxx_cv_func_hypotl_use=yes
32441 else
32442 echo "$as_me: failed program was:" >&5
32443 sed 's/^/| /' conftest.$ac_ext >&5
32445 glibcxx_cv_func_hypotl_use=no
32447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32448 ac_ext=c
32449 ac_cpp='$CPP $CPPFLAGS'
32450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32458 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
32459 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
32461 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32463 for ac_func in hypotl
32465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32466 echo "$as_me:$LINENO: checking for $ac_func" >&5
32467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32468 if eval "test \"\${$as_ac_var+set}\" = set"; then
32469 echo $ECHO_N "(cached) $ECHO_C" >&6
32470 else
32471 if test x$gcc_no_link = xyes; then
32472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32474 { (exit 1); exit 1; }; }
32476 cat >conftest.$ac_ext <<_ACEOF
32477 /* confdefs.h. */
32478 _ACEOF
32479 cat confdefs.h >>conftest.$ac_ext
32480 cat >>conftest.$ac_ext <<_ACEOF
32481 /* end confdefs.h. */
32482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32484 #define $ac_func innocuous_$ac_func
32486 /* System header to define __stub macros and hopefully few prototypes,
32487 which can conflict with char $ac_func (); below.
32488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32489 <limits.h> exists even on freestanding compilers. */
32491 #ifdef __STDC__
32492 # include <limits.h>
32493 #else
32494 # include <assert.h>
32495 #endif
32497 #undef $ac_func
32499 /* Override any gcc2 internal prototype to avoid an error. */
32500 #ifdef __cplusplus
32501 extern "C"
32503 #endif
32504 /* We use char because int might match the return type of a gcc2
32505 builtin and then its argument prototype would still apply. */
32506 char $ac_func ();
32507 /* The GNU C library defines this for functions which it implements
32508 to always fail with ENOSYS. Some functions are actually named
32509 something starting with __ and the normal name is an alias. */
32510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32511 choke me
32512 #else
32513 char (*f) () = $ac_func;
32514 #endif
32515 #ifdef __cplusplus
32517 #endif
32520 main ()
32522 return f != $ac_func;
32524 return 0;
32526 _ACEOF
32527 rm -f conftest.$ac_objext conftest$ac_exeext
32528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32529 (eval $ac_link) 2>conftest.er1
32530 ac_status=$?
32531 grep -v '^ *+' conftest.er1 >conftest.err
32532 rm -f conftest.er1
32533 cat conftest.err >&5
32534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32535 (exit $ac_status); } &&
32536 { ac_try='test -z "$ac_c_werror_flag"
32537 || test ! -s conftest.err'
32538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32539 (eval $ac_try) 2>&5
32540 ac_status=$?
32541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542 (exit $ac_status); }; } &&
32543 { ac_try='test -s conftest$ac_exeext'
32544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32545 (eval $ac_try) 2>&5
32546 ac_status=$?
32547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32548 (exit $ac_status); }; }; then
32549 eval "$as_ac_var=yes"
32550 else
32551 echo "$as_me: failed program was:" >&5
32552 sed 's/^/| /' conftest.$ac_ext >&5
32554 eval "$as_ac_var=no"
32556 rm -f conftest.err conftest.$ac_objext \
32557 conftest$ac_exeext conftest.$ac_ext
32559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32561 if test `eval echo '${'$as_ac_var'}'` = yes; then
32562 cat >>confdefs.h <<_ACEOF
32563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32564 _ACEOF
32567 done
32569 else
32571 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32572 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
32573 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32574 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32575 echo $ECHO_N "(cached) $ECHO_C" >&6
32576 else
32580 ac_ext=cc
32581 ac_cpp='$CXXCPP $CPPFLAGS'
32582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32586 cat >conftest.$ac_ext <<_ACEOF
32587 /* confdefs.h. */
32588 _ACEOF
32589 cat confdefs.h >>conftest.$ac_ext
32590 cat >>conftest.$ac_ext <<_ACEOF
32591 /* end confdefs.h. */
32592 #include <math.h>
32594 main ()
32596 _hypotl(0, 0);
32598 return 0;
32600 _ACEOF
32601 rm -f conftest.$ac_objext
32602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32603 (eval $ac_compile) 2>conftest.er1
32604 ac_status=$?
32605 grep -v '^ *+' conftest.er1 >conftest.err
32606 rm -f conftest.er1
32607 cat conftest.err >&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); } &&
32610 { ac_try='test -z "$ac_cxx_werror_flag"
32611 || test ! -s conftest.err'
32612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32613 (eval $ac_try) 2>&5
32614 ac_status=$?
32615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32616 (exit $ac_status); }; } &&
32617 { ac_try='test -s conftest.$ac_objext'
32618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32619 (eval $ac_try) 2>&5
32620 ac_status=$?
32621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32622 (exit $ac_status); }; }; then
32623 glibcxx_cv_func__hypotl_use=yes
32624 else
32625 echo "$as_me: failed program was:" >&5
32626 sed 's/^/| /' conftest.$ac_ext >&5
32628 glibcxx_cv_func__hypotl_use=no
32630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32631 ac_ext=c
32632 ac_cpp='$CPP $CPPFLAGS'
32633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32641 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
32642 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
32644 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32646 for ac_func in _hypotl
32648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32649 echo "$as_me:$LINENO: checking for $ac_func" >&5
32650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32651 if eval "test \"\${$as_ac_var+set}\" = set"; then
32652 echo $ECHO_N "(cached) $ECHO_C" >&6
32653 else
32654 if test x$gcc_no_link = xyes; then
32655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32657 { (exit 1); exit 1; }; }
32659 cat >conftest.$ac_ext <<_ACEOF
32660 /* confdefs.h. */
32661 _ACEOF
32662 cat confdefs.h >>conftest.$ac_ext
32663 cat >>conftest.$ac_ext <<_ACEOF
32664 /* end confdefs.h. */
32665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32667 #define $ac_func innocuous_$ac_func
32669 /* System header to define __stub macros and hopefully few prototypes,
32670 which can conflict with char $ac_func (); below.
32671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32672 <limits.h> exists even on freestanding compilers. */
32674 #ifdef __STDC__
32675 # include <limits.h>
32676 #else
32677 # include <assert.h>
32678 #endif
32680 #undef $ac_func
32682 /* Override any gcc2 internal prototype to avoid an error. */
32683 #ifdef __cplusplus
32684 extern "C"
32686 #endif
32687 /* We use char because int might match the return type of a gcc2
32688 builtin and then its argument prototype would still apply. */
32689 char $ac_func ();
32690 /* The GNU C library defines this for functions which it implements
32691 to always fail with ENOSYS. Some functions are actually named
32692 something starting with __ and the normal name is an alias. */
32693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32694 choke me
32695 #else
32696 char (*f) () = $ac_func;
32697 #endif
32698 #ifdef __cplusplus
32700 #endif
32703 main ()
32705 return f != $ac_func;
32707 return 0;
32709 _ACEOF
32710 rm -f conftest.$ac_objext conftest$ac_exeext
32711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32712 (eval $ac_link) 2>conftest.er1
32713 ac_status=$?
32714 grep -v '^ *+' conftest.er1 >conftest.err
32715 rm -f conftest.er1
32716 cat conftest.err >&5
32717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32718 (exit $ac_status); } &&
32719 { ac_try='test -z "$ac_c_werror_flag"
32720 || test ! -s conftest.err'
32721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32722 (eval $ac_try) 2>&5
32723 ac_status=$?
32724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32725 (exit $ac_status); }; } &&
32726 { ac_try='test -s conftest$ac_exeext'
32727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32728 (eval $ac_try) 2>&5
32729 ac_status=$?
32730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32731 (exit $ac_status); }; }; then
32732 eval "$as_ac_var=yes"
32733 else
32734 echo "$as_me: failed program was:" >&5
32735 sed 's/^/| /' conftest.$ac_ext >&5
32737 eval "$as_ac_var=no"
32739 rm -f conftest.err conftest.$ac_objext \
32740 conftest$ac_exeext conftest.$ac_ext
32742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32744 if test `eval echo '${'$as_ac_var'}'` = yes; then
32745 cat >>confdefs.h <<_ACEOF
32746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32747 _ACEOF
32750 done
32760 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
32761 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
32762 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32763 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
32764 echo $ECHO_N "(cached) $ECHO_C" >&6
32765 else
32769 ac_ext=cc
32770 ac_cpp='$CXXCPP $CPPFLAGS'
32771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32775 cat >conftest.$ac_ext <<_ACEOF
32776 /* confdefs.h. */
32777 _ACEOF
32778 cat confdefs.h >>conftest.$ac_ext
32779 cat >>conftest.$ac_ext <<_ACEOF
32780 /* end confdefs.h. */
32781 #include <math.h>
32783 main ()
32785 ldexpl(0, 0);
32787 return 0;
32789 _ACEOF
32790 rm -f conftest.$ac_objext
32791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32792 (eval $ac_compile) 2>conftest.er1
32793 ac_status=$?
32794 grep -v '^ *+' conftest.er1 >conftest.err
32795 rm -f conftest.er1
32796 cat conftest.err >&5
32797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32798 (exit $ac_status); } &&
32799 { ac_try='test -z "$ac_cxx_werror_flag"
32800 || test ! -s conftest.err'
32801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32802 (eval $ac_try) 2>&5
32803 ac_status=$?
32804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32805 (exit $ac_status); }; } &&
32806 { ac_try='test -s conftest.$ac_objext'
32807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32808 (eval $ac_try) 2>&5
32809 ac_status=$?
32810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32811 (exit $ac_status); }; }; then
32812 glibcxx_cv_func_ldexpl_use=yes
32813 else
32814 echo "$as_me: failed program was:" >&5
32815 sed 's/^/| /' conftest.$ac_ext >&5
32817 glibcxx_cv_func_ldexpl_use=no
32819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32820 ac_ext=c
32821 ac_cpp='$CPP $CPPFLAGS'
32822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32830 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
32831 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
32833 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32835 for ac_func in ldexpl
32837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32838 echo "$as_me:$LINENO: checking for $ac_func" >&5
32839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32840 if eval "test \"\${$as_ac_var+set}\" = set"; then
32841 echo $ECHO_N "(cached) $ECHO_C" >&6
32842 else
32843 if test x$gcc_no_link = xyes; then
32844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32846 { (exit 1); exit 1; }; }
32848 cat >conftest.$ac_ext <<_ACEOF
32849 /* confdefs.h. */
32850 _ACEOF
32851 cat confdefs.h >>conftest.$ac_ext
32852 cat >>conftest.$ac_ext <<_ACEOF
32853 /* end confdefs.h. */
32854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32856 #define $ac_func innocuous_$ac_func
32858 /* System header to define __stub macros and hopefully few prototypes,
32859 which can conflict with char $ac_func (); below.
32860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32861 <limits.h> exists even on freestanding compilers. */
32863 #ifdef __STDC__
32864 # include <limits.h>
32865 #else
32866 # include <assert.h>
32867 #endif
32869 #undef $ac_func
32871 /* Override any gcc2 internal prototype to avoid an error. */
32872 #ifdef __cplusplus
32873 extern "C"
32875 #endif
32876 /* We use char because int might match the return type of a gcc2
32877 builtin and then its argument prototype would still apply. */
32878 char $ac_func ();
32879 /* The GNU C library defines this for functions which it implements
32880 to always fail with ENOSYS. Some functions are actually named
32881 something starting with __ and the normal name is an alias. */
32882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32883 choke me
32884 #else
32885 char (*f) () = $ac_func;
32886 #endif
32887 #ifdef __cplusplus
32889 #endif
32892 main ()
32894 return f != $ac_func;
32896 return 0;
32898 _ACEOF
32899 rm -f conftest.$ac_objext conftest$ac_exeext
32900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32901 (eval $ac_link) 2>conftest.er1
32902 ac_status=$?
32903 grep -v '^ *+' conftest.er1 >conftest.err
32904 rm -f conftest.er1
32905 cat conftest.err >&5
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); } &&
32908 { ac_try='test -z "$ac_c_werror_flag"
32909 || test ! -s conftest.err'
32910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32911 (eval $ac_try) 2>&5
32912 ac_status=$?
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); }; } &&
32915 { ac_try='test -s conftest$ac_exeext'
32916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32917 (eval $ac_try) 2>&5
32918 ac_status=$?
32919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32920 (exit $ac_status); }; }; then
32921 eval "$as_ac_var=yes"
32922 else
32923 echo "$as_me: failed program was:" >&5
32924 sed 's/^/| /' conftest.$ac_ext >&5
32926 eval "$as_ac_var=no"
32928 rm -f conftest.err conftest.$ac_objext \
32929 conftest$ac_exeext conftest.$ac_ext
32931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32933 if test `eval echo '${'$as_ac_var'}'` = yes; then
32934 cat >>confdefs.h <<_ACEOF
32935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32936 _ACEOF
32939 done
32941 else
32943 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
32944 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
32945 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32946 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
32947 echo $ECHO_N "(cached) $ECHO_C" >&6
32948 else
32952 ac_ext=cc
32953 ac_cpp='$CXXCPP $CPPFLAGS'
32954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32958 cat >conftest.$ac_ext <<_ACEOF
32959 /* confdefs.h. */
32960 _ACEOF
32961 cat confdefs.h >>conftest.$ac_ext
32962 cat >>conftest.$ac_ext <<_ACEOF
32963 /* end confdefs.h. */
32964 #include <math.h>
32966 main ()
32968 _ldexpl(0, 0);
32970 return 0;
32972 _ACEOF
32973 rm -f conftest.$ac_objext
32974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32975 (eval $ac_compile) 2>conftest.er1
32976 ac_status=$?
32977 grep -v '^ *+' conftest.er1 >conftest.err
32978 rm -f conftest.er1
32979 cat conftest.err >&5
32980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32981 (exit $ac_status); } &&
32982 { ac_try='test -z "$ac_cxx_werror_flag"
32983 || test ! -s conftest.err'
32984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32985 (eval $ac_try) 2>&5
32986 ac_status=$?
32987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32988 (exit $ac_status); }; } &&
32989 { ac_try='test -s conftest.$ac_objext'
32990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32991 (eval $ac_try) 2>&5
32992 ac_status=$?
32993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994 (exit $ac_status); }; }; then
32995 glibcxx_cv_func__ldexpl_use=yes
32996 else
32997 echo "$as_me: failed program was:" >&5
32998 sed 's/^/| /' conftest.$ac_ext >&5
33000 glibcxx_cv_func__ldexpl_use=no
33002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33003 ac_ext=c
33004 ac_cpp='$CPP $CPPFLAGS'
33005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33013 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
33014 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
33016 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33018 for ac_func in _ldexpl
33020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33021 echo "$as_me:$LINENO: checking for $ac_func" >&5
33022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33023 if eval "test \"\${$as_ac_var+set}\" = set"; then
33024 echo $ECHO_N "(cached) $ECHO_C" >&6
33025 else
33026 if test x$gcc_no_link = xyes; then
33027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33029 { (exit 1); exit 1; }; }
33031 cat >conftest.$ac_ext <<_ACEOF
33032 /* confdefs.h. */
33033 _ACEOF
33034 cat confdefs.h >>conftest.$ac_ext
33035 cat >>conftest.$ac_ext <<_ACEOF
33036 /* end confdefs.h. */
33037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33039 #define $ac_func innocuous_$ac_func
33041 /* System header to define __stub macros and hopefully few prototypes,
33042 which can conflict with char $ac_func (); below.
33043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33044 <limits.h> exists even on freestanding compilers. */
33046 #ifdef __STDC__
33047 # include <limits.h>
33048 #else
33049 # include <assert.h>
33050 #endif
33052 #undef $ac_func
33054 /* Override any gcc2 internal prototype to avoid an error. */
33055 #ifdef __cplusplus
33056 extern "C"
33058 #endif
33059 /* We use char because int might match the return type of a gcc2
33060 builtin and then its argument prototype would still apply. */
33061 char $ac_func ();
33062 /* The GNU C library defines this for functions which it implements
33063 to always fail with ENOSYS. Some functions are actually named
33064 something starting with __ and the normal name is an alias. */
33065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33066 choke me
33067 #else
33068 char (*f) () = $ac_func;
33069 #endif
33070 #ifdef __cplusplus
33072 #endif
33075 main ()
33077 return f != $ac_func;
33079 return 0;
33081 _ACEOF
33082 rm -f conftest.$ac_objext conftest$ac_exeext
33083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33084 (eval $ac_link) 2>conftest.er1
33085 ac_status=$?
33086 grep -v '^ *+' conftest.er1 >conftest.err
33087 rm -f conftest.er1
33088 cat conftest.err >&5
33089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33090 (exit $ac_status); } &&
33091 { ac_try='test -z "$ac_c_werror_flag"
33092 || test ! -s conftest.err'
33093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33094 (eval $ac_try) 2>&5
33095 ac_status=$?
33096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33097 (exit $ac_status); }; } &&
33098 { ac_try='test -s conftest$ac_exeext'
33099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33100 (eval $ac_try) 2>&5
33101 ac_status=$?
33102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33103 (exit $ac_status); }; }; then
33104 eval "$as_ac_var=yes"
33105 else
33106 echo "$as_me: failed program was:" >&5
33107 sed 's/^/| /' conftest.$ac_ext >&5
33109 eval "$as_ac_var=no"
33111 rm -f conftest.err conftest.$ac_objext \
33112 conftest$ac_exeext conftest.$ac_ext
33114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33116 if test `eval echo '${'$as_ac_var'}'` = yes; then
33117 cat >>confdefs.h <<_ACEOF
33118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33119 _ACEOF
33122 done
33132 echo "$as_me:$LINENO: checking for logl declaration" >&5
33133 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
33134 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33135 if test "${glibcxx_cv_func_logl_use+set}" = set; then
33136 echo $ECHO_N "(cached) $ECHO_C" >&6
33137 else
33141 ac_ext=cc
33142 ac_cpp='$CXXCPP $CPPFLAGS'
33143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33147 cat >conftest.$ac_ext <<_ACEOF
33148 /* confdefs.h. */
33149 _ACEOF
33150 cat confdefs.h >>conftest.$ac_ext
33151 cat >>conftest.$ac_ext <<_ACEOF
33152 /* end confdefs.h. */
33153 #include <math.h>
33154 #ifdef HAVE_IEEEFP_H
33155 #include <ieeefp.h>
33156 #endif
33159 main ()
33161 logl(0);
33163 return 0;
33165 _ACEOF
33166 rm -f conftest.$ac_objext
33167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33168 (eval $ac_compile) 2>conftest.er1
33169 ac_status=$?
33170 grep -v '^ *+' conftest.er1 >conftest.err
33171 rm -f conftest.er1
33172 cat conftest.err >&5
33173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33174 (exit $ac_status); } &&
33175 { ac_try='test -z "$ac_cxx_werror_flag"
33176 || test ! -s conftest.err'
33177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33178 (eval $ac_try) 2>&5
33179 ac_status=$?
33180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33181 (exit $ac_status); }; } &&
33182 { ac_try='test -s conftest.$ac_objext'
33183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33184 (eval $ac_try) 2>&5
33185 ac_status=$?
33186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33187 (exit $ac_status); }; }; then
33188 glibcxx_cv_func_logl_use=yes
33189 else
33190 echo "$as_me: failed program was:" >&5
33191 sed 's/^/| /' conftest.$ac_ext >&5
33193 glibcxx_cv_func_logl_use=no
33195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33196 ac_ext=c
33197 ac_cpp='$CPP $CPPFLAGS'
33198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33206 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
33207 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
33209 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33211 for ac_func in logl
33213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33214 echo "$as_me:$LINENO: checking for $ac_func" >&5
33215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33216 if eval "test \"\${$as_ac_var+set}\" = set"; then
33217 echo $ECHO_N "(cached) $ECHO_C" >&6
33218 else
33219 if test x$gcc_no_link = xyes; then
33220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33222 { (exit 1); exit 1; }; }
33224 cat >conftest.$ac_ext <<_ACEOF
33225 /* confdefs.h. */
33226 _ACEOF
33227 cat confdefs.h >>conftest.$ac_ext
33228 cat >>conftest.$ac_ext <<_ACEOF
33229 /* end confdefs.h. */
33230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33232 #define $ac_func innocuous_$ac_func
33234 /* System header to define __stub macros and hopefully few prototypes,
33235 which can conflict with char $ac_func (); below.
33236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33237 <limits.h> exists even on freestanding compilers. */
33239 #ifdef __STDC__
33240 # include <limits.h>
33241 #else
33242 # include <assert.h>
33243 #endif
33245 #undef $ac_func
33247 /* Override any gcc2 internal prototype to avoid an error. */
33248 #ifdef __cplusplus
33249 extern "C"
33251 #endif
33252 /* We use char because int might match the return type of a gcc2
33253 builtin and then its argument prototype would still apply. */
33254 char $ac_func ();
33255 /* The GNU C library defines this for functions which it implements
33256 to always fail with ENOSYS. Some functions are actually named
33257 something starting with __ and the normal name is an alias. */
33258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33259 choke me
33260 #else
33261 char (*f) () = $ac_func;
33262 #endif
33263 #ifdef __cplusplus
33265 #endif
33268 main ()
33270 return f != $ac_func;
33272 return 0;
33274 _ACEOF
33275 rm -f conftest.$ac_objext conftest$ac_exeext
33276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33277 (eval $ac_link) 2>conftest.er1
33278 ac_status=$?
33279 grep -v '^ *+' conftest.er1 >conftest.err
33280 rm -f conftest.er1
33281 cat conftest.err >&5
33282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33283 (exit $ac_status); } &&
33284 { ac_try='test -z "$ac_c_werror_flag"
33285 || test ! -s conftest.err'
33286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33287 (eval $ac_try) 2>&5
33288 ac_status=$?
33289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33290 (exit $ac_status); }; } &&
33291 { ac_try='test -s conftest$ac_exeext'
33292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33293 (eval $ac_try) 2>&5
33294 ac_status=$?
33295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296 (exit $ac_status); }; }; then
33297 eval "$as_ac_var=yes"
33298 else
33299 echo "$as_me: failed program was:" >&5
33300 sed 's/^/| /' conftest.$ac_ext >&5
33302 eval "$as_ac_var=no"
33304 rm -f conftest.err conftest.$ac_objext \
33305 conftest$ac_exeext conftest.$ac_ext
33307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33309 if test `eval echo '${'$as_ac_var'}'` = yes; then
33310 cat >>confdefs.h <<_ACEOF
33311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33312 _ACEOF
33315 done
33317 else
33319 echo "$as_me:$LINENO: checking for _logl declaration" >&5
33320 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
33321 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33322 if test "${glibcxx_cv_func__logl_use+set}" = set; then
33323 echo $ECHO_N "(cached) $ECHO_C" >&6
33324 else
33328 ac_ext=cc
33329 ac_cpp='$CXXCPP $CPPFLAGS'
33330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33334 cat >conftest.$ac_ext <<_ACEOF
33335 /* confdefs.h. */
33336 _ACEOF
33337 cat confdefs.h >>conftest.$ac_ext
33338 cat >>conftest.$ac_ext <<_ACEOF
33339 /* end confdefs.h. */
33340 #include <math.h>
33341 #ifdef HAVE_IEEEFP_H
33342 #include <ieeefp.h>
33343 #endif
33346 main ()
33348 _logl(0);
33350 return 0;
33352 _ACEOF
33353 rm -f conftest.$ac_objext
33354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33355 (eval $ac_compile) 2>conftest.er1
33356 ac_status=$?
33357 grep -v '^ *+' conftest.er1 >conftest.err
33358 rm -f conftest.er1
33359 cat conftest.err >&5
33360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33361 (exit $ac_status); } &&
33362 { ac_try='test -z "$ac_cxx_werror_flag"
33363 || test ! -s conftest.err'
33364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33365 (eval $ac_try) 2>&5
33366 ac_status=$?
33367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33368 (exit $ac_status); }; } &&
33369 { ac_try='test -s conftest.$ac_objext'
33370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33371 (eval $ac_try) 2>&5
33372 ac_status=$?
33373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33374 (exit $ac_status); }; }; then
33375 glibcxx_cv_func__logl_use=yes
33376 else
33377 echo "$as_me: failed program was:" >&5
33378 sed 's/^/| /' conftest.$ac_ext >&5
33380 glibcxx_cv_func__logl_use=no
33382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33383 ac_ext=c
33384 ac_cpp='$CPP $CPPFLAGS'
33385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33393 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
33394 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
33396 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33398 for ac_func in _logl
33400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33401 echo "$as_me:$LINENO: checking for $ac_func" >&5
33402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33403 if eval "test \"\${$as_ac_var+set}\" = set"; then
33404 echo $ECHO_N "(cached) $ECHO_C" >&6
33405 else
33406 if test x$gcc_no_link = xyes; then
33407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33409 { (exit 1); exit 1; }; }
33411 cat >conftest.$ac_ext <<_ACEOF
33412 /* confdefs.h. */
33413 _ACEOF
33414 cat confdefs.h >>conftest.$ac_ext
33415 cat >>conftest.$ac_ext <<_ACEOF
33416 /* end confdefs.h. */
33417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33419 #define $ac_func innocuous_$ac_func
33421 /* System header to define __stub macros and hopefully few prototypes,
33422 which can conflict with char $ac_func (); below.
33423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33424 <limits.h> exists even on freestanding compilers. */
33426 #ifdef __STDC__
33427 # include <limits.h>
33428 #else
33429 # include <assert.h>
33430 #endif
33432 #undef $ac_func
33434 /* Override any gcc2 internal prototype to avoid an error. */
33435 #ifdef __cplusplus
33436 extern "C"
33438 #endif
33439 /* We use char because int might match the return type of a gcc2
33440 builtin and then its argument prototype would still apply. */
33441 char $ac_func ();
33442 /* The GNU C library defines this for functions which it implements
33443 to always fail with ENOSYS. Some functions are actually named
33444 something starting with __ and the normal name is an alias. */
33445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33446 choke me
33447 #else
33448 char (*f) () = $ac_func;
33449 #endif
33450 #ifdef __cplusplus
33452 #endif
33455 main ()
33457 return f != $ac_func;
33459 return 0;
33461 _ACEOF
33462 rm -f conftest.$ac_objext conftest$ac_exeext
33463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33464 (eval $ac_link) 2>conftest.er1
33465 ac_status=$?
33466 grep -v '^ *+' conftest.er1 >conftest.err
33467 rm -f conftest.er1
33468 cat conftest.err >&5
33469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33470 (exit $ac_status); } &&
33471 { ac_try='test -z "$ac_c_werror_flag"
33472 || test ! -s conftest.err'
33473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33474 (eval $ac_try) 2>&5
33475 ac_status=$?
33476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33477 (exit $ac_status); }; } &&
33478 { ac_try='test -s conftest$ac_exeext'
33479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33480 (eval $ac_try) 2>&5
33481 ac_status=$?
33482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33483 (exit $ac_status); }; }; then
33484 eval "$as_ac_var=yes"
33485 else
33486 echo "$as_me: failed program was:" >&5
33487 sed 's/^/| /' conftest.$ac_ext >&5
33489 eval "$as_ac_var=no"
33491 rm -f conftest.err conftest.$ac_objext \
33492 conftest$ac_exeext conftest.$ac_ext
33494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33496 if test `eval echo '${'$as_ac_var'}'` = yes; then
33497 cat >>confdefs.h <<_ACEOF
33498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33499 _ACEOF
33502 done
33512 echo "$as_me:$LINENO: checking for log10l declaration" >&5
33513 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
33514 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33515 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
33516 echo $ECHO_N "(cached) $ECHO_C" >&6
33517 else
33521 ac_ext=cc
33522 ac_cpp='$CXXCPP $CPPFLAGS'
33523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33527 cat >conftest.$ac_ext <<_ACEOF
33528 /* confdefs.h. */
33529 _ACEOF
33530 cat confdefs.h >>conftest.$ac_ext
33531 cat >>conftest.$ac_ext <<_ACEOF
33532 /* end confdefs.h. */
33533 #include <math.h>
33534 #ifdef HAVE_IEEEFP_H
33535 #include <ieeefp.h>
33536 #endif
33539 main ()
33541 log10l(0);
33543 return 0;
33545 _ACEOF
33546 rm -f conftest.$ac_objext
33547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33548 (eval $ac_compile) 2>conftest.er1
33549 ac_status=$?
33550 grep -v '^ *+' conftest.er1 >conftest.err
33551 rm -f conftest.er1
33552 cat conftest.err >&5
33553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33554 (exit $ac_status); } &&
33555 { ac_try='test -z "$ac_cxx_werror_flag"
33556 || test ! -s conftest.err'
33557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33558 (eval $ac_try) 2>&5
33559 ac_status=$?
33560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33561 (exit $ac_status); }; } &&
33562 { ac_try='test -s conftest.$ac_objext'
33563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33564 (eval $ac_try) 2>&5
33565 ac_status=$?
33566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33567 (exit $ac_status); }; }; then
33568 glibcxx_cv_func_log10l_use=yes
33569 else
33570 echo "$as_me: failed program was:" >&5
33571 sed 's/^/| /' conftest.$ac_ext >&5
33573 glibcxx_cv_func_log10l_use=no
33575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33576 ac_ext=c
33577 ac_cpp='$CPP $CPPFLAGS'
33578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33586 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33587 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
33589 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33591 for ac_func in log10l
33593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33594 echo "$as_me:$LINENO: checking for $ac_func" >&5
33595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33596 if eval "test \"\${$as_ac_var+set}\" = set"; then
33597 echo $ECHO_N "(cached) $ECHO_C" >&6
33598 else
33599 if test x$gcc_no_link = xyes; then
33600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33602 { (exit 1); exit 1; }; }
33604 cat >conftest.$ac_ext <<_ACEOF
33605 /* confdefs.h. */
33606 _ACEOF
33607 cat confdefs.h >>conftest.$ac_ext
33608 cat >>conftest.$ac_ext <<_ACEOF
33609 /* end confdefs.h. */
33610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33612 #define $ac_func innocuous_$ac_func
33614 /* System header to define __stub macros and hopefully few prototypes,
33615 which can conflict with char $ac_func (); below.
33616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33617 <limits.h> exists even on freestanding compilers. */
33619 #ifdef __STDC__
33620 # include <limits.h>
33621 #else
33622 # include <assert.h>
33623 #endif
33625 #undef $ac_func
33627 /* Override any gcc2 internal prototype to avoid an error. */
33628 #ifdef __cplusplus
33629 extern "C"
33631 #endif
33632 /* We use char because int might match the return type of a gcc2
33633 builtin and then its argument prototype would still apply. */
33634 char $ac_func ();
33635 /* The GNU C library defines this for functions which it implements
33636 to always fail with ENOSYS. Some functions are actually named
33637 something starting with __ and the normal name is an alias. */
33638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33639 choke me
33640 #else
33641 char (*f) () = $ac_func;
33642 #endif
33643 #ifdef __cplusplus
33645 #endif
33648 main ()
33650 return f != $ac_func;
33652 return 0;
33654 _ACEOF
33655 rm -f conftest.$ac_objext conftest$ac_exeext
33656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33657 (eval $ac_link) 2>conftest.er1
33658 ac_status=$?
33659 grep -v '^ *+' conftest.er1 >conftest.err
33660 rm -f conftest.er1
33661 cat conftest.err >&5
33662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33663 (exit $ac_status); } &&
33664 { ac_try='test -z "$ac_c_werror_flag"
33665 || test ! -s conftest.err'
33666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33667 (eval $ac_try) 2>&5
33668 ac_status=$?
33669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33670 (exit $ac_status); }; } &&
33671 { ac_try='test -s conftest$ac_exeext'
33672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33673 (eval $ac_try) 2>&5
33674 ac_status=$?
33675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33676 (exit $ac_status); }; }; then
33677 eval "$as_ac_var=yes"
33678 else
33679 echo "$as_me: failed program was:" >&5
33680 sed 's/^/| /' conftest.$ac_ext >&5
33682 eval "$as_ac_var=no"
33684 rm -f conftest.err conftest.$ac_objext \
33685 conftest$ac_exeext conftest.$ac_ext
33687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33689 if test `eval echo '${'$as_ac_var'}'` = yes; then
33690 cat >>confdefs.h <<_ACEOF
33691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33692 _ACEOF
33695 done
33697 else
33699 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
33700 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
33701 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33702 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
33703 echo $ECHO_N "(cached) $ECHO_C" >&6
33704 else
33708 ac_ext=cc
33709 ac_cpp='$CXXCPP $CPPFLAGS'
33710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33714 cat >conftest.$ac_ext <<_ACEOF
33715 /* confdefs.h. */
33716 _ACEOF
33717 cat confdefs.h >>conftest.$ac_ext
33718 cat >>conftest.$ac_ext <<_ACEOF
33719 /* end confdefs.h. */
33720 #include <math.h>
33721 #ifdef HAVE_IEEEFP_H
33722 #include <ieeefp.h>
33723 #endif
33726 main ()
33728 _log10l(0);
33730 return 0;
33732 _ACEOF
33733 rm -f conftest.$ac_objext
33734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33735 (eval $ac_compile) 2>conftest.er1
33736 ac_status=$?
33737 grep -v '^ *+' conftest.er1 >conftest.err
33738 rm -f conftest.er1
33739 cat conftest.err >&5
33740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33741 (exit $ac_status); } &&
33742 { ac_try='test -z "$ac_cxx_werror_flag"
33743 || test ! -s conftest.err'
33744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33745 (eval $ac_try) 2>&5
33746 ac_status=$?
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); }; } &&
33749 { ac_try='test -s conftest.$ac_objext'
33750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33751 (eval $ac_try) 2>&5
33752 ac_status=$?
33753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33754 (exit $ac_status); }; }; then
33755 glibcxx_cv_func__log10l_use=yes
33756 else
33757 echo "$as_me: failed program was:" >&5
33758 sed 's/^/| /' conftest.$ac_ext >&5
33760 glibcxx_cv_func__log10l_use=no
33762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33763 ac_ext=c
33764 ac_cpp='$CPP $CPPFLAGS'
33765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33773 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
33774 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
33776 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33778 for ac_func in _log10l
33780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33781 echo "$as_me:$LINENO: checking for $ac_func" >&5
33782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33783 if eval "test \"\${$as_ac_var+set}\" = set"; then
33784 echo $ECHO_N "(cached) $ECHO_C" >&6
33785 else
33786 if test x$gcc_no_link = xyes; then
33787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33789 { (exit 1); exit 1; }; }
33791 cat >conftest.$ac_ext <<_ACEOF
33792 /* confdefs.h. */
33793 _ACEOF
33794 cat confdefs.h >>conftest.$ac_ext
33795 cat >>conftest.$ac_ext <<_ACEOF
33796 /* end confdefs.h. */
33797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33799 #define $ac_func innocuous_$ac_func
33801 /* System header to define __stub macros and hopefully few prototypes,
33802 which can conflict with char $ac_func (); below.
33803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33804 <limits.h> exists even on freestanding compilers. */
33806 #ifdef __STDC__
33807 # include <limits.h>
33808 #else
33809 # include <assert.h>
33810 #endif
33812 #undef $ac_func
33814 /* Override any gcc2 internal prototype to avoid an error. */
33815 #ifdef __cplusplus
33816 extern "C"
33818 #endif
33819 /* We use char because int might match the return type of a gcc2
33820 builtin and then its argument prototype would still apply. */
33821 char $ac_func ();
33822 /* The GNU C library defines this for functions which it implements
33823 to always fail with ENOSYS. Some functions are actually named
33824 something starting with __ and the normal name is an alias. */
33825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33826 choke me
33827 #else
33828 char (*f) () = $ac_func;
33829 #endif
33830 #ifdef __cplusplus
33832 #endif
33835 main ()
33837 return f != $ac_func;
33839 return 0;
33841 _ACEOF
33842 rm -f conftest.$ac_objext conftest$ac_exeext
33843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33844 (eval $ac_link) 2>conftest.er1
33845 ac_status=$?
33846 grep -v '^ *+' conftest.er1 >conftest.err
33847 rm -f conftest.er1
33848 cat conftest.err >&5
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); } &&
33851 { ac_try='test -z "$ac_c_werror_flag"
33852 || test ! -s conftest.err'
33853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33854 (eval $ac_try) 2>&5
33855 ac_status=$?
33856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33857 (exit $ac_status); }; } &&
33858 { ac_try='test -s conftest$ac_exeext'
33859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33860 (eval $ac_try) 2>&5
33861 ac_status=$?
33862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863 (exit $ac_status); }; }; then
33864 eval "$as_ac_var=yes"
33865 else
33866 echo "$as_me: failed program was:" >&5
33867 sed 's/^/| /' conftest.$ac_ext >&5
33869 eval "$as_ac_var=no"
33871 rm -f conftest.err conftest.$ac_objext \
33872 conftest$ac_exeext conftest.$ac_ext
33874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33876 if test `eval echo '${'$as_ac_var'}'` = yes; then
33877 cat >>confdefs.h <<_ACEOF
33878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33879 _ACEOF
33882 done
33892 echo "$as_me:$LINENO: checking for modfl declaration" >&5
33893 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
33894 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33895 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
33896 echo $ECHO_N "(cached) $ECHO_C" >&6
33897 else
33901 ac_ext=cc
33902 ac_cpp='$CXXCPP $CPPFLAGS'
33903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33907 cat >conftest.$ac_ext <<_ACEOF
33908 /* confdefs.h. */
33909 _ACEOF
33910 cat confdefs.h >>conftest.$ac_ext
33911 cat >>conftest.$ac_ext <<_ACEOF
33912 /* end confdefs.h. */
33913 #include <math.h>
33915 main ()
33917 modfl(0, 0);
33919 return 0;
33921 _ACEOF
33922 rm -f conftest.$ac_objext
33923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33924 (eval $ac_compile) 2>conftest.er1
33925 ac_status=$?
33926 grep -v '^ *+' conftest.er1 >conftest.err
33927 rm -f conftest.er1
33928 cat conftest.err >&5
33929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33930 (exit $ac_status); } &&
33931 { ac_try='test -z "$ac_cxx_werror_flag"
33932 || test ! -s conftest.err'
33933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33934 (eval $ac_try) 2>&5
33935 ac_status=$?
33936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33937 (exit $ac_status); }; } &&
33938 { ac_try='test -s conftest.$ac_objext'
33939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33940 (eval $ac_try) 2>&5
33941 ac_status=$?
33942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33943 (exit $ac_status); }; }; then
33944 glibcxx_cv_func_modfl_use=yes
33945 else
33946 echo "$as_me: failed program was:" >&5
33947 sed 's/^/| /' conftest.$ac_ext >&5
33949 glibcxx_cv_func_modfl_use=no
33951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33952 ac_ext=c
33953 ac_cpp='$CPP $CPPFLAGS'
33954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33962 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
33963 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
33965 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33967 for ac_func in modfl
33969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33970 echo "$as_me:$LINENO: checking for $ac_func" >&5
33971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33972 if eval "test \"\${$as_ac_var+set}\" = set"; then
33973 echo $ECHO_N "(cached) $ECHO_C" >&6
33974 else
33975 if test x$gcc_no_link = xyes; then
33976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33978 { (exit 1); exit 1; }; }
33980 cat >conftest.$ac_ext <<_ACEOF
33981 /* confdefs.h. */
33982 _ACEOF
33983 cat confdefs.h >>conftest.$ac_ext
33984 cat >>conftest.$ac_ext <<_ACEOF
33985 /* end confdefs.h. */
33986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33988 #define $ac_func innocuous_$ac_func
33990 /* System header to define __stub macros and hopefully few prototypes,
33991 which can conflict with char $ac_func (); below.
33992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33993 <limits.h> exists even on freestanding compilers. */
33995 #ifdef __STDC__
33996 # include <limits.h>
33997 #else
33998 # include <assert.h>
33999 #endif
34001 #undef $ac_func
34003 /* Override any gcc2 internal prototype to avoid an error. */
34004 #ifdef __cplusplus
34005 extern "C"
34007 #endif
34008 /* We use char because int might match the return type of a gcc2
34009 builtin and then its argument prototype would still apply. */
34010 char $ac_func ();
34011 /* The GNU C library defines this for functions which it implements
34012 to always fail with ENOSYS. Some functions are actually named
34013 something starting with __ and the normal name is an alias. */
34014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34015 choke me
34016 #else
34017 char (*f) () = $ac_func;
34018 #endif
34019 #ifdef __cplusplus
34021 #endif
34024 main ()
34026 return f != $ac_func;
34028 return 0;
34030 _ACEOF
34031 rm -f conftest.$ac_objext conftest$ac_exeext
34032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34033 (eval $ac_link) 2>conftest.er1
34034 ac_status=$?
34035 grep -v '^ *+' conftest.er1 >conftest.err
34036 rm -f conftest.er1
34037 cat conftest.err >&5
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); } &&
34040 { ac_try='test -z "$ac_c_werror_flag"
34041 || test ! -s conftest.err'
34042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34043 (eval $ac_try) 2>&5
34044 ac_status=$?
34045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34046 (exit $ac_status); }; } &&
34047 { ac_try='test -s conftest$ac_exeext'
34048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34049 (eval $ac_try) 2>&5
34050 ac_status=$?
34051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34052 (exit $ac_status); }; }; then
34053 eval "$as_ac_var=yes"
34054 else
34055 echo "$as_me: failed program was:" >&5
34056 sed 's/^/| /' conftest.$ac_ext >&5
34058 eval "$as_ac_var=no"
34060 rm -f conftest.err conftest.$ac_objext \
34061 conftest$ac_exeext conftest.$ac_ext
34063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34065 if test `eval echo '${'$as_ac_var'}'` = yes; then
34066 cat >>confdefs.h <<_ACEOF
34067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34068 _ACEOF
34071 done
34073 else
34075 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
34076 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
34077 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34078 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
34079 echo $ECHO_N "(cached) $ECHO_C" >&6
34080 else
34084 ac_ext=cc
34085 ac_cpp='$CXXCPP $CPPFLAGS'
34086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34090 cat >conftest.$ac_ext <<_ACEOF
34091 /* confdefs.h. */
34092 _ACEOF
34093 cat confdefs.h >>conftest.$ac_ext
34094 cat >>conftest.$ac_ext <<_ACEOF
34095 /* end confdefs.h. */
34096 #include <math.h>
34098 main ()
34100 _modfl(0, 0);
34102 return 0;
34104 _ACEOF
34105 rm -f conftest.$ac_objext
34106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34107 (eval $ac_compile) 2>conftest.er1
34108 ac_status=$?
34109 grep -v '^ *+' conftest.er1 >conftest.err
34110 rm -f conftest.er1
34111 cat conftest.err >&5
34112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34113 (exit $ac_status); } &&
34114 { ac_try='test -z "$ac_cxx_werror_flag"
34115 || test ! -s conftest.err'
34116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34117 (eval $ac_try) 2>&5
34118 ac_status=$?
34119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34120 (exit $ac_status); }; } &&
34121 { ac_try='test -s conftest.$ac_objext'
34122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34123 (eval $ac_try) 2>&5
34124 ac_status=$?
34125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34126 (exit $ac_status); }; }; then
34127 glibcxx_cv_func__modfl_use=yes
34128 else
34129 echo "$as_me: failed program was:" >&5
34130 sed 's/^/| /' conftest.$ac_ext >&5
34132 glibcxx_cv_func__modfl_use=no
34134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34135 ac_ext=c
34136 ac_cpp='$CPP $CPPFLAGS'
34137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34145 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
34146 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
34148 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34150 for ac_func in _modfl
34152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34153 echo "$as_me:$LINENO: checking for $ac_func" >&5
34154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34155 if eval "test \"\${$as_ac_var+set}\" = set"; then
34156 echo $ECHO_N "(cached) $ECHO_C" >&6
34157 else
34158 if test x$gcc_no_link = xyes; then
34159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34161 { (exit 1); exit 1; }; }
34163 cat >conftest.$ac_ext <<_ACEOF
34164 /* confdefs.h. */
34165 _ACEOF
34166 cat confdefs.h >>conftest.$ac_ext
34167 cat >>conftest.$ac_ext <<_ACEOF
34168 /* end confdefs.h. */
34169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34171 #define $ac_func innocuous_$ac_func
34173 /* System header to define __stub macros and hopefully few prototypes,
34174 which can conflict with char $ac_func (); below.
34175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34176 <limits.h> exists even on freestanding compilers. */
34178 #ifdef __STDC__
34179 # include <limits.h>
34180 #else
34181 # include <assert.h>
34182 #endif
34184 #undef $ac_func
34186 /* Override any gcc2 internal prototype to avoid an error. */
34187 #ifdef __cplusplus
34188 extern "C"
34190 #endif
34191 /* We use char because int might match the return type of a gcc2
34192 builtin and then its argument prototype would still apply. */
34193 char $ac_func ();
34194 /* The GNU C library defines this for functions which it implements
34195 to always fail with ENOSYS. Some functions are actually named
34196 something starting with __ and the normal name is an alias. */
34197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34198 choke me
34199 #else
34200 char (*f) () = $ac_func;
34201 #endif
34202 #ifdef __cplusplus
34204 #endif
34207 main ()
34209 return f != $ac_func;
34211 return 0;
34213 _ACEOF
34214 rm -f conftest.$ac_objext conftest$ac_exeext
34215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34216 (eval $ac_link) 2>conftest.er1
34217 ac_status=$?
34218 grep -v '^ *+' conftest.er1 >conftest.err
34219 rm -f conftest.er1
34220 cat conftest.err >&5
34221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34222 (exit $ac_status); } &&
34223 { ac_try='test -z "$ac_c_werror_flag"
34224 || test ! -s conftest.err'
34225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34226 (eval $ac_try) 2>&5
34227 ac_status=$?
34228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34229 (exit $ac_status); }; } &&
34230 { ac_try='test -s conftest$ac_exeext'
34231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34232 (eval $ac_try) 2>&5
34233 ac_status=$?
34234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34235 (exit $ac_status); }; }; then
34236 eval "$as_ac_var=yes"
34237 else
34238 echo "$as_me: failed program was:" >&5
34239 sed 's/^/| /' conftest.$ac_ext >&5
34241 eval "$as_ac_var=no"
34243 rm -f conftest.err conftest.$ac_objext \
34244 conftest$ac_exeext conftest.$ac_ext
34246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34248 if test `eval echo '${'$as_ac_var'}'` = yes; then
34249 cat >>confdefs.h <<_ACEOF
34250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34251 _ACEOF
34254 done
34264 echo "$as_me:$LINENO: checking for powl declaration" >&5
34265 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
34266 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34267 if test "${glibcxx_cv_func_powl_use+set}" = set; then
34268 echo $ECHO_N "(cached) $ECHO_C" >&6
34269 else
34273 ac_ext=cc
34274 ac_cpp='$CXXCPP $CPPFLAGS'
34275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34279 cat >conftest.$ac_ext <<_ACEOF
34280 /* confdefs.h. */
34281 _ACEOF
34282 cat confdefs.h >>conftest.$ac_ext
34283 cat >>conftest.$ac_ext <<_ACEOF
34284 /* end confdefs.h. */
34285 #include <math.h>
34287 main ()
34289 powl(0, 0);
34291 return 0;
34293 _ACEOF
34294 rm -f conftest.$ac_objext
34295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34296 (eval $ac_compile) 2>conftest.er1
34297 ac_status=$?
34298 grep -v '^ *+' conftest.er1 >conftest.err
34299 rm -f conftest.er1
34300 cat conftest.err >&5
34301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34302 (exit $ac_status); } &&
34303 { ac_try='test -z "$ac_cxx_werror_flag"
34304 || test ! -s conftest.err'
34305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34306 (eval $ac_try) 2>&5
34307 ac_status=$?
34308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34309 (exit $ac_status); }; } &&
34310 { ac_try='test -s conftest.$ac_objext'
34311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34312 (eval $ac_try) 2>&5
34313 ac_status=$?
34314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34315 (exit $ac_status); }; }; then
34316 glibcxx_cv_func_powl_use=yes
34317 else
34318 echo "$as_me: failed program was:" >&5
34319 sed 's/^/| /' conftest.$ac_ext >&5
34321 glibcxx_cv_func_powl_use=no
34323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34324 ac_ext=c
34325 ac_cpp='$CPP $CPPFLAGS'
34326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34334 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
34335 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
34337 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34339 for ac_func in powl
34341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34342 echo "$as_me:$LINENO: checking for $ac_func" >&5
34343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34344 if eval "test \"\${$as_ac_var+set}\" = set"; then
34345 echo $ECHO_N "(cached) $ECHO_C" >&6
34346 else
34347 if test x$gcc_no_link = xyes; then
34348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34350 { (exit 1); exit 1; }; }
34352 cat >conftest.$ac_ext <<_ACEOF
34353 /* confdefs.h. */
34354 _ACEOF
34355 cat confdefs.h >>conftest.$ac_ext
34356 cat >>conftest.$ac_ext <<_ACEOF
34357 /* end confdefs.h. */
34358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34360 #define $ac_func innocuous_$ac_func
34362 /* System header to define __stub macros and hopefully few prototypes,
34363 which can conflict with char $ac_func (); below.
34364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34365 <limits.h> exists even on freestanding compilers. */
34367 #ifdef __STDC__
34368 # include <limits.h>
34369 #else
34370 # include <assert.h>
34371 #endif
34373 #undef $ac_func
34375 /* Override any gcc2 internal prototype to avoid an error. */
34376 #ifdef __cplusplus
34377 extern "C"
34379 #endif
34380 /* We use char because int might match the return type of a gcc2
34381 builtin and then its argument prototype would still apply. */
34382 char $ac_func ();
34383 /* The GNU C library defines this for functions which it implements
34384 to always fail with ENOSYS. Some functions are actually named
34385 something starting with __ and the normal name is an alias. */
34386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34387 choke me
34388 #else
34389 char (*f) () = $ac_func;
34390 #endif
34391 #ifdef __cplusplus
34393 #endif
34396 main ()
34398 return f != $ac_func;
34400 return 0;
34402 _ACEOF
34403 rm -f conftest.$ac_objext conftest$ac_exeext
34404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34405 (eval $ac_link) 2>conftest.er1
34406 ac_status=$?
34407 grep -v '^ *+' conftest.er1 >conftest.err
34408 rm -f conftest.er1
34409 cat conftest.err >&5
34410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34411 (exit $ac_status); } &&
34412 { ac_try='test -z "$ac_c_werror_flag"
34413 || test ! -s conftest.err'
34414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34415 (eval $ac_try) 2>&5
34416 ac_status=$?
34417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34418 (exit $ac_status); }; } &&
34419 { ac_try='test -s conftest$ac_exeext'
34420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34421 (eval $ac_try) 2>&5
34422 ac_status=$?
34423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34424 (exit $ac_status); }; }; then
34425 eval "$as_ac_var=yes"
34426 else
34427 echo "$as_me: failed program was:" >&5
34428 sed 's/^/| /' conftest.$ac_ext >&5
34430 eval "$as_ac_var=no"
34432 rm -f conftest.err conftest.$ac_objext \
34433 conftest$ac_exeext conftest.$ac_ext
34435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34437 if test `eval echo '${'$as_ac_var'}'` = yes; then
34438 cat >>confdefs.h <<_ACEOF
34439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34440 _ACEOF
34443 done
34445 else
34447 echo "$as_me:$LINENO: checking for _powl declaration" >&5
34448 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
34449 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34450 if test "${glibcxx_cv_func__powl_use+set}" = set; then
34451 echo $ECHO_N "(cached) $ECHO_C" >&6
34452 else
34456 ac_ext=cc
34457 ac_cpp='$CXXCPP $CPPFLAGS'
34458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34462 cat >conftest.$ac_ext <<_ACEOF
34463 /* confdefs.h. */
34464 _ACEOF
34465 cat confdefs.h >>conftest.$ac_ext
34466 cat >>conftest.$ac_ext <<_ACEOF
34467 /* end confdefs.h. */
34468 #include <math.h>
34470 main ()
34472 _powl(0, 0);
34474 return 0;
34476 _ACEOF
34477 rm -f conftest.$ac_objext
34478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34479 (eval $ac_compile) 2>conftest.er1
34480 ac_status=$?
34481 grep -v '^ *+' conftest.er1 >conftest.err
34482 rm -f conftest.er1
34483 cat conftest.err >&5
34484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34485 (exit $ac_status); } &&
34486 { ac_try='test -z "$ac_cxx_werror_flag"
34487 || test ! -s conftest.err'
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); }; } &&
34493 { ac_try='test -s conftest.$ac_objext'
34494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34495 (eval $ac_try) 2>&5
34496 ac_status=$?
34497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34498 (exit $ac_status); }; }; then
34499 glibcxx_cv_func__powl_use=yes
34500 else
34501 echo "$as_me: failed program was:" >&5
34502 sed 's/^/| /' conftest.$ac_ext >&5
34504 glibcxx_cv_func__powl_use=no
34506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34507 ac_ext=c
34508 ac_cpp='$CPP $CPPFLAGS'
34509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34517 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
34518 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
34520 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34522 for ac_func in _powl
34524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34525 echo "$as_me:$LINENO: checking for $ac_func" >&5
34526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34527 if eval "test \"\${$as_ac_var+set}\" = set"; then
34528 echo $ECHO_N "(cached) $ECHO_C" >&6
34529 else
34530 if test x$gcc_no_link = xyes; then
34531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34533 { (exit 1); exit 1; }; }
34535 cat >conftest.$ac_ext <<_ACEOF
34536 /* confdefs.h. */
34537 _ACEOF
34538 cat confdefs.h >>conftest.$ac_ext
34539 cat >>conftest.$ac_ext <<_ACEOF
34540 /* end confdefs.h. */
34541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34543 #define $ac_func innocuous_$ac_func
34545 /* System header to define __stub macros and hopefully few prototypes,
34546 which can conflict with char $ac_func (); below.
34547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34548 <limits.h> exists even on freestanding compilers. */
34550 #ifdef __STDC__
34551 # include <limits.h>
34552 #else
34553 # include <assert.h>
34554 #endif
34556 #undef $ac_func
34558 /* Override any gcc2 internal prototype to avoid an error. */
34559 #ifdef __cplusplus
34560 extern "C"
34562 #endif
34563 /* We use char because int might match the return type of a gcc2
34564 builtin and then its argument prototype would still apply. */
34565 char $ac_func ();
34566 /* The GNU C library defines this for functions which it implements
34567 to always fail with ENOSYS. Some functions are actually named
34568 something starting with __ and the normal name is an alias. */
34569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34570 choke me
34571 #else
34572 char (*f) () = $ac_func;
34573 #endif
34574 #ifdef __cplusplus
34576 #endif
34579 main ()
34581 return f != $ac_func;
34583 return 0;
34585 _ACEOF
34586 rm -f conftest.$ac_objext conftest$ac_exeext
34587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34588 (eval $ac_link) 2>conftest.er1
34589 ac_status=$?
34590 grep -v '^ *+' conftest.er1 >conftest.err
34591 rm -f conftest.er1
34592 cat conftest.err >&5
34593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34594 (exit $ac_status); } &&
34595 { ac_try='test -z "$ac_c_werror_flag"
34596 || test ! -s conftest.err'
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); }; } &&
34602 { ac_try='test -s conftest$ac_exeext'
34603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34604 (eval $ac_try) 2>&5
34605 ac_status=$?
34606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34607 (exit $ac_status); }; }; then
34608 eval "$as_ac_var=yes"
34609 else
34610 echo "$as_me: failed program was:" >&5
34611 sed 's/^/| /' conftest.$ac_ext >&5
34613 eval "$as_ac_var=no"
34615 rm -f conftest.err conftest.$ac_objext \
34616 conftest$ac_exeext conftest.$ac_ext
34618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34620 if test `eval echo '${'$as_ac_var'}'` = yes; then
34621 cat >>confdefs.h <<_ACEOF
34622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34623 _ACEOF
34626 done
34636 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
34637 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
34638 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34639 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
34640 echo $ECHO_N "(cached) $ECHO_C" >&6
34641 else
34645 ac_ext=cc
34646 ac_cpp='$CXXCPP $CPPFLAGS'
34647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34651 cat >conftest.$ac_ext <<_ACEOF
34652 /* confdefs.h. */
34653 _ACEOF
34654 cat confdefs.h >>conftest.$ac_ext
34655 cat >>conftest.$ac_ext <<_ACEOF
34656 /* end confdefs.h. */
34657 #include <math.h>
34658 #ifdef HAVE_IEEEFP_H
34659 #include <ieeefp.h>
34660 #endif
34663 main ()
34665 sqrtl(0);
34667 return 0;
34669 _ACEOF
34670 rm -f conftest.$ac_objext
34671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34672 (eval $ac_compile) 2>conftest.er1
34673 ac_status=$?
34674 grep -v '^ *+' conftest.er1 >conftest.err
34675 rm -f conftest.er1
34676 cat conftest.err >&5
34677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34678 (exit $ac_status); } &&
34679 { ac_try='test -z "$ac_cxx_werror_flag"
34680 || test ! -s conftest.err'
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); }; } &&
34686 { ac_try='test -s conftest.$ac_objext'
34687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34688 (eval $ac_try) 2>&5
34689 ac_status=$?
34690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34691 (exit $ac_status); }; }; then
34692 glibcxx_cv_func_sqrtl_use=yes
34693 else
34694 echo "$as_me: failed program was:" >&5
34695 sed 's/^/| /' conftest.$ac_ext >&5
34697 glibcxx_cv_func_sqrtl_use=no
34699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34700 ac_ext=c
34701 ac_cpp='$CPP $CPPFLAGS'
34702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34710 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
34711 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
34713 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34715 for ac_func in sqrtl
34717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34718 echo "$as_me:$LINENO: checking for $ac_func" >&5
34719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34720 if eval "test \"\${$as_ac_var+set}\" = set"; then
34721 echo $ECHO_N "(cached) $ECHO_C" >&6
34722 else
34723 if test x$gcc_no_link = xyes; then
34724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34726 { (exit 1); exit 1; }; }
34728 cat >conftest.$ac_ext <<_ACEOF
34729 /* confdefs.h. */
34730 _ACEOF
34731 cat confdefs.h >>conftest.$ac_ext
34732 cat >>conftest.$ac_ext <<_ACEOF
34733 /* end confdefs.h. */
34734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34736 #define $ac_func innocuous_$ac_func
34738 /* System header to define __stub macros and hopefully few prototypes,
34739 which can conflict with char $ac_func (); below.
34740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34741 <limits.h> exists even on freestanding compilers. */
34743 #ifdef __STDC__
34744 # include <limits.h>
34745 #else
34746 # include <assert.h>
34747 #endif
34749 #undef $ac_func
34751 /* Override any gcc2 internal prototype to avoid an error. */
34752 #ifdef __cplusplus
34753 extern "C"
34755 #endif
34756 /* We use char because int might match the return type of a gcc2
34757 builtin and then its argument prototype would still apply. */
34758 char $ac_func ();
34759 /* The GNU C library defines this for functions which it implements
34760 to always fail with ENOSYS. Some functions are actually named
34761 something starting with __ and the normal name is an alias. */
34762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34763 choke me
34764 #else
34765 char (*f) () = $ac_func;
34766 #endif
34767 #ifdef __cplusplus
34769 #endif
34772 main ()
34774 return f != $ac_func;
34776 return 0;
34778 _ACEOF
34779 rm -f conftest.$ac_objext conftest$ac_exeext
34780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34781 (eval $ac_link) 2>conftest.er1
34782 ac_status=$?
34783 grep -v '^ *+' conftest.er1 >conftest.err
34784 rm -f conftest.er1
34785 cat conftest.err >&5
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); } &&
34788 { ac_try='test -z "$ac_c_werror_flag"
34789 || test ! -s conftest.err'
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); }; } &&
34795 { ac_try='test -s conftest$ac_exeext'
34796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34797 (eval $ac_try) 2>&5
34798 ac_status=$?
34799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34800 (exit $ac_status); }; }; then
34801 eval "$as_ac_var=yes"
34802 else
34803 echo "$as_me: failed program was:" >&5
34804 sed 's/^/| /' conftest.$ac_ext >&5
34806 eval "$as_ac_var=no"
34808 rm -f conftest.err conftest.$ac_objext \
34809 conftest$ac_exeext conftest.$ac_ext
34811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34813 if test `eval echo '${'$as_ac_var'}'` = yes; then
34814 cat >>confdefs.h <<_ACEOF
34815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34816 _ACEOF
34819 done
34821 else
34823 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
34824 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
34825 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34826 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
34827 echo $ECHO_N "(cached) $ECHO_C" >&6
34828 else
34832 ac_ext=cc
34833 ac_cpp='$CXXCPP $CPPFLAGS'
34834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34838 cat >conftest.$ac_ext <<_ACEOF
34839 /* confdefs.h. */
34840 _ACEOF
34841 cat confdefs.h >>conftest.$ac_ext
34842 cat >>conftest.$ac_ext <<_ACEOF
34843 /* end confdefs.h. */
34844 #include <math.h>
34845 #ifdef HAVE_IEEEFP_H
34846 #include <ieeefp.h>
34847 #endif
34850 main ()
34852 _sqrtl(0);
34854 return 0;
34856 _ACEOF
34857 rm -f conftest.$ac_objext
34858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34859 (eval $ac_compile) 2>conftest.er1
34860 ac_status=$?
34861 grep -v '^ *+' conftest.er1 >conftest.err
34862 rm -f conftest.er1
34863 cat conftest.err >&5
34864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34865 (exit $ac_status); } &&
34866 { ac_try='test -z "$ac_cxx_werror_flag"
34867 || test ! -s conftest.err'
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); }; } &&
34873 { ac_try='test -s conftest.$ac_objext'
34874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34875 (eval $ac_try) 2>&5
34876 ac_status=$?
34877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34878 (exit $ac_status); }; }; then
34879 glibcxx_cv_func__sqrtl_use=yes
34880 else
34881 echo "$as_me: failed program was:" >&5
34882 sed 's/^/| /' conftest.$ac_ext >&5
34884 glibcxx_cv_func__sqrtl_use=no
34886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34887 ac_ext=c
34888 ac_cpp='$CPP $CPPFLAGS'
34889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34897 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
34898 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
34900 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34902 for ac_func in _sqrtl
34904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34905 echo "$as_me:$LINENO: checking for $ac_func" >&5
34906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34907 if eval "test \"\${$as_ac_var+set}\" = set"; then
34908 echo $ECHO_N "(cached) $ECHO_C" >&6
34909 else
34910 if test x$gcc_no_link = xyes; then
34911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34913 { (exit 1); exit 1; }; }
34915 cat >conftest.$ac_ext <<_ACEOF
34916 /* confdefs.h. */
34917 _ACEOF
34918 cat confdefs.h >>conftest.$ac_ext
34919 cat >>conftest.$ac_ext <<_ACEOF
34920 /* end confdefs.h. */
34921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34923 #define $ac_func innocuous_$ac_func
34925 /* System header to define __stub macros and hopefully few prototypes,
34926 which can conflict with char $ac_func (); below.
34927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34928 <limits.h> exists even on freestanding compilers. */
34930 #ifdef __STDC__
34931 # include <limits.h>
34932 #else
34933 # include <assert.h>
34934 #endif
34936 #undef $ac_func
34938 /* Override any gcc2 internal prototype to avoid an error. */
34939 #ifdef __cplusplus
34940 extern "C"
34942 #endif
34943 /* We use char because int might match the return type of a gcc2
34944 builtin and then its argument prototype would still apply. */
34945 char $ac_func ();
34946 /* The GNU C library defines this for functions which it implements
34947 to always fail with ENOSYS. Some functions are actually named
34948 something starting with __ and the normal name is an alias. */
34949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34950 choke me
34951 #else
34952 char (*f) () = $ac_func;
34953 #endif
34954 #ifdef __cplusplus
34956 #endif
34959 main ()
34961 return f != $ac_func;
34963 return 0;
34965 _ACEOF
34966 rm -f conftest.$ac_objext conftest$ac_exeext
34967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34968 (eval $ac_link) 2>conftest.er1
34969 ac_status=$?
34970 grep -v '^ *+' conftest.er1 >conftest.err
34971 rm -f conftest.er1
34972 cat conftest.err >&5
34973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34974 (exit $ac_status); } &&
34975 { ac_try='test -z "$ac_c_werror_flag"
34976 || test ! -s conftest.err'
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); }; } &&
34982 { ac_try='test -s conftest$ac_exeext'
34983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34984 (eval $ac_try) 2>&5
34985 ac_status=$?
34986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34987 (exit $ac_status); }; }; then
34988 eval "$as_ac_var=yes"
34989 else
34990 echo "$as_me: failed program was:" >&5
34991 sed 's/^/| /' conftest.$ac_ext >&5
34993 eval "$as_ac_var=no"
34995 rm -f conftest.err conftest.$ac_objext \
34996 conftest$ac_exeext conftest.$ac_ext
34998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35000 if test `eval echo '${'$as_ac_var'}'` = yes; then
35001 cat >>confdefs.h <<_ACEOF
35002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35003 _ACEOF
35006 done
35016 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
35017 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
35018 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35019 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
35020 echo $ECHO_N "(cached) $ECHO_C" >&6
35021 else
35025 ac_ext=cc
35026 ac_cpp='$CXXCPP $CPPFLAGS'
35027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35031 cat >conftest.$ac_ext <<_ACEOF
35032 /* confdefs.h. */
35033 _ACEOF
35034 cat confdefs.h >>conftest.$ac_ext
35035 cat >>conftest.$ac_ext <<_ACEOF
35036 /* end confdefs.h. */
35037 #include <math.h>
35039 main ()
35041 sincosl(0, 0, 0);
35043 return 0;
35045 _ACEOF
35046 rm -f conftest.$ac_objext
35047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35048 (eval $ac_compile) 2>conftest.er1
35049 ac_status=$?
35050 grep -v '^ *+' conftest.er1 >conftest.err
35051 rm -f conftest.er1
35052 cat conftest.err >&5
35053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35054 (exit $ac_status); } &&
35055 { ac_try='test -z "$ac_cxx_werror_flag"
35056 || test ! -s conftest.err'
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); }; } &&
35062 { ac_try='test -s conftest.$ac_objext'
35063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35064 (eval $ac_try) 2>&5
35065 ac_status=$?
35066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35067 (exit $ac_status); }; }; then
35068 glibcxx_cv_func_sincosl_use=yes
35069 else
35070 echo "$as_me: failed program was:" >&5
35071 sed 's/^/| /' conftest.$ac_ext >&5
35073 glibcxx_cv_func_sincosl_use=no
35075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35076 ac_ext=c
35077 ac_cpp='$CPP $CPPFLAGS'
35078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35086 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
35087 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
35089 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35091 for ac_func in sincosl
35093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35094 echo "$as_me:$LINENO: checking for $ac_func" >&5
35095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35096 if eval "test \"\${$as_ac_var+set}\" = set"; then
35097 echo $ECHO_N "(cached) $ECHO_C" >&6
35098 else
35099 if test x$gcc_no_link = xyes; then
35100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35102 { (exit 1); exit 1; }; }
35104 cat >conftest.$ac_ext <<_ACEOF
35105 /* confdefs.h. */
35106 _ACEOF
35107 cat confdefs.h >>conftest.$ac_ext
35108 cat >>conftest.$ac_ext <<_ACEOF
35109 /* end confdefs.h. */
35110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35112 #define $ac_func innocuous_$ac_func
35114 /* System header to define __stub macros and hopefully few prototypes,
35115 which can conflict with char $ac_func (); below.
35116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35117 <limits.h> exists even on freestanding compilers. */
35119 #ifdef __STDC__
35120 # include <limits.h>
35121 #else
35122 # include <assert.h>
35123 #endif
35125 #undef $ac_func
35127 /* Override any gcc2 internal prototype to avoid an error. */
35128 #ifdef __cplusplus
35129 extern "C"
35131 #endif
35132 /* We use char because int might match the return type of a gcc2
35133 builtin and then its argument prototype would still apply. */
35134 char $ac_func ();
35135 /* The GNU C library defines this for functions which it implements
35136 to always fail with ENOSYS. Some functions are actually named
35137 something starting with __ and the normal name is an alias. */
35138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35139 choke me
35140 #else
35141 char (*f) () = $ac_func;
35142 #endif
35143 #ifdef __cplusplus
35145 #endif
35148 main ()
35150 return f != $ac_func;
35152 return 0;
35154 _ACEOF
35155 rm -f conftest.$ac_objext conftest$ac_exeext
35156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35157 (eval $ac_link) 2>conftest.er1
35158 ac_status=$?
35159 grep -v '^ *+' conftest.er1 >conftest.err
35160 rm -f conftest.er1
35161 cat conftest.err >&5
35162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35163 (exit $ac_status); } &&
35164 { ac_try='test -z "$ac_c_werror_flag"
35165 || test ! -s conftest.err'
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); }; } &&
35171 { ac_try='test -s conftest$ac_exeext'
35172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35173 (eval $ac_try) 2>&5
35174 ac_status=$?
35175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35176 (exit $ac_status); }; }; then
35177 eval "$as_ac_var=yes"
35178 else
35179 echo "$as_me: failed program was:" >&5
35180 sed 's/^/| /' conftest.$ac_ext >&5
35182 eval "$as_ac_var=no"
35184 rm -f conftest.err conftest.$ac_objext \
35185 conftest$ac_exeext conftest.$ac_ext
35187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35189 if test `eval echo '${'$as_ac_var'}'` = yes; then
35190 cat >>confdefs.h <<_ACEOF
35191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35192 _ACEOF
35195 done
35197 else
35199 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
35200 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
35201 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35202 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
35203 echo $ECHO_N "(cached) $ECHO_C" >&6
35204 else
35208 ac_ext=cc
35209 ac_cpp='$CXXCPP $CPPFLAGS'
35210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35214 cat >conftest.$ac_ext <<_ACEOF
35215 /* confdefs.h. */
35216 _ACEOF
35217 cat confdefs.h >>conftest.$ac_ext
35218 cat >>conftest.$ac_ext <<_ACEOF
35219 /* end confdefs.h. */
35220 #include <math.h>
35222 main ()
35224 _sincosl(0, 0, 0);
35226 return 0;
35228 _ACEOF
35229 rm -f conftest.$ac_objext
35230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35231 (eval $ac_compile) 2>conftest.er1
35232 ac_status=$?
35233 grep -v '^ *+' conftest.er1 >conftest.err
35234 rm -f conftest.er1
35235 cat conftest.err >&5
35236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35237 (exit $ac_status); } &&
35238 { ac_try='test -z "$ac_cxx_werror_flag"
35239 || test ! -s conftest.err'
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); }; } &&
35245 { ac_try='test -s conftest.$ac_objext'
35246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35247 (eval $ac_try) 2>&5
35248 ac_status=$?
35249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35250 (exit $ac_status); }; }; then
35251 glibcxx_cv_func__sincosl_use=yes
35252 else
35253 echo "$as_me: failed program was:" >&5
35254 sed 's/^/| /' conftest.$ac_ext >&5
35256 glibcxx_cv_func__sincosl_use=no
35258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35259 ac_ext=c
35260 ac_cpp='$CPP $CPPFLAGS'
35261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35269 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
35270 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
35272 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35274 for ac_func in _sincosl
35276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35277 echo "$as_me:$LINENO: checking for $ac_func" >&5
35278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35279 if eval "test \"\${$as_ac_var+set}\" = set"; then
35280 echo $ECHO_N "(cached) $ECHO_C" >&6
35281 else
35282 if test x$gcc_no_link = xyes; then
35283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35285 { (exit 1); exit 1; }; }
35287 cat >conftest.$ac_ext <<_ACEOF
35288 /* confdefs.h. */
35289 _ACEOF
35290 cat confdefs.h >>conftest.$ac_ext
35291 cat >>conftest.$ac_ext <<_ACEOF
35292 /* end confdefs.h. */
35293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35295 #define $ac_func innocuous_$ac_func
35297 /* System header to define __stub macros and hopefully few prototypes,
35298 which can conflict with char $ac_func (); below.
35299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35300 <limits.h> exists even on freestanding compilers. */
35302 #ifdef __STDC__
35303 # include <limits.h>
35304 #else
35305 # include <assert.h>
35306 #endif
35308 #undef $ac_func
35310 /* Override any gcc2 internal prototype to avoid an error. */
35311 #ifdef __cplusplus
35312 extern "C"
35314 #endif
35315 /* We use char because int might match the return type of a gcc2
35316 builtin and then its argument prototype would still apply. */
35317 char $ac_func ();
35318 /* The GNU C library defines this for functions which it implements
35319 to always fail with ENOSYS. Some functions are actually named
35320 something starting with __ and the normal name is an alias. */
35321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35322 choke me
35323 #else
35324 char (*f) () = $ac_func;
35325 #endif
35326 #ifdef __cplusplus
35328 #endif
35331 main ()
35333 return f != $ac_func;
35335 return 0;
35337 _ACEOF
35338 rm -f conftest.$ac_objext conftest$ac_exeext
35339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35340 (eval $ac_link) 2>conftest.er1
35341 ac_status=$?
35342 grep -v '^ *+' conftest.er1 >conftest.err
35343 rm -f conftest.er1
35344 cat conftest.err >&5
35345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35346 (exit $ac_status); } &&
35347 { ac_try='test -z "$ac_c_werror_flag"
35348 || test ! -s conftest.err'
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); }; } &&
35354 { ac_try='test -s conftest$ac_exeext'
35355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35356 (eval $ac_try) 2>&5
35357 ac_status=$?
35358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35359 (exit $ac_status); }; }; then
35360 eval "$as_ac_var=yes"
35361 else
35362 echo "$as_me: failed program was:" >&5
35363 sed 's/^/| /' conftest.$ac_ext >&5
35365 eval "$as_ac_var=no"
35367 rm -f conftest.err conftest.$ac_objext \
35368 conftest$ac_exeext conftest.$ac_ext
35370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35372 if test `eval echo '${'$as_ac_var'}'` = yes; then
35373 cat >>confdefs.h <<_ACEOF
35374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35375 _ACEOF
35378 done
35388 echo "$as_me:$LINENO: checking for finitel declaration" >&5
35389 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
35390 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35391 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
35392 echo $ECHO_N "(cached) $ECHO_C" >&6
35393 else
35397 ac_ext=cc
35398 ac_cpp='$CXXCPP $CPPFLAGS'
35399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35403 cat >conftest.$ac_ext <<_ACEOF
35404 /* confdefs.h. */
35405 _ACEOF
35406 cat confdefs.h >>conftest.$ac_ext
35407 cat >>conftest.$ac_ext <<_ACEOF
35408 /* end confdefs.h. */
35409 #include <math.h>
35410 #ifdef HAVE_IEEEFP_H
35411 #include <ieeefp.h>
35412 #endif
35415 main ()
35417 finitel(0);
35419 return 0;
35421 _ACEOF
35422 rm -f conftest.$ac_objext
35423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35424 (eval $ac_compile) 2>conftest.er1
35425 ac_status=$?
35426 grep -v '^ *+' conftest.er1 >conftest.err
35427 rm -f conftest.er1
35428 cat conftest.err >&5
35429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35430 (exit $ac_status); } &&
35431 { ac_try='test -z "$ac_cxx_werror_flag"
35432 || test ! -s conftest.err'
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); }; } &&
35438 { ac_try='test -s conftest.$ac_objext'
35439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35440 (eval $ac_try) 2>&5
35441 ac_status=$?
35442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35443 (exit $ac_status); }; }; then
35444 glibcxx_cv_func_finitel_use=yes
35445 else
35446 echo "$as_me: failed program was:" >&5
35447 sed 's/^/| /' conftest.$ac_ext >&5
35449 glibcxx_cv_func_finitel_use=no
35451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35452 ac_ext=c
35453 ac_cpp='$CPP $CPPFLAGS'
35454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35462 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
35463 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
35465 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35467 for ac_func in finitel
35469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35470 echo "$as_me:$LINENO: checking for $ac_func" >&5
35471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35472 if eval "test \"\${$as_ac_var+set}\" = set"; then
35473 echo $ECHO_N "(cached) $ECHO_C" >&6
35474 else
35475 if test x$gcc_no_link = xyes; then
35476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35478 { (exit 1); exit 1; }; }
35480 cat >conftest.$ac_ext <<_ACEOF
35481 /* confdefs.h. */
35482 _ACEOF
35483 cat confdefs.h >>conftest.$ac_ext
35484 cat >>conftest.$ac_ext <<_ACEOF
35485 /* end confdefs.h. */
35486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35488 #define $ac_func innocuous_$ac_func
35490 /* System header to define __stub macros and hopefully few prototypes,
35491 which can conflict with char $ac_func (); below.
35492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35493 <limits.h> exists even on freestanding compilers. */
35495 #ifdef __STDC__
35496 # include <limits.h>
35497 #else
35498 # include <assert.h>
35499 #endif
35501 #undef $ac_func
35503 /* Override any gcc2 internal prototype to avoid an error. */
35504 #ifdef __cplusplus
35505 extern "C"
35507 #endif
35508 /* We use char because int might match the return type of a gcc2
35509 builtin and then its argument prototype would still apply. */
35510 char $ac_func ();
35511 /* The GNU C library defines this for functions which it implements
35512 to always fail with ENOSYS. Some functions are actually named
35513 something starting with __ and the normal name is an alias. */
35514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35515 choke me
35516 #else
35517 char (*f) () = $ac_func;
35518 #endif
35519 #ifdef __cplusplus
35521 #endif
35524 main ()
35526 return f != $ac_func;
35528 return 0;
35530 _ACEOF
35531 rm -f conftest.$ac_objext conftest$ac_exeext
35532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35533 (eval $ac_link) 2>conftest.er1
35534 ac_status=$?
35535 grep -v '^ *+' conftest.er1 >conftest.err
35536 rm -f conftest.er1
35537 cat conftest.err >&5
35538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35539 (exit $ac_status); } &&
35540 { ac_try='test -z "$ac_c_werror_flag"
35541 || test ! -s conftest.err'
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); }; } &&
35547 { ac_try='test -s conftest$ac_exeext'
35548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35549 (eval $ac_try) 2>&5
35550 ac_status=$?
35551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552 (exit $ac_status); }; }; then
35553 eval "$as_ac_var=yes"
35554 else
35555 echo "$as_me: failed program was:" >&5
35556 sed 's/^/| /' conftest.$ac_ext >&5
35558 eval "$as_ac_var=no"
35560 rm -f conftest.err conftest.$ac_objext \
35561 conftest$ac_exeext conftest.$ac_ext
35563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35565 if test `eval echo '${'$as_ac_var'}'` = yes; then
35566 cat >>confdefs.h <<_ACEOF
35567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35568 _ACEOF
35571 done
35573 else
35575 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35576 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
35577 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35578 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35579 echo $ECHO_N "(cached) $ECHO_C" >&6
35580 else
35584 ac_ext=cc
35585 ac_cpp='$CXXCPP $CPPFLAGS'
35586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35590 cat >conftest.$ac_ext <<_ACEOF
35591 /* confdefs.h. */
35592 _ACEOF
35593 cat confdefs.h >>conftest.$ac_ext
35594 cat >>conftest.$ac_ext <<_ACEOF
35595 /* end confdefs.h. */
35596 #include <math.h>
35597 #ifdef HAVE_IEEEFP_H
35598 #include <ieeefp.h>
35599 #endif
35602 main ()
35604 _finitel(0);
35606 return 0;
35608 _ACEOF
35609 rm -f conftest.$ac_objext
35610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35611 (eval $ac_compile) 2>conftest.er1
35612 ac_status=$?
35613 grep -v '^ *+' conftest.er1 >conftest.err
35614 rm -f conftest.er1
35615 cat conftest.err >&5
35616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35617 (exit $ac_status); } &&
35618 { ac_try='test -z "$ac_cxx_werror_flag"
35619 || test ! -s conftest.err'
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); }; } &&
35625 { ac_try='test -s conftest.$ac_objext'
35626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35627 (eval $ac_try) 2>&5
35628 ac_status=$?
35629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35630 (exit $ac_status); }; }; then
35631 glibcxx_cv_func__finitel_use=yes
35632 else
35633 echo "$as_me: failed program was:" >&5
35634 sed 's/^/| /' conftest.$ac_ext >&5
35636 glibcxx_cv_func__finitel_use=no
35638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35639 ac_ext=c
35640 ac_cpp='$CPP $CPPFLAGS'
35641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35649 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
35650 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
35652 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35654 for ac_func in _finitel
35656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35657 echo "$as_me:$LINENO: checking for $ac_func" >&5
35658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35659 if eval "test \"\${$as_ac_var+set}\" = set"; then
35660 echo $ECHO_N "(cached) $ECHO_C" >&6
35661 else
35662 if test x$gcc_no_link = xyes; then
35663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35665 { (exit 1); exit 1; }; }
35667 cat >conftest.$ac_ext <<_ACEOF
35668 /* confdefs.h. */
35669 _ACEOF
35670 cat confdefs.h >>conftest.$ac_ext
35671 cat >>conftest.$ac_ext <<_ACEOF
35672 /* end confdefs.h. */
35673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35675 #define $ac_func innocuous_$ac_func
35677 /* System header to define __stub macros and hopefully few prototypes,
35678 which can conflict with char $ac_func (); below.
35679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35680 <limits.h> exists even on freestanding compilers. */
35682 #ifdef __STDC__
35683 # include <limits.h>
35684 #else
35685 # include <assert.h>
35686 #endif
35688 #undef $ac_func
35690 /* Override any gcc2 internal prototype to avoid an error. */
35691 #ifdef __cplusplus
35692 extern "C"
35694 #endif
35695 /* We use char because int might match the return type of a gcc2
35696 builtin and then its argument prototype would still apply. */
35697 char $ac_func ();
35698 /* The GNU C library defines this for functions which it implements
35699 to always fail with ENOSYS. Some functions are actually named
35700 something starting with __ and the normal name is an alias. */
35701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35702 choke me
35703 #else
35704 char (*f) () = $ac_func;
35705 #endif
35706 #ifdef __cplusplus
35708 #endif
35711 main ()
35713 return f != $ac_func;
35715 return 0;
35717 _ACEOF
35718 rm -f conftest.$ac_objext conftest$ac_exeext
35719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35720 (eval $ac_link) 2>conftest.er1
35721 ac_status=$?
35722 grep -v '^ *+' conftest.er1 >conftest.err
35723 rm -f conftest.er1
35724 cat conftest.err >&5
35725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35726 (exit $ac_status); } &&
35727 { ac_try='test -z "$ac_c_werror_flag"
35728 || test ! -s conftest.err'
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); }; } &&
35734 { ac_try='test -s conftest$ac_exeext'
35735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35736 (eval $ac_try) 2>&5
35737 ac_status=$?
35738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35739 (exit $ac_status); }; }; then
35740 eval "$as_ac_var=yes"
35741 else
35742 echo "$as_me: failed program was:" >&5
35743 sed 's/^/| /' conftest.$ac_ext >&5
35745 eval "$as_ac_var=no"
35747 rm -f conftest.err conftest.$ac_objext \
35748 conftest$ac_exeext conftest.$ac_ext
35750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35752 if test `eval echo '${'$as_ac_var'}'` = yes; then
35753 cat >>confdefs.h <<_ACEOF
35754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35755 _ACEOF
35758 done
35767 LIBS="$ac_save_LIBS"
35768 CXXFLAGS="$ac_save_CXXFLAGS"
35772 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
35773 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
35774 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
35775 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
35776 echo $ECHO_N "(cached) $ECHO_C" >&6
35777 else
35781 ac_ext=cc
35782 ac_cpp='$CXXCPP $CPPFLAGS'
35783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35787 cat >conftest.$ac_ext <<_ACEOF
35788 /* confdefs.h. */
35789 _ACEOF
35790 cat confdefs.h >>conftest.$ac_ext
35791 cat >>conftest.$ac_ext <<_ACEOF
35792 /* end confdefs.h. */
35793 #include <math.h>
35795 main ()
35797 __builtin_abs(0);
35799 return 0;
35801 _ACEOF
35802 rm -f conftest.$ac_objext
35803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35804 (eval $ac_compile) 2>conftest.er1
35805 ac_status=$?
35806 grep -v '^ *+' conftest.er1 >conftest.err
35807 rm -f conftest.er1
35808 cat conftest.err >&5
35809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35810 (exit $ac_status); } &&
35811 { ac_try='test -z "$ac_cxx_werror_flag"
35812 || test ! -s conftest.err'
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); }; } &&
35818 { ac_try='test -s conftest.$ac_objext'
35819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35820 (eval $ac_try) 2>&5
35821 ac_status=$?
35822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35823 (exit $ac_status); }; }; then
35824 glibcxx_cv_func___builtin_abs_use=yes
35825 else
35826 echo "$as_me: failed program was:" >&5
35827 sed 's/^/| /' conftest.$ac_ext >&5
35829 glibcxx_cv_func___builtin_abs_use=no
35831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35832 ac_ext=c
35833 ac_cpp='$CPP $CPPFLAGS'
35834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35842 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
35843 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
35844 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
35845 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
35846 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
35847 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
35848 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
35849 echo $ECHO_N "(cached) $ECHO_C" >&6
35850 else
35852 if test x$gcc_no_link = xyes; then
35853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35855 { (exit 1); exit 1; }; }
35857 cat >conftest.$ac_ext <<_ACEOF
35858 /* confdefs.h. */
35859 _ACEOF
35860 cat confdefs.h >>conftest.$ac_ext
35861 cat >>conftest.$ac_ext <<_ACEOF
35862 /* end confdefs.h. */
35863 #include <math.h>
35865 main ()
35867 __builtin_abs(0);
35869 return 0;
35871 _ACEOF
35872 rm -f conftest.$ac_objext conftest$ac_exeext
35873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35874 (eval $ac_link) 2>conftest.er1
35875 ac_status=$?
35876 grep -v '^ *+' conftest.er1 >conftest.err
35877 rm -f conftest.er1
35878 cat conftest.err >&5
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); } &&
35881 { ac_try='test -z "$ac_c_werror_flag"
35882 || test ! -s conftest.err'
35883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35884 (eval $ac_try) 2>&5
35885 ac_status=$?
35886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35887 (exit $ac_status); }; } &&
35888 { ac_try='test -s conftest$ac_exeext'
35889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35890 (eval $ac_try) 2>&5
35891 ac_status=$?
35892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35893 (exit $ac_status); }; }; then
35894 glibcxx_cv_func___builtin_abs_link=yes
35895 else
35896 echo "$as_me: failed program was:" >&5
35897 sed 's/^/| /' conftest.$ac_ext >&5
35899 glibcxx_cv_func___builtin_abs_link=no
35901 rm -f conftest.err conftest.$ac_objext \
35902 conftest$ac_exeext conftest.$ac_ext
35907 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
35908 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
35910 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
35912 cat >>confdefs.h <<\_ACEOF
35913 #define HAVE___BUILTIN_ABS 1
35914 _ACEOF
35921 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
35922 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
35923 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
35924 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
35925 echo $ECHO_N "(cached) $ECHO_C" >&6
35926 else
35930 ac_ext=cc
35931 ac_cpp='$CXXCPP $CPPFLAGS'
35932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35936 cat >conftest.$ac_ext <<_ACEOF
35937 /* confdefs.h. */
35938 _ACEOF
35939 cat confdefs.h >>conftest.$ac_ext
35940 cat >>conftest.$ac_ext <<_ACEOF
35941 /* end confdefs.h. */
35942 #include <math.h>
35944 main ()
35946 __builtin_fabsf(0);
35948 return 0;
35950 _ACEOF
35951 rm -f conftest.$ac_objext
35952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35953 (eval $ac_compile) 2>conftest.er1
35954 ac_status=$?
35955 grep -v '^ *+' conftest.er1 >conftest.err
35956 rm -f conftest.er1
35957 cat conftest.err >&5
35958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959 (exit $ac_status); } &&
35960 { ac_try='test -z "$ac_cxx_werror_flag"
35961 || test ! -s conftest.err'
35962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35963 (eval $ac_try) 2>&5
35964 ac_status=$?
35965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35966 (exit $ac_status); }; } &&
35967 { ac_try='test -s conftest.$ac_objext'
35968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35969 (eval $ac_try) 2>&5
35970 ac_status=$?
35971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35972 (exit $ac_status); }; }; then
35973 glibcxx_cv_func___builtin_fabsf_use=yes
35974 else
35975 echo "$as_me: failed program was:" >&5
35976 sed 's/^/| /' conftest.$ac_ext >&5
35978 glibcxx_cv_func___builtin_fabsf_use=no
35980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35981 ac_ext=c
35982 ac_cpp='$CPP $CPPFLAGS'
35983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35991 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
35992 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
35993 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
35994 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
35995 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
35996 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
35997 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
35998 echo $ECHO_N "(cached) $ECHO_C" >&6
35999 else
36001 if test x$gcc_no_link = xyes; then
36002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36004 { (exit 1); exit 1; }; }
36006 cat >conftest.$ac_ext <<_ACEOF
36007 /* confdefs.h. */
36008 _ACEOF
36009 cat confdefs.h >>conftest.$ac_ext
36010 cat >>conftest.$ac_ext <<_ACEOF
36011 /* end confdefs.h. */
36012 #include <math.h>
36014 main ()
36016 __builtin_fabsf(0);
36018 return 0;
36020 _ACEOF
36021 rm -f conftest.$ac_objext conftest$ac_exeext
36022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36023 (eval $ac_link) 2>conftest.er1
36024 ac_status=$?
36025 grep -v '^ *+' conftest.er1 >conftest.err
36026 rm -f conftest.er1
36027 cat conftest.err >&5
36028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36029 (exit $ac_status); } &&
36030 { ac_try='test -z "$ac_c_werror_flag"
36031 || test ! -s conftest.err'
36032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36033 (eval $ac_try) 2>&5
36034 ac_status=$?
36035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36036 (exit $ac_status); }; } &&
36037 { ac_try='test -s conftest$ac_exeext'
36038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36039 (eval $ac_try) 2>&5
36040 ac_status=$?
36041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36042 (exit $ac_status); }; }; then
36043 glibcxx_cv_func___builtin_fabsf_link=yes
36044 else
36045 echo "$as_me: failed program was:" >&5
36046 sed 's/^/| /' conftest.$ac_ext >&5
36048 glibcxx_cv_func___builtin_fabsf_link=no
36050 rm -f conftest.err conftest.$ac_objext \
36051 conftest$ac_exeext conftest.$ac_ext
36056 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
36057 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
36059 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
36061 cat >>confdefs.h <<\_ACEOF
36062 #define HAVE___BUILTIN_FABSF 1
36063 _ACEOF
36070 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
36071 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
36072 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
36073 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
36074 echo $ECHO_N "(cached) $ECHO_C" >&6
36075 else
36079 ac_ext=cc
36080 ac_cpp='$CXXCPP $CPPFLAGS'
36081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36085 cat >conftest.$ac_ext <<_ACEOF
36086 /* confdefs.h. */
36087 _ACEOF
36088 cat confdefs.h >>conftest.$ac_ext
36089 cat >>conftest.$ac_ext <<_ACEOF
36090 /* end confdefs.h. */
36091 #include <math.h>
36093 main ()
36095 __builtin_fabs(0);
36097 return 0;
36099 _ACEOF
36100 rm -f conftest.$ac_objext
36101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36102 (eval $ac_compile) 2>conftest.er1
36103 ac_status=$?
36104 grep -v '^ *+' conftest.er1 >conftest.err
36105 rm -f conftest.er1
36106 cat conftest.err >&5
36107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36108 (exit $ac_status); } &&
36109 { ac_try='test -z "$ac_cxx_werror_flag"
36110 || test ! -s conftest.err'
36111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36112 (eval $ac_try) 2>&5
36113 ac_status=$?
36114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36115 (exit $ac_status); }; } &&
36116 { ac_try='test -s conftest.$ac_objext'
36117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36118 (eval $ac_try) 2>&5
36119 ac_status=$?
36120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36121 (exit $ac_status); }; }; then
36122 glibcxx_cv_func___builtin_fabs_use=yes
36123 else
36124 echo "$as_me: failed program was:" >&5
36125 sed 's/^/| /' conftest.$ac_ext >&5
36127 glibcxx_cv_func___builtin_fabs_use=no
36129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36130 ac_ext=c
36131 ac_cpp='$CPP $CPPFLAGS'
36132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36140 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
36141 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
36142 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
36143 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
36144 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
36145 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
36146 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
36147 echo $ECHO_N "(cached) $ECHO_C" >&6
36148 else
36150 if test x$gcc_no_link = xyes; then
36151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36153 { (exit 1); exit 1; }; }
36155 cat >conftest.$ac_ext <<_ACEOF
36156 /* confdefs.h. */
36157 _ACEOF
36158 cat confdefs.h >>conftest.$ac_ext
36159 cat >>conftest.$ac_ext <<_ACEOF
36160 /* end confdefs.h. */
36161 #include <math.h>
36163 main ()
36165 __builtin_fabs(0);
36167 return 0;
36169 _ACEOF
36170 rm -f conftest.$ac_objext conftest$ac_exeext
36171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36172 (eval $ac_link) 2>conftest.er1
36173 ac_status=$?
36174 grep -v '^ *+' conftest.er1 >conftest.err
36175 rm -f conftest.er1
36176 cat conftest.err >&5
36177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36178 (exit $ac_status); } &&
36179 { ac_try='test -z "$ac_c_werror_flag"
36180 || test ! -s conftest.err'
36181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36182 (eval $ac_try) 2>&5
36183 ac_status=$?
36184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36185 (exit $ac_status); }; } &&
36186 { ac_try='test -s conftest$ac_exeext'
36187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36188 (eval $ac_try) 2>&5
36189 ac_status=$?
36190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36191 (exit $ac_status); }; }; then
36192 glibcxx_cv_func___builtin_fabs_link=yes
36193 else
36194 echo "$as_me: failed program was:" >&5
36195 sed 's/^/| /' conftest.$ac_ext >&5
36197 glibcxx_cv_func___builtin_fabs_link=no
36199 rm -f conftest.err conftest.$ac_objext \
36200 conftest$ac_exeext conftest.$ac_ext
36205 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
36206 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
36208 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
36210 cat >>confdefs.h <<\_ACEOF
36211 #define HAVE___BUILTIN_FABS 1
36212 _ACEOF
36219 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
36220 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
36221 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
36222 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
36223 echo $ECHO_N "(cached) $ECHO_C" >&6
36224 else
36228 ac_ext=cc
36229 ac_cpp='$CXXCPP $CPPFLAGS'
36230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36234 cat >conftest.$ac_ext <<_ACEOF
36235 /* confdefs.h. */
36236 _ACEOF
36237 cat confdefs.h >>conftest.$ac_ext
36238 cat >>conftest.$ac_ext <<_ACEOF
36239 /* end confdefs.h. */
36240 #include <math.h>
36242 main ()
36244 __builtin_fabsl(0);
36246 return 0;
36248 _ACEOF
36249 rm -f conftest.$ac_objext
36250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36251 (eval $ac_compile) 2>conftest.er1
36252 ac_status=$?
36253 grep -v '^ *+' conftest.er1 >conftest.err
36254 rm -f conftest.er1
36255 cat conftest.err >&5
36256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36257 (exit $ac_status); } &&
36258 { ac_try='test -z "$ac_cxx_werror_flag"
36259 || test ! -s conftest.err'
36260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36261 (eval $ac_try) 2>&5
36262 ac_status=$?
36263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36264 (exit $ac_status); }; } &&
36265 { ac_try='test -s conftest.$ac_objext'
36266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36267 (eval $ac_try) 2>&5
36268 ac_status=$?
36269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36270 (exit $ac_status); }; }; then
36271 glibcxx_cv_func___builtin_fabsl_use=yes
36272 else
36273 echo "$as_me: failed program was:" >&5
36274 sed 's/^/| /' conftest.$ac_ext >&5
36276 glibcxx_cv_func___builtin_fabsl_use=no
36278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36279 ac_ext=c
36280 ac_cpp='$CPP $CPPFLAGS'
36281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36289 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
36290 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
36291 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
36292 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
36293 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
36294 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
36295 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
36296 echo $ECHO_N "(cached) $ECHO_C" >&6
36297 else
36299 if test x$gcc_no_link = xyes; then
36300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36302 { (exit 1); exit 1; }; }
36304 cat >conftest.$ac_ext <<_ACEOF
36305 /* confdefs.h. */
36306 _ACEOF
36307 cat confdefs.h >>conftest.$ac_ext
36308 cat >>conftest.$ac_ext <<_ACEOF
36309 /* end confdefs.h. */
36310 #include <math.h>
36312 main ()
36314 __builtin_fabsl(0);
36316 return 0;
36318 _ACEOF
36319 rm -f conftest.$ac_objext conftest$ac_exeext
36320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36321 (eval $ac_link) 2>conftest.er1
36322 ac_status=$?
36323 grep -v '^ *+' conftest.er1 >conftest.err
36324 rm -f conftest.er1
36325 cat conftest.err >&5
36326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36327 (exit $ac_status); } &&
36328 { ac_try='test -z "$ac_c_werror_flag"
36329 || test ! -s conftest.err'
36330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36331 (eval $ac_try) 2>&5
36332 ac_status=$?
36333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36334 (exit $ac_status); }; } &&
36335 { ac_try='test -s conftest$ac_exeext'
36336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36337 (eval $ac_try) 2>&5
36338 ac_status=$?
36339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36340 (exit $ac_status); }; }; then
36341 glibcxx_cv_func___builtin_fabsl_link=yes
36342 else
36343 echo "$as_me: failed program was:" >&5
36344 sed 's/^/| /' conftest.$ac_ext >&5
36346 glibcxx_cv_func___builtin_fabsl_link=no
36348 rm -f conftest.err conftest.$ac_objext \
36349 conftest$ac_exeext conftest.$ac_ext
36354 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
36355 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
36357 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
36359 cat >>confdefs.h <<\_ACEOF
36360 #define HAVE___BUILTIN_FABSL 1
36361 _ACEOF
36368 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
36369 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
36370 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
36371 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
36372 echo $ECHO_N "(cached) $ECHO_C" >&6
36373 else
36377 ac_ext=cc
36378 ac_cpp='$CXXCPP $CPPFLAGS'
36379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36383 cat >conftest.$ac_ext <<_ACEOF
36384 /* confdefs.h. */
36385 _ACEOF
36386 cat confdefs.h >>conftest.$ac_ext
36387 cat >>conftest.$ac_ext <<_ACEOF
36388 /* end confdefs.h. */
36389 #include <math.h>
36391 main ()
36393 __builtin_labs(0);
36395 return 0;
36397 _ACEOF
36398 rm -f conftest.$ac_objext
36399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36400 (eval $ac_compile) 2>conftest.er1
36401 ac_status=$?
36402 grep -v '^ *+' conftest.er1 >conftest.err
36403 rm -f conftest.er1
36404 cat conftest.err >&5
36405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36406 (exit $ac_status); } &&
36407 { ac_try='test -z "$ac_cxx_werror_flag"
36408 || test ! -s conftest.err'
36409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36410 (eval $ac_try) 2>&5
36411 ac_status=$?
36412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36413 (exit $ac_status); }; } &&
36414 { ac_try='test -s conftest.$ac_objext'
36415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36416 (eval $ac_try) 2>&5
36417 ac_status=$?
36418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36419 (exit $ac_status); }; }; then
36420 glibcxx_cv_func___builtin_labs_use=yes
36421 else
36422 echo "$as_me: failed program was:" >&5
36423 sed 's/^/| /' conftest.$ac_ext >&5
36425 glibcxx_cv_func___builtin_labs_use=no
36427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36428 ac_ext=c
36429 ac_cpp='$CPP $CPPFLAGS'
36430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36438 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
36439 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
36440 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
36441 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
36442 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
36443 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
36444 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
36445 echo $ECHO_N "(cached) $ECHO_C" >&6
36446 else
36448 if test x$gcc_no_link = xyes; then
36449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36451 { (exit 1); exit 1; }; }
36453 cat >conftest.$ac_ext <<_ACEOF
36454 /* confdefs.h. */
36455 _ACEOF
36456 cat confdefs.h >>conftest.$ac_ext
36457 cat >>conftest.$ac_ext <<_ACEOF
36458 /* end confdefs.h. */
36459 #include <math.h>
36461 main ()
36463 __builtin_labs(0);
36465 return 0;
36467 _ACEOF
36468 rm -f conftest.$ac_objext conftest$ac_exeext
36469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36470 (eval $ac_link) 2>conftest.er1
36471 ac_status=$?
36472 grep -v '^ *+' conftest.er1 >conftest.err
36473 rm -f conftest.er1
36474 cat conftest.err >&5
36475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36476 (exit $ac_status); } &&
36477 { ac_try='test -z "$ac_c_werror_flag"
36478 || test ! -s conftest.err'
36479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36480 (eval $ac_try) 2>&5
36481 ac_status=$?
36482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36483 (exit $ac_status); }; } &&
36484 { ac_try='test -s conftest$ac_exeext'
36485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36486 (eval $ac_try) 2>&5
36487 ac_status=$?
36488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36489 (exit $ac_status); }; }; then
36490 glibcxx_cv_func___builtin_labs_link=yes
36491 else
36492 echo "$as_me: failed program was:" >&5
36493 sed 's/^/| /' conftest.$ac_ext >&5
36495 glibcxx_cv_func___builtin_labs_link=no
36497 rm -f conftest.err conftest.$ac_objext \
36498 conftest$ac_exeext conftest.$ac_ext
36503 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
36504 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
36506 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
36508 cat >>confdefs.h <<\_ACEOF
36509 #define HAVE___BUILTIN_LABS 1
36510 _ACEOF
36518 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
36519 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
36520 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
36521 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
36522 echo $ECHO_N "(cached) $ECHO_C" >&6
36523 else
36527 ac_ext=cc
36528 ac_cpp='$CXXCPP $CPPFLAGS'
36529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36533 cat >conftest.$ac_ext <<_ACEOF
36534 /* confdefs.h. */
36535 _ACEOF
36536 cat confdefs.h >>conftest.$ac_ext
36537 cat >>conftest.$ac_ext <<_ACEOF
36538 /* end confdefs.h. */
36539 #include <math.h>
36541 main ()
36543 __builtin_sqrtf(0);
36545 return 0;
36547 _ACEOF
36548 rm -f conftest.$ac_objext
36549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36550 (eval $ac_compile) 2>conftest.er1
36551 ac_status=$?
36552 grep -v '^ *+' conftest.er1 >conftest.err
36553 rm -f conftest.er1
36554 cat conftest.err >&5
36555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36556 (exit $ac_status); } &&
36557 { ac_try='test -z "$ac_cxx_werror_flag"
36558 || test ! -s conftest.err'
36559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36560 (eval $ac_try) 2>&5
36561 ac_status=$?
36562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36563 (exit $ac_status); }; } &&
36564 { ac_try='test -s conftest.$ac_objext'
36565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36566 (eval $ac_try) 2>&5
36567 ac_status=$?
36568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36569 (exit $ac_status); }; }; then
36570 glibcxx_cv_func___builtin_sqrtf_use=yes
36571 else
36572 echo "$as_me: failed program was:" >&5
36573 sed 's/^/| /' conftest.$ac_ext >&5
36575 glibcxx_cv_func___builtin_sqrtf_use=no
36577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36578 ac_ext=c
36579 ac_cpp='$CPP $CPPFLAGS'
36580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36588 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
36589 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
36590 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36591 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36592 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
36593 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36594 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36595 echo $ECHO_N "(cached) $ECHO_C" >&6
36596 else
36598 if test x$gcc_no_link = xyes; then
36599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36601 { (exit 1); exit 1; }; }
36603 cat >conftest.$ac_ext <<_ACEOF
36604 /* confdefs.h. */
36605 _ACEOF
36606 cat confdefs.h >>conftest.$ac_ext
36607 cat >>conftest.$ac_ext <<_ACEOF
36608 /* end confdefs.h. */
36609 #include <math.h>
36611 main ()
36613 __builtin_sqrtf(0);
36615 return 0;
36617 _ACEOF
36618 rm -f conftest.$ac_objext conftest$ac_exeext
36619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36620 (eval $ac_link) 2>conftest.er1
36621 ac_status=$?
36622 grep -v '^ *+' conftest.er1 >conftest.err
36623 rm -f conftest.er1
36624 cat conftest.err >&5
36625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36626 (exit $ac_status); } &&
36627 { ac_try='test -z "$ac_c_werror_flag"
36628 || test ! -s conftest.err'
36629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36630 (eval $ac_try) 2>&5
36631 ac_status=$?
36632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36633 (exit $ac_status); }; } &&
36634 { ac_try='test -s conftest$ac_exeext'
36635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36636 (eval $ac_try) 2>&5
36637 ac_status=$?
36638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36639 (exit $ac_status); }; }; then
36640 glibcxx_cv_func___builtin_sqrtf_link=yes
36641 else
36642 echo "$as_me: failed program was:" >&5
36643 sed 's/^/| /' conftest.$ac_ext >&5
36645 glibcxx_cv_func___builtin_sqrtf_link=no
36647 rm -f conftest.err conftest.$ac_objext \
36648 conftest$ac_exeext conftest.$ac_ext
36653 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
36654 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
36656 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
36658 cat >>confdefs.h <<\_ACEOF
36659 #define HAVE___BUILTIN_SQRTF 1
36660 _ACEOF
36667 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
36668 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
36669 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
36670 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
36671 echo $ECHO_N "(cached) $ECHO_C" >&6
36672 else
36676 ac_ext=cc
36677 ac_cpp='$CXXCPP $CPPFLAGS'
36678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36682 cat >conftest.$ac_ext <<_ACEOF
36683 /* confdefs.h. */
36684 _ACEOF
36685 cat confdefs.h >>conftest.$ac_ext
36686 cat >>conftest.$ac_ext <<_ACEOF
36687 /* end confdefs.h. */
36688 #include <math.h>
36690 main ()
36692 __builtin_sqrt(0);
36694 return 0;
36696 _ACEOF
36697 rm -f conftest.$ac_objext
36698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36699 (eval $ac_compile) 2>conftest.er1
36700 ac_status=$?
36701 grep -v '^ *+' conftest.er1 >conftest.err
36702 rm -f conftest.er1
36703 cat conftest.err >&5
36704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36705 (exit $ac_status); } &&
36706 { ac_try='test -z "$ac_cxx_werror_flag"
36707 || test ! -s conftest.err'
36708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36709 (eval $ac_try) 2>&5
36710 ac_status=$?
36711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36712 (exit $ac_status); }; } &&
36713 { ac_try='test -s conftest.$ac_objext'
36714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36715 (eval $ac_try) 2>&5
36716 ac_status=$?
36717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36718 (exit $ac_status); }; }; then
36719 glibcxx_cv_func___builtin_sqrt_use=yes
36720 else
36721 echo "$as_me: failed program was:" >&5
36722 sed 's/^/| /' conftest.$ac_ext >&5
36724 glibcxx_cv_func___builtin_sqrt_use=no
36726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36727 ac_ext=c
36728 ac_cpp='$CPP $CPPFLAGS'
36729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36737 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
36738 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
36739 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
36740 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
36741 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
36742 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
36743 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
36744 echo $ECHO_N "(cached) $ECHO_C" >&6
36745 else
36747 if test x$gcc_no_link = xyes; then
36748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36750 { (exit 1); exit 1; }; }
36752 cat >conftest.$ac_ext <<_ACEOF
36753 /* confdefs.h. */
36754 _ACEOF
36755 cat confdefs.h >>conftest.$ac_ext
36756 cat >>conftest.$ac_ext <<_ACEOF
36757 /* end confdefs.h. */
36758 #include <math.h>
36760 main ()
36762 __builtin_sqrt(0);
36764 return 0;
36766 _ACEOF
36767 rm -f conftest.$ac_objext conftest$ac_exeext
36768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36769 (eval $ac_link) 2>conftest.er1
36770 ac_status=$?
36771 grep -v '^ *+' conftest.er1 >conftest.err
36772 rm -f conftest.er1
36773 cat conftest.err >&5
36774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36775 (exit $ac_status); } &&
36776 { ac_try='test -z "$ac_c_werror_flag"
36777 || test ! -s conftest.err'
36778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36779 (eval $ac_try) 2>&5
36780 ac_status=$?
36781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36782 (exit $ac_status); }; } &&
36783 { ac_try='test -s conftest$ac_exeext'
36784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36785 (eval $ac_try) 2>&5
36786 ac_status=$?
36787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36788 (exit $ac_status); }; }; then
36789 glibcxx_cv_func___builtin_sqrt_link=yes
36790 else
36791 echo "$as_me: failed program was:" >&5
36792 sed 's/^/| /' conftest.$ac_ext >&5
36794 glibcxx_cv_func___builtin_sqrt_link=no
36796 rm -f conftest.err conftest.$ac_objext \
36797 conftest$ac_exeext conftest.$ac_ext
36802 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
36803 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
36805 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
36807 cat >>confdefs.h <<\_ACEOF
36808 #define HAVE___BUILTIN_SQRT 1
36809 _ACEOF
36816 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
36817 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
36818 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
36819 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
36820 echo $ECHO_N "(cached) $ECHO_C" >&6
36821 else
36825 ac_ext=cc
36826 ac_cpp='$CXXCPP $CPPFLAGS'
36827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36831 cat >conftest.$ac_ext <<_ACEOF
36832 /* confdefs.h. */
36833 _ACEOF
36834 cat confdefs.h >>conftest.$ac_ext
36835 cat >>conftest.$ac_ext <<_ACEOF
36836 /* end confdefs.h. */
36837 #include <math.h>
36839 main ()
36841 __builtin_sqrtl(0);
36843 return 0;
36845 _ACEOF
36846 rm -f conftest.$ac_objext
36847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36848 (eval $ac_compile) 2>conftest.er1
36849 ac_status=$?
36850 grep -v '^ *+' conftest.er1 >conftest.err
36851 rm -f conftest.er1
36852 cat conftest.err >&5
36853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36854 (exit $ac_status); } &&
36855 { ac_try='test -z "$ac_cxx_werror_flag"
36856 || test ! -s conftest.err'
36857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36858 (eval $ac_try) 2>&5
36859 ac_status=$?
36860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36861 (exit $ac_status); }; } &&
36862 { ac_try='test -s conftest.$ac_objext'
36863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36864 (eval $ac_try) 2>&5
36865 ac_status=$?
36866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36867 (exit $ac_status); }; }; then
36868 glibcxx_cv_func___builtin_sqrtl_use=yes
36869 else
36870 echo "$as_me: failed program was:" >&5
36871 sed 's/^/| /' conftest.$ac_ext >&5
36873 glibcxx_cv_func___builtin_sqrtl_use=no
36875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36876 ac_ext=c
36877 ac_cpp='$CPP $CPPFLAGS'
36878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36886 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
36887 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
36888 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
36889 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
36890 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
36891 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
36892 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
36893 echo $ECHO_N "(cached) $ECHO_C" >&6
36894 else
36896 if test x$gcc_no_link = xyes; then
36897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36899 { (exit 1); exit 1; }; }
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 __builtin_sqrtl(0);
36913 return 0;
36915 _ACEOF
36916 rm -f conftest.$ac_objext conftest$ac_exeext
36917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36918 (eval $ac_link) 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_c_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_exeext'
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___builtin_sqrtl_link=yes
36939 else
36940 echo "$as_me: failed program was:" >&5
36941 sed 's/^/| /' conftest.$ac_ext >&5
36943 glibcxx_cv_func___builtin_sqrtl_link=no
36945 rm -f conftest.err conftest.$ac_objext \
36946 conftest$ac_exeext conftest.$ac_ext
36951 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
36952 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
36954 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
36956 cat >>confdefs.h <<\_ACEOF
36957 #define HAVE___BUILTIN_SQRTL 1
36958 _ACEOF
36966 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
36967 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
36968 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
36969 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
36970 echo $ECHO_N "(cached) $ECHO_C" >&6
36971 else
36975 ac_ext=cc
36976 ac_cpp='$CXXCPP $CPPFLAGS'
36977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36981 cat >conftest.$ac_ext <<_ACEOF
36982 /* confdefs.h. */
36983 _ACEOF
36984 cat confdefs.h >>conftest.$ac_ext
36985 cat >>conftest.$ac_ext <<_ACEOF
36986 /* end confdefs.h. */
36987 #include <math.h>
36989 main ()
36991 __builtin_sinf(0);
36993 return 0;
36995 _ACEOF
36996 rm -f conftest.$ac_objext
36997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36998 (eval $ac_compile) 2>conftest.er1
36999 ac_status=$?
37000 grep -v '^ *+' conftest.er1 >conftest.err
37001 rm -f conftest.er1
37002 cat conftest.err >&5
37003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37004 (exit $ac_status); } &&
37005 { ac_try='test -z "$ac_cxx_werror_flag"
37006 || test ! -s conftest.err'
37007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37008 (eval $ac_try) 2>&5
37009 ac_status=$?
37010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37011 (exit $ac_status); }; } &&
37012 { ac_try='test -s conftest.$ac_objext'
37013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37014 (eval $ac_try) 2>&5
37015 ac_status=$?
37016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37017 (exit $ac_status); }; }; then
37018 glibcxx_cv_func___builtin_sinf_use=yes
37019 else
37020 echo "$as_me: failed program was:" >&5
37021 sed 's/^/| /' conftest.$ac_ext >&5
37023 glibcxx_cv_func___builtin_sinf_use=no
37025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37026 ac_ext=c
37027 ac_cpp='$CPP $CPPFLAGS'
37028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37036 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
37037 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
37038 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
37039 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
37040 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
37041 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
37042 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
37043 echo $ECHO_N "(cached) $ECHO_C" >&6
37044 else
37046 if test x$gcc_no_link = xyes; then
37047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37049 { (exit 1); exit 1; }; }
37051 cat >conftest.$ac_ext <<_ACEOF
37052 /* confdefs.h. */
37053 _ACEOF
37054 cat confdefs.h >>conftest.$ac_ext
37055 cat >>conftest.$ac_ext <<_ACEOF
37056 /* end confdefs.h. */
37057 #include <math.h>
37059 main ()
37061 __builtin_sinf(0);
37063 return 0;
37065 _ACEOF
37066 rm -f conftest.$ac_objext conftest$ac_exeext
37067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37068 (eval $ac_link) 2>conftest.er1
37069 ac_status=$?
37070 grep -v '^ *+' conftest.er1 >conftest.err
37071 rm -f conftest.er1
37072 cat conftest.err >&5
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); } &&
37075 { ac_try='test -z "$ac_c_werror_flag"
37076 || test ! -s conftest.err'
37077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37078 (eval $ac_try) 2>&5
37079 ac_status=$?
37080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37081 (exit $ac_status); }; } &&
37082 { ac_try='test -s conftest$ac_exeext'
37083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37084 (eval $ac_try) 2>&5
37085 ac_status=$?
37086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37087 (exit $ac_status); }; }; then
37088 glibcxx_cv_func___builtin_sinf_link=yes
37089 else
37090 echo "$as_me: failed program was:" >&5
37091 sed 's/^/| /' conftest.$ac_ext >&5
37093 glibcxx_cv_func___builtin_sinf_link=no
37095 rm -f conftest.err conftest.$ac_objext \
37096 conftest$ac_exeext conftest.$ac_ext
37101 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
37102 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
37104 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
37106 cat >>confdefs.h <<\_ACEOF
37107 #define HAVE___BUILTIN_SINF 1
37108 _ACEOF
37115 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
37116 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
37117 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
37118 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
37119 echo $ECHO_N "(cached) $ECHO_C" >&6
37120 else
37124 ac_ext=cc
37125 ac_cpp='$CXXCPP $CPPFLAGS'
37126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37130 cat >conftest.$ac_ext <<_ACEOF
37131 /* confdefs.h. */
37132 _ACEOF
37133 cat confdefs.h >>conftest.$ac_ext
37134 cat >>conftest.$ac_ext <<_ACEOF
37135 /* end confdefs.h. */
37136 #include <math.h>
37138 main ()
37140 __builtin_sin(0);
37142 return 0;
37144 _ACEOF
37145 rm -f conftest.$ac_objext
37146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37147 (eval $ac_compile) 2>conftest.er1
37148 ac_status=$?
37149 grep -v '^ *+' conftest.er1 >conftest.err
37150 rm -f conftest.er1
37151 cat conftest.err >&5
37152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37153 (exit $ac_status); } &&
37154 { ac_try='test -z "$ac_cxx_werror_flag"
37155 || test ! -s conftest.err'
37156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37157 (eval $ac_try) 2>&5
37158 ac_status=$?
37159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37160 (exit $ac_status); }; } &&
37161 { ac_try='test -s conftest.$ac_objext'
37162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37163 (eval $ac_try) 2>&5
37164 ac_status=$?
37165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37166 (exit $ac_status); }; }; then
37167 glibcxx_cv_func___builtin_sin_use=yes
37168 else
37169 echo "$as_me: failed program was:" >&5
37170 sed 's/^/| /' conftest.$ac_ext >&5
37172 glibcxx_cv_func___builtin_sin_use=no
37174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37175 ac_ext=c
37176 ac_cpp='$CPP $CPPFLAGS'
37177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37185 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
37186 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
37187 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
37188 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
37189 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
37190 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
37191 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
37192 echo $ECHO_N "(cached) $ECHO_C" >&6
37193 else
37195 if test x$gcc_no_link = xyes; then
37196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37198 { (exit 1); exit 1; }; }
37200 cat >conftest.$ac_ext <<_ACEOF
37201 /* confdefs.h. */
37202 _ACEOF
37203 cat confdefs.h >>conftest.$ac_ext
37204 cat >>conftest.$ac_ext <<_ACEOF
37205 /* end confdefs.h. */
37206 #include <math.h>
37208 main ()
37210 __builtin_sin(0);
37212 return 0;
37214 _ACEOF
37215 rm -f conftest.$ac_objext conftest$ac_exeext
37216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37217 (eval $ac_link) 2>conftest.er1
37218 ac_status=$?
37219 grep -v '^ *+' conftest.er1 >conftest.err
37220 rm -f conftest.er1
37221 cat conftest.err >&5
37222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37223 (exit $ac_status); } &&
37224 { ac_try='test -z "$ac_c_werror_flag"
37225 || test ! -s conftest.err'
37226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37227 (eval $ac_try) 2>&5
37228 ac_status=$?
37229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37230 (exit $ac_status); }; } &&
37231 { ac_try='test -s conftest$ac_exeext'
37232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37233 (eval $ac_try) 2>&5
37234 ac_status=$?
37235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37236 (exit $ac_status); }; }; then
37237 glibcxx_cv_func___builtin_sin_link=yes
37238 else
37239 echo "$as_me: failed program was:" >&5
37240 sed 's/^/| /' conftest.$ac_ext >&5
37242 glibcxx_cv_func___builtin_sin_link=no
37244 rm -f conftest.err conftest.$ac_objext \
37245 conftest$ac_exeext conftest.$ac_ext
37250 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
37251 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
37253 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
37255 cat >>confdefs.h <<\_ACEOF
37256 #define HAVE___BUILTIN_SIN 1
37257 _ACEOF
37264 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
37265 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
37266 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
37267 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
37268 echo $ECHO_N "(cached) $ECHO_C" >&6
37269 else
37273 ac_ext=cc
37274 ac_cpp='$CXXCPP $CPPFLAGS'
37275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37279 cat >conftest.$ac_ext <<_ACEOF
37280 /* confdefs.h. */
37281 _ACEOF
37282 cat confdefs.h >>conftest.$ac_ext
37283 cat >>conftest.$ac_ext <<_ACEOF
37284 /* end confdefs.h. */
37285 #include <math.h>
37287 main ()
37289 __builtin_sinl(0);
37291 return 0;
37293 _ACEOF
37294 rm -f conftest.$ac_objext
37295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37296 (eval $ac_compile) 2>conftest.er1
37297 ac_status=$?
37298 grep -v '^ *+' conftest.er1 >conftest.err
37299 rm -f conftest.er1
37300 cat conftest.err >&5
37301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37302 (exit $ac_status); } &&
37303 { ac_try='test -z "$ac_cxx_werror_flag"
37304 || test ! -s conftest.err'
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); }; } &&
37310 { ac_try='test -s conftest.$ac_objext'
37311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37312 (eval $ac_try) 2>&5
37313 ac_status=$?
37314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37315 (exit $ac_status); }; }; then
37316 glibcxx_cv_func___builtin_sinl_use=yes
37317 else
37318 echo "$as_me: failed program was:" >&5
37319 sed 's/^/| /' conftest.$ac_ext >&5
37321 glibcxx_cv_func___builtin_sinl_use=no
37323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37324 ac_ext=c
37325 ac_cpp='$CPP $CPPFLAGS'
37326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37334 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
37335 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
37336 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
37337 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
37338 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
37339 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
37340 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
37341 echo $ECHO_N "(cached) $ECHO_C" >&6
37342 else
37344 if test x$gcc_no_link = xyes; then
37345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37347 { (exit 1); exit 1; }; }
37349 cat >conftest.$ac_ext <<_ACEOF
37350 /* confdefs.h. */
37351 _ACEOF
37352 cat confdefs.h >>conftest.$ac_ext
37353 cat >>conftest.$ac_ext <<_ACEOF
37354 /* end confdefs.h. */
37355 #include <math.h>
37357 main ()
37359 __builtin_sinl(0);
37361 return 0;
37363 _ACEOF
37364 rm -f conftest.$ac_objext conftest$ac_exeext
37365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37366 (eval $ac_link) 2>conftest.er1
37367 ac_status=$?
37368 grep -v '^ *+' conftest.er1 >conftest.err
37369 rm -f conftest.er1
37370 cat conftest.err >&5
37371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37372 (exit $ac_status); } &&
37373 { ac_try='test -z "$ac_c_werror_flag"
37374 || test ! -s conftest.err'
37375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37376 (eval $ac_try) 2>&5
37377 ac_status=$?
37378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37379 (exit $ac_status); }; } &&
37380 { ac_try='test -s conftest$ac_exeext'
37381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37382 (eval $ac_try) 2>&5
37383 ac_status=$?
37384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37385 (exit $ac_status); }; }; then
37386 glibcxx_cv_func___builtin_sinl_link=yes
37387 else
37388 echo "$as_me: failed program was:" >&5
37389 sed 's/^/| /' conftest.$ac_ext >&5
37391 glibcxx_cv_func___builtin_sinl_link=no
37393 rm -f conftest.err conftest.$ac_objext \
37394 conftest$ac_exeext conftest.$ac_ext
37399 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
37400 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
37402 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
37404 cat >>confdefs.h <<\_ACEOF
37405 #define HAVE___BUILTIN_SINL 1
37406 _ACEOF
37414 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
37415 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
37416 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
37417 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
37418 echo $ECHO_N "(cached) $ECHO_C" >&6
37419 else
37423 ac_ext=cc
37424 ac_cpp='$CXXCPP $CPPFLAGS'
37425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37429 cat >conftest.$ac_ext <<_ACEOF
37430 /* confdefs.h. */
37431 _ACEOF
37432 cat confdefs.h >>conftest.$ac_ext
37433 cat >>conftest.$ac_ext <<_ACEOF
37434 /* end confdefs.h. */
37435 #include <math.h>
37437 main ()
37439 __builtin_cosf(0);
37441 return 0;
37443 _ACEOF
37444 rm -f conftest.$ac_objext
37445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37446 (eval $ac_compile) 2>conftest.er1
37447 ac_status=$?
37448 grep -v '^ *+' conftest.er1 >conftest.err
37449 rm -f conftest.er1
37450 cat conftest.err >&5
37451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37452 (exit $ac_status); } &&
37453 { ac_try='test -z "$ac_cxx_werror_flag"
37454 || test ! -s conftest.err'
37455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37456 (eval $ac_try) 2>&5
37457 ac_status=$?
37458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37459 (exit $ac_status); }; } &&
37460 { ac_try='test -s conftest.$ac_objext'
37461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37462 (eval $ac_try) 2>&5
37463 ac_status=$?
37464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37465 (exit $ac_status); }; }; then
37466 glibcxx_cv_func___builtin_cosf_use=yes
37467 else
37468 echo "$as_me: failed program was:" >&5
37469 sed 's/^/| /' conftest.$ac_ext >&5
37471 glibcxx_cv_func___builtin_cosf_use=no
37473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37474 ac_ext=c
37475 ac_cpp='$CPP $CPPFLAGS'
37476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37484 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
37485 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
37486 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
37487 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
37488 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
37489 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
37490 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
37491 echo $ECHO_N "(cached) $ECHO_C" >&6
37492 else
37494 if test x$gcc_no_link = xyes; then
37495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37497 { (exit 1); exit 1; }; }
37499 cat >conftest.$ac_ext <<_ACEOF
37500 /* confdefs.h. */
37501 _ACEOF
37502 cat confdefs.h >>conftest.$ac_ext
37503 cat >>conftest.$ac_ext <<_ACEOF
37504 /* end confdefs.h. */
37505 #include <math.h>
37507 main ()
37509 __builtin_cosf(0);
37511 return 0;
37513 _ACEOF
37514 rm -f conftest.$ac_objext conftest$ac_exeext
37515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37516 (eval $ac_link) 2>conftest.er1
37517 ac_status=$?
37518 grep -v '^ *+' conftest.er1 >conftest.err
37519 rm -f conftest.er1
37520 cat conftest.err >&5
37521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37522 (exit $ac_status); } &&
37523 { ac_try='test -z "$ac_c_werror_flag"
37524 || test ! -s conftest.err'
37525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37526 (eval $ac_try) 2>&5
37527 ac_status=$?
37528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37529 (exit $ac_status); }; } &&
37530 { ac_try='test -s conftest$ac_exeext'
37531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37532 (eval $ac_try) 2>&5
37533 ac_status=$?
37534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37535 (exit $ac_status); }; }; then
37536 glibcxx_cv_func___builtin_cosf_link=yes
37537 else
37538 echo "$as_me: failed program was:" >&5
37539 sed 's/^/| /' conftest.$ac_ext >&5
37541 glibcxx_cv_func___builtin_cosf_link=no
37543 rm -f conftest.err conftest.$ac_objext \
37544 conftest$ac_exeext conftest.$ac_ext
37549 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
37550 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
37552 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
37554 cat >>confdefs.h <<\_ACEOF
37555 #define HAVE___BUILTIN_COSF 1
37556 _ACEOF
37563 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
37564 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
37565 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
37566 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
37567 echo $ECHO_N "(cached) $ECHO_C" >&6
37568 else
37572 ac_ext=cc
37573 ac_cpp='$CXXCPP $CPPFLAGS'
37574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37578 cat >conftest.$ac_ext <<_ACEOF
37579 /* confdefs.h. */
37580 _ACEOF
37581 cat confdefs.h >>conftest.$ac_ext
37582 cat >>conftest.$ac_ext <<_ACEOF
37583 /* end confdefs.h. */
37584 #include <math.h>
37586 main ()
37588 __builtin_cos(0);
37590 return 0;
37592 _ACEOF
37593 rm -f conftest.$ac_objext
37594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37595 (eval $ac_compile) 2>conftest.er1
37596 ac_status=$?
37597 grep -v '^ *+' conftest.er1 >conftest.err
37598 rm -f conftest.er1
37599 cat conftest.err >&5
37600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37601 (exit $ac_status); } &&
37602 { ac_try='test -z "$ac_cxx_werror_flag"
37603 || test ! -s conftest.err'
37604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37605 (eval $ac_try) 2>&5
37606 ac_status=$?
37607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37608 (exit $ac_status); }; } &&
37609 { ac_try='test -s conftest.$ac_objext'
37610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37611 (eval $ac_try) 2>&5
37612 ac_status=$?
37613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37614 (exit $ac_status); }; }; then
37615 glibcxx_cv_func___builtin_cos_use=yes
37616 else
37617 echo "$as_me: failed program was:" >&5
37618 sed 's/^/| /' conftest.$ac_ext >&5
37620 glibcxx_cv_func___builtin_cos_use=no
37622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37623 ac_ext=c
37624 ac_cpp='$CPP $CPPFLAGS'
37625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37633 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
37634 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
37635 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
37636 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
37637 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
37638 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
37639 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
37640 echo $ECHO_N "(cached) $ECHO_C" >&6
37641 else
37643 if test x$gcc_no_link = xyes; then
37644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37646 { (exit 1); exit 1; }; }
37648 cat >conftest.$ac_ext <<_ACEOF
37649 /* confdefs.h. */
37650 _ACEOF
37651 cat confdefs.h >>conftest.$ac_ext
37652 cat >>conftest.$ac_ext <<_ACEOF
37653 /* end confdefs.h. */
37654 #include <math.h>
37656 main ()
37658 __builtin_cos(0);
37660 return 0;
37662 _ACEOF
37663 rm -f conftest.$ac_objext conftest$ac_exeext
37664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37665 (eval $ac_link) 2>conftest.er1
37666 ac_status=$?
37667 grep -v '^ *+' conftest.er1 >conftest.err
37668 rm -f conftest.er1
37669 cat conftest.err >&5
37670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37671 (exit $ac_status); } &&
37672 { ac_try='test -z "$ac_c_werror_flag"
37673 || test ! -s conftest.err'
37674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37675 (eval $ac_try) 2>&5
37676 ac_status=$?
37677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37678 (exit $ac_status); }; } &&
37679 { ac_try='test -s conftest$ac_exeext'
37680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37681 (eval $ac_try) 2>&5
37682 ac_status=$?
37683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37684 (exit $ac_status); }; }; then
37685 glibcxx_cv_func___builtin_cos_link=yes
37686 else
37687 echo "$as_me: failed program was:" >&5
37688 sed 's/^/| /' conftest.$ac_ext >&5
37690 glibcxx_cv_func___builtin_cos_link=no
37692 rm -f conftest.err conftest.$ac_objext \
37693 conftest$ac_exeext conftest.$ac_ext
37698 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
37699 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
37701 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
37703 cat >>confdefs.h <<\_ACEOF
37704 #define HAVE___BUILTIN_COS 1
37705 _ACEOF
37712 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
37713 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
37714 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
37715 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
37716 echo $ECHO_N "(cached) $ECHO_C" >&6
37717 else
37721 ac_ext=cc
37722 ac_cpp='$CXXCPP $CPPFLAGS'
37723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37727 cat >conftest.$ac_ext <<_ACEOF
37728 /* confdefs.h. */
37729 _ACEOF
37730 cat confdefs.h >>conftest.$ac_ext
37731 cat >>conftest.$ac_ext <<_ACEOF
37732 /* end confdefs.h. */
37733 #include <math.h>
37735 main ()
37737 __builtin_cosl(0);
37739 return 0;
37741 _ACEOF
37742 rm -f conftest.$ac_objext
37743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37744 (eval $ac_compile) 2>conftest.er1
37745 ac_status=$?
37746 grep -v '^ *+' conftest.er1 >conftest.err
37747 rm -f conftest.er1
37748 cat conftest.err >&5
37749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37750 (exit $ac_status); } &&
37751 { ac_try='test -z "$ac_cxx_werror_flag"
37752 || test ! -s conftest.err'
37753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37754 (eval $ac_try) 2>&5
37755 ac_status=$?
37756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37757 (exit $ac_status); }; } &&
37758 { ac_try='test -s conftest.$ac_objext'
37759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37760 (eval $ac_try) 2>&5
37761 ac_status=$?
37762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37763 (exit $ac_status); }; }; then
37764 glibcxx_cv_func___builtin_cosl_use=yes
37765 else
37766 echo "$as_me: failed program was:" >&5
37767 sed 's/^/| /' conftest.$ac_ext >&5
37769 glibcxx_cv_func___builtin_cosl_use=no
37771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37772 ac_ext=c
37773 ac_cpp='$CPP $CPPFLAGS'
37774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37782 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
37783 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
37784 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
37785 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
37786 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
37787 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
37788 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
37789 echo $ECHO_N "(cached) $ECHO_C" >&6
37790 else
37792 if test x$gcc_no_link = xyes; then
37793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37795 { (exit 1); exit 1; }; }
37797 cat >conftest.$ac_ext <<_ACEOF
37798 /* confdefs.h. */
37799 _ACEOF
37800 cat confdefs.h >>conftest.$ac_ext
37801 cat >>conftest.$ac_ext <<_ACEOF
37802 /* end confdefs.h. */
37803 #include <math.h>
37805 main ()
37807 __builtin_cosl(0);
37809 return 0;
37811 _ACEOF
37812 rm -f conftest.$ac_objext conftest$ac_exeext
37813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37814 (eval $ac_link) 2>conftest.er1
37815 ac_status=$?
37816 grep -v '^ *+' conftest.er1 >conftest.err
37817 rm -f conftest.er1
37818 cat conftest.err >&5
37819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37820 (exit $ac_status); } &&
37821 { ac_try='test -z "$ac_c_werror_flag"
37822 || test ! -s conftest.err'
37823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37824 (eval $ac_try) 2>&5
37825 ac_status=$?
37826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37827 (exit $ac_status); }; } &&
37828 { ac_try='test -s conftest$ac_exeext'
37829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37830 (eval $ac_try) 2>&5
37831 ac_status=$?
37832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37833 (exit $ac_status); }; }; then
37834 glibcxx_cv_func___builtin_cosl_link=yes
37835 else
37836 echo "$as_me: failed program was:" >&5
37837 sed 's/^/| /' conftest.$ac_ext >&5
37839 glibcxx_cv_func___builtin_cosl_link=no
37841 rm -f conftest.err conftest.$ac_objext \
37842 conftest$ac_exeext conftest.$ac_ext
37847 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
37848 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
37850 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
37852 cat >>confdefs.h <<\_ACEOF
37853 #define HAVE___BUILTIN_COSL 1
37854 _ACEOF
37863 echo "$as_me:$LINENO: checking for main in -lm" >&5
37864 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
37865 if test "${ac_cv_lib_m_main+set}" = set; then
37866 echo $ECHO_N "(cached) $ECHO_C" >&6
37867 else
37868 ac_check_lib_save_LIBS=$LIBS
37869 LIBS="-lm $LIBS"
37870 if test x$gcc_no_link = xyes; then
37871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37873 { (exit 1); exit 1; }; }
37875 cat >conftest.$ac_ext <<_ACEOF
37876 /* confdefs.h. */
37877 _ACEOF
37878 cat confdefs.h >>conftest.$ac_ext
37879 cat >>conftest.$ac_ext <<_ACEOF
37880 /* end confdefs.h. */
37884 main ()
37886 main ();
37888 return 0;
37890 _ACEOF
37891 rm -f conftest.$ac_objext conftest$ac_exeext
37892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37893 (eval $ac_link) 2>conftest.er1
37894 ac_status=$?
37895 grep -v '^ *+' conftest.er1 >conftest.err
37896 rm -f conftest.er1
37897 cat conftest.err >&5
37898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37899 (exit $ac_status); } &&
37900 { ac_try='test -z "$ac_c_werror_flag"
37901 || test ! -s conftest.err'
37902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37903 (eval $ac_try) 2>&5
37904 ac_status=$?
37905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37906 (exit $ac_status); }; } &&
37907 { ac_try='test -s conftest$ac_exeext'
37908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37909 (eval $ac_try) 2>&5
37910 ac_status=$?
37911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37912 (exit $ac_status); }; }; then
37913 ac_cv_lib_m_main=yes
37914 else
37915 echo "$as_me: failed program was:" >&5
37916 sed 's/^/| /' conftest.$ac_ext >&5
37918 ac_cv_lib_m_main=no
37920 rm -f conftest.err conftest.$ac_objext \
37921 conftest$ac_exeext conftest.$ac_ext
37922 LIBS=$ac_check_lib_save_LIBS
37924 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
37925 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
37926 if test $ac_cv_lib_m_main = yes; then
37927 cat >>confdefs.h <<_ACEOF
37928 #define HAVE_LIBM 1
37929 _ACEOF
37931 LIBS="-lm $LIBS"
37936 for ac_func in copysignf
37938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37939 echo "$as_me:$LINENO: checking for $ac_func" >&5
37940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37941 if eval "test \"\${$as_ac_var+set}\" = set"; then
37942 echo $ECHO_N "(cached) $ECHO_C" >&6
37943 else
37944 if test x$gcc_no_link = xyes; then
37945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37947 { (exit 1); exit 1; }; }
37949 cat >conftest.$ac_ext <<_ACEOF
37950 /* confdefs.h. */
37951 _ACEOF
37952 cat confdefs.h >>conftest.$ac_ext
37953 cat >>conftest.$ac_ext <<_ACEOF
37954 /* end confdefs.h. */
37955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37957 #define $ac_func innocuous_$ac_func
37959 /* System header to define __stub macros and hopefully few prototypes,
37960 which can conflict with char $ac_func (); below.
37961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37962 <limits.h> exists even on freestanding compilers. */
37964 #ifdef __STDC__
37965 # include <limits.h>
37966 #else
37967 # include <assert.h>
37968 #endif
37970 #undef $ac_func
37972 /* Override any gcc2 internal prototype to avoid an error. */
37973 #ifdef __cplusplus
37974 extern "C"
37976 #endif
37977 /* We use char because int might match the return type of a gcc2
37978 builtin and then its argument prototype would still apply. */
37979 char $ac_func ();
37980 /* The GNU C library defines this for functions which it implements
37981 to always fail with ENOSYS. Some functions are actually named
37982 something starting with __ and the normal name is an alias. */
37983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37984 choke me
37985 #else
37986 char (*f) () = $ac_func;
37987 #endif
37988 #ifdef __cplusplus
37990 #endif
37993 main ()
37995 return f != $ac_func;
37997 return 0;
37999 _ACEOF
38000 rm -f conftest.$ac_objext conftest$ac_exeext
38001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38002 (eval $ac_link) 2>conftest.er1
38003 ac_status=$?
38004 grep -v '^ *+' conftest.er1 >conftest.err
38005 rm -f conftest.er1
38006 cat conftest.err >&5
38007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38008 (exit $ac_status); } &&
38009 { ac_try='test -z "$ac_c_werror_flag"
38010 || test ! -s conftest.err'
38011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38012 (eval $ac_try) 2>&5
38013 ac_status=$?
38014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38015 (exit $ac_status); }; } &&
38016 { ac_try='test -s conftest$ac_exeext'
38017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38018 (eval $ac_try) 2>&5
38019 ac_status=$?
38020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38021 (exit $ac_status); }; }; then
38022 eval "$as_ac_var=yes"
38023 else
38024 echo "$as_me: failed program was:" >&5
38025 sed 's/^/| /' conftest.$ac_ext >&5
38027 eval "$as_ac_var=no"
38029 rm -f conftest.err conftest.$ac_objext \
38030 conftest$ac_exeext conftest.$ac_ext
38032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38034 if test `eval echo '${'$as_ac_var'}'` = yes; then
38035 cat >>confdefs.h <<_ACEOF
38036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38037 _ACEOF
38039 else
38040 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
38042 done
38046 for ac_func in __signbit
38048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38049 echo "$as_me:$LINENO: checking for $ac_func" >&5
38050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38051 if eval "test \"\${$as_ac_var+set}\" = set"; then
38052 echo $ECHO_N "(cached) $ECHO_C" >&6
38053 else
38054 if test x$gcc_no_link = xyes; then
38055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38057 { (exit 1); exit 1; }; }
38059 cat >conftest.$ac_ext <<_ACEOF
38060 /* confdefs.h. */
38061 _ACEOF
38062 cat confdefs.h >>conftest.$ac_ext
38063 cat >>conftest.$ac_ext <<_ACEOF
38064 /* end confdefs.h. */
38065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38067 #define $ac_func innocuous_$ac_func
38069 /* System header to define __stub macros and hopefully few prototypes,
38070 which can conflict with char $ac_func (); below.
38071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38072 <limits.h> exists even on freestanding compilers. */
38074 #ifdef __STDC__
38075 # include <limits.h>
38076 #else
38077 # include <assert.h>
38078 #endif
38080 #undef $ac_func
38082 /* Override any gcc2 internal prototype to avoid an error. */
38083 #ifdef __cplusplus
38084 extern "C"
38086 #endif
38087 /* We use char because int might match the return type of a gcc2
38088 builtin and then its argument prototype would still apply. */
38089 char $ac_func ();
38090 /* The GNU C library defines this for functions which it implements
38091 to always fail with ENOSYS. Some functions are actually named
38092 something starting with __ and the normal name is an alias. */
38093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38094 choke me
38095 #else
38096 char (*f) () = $ac_func;
38097 #endif
38098 #ifdef __cplusplus
38100 #endif
38103 main ()
38105 return f != $ac_func;
38107 return 0;
38109 _ACEOF
38110 rm -f conftest.$ac_objext conftest$ac_exeext
38111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38112 (eval $ac_link) 2>conftest.er1
38113 ac_status=$?
38114 grep -v '^ *+' conftest.er1 >conftest.err
38115 rm -f conftest.er1
38116 cat conftest.err >&5
38117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38118 (exit $ac_status); } &&
38119 { ac_try='test -z "$ac_c_werror_flag"
38120 || test ! -s conftest.err'
38121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38122 (eval $ac_try) 2>&5
38123 ac_status=$?
38124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38125 (exit $ac_status); }; } &&
38126 { ac_try='test -s conftest$ac_exeext'
38127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38128 (eval $ac_try) 2>&5
38129 ac_status=$?
38130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38131 (exit $ac_status); }; }; then
38132 eval "$as_ac_var=yes"
38133 else
38134 echo "$as_me: failed program was:" >&5
38135 sed 's/^/| /' conftest.$ac_ext >&5
38137 eval "$as_ac_var=no"
38139 rm -f conftest.err conftest.$ac_objext \
38140 conftest$ac_exeext conftest.$ac_ext
38142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38144 if test `eval echo '${'$as_ac_var'}'` = yes; then
38145 cat >>confdefs.h <<_ACEOF
38146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38147 _ACEOF
38149 else
38150 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
38152 done
38156 for ac_func in __signbitf
38158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38159 echo "$as_me:$LINENO: checking for $ac_func" >&5
38160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38161 if eval "test \"\${$as_ac_var+set}\" = set"; then
38162 echo $ECHO_N "(cached) $ECHO_C" >&6
38163 else
38164 if test x$gcc_no_link = xyes; then
38165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38167 { (exit 1); exit 1; }; }
38169 cat >conftest.$ac_ext <<_ACEOF
38170 /* confdefs.h. */
38171 _ACEOF
38172 cat confdefs.h >>conftest.$ac_ext
38173 cat >>conftest.$ac_ext <<_ACEOF
38174 /* end confdefs.h. */
38175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38177 #define $ac_func innocuous_$ac_func
38179 /* System header to define __stub macros and hopefully few prototypes,
38180 which can conflict with char $ac_func (); below.
38181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38182 <limits.h> exists even on freestanding compilers. */
38184 #ifdef __STDC__
38185 # include <limits.h>
38186 #else
38187 # include <assert.h>
38188 #endif
38190 #undef $ac_func
38192 /* Override any gcc2 internal prototype to avoid an error. */
38193 #ifdef __cplusplus
38194 extern "C"
38196 #endif
38197 /* We use char because int might match the return type of a gcc2
38198 builtin and then its argument prototype would still apply. */
38199 char $ac_func ();
38200 /* The GNU C library defines this for functions which it implements
38201 to always fail with ENOSYS. Some functions are actually named
38202 something starting with __ and the normal name is an alias. */
38203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38204 choke me
38205 #else
38206 char (*f) () = $ac_func;
38207 #endif
38208 #ifdef __cplusplus
38210 #endif
38213 main ()
38215 return f != $ac_func;
38217 return 0;
38219 _ACEOF
38220 rm -f conftest.$ac_objext conftest$ac_exeext
38221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38222 (eval $ac_link) 2>conftest.er1
38223 ac_status=$?
38224 grep -v '^ *+' conftest.er1 >conftest.err
38225 rm -f conftest.er1
38226 cat conftest.err >&5
38227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38228 (exit $ac_status); } &&
38229 { ac_try='test -z "$ac_c_werror_flag"
38230 || test ! -s conftest.err'
38231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38232 (eval $ac_try) 2>&5
38233 ac_status=$?
38234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38235 (exit $ac_status); }; } &&
38236 { ac_try='test -s conftest$ac_exeext'
38237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38238 (eval $ac_try) 2>&5
38239 ac_status=$?
38240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38241 (exit $ac_status); }; }; then
38242 eval "$as_ac_var=yes"
38243 else
38244 echo "$as_me: failed program was:" >&5
38245 sed 's/^/| /' conftest.$ac_ext >&5
38247 eval "$as_ac_var=no"
38249 rm -f conftest.err conftest.$ac_objext \
38250 conftest$ac_exeext conftest.$ac_ext
38252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38254 if test `eval echo '${'$as_ac_var'}'` = yes; then
38255 cat >>confdefs.h <<_ACEOF
38256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38257 _ACEOF
38259 else
38260 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
38262 done
38265 if test x$ac_cv_func_copysignl = x"yes"; then
38267 for ac_func in __signbitl
38269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38270 echo "$as_me:$LINENO: checking for $ac_func" >&5
38271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38272 if eval "test \"\${$as_ac_var+set}\" = set"; then
38273 echo $ECHO_N "(cached) $ECHO_C" >&6
38274 else
38275 if test x$gcc_no_link = xyes; then
38276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38278 { (exit 1); exit 1; }; }
38280 cat >conftest.$ac_ext <<_ACEOF
38281 /* confdefs.h. */
38282 _ACEOF
38283 cat confdefs.h >>conftest.$ac_ext
38284 cat >>conftest.$ac_ext <<_ACEOF
38285 /* end confdefs.h. */
38286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38288 #define $ac_func innocuous_$ac_func
38290 /* System header to define __stub macros and hopefully few prototypes,
38291 which can conflict with char $ac_func (); below.
38292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38293 <limits.h> exists even on freestanding compilers. */
38295 #ifdef __STDC__
38296 # include <limits.h>
38297 #else
38298 # include <assert.h>
38299 #endif
38301 #undef $ac_func
38303 /* Override any gcc2 internal prototype to avoid an error. */
38304 #ifdef __cplusplus
38305 extern "C"
38307 #endif
38308 /* We use char because int might match the return type of a gcc2
38309 builtin and then its argument prototype would still apply. */
38310 char $ac_func ();
38311 /* The GNU C library defines this for functions which it implements
38312 to always fail with ENOSYS. Some functions are actually named
38313 something starting with __ and the normal name is an alias. */
38314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38315 choke me
38316 #else
38317 char (*f) () = $ac_func;
38318 #endif
38319 #ifdef __cplusplus
38321 #endif
38324 main ()
38326 return f != $ac_func;
38328 return 0;
38330 _ACEOF
38331 rm -f conftest.$ac_objext conftest$ac_exeext
38332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38333 (eval $ac_link) 2>conftest.er1
38334 ac_status=$?
38335 grep -v '^ *+' conftest.er1 >conftest.err
38336 rm -f conftest.er1
38337 cat conftest.err >&5
38338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339 (exit $ac_status); } &&
38340 { ac_try='test -z "$ac_c_werror_flag"
38341 || test ! -s conftest.err'
38342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38343 (eval $ac_try) 2>&5
38344 ac_status=$?
38345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38346 (exit $ac_status); }; } &&
38347 { ac_try='test -s conftest$ac_exeext'
38348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38349 (eval $ac_try) 2>&5
38350 ac_status=$?
38351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38352 (exit $ac_status); }; }; then
38353 eval "$as_ac_var=yes"
38354 else
38355 echo "$as_me: failed program was:" >&5
38356 sed 's/^/| /' conftest.$ac_ext >&5
38358 eval "$as_ac_var=no"
38360 rm -f conftest.err conftest.$ac_objext \
38361 conftest$ac_exeext conftest.$ac_ext
38363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38365 if test `eval echo '${'$as_ac_var'}'` = yes; then
38366 cat >>confdefs.h <<_ACEOF
38367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38368 _ACEOF
38370 else
38371 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
38373 done
38377 # Used in libmath/Makefile.am.
38378 if test -n "$LIBMATHOBJS"; then
38379 need_libmath=yes
38384 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38385 ac_save_CXXFLAGS="$CXXFLAGS"
38386 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38389 echo "$as_me:$LINENO: checking for strtold declaration" >&5
38390 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
38391 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38392 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
38393 echo $ECHO_N "(cached) $ECHO_C" >&6
38394 else
38398 ac_ext=cc
38399 ac_cpp='$CXXCPP $CPPFLAGS'
38400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38404 cat >conftest.$ac_ext <<_ACEOF
38405 /* confdefs.h. */
38406 _ACEOF
38407 cat confdefs.h >>conftest.$ac_ext
38408 cat >>conftest.$ac_ext <<_ACEOF
38409 /* end confdefs.h. */
38410 #include <stdlib.h>
38412 main ()
38414 strtold(0, 0);
38416 return 0;
38418 _ACEOF
38419 rm -f conftest.$ac_objext
38420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38421 (eval $ac_compile) 2>conftest.er1
38422 ac_status=$?
38423 grep -v '^ *+' conftest.er1 >conftest.err
38424 rm -f conftest.er1
38425 cat conftest.err >&5
38426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38427 (exit $ac_status); } &&
38428 { ac_try='test -z "$ac_cxx_werror_flag"
38429 || test ! -s conftest.err'
38430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38431 (eval $ac_try) 2>&5
38432 ac_status=$?
38433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38434 (exit $ac_status); }; } &&
38435 { ac_try='test -s conftest.$ac_objext'
38436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38437 (eval $ac_try) 2>&5
38438 ac_status=$?
38439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38440 (exit $ac_status); }; }; then
38441 glibcxx_cv_func_strtold_use=yes
38442 else
38443 echo "$as_me: failed program was:" >&5
38444 sed 's/^/| /' conftest.$ac_ext >&5
38446 glibcxx_cv_func_strtold_use=no
38448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38449 ac_ext=c
38450 ac_cpp='$CPP $CPPFLAGS'
38451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38459 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
38460 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
38461 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38463 for ac_func in strtold
38465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38466 echo "$as_me:$LINENO: checking for $ac_func" >&5
38467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38468 if eval "test \"\${$as_ac_var+set}\" = set"; then
38469 echo $ECHO_N "(cached) $ECHO_C" >&6
38470 else
38471 if test x$gcc_no_link = xyes; then
38472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38474 { (exit 1); exit 1; }; }
38476 cat >conftest.$ac_ext <<_ACEOF
38477 /* confdefs.h. */
38478 _ACEOF
38479 cat confdefs.h >>conftest.$ac_ext
38480 cat >>conftest.$ac_ext <<_ACEOF
38481 /* end confdefs.h. */
38482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38484 #define $ac_func innocuous_$ac_func
38486 /* System header to define __stub macros and hopefully few prototypes,
38487 which can conflict with char $ac_func (); below.
38488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38489 <limits.h> exists even on freestanding compilers. */
38491 #ifdef __STDC__
38492 # include <limits.h>
38493 #else
38494 # include <assert.h>
38495 #endif
38497 #undef $ac_func
38499 /* Override any gcc2 internal prototype to avoid an error. */
38500 #ifdef __cplusplus
38501 extern "C"
38503 #endif
38504 /* We use char because int might match the return type of a gcc2
38505 builtin and then its argument prototype would still apply. */
38506 char $ac_func ();
38507 /* The GNU C library defines this for functions which it implements
38508 to always fail with ENOSYS. Some functions are actually named
38509 something starting with __ and the normal name is an alias. */
38510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38511 choke me
38512 #else
38513 char (*f) () = $ac_func;
38514 #endif
38515 #ifdef __cplusplus
38517 #endif
38520 main ()
38522 return f != $ac_func;
38524 return 0;
38526 _ACEOF
38527 rm -f conftest.$ac_objext conftest$ac_exeext
38528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38529 (eval $ac_link) 2>conftest.er1
38530 ac_status=$?
38531 grep -v '^ *+' conftest.er1 >conftest.err
38532 rm -f conftest.er1
38533 cat conftest.err >&5
38534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38535 (exit $ac_status); } &&
38536 { ac_try='test -z "$ac_c_werror_flag"
38537 || test ! -s conftest.err'
38538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38539 (eval $ac_try) 2>&5
38540 ac_status=$?
38541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38542 (exit $ac_status); }; } &&
38543 { ac_try='test -s conftest$ac_exeext'
38544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38545 (eval $ac_try) 2>&5
38546 ac_status=$?
38547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38548 (exit $ac_status); }; }; then
38549 eval "$as_ac_var=yes"
38550 else
38551 echo "$as_me: failed program was:" >&5
38552 sed 's/^/| /' conftest.$ac_ext >&5
38554 eval "$as_ac_var=no"
38556 rm -f conftest.err conftest.$ac_objext \
38557 conftest$ac_exeext conftest.$ac_ext
38559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38561 if test `eval echo '${'$as_ac_var'}'` = yes; then
38562 cat >>confdefs.h <<_ACEOF
38563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38564 _ACEOF
38567 done
38575 echo "$as_me:$LINENO: checking for strtof declaration" >&5
38576 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
38577 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38578 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
38579 echo $ECHO_N "(cached) $ECHO_C" >&6
38580 else
38584 ac_ext=cc
38585 ac_cpp='$CXXCPP $CPPFLAGS'
38586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38590 cat >conftest.$ac_ext <<_ACEOF
38591 /* confdefs.h. */
38592 _ACEOF
38593 cat confdefs.h >>conftest.$ac_ext
38594 cat >>conftest.$ac_ext <<_ACEOF
38595 /* end confdefs.h. */
38596 #include <stdlib.h>
38598 main ()
38600 strtof(0, 0);
38602 return 0;
38604 _ACEOF
38605 rm -f conftest.$ac_objext
38606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38607 (eval $ac_compile) 2>conftest.er1
38608 ac_status=$?
38609 grep -v '^ *+' conftest.er1 >conftest.err
38610 rm -f conftest.er1
38611 cat conftest.err >&5
38612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38613 (exit $ac_status); } &&
38614 { ac_try='test -z "$ac_cxx_werror_flag"
38615 || test ! -s conftest.err'
38616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38617 (eval $ac_try) 2>&5
38618 ac_status=$?
38619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38620 (exit $ac_status); }; } &&
38621 { ac_try='test -s conftest.$ac_objext'
38622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38623 (eval $ac_try) 2>&5
38624 ac_status=$?
38625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38626 (exit $ac_status); }; }; then
38627 glibcxx_cv_func_strtof_use=yes
38628 else
38629 echo "$as_me: failed program was:" >&5
38630 sed 's/^/| /' conftest.$ac_ext >&5
38632 glibcxx_cv_func_strtof_use=no
38634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38635 ac_ext=c
38636 ac_cpp='$CPP $CPPFLAGS'
38637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38645 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
38646 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
38647 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38649 for ac_func in strtof
38651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38652 echo "$as_me:$LINENO: checking for $ac_func" >&5
38653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38654 if eval "test \"\${$as_ac_var+set}\" = set"; then
38655 echo $ECHO_N "(cached) $ECHO_C" >&6
38656 else
38657 if test x$gcc_no_link = xyes; then
38658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38660 { (exit 1); exit 1; }; }
38662 cat >conftest.$ac_ext <<_ACEOF
38663 /* confdefs.h. */
38664 _ACEOF
38665 cat confdefs.h >>conftest.$ac_ext
38666 cat >>conftest.$ac_ext <<_ACEOF
38667 /* end confdefs.h. */
38668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38670 #define $ac_func innocuous_$ac_func
38672 /* System header to define __stub macros and hopefully few prototypes,
38673 which can conflict with char $ac_func (); below.
38674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38675 <limits.h> exists even on freestanding compilers. */
38677 #ifdef __STDC__
38678 # include <limits.h>
38679 #else
38680 # include <assert.h>
38681 #endif
38683 #undef $ac_func
38685 /* Override any gcc2 internal prototype to avoid an error. */
38686 #ifdef __cplusplus
38687 extern "C"
38689 #endif
38690 /* We use char because int might match the return type of a gcc2
38691 builtin and then its argument prototype would still apply. */
38692 char $ac_func ();
38693 /* The GNU C library defines this for functions which it implements
38694 to always fail with ENOSYS. Some functions are actually named
38695 something starting with __ and the normal name is an alias. */
38696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38697 choke me
38698 #else
38699 char (*f) () = $ac_func;
38700 #endif
38701 #ifdef __cplusplus
38703 #endif
38706 main ()
38708 return f != $ac_func;
38710 return 0;
38712 _ACEOF
38713 rm -f conftest.$ac_objext conftest$ac_exeext
38714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38715 (eval $ac_link) 2>conftest.er1
38716 ac_status=$?
38717 grep -v '^ *+' conftest.er1 >conftest.err
38718 rm -f conftest.er1
38719 cat conftest.err >&5
38720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38721 (exit $ac_status); } &&
38722 { ac_try='test -z "$ac_c_werror_flag"
38723 || test ! -s conftest.err'
38724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38725 (eval $ac_try) 2>&5
38726 ac_status=$?
38727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38728 (exit $ac_status); }; } &&
38729 { ac_try='test -s conftest$ac_exeext'
38730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38731 (eval $ac_try) 2>&5
38732 ac_status=$?
38733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734 (exit $ac_status); }; }; then
38735 eval "$as_ac_var=yes"
38736 else
38737 echo "$as_me: failed program was:" >&5
38738 sed 's/^/| /' conftest.$ac_ext >&5
38740 eval "$as_ac_var=no"
38742 rm -f conftest.err conftest.$ac_objext \
38743 conftest$ac_exeext conftest.$ac_ext
38745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38747 if test `eval echo '${'$as_ac_var'}'` = yes; then
38748 cat >>confdefs.h <<_ACEOF
38749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38750 _ACEOF
38753 done
38761 CXXFLAGS="$ac_save_CXXFLAGS"
38764 # For showmanyc_helper().
38767 for ac_header in sys/ioctl.h sys/filio.h
38769 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38771 echo "$as_me:$LINENO: checking for $ac_header" >&5
38772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38774 echo $ECHO_N "(cached) $ECHO_C" >&6
38776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38777 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38778 else
38779 # Is the header compilable?
38780 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38781 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38782 cat >conftest.$ac_ext <<_ACEOF
38783 /* confdefs.h. */
38784 _ACEOF
38785 cat confdefs.h >>conftest.$ac_ext
38786 cat >>conftest.$ac_ext <<_ACEOF
38787 /* end confdefs.h. */
38788 $ac_includes_default
38789 #include <$ac_header>
38790 _ACEOF
38791 rm -f conftest.$ac_objext
38792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38793 (eval $ac_compile) 2>conftest.er1
38794 ac_status=$?
38795 grep -v '^ *+' conftest.er1 >conftest.err
38796 rm -f conftest.er1
38797 cat conftest.err >&5
38798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38799 (exit $ac_status); } &&
38800 { ac_try='test -z "$ac_c_werror_flag"
38801 || test ! -s conftest.err'
38802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38803 (eval $ac_try) 2>&5
38804 ac_status=$?
38805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38806 (exit $ac_status); }; } &&
38807 { ac_try='test -s conftest.$ac_objext'
38808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38809 (eval $ac_try) 2>&5
38810 ac_status=$?
38811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38812 (exit $ac_status); }; }; then
38813 ac_header_compiler=yes
38814 else
38815 echo "$as_me: failed program was:" >&5
38816 sed 's/^/| /' conftest.$ac_ext >&5
38818 ac_header_compiler=no
38820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38821 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38822 echo "${ECHO_T}$ac_header_compiler" >&6
38824 # Is the header present?
38825 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38826 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38827 cat >conftest.$ac_ext <<_ACEOF
38828 /* confdefs.h. */
38829 _ACEOF
38830 cat confdefs.h >>conftest.$ac_ext
38831 cat >>conftest.$ac_ext <<_ACEOF
38832 /* end confdefs.h. */
38833 #include <$ac_header>
38834 _ACEOF
38835 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38836 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38837 ac_status=$?
38838 grep -v '^ *+' conftest.er1 >conftest.err
38839 rm -f conftest.er1
38840 cat conftest.err >&5
38841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38842 (exit $ac_status); } >/dev/null; then
38843 if test -s conftest.err; then
38844 ac_cpp_err=$ac_c_preproc_warn_flag
38845 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38846 else
38847 ac_cpp_err=
38849 else
38850 ac_cpp_err=yes
38852 if test -z "$ac_cpp_err"; then
38853 ac_header_preproc=yes
38854 else
38855 echo "$as_me: failed program was:" >&5
38856 sed 's/^/| /' conftest.$ac_ext >&5
38858 ac_header_preproc=no
38860 rm -f conftest.err conftest.$ac_ext
38861 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38862 echo "${ECHO_T}$ac_header_preproc" >&6
38864 # So? What about this header?
38865 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38866 yes:no: )
38867 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38868 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38869 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38870 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38871 ac_header_preproc=yes
38873 no:yes:* )
38874 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38875 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38876 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38877 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38878 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38879 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38880 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38881 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38883 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38884 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38885 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38887 cat <<\_ASBOX
38888 ## ----------------------------------------- ##
38889 ## Report this to the package-unused lists. ##
38890 ## ----------------------------------------- ##
38891 _ASBOX
38893 sed "s/^/$as_me: WARNING: /" >&2
38895 esac
38896 echo "$as_me:$LINENO: checking for $ac_header" >&5
38897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38899 echo $ECHO_N "(cached) $ECHO_C" >&6
38900 else
38901 eval "$as_ac_Header=\$ac_header_preproc"
38903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38904 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38907 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38908 cat >>confdefs.h <<_ACEOF
38909 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38910 _ACEOF
38914 done
38917 echo "$as_me:$LINENO: checking for poll" >&5
38918 echo $ECHO_N "checking for poll... $ECHO_C" >&6
38919 if test "${glibcxx_cv_POLL+set}" = set; then
38920 echo $ECHO_N "(cached) $ECHO_C" >&6
38921 else
38923 if test x$gcc_no_link = xyes; then
38924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38926 { (exit 1); exit 1; }; }
38928 cat >conftest.$ac_ext <<_ACEOF
38929 /* confdefs.h. */
38930 _ACEOF
38931 cat confdefs.h >>conftest.$ac_ext
38932 cat >>conftest.$ac_ext <<_ACEOF
38933 /* end confdefs.h. */
38934 #include <poll.h>
38936 main ()
38938 struct pollfd pfd[1];
38939 pfd[0].events = POLLIN;
38940 poll(pfd, 1, 0);
38942 return 0;
38944 _ACEOF
38945 rm -f conftest.$ac_objext conftest$ac_exeext
38946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38947 (eval $ac_link) 2>conftest.er1
38948 ac_status=$?
38949 grep -v '^ *+' conftest.er1 >conftest.err
38950 rm -f conftest.er1
38951 cat conftest.err >&5
38952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38953 (exit $ac_status); } &&
38954 { ac_try='test -z "$ac_c_werror_flag"
38955 || test ! -s conftest.err'
38956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38957 (eval $ac_try) 2>&5
38958 ac_status=$?
38959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38960 (exit $ac_status); }; } &&
38961 { ac_try='test -s conftest$ac_exeext'
38962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38963 (eval $ac_try) 2>&5
38964 ac_status=$?
38965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38966 (exit $ac_status); }; }; then
38967 glibcxx_cv_POLL=yes
38968 else
38969 echo "$as_me: failed program was:" >&5
38970 sed 's/^/| /' conftest.$ac_ext >&5
38972 glibcxx_cv_POLL=no
38974 rm -f conftest.err conftest.$ac_objext \
38975 conftest$ac_exeext conftest.$ac_ext
38979 if test $glibcxx_cv_POLL = yes; then
38981 cat >>confdefs.h <<\_ACEOF
38982 #define HAVE_POLL 1
38983 _ACEOF
38986 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
38987 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
38990 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
38991 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
38992 if test "${glibcxx_cv_S_ISREG+set}" = set; then
38993 echo $ECHO_N "(cached) $ECHO_C" >&6
38994 else
38996 if test x$gcc_no_link = xyes; then
38997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38999 { (exit 1); exit 1; }; }
39001 cat >conftest.$ac_ext <<_ACEOF
39002 /* confdefs.h. */
39003 _ACEOF
39004 cat confdefs.h >>conftest.$ac_ext
39005 cat >>conftest.$ac_ext <<_ACEOF
39006 /* end confdefs.h. */
39007 #include <sys/stat.h>
39009 main ()
39011 struct stat buffer;
39012 fstat(0, &buffer);
39013 S_ISREG(buffer.st_mode);
39015 return 0;
39017 _ACEOF
39018 rm -f conftest.$ac_objext conftest$ac_exeext
39019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39020 (eval $ac_link) 2>conftest.er1
39021 ac_status=$?
39022 grep -v '^ *+' conftest.er1 >conftest.err
39023 rm -f conftest.er1
39024 cat conftest.err >&5
39025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39026 (exit $ac_status); } &&
39027 { ac_try='test -z "$ac_c_werror_flag"
39028 || test ! -s conftest.err'
39029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39030 (eval $ac_try) 2>&5
39031 ac_status=$?
39032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39033 (exit $ac_status); }; } &&
39034 { ac_try='test -s conftest$ac_exeext'
39035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39036 (eval $ac_try) 2>&5
39037 ac_status=$?
39038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39039 (exit $ac_status); }; }; then
39040 glibcxx_cv_S_ISREG=yes
39041 else
39042 echo "$as_me: failed program was:" >&5
39043 sed 's/^/| /' conftest.$ac_ext >&5
39045 glibcxx_cv_S_ISREG=no
39047 rm -f conftest.err conftest.$ac_objext \
39048 conftest$ac_exeext conftest.$ac_ext
39052 if test "${glibcxx_cv_S_IFREG+set}" = set; then
39053 echo $ECHO_N "(cached) $ECHO_C" >&6
39054 else
39056 if test x$gcc_no_link = xyes; then
39057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39059 { (exit 1); exit 1; }; }
39061 cat >conftest.$ac_ext <<_ACEOF
39062 /* confdefs.h. */
39063 _ACEOF
39064 cat confdefs.h >>conftest.$ac_ext
39065 cat >>conftest.$ac_ext <<_ACEOF
39066 /* end confdefs.h. */
39067 #include <sys/stat.h>
39069 main ()
39071 struct stat buffer;
39072 fstat(0, &buffer);
39073 S_IFREG & buffer.st_mode;
39075 return 0;
39077 _ACEOF
39078 rm -f conftest.$ac_objext conftest$ac_exeext
39079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39080 (eval $ac_link) 2>conftest.er1
39081 ac_status=$?
39082 grep -v '^ *+' conftest.er1 >conftest.err
39083 rm -f conftest.er1
39084 cat conftest.err >&5
39085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39086 (exit $ac_status); } &&
39087 { ac_try='test -z "$ac_c_werror_flag"
39088 || test ! -s conftest.err'
39089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39090 (eval $ac_try) 2>&5
39091 ac_status=$?
39092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39093 (exit $ac_status); }; } &&
39094 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
39100 glibcxx_cv_S_IFREG=yes
39101 else
39102 echo "$as_me: failed program was:" >&5
39103 sed 's/^/| /' conftest.$ac_ext >&5
39105 glibcxx_cv_S_IFREG=no
39107 rm -f conftest.err conftest.$ac_objext \
39108 conftest$ac_exeext conftest.$ac_ext
39112 res=no
39113 if test $glibcxx_cv_S_ISREG = yes; then
39115 cat >>confdefs.h <<\_ACEOF
39116 #define HAVE_S_ISREG 1
39117 _ACEOF
39119 res=S_ISREG
39120 elif test $glibcxx_cv_S_IFREG = yes; then
39122 cat >>confdefs.h <<\_ACEOF
39123 #define HAVE_S_IFREG 1
39124 _ACEOF
39126 res=S_IFREG
39128 echo "$as_me:$LINENO: result: $res" >&5
39129 echo "${ECHO_T}$res" >&6
39132 # For xsputn_2().
39134 for ac_header in sys/uio.h
39136 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39138 echo "$as_me:$LINENO: checking for $ac_header" >&5
39139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39141 echo $ECHO_N "(cached) $ECHO_C" >&6
39143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39145 else
39146 # Is the header compilable?
39147 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39148 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
39156 #include <$ac_header>
39157 _ACEOF
39158 rm -f conftest.$ac_objext
39159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39160 (eval $ac_compile) 2>conftest.er1
39161 ac_status=$?
39162 grep -v '^ *+' conftest.er1 >conftest.err
39163 rm -f conftest.er1
39164 cat conftest.err >&5
39165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39166 (exit $ac_status); } &&
39167 { ac_try='test -z "$ac_c_werror_flag"
39168 || test ! -s conftest.err'
39169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39170 (eval $ac_try) 2>&5
39171 ac_status=$?
39172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39173 (exit $ac_status); }; } &&
39174 { ac_try='test -s conftest.$ac_objext'
39175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39176 (eval $ac_try) 2>&5
39177 ac_status=$?
39178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39179 (exit $ac_status); }; }; then
39180 ac_header_compiler=yes
39181 else
39182 echo "$as_me: failed program was:" >&5
39183 sed 's/^/| /' conftest.$ac_ext >&5
39185 ac_header_compiler=no
39187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39189 echo "${ECHO_T}$ac_header_compiler" >&6
39191 # Is the header present?
39192 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39194 cat >conftest.$ac_ext <<_ACEOF
39195 /* confdefs.h. */
39196 _ACEOF
39197 cat confdefs.h >>conftest.$ac_ext
39198 cat >>conftest.$ac_ext <<_ACEOF
39199 /* end confdefs.h. */
39200 #include <$ac_header>
39201 _ACEOF
39202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39203 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39204 ac_status=$?
39205 grep -v '^ *+' conftest.er1 >conftest.err
39206 rm -f conftest.er1
39207 cat conftest.err >&5
39208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39209 (exit $ac_status); } >/dev/null; then
39210 if test -s conftest.err; then
39211 ac_cpp_err=$ac_c_preproc_warn_flag
39212 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39213 else
39214 ac_cpp_err=
39216 else
39217 ac_cpp_err=yes
39219 if test -z "$ac_cpp_err"; then
39220 ac_header_preproc=yes
39221 else
39222 echo "$as_me: failed program was:" >&5
39223 sed 's/^/| /' conftest.$ac_ext >&5
39225 ac_header_preproc=no
39227 rm -f conftest.err conftest.$ac_ext
39228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39229 echo "${ECHO_T}$ac_header_preproc" >&6
39231 # So? What about this header?
39232 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39233 yes:no: )
39234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39237 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39238 ac_header_preproc=yes
39240 no:yes:* )
39241 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39242 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39243 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39244 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39245 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39246 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39247 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39248 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39251 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39252 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39254 cat <<\_ASBOX
39255 ## ----------------------------------------- ##
39256 ## Report this to the package-unused lists. ##
39257 ## ----------------------------------------- ##
39258 _ASBOX
39260 sed "s/^/$as_me: WARNING: /" >&2
39262 esac
39263 echo "$as_me:$LINENO: checking for $ac_header" >&5
39264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39266 echo $ECHO_N "(cached) $ECHO_C" >&6
39267 else
39268 eval "$as_ac_Header=\$ac_header_preproc"
39270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39275 cat >>confdefs.h <<_ACEOF
39276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39277 _ACEOF
39281 done
39284 echo "$as_me:$LINENO: checking for writev" >&5
39285 echo $ECHO_N "checking for writev... $ECHO_C" >&6
39286 if test "${glibcxx_cv_WRITEV+set}" = set; then
39287 echo $ECHO_N "(cached) $ECHO_C" >&6
39288 else
39290 if test x$gcc_no_link = xyes; then
39291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39293 { (exit 1); exit 1; }; }
39295 cat >conftest.$ac_ext <<_ACEOF
39296 /* confdefs.h. */
39297 _ACEOF
39298 cat confdefs.h >>conftest.$ac_ext
39299 cat >>conftest.$ac_ext <<_ACEOF
39300 /* end confdefs.h. */
39301 #include <sys/uio.h>
39303 main ()
39305 struct iovec iov[2];
39306 writev(0, iov, 0);
39308 return 0;
39310 _ACEOF
39311 rm -f conftest.$ac_objext conftest$ac_exeext
39312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39313 (eval $ac_link) 2>conftest.er1
39314 ac_status=$?
39315 grep -v '^ *+' conftest.er1 >conftest.err
39316 rm -f conftest.er1
39317 cat conftest.err >&5
39318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39319 (exit $ac_status); } &&
39320 { ac_try='test -z "$ac_c_werror_flag"
39321 || test ! -s conftest.err'
39322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39323 (eval $ac_try) 2>&5
39324 ac_status=$?
39325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39326 (exit $ac_status); }; } &&
39327 { ac_try='test -s conftest$ac_exeext'
39328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39329 (eval $ac_try) 2>&5
39330 ac_status=$?
39331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39332 (exit $ac_status); }; }; then
39333 glibcxx_cv_WRITEV=yes
39334 else
39335 echo "$as_me: failed program was:" >&5
39336 sed 's/^/| /' conftest.$ac_ext >&5
39338 glibcxx_cv_WRITEV=no
39340 rm -f conftest.err conftest.$ac_objext \
39341 conftest$ac_exeext conftest.$ac_ext
39345 if test $glibcxx_cv_WRITEV = yes; then
39347 cat >>confdefs.h <<\_ACEOF
39348 #define HAVE_WRITEV 1
39349 _ACEOF
39352 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
39353 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
39356 # For the __streamoff_base_type typedef.
39358 echo "$as_me:$LINENO: checking for int64_t" >&5
39359 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
39360 if test "${glibcxx_cv_INT64_T+set}" = set; then
39361 echo $ECHO_N "(cached) $ECHO_C" >&6
39362 else
39364 cat >conftest.$ac_ext <<_ACEOF
39365 /* confdefs.h. */
39366 _ACEOF
39367 cat confdefs.h >>conftest.$ac_ext
39368 cat >>conftest.$ac_ext <<_ACEOF
39369 /* end confdefs.h. */
39370 #include <stdint.h>
39372 main ()
39374 int64_t var;
39376 return 0;
39378 _ACEOF
39379 rm -f conftest.$ac_objext
39380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39381 (eval $ac_compile) 2>conftest.er1
39382 ac_status=$?
39383 grep -v '^ *+' conftest.er1 >conftest.err
39384 rm -f conftest.er1
39385 cat conftest.err >&5
39386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39387 (exit $ac_status); } &&
39388 { ac_try='test -z "$ac_c_werror_flag"
39389 || test ! -s conftest.err'
39390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39391 (eval $ac_try) 2>&5
39392 ac_status=$?
39393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39394 (exit $ac_status); }; } &&
39395 { ac_try='test -s conftest.$ac_objext'
39396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39397 (eval $ac_try) 2>&5
39398 ac_status=$?
39399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39400 (exit $ac_status); }; }; then
39401 glibcxx_cv_INT64_T=yes
39402 else
39403 echo "$as_me: failed program was:" >&5
39404 sed 's/^/| /' conftest.$ac_ext >&5
39406 glibcxx_cv_INT64_T=no
39408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39412 if test $glibcxx_cv_INT64_T = yes; then
39414 cat >>confdefs.h <<\_ACEOF
39415 #define HAVE_INT64_T 1
39416 _ACEOF
39419 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
39420 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
39423 # For LFS support.
39427 ac_ext=cc
39428 ac_cpp='$CXXCPP $CPPFLAGS'
39429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39433 ac_save_CXXFLAGS="$CXXFLAGS"
39434 CXXFLAGS="$CXXFLAGS -fno-exceptions"
39435 echo "$as_me:$LINENO: checking for LFS support" >&5
39436 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
39437 if test "${glibcxx_cv_LFS+set}" = set; then
39438 echo $ECHO_N "(cached) $ECHO_C" >&6
39439 else
39441 if test x$gcc_no_link = xyes; then
39442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39444 { (exit 1); exit 1; }; }
39446 cat >conftest.$ac_ext <<_ACEOF
39447 /* confdefs.h. */
39448 _ACEOF
39449 cat confdefs.h >>conftest.$ac_ext
39450 cat >>conftest.$ac_ext <<_ACEOF
39451 /* end confdefs.h. */
39452 #include <unistd.h>
39453 #include <stdio.h>
39454 #include <sys/stat.h>
39457 main ()
39459 FILE* fp;
39460 fopen64("t", "w");
39461 fseeko64(fp, 0, SEEK_CUR);
39462 ftello64(fp);
39463 lseek64(1, 0, SEEK_CUR);
39464 struct stat64 buf;
39465 fstat64(1, &buf);
39467 return 0;
39469 _ACEOF
39470 rm -f conftest.$ac_objext conftest$ac_exeext
39471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39472 (eval $ac_link) 2>conftest.er1
39473 ac_status=$?
39474 grep -v '^ *+' conftest.er1 >conftest.err
39475 rm -f conftest.er1
39476 cat conftest.err >&5
39477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39478 (exit $ac_status); } &&
39479 { ac_try='test -z "$ac_cxx_werror_flag"
39480 || test ! -s conftest.err'
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); }; } &&
39486 { ac_try='test -s conftest$ac_exeext'
39487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39488 (eval $ac_try) 2>&5
39489 ac_status=$?
39490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39491 (exit $ac_status); }; }; then
39492 glibcxx_cv_LFS=yes
39493 else
39494 echo "$as_me: failed program was:" >&5
39495 sed 's/^/| /' conftest.$ac_ext >&5
39497 glibcxx_cv_LFS=no
39499 rm -f conftest.err conftest.$ac_objext \
39500 conftest$ac_exeext conftest.$ac_ext
39504 if test $glibcxx_cv_LFS = yes; then
39506 cat >>confdefs.h <<\_ACEOF
39507 #define _GLIBCXX_USE_LFS 1
39508 _ACEOF
39511 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
39512 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
39513 CXXFLAGS="$ac_save_CXXFLAGS"
39514 ac_ext=c
39515 ac_cpp='$CPP $CPPFLAGS'
39516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39522 # For C99 support to TR1.
39527 ac_ext=cc
39528 ac_cpp='$CXXCPP $CPPFLAGS'
39529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39534 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
39535 # undefined and fake C99 facilities may be spuriously enabled.
39536 ac_save_CXXFLAGS="$CXXFLAGS"
39537 CXXFLAGS="$CXXFLAGS -std=c++98"
39539 # Check for the existence of <complex.h> complex math functions used
39540 # by tr1/complex.
39542 for ac_header in complex.h
39544 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39546 echo "$as_me:$LINENO: checking for $ac_header" >&5
39547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39549 echo $ECHO_N "(cached) $ECHO_C" >&6
39551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39552 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39553 else
39554 # Is the header compilable?
39555 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39556 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39557 cat >conftest.$ac_ext <<_ACEOF
39558 /* confdefs.h. */
39559 _ACEOF
39560 cat confdefs.h >>conftest.$ac_ext
39561 cat >>conftest.$ac_ext <<_ACEOF
39562 /* end confdefs.h. */
39563 $ac_includes_default
39564 #include <$ac_header>
39565 _ACEOF
39566 rm -f conftest.$ac_objext
39567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39568 (eval $ac_compile) 2>conftest.er1
39569 ac_status=$?
39570 grep -v '^ *+' conftest.er1 >conftest.err
39571 rm -f conftest.er1
39572 cat conftest.err >&5
39573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39574 (exit $ac_status); } &&
39575 { ac_try='test -z "$ac_cxx_werror_flag"
39576 || test ! -s conftest.err'
39577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39578 (eval $ac_try) 2>&5
39579 ac_status=$?
39580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39581 (exit $ac_status); }; } &&
39582 { ac_try='test -s conftest.$ac_objext'
39583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39584 (eval $ac_try) 2>&5
39585 ac_status=$?
39586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39587 (exit $ac_status); }; }; then
39588 ac_header_compiler=yes
39589 else
39590 echo "$as_me: failed program was:" >&5
39591 sed 's/^/| /' conftest.$ac_ext >&5
39593 ac_header_compiler=no
39595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39596 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39597 echo "${ECHO_T}$ac_header_compiler" >&6
39599 # Is the header present?
39600 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39601 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
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 #include <$ac_header>
39609 _ACEOF
39610 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39611 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39612 ac_status=$?
39613 grep -v '^ *+' conftest.er1 >conftest.err
39614 rm -f conftest.er1
39615 cat conftest.err >&5
39616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39617 (exit $ac_status); } >/dev/null; then
39618 if test -s conftest.err; then
39619 ac_cpp_err=$ac_cxx_preproc_warn_flag
39620 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39621 else
39622 ac_cpp_err=
39624 else
39625 ac_cpp_err=yes
39627 if test -z "$ac_cpp_err"; then
39628 ac_header_preproc=yes
39629 else
39630 echo "$as_me: failed program was:" >&5
39631 sed 's/^/| /' conftest.$ac_ext >&5
39633 ac_header_preproc=no
39635 rm -f conftest.err conftest.$ac_ext
39636 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39637 echo "${ECHO_T}$ac_header_preproc" >&6
39639 # So? What about this header?
39640 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39641 yes:no: )
39642 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39643 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39644 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39645 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39646 ac_header_preproc=yes
39648 no:yes:* )
39649 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39650 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39651 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39652 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39653 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39654 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39655 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39656 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39658 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39659 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39660 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39662 cat <<\_ASBOX
39663 ## ----------------------------------------- ##
39664 ## Report this to the package-unused lists. ##
39665 ## ----------------------------------------- ##
39666 _ASBOX
39668 sed "s/^/$as_me: WARNING: /" >&2
39670 esac
39671 echo "$as_me:$LINENO: checking for $ac_header" >&5
39672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39674 echo $ECHO_N "(cached) $ECHO_C" >&6
39675 else
39676 eval "$as_ac_Header=\$ac_header_preproc"
39678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39679 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39682 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39683 cat >>confdefs.h <<_ACEOF
39684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39685 _ACEOF
39686 ac_has_complex_h=yes
39687 else
39688 ac_has_complex_h=no
39691 done
39693 ac_c99_complex_tr1=no;
39694 if test x"$ac_has_complex_h" = x"yes"; then
39695 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
39696 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
39697 cat >conftest.$ac_ext <<_ACEOF
39698 /* confdefs.h. */
39699 _ACEOF
39700 cat confdefs.h >>conftest.$ac_ext
39701 cat >>conftest.$ac_ext <<_ACEOF
39702 /* end confdefs.h. */
39703 #include <complex.h>
39705 main ()
39707 typedef __complex__ float float_type; float_type tmpf;
39708 cacosf(tmpf);
39709 casinf(tmpf);
39710 catanf(tmpf);
39711 cacoshf(tmpf);
39712 casinhf(tmpf);
39713 catanhf(tmpf);
39714 typedef __complex__ double double_type; double_type tmpd;
39715 cacos(tmpd);
39716 casin(tmpd);
39717 catan(tmpd);
39718 cacosh(tmpd);
39719 casinh(tmpd);
39720 catanh(tmpd);
39721 typedef __complex__ long double ld_type; ld_type tmpld;
39722 cacosl(tmpld);
39723 casinl(tmpld);
39724 catanl(tmpld);
39725 cacoshl(tmpld);
39726 casinhl(tmpld);
39727 catanhl(tmpld);
39730 return 0;
39732 _ACEOF
39733 rm -f conftest.$ac_objext
39734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39735 (eval $ac_compile) 2>conftest.er1
39736 ac_status=$?
39737 grep -v '^ *+' conftest.er1 >conftest.err
39738 rm -f conftest.er1
39739 cat conftest.err >&5
39740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39741 (exit $ac_status); } &&
39742 { ac_try='test -z "$ac_cxx_werror_flag"
39743 || test ! -s conftest.err'
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); }; } &&
39749 { ac_try='test -s conftest.$ac_objext'
39750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39751 (eval $ac_try) 2>&5
39752 ac_status=$?
39753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39754 (exit $ac_status); }; }; then
39755 ac_c99_complex_tr1=yes
39756 else
39757 echo "$as_me: failed program was:" >&5
39758 sed 's/^/| /' conftest.$ac_ext >&5
39760 ac_c99_complex_tr1=no
39762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39764 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
39765 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
39766 if test x"$ac_c99_complex_tr1" = x"yes"; then
39768 cat >>confdefs.h <<\_ACEOF
39769 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
39770 _ACEOF
39774 # Check for the existence of <ctype.h> functions.
39775 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
39776 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
39777 if test "${ac_c99_ctype_tr1+set}" = set; then
39778 echo $ECHO_N "(cached) $ECHO_C" >&6
39779 else
39781 cat >conftest.$ac_ext <<_ACEOF
39782 /* confdefs.h. */
39783 _ACEOF
39784 cat confdefs.h >>conftest.$ac_ext
39785 cat >>conftest.$ac_ext <<_ACEOF
39786 /* end confdefs.h. */
39787 #include <ctype.h>
39789 main ()
39791 int ch;
39792 int ret;
39793 ret = isblank(ch);
39796 return 0;
39798 _ACEOF
39799 rm -f conftest.$ac_objext
39800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39801 (eval $ac_compile) 2>conftest.er1
39802 ac_status=$?
39803 grep -v '^ *+' conftest.er1 >conftest.err
39804 rm -f conftest.er1
39805 cat conftest.err >&5
39806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39807 (exit $ac_status); } &&
39808 { ac_try='test -z "$ac_cxx_werror_flag"
39809 || test ! -s conftest.err'
39810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39811 (eval $ac_try) 2>&5
39812 ac_status=$?
39813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39814 (exit $ac_status); }; } &&
39815 { ac_try='test -s conftest.$ac_objext'
39816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39817 (eval $ac_try) 2>&5
39818 ac_status=$?
39819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39820 (exit $ac_status); }; }; then
39821 ac_c99_ctype_tr1=yes
39822 else
39823 echo "$as_me: failed program was:" >&5
39824 sed 's/^/| /' conftest.$ac_ext >&5
39826 ac_c99_ctype_tr1=no
39828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39832 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
39833 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
39834 if test x"$ac_c99_ctype_tr1" = x"yes"; then
39836 cat >>confdefs.h <<\_ACEOF
39837 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
39838 _ACEOF
39842 # Check for the existence of <fenv.h> functions.
39844 for ac_header in fenv.h
39846 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39848 echo "$as_me:$LINENO: checking for $ac_header" >&5
39849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39851 echo $ECHO_N "(cached) $ECHO_C" >&6
39853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39854 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39855 else
39856 # Is the header compilable?
39857 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39858 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39859 cat >conftest.$ac_ext <<_ACEOF
39860 /* confdefs.h. */
39861 _ACEOF
39862 cat confdefs.h >>conftest.$ac_ext
39863 cat >>conftest.$ac_ext <<_ACEOF
39864 /* end confdefs.h. */
39865 $ac_includes_default
39866 #include <$ac_header>
39867 _ACEOF
39868 rm -f conftest.$ac_objext
39869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39870 (eval $ac_compile) 2>conftest.er1
39871 ac_status=$?
39872 grep -v '^ *+' conftest.er1 >conftest.err
39873 rm -f conftest.er1
39874 cat conftest.err >&5
39875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39876 (exit $ac_status); } &&
39877 { ac_try='test -z "$ac_cxx_werror_flag"
39878 || test ! -s conftest.err'
39879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39880 (eval $ac_try) 2>&5
39881 ac_status=$?
39882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883 (exit $ac_status); }; } &&
39884 { ac_try='test -s conftest.$ac_objext'
39885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39886 (eval $ac_try) 2>&5
39887 ac_status=$?
39888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39889 (exit $ac_status); }; }; then
39890 ac_header_compiler=yes
39891 else
39892 echo "$as_me: failed program was:" >&5
39893 sed 's/^/| /' conftest.$ac_ext >&5
39895 ac_header_compiler=no
39897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39898 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39899 echo "${ECHO_T}$ac_header_compiler" >&6
39901 # Is the header present?
39902 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39903 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39904 cat >conftest.$ac_ext <<_ACEOF
39905 /* confdefs.h. */
39906 _ACEOF
39907 cat confdefs.h >>conftest.$ac_ext
39908 cat >>conftest.$ac_ext <<_ACEOF
39909 /* end confdefs.h. */
39910 #include <$ac_header>
39911 _ACEOF
39912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39913 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39914 ac_status=$?
39915 grep -v '^ *+' conftest.er1 >conftest.err
39916 rm -f conftest.er1
39917 cat conftest.err >&5
39918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39919 (exit $ac_status); } >/dev/null; then
39920 if test -s conftest.err; then
39921 ac_cpp_err=$ac_cxx_preproc_warn_flag
39922 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39923 else
39924 ac_cpp_err=
39926 else
39927 ac_cpp_err=yes
39929 if test -z "$ac_cpp_err"; then
39930 ac_header_preproc=yes
39931 else
39932 echo "$as_me: failed program was:" >&5
39933 sed 's/^/| /' conftest.$ac_ext >&5
39935 ac_header_preproc=no
39937 rm -f conftest.err conftest.$ac_ext
39938 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39939 echo "${ECHO_T}$ac_header_preproc" >&6
39941 # So? What about this header?
39942 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39943 yes:no: )
39944 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39945 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39947 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39948 ac_header_preproc=yes
39950 no:yes:* )
39951 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39952 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39953 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39954 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39955 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39956 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39957 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39958 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39960 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39961 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39962 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39964 cat <<\_ASBOX
39965 ## ----------------------------------------- ##
39966 ## Report this to the package-unused lists. ##
39967 ## ----------------------------------------- ##
39968 _ASBOX
39970 sed "s/^/$as_me: WARNING: /" >&2
39972 esac
39973 echo "$as_me:$LINENO: checking for $ac_header" >&5
39974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39976 echo $ECHO_N "(cached) $ECHO_C" >&6
39977 else
39978 eval "$as_ac_Header=\$ac_header_preproc"
39980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39984 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39985 cat >>confdefs.h <<_ACEOF
39986 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39987 _ACEOF
39988 ac_has_fenv_h=yes
39989 else
39990 ac_has_fenv_h=no
39993 done
39995 ac_c99_fenv_tr1=no;
39996 if test x"$ac_has_fenv_h" = x"yes"; then
39997 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
39998 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
39999 cat >conftest.$ac_ext <<_ACEOF
40000 /* confdefs.h. */
40001 _ACEOF
40002 cat confdefs.h >>conftest.$ac_ext
40003 cat >>conftest.$ac_ext <<_ACEOF
40004 /* end confdefs.h. */
40005 #include <fenv.h>
40007 main ()
40009 int except, mode;
40010 fexcept_t* pflag;
40011 fenv_t* penv;
40012 int ret;
40013 ret = feclearexcept(except);
40014 ret = fegetexceptflag(pflag, except);
40015 ret = feraiseexcept(except);
40016 ret = fesetexceptflag(pflag, except);
40017 ret = fetestexcept(except);
40018 ret = fegetround();
40019 ret = fesetround(mode);
40020 ret = fegetenv(penv);
40021 ret = feholdexcept(penv);
40022 ret = fesetenv(penv);
40023 ret = feupdateenv(penv);
40026 return 0;
40028 _ACEOF
40029 rm -f conftest.$ac_objext
40030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40031 (eval $ac_compile) 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_cxx_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_objext'
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 ac_c99_fenv_tr1=yes
40052 else
40053 echo "$as_me: failed program was:" >&5
40054 sed 's/^/| /' conftest.$ac_ext >&5
40056 ac_c99_fenv_tr1=no
40058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40060 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
40061 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
40062 if test x"$ac_c99_fenv_tr1" = x"yes"; then
40064 cat >>confdefs.h <<\_ACEOF
40065 #define _GLIBCXX_USE_C99_FENV_TR1 1
40066 _ACEOF
40070 # Check for the existence of <stdint.h> types.
40071 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
40072 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
40073 if test "${ac_c99_stdint_tr1+set}" = set; then
40074 echo $ECHO_N "(cached) $ECHO_C" >&6
40075 else
40077 cat >conftest.$ac_ext <<_ACEOF
40078 /* confdefs.h. */
40079 _ACEOF
40080 cat confdefs.h >>conftest.$ac_ext
40081 cat >>conftest.$ac_ext <<_ACEOF
40082 /* end confdefs.h. */
40083 #include <stdint.h>
40085 main ()
40087 typedef int8_t my_int8_t;
40088 typedef int16_t my_int16_t;
40089 typedef int32_t my_int32_t;
40090 typedef int64_t my_int64_t;
40091 typedef int_fast8_t my_int_fast8_t;
40092 typedef int_fast16_t my_int_fast16_t;
40093 typedef int_fast32_t my_int_fast32_t;
40094 typedef int_fast64_t my_int_fast64_t;
40095 typedef int_least8_t my_int_least8_t;
40096 typedef int_least16_t my_int_least16_t;
40097 typedef int_least32_t my_int_least32_t;
40098 typedef int_least64_t my_int_least64_t;
40099 typedef intmax_t my_intmax_t;
40100 typedef intptr_t my_intptr_t;
40101 typedef uint8_t my_uint8_t;
40102 typedef uint16_t my_uint16_t;
40103 typedef uint32_t my_uint32_t;
40104 typedef uint64_t my_uint64_t;
40105 typedef uint_fast8_t my_uint_fast8_t;
40106 typedef uint_fast16_t my_uint_fast16_t;
40107 typedef uint_fast32_t my_uint_fast32_t;
40108 typedef uint_fast64_t my_uint_fast64_t;
40109 typedef uint_least8_t my_uint_least8_t;
40110 typedef uint_least16_t my_uint_least16_t;
40111 typedef uint_least32_t my_uint_least32_t;
40112 typedef uint_least64_t my_uint_least64_t;
40113 typedef uintmax_t my_uintmax_t;
40114 typedef uintptr_t my_uintptr_t;
40117 return 0;
40119 _ACEOF
40120 rm -f conftest.$ac_objext
40121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40122 (eval $ac_compile) 2>conftest.er1
40123 ac_status=$?
40124 grep -v '^ *+' conftest.er1 >conftest.err
40125 rm -f conftest.er1
40126 cat conftest.err >&5
40127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40128 (exit $ac_status); } &&
40129 { ac_try='test -z "$ac_cxx_werror_flag"
40130 || test ! -s conftest.err'
40131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40132 (eval $ac_try) 2>&5
40133 ac_status=$?
40134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40135 (exit $ac_status); }; } &&
40136 { ac_try='test -s conftest.$ac_objext'
40137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40138 (eval $ac_try) 2>&5
40139 ac_status=$?
40140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40141 (exit $ac_status); }; }; then
40142 ac_c99_stdint_tr1=yes
40143 else
40144 echo "$as_me: failed program was:" >&5
40145 sed 's/^/| /' conftest.$ac_ext >&5
40147 ac_c99_stdint_tr1=no
40149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40153 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
40154 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
40155 if test x"$ac_c99_stdint_tr1" = x"yes"; then
40157 cat >>confdefs.h <<\_ACEOF
40158 #define _GLIBCXX_USE_C99_STDINT_TR1 1
40159 _ACEOF
40163 # Check for the existence of <math.h> functions.
40164 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
40165 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
40166 if test "${ac_c99_math_tr1+set}" = set; then
40167 echo $ECHO_N "(cached) $ECHO_C" >&6
40168 else
40170 cat >conftest.$ac_ext <<_ACEOF
40171 /* confdefs.h. */
40172 _ACEOF
40173 cat confdefs.h >>conftest.$ac_ext
40174 cat >>conftest.$ac_ext <<_ACEOF
40175 /* end confdefs.h. */
40176 #include <math.h>
40178 main ()
40180 typedef double_t my_double_t;
40181 typedef float_t my_float_t;
40182 acosh(0.0);
40183 acoshf(0.0f);
40184 acoshl(0.0l);
40185 asinh(0.0);
40186 asinhf(0.0f);
40187 asinhl(0.0l);
40188 atanh(0.0);
40189 atanhf(0.0f);
40190 atanhl(0.0l);
40191 cbrt(0.0);
40192 cbrtf(0.0f);
40193 cbrtl(0.0l);
40194 copysign(0.0, 0.0);
40195 copysignf(0.0f, 0.0f);
40196 copysignl(0.0l, 0.0l);
40197 erf(0.0);
40198 erff(0.0f);
40199 erfl(0.0l);
40200 erfc(0.0);
40201 erfcf(0.0f);
40202 erfcl(0.0l);
40203 exp2(0.0);
40204 exp2f(0.0f);
40205 exp2l(0.0l);
40206 expm1(0.0);
40207 expm1f(0.0f);
40208 expm1l(0.0l);
40209 fdim(0.0, 0.0);
40210 fdimf(0.0f, 0.0f);
40211 fdiml(0.0l, 0.0l);
40212 fma(0.0, 0.0, 0.0);
40213 fmaf(0.0f, 0.0f, 0.0f);
40214 fmal(0.0l, 0.0l, 0.0l);
40215 fmax(0.0, 0.0);
40216 fmaxf(0.0f, 0.0f);
40217 fmaxl(0.0l, 0.0l);
40218 fmin(0.0, 0.0);
40219 fminf(0.0f, 0.0f);
40220 fminl(0.0l, 0.0l);
40221 hypot(0.0, 0.0);
40222 hypotf(0.0f, 0.0f);
40223 hypotl(0.0l, 0.0l);
40224 ilogb(0.0);
40225 ilogbf(0.0f);
40226 ilogbl(0.0l);
40227 lgamma(0.0);
40228 lgammaf(0.0f);
40229 lgammal(0.0l);
40230 llrint(0.0);
40231 llrintf(0.0f);
40232 llrintl(0.0l);
40233 llround(0.0);
40234 llroundf(0.0f);
40235 llroundl(0.0l);
40236 log1p(0.0);
40237 log1pf(0.0f);
40238 log1pl(0.0l);
40239 log2(0.0);
40240 log2f(0.0f);
40241 log2l(0.0l);
40242 logb(0.0);
40243 logbf(0.0f);
40244 logbl(0.0l);
40245 lrint(0.0);
40246 lrintf(0.0f);
40247 lrintl(0.0l);
40248 lround(0.0);
40249 lroundf(0.0f);
40250 lroundl(0.0l);
40251 nan(0);
40252 nanf(0);
40253 nanl(0);
40254 nearbyint(0.0);
40255 nearbyintf(0.0f);
40256 nearbyintl(0.0l);
40257 nextafter(0.0, 0.0);
40258 nextafterf(0.0f, 0.0f);
40259 nextafterl(0.0l, 0.0l);
40260 nexttoward(0.0, 0.0);
40261 nexttowardf(0.0f, 0.0f);
40262 nexttowardl(0.0l, 0.0l);
40263 remainder(0.0, 0.0);
40264 remainderf(0.0f, 0.0f);
40265 remainderl(0.0l, 0.0l);
40266 remquo(0.0, 0.0, 0);
40267 remquo(0.0f, 0.0f, 0);
40268 remquo(0.0l, 0.0l, 0);
40269 rint(0.0);
40270 rintf(0.0f);
40271 rintl(0.0l);
40272 round(0.0);
40273 roundf(0.0f);
40274 roundl(0.0l);
40275 scalbln(0.0, 0l);
40276 scalblnf(0.0f, 0l);
40277 scalblnl(0.0l, 0l);
40278 scalbn(0.0, 0);
40279 scalbnf(0.0f, 0);
40280 scalbnl(0.0l, 0);
40281 tgamma(0.0);
40282 tgammaf(0.0f);
40283 tgammal(0.0l);
40284 trunc(0.0);
40285 truncf(0.0f);
40286 truncl(0.0l);
40289 return 0;
40291 _ACEOF
40292 rm -f conftest.$ac_objext
40293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40294 (eval $ac_compile) 2>conftest.er1
40295 ac_status=$?
40296 grep -v '^ *+' conftest.er1 >conftest.err
40297 rm -f conftest.er1
40298 cat conftest.err >&5
40299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40300 (exit $ac_status); } &&
40301 { ac_try='test -z "$ac_cxx_werror_flag"
40302 || test ! -s conftest.err'
40303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40304 (eval $ac_try) 2>&5
40305 ac_status=$?
40306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40307 (exit $ac_status); }; } &&
40308 { ac_try='test -s conftest.$ac_objext'
40309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40310 (eval $ac_try) 2>&5
40311 ac_status=$?
40312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40313 (exit $ac_status); }; }; then
40314 ac_c99_math_tr1=yes
40315 else
40316 echo "$as_me: failed program was:" >&5
40317 sed 's/^/| /' conftest.$ac_ext >&5
40319 ac_c99_math_tr1=no
40321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40325 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
40326 echo "${ECHO_T}$ac_c99_math_tr1" >&6
40327 if test x"$ac_c99_math_tr1" = x"yes"; then
40329 cat >>confdefs.h <<\_ACEOF
40330 #define _GLIBCXX_USE_C99_MATH_TR1 1
40331 _ACEOF
40335 # Check for the existence of <inttypes.h> functions (NB: doesn't make
40336 # sense if the previous check fails, per C99, 7.8/1).
40337 ac_c99_inttypes_tr1=no;
40338 if test x"$ac_c99_stdint_tr1" = x"yes"; then
40339 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
40340 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
40341 cat >conftest.$ac_ext <<_ACEOF
40342 /* confdefs.h. */
40343 _ACEOF
40344 cat confdefs.h >>conftest.$ac_ext
40345 cat >>conftest.$ac_ext <<_ACEOF
40346 /* end confdefs.h. */
40347 #include <inttypes.h>
40349 main ()
40351 intmax_t i, numer, denom, base;
40352 const char* s;
40353 char** endptr;
40354 intmax_t ret = imaxabs(i);
40355 imaxdiv_t dret = imaxdiv(numer, denom);
40356 ret = strtoimax(s, endptr, base);
40357 uintmax_t uret = strtoumax(s, endptr, base);
40360 return 0;
40362 _ACEOF
40363 rm -f conftest.$ac_objext
40364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40365 (eval $ac_compile) 2>conftest.er1
40366 ac_status=$?
40367 grep -v '^ *+' conftest.er1 >conftest.err
40368 rm -f conftest.er1
40369 cat conftest.err >&5
40370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40371 (exit $ac_status); } &&
40372 { ac_try='test -z "$ac_cxx_werror_flag"
40373 || test ! -s conftest.err'
40374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40375 (eval $ac_try) 2>&5
40376 ac_status=$?
40377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40378 (exit $ac_status); }; } &&
40379 { ac_try='test -s conftest.$ac_objext'
40380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40381 (eval $ac_try) 2>&5
40382 ac_status=$?
40383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40384 (exit $ac_status); }; }; then
40385 ac_c99_inttypes_tr1=yes
40386 else
40387 echo "$as_me: failed program was:" >&5
40388 sed 's/^/| /' conftest.$ac_ext >&5
40390 ac_c99_inttypes_tr1=no
40392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40394 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
40395 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
40396 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
40398 cat >>confdefs.h <<\_ACEOF
40399 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
40400 _ACEOF
40404 # Check for the existence of the <stdbool.h> header.
40406 for ac_header in stdbool.h
40408 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40410 echo "$as_me:$LINENO: checking for $ac_header" >&5
40411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40413 echo $ECHO_N "(cached) $ECHO_C" >&6
40415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40417 else
40418 # Is the header compilable?
40419 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40420 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40421 cat >conftest.$ac_ext <<_ACEOF
40422 /* confdefs.h. */
40423 _ACEOF
40424 cat confdefs.h >>conftest.$ac_ext
40425 cat >>conftest.$ac_ext <<_ACEOF
40426 /* end confdefs.h. */
40427 $ac_includes_default
40428 #include <$ac_header>
40429 _ACEOF
40430 rm -f conftest.$ac_objext
40431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40432 (eval $ac_compile) 2>conftest.er1
40433 ac_status=$?
40434 grep -v '^ *+' conftest.er1 >conftest.err
40435 rm -f conftest.er1
40436 cat conftest.err >&5
40437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40438 (exit $ac_status); } &&
40439 { ac_try='test -z "$ac_cxx_werror_flag"
40440 || test ! -s conftest.err'
40441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40442 (eval $ac_try) 2>&5
40443 ac_status=$?
40444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40445 (exit $ac_status); }; } &&
40446 { ac_try='test -s conftest.$ac_objext'
40447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40448 (eval $ac_try) 2>&5
40449 ac_status=$?
40450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40451 (exit $ac_status); }; }; then
40452 ac_header_compiler=yes
40453 else
40454 echo "$as_me: failed program was:" >&5
40455 sed 's/^/| /' conftest.$ac_ext >&5
40457 ac_header_compiler=no
40459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40460 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40461 echo "${ECHO_T}$ac_header_compiler" >&6
40463 # Is the header present?
40464 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40465 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40466 cat >conftest.$ac_ext <<_ACEOF
40467 /* confdefs.h. */
40468 _ACEOF
40469 cat confdefs.h >>conftest.$ac_ext
40470 cat >>conftest.$ac_ext <<_ACEOF
40471 /* end confdefs.h. */
40472 #include <$ac_header>
40473 _ACEOF
40474 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40475 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40476 ac_status=$?
40477 grep -v '^ *+' conftest.er1 >conftest.err
40478 rm -f conftest.er1
40479 cat conftest.err >&5
40480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40481 (exit $ac_status); } >/dev/null; then
40482 if test -s conftest.err; then
40483 ac_cpp_err=$ac_cxx_preproc_warn_flag
40484 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40485 else
40486 ac_cpp_err=
40488 else
40489 ac_cpp_err=yes
40491 if test -z "$ac_cpp_err"; then
40492 ac_header_preproc=yes
40493 else
40494 echo "$as_me: failed program was:" >&5
40495 sed 's/^/| /' conftest.$ac_ext >&5
40497 ac_header_preproc=no
40499 rm -f conftest.err conftest.$ac_ext
40500 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40501 echo "${ECHO_T}$ac_header_preproc" >&6
40503 # So? What about this header?
40504 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40505 yes:no: )
40506 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40507 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40509 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40510 ac_header_preproc=yes
40512 no:yes:* )
40513 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40514 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40515 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40516 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40517 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40518 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40519 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40520 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40521 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40522 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40523 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40524 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40526 cat <<\_ASBOX
40527 ## ----------------------------------------- ##
40528 ## Report this to the package-unused lists. ##
40529 ## ----------------------------------------- ##
40530 _ASBOX
40532 sed "s/^/$as_me: WARNING: /" >&2
40534 esac
40535 echo "$as_me:$LINENO: checking for $ac_header" >&5
40536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40538 echo $ECHO_N "(cached) $ECHO_C" >&6
40539 else
40540 eval "$as_ac_Header=\$ac_header_preproc"
40542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40547 cat >>confdefs.h <<_ACEOF
40548 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40549 _ACEOF
40553 done
40556 CXXFLAGS="$ac_save_CXXFLAGS"
40557 ac_ext=c
40558 ac_cpp='$CPP $CPPFLAGS'
40559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40565 # For dev/random and dev/urandom for TR1.
40568 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
40569 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40570 if test "${ac_random_tr1+set}" = set; then
40571 echo $ECHO_N "(cached) $ECHO_C" >&6
40572 else
40574 if test "$cross_compiling" = yes; then
40575 ac_random_tr1=no
40576 else
40577 cat >conftest.$ac_ext <<_ACEOF
40578 /* confdefs.h. */
40579 _ACEOF
40580 cat confdefs.h >>conftest.$ac_ext
40581 cat >>conftest.$ac_ext <<_ACEOF
40582 /* end confdefs.h. */
40583 #include <stdio.h>
40584 int main()
40586 return !(fopen("/dev/random", "r")
40587 && fopen("/dev/urandom", "r"));
40590 _ACEOF
40591 rm -f conftest$ac_exeext
40592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40593 (eval $ac_link) 2>&5
40594 ac_status=$?
40595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40596 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40598 (eval $ac_try) 2>&5
40599 ac_status=$?
40600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40601 (exit $ac_status); }; }; then
40602 ac_random_tr1=yes
40603 else
40604 echo "$as_me: program exited with status $ac_status" >&5
40605 echo "$as_me: failed program was:" >&5
40606 sed 's/^/| /' conftest.$ac_ext >&5
40608 ( exit $ac_status )
40609 ac_random_tr1=no
40611 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40616 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
40617 echo "${ECHO_T}$ac_random_tr1" >&6
40618 if test x"$ac_random_tr1" = x"yes"; then
40620 cat >>confdefs.h <<\_ACEOF
40621 #define _GLIBCXX_USE_RANDOM_TR1 1
40622 _ACEOF
40628 # For TLS support.
40630 # Check whether --enable-tls or --disable-tls was given.
40631 if test "${enable_tls+set}" = set; then
40632 enableval="$enable_tls"
40634 case "$enableval" in
40635 yes|no) ;;
40636 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40637 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40638 { (exit 1); exit 1; }; } ;;
40639 esac
40641 else
40642 enable_tls=yes
40645 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
40646 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
40647 if test "${gcc_cv_have_tls+set}" = set; then
40648 echo $ECHO_N "(cached) $ECHO_C" >&6
40649 else
40651 if test "$cross_compiling" = yes; then
40652 if test x$gcc_no_link = xyes; then
40653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40655 { (exit 1); exit 1; }; }
40657 cat >conftest.$ac_ext <<_ACEOF
40658 __thread int a; int b; int main() { return a = b; }
40659 _ACEOF
40660 rm -f conftest.$ac_objext conftest$ac_exeext
40661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40662 (eval $ac_link) 2>conftest.er1
40663 ac_status=$?
40664 grep -v '^ *+' conftest.er1 >conftest.err
40665 rm -f conftest.er1
40666 cat conftest.err >&5
40667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40668 (exit $ac_status); } &&
40669 { ac_try='test -z "$ac_c_werror_flag"
40670 || test ! -s conftest.err'
40671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40672 (eval $ac_try) 2>&5
40673 ac_status=$?
40674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40675 (exit $ac_status); }; } &&
40676 { ac_try='test -s conftest$ac_exeext'
40677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40678 (eval $ac_try) 2>&5
40679 ac_status=$?
40680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40681 (exit $ac_status); }; }; then
40682 gcc_cv_have_tls=yes
40683 else
40684 echo "$as_me: failed program was:" >&5
40685 sed 's/^/| /' conftest.$ac_ext >&5
40687 gcc_cv_have_tls=no
40689 rm -f conftest.err conftest.$ac_objext \
40690 conftest$ac_exeext conftest.$ac_ext
40693 else
40694 cat >conftest.$ac_ext <<_ACEOF
40695 __thread int a; int b; int main() { return a = b; }
40696 _ACEOF
40697 rm -f conftest$ac_exeext
40698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40699 (eval $ac_link) 2>&5
40700 ac_status=$?
40701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40702 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40704 (eval $ac_try) 2>&5
40705 ac_status=$?
40706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40707 (exit $ac_status); }; }; then
40708 chktls_save_LDFLAGS="$LDFLAGS"
40709 LDFLAGS="-static $LDFLAGS"
40710 if test x$gcc_no_link = xyes; then
40711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40713 { (exit 1); exit 1; }; }
40715 cat >conftest.$ac_ext <<_ACEOF
40716 int main() { return 0; }
40717 _ACEOF
40718 rm -f conftest.$ac_objext conftest$ac_exeext
40719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40720 (eval $ac_link) 2>conftest.er1
40721 ac_status=$?
40722 grep -v '^ *+' conftest.er1 >conftest.err
40723 rm -f conftest.er1
40724 cat conftest.err >&5
40725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40726 (exit $ac_status); } &&
40727 { ac_try='test -z "$ac_c_werror_flag"
40728 || test ! -s conftest.err'
40729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40730 (eval $ac_try) 2>&5
40731 ac_status=$?
40732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40733 (exit $ac_status); }; } &&
40734 { ac_try='test -s conftest$ac_exeext'
40735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40736 (eval $ac_try) 2>&5
40737 ac_status=$?
40738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40739 (exit $ac_status); }; }; then
40740 if test "$cross_compiling" = yes; then
40741 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40742 See \`config.log' for more details." >&5
40743 echo "$as_me: error: cannot run test program while cross compiling
40744 See \`config.log' for more details." >&2;}
40745 { (exit 1); exit 1; }; }
40746 else
40747 cat >conftest.$ac_ext <<_ACEOF
40748 __thread int a; int b; int main() { return a = b; }
40749 _ACEOF
40750 rm -f conftest$ac_exeext
40751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40752 (eval $ac_link) 2>&5
40753 ac_status=$?
40754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40755 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40757 (eval $ac_try) 2>&5
40758 ac_status=$?
40759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40760 (exit $ac_status); }; }; then
40761 gcc_cv_have_tls=yes
40762 else
40763 echo "$as_me: program exited with status $ac_status" >&5
40764 echo "$as_me: failed program was:" >&5
40765 sed 's/^/| /' conftest.$ac_ext >&5
40767 ( exit $ac_status )
40768 gcc_cv_have_tls=no
40770 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40772 else
40773 echo "$as_me: failed program was:" >&5
40774 sed 's/^/| /' conftest.$ac_ext >&5
40776 gcc_cv_have_tls=yes
40778 rm -f conftest.err conftest.$ac_objext \
40779 conftest$ac_exeext conftest.$ac_ext
40780 LDFLAGS="$chktls_save_LDFLAGS"
40781 if test $gcc_cv_have_tls = yes; then
40782 chktls_save_CFLAGS="$CFLAGS"
40783 thread_CFLAGS=failed
40784 for flag in '' '-pthread' '-lpthread'; do
40785 CFLAGS="$flag $chktls_save_CFLAGS"
40786 if test x$gcc_no_link = xyes; then
40787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40789 { (exit 1); exit 1; }; }
40791 cat >conftest.$ac_ext <<_ACEOF
40792 /* confdefs.h. */
40793 _ACEOF
40794 cat confdefs.h >>conftest.$ac_ext
40795 cat >>conftest.$ac_ext <<_ACEOF
40796 /* end confdefs.h. */
40797 #include <pthread.h>
40798 void *g(void *d) { return NULL; }
40800 main ()
40802 pthread_t t; pthread_create(&t,NULL,g,NULL);
40804 return 0;
40806 _ACEOF
40807 rm -f conftest.$ac_objext conftest$ac_exeext
40808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40809 (eval $ac_link) 2>conftest.er1
40810 ac_status=$?
40811 grep -v '^ *+' conftest.er1 >conftest.err
40812 rm -f conftest.er1
40813 cat conftest.err >&5
40814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40815 (exit $ac_status); } &&
40816 { ac_try='test -z "$ac_c_werror_flag"
40817 || test ! -s conftest.err'
40818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40819 (eval $ac_try) 2>&5
40820 ac_status=$?
40821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40822 (exit $ac_status); }; } &&
40823 { ac_try='test -s conftest$ac_exeext'
40824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40825 (eval $ac_try) 2>&5
40826 ac_status=$?
40827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40828 (exit $ac_status); }; }; then
40829 thread_CFLAGS="$flag"
40830 else
40831 echo "$as_me: failed program was:" >&5
40832 sed 's/^/| /' conftest.$ac_ext >&5
40835 rm -f conftest.err conftest.$ac_objext \
40836 conftest$ac_exeext conftest.$ac_ext
40837 if test "X$thread_CFLAGS" != Xfailed; then
40838 break
40840 done
40841 CFLAGS="$chktls_save_CFLAGS"
40842 if test "X$thread_CFLAGS" != Xfailed; then
40843 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
40844 if test "$cross_compiling" = yes; then
40845 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40846 See \`config.log' for more details." >&5
40847 echo "$as_me: error: cannot run test program while cross compiling
40848 See \`config.log' for more details." >&2;}
40849 { (exit 1); exit 1; }; }
40850 else
40851 cat >conftest.$ac_ext <<_ACEOF
40852 /* confdefs.h. */
40853 _ACEOF
40854 cat confdefs.h >>conftest.$ac_ext
40855 cat >>conftest.$ac_ext <<_ACEOF
40856 /* end confdefs.h. */
40857 #include <pthread.h>
40858 __thread int a;
40859 static int *a_in_other_thread;
40860 static void *
40861 thread_func (void *arg)
40863 a_in_other_thread = &a;
40864 return (void *)0;
40867 main ()
40869 pthread_t thread;
40870 void *thread_retval;
40871 int *a_in_main_thread;
40872 if (pthread_create (&thread, (pthread_attr_t *)0,
40873 thread_func, (void *)0))
40874 return 0;
40875 a_in_main_thread = &a;
40876 if (pthread_join (thread, &thread_retval))
40877 return 0;
40878 return (a_in_other_thread == a_in_main_thread);
40880 return 0;
40882 _ACEOF
40883 rm -f conftest$ac_exeext
40884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40885 (eval $ac_link) 2>&5
40886 ac_status=$?
40887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40888 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40890 (eval $ac_try) 2>&5
40891 ac_status=$?
40892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40893 (exit $ac_status); }; }; then
40894 gcc_cv_have_tls=yes
40895 else
40896 echo "$as_me: program exited with status $ac_status" >&5
40897 echo "$as_me: failed program was:" >&5
40898 sed 's/^/| /' conftest.$ac_ext >&5
40900 ( exit $ac_status )
40901 gcc_cv_have_tls=no
40903 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40905 CFLAGS="$chktls_save_CFLAGS"
40908 else
40909 echo "$as_me: program exited with status $ac_status" >&5
40910 echo "$as_me: failed program was:" >&5
40911 sed 's/^/| /' conftest.$ac_ext >&5
40913 ( exit $ac_status )
40914 gcc_cv_have_tls=no
40916 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40919 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
40920 echo "${ECHO_T}$gcc_cv_have_tls" >&6
40921 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
40923 cat >>confdefs.h <<\_ACEOF
40924 #define HAVE_TLS 1
40925 _ACEOF
40929 # For _Unwind_GetIPInfo.
40933 ac_ext=cc
40934 ac_cpp='$CXXCPP $CPPFLAGS'
40935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40939 ac_save_CXXFLAGS="$CXXFLAGS"
40940 CXXFLAGS="$CXXFLAGS -fno-exceptions"
40941 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
40942 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
40943 if test "${gcc_cv_getipinfo+set}" = set; then
40944 echo $ECHO_N "(cached) $ECHO_C" >&6
40945 else
40947 if test x$gcc_no_link = xyes; then
40948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40950 { (exit 1); exit 1; }; }
40952 cat >conftest.$ac_ext <<_ACEOF
40953 /* confdefs.h. */
40954 _ACEOF
40955 cat confdefs.h >>conftest.$ac_ext
40956 cat >>conftest.$ac_ext <<_ACEOF
40957 /* end confdefs.h. */
40958 extern "C" { extern void _Unwind_GetIPInfo(); }
40960 main ()
40962 _Unwind_GetIPInfo();
40964 return 0;
40966 _ACEOF
40967 rm -f conftest.$ac_objext conftest$ac_exeext
40968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40969 (eval $ac_link) 2>conftest.er1
40970 ac_status=$?
40971 grep -v '^ *+' conftest.er1 >conftest.err
40972 rm -f conftest.er1
40973 cat conftest.err >&5
40974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40975 (exit $ac_status); } &&
40976 { ac_try='test -z "$ac_cxx_werror_flag"
40977 || test ! -s conftest.err'
40978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40979 (eval $ac_try) 2>&5
40980 ac_status=$?
40981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40982 (exit $ac_status); }; } &&
40983 { ac_try='test -s conftest$ac_exeext'
40984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40985 (eval $ac_try) 2>&5
40986 ac_status=$?
40987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40988 (exit $ac_status); }; }; then
40989 gcc_cv_getipinfo=yes
40990 else
40991 echo "$as_me: failed program was:" >&5
40992 sed 's/^/| /' conftest.$ac_ext >&5
40994 gcc_cv_getipinfo=no
40996 rm -f conftest.err conftest.$ac_objext \
40997 conftest$ac_exeext conftest.$ac_ext
41001 if test $gcc_cv_getipinfo = yes; then
41003 cat >>confdefs.h <<\_ACEOF
41004 #define HAVE_GETIPINFO 1
41005 _ACEOF
41008 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
41009 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
41010 CXXFLAGS="$ac_save_CXXFLAGS"
41011 ac_ext=c
41012 ac_cpp='$CPP $CPPFLAGS'
41013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41020 if test "${ac_cv_header_locale_h+set}" = set; then
41021 echo "$as_me:$LINENO: checking for locale.h" >&5
41022 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41023 if test "${ac_cv_header_locale_h+set}" = set; then
41024 echo $ECHO_N "(cached) $ECHO_C" >&6
41026 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41027 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41028 else
41029 # Is the header compilable?
41030 echo "$as_me:$LINENO: checking locale.h usability" >&5
41031 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
41032 cat >conftest.$ac_ext <<_ACEOF
41033 /* confdefs.h. */
41034 _ACEOF
41035 cat confdefs.h >>conftest.$ac_ext
41036 cat >>conftest.$ac_ext <<_ACEOF
41037 /* end confdefs.h. */
41038 $ac_includes_default
41039 #include <locale.h>
41040 _ACEOF
41041 rm -f conftest.$ac_objext
41042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41043 (eval $ac_compile) 2>conftest.er1
41044 ac_status=$?
41045 grep -v '^ *+' conftest.er1 >conftest.err
41046 rm -f conftest.er1
41047 cat conftest.err >&5
41048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41049 (exit $ac_status); } &&
41050 { ac_try='test -z "$ac_c_werror_flag"
41051 || test ! -s conftest.err'
41052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41053 (eval $ac_try) 2>&5
41054 ac_status=$?
41055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41056 (exit $ac_status); }; } &&
41057 { ac_try='test -s conftest.$ac_objext'
41058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41059 (eval $ac_try) 2>&5
41060 ac_status=$?
41061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41062 (exit $ac_status); }; }; then
41063 ac_header_compiler=yes
41064 else
41065 echo "$as_me: failed program was:" >&5
41066 sed 's/^/| /' conftest.$ac_ext >&5
41068 ac_header_compiler=no
41070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41071 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41072 echo "${ECHO_T}$ac_header_compiler" >&6
41074 # Is the header present?
41075 echo "$as_me:$LINENO: checking locale.h presence" >&5
41076 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
41077 cat >conftest.$ac_ext <<_ACEOF
41078 /* confdefs.h. */
41079 _ACEOF
41080 cat confdefs.h >>conftest.$ac_ext
41081 cat >>conftest.$ac_ext <<_ACEOF
41082 /* end confdefs.h. */
41083 #include <locale.h>
41084 _ACEOF
41085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41086 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41087 ac_status=$?
41088 grep -v '^ *+' conftest.er1 >conftest.err
41089 rm -f conftest.er1
41090 cat conftest.err >&5
41091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41092 (exit $ac_status); } >/dev/null; then
41093 if test -s conftest.err; then
41094 ac_cpp_err=$ac_c_preproc_warn_flag
41095 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41096 else
41097 ac_cpp_err=
41099 else
41100 ac_cpp_err=yes
41102 if test -z "$ac_cpp_err"; then
41103 ac_header_preproc=yes
41104 else
41105 echo "$as_me: failed program was:" >&5
41106 sed 's/^/| /' conftest.$ac_ext >&5
41108 ac_header_preproc=no
41110 rm -f conftest.err conftest.$ac_ext
41111 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41112 echo "${ECHO_T}$ac_header_preproc" >&6
41114 # So? What about this header?
41115 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41116 yes:no: )
41117 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
41118 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
41119 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
41120 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
41121 ac_header_preproc=yes
41123 no:yes:* )
41124 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
41125 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
41126 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
41127 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
41128 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
41129 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
41130 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
41131 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
41132 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
41133 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
41134 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
41135 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
41137 cat <<\_ASBOX
41138 ## ----------------------------------------- ##
41139 ## Report this to the package-unused lists. ##
41140 ## ----------------------------------------- ##
41141 _ASBOX
41143 sed "s/^/$as_me: WARNING: /" >&2
41145 esac
41146 echo "$as_me:$LINENO: checking for locale.h" >&5
41147 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41148 if test "${ac_cv_header_locale_h+set}" = set; then
41149 echo $ECHO_N "(cached) $ECHO_C" >&6
41150 else
41151 ac_cv_header_locale_h=$ac_header_preproc
41153 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41154 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41157 if test $ac_cv_header_locale_h = yes; then
41159 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
41160 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
41161 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
41162 echo $ECHO_N "(cached) $ECHO_C" >&6
41163 else
41164 if test x$gcc_no_link = xyes; then
41165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41167 { (exit 1); exit 1; }; }
41169 cat >conftest.$ac_ext <<_ACEOF
41170 /* confdefs.h. */
41171 _ACEOF
41172 cat confdefs.h >>conftest.$ac_ext
41173 cat >>conftest.$ac_ext <<_ACEOF
41174 /* end confdefs.h. */
41175 #include <locale.h>
41177 main ()
41179 return LC_MESSAGES
41181 return 0;
41183 _ACEOF
41184 rm -f conftest.$ac_objext conftest$ac_exeext
41185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41186 (eval $ac_link) 2>conftest.er1
41187 ac_status=$?
41188 grep -v '^ *+' conftest.er1 >conftest.err
41189 rm -f conftest.er1
41190 cat conftest.err >&5
41191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41192 (exit $ac_status); } &&
41193 { ac_try='test -z "$ac_c_werror_flag"
41194 || test ! -s conftest.err'
41195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41196 (eval $ac_try) 2>&5
41197 ac_status=$?
41198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41199 (exit $ac_status); }; } &&
41200 { ac_try='test -s conftest$ac_exeext'
41201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41202 (eval $ac_try) 2>&5
41203 ac_status=$?
41204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41205 (exit $ac_status); }; }; then
41206 ac_cv_val_LC_MESSAGES=yes
41207 else
41208 echo "$as_me: failed program was:" >&5
41209 sed 's/^/| /' conftest.$ac_ext >&5
41211 ac_cv_val_LC_MESSAGES=no
41213 rm -f conftest.err conftest.$ac_objext \
41214 conftest$ac_exeext conftest.$ac_ext
41216 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
41217 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
41218 if test $ac_cv_val_LC_MESSAGES = yes; then
41220 cat >>confdefs.h <<\_ACEOF
41221 #define HAVE_LC_MESSAGES 1
41222 _ACEOF
41231 cat >conftest.$ac_ext <<_ACEOF
41232 /* confdefs.h. */
41233 _ACEOF
41234 cat confdefs.h >>conftest.$ac_ext
41235 cat >>conftest.$ac_ext <<_ACEOF
41236 /* end confdefs.h. */
41237 #include <setjmp.h>
41239 main ()
41241 sigjmp_buf env;
41242 while (! sigsetjmp (env, 1))
41243 siglongjmp (env, 1);
41246 return 0;
41248 _ACEOF
41249 rm -f conftest.$ac_objext
41250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41251 (eval $ac_compile) 2>conftest.er1
41252 ac_status=$?
41253 grep -v '^ *+' conftest.er1 >conftest.err
41254 rm -f conftest.er1
41255 cat conftest.err >&5
41256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41257 (exit $ac_status); } &&
41258 { ac_try='test -z "$ac_c_werror_flag"
41259 || test ! -s conftest.err'
41260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41261 (eval $ac_try) 2>&5
41262 ac_status=$?
41263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41264 (exit $ac_status); }; } &&
41265 { ac_try='test -s conftest.$ac_objext'
41266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41267 (eval $ac_try) 2>&5
41268 ac_status=$?
41269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41270 (exit $ac_status); }; }; then
41272 cat >>confdefs.h <<\_ACEOF
41273 #define HAVE_SIGSETJMP 1
41274 _ACEOF
41276 else
41277 echo "$as_me: failed program was:" >&5
41278 sed 's/^/| /' conftest.$ac_ext >&5
41281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41283 if test x$gcc_no_link = xyes; then
41284 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
41285 ac_cv_func_mmap_fixed_mapped=no
41288 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
41291 for ac_header in stdlib.h unistd.h
41293 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41295 echo "$as_me:$LINENO: checking for $ac_header" >&5
41296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41298 echo $ECHO_N "(cached) $ECHO_C" >&6
41300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41302 else
41303 # Is the header compilable?
41304 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41305 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41306 cat >conftest.$ac_ext <<_ACEOF
41307 /* confdefs.h. */
41308 _ACEOF
41309 cat confdefs.h >>conftest.$ac_ext
41310 cat >>conftest.$ac_ext <<_ACEOF
41311 /* end confdefs.h. */
41312 $ac_includes_default
41313 #include <$ac_header>
41314 _ACEOF
41315 rm -f conftest.$ac_objext
41316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41317 (eval $ac_compile) 2>conftest.er1
41318 ac_status=$?
41319 grep -v '^ *+' conftest.er1 >conftest.err
41320 rm -f conftest.er1
41321 cat conftest.err >&5
41322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41323 (exit $ac_status); } &&
41324 { ac_try='test -z "$ac_c_werror_flag"
41325 || test ! -s conftest.err'
41326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41327 (eval $ac_try) 2>&5
41328 ac_status=$?
41329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41330 (exit $ac_status); }; } &&
41331 { ac_try='test -s conftest.$ac_objext'
41332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41333 (eval $ac_try) 2>&5
41334 ac_status=$?
41335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41336 (exit $ac_status); }; }; then
41337 ac_header_compiler=yes
41338 else
41339 echo "$as_me: failed program was:" >&5
41340 sed 's/^/| /' conftest.$ac_ext >&5
41342 ac_header_compiler=no
41344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41345 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41346 echo "${ECHO_T}$ac_header_compiler" >&6
41348 # Is the header present?
41349 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41350 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41351 cat >conftest.$ac_ext <<_ACEOF
41352 /* confdefs.h. */
41353 _ACEOF
41354 cat confdefs.h >>conftest.$ac_ext
41355 cat >>conftest.$ac_ext <<_ACEOF
41356 /* end confdefs.h. */
41357 #include <$ac_header>
41358 _ACEOF
41359 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41360 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41361 ac_status=$?
41362 grep -v '^ *+' conftest.er1 >conftest.err
41363 rm -f conftest.er1
41364 cat conftest.err >&5
41365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41366 (exit $ac_status); } >/dev/null; then
41367 if test -s conftest.err; then
41368 ac_cpp_err=$ac_c_preproc_warn_flag
41369 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41370 else
41371 ac_cpp_err=
41373 else
41374 ac_cpp_err=yes
41376 if test -z "$ac_cpp_err"; then
41377 ac_header_preproc=yes
41378 else
41379 echo "$as_me: failed program was:" >&5
41380 sed 's/^/| /' conftest.$ac_ext >&5
41382 ac_header_preproc=no
41384 rm -f conftest.err conftest.$ac_ext
41385 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41386 echo "${ECHO_T}$ac_header_preproc" >&6
41388 # So? What about this header?
41389 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41390 yes:no: )
41391 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41392 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41393 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41394 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41395 ac_header_preproc=yes
41397 no:yes:* )
41398 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41399 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41400 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41401 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41402 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41403 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41404 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41405 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41407 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41408 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41409 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41411 cat <<\_ASBOX
41412 ## ----------------------------------------- ##
41413 ## Report this to the package-unused lists. ##
41414 ## ----------------------------------------- ##
41415 _ASBOX
41417 sed "s/^/$as_me: WARNING: /" >&2
41419 esac
41420 echo "$as_me:$LINENO: checking for $ac_header" >&5
41421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41423 echo $ECHO_N "(cached) $ECHO_C" >&6
41424 else
41425 eval "$as_ac_Header=\$ac_header_preproc"
41427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41428 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41432 cat >>confdefs.h <<_ACEOF
41433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41434 _ACEOF
41438 done
41441 for ac_func in getpagesize
41443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41444 echo "$as_me:$LINENO: checking for $ac_func" >&5
41445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41446 if eval "test \"\${$as_ac_var+set}\" = set"; then
41447 echo $ECHO_N "(cached) $ECHO_C" >&6
41448 else
41449 if test x$gcc_no_link = xyes; then
41450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41452 { (exit 1); exit 1; }; }
41454 cat >conftest.$ac_ext <<_ACEOF
41455 /* confdefs.h. */
41456 _ACEOF
41457 cat confdefs.h >>conftest.$ac_ext
41458 cat >>conftest.$ac_ext <<_ACEOF
41459 /* end confdefs.h. */
41460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41462 #define $ac_func innocuous_$ac_func
41464 /* System header to define __stub macros and hopefully few prototypes,
41465 which can conflict with char $ac_func (); below.
41466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41467 <limits.h> exists even on freestanding compilers. */
41469 #ifdef __STDC__
41470 # include <limits.h>
41471 #else
41472 # include <assert.h>
41473 #endif
41475 #undef $ac_func
41477 /* Override any gcc2 internal prototype to avoid an error. */
41478 #ifdef __cplusplus
41479 extern "C"
41481 #endif
41482 /* We use char because int might match the return type of a gcc2
41483 builtin and then its argument prototype would still apply. */
41484 char $ac_func ();
41485 /* The GNU C library defines this for functions which it implements
41486 to always fail with ENOSYS. Some functions are actually named
41487 something starting with __ and the normal name is an alias. */
41488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41489 choke me
41490 #else
41491 char (*f) () = $ac_func;
41492 #endif
41493 #ifdef __cplusplus
41495 #endif
41498 main ()
41500 return f != $ac_func;
41502 return 0;
41504 _ACEOF
41505 rm -f conftest.$ac_objext conftest$ac_exeext
41506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41507 (eval $ac_link) 2>conftest.er1
41508 ac_status=$?
41509 grep -v '^ *+' conftest.er1 >conftest.err
41510 rm -f conftest.er1
41511 cat conftest.err >&5
41512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41513 (exit $ac_status); } &&
41514 { ac_try='test -z "$ac_c_werror_flag"
41515 || test ! -s conftest.err'
41516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41517 (eval $ac_try) 2>&5
41518 ac_status=$?
41519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41520 (exit $ac_status); }; } &&
41521 { ac_try='test -s conftest$ac_exeext'
41522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41523 (eval $ac_try) 2>&5
41524 ac_status=$?
41525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41526 (exit $ac_status); }; }; then
41527 eval "$as_ac_var=yes"
41528 else
41529 echo "$as_me: failed program was:" >&5
41530 sed 's/^/| /' conftest.$ac_ext >&5
41532 eval "$as_ac_var=no"
41534 rm -f conftest.err conftest.$ac_objext \
41535 conftest$ac_exeext conftest.$ac_ext
41537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41539 if test `eval echo '${'$as_ac_var'}'` = yes; then
41540 cat >>confdefs.h <<_ACEOF
41541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41542 _ACEOF
41545 done
41547 echo "$as_me:$LINENO: checking for working mmap" >&5
41548 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
41549 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
41550 echo $ECHO_N "(cached) $ECHO_C" >&6
41551 else
41552 if test "$cross_compiling" = yes; then
41553 ac_cv_func_mmap_fixed_mapped=no
41554 else
41555 cat >conftest.$ac_ext <<_ACEOF
41556 /* confdefs.h. */
41557 _ACEOF
41558 cat confdefs.h >>conftest.$ac_ext
41559 cat >>conftest.$ac_ext <<_ACEOF
41560 /* end confdefs.h. */
41561 $ac_includes_default
41562 /* malloc might have been renamed as rpl_malloc. */
41563 #undef malloc
41565 /* Thanks to Mike Haertel and Jim Avera for this test.
41566 Here is a matrix of mmap possibilities:
41567 mmap private not fixed
41568 mmap private fixed at somewhere currently unmapped
41569 mmap private fixed at somewhere already mapped
41570 mmap shared not fixed
41571 mmap shared fixed at somewhere currently unmapped
41572 mmap shared fixed at somewhere already mapped
41573 For private mappings, we should verify that changes cannot be read()
41574 back from the file, nor mmap's back from the file at a different
41575 address. (There have been systems where private was not correctly
41576 implemented like the infamous i386 svr4.0, and systems where the
41577 VM page cache was not coherent with the file system buffer cache
41578 like early versions of FreeBSD and possibly contemporary NetBSD.)
41579 For shared mappings, we should conversely verify that changes get
41580 propagated back to all the places they're supposed to be.
41582 Grep wants private fixed already mapped.
41583 The main things grep needs to know about mmap are:
41584 * does it exist and is it safe to write into the mmap'd area
41585 * how to use it (BSD variants) */
41587 #include <fcntl.h>
41588 #include <sys/mman.h>
41590 #if !STDC_HEADERS && !HAVE_STDLIB_H
41591 char *malloc ();
41592 #endif
41594 /* This mess was copied from the GNU getpagesize.h. */
41595 #if !HAVE_GETPAGESIZE
41596 /* Assume that all systems that can run configure have sys/param.h. */
41597 # if !HAVE_SYS_PARAM_H
41598 # define HAVE_SYS_PARAM_H 1
41599 # endif
41601 # ifdef _SC_PAGESIZE
41602 # define getpagesize() sysconf(_SC_PAGESIZE)
41603 # else /* no _SC_PAGESIZE */
41604 # if HAVE_SYS_PARAM_H
41605 # include <sys/param.h>
41606 # ifdef EXEC_PAGESIZE
41607 # define getpagesize() EXEC_PAGESIZE
41608 # else /* no EXEC_PAGESIZE */
41609 # ifdef NBPG
41610 # define getpagesize() NBPG * CLSIZE
41611 # ifndef CLSIZE
41612 # define CLSIZE 1
41613 # endif /* no CLSIZE */
41614 # else /* no NBPG */
41615 # ifdef NBPC
41616 # define getpagesize() NBPC
41617 # else /* no NBPC */
41618 # ifdef PAGESIZE
41619 # define getpagesize() PAGESIZE
41620 # endif /* PAGESIZE */
41621 # endif /* no NBPC */
41622 # endif /* no NBPG */
41623 # endif /* no EXEC_PAGESIZE */
41624 # else /* no HAVE_SYS_PARAM_H */
41625 # define getpagesize() 8192 /* punt totally */
41626 # endif /* no HAVE_SYS_PARAM_H */
41627 # endif /* no _SC_PAGESIZE */
41629 #endif /* no HAVE_GETPAGESIZE */
41632 main ()
41634 char *data, *data2, *data3;
41635 int i, pagesize;
41636 int fd;
41638 pagesize = getpagesize ();
41640 /* First, make a file with some known garbage in it. */
41641 data = (char *) malloc (pagesize);
41642 if (!data)
41643 exit (1);
41644 for (i = 0; i < pagesize; ++i)
41645 *(data + i) = rand ();
41646 umask (0);
41647 fd = creat ("conftest.mmap", 0600);
41648 if (fd < 0)
41649 exit (1);
41650 if (write (fd, data, pagesize) != pagesize)
41651 exit (1);
41652 close (fd);
41654 /* Next, try to mmap the file at a fixed address which already has
41655 something else allocated at it. If we can, also make sure that
41656 we see the same garbage. */
41657 fd = open ("conftest.mmap", O_RDWR);
41658 if (fd < 0)
41659 exit (1);
41660 data2 = (char *) malloc (2 * pagesize);
41661 if (!data2)
41662 exit (1);
41663 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
41664 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
41665 MAP_PRIVATE | MAP_FIXED, fd, 0L))
41666 exit (1);
41667 for (i = 0; i < pagesize; ++i)
41668 if (*(data + i) != *(data2 + i))
41669 exit (1);
41671 /* Finally, make sure that changes to the mapped area do not
41672 percolate back to the file as seen by read(). (This is a bug on
41673 some variants of i386 svr4.0.) */
41674 for (i = 0; i < pagesize; ++i)
41675 *(data2 + i) = *(data2 + i) + 1;
41676 data3 = (char *) malloc (pagesize);
41677 if (!data3)
41678 exit (1);
41679 if (read (fd, data3, pagesize) != pagesize)
41680 exit (1);
41681 for (i = 0; i < pagesize; ++i)
41682 if (*(data + i) != *(data3 + i))
41683 exit (1);
41684 close (fd);
41685 exit (0);
41687 _ACEOF
41688 rm -f conftest$ac_exeext
41689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41690 (eval $ac_link) 2>&5
41691 ac_status=$?
41692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41693 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41695 (eval $ac_try) 2>&5
41696 ac_status=$?
41697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41698 (exit $ac_status); }; }; then
41699 ac_cv_func_mmap_fixed_mapped=yes
41700 else
41701 echo "$as_me: program exited with status $ac_status" >&5
41702 echo "$as_me: failed program was:" >&5
41703 sed 's/^/| /' conftest.$ac_ext >&5
41705 ( exit $ac_status )
41706 ac_cv_func_mmap_fixed_mapped=no
41708 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41711 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
41712 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
41713 if test $ac_cv_func_mmap_fixed_mapped = yes; then
41715 cat >>confdefs.h <<\_ACEOF
41716 #define HAVE_MMAP 1
41717 _ACEOF
41720 rm -f conftest.mmap
41724 # For iconv support.
41726 if test "X$prefix" = "XNONE"; then
41727 acl_final_prefix="$ac_default_prefix"
41728 else
41729 acl_final_prefix="$prefix"
41731 if test "X$exec_prefix" = "XNONE"; then
41732 acl_final_exec_prefix='${prefix}'
41733 else
41734 acl_final_exec_prefix="$exec_prefix"
41736 acl_save_prefix="$prefix"
41737 prefix="$acl_final_prefix"
41738 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
41739 prefix="$acl_save_prefix"
41742 # Check whether --with-gnu-ld or --without-gnu-ld was given.
41743 if test "${with_gnu_ld+set}" = set; then
41744 withval="$with_gnu_ld"
41745 test "$withval" = no || with_gnu_ld=yes
41746 else
41747 with_gnu_ld=no
41749 # Prepare PATH_SEPARATOR.
41750 # The user is always right.
41751 if test "${PATH_SEPARATOR+set}" != set; then
41752 echo "#! /bin/sh" >conf$$.sh
41753 echo "exit 0" >>conf$$.sh
41754 chmod +x conf$$.sh
41755 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41756 PATH_SEPARATOR=';'
41757 else
41758 PATH_SEPARATOR=:
41760 rm -f conf$$.sh
41762 ac_prog=ld
41763 if test "$GCC" = yes; then
41764 # Check if gcc -print-prog-name=ld gives a path.
41765 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
41766 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
41767 case $host in
41768 *-*-mingw*)
41769 # gcc leaves a trailing carriage return which upsets mingw
41770 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
41772 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
41773 esac
41774 case $ac_prog in
41775 # Accept absolute paths.
41776 [\\/]* | [A-Za-z]:[\\/]*)
41777 re_direlt='/[^/][^/]*/\.\./'
41778 # Canonicalize the path of ld
41779 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
41780 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
41781 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
41782 done
41783 test -z "$LD" && LD="$ac_prog"
41786 # If it fails, then pretend we aren't using GCC.
41787 ac_prog=ld
41790 # If it is relative, then search for the first ld in PATH.
41791 with_gnu_ld=unknown
41793 esac
41794 elif test "$with_gnu_ld" = yes; then
41795 echo "$as_me:$LINENO: checking for GNU ld" >&5
41796 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
41797 else
41798 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
41799 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
41801 if test "${acl_cv_path_LD+set}" = set; then
41802 echo $ECHO_N "(cached) $ECHO_C" >&6
41803 else
41804 if test -z "$LD"; then
41805 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
41806 for ac_dir in $PATH; do
41807 test -z "$ac_dir" && ac_dir=.
41808 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
41809 acl_cv_path_LD="$ac_dir/$ac_prog"
41810 # Check to see if the program is GNU ld. I'd rather use --version,
41811 # but apparently some GNU ld's only accept -v.
41812 # Break only if it was the GNU/non-GNU ld that we prefer.
41813 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
41814 test "$with_gnu_ld" != no && break
41815 else
41816 test "$with_gnu_ld" != yes && break
41819 done
41820 IFS="$ac_save_ifs"
41821 else
41822 acl_cv_path_LD="$LD" # Let the user override the test with a path.
41826 LD="$acl_cv_path_LD"
41827 if test -n "$LD"; then
41828 echo "$as_me:$LINENO: result: $LD" >&5
41829 echo "${ECHO_T}$LD" >&6
41830 else
41831 echo "$as_me:$LINENO: result: no" >&5
41832 echo "${ECHO_T}no" >&6
41834 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
41835 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
41836 { (exit 1); exit 1; }; }
41837 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
41838 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
41839 if test "${acl_cv_prog_gnu_ld+set}" = set; then
41840 echo $ECHO_N "(cached) $ECHO_C" >&6
41841 else
41842 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
41843 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
41844 acl_cv_prog_gnu_ld=yes
41845 else
41846 acl_cv_prog_gnu_ld=no
41849 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
41850 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
41851 with_gnu_ld=$acl_cv_prog_gnu_ld
41855 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
41856 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
41857 if test "${acl_cv_rpath+set}" = set; then
41858 echo $ECHO_N "(cached) $ECHO_C" >&6
41859 else
41861 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
41862 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
41863 . ./conftest.sh
41864 rm -f ./conftest.sh
41865 acl_cv_rpath=done
41868 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
41869 echo "${ECHO_T}$acl_cv_rpath" >&6
41870 wl="$acl_cv_wl"
41871 libext="$acl_cv_libext"
41872 shlibext="$acl_cv_shlibext"
41873 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
41874 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
41875 hardcode_direct="$acl_cv_hardcode_direct"
41876 hardcode_minus_L="$acl_cv_hardcode_minus_L"
41877 # Check whether --enable-rpath or --disable-rpath was given.
41878 if test "${enable_rpath+set}" = set; then
41879 enableval="$enable_rpath"
41881 else
41882 enable_rpath=yes
41891 use_additional=yes
41893 acl_save_prefix="$prefix"
41894 prefix="$acl_final_prefix"
41895 acl_save_exec_prefix="$exec_prefix"
41896 exec_prefix="$acl_final_exec_prefix"
41898 eval additional_includedir=\"$includedir\"
41899 eval additional_libdir=\"$libdir\"
41901 exec_prefix="$acl_save_exec_prefix"
41902 prefix="$acl_save_prefix"
41905 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
41906 if test "${with_libiconv_prefix+set}" = set; then
41907 withval="$with_libiconv_prefix"
41909 if test "X$withval" = "Xno"; then
41910 use_additional=no
41911 else
41912 if test "X$withval" = "X"; then
41914 acl_save_prefix="$prefix"
41915 prefix="$acl_final_prefix"
41916 acl_save_exec_prefix="$exec_prefix"
41917 exec_prefix="$acl_final_exec_prefix"
41919 eval additional_includedir=\"$includedir\"
41920 eval additional_libdir=\"$libdir\"
41922 exec_prefix="$acl_save_exec_prefix"
41923 prefix="$acl_save_prefix"
41925 else
41926 additional_includedir="$withval/include"
41927 additional_libdir="$withval/lib"
41932 LIBICONV=
41933 LTLIBICONV=
41934 INCICONV=
41935 rpathdirs=
41936 ltrpathdirs=
41937 names_already_handled=
41938 names_next_round='iconv '
41939 while test -n "$names_next_round"; do
41940 names_this_round="$names_next_round"
41941 names_next_round=
41942 for name in $names_this_round; do
41943 already_handled=
41944 for n in $names_already_handled; do
41945 if test "$n" = "$name"; then
41946 already_handled=yes
41947 break
41949 done
41950 if test -z "$already_handled"; then
41951 names_already_handled="$names_already_handled $name"
41952 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
41953 eval value=\"\$HAVE_LIB$uppername\"
41954 if test -n "$value"; then
41955 if test "$value" = yes; then
41956 eval value=\"\$LIB$uppername\"
41957 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
41958 eval value=\"\$LTLIB$uppername\"
41959 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
41960 else
41963 else
41964 found_dir=
41965 found_la=
41966 found_so=
41967 found_a=
41968 if test $use_additional = yes; then
41969 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
41970 found_dir="$additional_libdir"
41971 found_so="$additional_libdir/lib$name.$shlibext"
41972 if test -f "$additional_libdir/lib$name.la"; then
41973 found_la="$additional_libdir/lib$name.la"
41975 else
41976 if test -f "$additional_libdir/lib$name.$libext"; then
41977 found_dir="$additional_libdir"
41978 found_a="$additional_libdir/lib$name.$libext"
41979 if test -f "$additional_libdir/lib$name.la"; then
41980 found_la="$additional_libdir/lib$name.la"
41985 if test "X$found_dir" = "X"; then
41986 for x in $LDFLAGS $LTLIBICONV; do
41988 acl_save_prefix="$prefix"
41989 prefix="$acl_final_prefix"
41990 acl_save_exec_prefix="$exec_prefix"
41991 exec_prefix="$acl_final_exec_prefix"
41992 eval x=\"$x\"
41993 exec_prefix="$acl_save_exec_prefix"
41994 prefix="$acl_save_prefix"
41996 case "$x" in
41997 -L*)
41998 dir=`echo "X$x" | sed -e 's/^X-L//'`
41999 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42000 found_dir="$dir"
42001 found_so="$dir/lib$name.$shlibext"
42002 if test -f "$dir/lib$name.la"; then
42003 found_la="$dir/lib$name.la"
42005 else
42006 if test -f "$dir/lib$name.$libext"; then
42007 found_dir="$dir"
42008 found_a="$dir/lib$name.$libext"
42009 if test -f "$dir/lib$name.la"; then
42010 found_la="$dir/lib$name.la"
42015 esac
42016 if test "X$found_dir" != "X"; then
42017 break
42019 done
42021 if test "X$found_dir" != "X"; then
42022 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42023 if test "X$found_so" != "X"; then
42024 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42025 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42026 else
42027 haveit=
42028 for x in $ltrpathdirs; do
42029 if test "X$x" = "X$found_dir"; then
42030 haveit=yes
42031 break
42033 done
42034 if test -z "$haveit"; then
42035 ltrpathdirs="$ltrpathdirs $found_dir"
42037 if test "$hardcode_direct" = yes; then
42038 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42039 else
42040 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42041 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42042 haveit=
42043 for x in $rpathdirs; do
42044 if test "X$x" = "X$found_dir"; then
42045 haveit=yes
42046 break
42048 done
42049 if test -z "$haveit"; then
42050 rpathdirs="$rpathdirs $found_dir"
42052 else
42053 haveit=
42054 for x in $LDFLAGS $LIBICONV; do
42056 acl_save_prefix="$prefix"
42057 prefix="$acl_final_prefix"
42058 acl_save_exec_prefix="$exec_prefix"
42059 exec_prefix="$acl_final_exec_prefix"
42060 eval x=\"$x\"
42061 exec_prefix="$acl_save_exec_prefix"
42062 prefix="$acl_save_prefix"
42064 if test "X$x" = "X-L$found_dir"; then
42065 haveit=yes
42066 break
42068 done
42069 if test -z "$haveit"; then
42070 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42072 if test "$hardcode_minus_L" != no; then
42073 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42074 else
42075 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42080 else
42081 if test "X$found_a" != "X"; then
42082 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42083 else
42084 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42087 additional_includedir=
42088 case "$found_dir" in
42089 */lib | */lib/)
42090 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42091 additional_includedir="$basedir/include"
42093 esac
42094 if test "X$additional_includedir" != "X"; then
42095 if test "X$additional_includedir" != "X/usr/include"; then
42096 haveit=
42097 if test "X$additional_includedir" = "X/usr/local/include"; then
42098 if test -n "$GCC"; then
42099 case $host_os in
42100 linux*) haveit=yes;;
42101 esac
42104 if test -z "$haveit"; then
42105 for x in $CPPFLAGS $INCICONV; do
42107 acl_save_prefix="$prefix"
42108 prefix="$acl_final_prefix"
42109 acl_save_exec_prefix="$exec_prefix"
42110 exec_prefix="$acl_final_exec_prefix"
42111 eval x=\"$x\"
42112 exec_prefix="$acl_save_exec_prefix"
42113 prefix="$acl_save_prefix"
42115 if test "X$x" = "X-I$additional_includedir"; then
42116 haveit=yes
42117 break
42119 done
42120 if test -z "$haveit"; then
42121 if test -d "$additional_includedir"; then
42122 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
42128 if test -n "$found_la"; then
42129 save_libdir="$libdir"
42130 case "$found_la" in
42131 */* | *\\*) . "$found_la" ;;
42132 *) . "./$found_la" ;;
42133 esac
42134 libdir="$save_libdir"
42135 for dep in $dependency_libs; do
42136 case "$dep" in
42137 -L*)
42138 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
42139 if test "X$additional_libdir" != "X/usr/lib"; then
42140 haveit=
42141 if test "X$additional_libdir" = "X/usr/local/lib"; then
42142 if test -n "$GCC"; then
42143 case $host_os in
42144 linux*) haveit=yes;;
42145 esac
42148 if test -z "$haveit"; then
42149 haveit=
42150 for x in $LDFLAGS $LIBICONV; do
42152 acl_save_prefix="$prefix"
42153 prefix="$acl_final_prefix"
42154 acl_save_exec_prefix="$exec_prefix"
42155 exec_prefix="$acl_final_exec_prefix"
42156 eval x=\"$x\"
42157 exec_prefix="$acl_save_exec_prefix"
42158 prefix="$acl_save_prefix"
42160 if test "X$x" = "X-L$additional_libdir"; then
42161 haveit=yes
42162 break
42164 done
42165 if test -z "$haveit"; then
42166 if test -d "$additional_libdir"; then
42167 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
42170 haveit=
42171 for x in $LDFLAGS $LTLIBICONV; do
42173 acl_save_prefix="$prefix"
42174 prefix="$acl_final_prefix"
42175 acl_save_exec_prefix="$exec_prefix"
42176 exec_prefix="$acl_final_exec_prefix"
42177 eval x=\"$x\"
42178 exec_prefix="$acl_save_exec_prefix"
42179 prefix="$acl_save_prefix"
42181 if test "X$x" = "X-L$additional_libdir"; then
42182 haveit=yes
42183 break
42185 done
42186 if test -z "$haveit"; then
42187 if test -d "$additional_libdir"; then
42188 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
42194 -R*)
42195 dir=`echo "X$dep" | sed -e 's/^X-R//'`
42196 if test "$enable_rpath" != no; then
42197 haveit=
42198 for x in $rpathdirs; do
42199 if test "X$x" = "X$dir"; then
42200 haveit=yes
42201 break
42203 done
42204 if test -z "$haveit"; then
42205 rpathdirs="$rpathdirs $dir"
42207 haveit=
42208 for x in $ltrpathdirs; do
42209 if test "X$x" = "X$dir"; then
42210 haveit=yes
42211 break
42213 done
42214 if test -z "$haveit"; then
42215 ltrpathdirs="$ltrpathdirs $dir"
42219 -l*)
42220 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42222 *.la)
42223 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42226 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
42227 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
42229 esac
42230 done
42232 else
42233 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42234 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
42238 done
42239 done
42240 if test "X$rpathdirs" != "X"; then
42241 if test -n "$hardcode_libdir_separator"; then
42242 alldirs=
42243 for found_dir in $rpathdirs; do
42244 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
42245 done
42246 acl_save_libdir="$libdir"
42247 libdir="$alldirs"
42248 eval flag=\"$hardcode_libdir_flag_spec\"
42249 libdir="$acl_save_libdir"
42250 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42251 else
42252 for found_dir in $rpathdirs; do
42253 acl_save_libdir="$libdir"
42254 libdir="$found_dir"
42255 eval flag=\"$hardcode_libdir_flag_spec\"
42256 libdir="$acl_save_libdir"
42257 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42258 done
42261 if test "X$ltrpathdirs" != "X"; then
42262 for found_dir in $ltrpathdirs; do
42263 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
42264 done
42273 am_save_CPPFLAGS="$CPPFLAGS"
42275 for element in $INCICONV; do
42276 haveit=
42277 for x in $CPPFLAGS; do
42279 acl_save_prefix="$prefix"
42280 prefix="$acl_final_prefix"
42281 acl_save_exec_prefix="$exec_prefix"
42282 exec_prefix="$acl_final_exec_prefix"
42283 eval x=\"$x\"
42284 exec_prefix="$acl_save_exec_prefix"
42285 prefix="$acl_save_prefix"
42287 if test "X$x" = "X$element"; then
42288 haveit=yes
42289 break
42291 done
42292 if test -z "$haveit"; then
42293 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
42295 done
42298 echo "$as_me:$LINENO: checking for iconv" >&5
42299 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
42300 if test "${am_cv_func_iconv+set}" = set; then
42301 echo $ECHO_N "(cached) $ECHO_C" >&6
42302 else
42304 am_cv_func_iconv="no, consider installing GNU libiconv"
42305 am_cv_lib_iconv=no
42306 if test x$gcc_no_link = xyes; then
42307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42309 { (exit 1); exit 1; }; }
42311 cat >conftest.$ac_ext <<_ACEOF
42312 /* confdefs.h. */
42313 _ACEOF
42314 cat confdefs.h >>conftest.$ac_ext
42315 cat >>conftest.$ac_ext <<_ACEOF
42316 /* end confdefs.h. */
42317 #include <stdlib.h>
42318 #include <iconv.h>
42320 main ()
42322 iconv_t cd = iconv_open("","");
42323 iconv(cd,NULL,NULL,NULL,NULL);
42324 iconv_close(cd);
42326 return 0;
42328 _ACEOF
42329 rm -f conftest.$ac_objext conftest$ac_exeext
42330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42331 (eval $ac_link) 2>conftest.er1
42332 ac_status=$?
42333 grep -v '^ *+' conftest.er1 >conftest.err
42334 rm -f conftest.er1
42335 cat conftest.err >&5
42336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42337 (exit $ac_status); } &&
42338 { ac_try='test -z "$ac_c_werror_flag"
42339 || test ! -s conftest.err'
42340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42341 (eval $ac_try) 2>&5
42342 ac_status=$?
42343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42344 (exit $ac_status); }; } &&
42345 { ac_try='test -s conftest$ac_exeext'
42346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42347 (eval $ac_try) 2>&5
42348 ac_status=$?
42349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42350 (exit $ac_status); }; }; then
42351 am_cv_func_iconv=yes
42352 else
42353 echo "$as_me: failed program was:" >&5
42354 sed 's/^/| /' conftest.$ac_ext >&5
42357 rm -f conftest.err conftest.$ac_objext \
42358 conftest$ac_exeext conftest.$ac_ext
42359 if test "$am_cv_func_iconv" != yes; then
42360 am_save_LIBS="$LIBS"
42361 LIBS="$LIBS $LIBICONV"
42362 if test x$gcc_no_link = xyes; then
42363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42365 { (exit 1); exit 1; }; }
42367 cat >conftest.$ac_ext <<_ACEOF
42368 /* confdefs.h. */
42369 _ACEOF
42370 cat confdefs.h >>conftest.$ac_ext
42371 cat >>conftest.$ac_ext <<_ACEOF
42372 /* end confdefs.h. */
42373 #include <stdlib.h>
42374 #include <iconv.h>
42376 main ()
42378 iconv_t cd = iconv_open("","");
42379 iconv(cd,NULL,NULL,NULL,NULL);
42380 iconv_close(cd);
42382 return 0;
42384 _ACEOF
42385 rm -f conftest.$ac_objext conftest$ac_exeext
42386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42387 (eval $ac_link) 2>conftest.er1
42388 ac_status=$?
42389 grep -v '^ *+' conftest.er1 >conftest.err
42390 rm -f conftest.er1
42391 cat conftest.err >&5
42392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42393 (exit $ac_status); } &&
42394 { ac_try='test -z "$ac_c_werror_flag"
42395 || test ! -s conftest.err'
42396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42397 (eval $ac_try) 2>&5
42398 ac_status=$?
42399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42400 (exit $ac_status); }; } &&
42401 { ac_try='test -s conftest$ac_exeext'
42402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42403 (eval $ac_try) 2>&5
42404 ac_status=$?
42405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42406 (exit $ac_status); }; }; then
42407 am_cv_lib_iconv=yes
42408 am_cv_func_iconv=yes
42409 else
42410 echo "$as_me: failed program was:" >&5
42411 sed 's/^/| /' conftest.$ac_ext >&5
42414 rm -f conftest.err conftest.$ac_objext \
42415 conftest$ac_exeext conftest.$ac_ext
42416 LIBS="$am_save_LIBS"
42420 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42421 echo "${ECHO_T}$am_cv_func_iconv" >&6
42422 if test "$am_cv_func_iconv" = yes; then
42424 cat >>confdefs.h <<\_ACEOF
42425 #define HAVE_ICONV 1
42426 _ACEOF
42429 if test "$am_cv_lib_iconv" = yes; then
42430 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42431 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42432 echo "$as_me:$LINENO: result: $LIBICONV" >&5
42433 echo "${ECHO_T}$LIBICONV" >&6
42434 else
42435 CPPFLAGS="$am_save_CPPFLAGS"
42436 LIBICONV=
42437 LTLIBICONV=
42442 if test "$am_cv_func_iconv" = yes; then
42443 echo "$as_me:$LINENO: checking for iconv declaration" >&5
42444 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
42445 if test "${am_cv_proto_iconv+set}" = set; then
42446 echo $ECHO_N "(cached) $ECHO_C" >&6
42447 else
42449 cat >conftest.$ac_ext <<_ACEOF
42450 /* confdefs.h. */
42451 _ACEOF
42452 cat confdefs.h >>conftest.$ac_ext
42453 cat >>conftest.$ac_ext <<_ACEOF
42454 /* end confdefs.h. */
42456 #include <stdlib.h>
42457 #include <iconv.h>
42458 extern
42459 #ifdef __cplusplus
42461 #endif
42462 #if defined(__STDC__) || defined(__cplusplus)
42463 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42464 #else
42465 size_t iconv();
42466 #endif
42469 main ()
42473 return 0;
42475 _ACEOF
42476 rm -f conftest.$ac_objext
42477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42478 (eval $ac_compile) 2>conftest.er1
42479 ac_status=$?
42480 grep -v '^ *+' conftest.er1 >conftest.err
42481 rm -f conftest.er1
42482 cat conftest.err >&5
42483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42484 (exit $ac_status); } &&
42485 { ac_try='test -z "$ac_c_werror_flag"
42486 || test ! -s conftest.err'
42487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42488 (eval $ac_try) 2>&5
42489 ac_status=$?
42490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42491 (exit $ac_status); }; } &&
42492 { ac_try='test -s conftest.$ac_objext'
42493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42494 (eval $ac_try) 2>&5
42495 ac_status=$?
42496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42497 (exit $ac_status); }; }; then
42498 am_cv_proto_iconv_arg1=""
42499 else
42500 echo "$as_me: failed program was:" >&5
42501 sed 's/^/| /' conftest.$ac_ext >&5
42503 am_cv_proto_iconv_arg1="const"
42505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42506 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);"
42509 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42510 echo "$as_me:$LINENO: result: ${ac_t:-
42511 }$am_cv_proto_iconv" >&5
42512 echo "${ECHO_T}${ac_t:-
42513 }$am_cv_proto_iconv" >&6
42515 cat >>confdefs.h <<_ACEOF
42516 #define ICONV_CONST $am_cv_proto_iconv_arg1
42517 _ACEOF
42522 else
42524 # This lets us hard-code the functionality we know we'll have in the cross
42525 # target environment. "Let" is a sugar-coated word placed on an especially
42526 # dull and tedious hack, actually.
42528 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42529 # that involve linking, can't be used:
42530 # "cannot open sim-crt0.o"
42531 # "cannot open crt0.o"
42532 # etc. All this is because there currently exists no unified, consistent
42533 # way for top level CC information to be passed down to target directories:
42534 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42535 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42536 # crosses can be removed.
42538 # If Canadian cross, then don't pick up tools from the build directory.
42539 # Used only in GLIBCXX_EXPORT_INCLUDES.
42540 if test -n "$with_cross_host" &&
42541 test x"$build_alias" != x"$with_cross_host" &&
42542 test x"$build" != x"$target";
42543 then
42544 CANADIAN=yes
42545 else
42546 CANADIAN=no
42549 # Construct crosses by hand, eliminating bits that need ld...
42550 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
42551 # GLIBCXX_CHECK_MATH_SUPPORT
42553 # First, test for "known" system libraries. We may be using newlib even
42554 # on a hosted environment.
42555 if test "x${with_newlib}" = "xyes"; then
42556 os_include_dir="os/newlib"
42557 cat >>confdefs.h <<\_ACEOF
42558 #define HAVE_HYPOT 1
42559 _ACEOF
42562 # GLIBCXX_CHECK_STDLIB_SUPPORT
42563 cat >>confdefs.h <<\_ACEOF
42564 #define HAVE_STRTOF 1
42565 _ACEOF
42567 # AC_FUNC_MMAP
42568 cat >>confdefs.h <<\_ACEOF
42569 #define HAVE_MMAP 1
42570 _ACEOF
42573 cat >>confdefs.h <<\_ACEOF
42574 #define HAVE_ACOSF 1
42575 _ACEOF
42577 cat >>confdefs.h <<\_ACEOF
42578 #define HAVE_ASINF 1
42579 _ACEOF
42581 cat >>confdefs.h <<\_ACEOF
42582 #define HAVE_ATAN2F 1
42583 _ACEOF
42585 cat >>confdefs.h <<\_ACEOF
42586 #define HAVE_ATANF 1
42587 _ACEOF
42589 cat >>confdefs.h <<\_ACEOF
42590 #define HAVE_CEILF 1
42591 _ACEOF
42593 cat >>confdefs.h <<\_ACEOF
42594 #define HAVE_COPYSIGN 1
42595 _ACEOF
42597 cat >>confdefs.h <<\_ACEOF
42598 #define HAVE_COPYSIGNF 1
42599 _ACEOF
42601 cat >>confdefs.h <<\_ACEOF
42602 #define HAVE_COSF 1
42603 _ACEOF
42605 cat >>confdefs.h <<\_ACEOF
42606 #define HAVE_COSHF 1
42607 _ACEOF
42609 cat >>confdefs.h <<\_ACEOF
42610 #define HAVE_EXPF 1
42611 _ACEOF
42613 cat >>confdefs.h <<\_ACEOF
42614 #define HAVE_FABSF 1
42615 _ACEOF
42617 cat >>confdefs.h <<\_ACEOF
42618 #define HAVE_FLOORF 1
42619 _ACEOF
42621 cat >>confdefs.h <<\_ACEOF
42622 #define HAVE_FMODF 1
42623 _ACEOF
42625 cat >>confdefs.h <<\_ACEOF
42626 #define HAVE_FREXPF 1
42627 _ACEOF
42629 cat >>confdefs.h <<\_ACEOF
42630 #define HAVE_LDEXPF 1
42631 _ACEOF
42633 cat >>confdefs.h <<\_ACEOF
42634 #define HAVE_LOG10F 1
42635 _ACEOF
42637 cat >>confdefs.h <<\_ACEOF
42638 #define HAVE_LOGF 1
42639 _ACEOF
42641 cat >>confdefs.h <<\_ACEOF
42642 #define HAVE_MODFF 1
42643 _ACEOF
42645 cat >>confdefs.h <<\_ACEOF
42646 #define HAVE_POWF 1
42647 _ACEOF
42649 cat >>confdefs.h <<\_ACEOF
42650 #define HAVE_SINF 1
42651 _ACEOF
42653 cat >>confdefs.h <<\_ACEOF
42654 #define HAVE_SINHF 1
42655 _ACEOF
42657 cat >>confdefs.h <<\_ACEOF
42658 #define HAVE_SQRTF 1
42659 _ACEOF
42661 cat >>confdefs.h <<\_ACEOF
42662 #define HAVE_TANF 1
42663 _ACEOF
42665 cat >>confdefs.h <<\_ACEOF
42666 #define HAVE_TANHF 1
42667 _ACEOF
42670 cat >>confdefs.h <<\_ACEOF
42671 #define HAVE_S_ISREG 1
42672 _ACEOF
42674 cat >>confdefs.h <<\_ACEOF
42675 #define HAVE_S_IFREG 1
42676 _ACEOF
42679 cat >>confdefs.h <<\_ACEOF
42680 #define HAVE_ICONV 1
42681 _ACEOF
42683 else
42685 # Base decisions on target environment.
42686 case "${host}" in
42687 arm*-*-symbianelf*)
42688 # This is a freestanding configuration; there is nothing to do here.
42691 mips*-sde-elf*)
42692 # These definitions are for the SDE C library rather than newlib.
42708 for ac_header in float.h inttypes.h locale.h \
42709 stdint.h stdlib.h string.h unistd.h wchar.h \
42710 machine/endian.h sys/ioctl.h sys/resource.h \
42711 sys/stat.h sys/time.h sys/types.h sys/uio.h
42713 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42715 echo "$as_me:$LINENO: checking for $ac_header" >&5
42716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42718 echo $ECHO_N "(cached) $ECHO_C" >&6
42720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42722 else
42723 # Is the header compilable?
42724 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42725 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42726 cat >conftest.$ac_ext <<_ACEOF
42727 /* confdefs.h. */
42728 _ACEOF
42729 cat confdefs.h >>conftest.$ac_ext
42730 cat >>conftest.$ac_ext <<_ACEOF
42731 /* end confdefs.h. */
42732 $ac_includes_default
42733 #include <$ac_header>
42734 _ACEOF
42735 rm -f conftest.$ac_objext
42736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42737 (eval $ac_compile) 2>conftest.er1
42738 ac_status=$?
42739 grep -v '^ *+' conftest.er1 >conftest.err
42740 rm -f conftest.er1
42741 cat conftest.err >&5
42742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42743 (exit $ac_status); } &&
42744 { ac_try='test -z "$ac_c_werror_flag"
42745 || test ! -s conftest.err'
42746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42747 (eval $ac_try) 2>&5
42748 ac_status=$?
42749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42750 (exit $ac_status); }; } &&
42751 { ac_try='test -s conftest.$ac_objext'
42752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42753 (eval $ac_try) 2>&5
42754 ac_status=$?
42755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42756 (exit $ac_status); }; }; then
42757 ac_header_compiler=yes
42758 else
42759 echo "$as_me: failed program was:" >&5
42760 sed 's/^/| /' conftest.$ac_ext >&5
42762 ac_header_compiler=no
42764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42765 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42766 echo "${ECHO_T}$ac_header_compiler" >&6
42768 # Is the header present?
42769 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42770 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42771 cat >conftest.$ac_ext <<_ACEOF
42772 /* confdefs.h. */
42773 _ACEOF
42774 cat confdefs.h >>conftest.$ac_ext
42775 cat >>conftest.$ac_ext <<_ACEOF
42776 /* end confdefs.h. */
42777 #include <$ac_header>
42778 _ACEOF
42779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42780 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
42781 ac_status=$?
42782 grep -v '^ *+' conftest.er1 >conftest.err
42783 rm -f conftest.er1
42784 cat conftest.err >&5
42785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42786 (exit $ac_status); } >/dev/null; then
42787 if test -s conftest.err; then
42788 ac_cpp_err=$ac_c_preproc_warn_flag
42789 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42790 else
42791 ac_cpp_err=
42793 else
42794 ac_cpp_err=yes
42796 if test -z "$ac_cpp_err"; then
42797 ac_header_preproc=yes
42798 else
42799 echo "$as_me: failed program was:" >&5
42800 sed 's/^/| /' conftest.$ac_ext >&5
42802 ac_header_preproc=no
42804 rm -f conftest.err conftest.$ac_ext
42805 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42806 echo "${ECHO_T}$ac_header_preproc" >&6
42808 # So? What about this header?
42809 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42810 yes:no: )
42811 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42812 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42813 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42814 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42815 ac_header_preproc=yes
42817 no:yes:* )
42818 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42819 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42820 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42821 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42822 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42823 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42824 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42825 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42827 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42828 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42829 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42831 cat <<\_ASBOX
42832 ## ----------------------------------------- ##
42833 ## Report this to the package-unused lists. ##
42834 ## ----------------------------------------- ##
42835 _ASBOX
42837 sed "s/^/$as_me: WARNING: /" >&2
42839 esac
42840 echo "$as_me:$LINENO: checking for $ac_header" >&5
42841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42843 echo $ECHO_N "(cached) $ECHO_C" >&6
42844 else
42845 eval "$as_ac_Header=\$ac_header_preproc"
42847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42851 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42852 cat >>confdefs.h <<_ACEOF
42853 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42854 _ACEOF
42858 done
42860 SECTION_FLAGS='-ffunction-sections -fdata-sections'
42863 # All these tests are for C++; save the language and the compiler flags.
42864 # The CXXFLAGS thing is suspicious, but based on similar bits previously
42865 # found in GLIBCXX_CONFIGURE.
42868 ac_ext=cc
42869 ac_cpp='$CXXCPP $CPPFLAGS'
42870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42874 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42875 ac_save_CXXFLAGS="$CXXFLAGS"
42877 # Check for maintainer-mode bits.
42878 if test x"$USE_MAINTAINER_MODE" = xno; then
42879 WERROR=''
42880 else
42881 WERROR='-Werror'
42884 # Check for -ffunction-sections -fdata-sections
42885 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
42886 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
42887 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
42888 cat >conftest.$ac_ext <<_ACEOF
42889 /* confdefs.h. */
42890 _ACEOF
42891 cat confdefs.h >>conftest.$ac_ext
42892 cat >>conftest.$ac_ext <<_ACEOF
42893 /* end confdefs.h. */
42894 int foo; void bar() { };
42896 main ()
42900 return 0;
42902 _ACEOF
42903 rm -f conftest.$ac_objext
42904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42905 (eval $ac_compile) 2>conftest.er1
42906 ac_status=$?
42907 grep -v '^ *+' conftest.er1 >conftest.err
42908 rm -f conftest.er1
42909 cat conftest.err >&5
42910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42911 (exit $ac_status); } &&
42912 { ac_try='test -z "$ac_cxx_werror_flag"
42913 || test ! -s conftest.err'
42914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42915 (eval $ac_try) 2>&5
42916 ac_status=$?
42917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42918 (exit $ac_status); }; } &&
42919 { ac_try='test -s conftest.$ac_objext'
42920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42921 (eval $ac_try) 2>&5
42922 ac_status=$?
42923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42924 (exit $ac_status); }; }; then
42925 ac_fdsections=yes
42926 else
42927 echo "$as_me: failed program was:" >&5
42928 sed 's/^/| /' conftest.$ac_ext >&5
42930 ac_fdsections=no
42932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42933 if test "$ac_test_CXXFLAGS" = set; then
42934 CXXFLAGS="$ac_save_CXXFLAGS"
42935 else
42936 # this is the suspicious part
42937 CXXFLAGS=''
42939 if test x"$ac_fdsections" = x"yes"; then
42940 SECTION_FLAGS='-ffunction-sections -fdata-sections'
42942 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
42943 echo "${ECHO_T}$ac_fdsections" >&6
42945 ac_ext=c
42946 ac_cpp='$CPP $CPPFLAGS'
42947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42955 # If we're not using GNU ld, then there's no point in even trying these
42956 # tests. Check for that first. We should have already tested for gld
42957 # by now (in libtool), but require it now just to be safe...
42958 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
42959 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
42963 # The name set by libtool depends on the version of libtool. Shame on us
42964 # for depending on an impl detail, but c'est la vie. Older versions used
42965 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
42966 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
42967 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
42968 # set (hence we're using an older libtool), then set it.
42969 if test x${with_gnu_ld+set} != xset; then
42970 if test x${ac_cv_prog_gnu_ld+set} != xset; then
42971 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
42972 with_gnu_ld=no
42973 else
42974 with_gnu_ld=$ac_cv_prog_gnu_ld
42978 # Start by getting the version number. I think the libtool test already
42979 # does some of this, but throws away the result.
42980 if test x"$with_gnu_ld" = x"yes"; then
42981 echo "$as_me:$LINENO: checking for ld version" >&5
42982 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
42984 ldver=`$LD --version 2>/dev/null | head -1 | \
42985 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
42987 glibcxx_gnu_ld_version=`echo $ldver | \
42988 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
42989 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
42990 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
42993 # Set --gc-sections.
42994 glibcxx_gcsections_min_ld=21602
42995 if test x"$with_gnu_ld" = x"yes" &&
42996 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
42998 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
42999 # NB: This flag only works reliably after 2.16.1. Configure tests
43000 # for this are difficult, so hard wire a value that should work.
43002 ac_test_CFLAGS="${CFLAGS+set}"
43003 ac_save_CFLAGS="$CFLAGS"
43004 CFLAGS='-Wl,--gc-sections'
43006 # Check for -Wl,--gc-sections
43007 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
43008 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
43009 if test x$gcc_no_link = xyes; then
43010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43012 { (exit 1); exit 1; }; }
43014 cat >conftest.$ac_ext <<_ACEOF
43015 /* confdefs.h. */
43016 _ACEOF
43017 cat confdefs.h >>conftest.$ac_ext
43018 cat >>conftest.$ac_ext <<_ACEOF
43019 /* end confdefs.h. */
43020 int one(void) { return 1; }
43021 int two(void) { return 2; }
43024 main ()
43026 two();
43028 return 0;
43030 _ACEOF
43031 rm -f conftest.$ac_objext conftest$ac_exeext
43032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43033 (eval $ac_link) 2>conftest.er1
43034 ac_status=$?
43035 grep -v '^ *+' conftest.er1 >conftest.err
43036 rm -f conftest.er1
43037 cat conftest.err >&5
43038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43039 (exit $ac_status); } &&
43040 { ac_try='test -z "$ac_c_werror_flag"
43041 || test ! -s conftest.err'
43042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43043 (eval $ac_try) 2>&5
43044 ac_status=$?
43045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43046 (exit $ac_status); }; } &&
43047 { ac_try='test -s conftest$ac_exeext'
43048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43049 (eval $ac_try) 2>&5
43050 ac_status=$?
43051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43052 (exit $ac_status); }; }; then
43053 ac_gcsections=yes
43054 else
43055 echo "$as_me: failed program was:" >&5
43056 sed 's/^/| /' conftest.$ac_ext >&5
43058 ac_gcsections=no
43060 rm -f conftest.err conftest.$ac_objext \
43061 conftest$ac_exeext conftest.$ac_ext
43062 if test "$ac_gcsections" = "yes"; then
43063 rm -f conftest.c
43064 touch conftest.c
43065 if $CC -c conftest.c; then
43066 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43067 grep "Warning: gc-sections option ignored" > /dev/null; then
43068 ac_gcsections=no
43071 rm -f conftest.c conftest.o conftest
43073 if test "$ac_gcsections" = "yes"; then
43074 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43076 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43077 echo "${ECHO_T}$ac_gcsections" >&6
43079 if test "$ac_test_CFLAGS" = set; then
43080 CFLAGS="$ac_save_CFLAGS"
43081 else
43082 # this is the suspicious part
43083 CFLAGS=''
43087 # Set -z,relro.
43088 # Note this is only for shared objects.
43089 ac_ld_relro=no
43090 if test x"$with_gnu_ld" = x"yes"; then
43091 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43092 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43093 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43094 if test -n "$cxx_z_relo"; then
43095 OPT_LDFLAGS="-Wl,-z,relro"
43096 ac_ld_relro=yes
43098 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
43099 echo "${ECHO_T}$ac_ld_relro" >&6
43102 # Set linker optimization flags.
43103 if test x"$with_gnu_ld" = x"yes"; then
43104 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43111 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43112 ac_save_CXXFLAGS="$CXXFLAGS"
43113 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43115 echo "$as_me:$LINENO: checking for sin in -lm" >&5
43116 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
43117 if test "${ac_cv_lib_m_sin+set}" = set; then
43118 echo $ECHO_N "(cached) $ECHO_C" >&6
43119 else
43120 ac_check_lib_save_LIBS=$LIBS
43121 LIBS="-lm $LIBS"
43122 if test x$gcc_no_link = xyes; then
43123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43125 { (exit 1); exit 1; }; }
43127 cat >conftest.$ac_ext <<_ACEOF
43128 /* confdefs.h. */
43129 _ACEOF
43130 cat confdefs.h >>conftest.$ac_ext
43131 cat >>conftest.$ac_ext <<_ACEOF
43132 /* end confdefs.h. */
43134 /* Override any gcc2 internal prototype to avoid an error. */
43135 #ifdef __cplusplus
43136 extern "C"
43137 #endif
43138 /* We use char because int might match the return type of a gcc2
43139 builtin and then its argument prototype would still apply. */
43140 char sin ();
43142 main ()
43144 sin ();
43146 return 0;
43148 _ACEOF
43149 rm -f conftest.$ac_objext conftest$ac_exeext
43150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43151 (eval $ac_link) 2>conftest.er1
43152 ac_status=$?
43153 grep -v '^ *+' conftest.er1 >conftest.err
43154 rm -f conftest.er1
43155 cat conftest.err >&5
43156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43157 (exit $ac_status); } &&
43158 { ac_try='test -z "$ac_c_werror_flag"
43159 || test ! -s conftest.err'
43160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43161 (eval $ac_try) 2>&5
43162 ac_status=$?
43163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43164 (exit $ac_status); }; } &&
43165 { ac_try='test -s conftest$ac_exeext'
43166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43167 (eval $ac_try) 2>&5
43168 ac_status=$?
43169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43170 (exit $ac_status); }; }; then
43171 ac_cv_lib_m_sin=yes
43172 else
43173 echo "$as_me: failed program was:" >&5
43174 sed 's/^/| /' conftest.$ac_ext >&5
43176 ac_cv_lib_m_sin=no
43178 rm -f conftest.err conftest.$ac_objext \
43179 conftest$ac_exeext conftest.$ac_ext
43180 LIBS=$ac_check_lib_save_LIBS
43182 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
43183 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
43184 if test $ac_cv_lib_m_sin = yes; then
43185 libm="-lm"
43188 ac_save_LIBS="$LIBS"
43189 LIBS="$LIBS $libm"
43193 echo "$as_me:$LINENO: checking for isinf declaration" >&5
43194 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
43195 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43196 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
43197 echo $ECHO_N "(cached) $ECHO_C" >&6
43198 else
43202 ac_ext=cc
43203 ac_cpp='$CXXCPP $CPPFLAGS'
43204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43208 cat >conftest.$ac_ext <<_ACEOF
43209 /* confdefs.h. */
43210 _ACEOF
43211 cat confdefs.h >>conftest.$ac_ext
43212 cat >>conftest.$ac_ext <<_ACEOF
43213 /* end confdefs.h. */
43214 #include <math.h>
43215 #ifdef HAVE_IEEEFP_H
43216 #include <ieeefp.h>
43217 #endif
43220 main ()
43222 isinf(0);
43224 return 0;
43226 _ACEOF
43227 rm -f conftest.$ac_objext
43228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43229 (eval $ac_compile) 2>conftest.er1
43230 ac_status=$?
43231 grep -v '^ *+' conftest.er1 >conftest.err
43232 rm -f conftest.er1
43233 cat conftest.err >&5
43234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43235 (exit $ac_status); } &&
43236 { ac_try='test -z "$ac_cxx_werror_flag"
43237 || test ! -s conftest.err'
43238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43239 (eval $ac_try) 2>&5
43240 ac_status=$?
43241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43242 (exit $ac_status); }; } &&
43243 { ac_try='test -s conftest.$ac_objext'
43244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43245 (eval $ac_try) 2>&5
43246 ac_status=$?
43247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43248 (exit $ac_status); }; }; then
43249 glibcxx_cv_func_isinf_use=yes
43250 else
43251 echo "$as_me: failed program was:" >&5
43252 sed 's/^/| /' conftest.$ac_ext >&5
43254 glibcxx_cv_func_isinf_use=no
43256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43257 ac_ext=c
43258 ac_cpp='$CPP $CPPFLAGS'
43259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43267 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
43268 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
43270 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43272 for ac_func in isinf
43274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43275 echo "$as_me:$LINENO: checking for $ac_func" >&5
43276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43277 if eval "test \"\${$as_ac_var+set}\" = set"; then
43278 echo $ECHO_N "(cached) $ECHO_C" >&6
43279 else
43280 if test x$gcc_no_link = xyes; then
43281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43283 { (exit 1); exit 1; }; }
43285 cat >conftest.$ac_ext <<_ACEOF
43286 /* confdefs.h. */
43287 _ACEOF
43288 cat confdefs.h >>conftest.$ac_ext
43289 cat >>conftest.$ac_ext <<_ACEOF
43290 /* end confdefs.h. */
43291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43293 #define $ac_func innocuous_$ac_func
43295 /* System header to define __stub macros and hopefully few prototypes,
43296 which can conflict with char $ac_func (); below.
43297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43298 <limits.h> exists even on freestanding compilers. */
43300 #ifdef __STDC__
43301 # include <limits.h>
43302 #else
43303 # include <assert.h>
43304 #endif
43306 #undef $ac_func
43308 /* Override any gcc2 internal prototype to avoid an error. */
43309 #ifdef __cplusplus
43310 extern "C"
43312 #endif
43313 /* We use char because int might match the return type of a gcc2
43314 builtin and then its argument prototype would still apply. */
43315 char $ac_func ();
43316 /* The GNU C library defines this for functions which it implements
43317 to always fail with ENOSYS. Some functions are actually named
43318 something starting with __ and the normal name is an alias. */
43319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43320 choke me
43321 #else
43322 char (*f) () = $ac_func;
43323 #endif
43324 #ifdef __cplusplus
43326 #endif
43329 main ()
43331 return f != $ac_func;
43333 return 0;
43335 _ACEOF
43336 rm -f conftest.$ac_objext conftest$ac_exeext
43337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43338 (eval $ac_link) 2>conftest.er1
43339 ac_status=$?
43340 grep -v '^ *+' conftest.er1 >conftest.err
43341 rm -f conftest.er1
43342 cat conftest.err >&5
43343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43344 (exit $ac_status); } &&
43345 { ac_try='test -z "$ac_c_werror_flag"
43346 || test ! -s conftest.err'
43347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43348 (eval $ac_try) 2>&5
43349 ac_status=$?
43350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43351 (exit $ac_status); }; } &&
43352 { ac_try='test -s conftest$ac_exeext'
43353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43354 (eval $ac_try) 2>&5
43355 ac_status=$?
43356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43357 (exit $ac_status); }; }; then
43358 eval "$as_ac_var=yes"
43359 else
43360 echo "$as_me: failed program was:" >&5
43361 sed 's/^/| /' conftest.$ac_ext >&5
43363 eval "$as_ac_var=no"
43365 rm -f conftest.err conftest.$ac_objext \
43366 conftest$ac_exeext conftest.$ac_ext
43368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43370 if test `eval echo '${'$as_ac_var'}'` = yes; then
43371 cat >>confdefs.h <<_ACEOF
43372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43373 _ACEOF
43376 done
43378 else
43380 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
43381 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
43382 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43383 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
43384 echo $ECHO_N "(cached) $ECHO_C" >&6
43385 else
43389 ac_ext=cc
43390 ac_cpp='$CXXCPP $CPPFLAGS'
43391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43395 cat >conftest.$ac_ext <<_ACEOF
43396 /* confdefs.h. */
43397 _ACEOF
43398 cat confdefs.h >>conftest.$ac_ext
43399 cat >>conftest.$ac_ext <<_ACEOF
43400 /* end confdefs.h. */
43401 #include <math.h>
43402 #ifdef HAVE_IEEEFP_H
43403 #include <ieeefp.h>
43404 #endif
43407 main ()
43409 _isinf(0);
43411 return 0;
43413 _ACEOF
43414 rm -f conftest.$ac_objext
43415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43416 (eval $ac_compile) 2>conftest.er1
43417 ac_status=$?
43418 grep -v '^ *+' conftest.er1 >conftest.err
43419 rm -f conftest.er1
43420 cat conftest.err >&5
43421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43422 (exit $ac_status); } &&
43423 { ac_try='test -z "$ac_cxx_werror_flag"
43424 || test ! -s conftest.err'
43425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43426 (eval $ac_try) 2>&5
43427 ac_status=$?
43428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43429 (exit $ac_status); }; } &&
43430 { ac_try='test -s conftest.$ac_objext'
43431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43432 (eval $ac_try) 2>&5
43433 ac_status=$?
43434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43435 (exit $ac_status); }; }; then
43436 glibcxx_cv_func__isinf_use=yes
43437 else
43438 echo "$as_me: failed program was:" >&5
43439 sed 's/^/| /' conftest.$ac_ext >&5
43441 glibcxx_cv_func__isinf_use=no
43443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43444 ac_ext=c
43445 ac_cpp='$CPP $CPPFLAGS'
43446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43454 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
43455 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
43457 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43459 for ac_func in _isinf
43461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43462 echo "$as_me:$LINENO: checking for $ac_func" >&5
43463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43464 if eval "test \"\${$as_ac_var+set}\" = set"; then
43465 echo $ECHO_N "(cached) $ECHO_C" >&6
43466 else
43467 if test x$gcc_no_link = xyes; then
43468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43470 { (exit 1); exit 1; }; }
43472 cat >conftest.$ac_ext <<_ACEOF
43473 /* confdefs.h. */
43474 _ACEOF
43475 cat confdefs.h >>conftest.$ac_ext
43476 cat >>conftest.$ac_ext <<_ACEOF
43477 /* end confdefs.h. */
43478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43480 #define $ac_func innocuous_$ac_func
43482 /* System header to define __stub macros and hopefully few prototypes,
43483 which can conflict with char $ac_func (); below.
43484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43485 <limits.h> exists even on freestanding compilers. */
43487 #ifdef __STDC__
43488 # include <limits.h>
43489 #else
43490 # include <assert.h>
43491 #endif
43493 #undef $ac_func
43495 /* Override any gcc2 internal prototype to avoid an error. */
43496 #ifdef __cplusplus
43497 extern "C"
43499 #endif
43500 /* We use char because int might match the return type of a gcc2
43501 builtin and then its argument prototype would still apply. */
43502 char $ac_func ();
43503 /* The GNU C library defines this for functions which it implements
43504 to always fail with ENOSYS. Some functions are actually named
43505 something starting with __ and the normal name is an alias. */
43506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43507 choke me
43508 #else
43509 char (*f) () = $ac_func;
43510 #endif
43511 #ifdef __cplusplus
43513 #endif
43516 main ()
43518 return f != $ac_func;
43520 return 0;
43522 _ACEOF
43523 rm -f conftest.$ac_objext conftest$ac_exeext
43524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43525 (eval $ac_link) 2>conftest.er1
43526 ac_status=$?
43527 grep -v '^ *+' conftest.er1 >conftest.err
43528 rm -f conftest.er1
43529 cat conftest.err >&5
43530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43531 (exit $ac_status); } &&
43532 { ac_try='test -z "$ac_c_werror_flag"
43533 || test ! -s conftest.err'
43534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43535 (eval $ac_try) 2>&5
43536 ac_status=$?
43537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43538 (exit $ac_status); }; } &&
43539 { ac_try='test -s conftest$ac_exeext'
43540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43541 (eval $ac_try) 2>&5
43542 ac_status=$?
43543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43544 (exit $ac_status); }; }; then
43545 eval "$as_ac_var=yes"
43546 else
43547 echo "$as_me: failed program was:" >&5
43548 sed 's/^/| /' conftest.$ac_ext >&5
43550 eval "$as_ac_var=no"
43552 rm -f conftest.err conftest.$ac_objext \
43553 conftest$ac_exeext conftest.$ac_ext
43555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43557 if test `eval echo '${'$as_ac_var'}'` = yes; then
43558 cat >>confdefs.h <<_ACEOF
43559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43560 _ACEOF
43563 done
43573 echo "$as_me:$LINENO: checking for isnan declaration" >&5
43574 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
43575 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43576 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
43577 echo $ECHO_N "(cached) $ECHO_C" >&6
43578 else
43582 ac_ext=cc
43583 ac_cpp='$CXXCPP $CPPFLAGS'
43584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43588 cat >conftest.$ac_ext <<_ACEOF
43589 /* confdefs.h. */
43590 _ACEOF
43591 cat confdefs.h >>conftest.$ac_ext
43592 cat >>conftest.$ac_ext <<_ACEOF
43593 /* end confdefs.h. */
43594 #include <math.h>
43595 #ifdef HAVE_IEEEFP_H
43596 #include <ieeefp.h>
43597 #endif
43600 main ()
43602 isnan(0);
43604 return 0;
43606 _ACEOF
43607 rm -f conftest.$ac_objext
43608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43609 (eval $ac_compile) 2>conftest.er1
43610 ac_status=$?
43611 grep -v '^ *+' conftest.er1 >conftest.err
43612 rm -f conftest.er1
43613 cat conftest.err >&5
43614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43615 (exit $ac_status); } &&
43616 { ac_try='test -z "$ac_cxx_werror_flag"
43617 || test ! -s conftest.err'
43618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43619 (eval $ac_try) 2>&5
43620 ac_status=$?
43621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43622 (exit $ac_status); }; } &&
43623 { ac_try='test -s conftest.$ac_objext'
43624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43625 (eval $ac_try) 2>&5
43626 ac_status=$?
43627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43628 (exit $ac_status); }; }; then
43629 glibcxx_cv_func_isnan_use=yes
43630 else
43631 echo "$as_me: failed program was:" >&5
43632 sed 's/^/| /' conftest.$ac_ext >&5
43634 glibcxx_cv_func_isnan_use=no
43636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43637 ac_ext=c
43638 ac_cpp='$CPP $CPPFLAGS'
43639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43647 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
43648 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
43650 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43652 for ac_func in isnan
43654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43655 echo "$as_me:$LINENO: checking for $ac_func" >&5
43656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43657 if eval "test \"\${$as_ac_var+set}\" = set"; then
43658 echo $ECHO_N "(cached) $ECHO_C" >&6
43659 else
43660 if test x$gcc_no_link = xyes; then
43661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43663 { (exit 1); exit 1; }; }
43665 cat >conftest.$ac_ext <<_ACEOF
43666 /* confdefs.h. */
43667 _ACEOF
43668 cat confdefs.h >>conftest.$ac_ext
43669 cat >>conftest.$ac_ext <<_ACEOF
43670 /* end confdefs.h. */
43671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43673 #define $ac_func innocuous_$ac_func
43675 /* System header to define __stub macros and hopefully few prototypes,
43676 which can conflict with char $ac_func (); below.
43677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43678 <limits.h> exists even on freestanding compilers. */
43680 #ifdef __STDC__
43681 # include <limits.h>
43682 #else
43683 # include <assert.h>
43684 #endif
43686 #undef $ac_func
43688 /* Override any gcc2 internal prototype to avoid an error. */
43689 #ifdef __cplusplus
43690 extern "C"
43692 #endif
43693 /* We use char because int might match the return type of a gcc2
43694 builtin and then its argument prototype would still apply. */
43695 char $ac_func ();
43696 /* The GNU C library defines this for functions which it implements
43697 to always fail with ENOSYS. Some functions are actually named
43698 something starting with __ and the normal name is an alias. */
43699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43700 choke me
43701 #else
43702 char (*f) () = $ac_func;
43703 #endif
43704 #ifdef __cplusplus
43706 #endif
43709 main ()
43711 return f != $ac_func;
43713 return 0;
43715 _ACEOF
43716 rm -f conftest.$ac_objext conftest$ac_exeext
43717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43718 (eval $ac_link) 2>conftest.er1
43719 ac_status=$?
43720 grep -v '^ *+' conftest.er1 >conftest.err
43721 rm -f conftest.er1
43722 cat conftest.err >&5
43723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43724 (exit $ac_status); } &&
43725 { ac_try='test -z "$ac_c_werror_flag"
43726 || test ! -s conftest.err'
43727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43728 (eval $ac_try) 2>&5
43729 ac_status=$?
43730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43731 (exit $ac_status); }; } &&
43732 { ac_try='test -s conftest$ac_exeext'
43733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43734 (eval $ac_try) 2>&5
43735 ac_status=$?
43736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43737 (exit $ac_status); }; }; then
43738 eval "$as_ac_var=yes"
43739 else
43740 echo "$as_me: failed program was:" >&5
43741 sed 's/^/| /' conftest.$ac_ext >&5
43743 eval "$as_ac_var=no"
43745 rm -f conftest.err conftest.$ac_objext \
43746 conftest$ac_exeext conftest.$ac_ext
43748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43750 if test `eval echo '${'$as_ac_var'}'` = yes; then
43751 cat >>confdefs.h <<_ACEOF
43752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43753 _ACEOF
43756 done
43758 else
43760 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
43761 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
43762 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
43763 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
43764 echo $ECHO_N "(cached) $ECHO_C" >&6
43765 else
43769 ac_ext=cc
43770 ac_cpp='$CXXCPP $CPPFLAGS'
43771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43775 cat >conftest.$ac_ext <<_ACEOF
43776 /* confdefs.h. */
43777 _ACEOF
43778 cat confdefs.h >>conftest.$ac_ext
43779 cat >>conftest.$ac_ext <<_ACEOF
43780 /* end confdefs.h. */
43781 #include <math.h>
43782 #ifdef HAVE_IEEEFP_H
43783 #include <ieeefp.h>
43784 #endif
43787 main ()
43789 _isnan(0);
43791 return 0;
43793 _ACEOF
43794 rm -f conftest.$ac_objext
43795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43796 (eval $ac_compile) 2>conftest.er1
43797 ac_status=$?
43798 grep -v '^ *+' conftest.er1 >conftest.err
43799 rm -f conftest.er1
43800 cat conftest.err >&5
43801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43802 (exit $ac_status); } &&
43803 { ac_try='test -z "$ac_cxx_werror_flag"
43804 || test ! -s conftest.err'
43805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43806 (eval $ac_try) 2>&5
43807 ac_status=$?
43808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43809 (exit $ac_status); }; } &&
43810 { ac_try='test -s conftest.$ac_objext'
43811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43812 (eval $ac_try) 2>&5
43813 ac_status=$?
43814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43815 (exit $ac_status); }; }; then
43816 glibcxx_cv_func__isnan_use=yes
43817 else
43818 echo "$as_me: failed program was:" >&5
43819 sed 's/^/| /' conftest.$ac_ext >&5
43821 glibcxx_cv_func__isnan_use=no
43823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43824 ac_ext=c
43825 ac_cpp='$CPP $CPPFLAGS'
43826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43834 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
43835 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
43837 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
43839 for ac_func in _isnan
43841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43842 echo "$as_me:$LINENO: checking for $ac_func" >&5
43843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43844 if eval "test \"\${$as_ac_var+set}\" = set"; then
43845 echo $ECHO_N "(cached) $ECHO_C" >&6
43846 else
43847 if test x$gcc_no_link = xyes; then
43848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43850 { (exit 1); exit 1; }; }
43852 cat >conftest.$ac_ext <<_ACEOF
43853 /* confdefs.h. */
43854 _ACEOF
43855 cat confdefs.h >>conftest.$ac_ext
43856 cat >>conftest.$ac_ext <<_ACEOF
43857 /* end confdefs.h. */
43858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43860 #define $ac_func innocuous_$ac_func
43862 /* System header to define __stub macros and hopefully few prototypes,
43863 which can conflict with char $ac_func (); below.
43864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43865 <limits.h> exists even on freestanding compilers. */
43867 #ifdef __STDC__
43868 # include <limits.h>
43869 #else
43870 # include <assert.h>
43871 #endif
43873 #undef $ac_func
43875 /* Override any gcc2 internal prototype to avoid an error. */
43876 #ifdef __cplusplus
43877 extern "C"
43879 #endif
43880 /* We use char because int might match the return type of a gcc2
43881 builtin and then its argument prototype would still apply. */
43882 char $ac_func ();
43883 /* The GNU C library defines this for functions which it implements
43884 to always fail with ENOSYS. Some functions are actually named
43885 something starting with __ and the normal name is an alias. */
43886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43887 choke me
43888 #else
43889 char (*f) () = $ac_func;
43890 #endif
43891 #ifdef __cplusplus
43893 #endif
43896 main ()
43898 return f != $ac_func;
43900 return 0;
43902 _ACEOF
43903 rm -f conftest.$ac_objext conftest$ac_exeext
43904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43905 (eval $ac_link) 2>conftest.er1
43906 ac_status=$?
43907 grep -v '^ *+' conftest.er1 >conftest.err
43908 rm -f conftest.er1
43909 cat conftest.err >&5
43910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43911 (exit $ac_status); } &&
43912 { ac_try='test -z "$ac_c_werror_flag"
43913 || test ! -s conftest.err'
43914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43915 (eval $ac_try) 2>&5
43916 ac_status=$?
43917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43918 (exit $ac_status); }; } &&
43919 { ac_try='test -s conftest$ac_exeext'
43920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43921 (eval $ac_try) 2>&5
43922 ac_status=$?
43923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43924 (exit $ac_status); }; }; then
43925 eval "$as_ac_var=yes"
43926 else
43927 echo "$as_me: failed program was:" >&5
43928 sed 's/^/| /' conftest.$ac_ext >&5
43930 eval "$as_ac_var=no"
43932 rm -f conftest.err conftest.$ac_objext \
43933 conftest$ac_exeext conftest.$ac_ext
43935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43937 if test `eval echo '${'$as_ac_var'}'` = yes; then
43938 cat >>confdefs.h <<_ACEOF
43939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43940 _ACEOF
43943 done
43953 echo "$as_me:$LINENO: checking for finite declaration" >&5
43954 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
43955 if test x${glibcxx_cv_func_finite_use+set} != xset; then
43956 if test "${glibcxx_cv_func_finite_use+set}" = set; then
43957 echo $ECHO_N "(cached) $ECHO_C" >&6
43958 else
43962 ac_ext=cc
43963 ac_cpp='$CXXCPP $CPPFLAGS'
43964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43968 cat >conftest.$ac_ext <<_ACEOF
43969 /* confdefs.h. */
43970 _ACEOF
43971 cat confdefs.h >>conftest.$ac_ext
43972 cat >>conftest.$ac_ext <<_ACEOF
43973 /* end confdefs.h. */
43974 #include <math.h>
43975 #ifdef HAVE_IEEEFP_H
43976 #include <ieeefp.h>
43977 #endif
43980 main ()
43982 finite(0);
43984 return 0;
43986 _ACEOF
43987 rm -f conftest.$ac_objext
43988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43989 (eval $ac_compile) 2>conftest.er1
43990 ac_status=$?
43991 grep -v '^ *+' conftest.er1 >conftest.err
43992 rm -f conftest.er1
43993 cat conftest.err >&5
43994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43995 (exit $ac_status); } &&
43996 { ac_try='test -z "$ac_cxx_werror_flag"
43997 || test ! -s conftest.err'
43998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43999 (eval $ac_try) 2>&5
44000 ac_status=$?
44001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44002 (exit $ac_status); }; } &&
44003 { ac_try='test -s conftest.$ac_objext'
44004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44005 (eval $ac_try) 2>&5
44006 ac_status=$?
44007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44008 (exit $ac_status); }; }; then
44009 glibcxx_cv_func_finite_use=yes
44010 else
44011 echo "$as_me: failed program was:" >&5
44012 sed 's/^/| /' conftest.$ac_ext >&5
44014 glibcxx_cv_func_finite_use=no
44016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44017 ac_ext=c
44018 ac_cpp='$CPP $CPPFLAGS'
44019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44027 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44028 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44030 if test x$glibcxx_cv_func_finite_use = x"yes"; then
44032 for ac_func in finite
44034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44035 echo "$as_me:$LINENO: checking for $ac_func" >&5
44036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44037 if eval "test \"\${$as_ac_var+set}\" = set"; then
44038 echo $ECHO_N "(cached) $ECHO_C" >&6
44039 else
44040 if test x$gcc_no_link = xyes; then
44041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44043 { (exit 1); exit 1; }; }
44045 cat >conftest.$ac_ext <<_ACEOF
44046 /* confdefs.h. */
44047 _ACEOF
44048 cat confdefs.h >>conftest.$ac_ext
44049 cat >>conftest.$ac_ext <<_ACEOF
44050 /* end confdefs.h. */
44051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44053 #define $ac_func innocuous_$ac_func
44055 /* System header to define __stub macros and hopefully few prototypes,
44056 which can conflict with char $ac_func (); below.
44057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44058 <limits.h> exists even on freestanding compilers. */
44060 #ifdef __STDC__
44061 # include <limits.h>
44062 #else
44063 # include <assert.h>
44064 #endif
44066 #undef $ac_func
44068 /* Override any gcc2 internal prototype to avoid an error. */
44069 #ifdef __cplusplus
44070 extern "C"
44072 #endif
44073 /* We use char because int might match the return type of a gcc2
44074 builtin and then its argument prototype would still apply. */
44075 char $ac_func ();
44076 /* The GNU C library defines this for functions which it implements
44077 to always fail with ENOSYS. Some functions are actually named
44078 something starting with __ and the normal name is an alias. */
44079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44080 choke me
44081 #else
44082 char (*f) () = $ac_func;
44083 #endif
44084 #ifdef __cplusplus
44086 #endif
44089 main ()
44091 return f != $ac_func;
44093 return 0;
44095 _ACEOF
44096 rm -f conftest.$ac_objext conftest$ac_exeext
44097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44098 (eval $ac_link) 2>conftest.er1
44099 ac_status=$?
44100 grep -v '^ *+' conftest.er1 >conftest.err
44101 rm -f conftest.er1
44102 cat conftest.err >&5
44103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44104 (exit $ac_status); } &&
44105 { ac_try='test -z "$ac_c_werror_flag"
44106 || test ! -s conftest.err'
44107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44108 (eval $ac_try) 2>&5
44109 ac_status=$?
44110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44111 (exit $ac_status); }; } &&
44112 { ac_try='test -s conftest$ac_exeext'
44113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44114 (eval $ac_try) 2>&5
44115 ac_status=$?
44116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44117 (exit $ac_status); }; }; then
44118 eval "$as_ac_var=yes"
44119 else
44120 echo "$as_me: failed program was:" >&5
44121 sed 's/^/| /' conftest.$ac_ext >&5
44123 eval "$as_ac_var=no"
44125 rm -f conftest.err conftest.$ac_objext \
44126 conftest$ac_exeext conftest.$ac_ext
44128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44130 if test `eval echo '${'$as_ac_var'}'` = yes; then
44131 cat >>confdefs.h <<_ACEOF
44132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44133 _ACEOF
44136 done
44138 else
44140 echo "$as_me:$LINENO: checking for _finite declaration" >&5
44141 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
44142 if test x${glibcxx_cv_func__finite_use+set} != xset; then
44143 if test "${glibcxx_cv_func__finite_use+set}" = set; then
44144 echo $ECHO_N "(cached) $ECHO_C" >&6
44145 else
44149 ac_ext=cc
44150 ac_cpp='$CXXCPP $CPPFLAGS'
44151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44155 cat >conftest.$ac_ext <<_ACEOF
44156 /* confdefs.h. */
44157 _ACEOF
44158 cat confdefs.h >>conftest.$ac_ext
44159 cat >>conftest.$ac_ext <<_ACEOF
44160 /* end confdefs.h. */
44161 #include <math.h>
44162 #ifdef HAVE_IEEEFP_H
44163 #include <ieeefp.h>
44164 #endif
44167 main ()
44169 _finite(0);
44171 return 0;
44173 _ACEOF
44174 rm -f conftest.$ac_objext
44175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44176 (eval $ac_compile) 2>conftest.er1
44177 ac_status=$?
44178 grep -v '^ *+' conftest.er1 >conftest.err
44179 rm -f conftest.er1
44180 cat conftest.err >&5
44181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44182 (exit $ac_status); } &&
44183 { ac_try='test -z "$ac_cxx_werror_flag"
44184 || test ! -s conftest.err'
44185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44186 (eval $ac_try) 2>&5
44187 ac_status=$?
44188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44189 (exit $ac_status); }; } &&
44190 { ac_try='test -s conftest.$ac_objext'
44191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44192 (eval $ac_try) 2>&5
44193 ac_status=$?
44194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44195 (exit $ac_status); }; }; then
44196 glibcxx_cv_func__finite_use=yes
44197 else
44198 echo "$as_me: failed program was:" >&5
44199 sed 's/^/| /' conftest.$ac_ext >&5
44201 glibcxx_cv_func__finite_use=no
44203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44204 ac_ext=c
44205 ac_cpp='$CPP $CPPFLAGS'
44206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44214 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
44215 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
44217 if test x$glibcxx_cv_func__finite_use = x"yes"; then
44219 for ac_func in _finite
44221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44222 echo "$as_me:$LINENO: checking for $ac_func" >&5
44223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44224 if eval "test \"\${$as_ac_var+set}\" = set"; then
44225 echo $ECHO_N "(cached) $ECHO_C" >&6
44226 else
44227 if test x$gcc_no_link = xyes; then
44228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44230 { (exit 1); exit 1; }; }
44232 cat >conftest.$ac_ext <<_ACEOF
44233 /* confdefs.h. */
44234 _ACEOF
44235 cat confdefs.h >>conftest.$ac_ext
44236 cat >>conftest.$ac_ext <<_ACEOF
44237 /* end confdefs.h. */
44238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44240 #define $ac_func innocuous_$ac_func
44242 /* System header to define __stub macros and hopefully few prototypes,
44243 which can conflict with char $ac_func (); below.
44244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44245 <limits.h> exists even on freestanding compilers. */
44247 #ifdef __STDC__
44248 # include <limits.h>
44249 #else
44250 # include <assert.h>
44251 #endif
44253 #undef $ac_func
44255 /* Override any gcc2 internal prototype to avoid an error. */
44256 #ifdef __cplusplus
44257 extern "C"
44259 #endif
44260 /* We use char because int might match the return type of a gcc2
44261 builtin and then its argument prototype would still apply. */
44262 char $ac_func ();
44263 /* The GNU C library defines this for functions which it implements
44264 to always fail with ENOSYS. Some functions are actually named
44265 something starting with __ and the normal name is an alias. */
44266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44267 choke me
44268 #else
44269 char (*f) () = $ac_func;
44270 #endif
44271 #ifdef __cplusplus
44273 #endif
44276 main ()
44278 return f != $ac_func;
44280 return 0;
44282 _ACEOF
44283 rm -f conftest.$ac_objext conftest$ac_exeext
44284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44285 (eval $ac_link) 2>conftest.er1
44286 ac_status=$?
44287 grep -v '^ *+' conftest.er1 >conftest.err
44288 rm -f conftest.er1
44289 cat conftest.err >&5
44290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44291 (exit $ac_status); } &&
44292 { ac_try='test -z "$ac_c_werror_flag"
44293 || test ! -s conftest.err'
44294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44295 (eval $ac_try) 2>&5
44296 ac_status=$?
44297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44298 (exit $ac_status); }; } &&
44299 { ac_try='test -s conftest$ac_exeext'
44300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44301 (eval $ac_try) 2>&5
44302 ac_status=$?
44303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44304 (exit $ac_status); }; }; then
44305 eval "$as_ac_var=yes"
44306 else
44307 echo "$as_me: failed program was:" >&5
44308 sed 's/^/| /' conftest.$ac_ext >&5
44310 eval "$as_ac_var=no"
44312 rm -f conftest.err conftest.$ac_objext \
44313 conftest$ac_exeext conftest.$ac_ext
44315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44317 if test `eval echo '${'$as_ac_var'}'` = yes; then
44318 cat >>confdefs.h <<_ACEOF
44319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44320 _ACEOF
44323 done
44333 echo "$as_me:$LINENO: checking for copysign declaration" >&5
44334 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
44335 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
44336 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
44337 echo $ECHO_N "(cached) $ECHO_C" >&6
44338 else
44342 ac_ext=cc
44343 ac_cpp='$CXXCPP $CPPFLAGS'
44344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44348 cat >conftest.$ac_ext <<_ACEOF
44349 /* confdefs.h. */
44350 _ACEOF
44351 cat confdefs.h >>conftest.$ac_ext
44352 cat >>conftest.$ac_ext <<_ACEOF
44353 /* end confdefs.h. */
44354 #include <math.h>
44356 main ()
44358 copysign(0, 0);
44360 return 0;
44362 _ACEOF
44363 rm -f conftest.$ac_objext
44364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44365 (eval $ac_compile) 2>conftest.er1
44366 ac_status=$?
44367 grep -v '^ *+' conftest.er1 >conftest.err
44368 rm -f conftest.er1
44369 cat conftest.err >&5
44370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44371 (exit $ac_status); } &&
44372 { ac_try='test -z "$ac_cxx_werror_flag"
44373 || test ! -s conftest.err'
44374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44375 (eval $ac_try) 2>&5
44376 ac_status=$?
44377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44378 (exit $ac_status); }; } &&
44379 { ac_try='test -s conftest.$ac_objext'
44380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44381 (eval $ac_try) 2>&5
44382 ac_status=$?
44383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44384 (exit $ac_status); }; }; then
44385 glibcxx_cv_func_copysign_use=yes
44386 else
44387 echo "$as_me: failed program was:" >&5
44388 sed 's/^/| /' conftest.$ac_ext >&5
44390 glibcxx_cv_func_copysign_use=no
44392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44393 ac_ext=c
44394 ac_cpp='$CPP $CPPFLAGS'
44395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44403 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
44404 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
44406 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
44408 for ac_func in copysign
44410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44411 echo "$as_me:$LINENO: checking for $ac_func" >&5
44412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44413 if eval "test \"\${$as_ac_var+set}\" = set"; then
44414 echo $ECHO_N "(cached) $ECHO_C" >&6
44415 else
44416 if test x$gcc_no_link = xyes; then
44417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44419 { (exit 1); exit 1; }; }
44421 cat >conftest.$ac_ext <<_ACEOF
44422 /* confdefs.h. */
44423 _ACEOF
44424 cat confdefs.h >>conftest.$ac_ext
44425 cat >>conftest.$ac_ext <<_ACEOF
44426 /* end confdefs.h. */
44427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44429 #define $ac_func innocuous_$ac_func
44431 /* System header to define __stub macros and hopefully few prototypes,
44432 which can conflict with char $ac_func (); below.
44433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44434 <limits.h> exists even on freestanding compilers. */
44436 #ifdef __STDC__
44437 # include <limits.h>
44438 #else
44439 # include <assert.h>
44440 #endif
44442 #undef $ac_func
44444 /* Override any gcc2 internal prototype to avoid an error. */
44445 #ifdef __cplusplus
44446 extern "C"
44448 #endif
44449 /* We use char because int might match the return type of a gcc2
44450 builtin and then its argument prototype would still apply. */
44451 char $ac_func ();
44452 /* The GNU C library defines this for functions which it implements
44453 to always fail with ENOSYS. Some functions are actually named
44454 something starting with __ and the normal name is an alias. */
44455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44456 choke me
44457 #else
44458 char (*f) () = $ac_func;
44459 #endif
44460 #ifdef __cplusplus
44462 #endif
44465 main ()
44467 return f != $ac_func;
44469 return 0;
44471 _ACEOF
44472 rm -f conftest.$ac_objext conftest$ac_exeext
44473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44474 (eval $ac_link) 2>conftest.er1
44475 ac_status=$?
44476 grep -v '^ *+' conftest.er1 >conftest.err
44477 rm -f conftest.er1
44478 cat conftest.err >&5
44479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44480 (exit $ac_status); } &&
44481 { ac_try='test -z "$ac_c_werror_flag"
44482 || test ! -s conftest.err'
44483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44484 (eval $ac_try) 2>&5
44485 ac_status=$?
44486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44487 (exit $ac_status); }; } &&
44488 { ac_try='test -s conftest$ac_exeext'
44489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44490 (eval $ac_try) 2>&5
44491 ac_status=$?
44492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44493 (exit $ac_status); }; }; then
44494 eval "$as_ac_var=yes"
44495 else
44496 echo "$as_me: failed program was:" >&5
44497 sed 's/^/| /' conftest.$ac_ext >&5
44499 eval "$as_ac_var=no"
44501 rm -f conftest.err conftest.$ac_objext \
44502 conftest$ac_exeext conftest.$ac_ext
44504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44506 if test `eval echo '${'$as_ac_var'}'` = yes; then
44507 cat >>confdefs.h <<_ACEOF
44508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44509 _ACEOF
44512 done
44514 else
44516 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
44517 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
44518 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
44519 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
44520 echo $ECHO_N "(cached) $ECHO_C" >&6
44521 else
44525 ac_ext=cc
44526 ac_cpp='$CXXCPP $CPPFLAGS'
44527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44531 cat >conftest.$ac_ext <<_ACEOF
44532 /* confdefs.h. */
44533 _ACEOF
44534 cat confdefs.h >>conftest.$ac_ext
44535 cat >>conftest.$ac_ext <<_ACEOF
44536 /* end confdefs.h. */
44537 #include <math.h>
44539 main ()
44541 _copysign(0, 0);
44543 return 0;
44545 _ACEOF
44546 rm -f conftest.$ac_objext
44547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44548 (eval $ac_compile) 2>conftest.er1
44549 ac_status=$?
44550 grep -v '^ *+' conftest.er1 >conftest.err
44551 rm -f conftest.er1
44552 cat conftest.err >&5
44553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44554 (exit $ac_status); } &&
44555 { ac_try='test -z "$ac_cxx_werror_flag"
44556 || test ! -s conftest.err'
44557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44558 (eval $ac_try) 2>&5
44559 ac_status=$?
44560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44561 (exit $ac_status); }; } &&
44562 { ac_try='test -s conftest.$ac_objext'
44563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44564 (eval $ac_try) 2>&5
44565 ac_status=$?
44566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44567 (exit $ac_status); }; }; then
44568 glibcxx_cv_func__copysign_use=yes
44569 else
44570 echo "$as_me: failed program was:" >&5
44571 sed 's/^/| /' conftest.$ac_ext >&5
44573 glibcxx_cv_func__copysign_use=no
44575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44576 ac_ext=c
44577 ac_cpp='$CPP $CPPFLAGS'
44578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44586 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
44587 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
44589 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
44591 for ac_func in _copysign
44593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44594 echo "$as_me:$LINENO: checking for $ac_func" >&5
44595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44596 if eval "test \"\${$as_ac_var+set}\" = set"; then
44597 echo $ECHO_N "(cached) $ECHO_C" >&6
44598 else
44599 if test x$gcc_no_link = xyes; then
44600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44602 { (exit 1); exit 1; }; }
44604 cat >conftest.$ac_ext <<_ACEOF
44605 /* confdefs.h. */
44606 _ACEOF
44607 cat confdefs.h >>conftest.$ac_ext
44608 cat >>conftest.$ac_ext <<_ACEOF
44609 /* end confdefs.h. */
44610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44612 #define $ac_func innocuous_$ac_func
44614 /* System header to define __stub macros and hopefully few prototypes,
44615 which can conflict with char $ac_func (); below.
44616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44617 <limits.h> exists even on freestanding compilers. */
44619 #ifdef __STDC__
44620 # include <limits.h>
44621 #else
44622 # include <assert.h>
44623 #endif
44625 #undef $ac_func
44627 /* Override any gcc2 internal prototype to avoid an error. */
44628 #ifdef __cplusplus
44629 extern "C"
44631 #endif
44632 /* We use char because int might match the return type of a gcc2
44633 builtin and then its argument prototype would still apply. */
44634 char $ac_func ();
44635 /* The GNU C library defines this for functions which it implements
44636 to always fail with ENOSYS. Some functions are actually named
44637 something starting with __ and the normal name is an alias. */
44638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44639 choke me
44640 #else
44641 char (*f) () = $ac_func;
44642 #endif
44643 #ifdef __cplusplus
44645 #endif
44648 main ()
44650 return f != $ac_func;
44652 return 0;
44654 _ACEOF
44655 rm -f conftest.$ac_objext conftest$ac_exeext
44656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44657 (eval $ac_link) 2>conftest.er1
44658 ac_status=$?
44659 grep -v '^ *+' conftest.er1 >conftest.err
44660 rm -f conftest.er1
44661 cat conftest.err >&5
44662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44663 (exit $ac_status); } &&
44664 { ac_try='test -z "$ac_c_werror_flag"
44665 || test ! -s conftest.err'
44666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44667 (eval $ac_try) 2>&5
44668 ac_status=$?
44669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44670 (exit $ac_status); }; } &&
44671 { ac_try='test -s conftest$ac_exeext'
44672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44673 (eval $ac_try) 2>&5
44674 ac_status=$?
44675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44676 (exit $ac_status); }; }; then
44677 eval "$as_ac_var=yes"
44678 else
44679 echo "$as_me: failed program was:" >&5
44680 sed 's/^/| /' conftest.$ac_ext >&5
44682 eval "$as_ac_var=no"
44684 rm -f conftest.err conftest.$ac_objext \
44685 conftest$ac_exeext conftest.$ac_ext
44687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44689 if test `eval echo '${'$as_ac_var'}'` = yes; then
44690 cat >>confdefs.h <<_ACEOF
44691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44692 _ACEOF
44695 done
44705 echo "$as_me:$LINENO: checking for sincos declaration" >&5
44706 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
44707 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
44708 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
44709 echo $ECHO_N "(cached) $ECHO_C" >&6
44710 else
44714 ac_ext=cc
44715 ac_cpp='$CXXCPP $CPPFLAGS'
44716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44720 cat >conftest.$ac_ext <<_ACEOF
44721 /* confdefs.h. */
44722 _ACEOF
44723 cat confdefs.h >>conftest.$ac_ext
44724 cat >>conftest.$ac_ext <<_ACEOF
44725 /* end confdefs.h. */
44726 #include <math.h>
44728 main ()
44730 sincos(0, 0, 0);
44732 return 0;
44734 _ACEOF
44735 rm -f conftest.$ac_objext
44736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44737 (eval $ac_compile) 2>conftest.er1
44738 ac_status=$?
44739 grep -v '^ *+' conftest.er1 >conftest.err
44740 rm -f conftest.er1
44741 cat conftest.err >&5
44742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44743 (exit $ac_status); } &&
44744 { ac_try='test -z "$ac_cxx_werror_flag"
44745 || test ! -s conftest.err'
44746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44747 (eval $ac_try) 2>&5
44748 ac_status=$?
44749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44750 (exit $ac_status); }; } &&
44751 { ac_try='test -s conftest.$ac_objext'
44752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44753 (eval $ac_try) 2>&5
44754 ac_status=$?
44755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44756 (exit $ac_status); }; }; then
44757 glibcxx_cv_func_sincos_use=yes
44758 else
44759 echo "$as_me: failed program was:" >&5
44760 sed 's/^/| /' conftest.$ac_ext >&5
44762 glibcxx_cv_func_sincos_use=no
44764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44765 ac_ext=c
44766 ac_cpp='$CPP $CPPFLAGS'
44767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44775 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
44776 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
44778 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
44780 for ac_func in sincos
44782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44783 echo "$as_me:$LINENO: checking for $ac_func" >&5
44784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44785 if eval "test \"\${$as_ac_var+set}\" = set"; then
44786 echo $ECHO_N "(cached) $ECHO_C" >&6
44787 else
44788 if test x$gcc_no_link = xyes; then
44789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44791 { (exit 1); exit 1; }; }
44793 cat >conftest.$ac_ext <<_ACEOF
44794 /* confdefs.h. */
44795 _ACEOF
44796 cat confdefs.h >>conftest.$ac_ext
44797 cat >>conftest.$ac_ext <<_ACEOF
44798 /* end confdefs.h. */
44799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44801 #define $ac_func innocuous_$ac_func
44803 /* System header to define __stub macros and hopefully few prototypes,
44804 which can conflict with char $ac_func (); below.
44805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44806 <limits.h> exists even on freestanding compilers. */
44808 #ifdef __STDC__
44809 # include <limits.h>
44810 #else
44811 # include <assert.h>
44812 #endif
44814 #undef $ac_func
44816 /* Override any gcc2 internal prototype to avoid an error. */
44817 #ifdef __cplusplus
44818 extern "C"
44820 #endif
44821 /* We use char because int might match the return type of a gcc2
44822 builtin and then its argument prototype would still apply. */
44823 char $ac_func ();
44824 /* The GNU C library defines this for functions which it implements
44825 to always fail with ENOSYS. Some functions are actually named
44826 something starting with __ and the normal name is an alias. */
44827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44828 choke me
44829 #else
44830 char (*f) () = $ac_func;
44831 #endif
44832 #ifdef __cplusplus
44834 #endif
44837 main ()
44839 return f != $ac_func;
44841 return 0;
44843 _ACEOF
44844 rm -f conftest.$ac_objext conftest$ac_exeext
44845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44846 (eval $ac_link) 2>conftest.er1
44847 ac_status=$?
44848 grep -v '^ *+' conftest.er1 >conftest.err
44849 rm -f conftest.er1
44850 cat conftest.err >&5
44851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44852 (exit $ac_status); } &&
44853 { ac_try='test -z "$ac_c_werror_flag"
44854 || test ! -s conftest.err'
44855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44856 (eval $ac_try) 2>&5
44857 ac_status=$?
44858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44859 (exit $ac_status); }; } &&
44860 { ac_try='test -s conftest$ac_exeext'
44861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44862 (eval $ac_try) 2>&5
44863 ac_status=$?
44864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44865 (exit $ac_status); }; }; then
44866 eval "$as_ac_var=yes"
44867 else
44868 echo "$as_me: failed program was:" >&5
44869 sed 's/^/| /' conftest.$ac_ext >&5
44871 eval "$as_ac_var=no"
44873 rm -f conftest.err conftest.$ac_objext \
44874 conftest$ac_exeext conftest.$ac_ext
44876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44878 if test `eval echo '${'$as_ac_var'}'` = yes; then
44879 cat >>confdefs.h <<_ACEOF
44880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44881 _ACEOF
44884 done
44886 else
44888 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
44889 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
44890 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
44891 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
44892 echo $ECHO_N "(cached) $ECHO_C" >&6
44893 else
44897 ac_ext=cc
44898 ac_cpp='$CXXCPP $CPPFLAGS'
44899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44903 cat >conftest.$ac_ext <<_ACEOF
44904 /* confdefs.h. */
44905 _ACEOF
44906 cat confdefs.h >>conftest.$ac_ext
44907 cat >>conftest.$ac_ext <<_ACEOF
44908 /* end confdefs.h. */
44909 #include <math.h>
44911 main ()
44913 _sincos(0, 0, 0);
44915 return 0;
44917 _ACEOF
44918 rm -f conftest.$ac_objext
44919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44920 (eval $ac_compile) 2>conftest.er1
44921 ac_status=$?
44922 grep -v '^ *+' conftest.er1 >conftest.err
44923 rm -f conftest.er1
44924 cat conftest.err >&5
44925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44926 (exit $ac_status); } &&
44927 { ac_try='test -z "$ac_cxx_werror_flag"
44928 || test ! -s conftest.err'
44929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44930 (eval $ac_try) 2>&5
44931 ac_status=$?
44932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44933 (exit $ac_status); }; } &&
44934 { ac_try='test -s conftest.$ac_objext'
44935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44936 (eval $ac_try) 2>&5
44937 ac_status=$?
44938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44939 (exit $ac_status); }; }; then
44940 glibcxx_cv_func__sincos_use=yes
44941 else
44942 echo "$as_me: failed program was:" >&5
44943 sed 's/^/| /' conftest.$ac_ext >&5
44945 glibcxx_cv_func__sincos_use=no
44947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44948 ac_ext=c
44949 ac_cpp='$CPP $CPPFLAGS'
44950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44958 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
44959 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
44961 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
44963 for ac_func in _sincos
44965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44966 echo "$as_me:$LINENO: checking for $ac_func" >&5
44967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44968 if eval "test \"\${$as_ac_var+set}\" = set"; then
44969 echo $ECHO_N "(cached) $ECHO_C" >&6
44970 else
44971 if test x$gcc_no_link = xyes; then
44972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44974 { (exit 1); exit 1; }; }
44976 cat >conftest.$ac_ext <<_ACEOF
44977 /* confdefs.h. */
44978 _ACEOF
44979 cat confdefs.h >>conftest.$ac_ext
44980 cat >>conftest.$ac_ext <<_ACEOF
44981 /* end confdefs.h. */
44982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44984 #define $ac_func innocuous_$ac_func
44986 /* System header to define __stub macros and hopefully few prototypes,
44987 which can conflict with char $ac_func (); below.
44988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44989 <limits.h> exists even on freestanding compilers. */
44991 #ifdef __STDC__
44992 # include <limits.h>
44993 #else
44994 # include <assert.h>
44995 #endif
44997 #undef $ac_func
44999 /* Override any gcc2 internal prototype to avoid an error. */
45000 #ifdef __cplusplus
45001 extern "C"
45003 #endif
45004 /* We use char because int might match the return type of a gcc2
45005 builtin and then its argument prototype would still apply. */
45006 char $ac_func ();
45007 /* The GNU C library defines this for functions which it implements
45008 to always fail with ENOSYS. Some functions are actually named
45009 something starting with __ and the normal name is an alias. */
45010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45011 choke me
45012 #else
45013 char (*f) () = $ac_func;
45014 #endif
45015 #ifdef __cplusplus
45017 #endif
45020 main ()
45022 return f != $ac_func;
45024 return 0;
45026 _ACEOF
45027 rm -f conftest.$ac_objext conftest$ac_exeext
45028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45029 (eval $ac_link) 2>conftest.er1
45030 ac_status=$?
45031 grep -v '^ *+' conftest.er1 >conftest.err
45032 rm -f conftest.er1
45033 cat conftest.err >&5
45034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45035 (exit $ac_status); } &&
45036 { ac_try='test -z "$ac_c_werror_flag"
45037 || test ! -s conftest.err'
45038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45039 (eval $ac_try) 2>&5
45040 ac_status=$?
45041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45042 (exit $ac_status); }; } &&
45043 { ac_try='test -s conftest$ac_exeext'
45044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45045 (eval $ac_try) 2>&5
45046 ac_status=$?
45047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45048 (exit $ac_status); }; }; then
45049 eval "$as_ac_var=yes"
45050 else
45051 echo "$as_me: failed program was:" >&5
45052 sed 's/^/| /' conftest.$ac_ext >&5
45054 eval "$as_ac_var=no"
45056 rm -f conftest.err conftest.$ac_objext \
45057 conftest$ac_exeext conftest.$ac_ext
45059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45061 if test `eval echo '${'$as_ac_var'}'` = yes; then
45062 cat >>confdefs.h <<_ACEOF
45063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45064 _ACEOF
45067 done
45077 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45078 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45079 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45080 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45081 echo $ECHO_N "(cached) $ECHO_C" >&6
45082 else
45086 ac_ext=cc
45087 ac_cpp='$CXXCPP $CPPFLAGS'
45088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45092 cat >conftest.$ac_ext <<_ACEOF
45093 /* confdefs.h. */
45094 _ACEOF
45095 cat confdefs.h >>conftest.$ac_ext
45096 cat >>conftest.$ac_ext <<_ACEOF
45097 /* end confdefs.h. */
45098 #include <math.h>
45099 #ifdef HAVE_IEEEFP_H
45100 #include <ieeefp.h>
45101 #endif
45104 main ()
45106 fpclass(0);
45108 return 0;
45110 _ACEOF
45111 rm -f conftest.$ac_objext
45112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45113 (eval $ac_compile) 2>conftest.er1
45114 ac_status=$?
45115 grep -v '^ *+' conftest.er1 >conftest.err
45116 rm -f conftest.er1
45117 cat conftest.err >&5
45118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45119 (exit $ac_status); } &&
45120 { ac_try='test -z "$ac_cxx_werror_flag"
45121 || test ! -s conftest.err'
45122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45123 (eval $ac_try) 2>&5
45124 ac_status=$?
45125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45126 (exit $ac_status); }; } &&
45127 { ac_try='test -s conftest.$ac_objext'
45128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45129 (eval $ac_try) 2>&5
45130 ac_status=$?
45131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45132 (exit $ac_status); }; }; then
45133 glibcxx_cv_func_fpclass_use=yes
45134 else
45135 echo "$as_me: failed program was:" >&5
45136 sed 's/^/| /' conftest.$ac_ext >&5
45138 glibcxx_cv_func_fpclass_use=no
45140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45141 ac_ext=c
45142 ac_cpp='$CPP $CPPFLAGS'
45143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45151 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
45152 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
45154 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45156 for ac_func in fpclass
45158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45159 echo "$as_me:$LINENO: checking for $ac_func" >&5
45160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45161 if eval "test \"\${$as_ac_var+set}\" = set"; then
45162 echo $ECHO_N "(cached) $ECHO_C" >&6
45163 else
45164 if test x$gcc_no_link = xyes; then
45165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45167 { (exit 1); exit 1; }; }
45169 cat >conftest.$ac_ext <<_ACEOF
45170 /* confdefs.h. */
45171 _ACEOF
45172 cat confdefs.h >>conftest.$ac_ext
45173 cat >>conftest.$ac_ext <<_ACEOF
45174 /* end confdefs.h. */
45175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45177 #define $ac_func innocuous_$ac_func
45179 /* System header to define __stub macros and hopefully few prototypes,
45180 which can conflict with char $ac_func (); below.
45181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45182 <limits.h> exists even on freestanding compilers. */
45184 #ifdef __STDC__
45185 # include <limits.h>
45186 #else
45187 # include <assert.h>
45188 #endif
45190 #undef $ac_func
45192 /* Override any gcc2 internal prototype to avoid an error. */
45193 #ifdef __cplusplus
45194 extern "C"
45196 #endif
45197 /* We use char because int might match the return type of a gcc2
45198 builtin and then its argument prototype would still apply. */
45199 char $ac_func ();
45200 /* The GNU C library defines this for functions which it implements
45201 to always fail with ENOSYS. Some functions are actually named
45202 something starting with __ and the normal name is an alias. */
45203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45204 choke me
45205 #else
45206 char (*f) () = $ac_func;
45207 #endif
45208 #ifdef __cplusplus
45210 #endif
45213 main ()
45215 return f != $ac_func;
45217 return 0;
45219 _ACEOF
45220 rm -f conftest.$ac_objext conftest$ac_exeext
45221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45222 (eval $ac_link) 2>conftest.er1
45223 ac_status=$?
45224 grep -v '^ *+' conftest.er1 >conftest.err
45225 rm -f conftest.er1
45226 cat conftest.err >&5
45227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45228 (exit $ac_status); } &&
45229 { ac_try='test -z "$ac_c_werror_flag"
45230 || test ! -s conftest.err'
45231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45232 (eval $ac_try) 2>&5
45233 ac_status=$?
45234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45235 (exit $ac_status); }; } &&
45236 { ac_try='test -s conftest$ac_exeext'
45237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45238 (eval $ac_try) 2>&5
45239 ac_status=$?
45240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45241 (exit $ac_status); }; }; then
45242 eval "$as_ac_var=yes"
45243 else
45244 echo "$as_me: failed program was:" >&5
45245 sed 's/^/| /' conftest.$ac_ext >&5
45247 eval "$as_ac_var=no"
45249 rm -f conftest.err conftest.$ac_objext \
45250 conftest$ac_exeext conftest.$ac_ext
45252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45254 if test `eval echo '${'$as_ac_var'}'` = yes; then
45255 cat >>confdefs.h <<_ACEOF
45256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45257 _ACEOF
45260 done
45262 else
45264 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
45265 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
45266 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45267 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
45268 echo $ECHO_N "(cached) $ECHO_C" >&6
45269 else
45273 ac_ext=cc
45274 ac_cpp='$CXXCPP $CPPFLAGS'
45275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45279 cat >conftest.$ac_ext <<_ACEOF
45280 /* confdefs.h. */
45281 _ACEOF
45282 cat confdefs.h >>conftest.$ac_ext
45283 cat >>conftest.$ac_ext <<_ACEOF
45284 /* end confdefs.h. */
45285 #include <math.h>
45286 #ifdef HAVE_IEEEFP_H
45287 #include <ieeefp.h>
45288 #endif
45291 main ()
45293 _fpclass(0);
45295 return 0;
45297 _ACEOF
45298 rm -f conftest.$ac_objext
45299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45300 (eval $ac_compile) 2>conftest.er1
45301 ac_status=$?
45302 grep -v '^ *+' conftest.er1 >conftest.err
45303 rm -f conftest.er1
45304 cat conftest.err >&5
45305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45306 (exit $ac_status); } &&
45307 { ac_try='test -z "$ac_cxx_werror_flag"
45308 || test ! -s conftest.err'
45309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45310 (eval $ac_try) 2>&5
45311 ac_status=$?
45312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45313 (exit $ac_status); }; } &&
45314 { ac_try='test -s conftest.$ac_objext'
45315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45316 (eval $ac_try) 2>&5
45317 ac_status=$?
45318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45319 (exit $ac_status); }; }; then
45320 glibcxx_cv_func__fpclass_use=yes
45321 else
45322 echo "$as_me: failed program was:" >&5
45323 sed 's/^/| /' conftest.$ac_ext >&5
45325 glibcxx_cv_func__fpclass_use=no
45327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45328 ac_ext=c
45329 ac_cpp='$CPP $CPPFLAGS'
45330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45338 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
45339 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
45341 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45343 for ac_func in _fpclass
45345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45346 echo "$as_me:$LINENO: checking for $ac_func" >&5
45347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45348 if eval "test \"\${$as_ac_var+set}\" = set"; then
45349 echo $ECHO_N "(cached) $ECHO_C" >&6
45350 else
45351 if test x$gcc_no_link = xyes; then
45352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45354 { (exit 1); exit 1; }; }
45356 cat >conftest.$ac_ext <<_ACEOF
45357 /* confdefs.h. */
45358 _ACEOF
45359 cat confdefs.h >>conftest.$ac_ext
45360 cat >>conftest.$ac_ext <<_ACEOF
45361 /* end confdefs.h. */
45362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45364 #define $ac_func innocuous_$ac_func
45366 /* System header to define __stub macros and hopefully few prototypes,
45367 which can conflict with char $ac_func (); below.
45368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45369 <limits.h> exists even on freestanding compilers. */
45371 #ifdef __STDC__
45372 # include <limits.h>
45373 #else
45374 # include <assert.h>
45375 #endif
45377 #undef $ac_func
45379 /* Override any gcc2 internal prototype to avoid an error. */
45380 #ifdef __cplusplus
45381 extern "C"
45383 #endif
45384 /* We use char because int might match the return type of a gcc2
45385 builtin and then its argument prototype would still apply. */
45386 char $ac_func ();
45387 /* The GNU C library defines this for functions which it implements
45388 to always fail with ENOSYS. Some functions are actually named
45389 something starting with __ and the normal name is an alias. */
45390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45391 choke me
45392 #else
45393 char (*f) () = $ac_func;
45394 #endif
45395 #ifdef __cplusplus
45397 #endif
45400 main ()
45402 return f != $ac_func;
45404 return 0;
45406 _ACEOF
45407 rm -f conftest.$ac_objext conftest$ac_exeext
45408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45409 (eval $ac_link) 2>conftest.er1
45410 ac_status=$?
45411 grep -v '^ *+' conftest.er1 >conftest.err
45412 rm -f conftest.er1
45413 cat conftest.err >&5
45414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45415 (exit $ac_status); } &&
45416 { ac_try='test -z "$ac_c_werror_flag"
45417 || test ! -s conftest.err'
45418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45419 (eval $ac_try) 2>&5
45420 ac_status=$?
45421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45422 (exit $ac_status); }; } &&
45423 { ac_try='test -s conftest$ac_exeext'
45424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45425 (eval $ac_try) 2>&5
45426 ac_status=$?
45427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45428 (exit $ac_status); }; }; then
45429 eval "$as_ac_var=yes"
45430 else
45431 echo "$as_me: failed program was:" >&5
45432 sed 's/^/| /' conftest.$ac_ext >&5
45434 eval "$as_ac_var=no"
45436 rm -f conftest.err conftest.$ac_objext \
45437 conftest$ac_exeext conftest.$ac_ext
45439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45441 if test `eval echo '${'$as_ac_var'}'` = yes; then
45442 cat >>confdefs.h <<_ACEOF
45443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45444 _ACEOF
45447 done
45457 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
45458 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
45459 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45460 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
45461 echo $ECHO_N "(cached) $ECHO_C" >&6
45462 else
45466 ac_ext=cc
45467 ac_cpp='$CXXCPP $CPPFLAGS'
45468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45472 cat >conftest.$ac_ext <<_ACEOF
45473 /* confdefs.h. */
45474 _ACEOF
45475 cat confdefs.h >>conftest.$ac_ext
45476 cat >>conftest.$ac_ext <<_ACEOF
45477 /* end confdefs.h. */
45478 #include <math.h>
45479 #ifdef HAVE_IEEEFP_H
45480 #include <ieeefp.h>
45481 #endif
45484 main ()
45486 qfpclass(0);
45488 return 0;
45490 _ACEOF
45491 rm -f conftest.$ac_objext
45492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45493 (eval $ac_compile) 2>conftest.er1
45494 ac_status=$?
45495 grep -v '^ *+' conftest.er1 >conftest.err
45496 rm -f conftest.er1
45497 cat conftest.err >&5
45498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45499 (exit $ac_status); } &&
45500 { ac_try='test -z "$ac_cxx_werror_flag"
45501 || test ! -s conftest.err'
45502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45503 (eval $ac_try) 2>&5
45504 ac_status=$?
45505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45506 (exit $ac_status); }; } &&
45507 { ac_try='test -s conftest.$ac_objext'
45508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45509 (eval $ac_try) 2>&5
45510 ac_status=$?
45511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45512 (exit $ac_status); }; }; then
45513 glibcxx_cv_func_qfpclass_use=yes
45514 else
45515 echo "$as_me: failed program was:" >&5
45516 sed 's/^/| /' conftest.$ac_ext >&5
45518 glibcxx_cv_func_qfpclass_use=no
45520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45521 ac_ext=c
45522 ac_cpp='$CPP $CPPFLAGS'
45523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45531 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
45532 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
45534 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45536 for ac_func in qfpclass
45538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45539 echo "$as_me:$LINENO: checking for $ac_func" >&5
45540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45541 if eval "test \"\${$as_ac_var+set}\" = set"; then
45542 echo $ECHO_N "(cached) $ECHO_C" >&6
45543 else
45544 if test x$gcc_no_link = xyes; then
45545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45547 { (exit 1); exit 1; }; }
45549 cat >conftest.$ac_ext <<_ACEOF
45550 /* confdefs.h. */
45551 _ACEOF
45552 cat confdefs.h >>conftest.$ac_ext
45553 cat >>conftest.$ac_ext <<_ACEOF
45554 /* end confdefs.h. */
45555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45557 #define $ac_func innocuous_$ac_func
45559 /* System header to define __stub macros and hopefully few prototypes,
45560 which can conflict with char $ac_func (); below.
45561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45562 <limits.h> exists even on freestanding compilers. */
45564 #ifdef __STDC__
45565 # include <limits.h>
45566 #else
45567 # include <assert.h>
45568 #endif
45570 #undef $ac_func
45572 /* Override any gcc2 internal prototype to avoid an error. */
45573 #ifdef __cplusplus
45574 extern "C"
45576 #endif
45577 /* We use char because int might match the return type of a gcc2
45578 builtin and then its argument prototype would still apply. */
45579 char $ac_func ();
45580 /* The GNU C library defines this for functions which it implements
45581 to always fail with ENOSYS. Some functions are actually named
45582 something starting with __ and the normal name is an alias. */
45583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45584 choke me
45585 #else
45586 char (*f) () = $ac_func;
45587 #endif
45588 #ifdef __cplusplus
45590 #endif
45593 main ()
45595 return f != $ac_func;
45597 return 0;
45599 _ACEOF
45600 rm -f conftest.$ac_objext conftest$ac_exeext
45601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45602 (eval $ac_link) 2>conftest.er1
45603 ac_status=$?
45604 grep -v '^ *+' conftest.er1 >conftest.err
45605 rm -f conftest.er1
45606 cat conftest.err >&5
45607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45608 (exit $ac_status); } &&
45609 { ac_try='test -z "$ac_c_werror_flag"
45610 || test ! -s conftest.err'
45611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45612 (eval $ac_try) 2>&5
45613 ac_status=$?
45614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45615 (exit $ac_status); }; } &&
45616 { ac_try='test -s conftest$ac_exeext'
45617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45618 (eval $ac_try) 2>&5
45619 ac_status=$?
45620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45621 (exit $ac_status); }; }; then
45622 eval "$as_ac_var=yes"
45623 else
45624 echo "$as_me: failed program was:" >&5
45625 sed 's/^/| /' conftest.$ac_ext >&5
45627 eval "$as_ac_var=no"
45629 rm -f conftest.err conftest.$ac_objext \
45630 conftest$ac_exeext conftest.$ac_ext
45632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45634 if test `eval echo '${'$as_ac_var'}'` = yes; then
45635 cat >>confdefs.h <<_ACEOF
45636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45637 _ACEOF
45640 done
45642 else
45644 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
45645 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
45646 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45647 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
45648 echo $ECHO_N "(cached) $ECHO_C" >&6
45649 else
45653 ac_ext=cc
45654 ac_cpp='$CXXCPP $CPPFLAGS'
45655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45659 cat >conftest.$ac_ext <<_ACEOF
45660 /* confdefs.h. */
45661 _ACEOF
45662 cat confdefs.h >>conftest.$ac_ext
45663 cat >>conftest.$ac_ext <<_ACEOF
45664 /* end confdefs.h. */
45665 #include <math.h>
45666 #ifdef HAVE_IEEEFP_H
45667 #include <ieeefp.h>
45668 #endif
45671 main ()
45673 _qfpclass(0);
45675 return 0;
45677 _ACEOF
45678 rm -f conftest.$ac_objext
45679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45680 (eval $ac_compile) 2>conftest.er1
45681 ac_status=$?
45682 grep -v '^ *+' conftest.er1 >conftest.err
45683 rm -f conftest.er1
45684 cat conftest.err >&5
45685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45686 (exit $ac_status); } &&
45687 { ac_try='test -z "$ac_cxx_werror_flag"
45688 || test ! -s conftest.err'
45689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45690 (eval $ac_try) 2>&5
45691 ac_status=$?
45692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45693 (exit $ac_status); }; } &&
45694 { ac_try='test -s conftest.$ac_objext'
45695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45696 (eval $ac_try) 2>&5
45697 ac_status=$?
45698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45699 (exit $ac_status); }; }; then
45700 glibcxx_cv_func__qfpclass_use=yes
45701 else
45702 echo "$as_me: failed program was:" >&5
45703 sed 's/^/| /' conftest.$ac_ext >&5
45705 glibcxx_cv_func__qfpclass_use=no
45707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45708 ac_ext=c
45709 ac_cpp='$CPP $CPPFLAGS'
45710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45718 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
45719 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
45721 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45723 for ac_func in _qfpclass
45725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45726 echo "$as_me:$LINENO: checking for $ac_func" >&5
45727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45728 if eval "test \"\${$as_ac_var+set}\" = set"; then
45729 echo $ECHO_N "(cached) $ECHO_C" >&6
45730 else
45731 if test x$gcc_no_link = xyes; then
45732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45734 { (exit 1); exit 1; }; }
45736 cat >conftest.$ac_ext <<_ACEOF
45737 /* confdefs.h. */
45738 _ACEOF
45739 cat confdefs.h >>conftest.$ac_ext
45740 cat >>conftest.$ac_ext <<_ACEOF
45741 /* end confdefs.h. */
45742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45744 #define $ac_func innocuous_$ac_func
45746 /* System header to define __stub macros and hopefully few prototypes,
45747 which can conflict with char $ac_func (); below.
45748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45749 <limits.h> exists even on freestanding compilers. */
45751 #ifdef __STDC__
45752 # include <limits.h>
45753 #else
45754 # include <assert.h>
45755 #endif
45757 #undef $ac_func
45759 /* Override any gcc2 internal prototype to avoid an error. */
45760 #ifdef __cplusplus
45761 extern "C"
45763 #endif
45764 /* We use char because int might match the return type of a gcc2
45765 builtin and then its argument prototype would still apply. */
45766 char $ac_func ();
45767 /* The GNU C library defines this for functions which it implements
45768 to always fail with ENOSYS. Some functions are actually named
45769 something starting with __ and the normal name is an alias. */
45770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45771 choke me
45772 #else
45773 char (*f) () = $ac_func;
45774 #endif
45775 #ifdef __cplusplus
45777 #endif
45780 main ()
45782 return f != $ac_func;
45784 return 0;
45786 _ACEOF
45787 rm -f conftest.$ac_objext conftest$ac_exeext
45788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45789 (eval $ac_link) 2>conftest.er1
45790 ac_status=$?
45791 grep -v '^ *+' conftest.er1 >conftest.err
45792 rm -f conftest.er1
45793 cat conftest.err >&5
45794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45795 (exit $ac_status); } &&
45796 { ac_try='test -z "$ac_c_werror_flag"
45797 || test ! -s conftest.err'
45798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45799 (eval $ac_try) 2>&5
45800 ac_status=$?
45801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45802 (exit $ac_status); }; } &&
45803 { ac_try='test -s conftest$ac_exeext'
45804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45805 (eval $ac_try) 2>&5
45806 ac_status=$?
45807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45808 (exit $ac_status); }; }; then
45809 eval "$as_ac_var=yes"
45810 else
45811 echo "$as_me: failed program was:" >&5
45812 sed 's/^/| /' conftest.$ac_ext >&5
45814 eval "$as_ac_var=no"
45816 rm -f conftest.err conftest.$ac_objext \
45817 conftest$ac_exeext conftest.$ac_ext
45819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45821 if test `eval echo '${'$as_ac_var'}'` = yes; then
45822 cat >>confdefs.h <<_ACEOF
45823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45824 _ACEOF
45827 done
45837 echo "$as_me:$LINENO: checking for hypot declaration" >&5
45838 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
45839 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45840 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
45841 echo $ECHO_N "(cached) $ECHO_C" >&6
45842 else
45846 ac_ext=cc
45847 ac_cpp='$CXXCPP $CPPFLAGS'
45848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45852 cat >conftest.$ac_ext <<_ACEOF
45853 /* confdefs.h. */
45854 _ACEOF
45855 cat confdefs.h >>conftest.$ac_ext
45856 cat >>conftest.$ac_ext <<_ACEOF
45857 /* end confdefs.h. */
45858 #include <math.h>
45860 main ()
45862 hypot(0, 0);
45864 return 0;
45866 _ACEOF
45867 rm -f conftest.$ac_objext
45868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45869 (eval $ac_compile) 2>conftest.er1
45870 ac_status=$?
45871 grep -v '^ *+' conftest.er1 >conftest.err
45872 rm -f conftest.er1
45873 cat conftest.err >&5
45874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45875 (exit $ac_status); } &&
45876 { ac_try='test -z "$ac_cxx_werror_flag"
45877 || test ! -s conftest.err'
45878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45879 (eval $ac_try) 2>&5
45880 ac_status=$?
45881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45882 (exit $ac_status); }; } &&
45883 { ac_try='test -s conftest.$ac_objext'
45884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45885 (eval $ac_try) 2>&5
45886 ac_status=$?
45887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45888 (exit $ac_status); }; }; then
45889 glibcxx_cv_func_hypot_use=yes
45890 else
45891 echo "$as_me: failed program was:" >&5
45892 sed 's/^/| /' conftest.$ac_ext >&5
45894 glibcxx_cv_func_hypot_use=no
45896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45897 ac_ext=c
45898 ac_cpp='$CPP $CPPFLAGS'
45899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45907 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
45908 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
45910 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45912 for ac_func in hypot
45914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45915 echo "$as_me:$LINENO: checking for $ac_func" >&5
45916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45917 if eval "test \"\${$as_ac_var+set}\" = set"; then
45918 echo $ECHO_N "(cached) $ECHO_C" >&6
45919 else
45920 if test x$gcc_no_link = xyes; then
45921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45923 { (exit 1); exit 1; }; }
45925 cat >conftest.$ac_ext <<_ACEOF
45926 /* confdefs.h. */
45927 _ACEOF
45928 cat confdefs.h >>conftest.$ac_ext
45929 cat >>conftest.$ac_ext <<_ACEOF
45930 /* end confdefs.h. */
45931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45933 #define $ac_func innocuous_$ac_func
45935 /* System header to define __stub macros and hopefully few prototypes,
45936 which can conflict with char $ac_func (); below.
45937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45938 <limits.h> exists even on freestanding compilers. */
45940 #ifdef __STDC__
45941 # include <limits.h>
45942 #else
45943 # include <assert.h>
45944 #endif
45946 #undef $ac_func
45948 /* Override any gcc2 internal prototype to avoid an error. */
45949 #ifdef __cplusplus
45950 extern "C"
45952 #endif
45953 /* We use char because int might match the return type of a gcc2
45954 builtin and then its argument prototype would still apply. */
45955 char $ac_func ();
45956 /* The GNU C library defines this for functions which it implements
45957 to always fail with ENOSYS. Some functions are actually named
45958 something starting with __ and the normal name is an alias. */
45959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45960 choke me
45961 #else
45962 char (*f) () = $ac_func;
45963 #endif
45964 #ifdef __cplusplus
45966 #endif
45969 main ()
45971 return f != $ac_func;
45973 return 0;
45975 _ACEOF
45976 rm -f conftest.$ac_objext conftest$ac_exeext
45977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45978 (eval $ac_link) 2>conftest.er1
45979 ac_status=$?
45980 grep -v '^ *+' conftest.er1 >conftest.err
45981 rm -f conftest.er1
45982 cat conftest.err >&5
45983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45984 (exit $ac_status); } &&
45985 { ac_try='test -z "$ac_c_werror_flag"
45986 || test ! -s conftest.err'
45987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45988 (eval $ac_try) 2>&5
45989 ac_status=$?
45990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45991 (exit $ac_status); }; } &&
45992 { ac_try='test -s conftest$ac_exeext'
45993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45994 (eval $ac_try) 2>&5
45995 ac_status=$?
45996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45997 (exit $ac_status); }; }; then
45998 eval "$as_ac_var=yes"
45999 else
46000 echo "$as_me: failed program was:" >&5
46001 sed 's/^/| /' conftest.$ac_ext >&5
46003 eval "$as_ac_var=no"
46005 rm -f conftest.err conftest.$ac_objext \
46006 conftest$ac_exeext conftest.$ac_ext
46008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46010 if test `eval echo '${'$as_ac_var'}'` = yes; then
46011 cat >>confdefs.h <<_ACEOF
46012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46013 _ACEOF
46016 done
46018 else
46020 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46021 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46022 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46023 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46024 echo $ECHO_N "(cached) $ECHO_C" >&6
46025 else
46029 ac_ext=cc
46030 ac_cpp='$CXXCPP $CPPFLAGS'
46031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46035 cat >conftest.$ac_ext <<_ACEOF
46036 /* confdefs.h. */
46037 _ACEOF
46038 cat confdefs.h >>conftest.$ac_ext
46039 cat >>conftest.$ac_ext <<_ACEOF
46040 /* end confdefs.h. */
46041 #include <math.h>
46043 main ()
46045 _hypot(0, 0);
46047 return 0;
46049 _ACEOF
46050 rm -f conftest.$ac_objext
46051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46052 (eval $ac_compile) 2>conftest.er1
46053 ac_status=$?
46054 grep -v '^ *+' conftest.er1 >conftest.err
46055 rm -f conftest.er1
46056 cat conftest.err >&5
46057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46058 (exit $ac_status); } &&
46059 { ac_try='test -z "$ac_cxx_werror_flag"
46060 || test ! -s conftest.err'
46061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46062 (eval $ac_try) 2>&5
46063 ac_status=$?
46064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46065 (exit $ac_status); }; } &&
46066 { ac_try='test -s conftest.$ac_objext'
46067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46068 (eval $ac_try) 2>&5
46069 ac_status=$?
46070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46071 (exit $ac_status); }; }; then
46072 glibcxx_cv_func__hypot_use=yes
46073 else
46074 echo "$as_me: failed program was:" >&5
46075 sed 's/^/| /' conftest.$ac_ext >&5
46077 glibcxx_cv_func__hypot_use=no
46079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46080 ac_ext=c
46081 ac_cpp='$CPP $CPPFLAGS'
46082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46090 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46091 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46093 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46095 for ac_func in _hypot
46097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46098 echo "$as_me:$LINENO: checking for $ac_func" >&5
46099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46100 if eval "test \"\${$as_ac_var+set}\" = set"; then
46101 echo $ECHO_N "(cached) $ECHO_C" >&6
46102 else
46103 if test x$gcc_no_link = xyes; then
46104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46106 { (exit 1); exit 1; }; }
46108 cat >conftest.$ac_ext <<_ACEOF
46109 /* confdefs.h. */
46110 _ACEOF
46111 cat confdefs.h >>conftest.$ac_ext
46112 cat >>conftest.$ac_ext <<_ACEOF
46113 /* end confdefs.h. */
46114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46116 #define $ac_func innocuous_$ac_func
46118 /* System header to define __stub macros and hopefully few prototypes,
46119 which can conflict with char $ac_func (); below.
46120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46121 <limits.h> exists even on freestanding compilers. */
46123 #ifdef __STDC__
46124 # include <limits.h>
46125 #else
46126 # include <assert.h>
46127 #endif
46129 #undef $ac_func
46131 /* Override any gcc2 internal prototype to avoid an error. */
46132 #ifdef __cplusplus
46133 extern "C"
46135 #endif
46136 /* We use char because int might match the return type of a gcc2
46137 builtin and then its argument prototype would still apply. */
46138 char $ac_func ();
46139 /* The GNU C library defines this for functions which it implements
46140 to always fail with ENOSYS. Some functions are actually named
46141 something starting with __ and the normal name is an alias. */
46142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46143 choke me
46144 #else
46145 char (*f) () = $ac_func;
46146 #endif
46147 #ifdef __cplusplus
46149 #endif
46152 main ()
46154 return f != $ac_func;
46156 return 0;
46158 _ACEOF
46159 rm -f conftest.$ac_objext conftest$ac_exeext
46160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46161 (eval $ac_link) 2>conftest.er1
46162 ac_status=$?
46163 grep -v '^ *+' conftest.er1 >conftest.err
46164 rm -f conftest.er1
46165 cat conftest.err >&5
46166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46167 (exit $ac_status); } &&
46168 { ac_try='test -z "$ac_c_werror_flag"
46169 || test ! -s conftest.err'
46170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46171 (eval $ac_try) 2>&5
46172 ac_status=$?
46173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46174 (exit $ac_status); }; } &&
46175 { ac_try='test -s conftest$ac_exeext'
46176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46177 (eval $ac_try) 2>&5
46178 ac_status=$?
46179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46180 (exit $ac_status); }; }; then
46181 eval "$as_ac_var=yes"
46182 else
46183 echo "$as_me: failed program was:" >&5
46184 sed 's/^/| /' conftest.$ac_ext >&5
46186 eval "$as_ac_var=no"
46188 rm -f conftest.err conftest.$ac_objext \
46189 conftest$ac_exeext conftest.$ac_ext
46191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46193 if test `eval echo '${'$as_ac_var'}'` = yes; then
46194 cat >>confdefs.h <<_ACEOF
46195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46196 _ACEOF
46199 done
46209 echo "$as_me:$LINENO: checking for float trig functions" >&5
46210 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
46211 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
46212 echo $ECHO_N "(cached) $ECHO_C" >&6
46213 else
46217 ac_ext=cc
46218 ac_cpp='$CXXCPP $CPPFLAGS'
46219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46223 cat >conftest.$ac_ext <<_ACEOF
46224 /* confdefs.h. */
46225 _ACEOF
46226 cat confdefs.h >>conftest.$ac_ext
46227 cat >>conftest.$ac_ext <<_ACEOF
46228 /* end confdefs.h. */
46229 #include <math.h>
46231 main ()
46233 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46235 return 0;
46237 _ACEOF
46238 rm -f conftest.$ac_objext
46239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46240 (eval $ac_compile) 2>conftest.er1
46241 ac_status=$?
46242 grep -v '^ *+' conftest.er1 >conftest.err
46243 rm -f conftest.er1
46244 cat conftest.err >&5
46245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46246 (exit $ac_status); } &&
46247 { ac_try='test -z "$ac_cxx_werror_flag"
46248 || test ! -s conftest.err'
46249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46250 (eval $ac_try) 2>&5
46251 ac_status=$?
46252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46253 (exit $ac_status); }; } &&
46254 { ac_try='test -s conftest.$ac_objext'
46255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46256 (eval $ac_try) 2>&5
46257 ac_status=$?
46258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46259 (exit $ac_status); }; }; then
46260 glibcxx_cv_func_float_trig_use=yes
46261 else
46262 echo "$as_me: failed program was:" >&5
46263 sed 's/^/| /' conftest.$ac_ext >&5
46265 glibcxx_cv_func_float_trig_use=no
46267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46268 ac_ext=c
46269 ac_cpp='$CPP $CPPFLAGS'
46270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46276 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
46277 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
46278 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46288 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46291 echo "$as_me:$LINENO: checking for $ac_func" >&5
46292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46293 if eval "test \"\${$as_ac_var+set}\" = set"; then
46294 echo $ECHO_N "(cached) $ECHO_C" >&6
46295 else
46296 if test x$gcc_no_link = xyes; then
46297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46299 { (exit 1); exit 1; }; }
46301 cat >conftest.$ac_ext <<_ACEOF
46302 /* confdefs.h. */
46303 _ACEOF
46304 cat confdefs.h >>conftest.$ac_ext
46305 cat >>conftest.$ac_ext <<_ACEOF
46306 /* end confdefs.h. */
46307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46309 #define $ac_func innocuous_$ac_func
46311 /* System header to define __stub macros and hopefully few prototypes,
46312 which can conflict with char $ac_func (); below.
46313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46314 <limits.h> exists even on freestanding compilers. */
46316 #ifdef __STDC__
46317 # include <limits.h>
46318 #else
46319 # include <assert.h>
46320 #endif
46322 #undef $ac_func
46324 /* Override any gcc2 internal prototype to avoid an error. */
46325 #ifdef __cplusplus
46326 extern "C"
46328 #endif
46329 /* We use char because int might match the return type of a gcc2
46330 builtin and then its argument prototype would still apply. */
46331 char $ac_func ();
46332 /* The GNU C library defines this for functions which it implements
46333 to always fail with ENOSYS. Some functions are actually named
46334 something starting with __ and the normal name is an alias. */
46335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46336 choke me
46337 #else
46338 char (*f) () = $ac_func;
46339 #endif
46340 #ifdef __cplusplus
46342 #endif
46345 main ()
46347 return f != $ac_func;
46349 return 0;
46351 _ACEOF
46352 rm -f conftest.$ac_objext conftest$ac_exeext
46353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46354 (eval $ac_link) 2>conftest.er1
46355 ac_status=$?
46356 grep -v '^ *+' conftest.er1 >conftest.err
46357 rm -f conftest.er1
46358 cat conftest.err >&5
46359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46360 (exit $ac_status); } &&
46361 { ac_try='test -z "$ac_c_werror_flag"
46362 || test ! -s conftest.err'
46363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46364 (eval $ac_try) 2>&5
46365 ac_status=$?
46366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46367 (exit $ac_status); }; } &&
46368 { ac_try='test -s conftest$ac_exeext'
46369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46370 (eval $ac_try) 2>&5
46371 ac_status=$?
46372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46373 (exit $ac_status); }; }; then
46374 eval "$as_ac_var=yes"
46375 else
46376 echo "$as_me: failed program was:" >&5
46377 sed 's/^/| /' conftest.$ac_ext >&5
46379 eval "$as_ac_var=no"
46381 rm -f conftest.err conftest.$ac_objext \
46382 conftest$ac_exeext conftest.$ac_ext
46384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46386 if test `eval echo '${'$as_ac_var'}'` = yes; then
46387 cat >>confdefs.h <<_ACEOF
46388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46389 _ACEOF
46392 done
46394 else
46395 echo "$as_me:$LINENO: checking for _float trig functions" >&5
46396 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46397 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46398 echo $ECHO_N "(cached) $ECHO_C" >&6
46399 else
46403 ac_ext=cc
46404 ac_cpp='$CXXCPP $CPPFLAGS'
46405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46409 cat >conftest.$ac_ext <<_ACEOF
46410 /* confdefs.h. */
46411 _ACEOF
46412 cat confdefs.h >>conftest.$ac_ext
46413 cat >>conftest.$ac_ext <<_ACEOF
46414 /* end confdefs.h. */
46415 #include <math.h>
46417 main ()
46419 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46421 return 0;
46423 _ACEOF
46424 rm -f conftest.$ac_objext
46425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46426 (eval $ac_compile) 2>conftest.er1
46427 ac_status=$?
46428 grep -v '^ *+' conftest.er1 >conftest.err
46429 rm -f conftest.er1
46430 cat conftest.err >&5
46431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46432 (exit $ac_status); } &&
46433 { ac_try='test -z "$ac_cxx_werror_flag"
46434 || test ! -s conftest.err'
46435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46436 (eval $ac_try) 2>&5
46437 ac_status=$?
46438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46439 (exit $ac_status); }; } &&
46440 { ac_try='test -s conftest.$ac_objext'
46441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46442 (eval $ac_try) 2>&5
46443 ac_status=$?
46444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46445 (exit $ac_status); }; }; then
46446 glibcxx_cv_func__float_trig_use=yes
46447 else
46448 echo "$as_me: failed program was:" >&5
46449 sed 's/^/| /' conftest.$ac_ext >&5
46451 glibcxx_cv_func__float_trig_use=no
46453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46454 ac_ext=c
46455 ac_cpp='$CPP $CPPFLAGS'
46456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46462 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46463 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46464 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46474 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46477 echo "$as_me:$LINENO: checking for $ac_func" >&5
46478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46479 if eval "test \"\${$as_ac_var+set}\" = set"; then
46480 echo $ECHO_N "(cached) $ECHO_C" >&6
46481 else
46482 if test x$gcc_no_link = xyes; then
46483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46485 { (exit 1); exit 1; }; }
46487 cat >conftest.$ac_ext <<_ACEOF
46488 /* confdefs.h. */
46489 _ACEOF
46490 cat confdefs.h >>conftest.$ac_ext
46491 cat >>conftest.$ac_ext <<_ACEOF
46492 /* end confdefs.h. */
46493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46495 #define $ac_func innocuous_$ac_func
46497 /* System header to define __stub macros and hopefully few prototypes,
46498 which can conflict with char $ac_func (); below.
46499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46500 <limits.h> exists even on freestanding compilers. */
46502 #ifdef __STDC__
46503 # include <limits.h>
46504 #else
46505 # include <assert.h>
46506 #endif
46508 #undef $ac_func
46510 /* Override any gcc2 internal prototype to avoid an error. */
46511 #ifdef __cplusplus
46512 extern "C"
46514 #endif
46515 /* We use char because int might match the return type of a gcc2
46516 builtin and then its argument prototype would still apply. */
46517 char $ac_func ();
46518 /* The GNU C library defines this for functions which it implements
46519 to always fail with ENOSYS. Some functions are actually named
46520 something starting with __ and the normal name is an alias. */
46521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46522 choke me
46523 #else
46524 char (*f) () = $ac_func;
46525 #endif
46526 #ifdef __cplusplus
46528 #endif
46531 main ()
46533 return f != $ac_func;
46535 return 0;
46537 _ACEOF
46538 rm -f conftest.$ac_objext conftest$ac_exeext
46539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46540 (eval $ac_link) 2>conftest.er1
46541 ac_status=$?
46542 grep -v '^ *+' conftest.er1 >conftest.err
46543 rm -f conftest.er1
46544 cat conftest.err >&5
46545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46546 (exit $ac_status); } &&
46547 { ac_try='test -z "$ac_c_werror_flag"
46548 || test ! -s conftest.err'
46549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46550 (eval $ac_try) 2>&5
46551 ac_status=$?
46552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46553 (exit $ac_status); }; } &&
46554 { ac_try='test -s conftest$ac_exeext'
46555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46556 (eval $ac_try) 2>&5
46557 ac_status=$?
46558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46559 (exit $ac_status); }; }; then
46560 eval "$as_ac_var=yes"
46561 else
46562 echo "$as_me: failed program was:" >&5
46563 sed 's/^/| /' conftest.$ac_ext >&5
46565 eval "$as_ac_var=no"
46567 rm -f conftest.err conftest.$ac_objext \
46568 conftest$ac_exeext conftest.$ac_ext
46570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46572 if test `eval echo '${'$as_ac_var'}'` = yes; then
46573 cat >>confdefs.h <<_ACEOF
46574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46575 _ACEOF
46578 done
46596 echo "$as_me:$LINENO: checking for float round functions" >&5
46597 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
46598 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
46599 echo $ECHO_N "(cached) $ECHO_C" >&6
46600 else
46604 ac_ext=cc
46605 ac_cpp='$CXXCPP $CPPFLAGS'
46606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46610 cat >conftest.$ac_ext <<_ACEOF
46611 /* confdefs.h. */
46612 _ACEOF
46613 cat confdefs.h >>conftest.$ac_ext
46614 cat >>conftest.$ac_ext <<_ACEOF
46615 /* end confdefs.h. */
46616 #include <math.h>
46618 main ()
46620 ceilf (0); floorf (0);
46622 return 0;
46624 _ACEOF
46625 rm -f conftest.$ac_objext
46626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46627 (eval $ac_compile) 2>conftest.er1
46628 ac_status=$?
46629 grep -v '^ *+' conftest.er1 >conftest.err
46630 rm -f conftest.er1
46631 cat conftest.err >&5
46632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46633 (exit $ac_status); } &&
46634 { ac_try='test -z "$ac_cxx_werror_flag"
46635 || test ! -s conftest.err'
46636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46637 (eval $ac_try) 2>&5
46638 ac_status=$?
46639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46640 (exit $ac_status); }; } &&
46641 { ac_try='test -s conftest.$ac_objext'
46642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46643 (eval $ac_try) 2>&5
46644 ac_status=$?
46645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46646 (exit $ac_status); }; }; then
46647 glibcxx_cv_func_float_round_use=yes
46648 else
46649 echo "$as_me: failed program was:" >&5
46650 sed 's/^/| /' conftest.$ac_ext >&5
46652 glibcxx_cv_func_float_round_use=no
46654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46655 ac_ext=c
46656 ac_cpp='$CPP $CPPFLAGS'
46657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46663 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
46664 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
46665 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46668 for ac_func in ceilf floorf
46670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46671 echo "$as_me:$LINENO: checking for $ac_func" >&5
46672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46673 if eval "test \"\${$as_ac_var+set}\" = set"; then
46674 echo $ECHO_N "(cached) $ECHO_C" >&6
46675 else
46676 if test x$gcc_no_link = xyes; then
46677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46679 { (exit 1); exit 1; }; }
46681 cat >conftest.$ac_ext <<_ACEOF
46682 /* confdefs.h. */
46683 _ACEOF
46684 cat confdefs.h >>conftest.$ac_ext
46685 cat >>conftest.$ac_ext <<_ACEOF
46686 /* end confdefs.h. */
46687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46689 #define $ac_func innocuous_$ac_func
46691 /* System header to define __stub macros and hopefully few prototypes,
46692 which can conflict with char $ac_func (); below.
46693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46694 <limits.h> exists even on freestanding compilers. */
46696 #ifdef __STDC__
46697 # include <limits.h>
46698 #else
46699 # include <assert.h>
46700 #endif
46702 #undef $ac_func
46704 /* Override any gcc2 internal prototype to avoid an error. */
46705 #ifdef __cplusplus
46706 extern "C"
46708 #endif
46709 /* We use char because int might match the return type of a gcc2
46710 builtin and then its argument prototype would still apply. */
46711 char $ac_func ();
46712 /* The GNU C library defines this for functions which it implements
46713 to always fail with ENOSYS. Some functions are actually named
46714 something starting with __ and the normal name is an alias. */
46715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46716 choke me
46717 #else
46718 char (*f) () = $ac_func;
46719 #endif
46720 #ifdef __cplusplus
46722 #endif
46725 main ()
46727 return f != $ac_func;
46729 return 0;
46731 _ACEOF
46732 rm -f conftest.$ac_objext conftest$ac_exeext
46733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46734 (eval $ac_link) 2>conftest.er1
46735 ac_status=$?
46736 grep -v '^ *+' conftest.er1 >conftest.err
46737 rm -f conftest.er1
46738 cat conftest.err >&5
46739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46740 (exit $ac_status); } &&
46741 { ac_try='test -z "$ac_c_werror_flag"
46742 || test ! -s conftest.err'
46743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46744 (eval $ac_try) 2>&5
46745 ac_status=$?
46746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46747 (exit $ac_status); }; } &&
46748 { ac_try='test -s conftest$ac_exeext'
46749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46750 (eval $ac_try) 2>&5
46751 ac_status=$?
46752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46753 (exit $ac_status); }; }; then
46754 eval "$as_ac_var=yes"
46755 else
46756 echo "$as_me: failed program was:" >&5
46757 sed 's/^/| /' conftest.$ac_ext >&5
46759 eval "$as_ac_var=no"
46761 rm -f conftest.err conftest.$ac_objext \
46762 conftest$ac_exeext conftest.$ac_ext
46764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46766 if test `eval echo '${'$as_ac_var'}'` = yes; then
46767 cat >>confdefs.h <<_ACEOF
46768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46769 _ACEOF
46772 done
46774 else
46775 echo "$as_me:$LINENO: checking for _float round functions" >&5
46776 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
46777 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
46778 echo $ECHO_N "(cached) $ECHO_C" >&6
46779 else
46783 ac_ext=cc
46784 ac_cpp='$CXXCPP $CPPFLAGS'
46785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46789 cat >conftest.$ac_ext <<_ACEOF
46790 /* confdefs.h. */
46791 _ACEOF
46792 cat confdefs.h >>conftest.$ac_ext
46793 cat >>conftest.$ac_ext <<_ACEOF
46794 /* end confdefs.h. */
46795 #include <math.h>
46797 main ()
46799 _ceilf (0); _floorf (0);
46801 return 0;
46803 _ACEOF
46804 rm -f conftest.$ac_objext
46805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46806 (eval $ac_compile) 2>conftest.er1
46807 ac_status=$?
46808 grep -v '^ *+' conftest.er1 >conftest.err
46809 rm -f conftest.er1
46810 cat conftest.err >&5
46811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46812 (exit $ac_status); } &&
46813 { ac_try='test -z "$ac_cxx_werror_flag"
46814 || test ! -s conftest.err'
46815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46816 (eval $ac_try) 2>&5
46817 ac_status=$?
46818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46819 (exit $ac_status); }; } &&
46820 { ac_try='test -s conftest.$ac_objext'
46821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46822 (eval $ac_try) 2>&5
46823 ac_status=$?
46824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46825 (exit $ac_status); }; }; then
46826 glibcxx_cv_func__float_round_use=yes
46827 else
46828 echo "$as_me: failed program was:" >&5
46829 sed 's/^/| /' conftest.$ac_ext >&5
46831 glibcxx_cv_func__float_round_use=no
46833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46834 ac_ext=c
46835 ac_cpp='$CPP $CPPFLAGS'
46836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46842 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
46843 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
46844 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46847 for ac_func in _ceilf _floorf
46849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46850 echo "$as_me:$LINENO: checking for $ac_func" >&5
46851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46852 if eval "test \"\${$as_ac_var+set}\" = set"; then
46853 echo $ECHO_N "(cached) $ECHO_C" >&6
46854 else
46855 if test x$gcc_no_link = xyes; then
46856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46858 { (exit 1); exit 1; }; }
46860 cat >conftest.$ac_ext <<_ACEOF
46861 /* confdefs.h. */
46862 _ACEOF
46863 cat confdefs.h >>conftest.$ac_ext
46864 cat >>conftest.$ac_ext <<_ACEOF
46865 /* end confdefs.h. */
46866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46868 #define $ac_func innocuous_$ac_func
46870 /* System header to define __stub macros and hopefully few prototypes,
46871 which can conflict with char $ac_func (); below.
46872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46873 <limits.h> exists even on freestanding compilers. */
46875 #ifdef __STDC__
46876 # include <limits.h>
46877 #else
46878 # include <assert.h>
46879 #endif
46881 #undef $ac_func
46883 /* Override any gcc2 internal prototype to avoid an error. */
46884 #ifdef __cplusplus
46885 extern "C"
46887 #endif
46888 /* We use char because int might match the return type of a gcc2
46889 builtin and then its argument prototype would still apply. */
46890 char $ac_func ();
46891 /* The GNU C library defines this for functions which it implements
46892 to always fail with ENOSYS. Some functions are actually named
46893 something starting with __ and the normal name is an alias. */
46894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46895 choke me
46896 #else
46897 char (*f) () = $ac_func;
46898 #endif
46899 #ifdef __cplusplus
46901 #endif
46904 main ()
46906 return f != $ac_func;
46908 return 0;
46910 _ACEOF
46911 rm -f conftest.$ac_objext conftest$ac_exeext
46912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46913 (eval $ac_link) 2>conftest.er1
46914 ac_status=$?
46915 grep -v '^ *+' conftest.er1 >conftest.err
46916 rm -f conftest.er1
46917 cat conftest.err >&5
46918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46919 (exit $ac_status); } &&
46920 { ac_try='test -z "$ac_c_werror_flag"
46921 || test ! -s conftest.err'
46922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46923 (eval $ac_try) 2>&5
46924 ac_status=$?
46925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46926 (exit $ac_status); }; } &&
46927 { ac_try='test -s conftest$ac_exeext'
46928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46929 (eval $ac_try) 2>&5
46930 ac_status=$?
46931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46932 (exit $ac_status); }; }; then
46933 eval "$as_ac_var=yes"
46934 else
46935 echo "$as_me: failed program was:" >&5
46936 sed 's/^/| /' conftest.$ac_ext >&5
46938 eval "$as_ac_var=no"
46940 rm -f conftest.err conftest.$ac_objext \
46941 conftest$ac_exeext conftest.$ac_ext
46943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46945 if test `eval echo '${'$as_ac_var'}'` = yes; then
46946 cat >>confdefs.h <<_ACEOF
46947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46948 _ACEOF
46951 done
46963 echo "$as_me:$LINENO: checking for expf declaration" >&5
46964 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
46965 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46966 if test "${glibcxx_cv_func_expf_use+set}" = set; then
46967 echo $ECHO_N "(cached) $ECHO_C" >&6
46968 else
46972 ac_ext=cc
46973 ac_cpp='$CXXCPP $CPPFLAGS'
46974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46978 cat >conftest.$ac_ext <<_ACEOF
46979 /* confdefs.h. */
46980 _ACEOF
46981 cat confdefs.h >>conftest.$ac_ext
46982 cat >>conftest.$ac_ext <<_ACEOF
46983 /* end confdefs.h. */
46984 #include <math.h>
46985 #ifdef HAVE_IEEEFP_H
46986 #include <ieeefp.h>
46987 #endif
46990 main ()
46992 expf(0);
46994 return 0;
46996 _ACEOF
46997 rm -f conftest.$ac_objext
46998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46999 (eval $ac_compile) 2>conftest.er1
47000 ac_status=$?
47001 grep -v '^ *+' conftest.er1 >conftest.err
47002 rm -f conftest.er1
47003 cat conftest.err >&5
47004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47005 (exit $ac_status); } &&
47006 { ac_try='test -z "$ac_cxx_werror_flag"
47007 || test ! -s conftest.err'
47008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47009 (eval $ac_try) 2>&5
47010 ac_status=$?
47011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47012 (exit $ac_status); }; } &&
47013 { ac_try='test -s conftest.$ac_objext'
47014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47015 (eval $ac_try) 2>&5
47016 ac_status=$?
47017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47018 (exit $ac_status); }; }; then
47019 glibcxx_cv_func_expf_use=yes
47020 else
47021 echo "$as_me: failed program was:" >&5
47022 sed 's/^/| /' conftest.$ac_ext >&5
47024 glibcxx_cv_func_expf_use=no
47026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47027 ac_ext=c
47028 ac_cpp='$CPP $CPPFLAGS'
47029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47037 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47038 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47040 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47042 for ac_func in expf
47044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47045 echo "$as_me:$LINENO: checking for $ac_func" >&5
47046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47047 if eval "test \"\${$as_ac_var+set}\" = set"; then
47048 echo $ECHO_N "(cached) $ECHO_C" >&6
47049 else
47050 if test x$gcc_no_link = xyes; then
47051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47053 { (exit 1); exit 1; }; }
47055 cat >conftest.$ac_ext <<_ACEOF
47056 /* confdefs.h. */
47057 _ACEOF
47058 cat confdefs.h >>conftest.$ac_ext
47059 cat >>conftest.$ac_ext <<_ACEOF
47060 /* end confdefs.h. */
47061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47063 #define $ac_func innocuous_$ac_func
47065 /* System header to define __stub macros and hopefully few prototypes,
47066 which can conflict with char $ac_func (); below.
47067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47068 <limits.h> exists even on freestanding compilers. */
47070 #ifdef __STDC__
47071 # include <limits.h>
47072 #else
47073 # include <assert.h>
47074 #endif
47076 #undef $ac_func
47078 /* Override any gcc2 internal prototype to avoid an error. */
47079 #ifdef __cplusplus
47080 extern "C"
47082 #endif
47083 /* We use char because int might match the return type of a gcc2
47084 builtin and then its argument prototype would still apply. */
47085 char $ac_func ();
47086 /* The GNU C library defines this for functions which it implements
47087 to always fail with ENOSYS. Some functions are actually named
47088 something starting with __ and the normal name is an alias. */
47089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47090 choke me
47091 #else
47092 char (*f) () = $ac_func;
47093 #endif
47094 #ifdef __cplusplus
47096 #endif
47099 main ()
47101 return f != $ac_func;
47103 return 0;
47105 _ACEOF
47106 rm -f conftest.$ac_objext conftest$ac_exeext
47107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47108 (eval $ac_link) 2>conftest.er1
47109 ac_status=$?
47110 grep -v '^ *+' conftest.er1 >conftest.err
47111 rm -f conftest.er1
47112 cat conftest.err >&5
47113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47114 (exit $ac_status); } &&
47115 { ac_try='test -z "$ac_c_werror_flag"
47116 || test ! -s conftest.err'
47117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47118 (eval $ac_try) 2>&5
47119 ac_status=$?
47120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47121 (exit $ac_status); }; } &&
47122 { ac_try='test -s conftest$ac_exeext'
47123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47124 (eval $ac_try) 2>&5
47125 ac_status=$?
47126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47127 (exit $ac_status); }; }; then
47128 eval "$as_ac_var=yes"
47129 else
47130 echo "$as_me: failed program was:" >&5
47131 sed 's/^/| /' conftest.$ac_ext >&5
47133 eval "$as_ac_var=no"
47135 rm -f conftest.err conftest.$ac_objext \
47136 conftest$ac_exeext conftest.$ac_ext
47138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47140 if test `eval echo '${'$as_ac_var'}'` = yes; then
47141 cat >>confdefs.h <<_ACEOF
47142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47143 _ACEOF
47146 done
47148 else
47150 echo "$as_me:$LINENO: checking for _expf declaration" >&5
47151 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
47152 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47153 if test "${glibcxx_cv_func__expf_use+set}" = set; then
47154 echo $ECHO_N "(cached) $ECHO_C" >&6
47155 else
47159 ac_ext=cc
47160 ac_cpp='$CXXCPP $CPPFLAGS'
47161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47165 cat >conftest.$ac_ext <<_ACEOF
47166 /* confdefs.h. */
47167 _ACEOF
47168 cat confdefs.h >>conftest.$ac_ext
47169 cat >>conftest.$ac_ext <<_ACEOF
47170 /* end confdefs.h. */
47171 #include <math.h>
47172 #ifdef HAVE_IEEEFP_H
47173 #include <ieeefp.h>
47174 #endif
47177 main ()
47179 _expf(0);
47181 return 0;
47183 _ACEOF
47184 rm -f conftest.$ac_objext
47185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47186 (eval $ac_compile) 2>conftest.er1
47187 ac_status=$?
47188 grep -v '^ *+' conftest.er1 >conftest.err
47189 rm -f conftest.er1
47190 cat conftest.err >&5
47191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47192 (exit $ac_status); } &&
47193 { ac_try='test -z "$ac_cxx_werror_flag"
47194 || test ! -s conftest.err'
47195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47196 (eval $ac_try) 2>&5
47197 ac_status=$?
47198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47199 (exit $ac_status); }; } &&
47200 { ac_try='test -s conftest.$ac_objext'
47201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47202 (eval $ac_try) 2>&5
47203 ac_status=$?
47204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47205 (exit $ac_status); }; }; then
47206 glibcxx_cv_func__expf_use=yes
47207 else
47208 echo "$as_me: failed program was:" >&5
47209 sed 's/^/| /' conftest.$ac_ext >&5
47211 glibcxx_cv_func__expf_use=no
47213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47214 ac_ext=c
47215 ac_cpp='$CPP $CPPFLAGS'
47216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47224 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
47225 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
47227 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47229 for ac_func in _expf
47231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47232 echo "$as_me:$LINENO: checking for $ac_func" >&5
47233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47234 if eval "test \"\${$as_ac_var+set}\" = set"; then
47235 echo $ECHO_N "(cached) $ECHO_C" >&6
47236 else
47237 if test x$gcc_no_link = xyes; then
47238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47240 { (exit 1); exit 1; }; }
47242 cat >conftest.$ac_ext <<_ACEOF
47243 /* confdefs.h. */
47244 _ACEOF
47245 cat confdefs.h >>conftest.$ac_ext
47246 cat >>conftest.$ac_ext <<_ACEOF
47247 /* end confdefs.h. */
47248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47250 #define $ac_func innocuous_$ac_func
47252 /* System header to define __stub macros and hopefully few prototypes,
47253 which can conflict with char $ac_func (); below.
47254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47255 <limits.h> exists even on freestanding compilers. */
47257 #ifdef __STDC__
47258 # include <limits.h>
47259 #else
47260 # include <assert.h>
47261 #endif
47263 #undef $ac_func
47265 /* Override any gcc2 internal prototype to avoid an error. */
47266 #ifdef __cplusplus
47267 extern "C"
47269 #endif
47270 /* We use char because int might match the return type of a gcc2
47271 builtin and then its argument prototype would still apply. */
47272 char $ac_func ();
47273 /* The GNU C library defines this for functions which it implements
47274 to always fail with ENOSYS. Some functions are actually named
47275 something starting with __ and the normal name is an alias. */
47276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47277 choke me
47278 #else
47279 char (*f) () = $ac_func;
47280 #endif
47281 #ifdef __cplusplus
47283 #endif
47286 main ()
47288 return f != $ac_func;
47290 return 0;
47292 _ACEOF
47293 rm -f conftest.$ac_objext conftest$ac_exeext
47294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47295 (eval $ac_link) 2>conftest.er1
47296 ac_status=$?
47297 grep -v '^ *+' conftest.er1 >conftest.err
47298 rm -f conftest.er1
47299 cat conftest.err >&5
47300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47301 (exit $ac_status); } &&
47302 { ac_try='test -z "$ac_c_werror_flag"
47303 || test ! -s conftest.err'
47304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47305 (eval $ac_try) 2>&5
47306 ac_status=$?
47307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47308 (exit $ac_status); }; } &&
47309 { ac_try='test -s conftest$ac_exeext'
47310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47311 (eval $ac_try) 2>&5
47312 ac_status=$?
47313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47314 (exit $ac_status); }; }; then
47315 eval "$as_ac_var=yes"
47316 else
47317 echo "$as_me: failed program was:" >&5
47318 sed 's/^/| /' conftest.$ac_ext >&5
47320 eval "$as_ac_var=no"
47322 rm -f conftest.err conftest.$ac_objext \
47323 conftest$ac_exeext conftest.$ac_ext
47325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47327 if test `eval echo '${'$as_ac_var'}'` = yes; then
47328 cat >>confdefs.h <<_ACEOF
47329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47330 _ACEOF
47333 done
47343 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
47344 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
47345 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47346 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
47347 echo $ECHO_N "(cached) $ECHO_C" >&6
47348 else
47352 ac_ext=cc
47353 ac_cpp='$CXXCPP $CPPFLAGS'
47354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47358 cat >conftest.$ac_ext <<_ACEOF
47359 /* confdefs.h. */
47360 _ACEOF
47361 cat confdefs.h >>conftest.$ac_ext
47362 cat >>conftest.$ac_ext <<_ACEOF
47363 /* end confdefs.h. */
47364 #include <math.h>
47365 #ifdef HAVE_IEEEFP_H
47366 #include <ieeefp.h>
47367 #endif
47370 main ()
47372 isnanf(0);
47374 return 0;
47376 _ACEOF
47377 rm -f conftest.$ac_objext
47378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47379 (eval $ac_compile) 2>conftest.er1
47380 ac_status=$?
47381 grep -v '^ *+' conftest.er1 >conftest.err
47382 rm -f conftest.er1
47383 cat conftest.err >&5
47384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47385 (exit $ac_status); } &&
47386 { ac_try='test -z "$ac_cxx_werror_flag"
47387 || test ! -s conftest.err'
47388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47389 (eval $ac_try) 2>&5
47390 ac_status=$?
47391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47392 (exit $ac_status); }; } &&
47393 { ac_try='test -s conftest.$ac_objext'
47394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47395 (eval $ac_try) 2>&5
47396 ac_status=$?
47397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47398 (exit $ac_status); }; }; then
47399 glibcxx_cv_func_isnanf_use=yes
47400 else
47401 echo "$as_me: failed program was:" >&5
47402 sed 's/^/| /' conftest.$ac_ext >&5
47404 glibcxx_cv_func_isnanf_use=no
47406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47407 ac_ext=c
47408 ac_cpp='$CPP $CPPFLAGS'
47409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47417 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
47418 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
47420 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47422 for ac_func in isnanf
47424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47425 echo "$as_me:$LINENO: checking for $ac_func" >&5
47426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47427 if eval "test \"\${$as_ac_var+set}\" = set"; then
47428 echo $ECHO_N "(cached) $ECHO_C" >&6
47429 else
47430 if test x$gcc_no_link = xyes; then
47431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47433 { (exit 1); exit 1; }; }
47435 cat >conftest.$ac_ext <<_ACEOF
47436 /* confdefs.h. */
47437 _ACEOF
47438 cat confdefs.h >>conftest.$ac_ext
47439 cat >>conftest.$ac_ext <<_ACEOF
47440 /* end confdefs.h. */
47441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47443 #define $ac_func innocuous_$ac_func
47445 /* System header to define __stub macros and hopefully few prototypes,
47446 which can conflict with char $ac_func (); below.
47447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47448 <limits.h> exists even on freestanding compilers. */
47450 #ifdef __STDC__
47451 # include <limits.h>
47452 #else
47453 # include <assert.h>
47454 #endif
47456 #undef $ac_func
47458 /* Override any gcc2 internal prototype to avoid an error. */
47459 #ifdef __cplusplus
47460 extern "C"
47462 #endif
47463 /* We use char because int might match the return type of a gcc2
47464 builtin and then its argument prototype would still apply. */
47465 char $ac_func ();
47466 /* The GNU C library defines this for functions which it implements
47467 to always fail with ENOSYS. Some functions are actually named
47468 something starting with __ and the normal name is an alias. */
47469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47470 choke me
47471 #else
47472 char (*f) () = $ac_func;
47473 #endif
47474 #ifdef __cplusplus
47476 #endif
47479 main ()
47481 return f != $ac_func;
47483 return 0;
47485 _ACEOF
47486 rm -f conftest.$ac_objext conftest$ac_exeext
47487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47488 (eval $ac_link) 2>conftest.er1
47489 ac_status=$?
47490 grep -v '^ *+' conftest.er1 >conftest.err
47491 rm -f conftest.er1
47492 cat conftest.err >&5
47493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47494 (exit $ac_status); } &&
47495 { ac_try='test -z "$ac_c_werror_flag"
47496 || test ! -s conftest.err'
47497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47498 (eval $ac_try) 2>&5
47499 ac_status=$?
47500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47501 (exit $ac_status); }; } &&
47502 { ac_try='test -s conftest$ac_exeext'
47503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47504 (eval $ac_try) 2>&5
47505 ac_status=$?
47506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47507 (exit $ac_status); }; }; then
47508 eval "$as_ac_var=yes"
47509 else
47510 echo "$as_me: failed program was:" >&5
47511 sed 's/^/| /' conftest.$ac_ext >&5
47513 eval "$as_ac_var=no"
47515 rm -f conftest.err conftest.$ac_objext \
47516 conftest$ac_exeext conftest.$ac_ext
47518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47520 if test `eval echo '${'$as_ac_var'}'` = yes; then
47521 cat >>confdefs.h <<_ACEOF
47522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47523 _ACEOF
47526 done
47528 else
47530 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
47531 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
47532 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47533 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
47534 echo $ECHO_N "(cached) $ECHO_C" >&6
47535 else
47539 ac_ext=cc
47540 ac_cpp='$CXXCPP $CPPFLAGS'
47541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47545 cat >conftest.$ac_ext <<_ACEOF
47546 /* confdefs.h. */
47547 _ACEOF
47548 cat confdefs.h >>conftest.$ac_ext
47549 cat >>conftest.$ac_ext <<_ACEOF
47550 /* end confdefs.h. */
47551 #include <math.h>
47552 #ifdef HAVE_IEEEFP_H
47553 #include <ieeefp.h>
47554 #endif
47557 main ()
47559 _isnanf(0);
47561 return 0;
47563 _ACEOF
47564 rm -f conftest.$ac_objext
47565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47566 (eval $ac_compile) 2>conftest.er1
47567 ac_status=$?
47568 grep -v '^ *+' conftest.er1 >conftest.err
47569 rm -f conftest.er1
47570 cat conftest.err >&5
47571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47572 (exit $ac_status); } &&
47573 { ac_try='test -z "$ac_cxx_werror_flag"
47574 || test ! -s conftest.err'
47575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47576 (eval $ac_try) 2>&5
47577 ac_status=$?
47578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47579 (exit $ac_status); }; } &&
47580 { ac_try='test -s conftest.$ac_objext'
47581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47582 (eval $ac_try) 2>&5
47583 ac_status=$?
47584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47585 (exit $ac_status); }; }; then
47586 glibcxx_cv_func__isnanf_use=yes
47587 else
47588 echo "$as_me: failed program was:" >&5
47589 sed 's/^/| /' conftest.$ac_ext >&5
47591 glibcxx_cv_func__isnanf_use=no
47593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47594 ac_ext=c
47595 ac_cpp='$CPP $CPPFLAGS'
47596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47604 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
47605 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
47607 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47609 for ac_func in _isnanf
47611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47612 echo "$as_me:$LINENO: checking for $ac_func" >&5
47613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47614 if eval "test \"\${$as_ac_var+set}\" = set"; then
47615 echo $ECHO_N "(cached) $ECHO_C" >&6
47616 else
47617 if test x$gcc_no_link = xyes; then
47618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47620 { (exit 1); exit 1; }; }
47622 cat >conftest.$ac_ext <<_ACEOF
47623 /* confdefs.h. */
47624 _ACEOF
47625 cat confdefs.h >>conftest.$ac_ext
47626 cat >>conftest.$ac_ext <<_ACEOF
47627 /* end confdefs.h. */
47628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47630 #define $ac_func innocuous_$ac_func
47632 /* System header to define __stub macros and hopefully few prototypes,
47633 which can conflict with char $ac_func (); below.
47634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47635 <limits.h> exists even on freestanding compilers. */
47637 #ifdef __STDC__
47638 # include <limits.h>
47639 #else
47640 # include <assert.h>
47641 #endif
47643 #undef $ac_func
47645 /* Override any gcc2 internal prototype to avoid an error. */
47646 #ifdef __cplusplus
47647 extern "C"
47649 #endif
47650 /* We use char because int might match the return type of a gcc2
47651 builtin and then its argument prototype would still apply. */
47652 char $ac_func ();
47653 /* The GNU C library defines this for functions which it implements
47654 to always fail with ENOSYS. Some functions are actually named
47655 something starting with __ and the normal name is an alias. */
47656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47657 choke me
47658 #else
47659 char (*f) () = $ac_func;
47660 #endif
47661 #ifdef __cplusplus
47663 #endif
47666 main ()
47668 return f != $ac_func;
47670 return 0;
47672 _ACEOF
47673 rm -f conftest.$ac_objext conftest$ac_exeext
47674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47675 (eval $ac_link) 2>conftest.er1
47676 ac_status=$?
47677 grep -v '^ *+' conftest.er1 >conftest.err
47678 rm -f conftest.er1
47679 cat conftest.err >&5
47680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47681 (exit $ac_status); } &&
47682 { ac_try='test -z "$ac_c_werror_flag"
47683 || test ! -s conftest.err'
47684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47685 (eval $ac_try) 2>&5
47686 ac_status=$?
47687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47688 (exit $ac_status); }; } &&
47689 { ac_try='test -s conftest$ac_exeext'
47690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47691 (eval $ac_try) 2>&5
47692 ac_status=$?
47693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47694 (exit $ac_status); }; }; then
47695 eval "$as_ac_var=yes"
47696 else
47697 echo "$as_me: failed program was:" >&5
47698 sed 's/^/| /' conftest.$ac_ext >&5
47700 eval "$as_ac_var=no"
47702 rm -f conftest.err conftest.$ac_objext \
47703 conftest$ac_exeext conftest.$ac_ext
47705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47707 if test `eval echo '${'$as_ac_var'}'` = yes; then
47708 cat >>confdefs.h <<_ACEOF
47709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47710 _ACEOF
47713 done
47723 echo "$as_me:$LINENO: checking for isinff declaration" >&5
47724 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
47725 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47726 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
47727 echo $ECHO_N "(cached) $ECHO_C" >&6
47728 else
47732 ac_ext=cc
47733 ac_cpp='$CXXCPP $CPPFLAGS'
47734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47738 cat >conftest.$ac_ext <<_ACEOF
47739 /* confdefs.h. */
47740 _ACEOF
47741 cat confdefs.h >>conftest.$ac_ext
47742 cat >>conftest.$ac_ext <<_ACEOF
47743 /* end confdefs.h. */
47744 #include <math.h>
47745 #ifdef HAVE_IEEEFP_H
47746 #include <ieeefp.h>
47747 #endif
47750 main ()
47752 isinff(0);
47754 return 0;
47756 _ACEOF
47757 rm -f conftest.$ac_objext
47758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47759 (eval $ac_compile) 2>conftest.er1
47760 ac_status=$?
47761 grep -v '^ *+' conftest.er1 >conftest.err
47762 rm -f conftest.er1
47763 cat conftest.err >&5
47764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47765 (exit $ac_status); } &&
47766 { ac_try='test -z "$ac_cxx_werror_flag"
47767 || test ! -s conftest.err'
47768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47769 (eval $ac_try) 2>&5
47770 ac_status=$?
47771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47772 (exit $ac_status); }; } &&
47773 { ac_try='test -s conftest.$ac_objext'
47774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47775 (eval $ac_try) 2>&5
47776 ac_status=$?
47777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47778 (exit $ac_status); }; }; then
47779 glibcxx_cv_func_isinff_use=yes
47780 else
47781 echo "$as_me: failed program was:" >&5
47782 sed 's/^/| /' conftest.$ac_ext >&5
47784 glibcxx_cv_func_isinff_use=no
47786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47787 ac_ext=c
47788 ac_cpp='$CPP $CPPFLAGS'
47789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47797 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
47798 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
47800 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47802 for ac_func in isinff
47804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47805 echo "$as_me:$LINENO: checking for $ac_func" >&5
47806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47807 if eval "test \"\${$as_ac_var+set}\" = set"; then
47808 echo $ECHO_N "(cached) $ECHO_C" >&6
47809 else
47810 if test x$gcc_no_link = xyes; then
47811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47813 { (exit 1); exit 1; }; }
47815 cat >conftest.$ac_ext <<_ACEOF
47816 /* confdefs.h. */
47817 _ACEOF
47818 cat confdefs.h >>conftest.$ac_ext
47819 cat >>conftest.$ac_ext <<_ACEOF
47820 /* end confdefs.h. */
47821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47823 #define $ac_func innocuous_$ac_func
47825 /* System header to define __stub macros and hopefully few prototypes,
47826 which can conflict with char $ac_func (); below.
47827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47828 <limits.h> exists even on freestanding compilers. */
47830 #ifdef __STDC__
47831 # include <limits.h>
47832 #else
47833 # include <assert.h>
47834 #endif
47836 #undef $ac_func
47838 /* Override any gcc2 internal prototype to avoid an error. */
47839 #ifdef __cplusplus
47840 extern "C"
47842 #endif
47843 /* We use char because int might match the return type of a gcc2
47844 builtin and then its argument prototype would still apply. */
47845 char $ac_func ();
47846 /* The GNU C library defines this for functions which it implements
47847 to always fail with ENOSYS. Some functions are actually named
47848 something starting with __ and the normal name is an alias. */
47849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47850 choke me
47851 #else
47852 char (*f) () = $ac_func;
47853 #endif
47854 #ifdef __cplusplus
47856 #endif
47859 main ()
47861 return f != $ac_func;
47863 return 0;
47865 _ACEOF
47866 rm -f conftest.$ac_objext conftest$ac_exeext
47867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47868 (eval $ac_link) 2>conftest.er1
47869 ac_status=$?
47870 grep -v '^ *+' conftest.er1 >conftest.err
47871 rm -f conftest.er1
47872 cat conftest.err >&5
47873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47874 (exit $ac_status); } &&
47875 { ac_try='test -z "$ac_c_werror_flag"
47876 || test ! -s conftest.err'
47877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47878 (eval $ac_try) 2>&5
47879 ac_status=$?
47880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47881 (exit $ac_status); }; } &&
47882 { ac_try='test -s conftest$ac_exeext'
47883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47884 (eval $ac_try) 2>&5
47885 ac_status=$?
47886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47887 (exit $ac_status); }; }; then
47888 eval "$as_ac_var=yes"
47889 else
47890 echo "$as_me: failed program was:" >&5
47891 sed 's/^/| /' conftest.$ac_ext >&5
47893 eval "$as_ac_var=no"
47895 rm -f conftest.err conftest.$ac_objext \
47896 conftest$ac_exeext conftest.$ac_ext
47898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47900 if test `eval echo '${'$as_ac_var'}'` = yes; then
47901 cat >>confdefs.h <<_ACEOF
47902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47903 _ACEOF
47906 done
47908 else
47910 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
47911 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
47912 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47913 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
47914 echo $ECHO_N "(cached) $ECHO_C" >&6
47915 else
47919 ac_ext=cc
47920 ac_cpp='$CXXCPP $CPPFLAGS'
47921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47925 cat >conftest.$ac_ext <<_ACEOF
47926 /* confdefs.h. */
47927 _ACEOF
47928 cat confdefs.h >>conftest.$ac_ext
47929 cat >>conftest.$ac_ext <<_ACEOF
47930 /* end confdefs.h. */
47931 #include <math.h>
47932 #ifdef HAVE_IEEEFP_H
47933 #include <ieeefp.h>
47934 #endif
47937 main ()
47939 _isinff(0);
47941 return 0;
47943 _ACEOF
47944 rm -f conftest.$ac_objext
47945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47946 (eval $ac_compile) 2>conftest.er1
47947 ac_status=$?
47948 grep -v '^ *+' conftest.er1 >conftest.err
47949 rm -f conftest.er1
47950 cat conftest.err >&5
47951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47952 (exit $ac_status); } &&
47953 { ac_try='test -z "$ac_cxx_werror_flag"
47954 || test ! -s conftest.err'
47955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47956 (eval $ac_try) 2>&5
47957 ac_status=$?
47958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47959 (exit $ac_status); }; } &&
47960 { ac_try='test -s conftest.$ac_objext'
47961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47962 (eval $ac_try) 2>&5
47963 ac_status=$?
47964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47965 (exit $ac_status); }; }; then
47966 glibcxx_cv_func__isinff_use=yes
47967 else
47968 echo "$as_me: failed program was:" >&5
47969 sed 's/^/| /' conftest.$ac_ext >&5
47971 glibcxx_cv_func__isinff_use=no
47973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47974 ac_ext=c
47975 ac_cpp='$CPP $CPPFLAGS'
47976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47984 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
47985 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
47987 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47989 for ac_func in _isinff
47991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47992 echo "$as_me:$LINENO: checking for $ac_func" >&5
47993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47994 if eval "test \"\${$as_ac_var+set}\" = set"; then
47995 echo $ECHO_N "(cached) $ECHO_C" >&6
47996 else
47997 if test x$gcc_no_link = xyes; then
47998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48000 { (exit 1); exit 1; }; }
48002 cat >conftest.$ac_ext <<_ACEOF
48003 /* confdefs.h. */
48004 _ACEOF
48005 cat confdefs.h >>conftest.$ac_ext
48006 cat >>conftest.$ac_ext <<_ACEOF
48007 /* end confdefs.h. */
48008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48010 #define $ac_func innocuous_$ac_func
48012 /* System header to define __stub macros and hopefully few prototypes,
48013 which can conflict with char $ac_func (); below.
48014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48015 <limits.h> exists even on freestanding compilers. */
48017 #ifdef __STDC__
48018 # include <limits.h>
48019 #else
48020 # include <assert.h>
48021 #endif
48023 #undef $ac_func
48025 /* Override any gcc2 internal prototype to avoid an error. */
48026 #ifdef __cplusplus
48027 extern "C"
48029 #endif
48030 /* We use char because int might match the return type of a gcc2
48031 builtin and then its argument prototype would still apply. */
48032 char $ac_func ();
48033 /* The GNU C library defines this for functions which it implements
48034 to always fail with ENOSYS. Some functions are actually named
48035 something starting with __ and the normal name is an alias. */
48036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48037 choke me
48038 #else
48039 char (*f) () = $ac_func;
48040 #endif
48041 #ifdef __cplusplus
48043 #endif
48046 main ()
48048 return f != $ac_func;
48050 return 0;
48052 _ACEOF
48053 rm -f conftest.$ac_objext conftest$ac_exeext
48054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48055 (eval $ac_link) 2>conftest.er1
48056 ac_status=$?
48057 grep -v '^ *+' conftest.er1 >conftest.err
48058 rm -f conftest.er1
48059 cat conftest.err >&5
48060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48061 (exit $ac_status); } &&
48062 { ac_try='test -z "$ac_c_werror_flag"
48063 || test ! -s conftest.err'
48064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48065 (eval $ac_try) 2>&5
48066 ac_status=$?
48067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48068 (exit $ac_status); }; } &&
48069 { ac_try='test -s conftest$ac_exeext'
48070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48071 (eval $ac_try) 2>&5
48072 ac_status=$?
48073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48074 (exit $ac_status); }; }; then
48075 eval "$as_ac_var=yes"
48076 else
48077 echo "$as_me: failed program was:" >&5
48078 sed 's/^/| /' conftest.$ac_ext >&5
48080 eval "$as_ac_var=no"
48082 rm -f conftest.err conftest.$ac_objext \
48083 conftest$ac_exeext conftest.$ac_ext
48085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48087 if test `eval echo '${'$as_ac_var'}'` = yes; then
48088 cat >>confdefs.h <<_ACEOF
48089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48090 _ACEOF
48093 done
48103 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
48104 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
48105 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48106 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
48107 echo $ECHO_N "(cached) $ECHO_C" >&6
48108 else
48112 ac_ext=cc
48113 ac_cpp='$CXXCPP $CPPFLAGS'
48114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48118 cat >conftest.$ac_ext <<_ACEOF
48119 /* confdefs.h. */
48120 _ACEOF
48121 cat confdefs.h >>conftest.$ac_ext
48122 cat >>conftest.$ac_ext <<_ACEOF
48123 /* end confdefs.h. */
48124 #include <math.h>
48126 main ()
48128 atan2f(0, 0);
48130 return 0;
48132 _ACEOF
48133 rm -f conftest.$ac_objext
48134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48135 (eval $ac_compile) 2>conftest.er1
48136 ac_status=$?
48137 grep -v '^ *+' conftest.er1 >conftest.err
48138 rm -f conftest.er1
48139 cat conftest.err >&5
48140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48141 (exit $ac_status); } &&
48142 { ac_try='test -z "$ac_cxx_werror_flag"
48143 || test ! -s conftest.err'
48144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48145 (eval $ac_try) 2>&5
48146 ac_status=$?
48147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48148 (exit $ac_status); }; } &&
48149 { ac_try='test -s conftest.$ac_objext'
48150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48151 (eval $ac_try) 2>&5
48152 ac_status=$?
48153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48154 (exit $ac_status); }; }; then
48155 glibcxx_cv_func_atan2f_use=yes
48156 else
48157 echo "$as_me: failed program was:" >&5
48158 sed 's/^/| /' conftest.$ac_ext >&5
48160 glibcxx_cv_func_atan2f_use=no
48162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48163 ac_ext=c
48164 ac_cpp='$CPP $CPPFLAGS'
48165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48173 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
48174 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
48176 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48178 for ac_func in atan2f
48180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48181 echo "$as_me:$LINENO: checking for $ac_func" >&5
48182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48183 if eval "test \"\${$as_ac_var+set}\" = set"; then
48184 echo $ECHO_N "(cached) $ECHO_C" >&6
48185 else
48186 if test x$gcc_no_link = xyes; then
48187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48189 { (exit 1); exit 1; }; }
48191 cat >conftest.$ac_ext <<_ACEOF
48192 /* confdefs.h. */
48193 _ACEOF
48194 cat confdefs.h >>conftest.$ac_ext
48195 cat >>conftest.$ac_ext <<_ACEOF
48196 /* end confdefs.h. */
48197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48199 #define $ac_func innocuous_$ac_func
48201 /* System header to define __stub macros and hopefully few prototypes,
48202 which can conflict with char $ac_func (); below.
48203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48204 <limits.h> exists even on freestanding compilers. */
48206 #ifdef __STDC__
48207 # include <limits.h>
48208 #else
48209 # include <assert.h>
48210 #endif
48212 #undef $ac_func
48214 /* Override any gcc2 internal prototype to avoid an error. */
48215 #ifdef __cplusplus
48216 extern "C"
48218 #endif
48219 /* We use char because int might match the return type of a gcc2
48220 builtin and then its argument prototype would still apply. */
48221 char $ac_func ();
48222 /* The GNU C library defines this for functions which it implements
48223 to always fail with ENOSYS. Some functions are actually named
48224 something starting with __ and the normal name is an alias. */
48225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48226 choke me
48227 #else
48228 char (*f) () = $ac_func;
48229 #endif
48230 #ifdef __cplusplus
48232 #endif
48235 main ()
48237 return f != $ac_func;
48239 return 0;
48241 _ACEOF
48242 rm -f conftest.$ac_objext conftest$ac_exeext
48243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48244 (eval $ac_link) 2>conftest.er1
48245 ac_status=$?
48246 grep -v '^ *+' conftest.er1 >conftest.err
48247 rm -f conftest.er1
48248 cat conftest.err >&5
48249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48250 (exit $ac_status); } &&
48251 { ac_try='test -z "$ac_c_werror_flag"
48252 || test ! -s conftest.err'
48253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48254 (eval $ac_try) 2>&5
48255 ac_status=$?
48256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48257 (exit $ac_status); }; } &&
48258 { ac_try='test -s conftest$ac_exeext'
48259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48260 (eval $ac_try) 2>&5
48261 ac_status=$?
48262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48263 (exit $ac_status); }; }; then
48264 eval "$as_ac_var=yes"
48265 else
48266 echo "$as_me: failed program was:" >&5
48267 sed 's/^/| /' conftest.$ac_ext >&5
48269 eval "$as_ac_var=no"
48271 rm -f conftest.err conftest.$ac_objext \
48272 conftest$ac_exeext conftest.$ac_ext
48274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48276 if test `eval echo '${'$as_ac_var'}'` = yes; then
48277 cat >>confdefs.h <<_ACEOF
48278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48279 _ACEOF
48282 done
48284 else
48286 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
48287 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
48288 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48289 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
48290 echo $ECHO_N "(cached) $ECHO_C" >&6
48291 else
48295 ac_ext=cc
48296 ac_cpp='$CXXCPP $CPPFLAGS'
48297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48301 cat >conftest.$ac_ext <<_ACEOF
48302 /* confdefs.h. */
48303 _ACEOF
48304 cat confdefs.h >>conftest.$ac_ext
48305 cat >>conftest.$ac_ext <<_ACEOF
48306 /* end confdefs.h. */
48307 #include <math.h>
48309 main ()
48311 _atan2f(0, 0);
48313 return 0;
48315 _ACEOF
48316 rm -f conftest.$ac_objext
48317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48318 (eval $ac_compile) 2>conftest.er1
48319 ac_status=$?
48320 grep -v '^ *+' conftest.er1 >conftest.err
48321 rm -f conftest.er1
48322 cat conftest.err >&5
48323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48324 (exit $ac_status); } &&
48325 { ac_try='test -z "$ac_cxx_werror_flag"
48326 || test ! -s conftest.err'
48327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48328 (eval $ac_try) 2>&5
48329 ac_status=$?
48330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48331 (exit $ac_status); }; } &&
48332 { ac_try='test -s conftest.$ac_objext'
48333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48334 (eval $ac_try) 2>&5
48335 ac_status=$?
48336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48337 (exit $ac_status); }; }; then
48338 glibcxx_cv_func__atan2f_use=yes
48339 else
48340 echo "$as_me: failed program was:" >&5
48341 sed 's/^/| /' conftest.$ac_ext >&5
48343 glibcxx_cv_func__atan2f_use=no
48345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48346 ac_ext=c
48347 ac_cpp='$CPP $CPPFLAGS'
48348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48356 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
48357 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
48359 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48361 for ac_func in _atan2f
48363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48364 echo "$as_me:$LINENO: checking for $ac_func" >&5
48365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48366 if eval "test \"\${$as_ac_var+set}\" = set"; then
48367 echo $ECHO_N "(cached) $ECHO_C" >&6
48368 else
48369 if test x$gcc_no_link = xyes; then
48370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48372 { (exit 1); exit 1; }; }
48374 cat >conftest.$ac_ext <<_ACEOF
48375 /* confdefs.h. */
48376 _ACEOF
48377 cat confdefs.h >>conftest.$ac_ext
48378 cat >>conftest.$ac_ext <<_ACEOF
48379 /* end confdefs.h. */
48380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48382 #define $ac_func innocuous_$ac_func
48384 /* System header to define __stub macros and hopefully few prototypes,
48385 which can conflict with char $ac_func (); below.
48386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48387 <limits.h> exists even on freestanding compilers. */
48389 #ifdef __STDC__
48390 # include <limits.h>
48391 #else
48392 # include <assert.h>
48393 #endif
48395 #undef $ac_func
48397 /* Override any gcc2 internal prototype to avoid an error. */
48398 #ifdef __cplusplus
48399 extern "C"
48401 #endif
48402 /* We use char because int might match the return type of a gcc2
48403 builtin and then its argument prototype would still apply. */
48404 char $ac_func ();
48405 /* The GNU C library defines this for functions which it implements
48406 to always fail with ENOSYS. Some functions are actually named
48407 something starting with __ and the normal name is an alias. */
48408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48409 choke me
48410 #else
48411 char (*f) () = $ac_func;
48412 #endif
48413 #ifdef __cplusplus
48415 #endif
48418 main ()
48420 return f != $ac_func;
48422 return 0;
48424 _ACEOF
48425 rm -f conftest.$ac_objext conftest$ac_exeext
48426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48427 (eval $ac_link) 2>conftest.er1
48428 ac_status=$?
48429 grep -v '^ *+' conftest.er1 >conftest.err
48430 rm -f conftest.er1
48431 cat conftest.err >&5
48432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48433 (exit $ac_status); } &&
48434 { ac_try='test -z "$ac_c_werror_flag"
48435 || test ! -s conftest.err'
48436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48437 (eval $ac_try) 2>&5
48438 ac_status=$?
48439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48440 (exit $ac_status); }; } &&
48441 { ac_try='test -s conftest$ac_exeext'
48442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48443 (eval $ac_try) 2>&5
48444 ac_status=$?
48445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48446 (exit $ac_status); }; }; then
48447 eval "$as_ac_var=yes"
48448 else
48449 echo "$as_me: failed program was:" >&5
48450 sed 's/^/| /' conftest.$ac_ext >&5
48452 eval "$as_ac_var=no"
48454 rm -f conftest.err conftest.$ac_objext \
48455 conftest$ac_exeext conftest.$ac_ext
48457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48459 if test `eval echo '${'$as_ac_var'}'` = yes; then
48460 cat >>confdefs.h <<_ACEOF
48461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48462 _ACEOF
48465 done
48475 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
48476 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
48477 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48478 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
48479 echo $ECHO_N "(cached) $ECHO_C" >&6
48480 else
48484 ac_ext=cc
48485 ac_cpp='$CXXCPP $CPPFLAGS'
48486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48490 cat >conftest.$ac_ext <<_ACEOF
48491 /* confdefs.h. */
48492 _ACEOF
48493 cat confdefs.h >>conftest.$ac_ext
48494 cat >>conftest.$ac_ext <<_ACEOF
48495 /* end confdefs.h. */
48496 #include <math.h>
48497 #ifdef HAVE_IEEEFP_H
48498 #include <ieeefp.h>
48499 #endif
48502 main ()
48504 fabsf(0);
48506 return 0;
48508 _ACEOF
48509 rm -f conftest.$ac_objext
48510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48511 (eval $ac_compile) 2>conftest.er1
48512 ac_status=$?
48513 grep -v '^ *+' conftest.er1 >conftest.err
48514 rm -f conftest.er1
48515 cat conftest.err >&5
48516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48517 (exit $ac_status); } &&
48518 { ac_try='test -z "$ac_cxx_werror_flag"
48519 || test ! -s conftest.err'
48520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48521 (eval $ac_try) 2>&5
48522 ac_status=$?
48523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48524 (exit $ac_status); }; } &&
48525 { ac_try='test -s conftest.$ac_objext'
48526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48527 (eval $ac_try) 2>&5
48528 ac_status=$?
48529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48530 (exit $ac_status); }; }; then
48531 glibcxx_cv_func_fabsf_use=yes
48532 else
48533 echo "$as_me: failed program was:" >&5
48534 sed 's/^/| /' conftest.$ac_ext >&5
48536 glibcxx_cv_func_fabsf_use=no
48538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48539 ac_ext=c
48540 ac_cpp='$CPP $CPPFLAGS'
48541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48549 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
48550 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
48552 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48554 for ac_func in fabsf
48556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48557 echo "$as_me:$LINENO: checking for $ac_func" >&5
48558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48559 if eval "test \"\${$as_ac_var+set}\" = set"; then
48560 echo $ECHO_N "(cached) $ECHO_C" >&6
48561 else
48562 if test x$gcc_no_link = xyes; then
48563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48565 { (exit 1); exit 1; }; }
48567 cat >conftest.$ac_ext <<_ACEOF
48568 /* confdefs.h. */
48569 _ACEOF
48570 cat confdefs.h >>conftest.$ac_ext
48571 cat >>conftest.$ac_ext <<_ACEOF
48572 /* end confdefs.h. */
48573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48575 #define $ac_func innocuous_$ac_func
48577 /* System header to define __stub macros and hopefully few prototypes,
48578 which can conflict with char $ac_func (); below.
48579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48580 <limits.h> exists even on freestanding compilers. */
48582 #ifdef __STDC__
48583 # include <limits.h>
48584 #else
48585 # include <assert.h>
48586 #endif
48588 #undef $ac_func
48590 /* Override any gcc2 internal prototype to avoid an error. */
48591 #ifdef __cplusplus
48592 extern "C"
48594 #endif
48595 /* We use char because int might match the return type of a gcc2
48596 builtin and then its argument prototype would still apply. */
48597 char $ac_func ();
48598 /* The GNU C library defines this for functions which it implements
48599 to always fail with ENOSYS. Some functions are actually named
48600 something starting with __ and the normal name is an alias. */
48601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48602 choke me
48603 #else
48604 char (*f) () = $ac_func;
48605 #endif
48606 #ifdef __cplusplus
48608 #endif
48611 main ()
48613 return f != $ac_func;
48615 return 0;
48617 _ACEOF
48618 rm -f conftest.$ac_objext conftest$ac_exeext
48619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48620 (eval $ac_link) 2>conftest.er1
48621 ac_status=$?
48622 grep -v '^ *+' conftest.er1 >conftest.err
48623 rm -f conftest.er1
48624 cat conftest.err >&5
48625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48626 (exit $ac_status); } &&
48627 { ac_try='test -z "$ac_c_werror_flag"
48628 || test ! -s conftest.err'
48629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48630 (eval $ac_try) 2>&5
48631 ac_status=$?
48632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48633 (exit $ac_status); }; } &&
48634 { ac_try='test -s conftest$ac_exeext'
48635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48636 (eval $ac_try) 2>&5
48637 ac_status=$?
48638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48639 (exit $ac_status); }; }; then
48640 eval "$as_ac_var=yes"
48641 else
48642 echo "$as_me: failed program was:" >&5
48643 sed 's/^/| /' conftest.$ac_ext >&5
48645 eval "$as_ac_var=no"
48647 rm -f conftest.err conftest.$ac_objext \
48648 conftest$ac_exeext conftest.$ac_ext
48650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48652 if test `eval echo '${'$as_ac_var'}'` = yes; then
48653 cat >>confdefs.h <<_ACEOF
48654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48655 _ACEOF
48658 done
48660 else
48662 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
48663 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
48664 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48665 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
48666 echo $ECHO_N "(cached) $ECHO_C" >&6
48667 else
48671 ac_ext=cc
48672 ac_cpp='$CXXCPP $CPPFLAGS'
48673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48677 cat >conftest.$ac_ext <<_ACEOF
48678 /* confdefs.h. */
48679 _ACEOF
48680 cat confdefs.h >>conftest.$ac_ext
48681 cat >>conftest.$ac_ext <<_ACEOF
48682 /* end confdefs.h. */
48683 #include <math.h>
48684 #ifdef HAVE_IEEEFP_H
48685 #include <ieeefp.h>
48686 #endif
48689 main ()
48691 _fabsf(0);
48693 return 0;
48695 _ACEOF
48696 rm -f conftest.$ac_objext
48697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48698 (eval $ac_compile) 2>conftest.er1
48699 ac_status=$?
48700 grep -v '^ *+' conftest.er1 >conftest.err
48701 rm -f conftest.er1
48702 cat conftest.err >&5
48703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48704 (exit $ac_status); } &&
48705 { ac_try='test -z "$ac_cxx_werror_flag"
48706 || test ! -s conftest.err'
48707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48708 (eval $ac_try) 2>&5
48709 ac_status=$?
48710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48711 (exit $ac_status); }; } &&
48712 { ac_try='test -s conftest.$ac_objext'
48713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48714 (eval $ac_try) 2>&5
48715 ac_status=$?
48716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48717 (exit $ac_status); }; }; then
48718 glibcxx_cv_func__fabsf_use=yes
48719 else
48720 echo "$as_me: failed program was:" >&5
48721 sed 's/^/| /' conftest.$ac_ext >&5
48723 glibcxx_cv_func__fabsf_use=no
48725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48726 ac_ext=c
48727 ac_cpp='$CPP $CPPFLAGS'
48728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48736 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
48737 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
48739 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48741 for ac_func in _fabsf
48743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48744 echo "$as_me:$LINENO: checking for $ac_func" >&5
48745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48746 if eval "test \"\${$as_ac_var+set}\" = set"; then
48747 echo $ECHO_N "(cached) $ECHO_C" >&6
48748 else
48749 if test x$gcc_no_link = xyes; then
48750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48752 { (exit 1); exit 1; }; }
48754 cat >conftest.$ac_ext <<_ACEOF
48755 /* confdefs.h. */
48756 _ACEOF
48757 cat confdefs.h >>conftest.$ac_ext
48758 cat >>conftest.$ac_ext <<_ACEOF
48759 /* end confdefs.h. */
48760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48762 #define $ac_func innocuous_$ac_func
48764 /* System header to define __stub macros and hopefully few prototypes,
48765 which can conflict with char $ac_func (); below.
48766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48767 <limits.h> exists even on freestanding compilers. */
48769 #ifdef __STDC__
48770 # include <limits.h>
48771 #else
48772 # include <assert.h>
48773 #endif
48775 #undef $ac_func
48777 /* Override any gcc2 internal prototype to avoid an error. */
48778 #ifdef __cplusplus
48779 extern "C"
48781 #endif
48782 /* We use char because int might match the return type of a gcc2
48783 builtin and then its argument prototype would still apply. */
48784 char $ac_func ();
48785 /* The GNU C library defines this for functions which it implements
48786 to always fail with ENOSYS. Some functions are actually named
48787 something starting with __ and the normal name is an alias. */
48788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48789 choke me
48790 #else
48791 char (*f) () = $ac_func;
48792 #endif
48793 #ifdef __cplusplus
48795 #endif
48798 main ()
48800 return f != $ac_func;
48802 return 0;
48804 _ACEOF
48805 rm -f conftest.$ac_objext conftest$ac_exeext
48806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48807 (eval $ac_link) 2>conftest.er1
48808 ac_status=$?
48809 grep -v '^ *+' conftest.er1 >conftest.err
48810 rm -f conftest.er1
48811 cat conftest.err >&5
48812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48813 (exit $ac_status); } &&
48814 { ac_try='test -z "$ac_c_werror_flag"
48815 || test ! -s conftest.err'
48816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48817 (eval $ac_try) 2>&5
48818 ac_status=$?
48819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48820 (exit $ac_status); }; } &&
48821 { ac_try='test -s conftest$ac_exeext'
48822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48823 (eval $ac_try) 2>&5
48824 ac_status=$?
48825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48826 (exit $ac_status); }; }; then
48827 eval "$as_ac_var=yes"
48828 else
48829 echo "$as_me: failed program was:" >&5
48830 sed 's/^/| /' conftest.$ac_ext >&5
48832 eval "$as_ac_var=no"
48834 rm -f conftest.err conftest.$ac_objext \
48835 conftest$ac_exeext conftest.$ac_ext
48837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48839 if test `eval echo '${'$as_ac_var'}'` = yes; then
48840 cat >>confdefs.h <<_ACEOF
48841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48842 _ACEOF
48845 done
48855 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
48856 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
48857 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48858 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
48859 echo $ECHO_N "(cached) $ECHO_C" >&6
48860 else
48864 ac_ext=cc
48865 ac_cpp='$CXXCPP $CPPFLAGS'
48866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48870 cat >conftest.$ac_ext <<_ACEOF
48871 /* confdefs.h. */
48872 _ACEOF
48873 cat confdefs.h >>conftest.$ac_ext
48874 cat >>conftest.$ac_ext <<_ACEOF
48875 /* end confdefs.h. */
48876 #include <math.h>
48878 main ()
48880 fmodf(0, 0);
48882 return 0;
48884 _ACEOF
48885 rm -f conftest.$ac_objext
48886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48887 (eval $ac_compile) 2>conftest.er1
48888 ac_status=$?
48889 grep -v '^ *+' conftest.er1 >conftest.err
48890 rm -f conftest.er1
48891 cat conftest.err >&5
48892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48893 (exit $ac_status); } &&
48894 { ac_try='test -z "$ac_cxx_werror_flag"
48895 || test ! -s conftest.err'
48896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48897 (eval $ac_try) 2>&5
48898 ac_status=$?
48899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48900 (exit $ac_status); }; } &&
48901 { ac_try='test -s conftest.$ac_objext'
48902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48903 (eval $ac_try) 2>&5
48904 ac_status=$?
48905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48906 (exit $ac_status); }; }; then
48907 glibcxx_cv_func_fmodf_use=yes
48908 else
48909 echo "$as_me: failed program was:" >&5
48910 sed 's/^/| /' conftest.$ac_ext >&5
48912 glibcxx_cv_func_fmodf_use=no
48914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48915 ac_ext=c
48916 ac_cpp='$CPP $CPPFLAGS'
48917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48925 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
48926 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
48928 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48930 for ac_func in fmodf
48932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48933 echo "$as_me:$LINENO: checking for $ac_func" >&5
48934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48935 if eval "test \"\${$as_ac_var+set}\" = set"; then
48936 echo $ECHO_N "(cached) $ECHO_C" >&6
48937 else
48938 if test x$gcc_no_link = xyes; then
48939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48941 { (exit 1); exit 1; }; }
48943 cat >conftest.$ac_ext <<_ACEOF
48944 /* confdefs.h. */
48945 _ACEOF
48946 cat confdefs.h >>conftest.$ac_ext
48947 cat >>conftest.$ac_ext <<_ACEOF
48948 /* end confdefs.h. */
48949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48951 #define $ac_func innocuous_$ac_func
48953 /* System header to define __stub macros and hopefully few prototypes,
48954 which can conflict with char $ac_func (); below.
48955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48956 <limits.h> exists even on freestanding compilers. */
48958 #ifdef __STDC__
48959 # include <limits.h>
48960 #else
48961 # include <assert.h>
48962 #endif
48964 #undef $ac_func
48966 /* Override any gcc2 internal prototype to avoid an error. */
48967 #ifdef __cplusplus
48968 extern "C"
48970 #endif
48971 /* We use char because int might match the return type of a gcc2
48972 builtin and then its argument prototype would still apply. */
48973 char $ac_func ();
48974 /* The GNU C library defines this for functions which it implements
48975 to always fail with ENOSYS. Some functions are actually named
48976 something starting with __ and the normal name is an alias. */
48977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48978 choke me
48979 #else
48980 char (*f) () = $ac_func;
48981 #endif
48982 #ifdef __cplusplus
48984 #endif
48987 main ()
48989 return f != $ac_func;
48991 return 0;
48993 _ACEOF
48994 rm -f conftest.$ac_objext conftest$ac_exeext
48995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48996 (eval $ac_link) 2>conftest.er1
48997 ac_status=$?
48998 grep -v '^ *+' conftest.er1 >conftest.err
48999 rm -f conftest.er1
49000 cat conftest.err >&5
49001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49002 (exit $ac_status); } &&
49003 { ac_try='test -z "$ac_c_werror_flag"
49004 || test ! -s conftest.err'
49005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49006 (eval $ac_try) 2>&5
49007 ac_status=$?
49008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49009 (exit $ac_status); }; } &&
49010 { ac_try='test -s conftest$ac_exeext'
49011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49012 (eval $ac_try) 2>&5
49013 ac_status=$?
49014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49015 (exit $ac_status); }; }; then
49016 eval "$as_ac_var=yes"
49017 else
49018 echo "$as_me: failed program was:" >&5
49019 sed 's/^/| /' conftest.$ac_ext >&5
49021 eval "$as_ac_var=no"
49023 rm -f conftest.err conftest.$ac_objext \
49024 conftest$ac_exeext conftest.$ac_ext
49026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49028 if test `eval echo '${'$as_ac_var'}'` = yes; then
49029 cat >>confdefs.h <<_ACEOF
49030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49031 _ACEOF
49034 done
49036 else
49038 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49039 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49040 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49041 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49042 echo $ECHO_N "(cached) $ECHO_C" >&6
49043 else
49047 ac_ext=cc
49048 ac_cpp='$CXXCPP $CPPFLAGS'
49049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49053 cat >conftest.$ac_ext <<_ACEOF
49054 /* confdefs.h. */
49055 _ACEOF
49056 cat confdefs.h >>conftest.$ac_ext
49057 cat >>conftest.$ac_ext <<_ACEOF
49058 /* end confdefs.h. */
49059 #include <math.h>
49061 main ()
49063 _fmodf(0, 0);
49065 return 0;
49067 _ACEOF
49068 rm -f conftest.$ac_objext
49069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49070 (eval $ac_compile) 2>conftest.er1
49071 ac_status=$?
49072 grep -v '^ *+' conftest.er1 >conftest.err
49073 rm -f conftest.er1
49074 cat conftest.err >&5
49075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49076 (exit $ac_status); } &&
49077 { ac_try='test -z "$ac_cxx_werror_flag"
49078 || test ! -s conftest.err'
49079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49080 (eval $ac_try) 2>&5
49081 ac_status=$?
49082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49083 (exit $ac_status); }; } &&
49084 { ac_try='test -s conftest.$ac_objext'
49085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49086 (eval $ac_try) 2>&5
49087 ac_status=$?
49088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49089 (exit $ac_status); }; }; then
49090 glibcxx_cv_func__fmodf_use=yes
49091 else
49092 echo "$as_me: failed program was:" >&5
49093 sed 's/^/| /' conftest.$ac_ext >&5
49095 glibcxx_cv_func__fmodf_use=no
49097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49098 ac_ext=c
49099 ac_cpp='$CPP $CPPFLAGS'
49100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49108 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
49109 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
49111 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49113 for ac_func in _fmodf
49115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49116 echo "$as_me:$LINENO: checking for $ac_func" >&5
49117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49118 if eval "test \"\${$as_ac_var+set}\" = set"; then
49119 echo $ECHO_N "(cached) $ECHO_C" >&6
49120 else
49121 if test x$gcc_no_link = xyes; then
49122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49124 { (exit 1); exit 1; }; }
49126 cat >conftest.$ac_ext <<_ACEOF
49127 /* confdefs.h. */
49128 _ACEOF
49129 cat confdefs.h >>conftest.$ac_ext
49130 cat >>conftest.$ac_ext <<_ACEOF
49131 /* end confdefs.h. */
49132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49134 #define $ac_func innocuous_$ac_func
49136 /* System header to define __stub macros and hopefully few prototypes,
49137 which can conflict with char $ac_func (); below.
49138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49139 <limits.h> exists even on freestanding compilers. */
49141 #ifdef __STDC__
49142 # include <limits.h>
49143 #else
49144 # include <assert.h>
49145 #endif
49147 #undef $ac_func
49149 /* Override any gcc2 internal prototype to avoid an error. */
49150 #ifdef __cplusplus
49151 extern "C"
49153 #endif
49154 /* We use char because int might match the return type of a gcc2
49155 builtin and then its argument prototype would still apply. */
49156 char $ac_func ();
49157 /* The GNU C library defines this for functions which it implements
49158 to always fail with ENOSYS. Some functions are actually named
49159 something starting with __ and the normal name is an alias. */
49160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49161 choke me
49162 #else
49163 char (*f) () = $ac_func;
49164 #endif
49165 #ifdef __cplusplus
49167 #endif
49170 main ()
49172 return f != $ac_func;
49174 return 0;
49176 _ACEOF
49177 rm -f conftest.$ac_objext conftest$ac_exeext
49178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49179 (eval $ac_link) 2>conftest.er1
49180 ac_status=$?
49181 grep -v '^ *+' conftest.er1 >conftest.err
49182 rm -f conftest.er1
49183 cat conftest.err >&5
49184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49185 (exit $ac_status); } &&
49186 { ac_try='test -z "$ac_c_werror_flag"
49187 || test ! -s conftest.err'
49188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49189 (eval $ac_try) 2>&5
49190 ac_status=$?
49191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49192 (exit $ac_status); }; } &&
49193 { ac_try='test -s conftest$ac_exeext'
49194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49195 (eval $ac_try) 2>&5
49196 ac_status=$?
49197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49198 (exit $ac_status); }; }; then
49199 eval "$as_ac_var=yes"
49200 else
49201 echo "$as_me: failed program was:" >&5
49202 sed 's/^/| /' conftest.$ac_ext >&5
49204 eval "$as_ac_var=no"
49206 rm -f conftest.err conftest.$ac_objext \
49207 conftest$ac_exeext conftest.$ac_ext
49209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49211 if test `eval echo '${'$as_ac_var'}'` = yes; then
49212 cat >>confdefs.h <<_ACEOF
49213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49214 _ACEOF
49217 done
49227 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
49228 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
49229 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49230 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
49231 echo $ECHO_N "(cached) $ECHO_C" >&6
49232 else
49236 ac_ext=cc
49237 ac_cpp='$CXXCPP $CPPFLAGS'
49238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49242 cat >conftest.$ac_ext <<_ACEOF
49243 /* confdefs.h. */
49244 _ACEOF
49245 cat confdefs.h >>conftest.$ac_ext
49246 cat >>conftest.$ac_ext <<_ACEOF
49247 /* end confdefs.h. */
49248 #include <math.h>
49250 main ()
49252 frexpf(0, 0);
49254 return 0;
49256 _ACEOF
49257 rm -f conftest.$ac_objext
49258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49259 (eval $ac_compile) 2>conftest.er1
49260 ac_status=$?
49261 grep -v '^ *+' conftest.er1 >conftest.err
49262 rm -f conftest.er1
49263 cat conftest.err >&5
49264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49265 (exit $ac_status); } &&
49266 { ac_try='test -z "$ac_cxx_werror_flag"
49267 || test ! -s conftest.err'
49268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49269 (eval $ac_try) 2>&5
49270 ac_status=$?
49271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49272 (exit $ac_status); }; } &&
49273 { ac_try='test -s conftest.$ac_objext'
49274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49275 (eval $ac_try) 2>&5
49276 ac_status=$?
49277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49278 (exit $ac_status); }; }; then
49279 glibcxx_cv_func_frexpf_use=yes
49280 else
49281 echo "$as_me: failed program was:" >&5
49282 sed 's/^/| /' conftest.$ac_ext >&5
49284 glibcxx_cv_func_frexpf_use=no
49286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49287 ac_ext=c
49288 ac_cpp='$CPP $CPPFLAGS'
49289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49297 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
49298 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
49300 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49302 for ac_func in frexpf
49304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49305 echo "$as_me:$LINENO: checking for $ac_func" >&5
49306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49307 if eval "test \"\${$as_ac_var+set}\" = set"; then
49308 echo $ECHO_N "(cached) $ECHO_C" >&6
49309 else
49310 if test x$gcc_no_link = xyes; then
49311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49313 { (exit 1); exit 1; }; }
49315 cat >conftest.$ac_ext <<_ACEOF
49316 /* confdefs.h. */
49317 _ACEOF
49318 cat confdefs.h >>conftest.$ac_ext
49319 cat >>conftest.$ac_ext <<_ACEOF
49320 /* end confdefs.h. */
49321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49323 #define $ac_func innocuous_$ac_func
49325 /* System header to define __stub macros and hopefully few prototypes,
49326 which can conflict with char $ac_func (); below.
49327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49328 <limits.h> exists even on freestanding compilers. */
49330 #ifdef __STDC__
49331 # include <limits.h>
49332 #else
49333 # include <assert.h>
49334 #endif
49336 #undef $ac_func
49338 /* Override any gcc2 internal prototype to avoid an error. */
49339 #ifdef __cplusplus
49340 extern "C"
49342 #endif
49343 /* We use char because int might match the return type of a gcc2
49344 builtin and then its argument prototype would still apply. */
49345 char $ac_func ();
49346 /* The GNU C library defines this for functions which it implements
49347 to always fail with ENOSYS. Some functions are actually named
49348 something starting with __ and the normal name is an alias. */
49349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49350 choke me
49351 #else
49352 char (*f) () = $ac_func;
49353 #endif
49354 #ifdef __cplusplus
49356 #endif
49359 main ()
49361 return f != $ac_func;
49363 return 0;
49365 _ACEOF
49366 rm -f conftest.$ac_objext conftest$ac_exeext
49367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49368 (eval $ac_link) 2>conftest.er1
49369 ac_status=$?
49370 grep -v '^ *+' conftest.er1 >conftest.err
49371 rm -f conftest.er1
49372 cat conftest.err >&5
49373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49374 (exit $ac_status); } &&
49375 { ac_try='test -z "$ac_c_werror_flag"
49376 || test ! -s conftest.err'
49377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49378 (eval $ac_try) 2>&5
49379 ac_status=$?
49380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49381 (exit $ac_status); }; } &&
49382 { ac_try='test -s conftest$ac_exeext'
49383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49384 (eval $ac_try) 2>&5
49385 ac_status=$?
49386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49387 (exit $ac_status); }; }; then
49388 eval "$as_ac_var=yes"
49389 else
49390 echo "$as_me: failed program was:" >&5
49391 sed 's/^/| /' conftest.$ac_ext >&5
49393 eval "$as_ac_var=no"
49395 rm -f conftest.err conftest.$ac_objext \
49396 conftest$ac_exeext conftest.$ac_ext
49398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49400 if test `eval echo '${'$as_ac_var'}'` = yes; then
49401 cat >>confdefs.h <<_ACEOF
49402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49403 _ACEOF
49406 done
49408 else
49410 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
49411 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
49412 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49413 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
49414 echo $ECHO_N "(cached) $ECHO_C" >&6
49415 else
49419 ac_ext=cc
49420 ac_cpp='$CXXCPP $CPPFLAGS'
49421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49425 cat >conftest.$ac_ext <<_ACEOF
49426 /* confdefs.h. */
49427 _ACEOF
49428 cat confdefs.h >>conftest.$ac_ext
49429 cat >>conftest.$ac_ext <<_ACEOF
49430 /* end confdefs.h. */
49431 #include <math.h>
49433 main ()
49435 _frexpf(0, 0);
49437 return 0;
49439 _ACEOF
49440 rm -f conftest.$ac_objext
49441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49442 (eval $ac_compile) 2>conftest.er1
49443 ac_status=$?
49444 grep -v '^ *+' conftest.er1 >conftest.err
49445 rm -f conftest.er1
49446 cat conftest.err >&5
49447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49448 (exit $ac_status); } &&
49449 { ac_try='test -z "$ac_cxx_werror_flag"
49450 || test ! -s conftest.err'
49451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49452 (eval $ac_try) 2>&5
49453 ac_status=$?
49454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49455 (exit $ac_status); }; } &&
49456 { ac_try='test -s conftest.$ac_objext'
49457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49458 (eval $ac_try) 2>&5
49459 ac_status=$?
49460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49461 (exit $ac_status); }; }; then
49462 glibcxx_cv_func__frexpf_use=yes
49463 else
49464 echo "$as_me: failed program was:" >&5
49465 sed 's/^/| /' conftest.$ac_ext >&5
49467 glibcxx_cv_func__frexpf_use=no
49469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49470 ac_ext=c
49471 ac_cpp='$CPP $CPPFLAGS'
49472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49480 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
49481 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
49483 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49485 for ac_func in _frexpf
49487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49488 echo "$as_me:$LINENO: checking for $ac_func" >&5
49489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49490 if eval "test \"\${$as_ac_var+set}\" = set"; then
49491 echo $ECHO_N "(cached) $ECHO_C" >&6
49492 else
49493 if test x$gcc_no_link = xyes; then
49494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49496 { (exit 1); exit 1; }; }
49498 cat >conftest.$ac_ext <<_ACEOF
49499 /* confdefs.h. */
49500 _ACEOF
49501 cat confdefs.h >>conftest.$ac_ext
49502 cat >>conftest.$ac_ext <<_ACEOF
49503 /* end confdefs.h. */
49504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49506 #define $ac_func innocuous_$ac_func
49508 /* System header to define __stub macros and hopefully few prototypes,
49509 which can conflict with char $ac_func (); below.
49510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49511 <limits.h> exists even on freestanding compilers. */
49513 #ifdef __STDC__
49514 # include <limits.h>
49515 #else
49516 # include <assert.h>
49517 #endif
49519 #undef $ac_func
49521 /* Override any gcc2 internal prototype to avoid an error. */
49522 #ifdef __cplusplus
49523 extern "C"
49525 #endif
49526 /* We use char because int might match the return type of a gcc2
49527 builtin and then its argument prototype would still apply. */
49528 char $ac_func ();
49529 /* The GNU C library defines this for functions which it implements
49530 to always fail with ENOSYS. Some functions are actually named
49531 something starting with __ and the normal name is an alias. */
49532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49533 choke me
49534 #else
49535 char (*f) () = $ac_func;
49536 #endif
49537 #ifdef __cplusplus
49539 #endif
49542 main ()
49544 return f != $ac_func;
49546 return 0;
49548 _ACEOF
49549 rm -f conftest.$ac_objext conftest$ac_exeext
49550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49551 (eval $ac_link) 2>conftest.er1
49552 ac_status=$?
49553 grep -v '^ *+' conftest.er1 >conftest.err
49554 rm -f conftest.er1
49555 cat conftest.err >&5
49556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49557 (exit $ac_status); } &&
49558 { ac_try='test -z "$ac_c_werror_flag"
49559 || test ! -s conftest.err'
49560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49561 (eval $ac_try) 2>&5
49562 ac_status=$?
49563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49564 (exit $ac_status); }; } &&
49565 { ac_try='test -s conftest$ac_exeext'
49566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49567 (eval $ac_try) 2>&5
49568 ac_status=$?
49569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49570 (exit $ac_status); }; }; then
49571 eval "$as_ac_var=yes"
49572 else
49573 echo "$as_me: failed program was:" >&5
49574 sed 's/^/| /' conftest.$ac_ext >&5
49576 eval "$as_ac_var=no"
49578 rm -f conftest.err conftest.$ac_objext \
49579 conftest$ac_exeext conftest.$ac_ext
49581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49583 if test `eval echo '${'$as_ac_var'}'` = yes; then
49584 cat >>confdefs.h <<_ACEOF
49585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49586 _ACEOF
49589 done
49599 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
49600 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
49601 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49602 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
49603 echo $ECHO_N "(cached) $ECHO_C" >&6
49604 else
49608 ac_ext=cc
49609 ac_cpp='$CXXCPP $CPPFLAGS'
49610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49614 cat >conftest.$ac_ext <<_ACEOF
49615 /* confdefs.h. */
49616 _ACEOF
49617 cat confdefs.h >>conftest.$ac_ext
49618 cat >>conftest.$ac_ext <<_ACEOF
49619 /* end confdefs.h. */
49620 #include <math.h>
49622 main ()
49624 hypotf(0, 0);
49626 return 0;
49628 _ACEOF
49629 rm -f conftest.$ac_objext
49630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49631 (eval $ac_compile) 2>conftest.er1
49632 ac_status=$?
49633 grep -v '^ *+' conftest.er1 >conftest.err
49634 rm -f conftest.er1
49635 cat conftest.err >&5
49636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49637 (exit $ac_status); } &&
49638 { ac_try='test -z "$ac_cxx_werror_flag"
49639 || test ! -s conftest.err'
49640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49641 (eval $ac_try) 2>&5
49642 ac_status=$?
49643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49644 (exit $ac_status); }; } &&
49645 { ac_try='test -s conftest.$ac_objext'
49646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49647 (eval $ac_try) 2>&5
49648 ac_status=$?
49649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49650 (exit $ac_status); }; }; then
49651 glibcxx_cv_func_hypotf_use=yes
49652 else
49653 echo "$as_me: failed program was:" >&5
49654 sed 's/^/| /' conftest.$ac_ext >&5
49656 glibcxx_cv_func_hypotf_use=no
49658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49659 ac_ext=c
49660 ac_cpp='$CPP $CPPFLAGS'
49661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49669 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
49670 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
49672 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49674 for ac_func in hypotf
49676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49677 echo "$as_me:$LINENO: checking for $ac_func" >&5
49678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49679 if eval "test \"\${$as_ac_var+set}\" = set"; then
49680 echo $ECHO_N "(cached) $ECHO_C" >&6
49681 else
49682 if test x$gcc_no_link = xyes; then
49683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49685 { (exit 1); exit 1; }; }
49687 cat >conftest.$ac_ext <<_ACEOF
49688 /* confdefs.h. */
49689 _ACEOF
49690 cat confdefs.h >>conftest.$ac_ext
49691 cat >>conftest.$ac_ext <<_ACEOF
49692 /* end confdefs.h. */
49693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49695 #define $ac_func innocuous_$ac_func
49697 /* System header to define __stub macros and hopefully few prototypes,
49698 which can conflict with char $ac_func (); below.
49699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49700 <limits.h> exists even on freestanding compilers. */
49702 #ifdef __STDC__
49703 # include <limits.h>
49704 #else
49705 # include <assert.h>
49706 #endif
49708 #undef $ac_func
49710 /* Override any gcc2 internal prototype to avoid an error. */
49711 #ifdef __cplusplus
49712 extern "C"
49714 #endif
49715 /* We use char because int might match the return type of a gcc2
49716 builtin and then its argument prototype would still apply. */
49717 char $ac_func ();
49718 /* The GNU C library defines this for functions which it implements
49719 to always fail with ENOSYS. Some functions are actually named
49720 something starting with __ and the normal name is an alias. */
49721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49722 choke me
49723 #else
49724 char (*f) () = $ac_func;
49725 #endif
49726 #ifdef __cplusplus
49728 #endif
49731 main ()
49733 return f != $ac_func;
49735 return 0;
49737 _ACEOF
49738 rm -f conftest.$ac_objext conftest$ac_exeext
49739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49740 (eval $ac_link) 2>conftest.er1
49741 ac_status=$?
49742 grep -v '^ *+' conftest.er1 >conftest.err
49743 rm -f conftest.er1
49744 cat conftest.err >&5
49745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49746 (exit $ac_status); } &&
49747 { ac_try='test -z "$ac_c_werror_flag"
49748 || test ! -s conftest.err'
49749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49750 (eval $ac_try) 2>&5
49751 ac_status=$?
49752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49753 (exit $ac_status); }; } &&
49754 { ac_try='test -s conftest$ac_exeext'
49755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49756 (eval $ac_try) 2>&5
49757 ac_status=$?
49758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49759 (exit $ac_status); }; }; then
49760 eval "$as_ac_var=yes"
49761 else
49762 echo "$as_me: failed program was:" >&5
49763 sed 's/^/| /' conftest.$ac_ext >&5
49765 eval "$as_ac_var=no"
49767 rm -f conftest.err conftest.$ac_objext \
49768 conftest$ac_exeext conftest.$ac_ext
49770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49772 if test `eval echo '${'$as_ac_var'}'` = yes; then
49773 cat >>confdefs.h <<_ACEOF
49774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49775 _ACEOF
49778 done
49780 else
49782 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
49783 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
49784 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49785 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
49786 echo $ECHO_N "(cached) $ECHO_C" >&6
49787 else
49791 ac_ext=cc
49792 ac_cpp='$CXXCPP $CPPFLAGS'
49793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49797 cat >conftest.$ac_ext <<_ACEOF
49798 /* confdefs.h. */
49799 _ACEOF
49800 cat confdefs.h >>conftest.$ac_ext
49801 cat >>conftest.$ac_ext <<_ACEOF
49802 /* end confdefs.h. */
49803 #include <math.h>
49805 main ()
49807 _hypotf(0, 0);
49809 return 0;
49811 _ACEOF
49812 rm -f conftest.$ac_objext
49813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49814 (eval $ac_compile) 2>conftest.er1
49815 ac_status=$?
49816 grep -v '^ *+' conftest.er1 >conftest.err
49817 rm -f conftest.er1
49818 cat conftest.err >&5
49819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49820 (exit $ac_status); } &&
49821 { ac_try='test -z "$ac_cxx_werror_flag"
49822 || test ! -s conftest.err'
49823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49824 (eval $ac_try) 2>&5
49825 ac_status=$?
49826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49827 (exit $ac_status); }; } &&
49828 { ac_try='test -s conftest.$ac_objext'
49829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49830 (eval $ac_try) 2>&5
49831 ac_status=$?
49832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49833 (exit $ac_status); }; }; then
49834 glibcxx_cv_func__hypotf_use=yes
49835 else
49836 echo "$as_me: failed program was:" >&5
49837 sed 's/^/| /' conftest.$ac_ext >&5
49839 glibcxx_cv_func__hypotf_use=no
49841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49842 ac_ext=c
49843 ac_cpp='$CPP $CPPFLAGS'
49844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49852 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
49853 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
49855 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49857 for ac_func in _hypotf
49859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49860 echo "$as_me:$LINENO: checking for $ac_func" >&5
49861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49862 if eval "test \"\${$as_ac_var+set}\" = set"; then
49863 echo $ECHO_N "(cached) $ECHO_C" >&6
49864 else
49865 if test x$gcc_no_link = xyes; then
49866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49868 { (exit 1); exit 1; }; }
49870 cat >conftest.$ac_ext <<_ACEOF
49871 /* confdefs.h. */
49872 _ACEOF
49873 cat confdefs.h >>conftest.$ac_ext
49874 cat >>conftest.$ac_ext <<_ACEOF
49875 /* end confdefs.h. */
49876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49878 #define $ac_func innocuous_$ac_func
49880 /* System header to define __stub macros and hopefully few prototypes,
49881 which can conflict with char $ac_func (); below.
49882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49883 <limits.h> exists even on freestanding compilers. */
49885 #ifdef __STDC__
49886 # include <limits.h>
49887 #else
49888 # include <assert.h>
49889 #endif
49891 #undef $ac_func
49893 /* Override any gcc2 internal prototype to avoid an error. */
49894 #ifdef __cplusplus
49895 extern "C"
49897 #endif
49898 /* We use char because int might match the return type of a gcc2
49899 builtin and then its argument prototype would still apply. */
49900 char $ac_func ();
49901 /* The GNU C library defines this for functions which it implements
49902 to always fail with ENOSYS. Some functions are actually named
49903 something starting with __ and the normal name is an alias. */
49904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49905 choke me
49906 #else
49907 char (*f) () = $ac_func;
49908 #endif
49909 #ifdef __cplusplus
49911 #endif
49914 main ()
49916 return f != $ac_func;
49918 return 0;
49920 _ACEOF
49921 rm -f conftest.$ac_objext conftest$ac_exeext
49922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49923 (eval $ac_link) 2>conftest.er1
49924 ac_status=$?
49925 grep -v '^ *+' conftest.er1 >conftest.err
49926 rm -f conftest.er1
49927 cat conftest.err >&5
49928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49929 (exit $ac_status); } &&
49930 { ac_try='test -z "$ac_c_werror_flag"
49931 || test ! -s conftest.err'
49932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49933 (eval $ac_try) 2>&5
49934 ac_status=$?
49935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49936 (exit $ac_status); }; } &&
49937 { ac_try='test -s conftest$ac_exeext'
49938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49939 (eval $ac_try) 2>&5
49940 ac_status=$?
49941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49942 (exit $ac_status); }; }; then
49943 eval "$as_ac_var=yes"
49944 else
49945 echo "$as_me: failed program was:" >&5
49946 sed 's/^/| /' conftest.$ac_ext >&5
49948 eval "$as_ac_var=no"
49950 rm -f conftest.err conftest.$ac_objext \
49951 conftest$ac_exeext conftest.$ac_ext
49953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49955 if test `eval echo '${'$as_ac_var'}'` = yes; then
49956 cat >>confdefs.h <<_ACEOF
49957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49958 _ACEOF
49961 done
49971 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
49972 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
49973 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49974 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
49975 echo $ECHO_N "(cached) $ECHO_C" >&6
49976 else
49980 ac_ext=cc
49981 ac_cpp='$CXXCPP $CPPFLAGS'
49982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49986 cat >conftest.$ac_ext <<_ACEOF
49987 /* confdefs.h. */
49988 _ACEOF
49989 cat confdefs.h >>conftest.$ac_ext
49990 cat >>conftest.$ac_ext <<_ACEOF
49991 /* end confdefs.h. */
49992 #include <math.h>
49994 main ()
49996 ldexpf(0, 0);
49998 return 0;
50000 _ACEOF
50001 rm -f conftest.$ac_objext
50002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50003 (eval $ac_compile) 2>conftest.er1
50004 ac_status=$?
50005 grep -v '^ *+' conftest.er1 >conftest.err
50006 rm -f conftest.er1
50007 cat conftest.err >&5
50008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50009 (exit $ac_status); } &&
50010 { ac_try='test -z "$ac_cxx_werror_flag"
50011 || test ! -s conftest.err'
50012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50013 (eval $ac_try) 2>&5
50014 ac_status=$?
50015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50016 (exit $ac_status); }; } &&
50017 { ac_try='test -s conftest.$ac_objext'
50018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50019 (eval $ac_try) 2>&5
50020 ac_status=$?
50021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50022 (exit $ac_status); }; }; then
50023 glibcxx_cv_func_ldexpf_use=yes
50024 else
50025 echo "$as_me: failed program was:" >&5
50026 sed 's/^/| /' conftest.$ac_ext >&5
50028 glibcxx_cv_func_ldexpf_use=no
50030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50031 ac_ext=c
50032 ac_cpp='$CPP $CPPFLAGS'
50033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50041 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50042 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50044 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50046 for ac_func in ldexpf
50048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50049 echo "$as_me:$LINENO: checking for $ac_func" >&5
50050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50051 if eval "test \"\${$as_ac_var+set}\" = set"; then
50052 echo $ECHO_N "(cached) $ECHO_C" >&6
50053 else
50054 if test x$gcc_no_link = xyes; then
50055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50057 { (exit 1); exit 1; }; }
50059 cat >conftest.$ac_ext <<_ACEOF
50060 /* confdefs.h. */
50061 _ACEOF
50062 cat confdefs.h >>conftest.$ac_ext
50063 cat >>conftest.$ac_ext <<_ACEOF
50064 /* end confdefs.h. */
50065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50067 #define $ac_func innocuous_$ac_func
50069 /* System header to define __stub macros and hopefully few prototypes,
50070 which can conflict with char $ac_func (); below.
50071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50072 <limits.h> exists even on freestanding compilers. */
50074 #ifdef __STDC__
50075 # include <limits.h>
50076 #else
50077 # include <assert.h>
50078 #endif
50080 #undef $ac_func
50082 /* Override any gcc2 internal prototype to avoid an error. */
50083 #ifdef __cplusplus
50084 extern "C"
50086 #endif
50087 /* We use char because int might match the return type of a gcc2
50088 builtin and then its argument prototype would still apply. */
50089 char $ac_func ();
50090 /* The GNU C library defines this for functions which it implements
50091 to always fail with ENOSYS. Some functions are actually named
50092 something starting with __ and the normal name is an alias. */
50093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50094 choke me
50095 #else
50096 char (*f) () = $ac_func;
50097 #endif
50098 #ifdef __cplusplus
50100 #endif
50103 main ()
50105 return f != $ac_func;
50107 return 0;
50109 _ACEOF
50110 rm -f conftest.$ac_objext conftest$ac_exeext
50111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50112 (eval $ac_link) 2>conftest.er1
50113 ac_status=$?
50114 grep -v '^ *+' conftest.er1 >conftest.err
50115 rm -f conftest.er1
50116 cat conftest.err >&5
50117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50118 (exit $ac_status); } &&
50119 { ac_try='test -z "$ac_c_werror_flag"
50120 || test ! -s conftest.err'
50121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50122 (eval $ac_try) 2>&5
50123 ac_status=$?
50124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50125 (exit $ac_status); }; } &&
50126 { ac_try='test -s conftest$ac_exeext'
50127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50128 (eval $ac_try) 2>&5
50129 ac_status=$?
50130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50131 (exit $ac_status); }; }; then
50132 eval "$as_ac_var=yes"
50133 else
50134 echo "$as_me: failed program was:" >&5
50135 sed 's/^/| /' conftest.$ac_ext >&5
50137 eval "$as_ac_var=no"
50139 rm -f conftest.err conftest.$ac_objext \
50140 conftest$ac_exeext conftest.$ac_ext
50142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50144 if test `eval echo '${'$as_ac_var'}'` = yes; then
50145 cat >>confdefs.h <<_ACEOF
50146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50147 _ACEOF
50150 done
50152 else
50154 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
50155 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
50156 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50157 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
50158 echo $ECHO_N "(cached) $ECHO_C" >&6
50159 else
50163 ac_ext=cc
50164 ac_cpp='$CXXCPP $CPPFLAGS'
50165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50169 cat >conftest.$ac_ext <<_ACEOF
50170 /* confdefs.h. */
50171 _ACEOF
50172 cat confdefs.h >>conftest.$ac_ext
50173 cat >>conftest.$ac_ext <<_ACEOF
50174 /* end confdefs.h. */
50175 #include <math.h>
50177 main ()
50179 _ldexpf(0, 0);
50181 return 0;
50183 _ACEOF
50184 rm -f conftest.$ac_objext
50185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50186 (eval $ac_compile) 2>conftest.er1
50187 ac_status=$?
50188 grep -v '^ *+' conftest.er1 >conftest.err
50189 rm -f conftest.er1
50190 cat conftest.err >&5
50191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50192 (exit $ac_status); } &&
50193 { ac_try='test -z "$ac_cxx_werror_flag"
50194 || test ! -s conftest.err'
50195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50196 (eval $ac_try) 2>&5
50197 ac_status=$?
50198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50199 (exit $ac_status); }; } &&
50200 { ac_try='test -s conftest.$ac_objext'
50201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50202 (eval $ac_try) 2>&5
50203 ac_status=$?
50204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50205 (exit $ac_status); }; }; then
50206 glibcxx_cv_func__ldexpf_use=yes
50207 else
50208 echo "$as_me: failed program was:" >&5
50209 sed 's/^/| /' conftest.$ac_ext >&5
50211 glibcxx_cv_func__ldexpf_use=no
50213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50214 ac_ext=c
50215 ac_cpp='$CPP $CPPFLAGS'
50216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50224 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
50225 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
50227 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50229 for ac_func in _ldexpf
50231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50232 echo "$as_me:$LINENO: checking for $ac_func" >&5
50233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50234 if eval "test \"\${$as_ac_var+set}\" = set"; then
50235 echo $ECHO_N "(cached) $ECHO_C" >&6
50236 else
50237 if test x$gcc_no_link = xyes; then
50238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50240 { (exit 1); exit 1; }; }
50242 cat >conftest.$ac_ext <<_ACEOF
50243 /* confdefs.h. */
50244 _ACEOF
50245 cat confdefs.h >>conftest.$ac_ext
50246 cat >>conftest.$ac_ext <<_ACEOF
50247 /* end confdefs.h. */
50248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50250 #define $ac_func innocuous_$ac_func
50252 /* System header to define __stub macros and hopefully few prototypes,
50253 which can conflict with char $ac_func (); below.
50254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50255 <limits.h> exists even on freestanding compilers. */
50257 #ifdef __STDC__
50258 # include <limits.h>
50259 #else
50260 # include <assert.h>
50261 #endif
50263 #undef $ac_func
50265 /* Override any gcc2 internal prototype to avoid an error. */
50266 #ifdef __cplusplus
50267 extern "C"
50269 #endif
50270 /* We use char because int might match the return type of a gcc2
50271 builtin and then its argument prototype would still apply. */
50272 char $ac_func ();
50273 /* The GNU C library defines this for functions which it implements
50274 to always fail with ENOSYS. Some functions are actually named
50275 something starting with __ and the normal name is an alias. */
50276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50277 choke me
50278 #else
50279 char (*f) () = $ac_func;
50280 #endif
50281 #ifdef __cplusplus
50283 #endif
50286 main ()
50288 return f != $ac_func;
50290 return 0;
50292 _ACEOF
50293 rm -f conftest.$ac_objext conftest$ac_exeext
50294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50295 (eval $ac_link) 2>conftest.er1
50296 ac_status=$?
50297 grep -v '^ *+' conftest.er1 >conftest.err
50298 rm -f conftest.er1
50299 cat conftest.err >&5
50300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50301 (exit $ac_status); } &&
50302 { ac_try='test -z "$ac_c_werror_flag"
50303 || test ! -s conftest.err'
50304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50305 (eval $ac_try) 2>&5
50306 ac_status=$?
50307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50308 (exit $ac_status); }; } &&
50309 { ac_try='test -s conftest$ac_exeext'
50310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50311 (eval $ac_try) 2>&5
50312 ac_status=$?
50313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50314 (exit $ac_status); }; }; then
50315 eval "$as_ac_var=yes"
50316 else
50317 echo "$as_me: failed program was:" >&5
50318 sed 's/^/| /' conftest.$ac_ext >&5
50320 eval "$as_ac_var=no"
50322 rm -f conftest.err conftest.$ac_objext \
50323 conftest$ac_exeext conftest.$ac_ext
50325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50327 if test `eval echo '${'$as_ac_var'}'` = yes; then
50328 cat >>confdefs.h <<_ACEOF
50329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50330 _ACEOF
50333 done
50343 echo "$as_me:$LINENO: checking for logf declaration" >&5
50344 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
50345 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50346 if test "${glibcxx_cv_func_logf_use+set}" = set; then
50347 echo $ECHO_N "(cached) $ECHO_C" >&6
50348 else
50352 ac_ext=cc
50353 ac_cpp='$CXXCPP $CPPFLAGS'
50354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50358 cat >conftest.$ac_ext <<_ACEOF
50359 /* confdefs.h. */
50360 _ACEOF
50361 cat confdefs.h >>conftest.$ac_ext
50362 cat >>conftest.$ac_ext <<_ACEOF
50363 /* end confdefs.h. */
50364 #include <math.h>
50365 #ifdef HAVE_IEEEFP_H
50366 #include <ieeefp.h>
50367 #endif
50370 main ()
50372 logf(0);
50374 return 0;
50376 _ACEOF
50377 rm -f conftest.$ac_objext
50378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50379 (eval $ac_compile) 2>conftest.er1
50380 ac_status=$?
50381 grep -v '^ *+' conftest.er1 >conftest.err
50382 rm -f conftest.er1
50383 cat conftest.err >&5
50384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50385 (exit $ac_status); } &&
50386 { ac_try='test -z "$ac_cxx_werror_flag"
50387 || test ! -s conftest.err'
50388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50389 (eval $ac_try) 2>&5
50390 ac_status=$?
50391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50392 (exit $ac_status); }; } &&
50393 { ac_try='test -s conftest.$ac_objext'
50394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50395 (eval $ac_try) 2>&5
50396 ac_status=$?
50397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50398 (exit $ac_status); }; }; then
50399 glibcxx_cv_func_logf_use=yes
50400 else
50401 echo "$as_me: failed program was:" >&5
50402 sed 's/^/| /' conftest.$ac_ext >&5
50404 glibcxx_cv_func_logf_use=no
50406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50407 ac_ext=c
50408 ac_cpp='$CPP $CPPFLAGS'
50409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50417 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
50418 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
50420 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50422 for ac_func in logf
50424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50425 echo "$as_me:$LINENO: checking for $ac_func" >&5
50426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50427 if eval "test \"\${$as_ac_var+set}\" = set"; then
50428 echo $ECHO_N "(cached) $ECHO_C" >&6
50429 else
50430 if test x$gcc_no_link = xyes; then
50431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50433 { (exit 1); exit 1; }; }
50435 cat >conftest.$ac_ext <<_ACEOF
50436 /* confdefs.h. */
50437 _ACEOF
50438 cat confdefs.h >>conftest.$ac_ext
50439 cat >>conftest.$ac_ext <<_ACEOF
50440 /* end confdefs.h. */
50441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50443 #define $ac_func innocuous_$ac_func
50445 /* System header to define __stub macros and hopefully few prototypes,
50446 which can conflict with char $ac_func (); below.
50447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50448 <limits.h> exists even on freestanding compilers. */
50450 #ifdef __STDC__
50451 # include <limits.h>
50452 #else
50453 # include <assert.h>
50454 #endif
50456 #undef $ac_func
50458 /* Override any gcc2 internal prototype to avoid an error. */
50459 #ifdef __cplusplus
50460 extern "C"
50462 #endif
50463 /* We use char because int might match the return type of a gcc2
50464 builtin and then its argument prototype would still apply. */
50465 char $ac_func ();
50466 /* The GNU C library defines this for functions which it implements
50467 to always fail with ENOSYS. Some functions are actually named
50468 something starting with __ and the normal name is an alias. */
50469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50470 choke me
50471 #else
50472 char (*f) () = $ac_func;
50473 #endif
50474 #ifdef __cplusplus
50476 #endif
50479 main ()
50481 return f != $ac_func;
50483 return 0;
50485 _ACEOF
50486 rm -f conftest.$ac_objext conftest$ac_exeext
50487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50488 (eval $ac_link) 2>conftest.er1
50489 ac_status=$?
50490 grep -v '^ *+' conftest.er1 >conftest.err
50491 rm -f conftest.er1
50492 cat conftest.err >&5
50493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50494 (exit $ac_status); } &&
50495 { ac_try='test -z "$ac_c_werror_flag"
50496 || test ! -s conftest.err'
50497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50498 (eval $ac_try) 2>&5
50499 ac_status=$?
50500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50501 (exit $ac_status); }; } &&
50502 { ac_try='test -s conftest$ac_exeext'
50503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50504 (eval $ac_try) 2>&5
50505 ac_status=$?
50506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50507 (exit $ac_status); }; }; then
50508 eval "$as_ac_var=yes"
50509 else
50510 echo "$as_me: failed program was:" >&5
50511 sed 's/^/| /' conftest.$ac_ext >&5
50513 eval "$as_ac_var=no"
50515 rm -f conftest.err conftest.$ac_objext \
50516 conftest$ac_exeext conftest.$ac_ext
50518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50520 if test `eval echo '${'$as_ac_var'}'` = yes; then
50521 cat >>confdefs.h <<_ACEOF
50522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50523 _ACEOF
50526 done
50528 else
50530 echo "$as_me:$LINENO: checking for _logf declaration" >&5
50531 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
50532 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50533 if test "${glibcxx_cv_func__logf_use+set}" = set; then
50534 echo $ECHO_N "(cached) $ECHO_C" >&6
50535 else
50539 ac_ext=cc
50540 ac_cpp='$CXXCPP $CPPFLAGS'
50541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50545 cat >conftest.$ac_ext <<_ACEOF
50546 /* confdefs.h. */
50547 _ACEOF
50548 cat confdefs.h >>conftest.$ac_ext
50549 cat >>conftest.$ac_ext <<_ACEOF
50550 /* end confdefs.h. */
50551 #include <math.h>
50552 #ifdef HAVE_IEEEFP_H
50553 #include <ieeefp.h>
50554 #endif
50557 main ()
50559 _logf(0);
50561 return 0;
50563 _ACEOF
50564 rm -f conftest.$ac_objext
50565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50566 (eval $ac_compile) 2>conftest.er1
50567 ac_status=$?
50568 grep -v '^ *+' conftest.er1 >conftest.err
50569 rm -f conftest.er1
50570 cat conftest.err >&5
50571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50572 (exit $ac_status); } &&
50573 { ac_try='test -z "$ac_cxx_werror_flag"
50574 || test ! -s conftest.err'
50575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50576 (eval $ac_try) 2>&5
50577 ac_status=$?
50578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50579 (exit $ac_status); }; } &&
50580 { ac_try='test -s conftest.$ac_objext'
50581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50582 (eval $ac_try) 2>&5
50583 ac_status=$?
50584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50585 (exit $ac_status); }; }; then
50586 glibcxx_cv_func__logf_use=yes
50587 else
50588 echo "$as_me: failed program was:" >&5
50589 sed 's/^/| /' conftest.$ac_ext >&5
50591 glibcxx_cv_func__logf_use=no
50593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50594 ac_ext=c
50595 ac_cpp='$CPP $CPPFLAGS'
50596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50604 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
50605 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
50607 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50609 for ac_func in _logf
50611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50612 echo "$as_me:$LINENO: checking for $ac_func" >&5
50613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50614 if eval "test \"\${$as_ac_var+set}\" = set"; then
50615 echo $ECHO_N "(cached) $ECHO_C" >&6
50616 else
50617 if test x$gcc_no_link = xyes; then
50618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50620 { (exit 1); exit 1; }; }
50622 cat >conftest.$ac_ext <<_ACEOF
50623 /* confdefs.h. */
50624 _ACEOF
50625 cat confdefs.h >>conftest.$ac_ext
50626 cat >>conftest.$ac_ext <<_ACEOF
50627 /* end confdefs.h. */
50628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50630 #define $ac_func innocuous_$ac_func
50632 /* System header to define __stub macros and hopefully few prototypes,
50633 which can conflict with char $ac_func (); below.
50634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50635 <limits.h> exists even on freestanding compilers. */
50637 #ifdef __STDC__
50638 # include <limits.h>
50639 #else
50640 # include <assert.h>
50641 #endif
50643 #undef $ac_func
50645 /* Override any gcc2 internal prototype to avoid an error. */
50646 #ifdef __cplusplus
50647 extern "C"
50649 #endif
50650 /* We use char because int might match the return type of a gcc2
50651 builtin and then its argument prototype would still apply. */
50652 char $ac_func ();
50653 /* The GNU C library defines this for functions which it implements
50654 to always fail with ENOSYS. Some functions are actually named
50655 something starting with __ and the normal name is an alias. */
50656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50657 choke me
50658 #else
50659 char (*f) () = $ac_func;
50660 #endif
50661 #ifdef __cplusplus
50663 #endif
50666 main ()
50668 return f != $ac_func;
50670 return 0;
50672 _ACEOF
50673 rm -f conftest.$ac_objext conftest$ac_exeext
50674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50675 (eval $ac_link) 2>conftest.er1
50676 ac_status=$?
50677 grep -v '^ *+' conftest.er1 >conftest.err
50678 rm -f conftest.er1
50679 cat conftest.err >&5
50680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50681 (exit $ac_status); } &&
50682 { ac_try='test -z "$ac_c_werror_flag"
50683 || test ! -s conftest.err'
50684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50685 (eval $ac_try) 2>&5
50686 ac_status=$?
50687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50688 (exit $ac_status); }; } &&
50689 { ac_try='test -s conftest$ac_exeext'
50690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50691 (eval $ac_try) 2>&5
50692 ac_status=$?
50693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50694 (exit $ac_status); }; }; then
50695 eval "$as_ac_var=yes"
50696 else
50697 echo "$as_me: failed program was:" >&5
50698 sed 's/^/| /' conftest.$ac_ext >&5
50700 eval "$as_ac_var=no"
50702 rm -f conftest.err conftest.$ac_objext \
50703 conftest$ac_exeext conftest.$ac_ext
50705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50707 if test `eval echo '${'$as_ac_var'}'` = yes; then
50708 cat >>confdefs.h <<_ACEOF
50709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50710 _ACEOF
50713 done
50723 echo "$as_me:$LINENO: checking for log10f declaration" >&5
50724 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
50725 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50726 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
50727 echo $ECHO_N "(cached) $ECHO_C" >&6
50728 else
50732 ac_ext=cc
50733 ac_cpp='$CXXCPP $CPPFLAGS'
50734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50738 cat >conftest.$ac_ext <<_ACEOF
50739 /* confdefs.h. */
50740 _ACEOF
50741 cat confdefs.h >>conftest.$ac_ext
50742 cat >>conftest.$ac_ext <<_ACEOF
50743 /* end confdefs.h. */
50744 #include <math.h>
50745 #ifdef HAVE_IEEEFP_H
50746 #include <ieeefp.h>
50747 #endif
50750 main ()
50752 log10f(0);
50754 return 0;
50756 _ACEOF
50757 rm -f conftest.$ac_objext
50758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50759 (eval $ac_compile) 2>conftest.er1
50760 ac_status=$?
50761 grep -v '^ *+' conftest.er1 >conftest.err
50762 rm -f conftest.er1
50763 cat conftest.err >&5
50764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50765 (exit $ac_status); } &&
50766 { ac_try='test -z "$ac_cxx_werror_flag"
50767 || test ! -s conftest.err'
50768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50769 (eval $ac_try) 2>&5
50770 ac_status=$?
50771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50772 (exit $ac_status); }; } &&
50773 { ac_try='test -s conftest.$ac_objext'
50774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50775 (eval $ac_try) 2>&5
50776 ac_status=$?
50777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50778 (exit $ac_status); }; }; then
50779 glibcxx_cv_func_log10f_use=yes
50780 else
50781 echo "$as_me: failed program was:" >&5
50782 sed 's/^/| /' conftest.$ac_ext >&5
50784 glibcxx_cv_func_log10f_use=no
50786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50787 ac_ext=c
50788 ac_cpp='$CPP $CPPFLAGS'
50789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50797 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
50798 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
50800 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50802 for ac_func in log10f
50804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50805 echo "$as_me:$LINENO: checking for $ac_func" >&5
50806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50807 if eval "test \"\${$as_ac_var+set}\" = set"; then
50808 echo $ECHO_N "(cached) $ECHO_C" >&6
50809 else
50810 if test x$gcc_no_link = xyes; then
50811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50813 { (exit 1); exit 1; }; }
50815 cat >conftest.$ac_ext <<_ACEOF
50816 /* confdefs.h. */
50817 _ACEOF
50818 cat confdefs.h >>conftest.$ac_ext
50819 cat >>conftest.$ac_ext <<_ACEOF
50820 /* end confdefs.h. */
50821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50823 #define $ac_func innocuous_$ac_func
50825 /* System header to define __stub macros and hopefully few prototypes,
50826 which can conflict with char $ac_func (); below.
50827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50828 <limits.h> exists even on freestanding compilers. */
50830 #ifdef __STDC__
50831 # include <limits.h>
50832 #else
50833 # include <assert.h>
50834 #endif
50836 #undef $ac_func
50838 /* Override any gcc2 internal prototype to avoid an error. */
50839 #ifdef __cplusplus
50840 extern "C"
50842 #endif
50843 /* We use char because int might match the return type of a gcc2
50844 builtin and then its argument prototype would still apply. */
50845 char $ac_func ();
50846 /* The GNU C library defines this for functions which it implements
50847 to always fail with ENOSYS. Some functions are actually named
50848 something starting with __ and the normal name is an alias. */
50849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50850 choke me
50851 #else
50852 char (*f) () = $ac_func;
50853 #endif
50854 #ifdef __cplusplus
50856 #endif
50859 main ()
50861 return f != $ac_func;
50863 return 0;
50865 _ACEOF
50866 rm -f conftest.$ac_objext conftest$ac_exeext
50867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50868 (eval $ac_link) 2>conftest.er1
50869 ac_status=$?
50870 grep -v '^ *+' conftest.er1 >conftest.err
50871 rm -f conftest.er1
50872 cat conftest.err >&5
50873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50874 (exit $ac_status); } &&
50875 { ac_try='test -z "$ac_c_werror_flag"
50876 || test ! -s conftest.err'
50877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50878 (eval $ac_try) 2>&5
50879 ac_status=$?
50880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50881 (exit $ac_status); }; } &&
50882 { ac_try='test -s conftest$ac_exeext'
50883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50884 (eval $ac_try) 2>&5
50885 ac_status=$?
50886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50887 (exit $ac_status); }; }; then
50888 eval "$as_ac_var=yes"
50889 else
50890 echo "$as_me: failed program was:" >&5
50891 sed 's/^/| /' conftest.$ac_ext >&5
50893 eval "$as_ac_var=no"
50895 rm -f conftest.err conftest.$ac_objext \
50896 conftest$ac_exeext conftest.$ac_ext
50898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50900 if test `eval echo '${'$as_ac_var'}'` = yes; then
50901 cat >>confdefs.h <<_ACEOF
50902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50903 _ACEOF
50906 done
50908 else
50910 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
50911 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
50912 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50913 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
50914 echo $ECHO_N "(cached) $ECHO_C" >&6
50915 else
50919 ac_ext=cc
50920 ac_cpp='$CXXCPP $CPPFLAGS'
50921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50925 cat >conftest.$ac_ext <<_ACEOF
50926 /* confdefs.h. */
50927 _ACEOF
50928 cat confdefs.h >>conftest.$ac_ext
50929 cat >>conftest.$ac_ext <<_ACEOF
50930 /* end confdefs.h. */
50931 #include <math.h>
50932 #ifdef HAVE_IEEEFP_H
50933 #include <ieeefp.h>
50934 #endif
50937 main ()
50939 _log10f(0);
50941 return 0;
50943 _ACEOF
50944 rm -f conftest.$ac_objext
50945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50946 (eval $ac_compile) 2>conftest.er1
50947 ac_status=$?
50948 grep -v '^ *+' conftest.er1 >conftest.err
50949 rm -f conftest.er1
50950 cat conftest.err >&5
50951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50952 (exit $ac_status); } &&
50953 { ac_try='test -z "$ac_cxx_werror_flag"
50954 || test ! -s conftest.err'
50955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50956 (eval $ac_try) 2>&5
50957 ac_status=$?
50958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50959 (exit $ac_status); }; } &&
50960 { ac_try='test -s conftest.$ac_objext'
50961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50962 (eval $ac_try) 2>&5
50963 ac_status=$?
50964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50965 (exit $ac_status); }; }; then
50966 glibcxx_cv_func__log10f_use=yes
50967 else
50968 echo "$as_me: failed program was:" >&5
50969 sed 's/^/| /' conftest.$ac_ext >&5
50971 glibcxx_cv_func__log10f_use=no
50973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50974 ac_ext=c
50975 ac_cpp='$CPP $CPPFLAGS'
50976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50984 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
50985 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
50987 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50989 for ac_func in _log10f
50991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50992 echo "$as_me:$LINENO: checking for $ac_func" >&5
50993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50994 if eval "test \"\${$as_ac_var+set}\" = set"; then
50995 echo $ECHO_N "(cached) $ECHO_C" >&6
50996 else
50997 if test x$gcc_no_link = xyes; then
50998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51000 { (exit 1); exit 1; }; }
51002 cat >conftest.$ac_ext <<_ACEOF
51003 /* confdefs.h. */
51004 _ACEOF
51005 cat confdefs.h >>conftest.$ac_ext
51006 cat >>conftest.$ac_ext <<_ACEOF
51007 /* end confdefs.h. */
51008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51010 #define $ac_func innocuous_$ac_func
51012 /* System header to define __stub macros and hopefully few prototypes,
51013 which can conflict with char $ac_func (); below.
51014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51015 <limits.h> exists even on freestanding compilers. */
51017 #ifdef __STDC__
51018 # include <limits.h>
51019 #else
51020 # include <assert.h>
51021 #endif
51023 #undef $ac_func
51025 /* Override any gcc2 internal prototype to avoid an error. */
51026 #ifdef __cplusplus
51027 extern "C"
51029 #endif
51030 /* We use char because int might match the return type of a gcc2
51031 builtin and then its argument prototype would still apply. */
51032 char $ac_func ();
51033 /* The GNU C library defines this for functions which it implements
51034 to always fail with ENOSYS. Some functions are actually named
51035 something starting with __ and the normal name is an alias. */
51036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51037 choke me
51038 #else
51039 char (*f) () = $ac_func;
51040 #endif
51041 #ifdef __cplusplus
51043 #endif
51046 main ()
51048 return f != $ac_func;
51050 return 0;
51052 _ACEOF
51053 rm -f conftest.$ac_objext conftest$ac_exeext
51054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51055 (eval $ac_link) 2>conftest.er1
51056 ac_status=$?
51057 grep -v '^ *+' conftest.er1 >conftest.err
51058 rm -f conftest.er1
51059 cat conftest.err >&5
51060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51061 (exit $ac_status); } &&
51062 { ac_try='test -z "$ac_c_werror_flag"
51063 || test ! -s conftest.err'
51064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51065 (eval $ac_try) 2>&5
51066 ac_status=$?
51067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51068 (exit $ac_status); }; } &&
51069 { ac_try='test -s conftest$ac_exeext'
51070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51071 (eval $ac_try) 2>&5
51072 ac_status=$?
51073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51074 (exit $ac_status); }; }; then
51075 eval "$as_ac_var=yes"
51076 else
51077 echo "$as_me: failed program was:" >&5
51078 sed 's/^/| /' conftest.$ac_ext >&5
51080 eval "$as_ac_var=no"
51082 rm -f conftest.err conftest.$ac_objext \
51083 conftest$ac_exeext conftest.$ac_ext
51085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51087 if test `eval echo '${'$as_ac_var'}'` = yes; then
51088 cat >>confdefs.h <<_ACEOF
51089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51090 _ACEOF
51093 done
51103 echo "$as_me:$LINENO: checking for modff declaration" >&5
51104 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
51105 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51106 if test "${glibcxx_cv_func_modff_use+set}" = set; then
51107 echo $ECHO_N "(cached) $ECHO_C" >&6
51108 else
51112 ac_ext=cc
51113 ac_cpp='$CXXCPP $CPPFLAGS'
51114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51118 cat >conftest.$ac_ext <<_ACEOF
51119 /* confdefs.h. */
51120 _ACEOF
51121 cat confdefs.h >>conftest.$ac_ext
51122 cat >>conftest.$ac_ext <<_ACEOF
51123 /* end confdefs.h. */
51124 #include <math.h>
51126 main ()
51128 modff(0, 0);
51130 return 0;
51132 _ACEOF
51133 rm -f conftest.$ac_objext
51134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51135 (eval $ac_compile) 2>conftest.er1
51136 ac_status=$?
51137 grep -v '^ *+' conftest.er1 >conftest.err
51138 rm -f conftest.er1
51139 cat conftest.err >&5
51140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51141 (exit $ac_status); } &&
51142 { ac_try='test -z "$ac_cxx_werror_flag"
51143 || test ! -s conftest.err'
51144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51145 (eval $ac_try) 2>&5
51146 ac_status=$?
51147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51148 (exit $ac_status); }; } &&
51149 { ac_try='test -s conftest.$ac_objext'
51150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51151 (eval $ac_try) 2>&5
51152 ac_status=$?
51153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51154 (exit $ac_status); }; }; then
51155 glibcxx_cv_func_modff_use=yes
51156 else
51157 echo "$as_me: failed program was:" >&5
51158 sed 's/^/| /' conftest.$ac_ext >&5
51160 glibcxx_cv_func_modff_use=no
51162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51163 ac_ext=c
51164 ac_cpp='$CPP $CPPFLAGS'
51165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51173 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
51174 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
51176 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51178 for ac_func in modff
51180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51181 echo "$as_me:$LINENO: checking for $ac_func" >&5
51182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51183 if eval "test \"\${$as_ac_var+set}\" = set"; then
51184 echo $ECHO_N "(cached) $ECHO_C" >&6
51185 else
51186 if test x$gcc_no_link = xyes; then
51187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51189 { (exit 1); exit 1; }; }
51191 cat >conftest.$ac_ext <<_ACEOF
51192 /* confdefs.h. */
51193 _ACEOF
51194 cat confdefs.h >>conftest.$ac_ext
51195 cat >>conftest.$ac_ext <<_ACEOF
51196 /* end confdefs.h. */
51197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51199 #define $ac_func innocuous_$ac_func
51201 /* System header to define __stub macros and hopefully few prototypes,
51202 which can conflict with char $ac_func (); below.
51203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51204 <limits.h> exists even on freestanding compilers. */
51206 #ifdef __STDC__
51207 # include <limits.h>
51208 #else
51209 # include <assert.h>
51210 #endif
51212 #undef $ac_func
51214 /* Override any gcc2 internal prototype to avoid an error. */
51215 #ifdef __cplusplus
51216 extern "C"
51218 #endif
51219 /* We use char because int might match the return type of a gcc2
51220 builtin and then its argument prototype would still apply. */
51221 char $ac_func ();
51222 /* The GNU C library defines this for functions which it implements
51223 to always fail with ENOSYS. Some functions are actually named
51224 something starting with __ and the normal name is an alias. */
51225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51226 choke me
51227 #else
51228 char (*f) () = $ac_func;
51229 #endif
51230 #ifdef __cplusplus
51232 #endif
51235 main ()
51237 return f != $ac_func;
51239 return 0;
51241 _ACEOF
51242 rm -f conftest.$ac_objext conftest$ac_exeext
51243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51244 (eval $ac_link) 2>conftest.er1
51245 ac_status=$?
51246 grep -v '^ *+' conftest.er1 >conftest.err
51247 rm -f conftest.er1
51248 cat conftest.err >&5
51249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51250 (exit $ac_status); } &&
51251 { ac_try='test -z "$ac_c_werror_flag"
51252 || test ! -s conftest.err'
51253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51254 (eval $ac_try) 2>&5
51255 ac_status=$?
51256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51257 (exit $ac_status); }; } &&
51258 { ac_try='test -s conftest$ac_exeext'
51259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51260 (eval $ac_try) 2>&5
51261 ac_status=$?
51262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51263 (exit $ac_status); }; }; then
51264 eval "$as_ac_var=yes"
51265 else
51266 echo "$as_me: failed program was:" >&5
51267 sed 's/^/| /' conftest.$ac_ext >&5
51269 eval "$as_ac_var=no"
51271 rm -f conftest.err conftest.$ac_objext \
51272 conftest$ac_exeext conftest.$ac_ext
51274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51276 if test `eval echo '${'$as_ac_var'}'` = yes; then
51277 cat >>confdefs.h <<_ACEOF
51278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51279 _ACEOF
51282 done
51284 else
51286 echo "$as_me:$LINENO: checking for _modff declaration" >&5
51287 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
51288 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51289 if test "${glibcxx_cv_func__modff_use+set}" = set; then
51290 echo $ECHO_N "(cached) $ECHO_C" >&6
51291 else
51295 ac_ext=cc
51296 ac_cpp='$CXXCPP $CPPFLAGS'
51297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51301 cat >conftest.$ac_ext <<_ACEOF
51302 /* confdefs.h. */
51303 _ACEOF
51304 cat confdefs.h >>conftest.$ac_ext
51305 cat >>conftest.$ac_ext <<_ACEOF
51306 /* end confdefs.h. */
51307 #include <math.h>
51309 main ()
51311 _modff(0, 0);
51313 return 0;
51315 _ACEOF
51316 rm -f conftest.$ac_objext
51317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51318 (eval $ac_compile) 2>conftest.er1
51319 ac_status=$?
51320 grep -v '^ *+' conftest.er1 >conftest.err
51321 rm -f conftest.er1
51322 cat conftest.err >&5
51323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51324 (exit $ac_status); } &&
51325 { ac_try='test -z "$ac_cxx_werror_flag"
51326 || test ! -s conftest.err'
51327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51328 (eval $ac_try) 2>&5
51329 ac_status=$?
51330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51331 (exit $ac_status); }; } &&
51332 { ac_try='test -s conftest.$ac_objext'
51333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51334 (eval $ac_try) 2>&5
51335 ac_status=$?
51336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51337 (exit $ac_status); }; }; then
51338 glibcxx_cv_func__modff_use=yes
51339 else
51340 echo "$as_me: failed program was:" >&5
51341 sed 's/^/| /' conftest.$ac_ext >&5
51343 glibcxx_cv_func__modff_use=no
51345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51346 ac_ext=c
51347 ac_cpp='$CPP $CPPFLAGS'
51348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51356 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
51357 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
51359 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51361 for ac_func in _modff
51363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51364 echo "$as_me:$LINENO: checking for $ac_func" >&5
51365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51366 if eval "test \"\${$as_ac_var+set}\" = set"; then
51367 echo $ECHO_N "(cached) $ECHO_C" >&6
51368 else
51369 if test x$gcc_no_link = xyes; then
51370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51372 { (exit 1); exit 1; }; }
51374 cat >conftest.$ac_ext <<_ACEOF
51375 /* confdefs.h. */
51376 _ACEOF
51377 cat confdefs.h >>conftest.$ac_ext
51378 cat >>conftest.$ac_ext <<_ACEOF
51379 /* end confdefs.h. */
51380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51382 #define $ac_func innocuous_$ac_func
51384 /* System header to define __stub macros and hopefully few prototypes,
51385 which can conflict with char $ac_func (); below.
51386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51387 <limits.h> exists even on freestanding compilers. */
51389 #ifdef __STDC__
51390 # include <limits.h>
51391 #else
51392 # include <assert.h>
51393 #endif
51395 #undef $ac_func
51397 /* Override any gcc2 internal prototype to avoid an error. */
51398 #ifdef __cplusplus
51399 extern "C"
51401 #endif
51402 /* We use char because int might match the return type of a gcc2
51403 builtin and then its argument prototype would still apply. */
51404 char $ac_func ();
51405 /* The GNU C library defines this for functions which it implements
51406 to always fail with ENOSYS. Some functions are actually named
51407 something starting with __ and the normal name is an alias. */
51408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51409 choke me
51410 #else
51411 char (*f) () = $ac_func;
51412 #endif
51413 #ifdef __cplusplus
51415 #endif
51418 main ()
51420 return f != $ac_func;
51422 return 0;
51424 _ACEOF
51425 rm -f conftest.$ac_objext conftest$ac_exeext
51426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51427 (eval $ac_link) 2>conftest.er1
51428 ac_status=$?
51429 grep -v '^ *+' conftest.er1 >conftest.err
51430 rm -f conftest.er1
51431 cat conftest.err >&5
51432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51433 (exit $ac_status); } &&
51434 { ac_try='test -z "$ac_c_werror_flag"
51435 || test ! -s conftest.err'
51436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51437 (eval $ac_try) 2>&5
51438 ac_status=$?
51439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51440 (exit $ac_status); }; } &&
51441 { ac_try='test -s conftest$ac_exeext'
51442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51443 (eval $ac_try) 2>&5
51444 ac_status=$?
51445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51446 (exit $ac_status); }; }; then
51447 eval "$as_ac_var=yes"
51448 else
51449 echo "$as_me: failed program was:" >&5
51450 sed 's/^/| /' conftest.$ac_ext >&5
51452 eval "$as_ac_var=no"
51454 rm -f conftest.err conftest.$ac_objext \
51455 conftest$ac_exeext conftest.$ac_ext
51457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51459 if test `eval echo '${'$as_ac_var'}'` = yes; then
51460 cat >>confdefs.h <<_ACEOF
51461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51462 _ACEOF
51465 done
51475 echo "$as_me:$LINENO: checking for modf declaration" >&5
51476 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
51477 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51478 if test "${glibcxx_cv_func_modf_use+set}" = set; then
51479 echo $ECHO_N "(cached) $ECHO_C" >&6
51480 else
51484 ac_ext=cc
51485 ac_cpp='$CXXCPP $CPPFLAGS'
51486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51490 cat >conftest.$ac_ext <<_ACEOF
51491 /* confdefs.h. */
51492 _ACEOF
51493 cat confdefs.h >>conftest.$ac_ext
51494 cat >>conftest.$ac_ext <<_ACEOF
51495 /* end confdefs.h. */
51496 #include <math.h>
51498 main ()
51500 modf(0, 0);
51502 return 0;
51504 _ACEOF
51505 rm -f conftest.$ac_objext
51506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51507 (eval $ac_compile) 2>conftest.er1
51508 ac_status=$?
51509 grep -v '^ *+' conftest.er1 >conftest.err
51510 rm -f conftest.er1
51511 cat conftest.err >&5
51512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51513 (exit $ac_status); } &&
51514 { ac_try='test -z "$ac_cxx_werror_flag"
51515 || test ! -s conftest.err'
51516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51517 (eval $ac_try) 2>&5
51518 ac_status=$?
51519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51520 (exit $ac_status); }; } &&
51521 { ac_try='test -s conftest.$ac_objext'
51522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51523 (eval $ac_try) 2>&5
51524 ac_status=$?
51525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51526 (exit $ac_status); }; }; then
51527 glibcxx_cv_func_modf_use=yes
51528 else
51529 echo "$as_me: failed program was:" >&5
51530 sed 's/^/| /' conftest.$ac_ext >&5
51532 glibcxx_cv_func_modf_use=no
51534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51535 ac_ext=c
51536 ac_cpp='$CPP $CPPFLAGS'
51537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51545 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
51546 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
51548 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51550 for ac_func in modf
51552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51553 echo "$as_me:$LINENO: checking for $ac_func" >&5
51554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51555 if eval "test \"\${$as_ac_var+set}\" = set"; then
51556 echo $ECHO_N "(cached) $ECHO_C" >&6
51557 else
51558 if test x$gcc_no_link = xyes; then
51559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51561 { (exit 1); exit 1; }; }
51563 cat >conftest.$ac_ext <<_ACEOF
51564 /* confdefs.h. */
51565 _ACEOF
51566 cat confdefs.h >>conftest.$ac_ext
51567 cat >>conftest.$ac_ext <<_ACEOF
51568 /* end confdefs.h. */
51569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51571 #define $ac_func innocuous_$ac_func
51573 /* System header to define __stub macros and hopefully few prototypes,
51574 which can conflict with char $ac_func (); below.
51575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51576 <limits.h> exists even on freestanding compilers. */
51578 #ifdef __STDC__
51579 # include <limits.h>
51580 #else
51581 # include <assert.h>
51582 #endif
51584 #undef $ac_func
51586 /* Override any gcc2 internal prototype to avoid an error. */
51587 #ifdef __cplusplus
51588 extern "C"
51590 #endif
51591 /* We use char because int might match the return type of a gcc2
51592 builtin and then its argument prototype would still apply. */
51593 char $ac_func ();
51594 /* The GNU C library defines this for functions which it implements
51595 to always fail with ENOSYS. Some functions are actually named
51596 something starting with __ and the normal name is an alias. */
51597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51598 choke me
51599 #else
51600 char (*f) () = $ac_func;
51601 #endif
51602 #ifdef __cplusplus
51604 #endif
51607 main ()
51609 return f != $ac_func;
51611 return 0;
51613 _ACEOF
51614 rm -f conftest.$ac_objext conftest$ac_exeext
51615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51616 (eval $ac_link) 2>conftest.er1
51617 ac_status=$?
51618 grep -v '^ *+' conftest.er1 >conftest.err
51619 rm -f conftest.er1
51620 cat conftest.err >&5
51621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51622 (exit $ac_status); } &&
51623 { ac_try='test -z "$ac_c_werror_flag"
51624 || test ! -s conftest.err'
51625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51626 (eval $ac_try) 2>&5
51627 ac_status=$?
51628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51629 (exit $ac_status); }; } &&
51630 { ac_try='test -s conftest$ac_exeext'
51631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51632 (eval $ac_try) 2>&5
51633 ac_status=$?
51634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51635 (exit $ac_status); }; }; then
51636 eval "$as_ac_var=yes"
51637 else
51638 echo "$as_me: failed program was:" >&5
51639 sed 's/^/| /' conftest.$ac_ext >&5
51641 eval "$as_ac_var=no"
51643 rm -f conftest.err conftest.$ac_objext \
51644 conftest$ac_exeext conftest.$ac_ext
51646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51648 if test `eval echo '${'$as_ac_var'}'` = yes; then
51649 cat >>confdefs.h <<_ACEOF
51650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51651 _ACEOF
51654 done
51656 else
51658 echo "$as_me:$LINENO: checking for _modf declaration" >&5
51659 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
51660 if test x${glibcxx_cv_func__modf_use+set} != xset; then
51661 if test "${glibcxx_cv_func__modf_use+set}" = set; then
51662 echo $ECHO_N "(cached) $ECHO_C" >&6
51663 else
51667 ac_ext=cc
51668 ac_cpp='$CXXCPP $CPPFLAGS'
51669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51673 cat >conftest.$ac_ext <<_ACEOF
51674 /* confdefs.h. */
51675 _ACEOF
51676 cat confdefs.h >>conftest.$ac_ext
51677 cat >>conftest.$ac_ext <<_ACEOF
51678 /* end confdefs.h. */
51679 #include <math.h>
51681 main ()
51683 _modf(0, 0);
51685 return 0;
51687 _ACEOF
51688 rm -f conftest.$ac_objext
51689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51690 (eval $ac_compile) 2>conftest.er1
51691 ac_status=$?
51692 grep -v '^ *+' conftest.er1 >conftest.err
51693 rm -f conftest.er1
51694 cat conftest.err >&5
51695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51696 (exit $ac_status); } &&
51697 { ac_try='test -z "$ac_cxx_werror_flag"
51698 || test ! -s conftest.err'
51699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51700 (eval $ac_try) 2>&5
51701 ac_status=$?
51702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51703 (exit $ac_status); }; } &&
51704 { ac_try='test -s conftest.$ac_objext'
51705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51706 (eval $ac_try) 2>&5
51707 ac_status=$?
51708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51709 (exit $ac_status); }; }; then
51710 glibcxx_cv_func__modf_use=yes
51711 else
51712 echo "$as_me: failed program was:" >&5
51713 sed 's/^/| /' conftest.$ac_ext >&5
51715 glibcxx_cv_func__modf_use=no
51717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51718 ac_ext=c
51719 ac_cpp='$CPP $CPPFLAGS'
51720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51728 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
51729 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
51731 if test x$glibcxx_cv_func__modf_use = x"yes"; then
51733 for ac_func in _modf
51735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51736 echo "$as_me:$LINENO: checking for $ac_func" >&5
51737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51738 if eval "test \"\${$as_ac_var+set}\" = set"; then
51739 echo $ECHO_N "(cached) $ECHO_C" >&6
51740 else
51741 if test x$gcc_no_link = xyes; then
51742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51744 { (exit 1); exit 1; }; }
51746 cat >conftest.$ac_ext <<_ACEOF
51747 /* confdefs.h. */
51748 _ACEOF
51749 cat confdefs.h >>conftest.$ac_ext
51750 cat >>conftest.$ac_ext <<_ACEOF
51751 /* end confdefs.h. */
51752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51754 #define $ac_func innocuous_$ac_func
51756 /* System header to define __stub macros and hopefully few prototypes,
51757 which can conflict with char $ac_func (); below.
51758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51759 <limits.h> exists even on freestanding compilers. */
51761 #ifdef __STDC__
51762 # include <limits.h>
51763 #else
51764 # include <assert.h>
51765 #endif
51767 #undef $ac_func
51769 /* Override any gcc2 internal prototype to avoid an error. */
51770 #ifdef __cplusplus
51771 extern "C"
51773 #endif
51774 /* We use char because int might match the return type of a gcc2
51775 builtin and then its argument prototype would still apply. */
51776 char $ac_func ();
51777 /* The GNU C library defines this for functions which it implements
51778 to always fail with ENOSYS. Some functions are actually named
51779 something starting with __ and the normal name is an alias. */
51780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51781 choke me
51782 #else
51783 char (*f) () = $ac_func;
51784 #endif
51785 #ifdef __cplusplus
51787 #endif
51790 main ()
51792 return f != $ac_func;
51794 return 0;
51796 _ACEOF
51797 rm -f conftest.$ac_objext conftest$ac_exeext
51798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51799 (eval $ac_link) 2>conftest.er1
51800 ac_status=$?
51801 grep -v '^ *+' conftest.er1 >conftest.err
51802 rm -f conftest.er1
51803 cat conftest.err >&5
51804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51805 (exit $ac_status); } &&
51806 { ac_try='test -z "$ac_c_werror_flag"
51807 || test ! -s conftest.err'
51808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51809 (eval $ac_try) 2>&5
51810 ac_status=$?
51811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51812 (exit $ac_status); }; } &&
51813 { ac_try='test -s conftest$ac_exeext'
51814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51815 (eval $ac_try) 2>&5
51816 ac_status=$?
51817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51818 (exit $ac_status); }; }; then
51819 eval "$as_ac_var=yes"
51820 else
51821 echo "$as_me: failed program was:" >&5
51822 sed 's/^/| /' conftest.$ac_ext >&5
51824 eval "$as_ac_var=no"
51826 rm -f conftest.err conftest.$ac_objext \
51827 conftest$ac_exeext conftest.$ac_ext
51829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51831 if test `eval echo '${'$as_ac_var'}'` = yes; then
51832 cat >>confdefs.h <<_ACEOF
51833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51834 _ACEOF
51837 done
51847 echo "$as_me:$LINENO: checking for powf declaration" >&5
51848 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
51849 if test x${glibcxx_cv_func_powf_use+set} != xset; then
51850 if test "${glibcxx_cv_func_powf_use+set}" = set; then
51851 echo $ECHO_N "(cached) $ECHO_C" >&6
51852 else
51856 ac_ext=cc
51857 ac_cpp='$CXXCPP $CPPFLAGS'
51858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51862 cat >conftest.$ac_ext <<_ACEOF
51863 /* confdefs.h. */
51864 _ACEOF
51865 cat confdefs.h >>conftest.$ac_ext
51866 cat >>conftest.$ac_ext <<_ACEOF
51867 /* end confdefs.h. */
51868 #include <math.h>
51870 main ()
51872 powf(0, 0);
51874 return 0;
51876 _ACEOF
51877 rm -f conftest.$ac_objext
51878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51879 (eval $ac_compile) 2>conftest.er1
51880 ac_status=$?
51881 grep -v '^ *+' conftest.er1 >conftest.err
51882 rm -f conftest.er1
51883 cat conftest.err >&5
51884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51885 (exit $ac_status); } &&
51886 { ac_try='test -z "$ac_cxx_werror_flag"
51887 || test ! -s conftest.err'
51888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51889 (eval $ac_try) 2>&5
51890 ac_status=$?
51891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51892 (exit $ac_status); }; } &&
51893 { ac_try='test -s conftest.$ac_objext'
51894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51895 (eval $ac_try) 2>&5
51896 ac_status=$?
51897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51898 (exit $ac_status); }; }; then
51899 glibcxx_cv_func_powf_use=yes
51900 else
51901 echo "$as_me: failed program was:" >&5
51902 sed 's/^/| /' conftest.$ac_ext >&5
51904 glibcxx_cv_func_powf_use=no
51906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51907 ac_ext=c
51908 ac_cpp='$CPP $CPPFLAGS'
51909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51917 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
51918 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
51920 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51922 for ac_func in powf
51924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51925 echo "$as_me:$LINENO: checking for $ac_func" >&5
51926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51927 if eval "test \"\${$as_ac_var+set}\" = set"; then
51928 echo $ECHO_N "(cached) $ECHO_C" >&6
51929 else
51930 if test x$gcc_no_link = xyes; then
51931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51933 { (exit 1); exit 1; }; }
51935 cat >conftest.$ac_ext <<_ACEOF
51936 /* confdefs.h. */
51937 _ACEOF
51938 cat confdefs.h >>conftest.$ac_ext
51939 cat >>conftest.$ac_ext <<_ACEOF
51940 /* end confdefs.h. */
51941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51943 #define $ac_func innocuous_$ac_func
51945 /* System header to define __stub macros and hopefully few prototypes,
51946 which can conflict with char $ac_func (); below.
51947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51948 <limits.h> exists even on freestanding compilers. */
51950 #ifdef __STDC__
51951 # include <limits.h>
51952 #else
51953 # include <assert.h>
51954 #endif
51956 #undef $ac_func
51958 /* Override any gcc2 internal prototype to avoid an error. */
51959 #ifdef __cplusplus
51960 extern "C"
51962 #endif
51963 /* We use char because int might match the return type of a gcc2
51964 builtin and then its argument prototype would still apply. */
51965 char $ac_func ();
51966 /* The GNU C library defines this for functions which it implements
51967 to always fail with ENOSYS. Some functions are actually named
51968 something starting with __ and the normal name is an alias. */
51969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51970 choke me
51971 #else
51972 char (*f) () = $ac_func;
51973 #endif
51974 #ifdef __cplusplus
51976 #endif
51979 main ()
51981 return f != $ac_func;
51983 return 0;
51985 _ACEOF
51986 rm -f conftest.$ac_objext conftest$ac_exeext
51987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51988 (eval $ac_link) 2>conftest.er1
51989 ac_status=$?
51990 grep -v '^ *+' conftest.er1 >conftest.err
51991 rm -f conftest.er1
51992 cat conftest.err >&5
51993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51994 (exit $ac_status); } &&
51995 { ac_try='test -z "$ac_c_werror_flag"
51996 || test ! -s conftest.err'
51997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51998 (eval $ac_try) 2>&5
51999 ac_status=$?
52000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52001 (exit $ac_status); }; } &&
52002 { ac_try='test -s conftest$ac_exeext'
52003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52004 (eval $ac_try) 2>&5
52005 ac_status=$?
52006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52007 (exit $ac_status); }; }; then
52008 eval "$as_ac_var=yes"
52009 else
52010 echo "$as_me: failed program was:" >&5
52011 sed 's/^/| /' conftest.$ac_ext >&5
52013 eval "$as_ac_var=no"
52015 rm -f conftest.err conftest.$ac_objext \
52016 conftest$ac_exeext conftest.$ac_ext
52018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52020 if test `eval echo '${'$as_ac_var'}'` = yes; then
52021 cat >>confdefs.h <<_ACEOF
52022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52023 _ACEOF
52026 done
52028 else
52030 echo "$as_me:$LINENO: checking for _powf declaration" >&5
52031 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52032 if test x${glibcxx_cv_func__powf_use+set} != xset; then
52033 if test "${glibcxx_cv_func__powf_use+set}" = set; then
52034 echo $ECHO_N "(cached) $ECHO_C" >&6
52035 else
52039 ac_ext=cc
52040 ac_cpp='$CXXCPP $CPPFLAGS'
52041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52045 cat >conftest.$ac_ext <<_ACEOF
52046 /* confdefs.h. */
52047 _ACEOF
52048 cat confdefs.h >>conftest.$ac_ext
52049 cat >>conftest.$ac_ext <<_ACEOF
52050 /* end confdefs.h. */
52051 #include <math.h>
52053 main ()
52055 _powf(0, 0);
52057 return 0;
52059 _ACEOF
52060 rm -f conftest.$ac_objext
52061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52062 (eval $ac_compile) 2>conftest.er1
52063 ac_status=$?
52064 grep -v '^ *+' conftest.er1 >conftest.err
52065 rm -f conftest.er1
52066 cat conftest.err >&5
52067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52068 (exit $ac_status); } &&
52069 { ac_try='test -z "$ac_cxx_werror_flag"
52070 || test ! -s conftest.err'
52071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52072 (eval $ac_try) 2>&5
52073 ac_status=$?
52074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52075 (exit $ac_status); }; } &&
52076 { ac_try='test -s conftest.$ac_objext'
52077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52078 (eval $ac_try) 2>&5
52079 ac_status=$?
52080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52081 (exit $ac_status); }; }; then
52082 glibcxx_cv_func__powf_use=yes
52083 else
52084 echo "$as_me: failed program was:" >&5
52085 sed 's/^/| /' conftest.$ac_ext >&5
52087 glibcxx_cv_func__powf_use=no
52089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52090 ac_ext=c
52091 ac_cpp='$CPP $CPPFLAGS'
52092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52100 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
52101 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
52103 if test x$glibcxx_cv_func__powf_use = x"yes"; then
52105 for ac_func in _powf
52107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52108 echo "$as_me:$LINENO: checking for $ac_func" >&5
52109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52110 if eval "test \"\${$as_ac_var+set}\" = set"; then
52111 echo $ECHO_N "(cached) $ECHO_C" >&6
52112 else
52113 if test x$gcc_no_link = xyes; then
52114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52116 { (exit 1); exit 1; }; }
52118 cat >conftest.$ac_ext <<_ACEOF
52119 /* confdefs.h. */
52120 _ACEOF
52121 cat confdefs.h >>conftest.$ac_ext
52122 cat >>conftest.$ac_ext <<_ACEOF
52123 /* end confdefs.h. */
52124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52126 #define $ac_func innocuous_$ac_func
52128 /* System header to define __stub macros and hopefully few prototypes,
52129 which can conflict with char $ac_func (); below.
52130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52131 <limits.h> exists even on freestanding compilers. */
52133 #ifdef __STDC__
52134 # include <limits.h>
52135 #else
52136 # include <assert.h>
52137 #endif
52139 #undef $ac_func
52141 /* Override any gcc2 internal prototype to avoid an error. */
52142 #ifdef __cplusplus
52143 extern "C"
52145 #endif
52146 /* We use char because int might match the return type of a gcc2
52147 builtin and then its argument prototype would still apply. */
52148 char $ac_func ();
52149 /* The GNU C library defines this for functions which it implements
52150 to always fail with ENOSYS. Some functions are actually named
52151 something starting with __ and the normal name is an alias. */
52152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52153 choke me
52154 #else
52155 char (*f) () = $ac_func;
52156 #endif
52157 #ifdef __cplusplus
52159 #endif
52162 main ()
52164 return f != $ac_func;
52166 return 0;
52168 _ACEOF
52169 rm -f conftest.$ac_objext conftest$ac_exeext
52170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52171 (eval $ac_link) 2>conftest.er1
52172 ac_status=$?
52173 grep -v '^ *+' conftest.er1 >conftest.err
52174 rm -f conftest.er1
52175 cat conftest.err >&5
52176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52177 (exit $ac_status); } &&
52178 { ac_try='test -z "$ac_c_werror_flag"
52179 || test ! -s conftest.err'
52180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52181 (eval $ac_try) 2>&5
52182 ac_status=$?
52183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52184 (exit $ac_status); }; } &&
52185 { ac_try='test -s conftest$ac_exeext'
52186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52187 (eval $ac_try) 2>&5
52188 ac_status=$?
52189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52190 (exit $ac_status); }; }; then
52191 eval "$as_ac_var=yes"
52192 else
52193 echo "$as_me: failed program was:" >&5
52194 sed 's/^/| /' conftest.$ac_ext >&5
52196 eval "$as_ac_var=no"
52198 rm -f conftest.err conftest.$ac_objext \
52199 conftest$ac_exeext conftest.$ac_ext
52201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52203 if test `eval echo '${'$as_ac_var'}'` = yes; then
52204 cat >>confdefs.h <<_ACEOF
52205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52206 _ACEOF
52209 done
52219 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
52220 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
52221 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52222 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
52223 echo $ECHO_N "(cached) $ECHO_C" >&6
52224 else
52228 ac_ext=cc
52229 ac_cpp='$CXXCPP $CPPFLAGS'
52230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52234 cat >conftest.$ac_ext <<_ACEOF
52235 /* confdefs.h. */
52236 _ACEOF
52237 cat confdefs.h >>conftest.$ac_ext
52238 cat >>conftest.$ac_ext <<_ACEOF
52239 /* end confdefs.h. */
52240 #include <math.h>
52241 #ifdef HAVE_IEEEFP_H
52242 #include <ieeefp.h>
52243 #endif
52246 main ()
52248 sqrtf(0);
52250 return 0;
52252 _ACEOF
52253 rm -f conftest.$ac_objext
52254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52255 (eval $ac_compile) 2>conftest.er1
52256 ac_status=$?
52257 grep -v '^ *+' conftest.er1 >conftest.err
52258 rm -f conftest.er1
52259 cat conftest.err >&5
52260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52261 (exit $ac_status); } &&
52262 { ac_try='test -z "$ac_cxx_werror_flag"
52263 || test ! -s conftest.err'
52264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52265 (eval $ac_try) 2>&5
52266 ac_status=$?
52267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52268 (exit $ac_status); }; } &&
52269 { ac_try='test -s conftest.$ac_objext'
52270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52271 (eval $ac_try) 2>&5
52272 ac_status=$?
52273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52274 (exit $ac_status); }; }; then
52275 glibcxx_cv_func_sqrtf_use=yes
52276 else
52277 echo "$as_me: failed program was:" >&5
52278 sed 's/^/| /' conftest.$ac_ext >&5
52280 glibcxx_cv_func_sqrtf_use=no
52282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52283 ac_ext=c
52284 ac_cpp='$CPP $CPPFLAGS'
52285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52293 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
52294 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
52296 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52298 for ac_func in sqrtf
52300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52301 echo "$as_me:$LINENO: checking for $ac_func" >&5
52302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52303 if eval "test \"\${$as_ac_var+set}\" = set"; then
52304 echo $ECHO_N "(cached) $ECHO_C" >&6
52305 else
52306 if test x$gcc_no_link = xyes; then
52307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52309 { (exit 1); exit 1; }; }
52311 cat >conftest.$ac_ext <<_ACEOF
52312 /* confdefs.h. */
52313 _ACEOF
52314 cat confdefs.h >>conftest.$ac_ext
52315 cat >>conftest.$ac_ext <<_ACEOF
52316 /* end confdefs.h. */
52317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52319 #define $ac_func innocuous_$ac_func
52321 /* System header to define __stub macros and hopefully few prototypes,
52322 which can conflict with char $ac_func (); below.
52323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52324 <limits.h> exists even on freestanding compilers. */
52326 #ifdef __STDC__
52327 # include <limits.h>
52328 #else
52329 # include <assert.h>
52330 #endif
52332 #undef $ac_func
52334 /* Override any gcc2 internal prototype to avoid an error. */
52335 #ifdef __cplusplus
52336 extern "C"
52338 #endif
52339 /* We use char because int might match the return type of a gcc2
52340 builtin and then its argument prototype would still apply. */
52341 char $ac_func ();
52342 /* The GNU C library defines this for functions which it implements
52343 to always fail with ENOSYS. Some functions are actually named
52344 something starting with __ and the normal name is an alias. */
52345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52346 choke me
52347 #else
52348 char (*f) () = $ac_func;
52349 #endif
52350 #ifdef __cplusplus
52352 #endif
52355 main ()
52357 return f != $ac_func;
52359 return 0;
52361 _ACEOF
52362 rm -f conftest.$ac_objext conftest$ac_exeext
52363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52364 (eval $ac_link) 2>conftest.er1
52365 ac_status=$?
52366 grep -v '^ *+' conftest.er1 >conftest.err
52367 rm -f conftest.er1
52368 cat conftest.err >&5
52369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52370 (exit $ac_status); } &&
52371 { ac_try='test -z "$ac_c_werror_flag"
52372 || test ! -s conftest.err'
52373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52374 (eval $ac_try) 2>&5
52375 ac_status=$?
52376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52377 (exit $ac_status); }; } &&
52378 { ac_try='test -s conftest$ac_exeext'
52379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52380 (eval $ac_try) 2>&5
52381 ac_status=$?
52382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52383 (exit $ac_status); }; }; then
52384 eval "$as_ac_var=yes"
52385 else
52386 echo "$as_me: failed program was:" >&5
52387 sed 's/^/| /' conftest.$ac_ext >&5
52389 eval "$as_ac_var=no"
52391 rm -f conftest.err conftest.$ac_objext \
52392 conftest$ac_exeext conftest.$ac_ext
52394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52396 if test `eval echo '${'$as_ac_var'}'` = yes; then
52397 cat >>confdefs.h <<_ACEOF
52398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52399 _ACEOF
52402 done
52404 else
52406 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
52407 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
52408 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52409 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
52410 echo $ECHO_N "(cached) $ECHO_C" >&6
52411 else
52415 ac_ext=cc
52416 ac_cpp='$CXXCPP $CPPFLAGS'
52417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52421 cat >conftest.$ac_ext <<_ACEOF
52422 /* confdefs.h. */
52423 _ACEOF
52424 cat confdefs.h >>conftest.$ac_ext
52425 cat >>conftest.$ac_ext <<_ACEOF
52426 /* end confdefs.h. */
52427 #include <math.h>
52428 #ifdef HAVE_IEEEFP_H
52429 #include <ieeefp.h>
52430 #endif
52433 main ()
52435 _sqrtf(0);
52437 return 0;
52439 _ACEOF
52440 rm -f conftest.$ac_objext
52441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52442 (eval $ac_compile) 2>conftest.er1
52443 ac_status=$?
52444 grep -v '^ *+' conftest.er1 >conftest.err
52445 rm -f conftest.er1
52446 cat conftest.err >&5
52447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52448 (exit $ac_status); } &&
52449 { ac_try='test -z "$ac_cxx_werror_flag"
52450 || test ! -s conftest.err'
52451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52452 (eval $ac_try) 2>&5
52453 ac_status=$?
52454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52455 (exit $ac_status); }; } &&
52456 { ac_try='test -s conftest.$ac_objext'
52457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52458 (eval $ac_try) 2>&5
52459 ac_status=$?
52460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52461 (exit $ac_status); }; }; then
52462 glibcxx_cv_func__sqrtf_use=yes
52463 else
52464 echo "$as_me: failed program was:" >&5
52465 sed 's/^/| /' conftest.$ac_ext >&5
52467 glibcxx_cv_func__sqrtf_use=no
52469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52470 ac_ext=c
52471 ac_cpp='$CPP $CPPFLAGS'
52472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52480 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
52481 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
52483 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52485 for ac_func in _sqrtf
52487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52488 echo "$as_me:$LINENO: checking for $ac_func" >&5
52489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52490 if eval "test \"\${$as_ac_var+set}\" = set"; then
52491 echo $ECHO_N "(cached) $ECHO_C" >&6
52492 else
52493 if test x$gcc_no_link = xyes; then
52494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52496 { (exit 1); exit 1; }; }
52498 cat >conftest.$ac_ext <<_ACEOF
52499 /* confdefs.h. */
52500 _ACEOF
52501 cat confdefs.h >>conftest.$ac_ext
52502 cat >>conftest.$ac_ext <<_ACEOF
52503 /* end confdefs.h. */
52504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52506 #define $ac_func innocuous_$ac_func
52508 /* System header to define __stub macros and hopefully few prototypes,
52509 which can conflict with char $ac_func (); below.
52510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52511 <limits.h> exists even on freestanding compilers. */
52513 #ifdef __STDC__
52514 # include <limits.h>
52515 #else
52516 # include <assert.h>
52517 #endif
52519 #undef $ac_func
52521 /* Override any gcc2 internal prototype to avoid an error. */
52522 #ifdef __cplusplus
52523 extern "C"
52525 #endif
52526 /* We use char because int might match the return type of a gcc2
52527 builtin and then its argument prototype would still apply. */
52528 char $ac_func ();
52529 /* The GNU C library defines this for functions which it implements
52530 to always fail with ENOSYS. Some functions are actually named
52531 something starting with __ and the normal name is an alias. */
52532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52533 choke me
52534 #else
52535 char (*f) () = $ac_func;
52536 #endif
52537 #ifdef __cplusplus
52539 #endif
52542 main ()
52544 return f != $ac_func;
52546 return 0;
52548 _ACEOF
52549 rm -f conftest.$ac_objext conftest$ac_exeext
52550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52551 (eval $ac_link) 2>conftest.er1
52552 ac_status=$?
52553 grep -v '^ *+' conftest.er1 >conftest.err
52554 rm -f conftest.er1
52555 cat conftest.err >&5
52556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52557 (exit $ac_status); } &&
52558 { ac_try='test -z "$ac_c_werror_flag"
52559 || test ! -s conftest.err'
52560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52561 (eval $ac_try) 2>&5
52562 ac_status=$?
52563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52564 (exit $ac_status); }; } &&
52565 { ac_try='test -s conftest$ac_exeext'
52566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52567 (eval $ac_try) 2>&5
52568 ac_status=$?
52569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52570 (exit $ac_status); }; }; then
52571 eval "$as_ac_var=yes"
52572 else
52573 echo "$as_me: failed program was:" >&5
52574 sed 's/^/| /' conftest.$ac_ext >&5
52576 eval "$as_ac_var=no"
52578 rm -f conftest.err conftest.$ac_objext \
52579 conftest$ac_exeext conftest.$ac_ext
52581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52583 if test `eval echo '${'$as_ac_var'}'` = yes; then
52584 cat >>confdefs.h <<_ACEOF
52585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52586 _ACEOF
52589 done
52599 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
52600 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
52601 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52602 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
52603 echo $ECHO_N "(cached) $ECHO_C" >&6
52604 else
52608 ac_ext=cc
52609 ac_cpp='$CXXCPP $CPPFLAGS'
52610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52614 cat >conftest.$ac_ext <<_ACEOF
52615 /* confdefs.h. */
52616 _ACEOF
52617 cat confdefs.h >>conftest.$ac_ext
52618 cat >>conftest.$ac_ext <<_ACEOF
52619 /* end confdefs.h. */
52620 #include <math.h>
52622 main ()
52624 sincosf(0, 0, 0);
52626 return 0;
52628 _ACEOF
52629 rm -f conftest.$ac_objext
52630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52631 (eval $ac_compile) 2>conftest.er1
52632 ac_status=$?
52633 grep -v '^ *+' conftest.er1 >conftest.err
52634 rm -f conftest.er1
52635 cat conftest.err >&5
52636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52637 (exit $ac_status); } &&
52638 { ac_try='test -z "$ac_cxx_werror_flag"
52639 || test ! -s conftest.err'
52640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52641 (eval $ac_try) 2>&5
52642 ac_status=$?
52643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52644 (exit $ac_status); }; } &&
52645 { ac_try='test -s conftest.$ac_objext'
52646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52647 (eval $ac_try) 2>&5
52648 ac_status=$?
52649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52650 (exit $ac_status); }; }; then
52651 glibcxx_cv_func_sincosf_use=yes
52652 else
52653 echo "$as_me: failed program was:" >&5
52654 sed 's/^/| /' conftest.$ac_ext >&5
52656 glibcxx_cv_func_sincosf_use=no
52658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52659 ac_ext=c
52660 ac_cpp='$CPP $CPPFLAGS'
52661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52669 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
52670 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
52672 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
52674 for ac_func in sincosf
52676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52677 echo "$as_me:$LINENO: checking for $ac_func" >&5
52678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52679 if eval "test \"\${$as_ac_var+set}\" = set"; then
52680 echo $ECHO_N "(cached) $ECHO_C" >&6
52681 else
52682 if test x$gcc_no_link = xyes; then
52683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52685 { (exit 1); exit 1; }; }
52687 cat >conftest.$ac_ext <<_ACEOF
52688 /* confdefs.h. */
52689 _ACEOF
52690 cat confdefs.h >>conftest.$ac_ext
52691 cat >>conftest.$ac_ext <<_ACEOF
52692 /* end confdefs.h. */
52693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52695 #define $ac_func innocuous_$ac_func
52697 /* System header to define __stub macros and hopefully few prototypes,
52698 which can conflict with char $ac_func (); below.
52699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52700 <limits.h> exists even on freestanding compilers. */
52702 #ifdef __STDC__
52703 # include <limits.h>
52704 #else
52705 # include <assert.h>
52706 #endif
52708 #undef $ac_func
52710 /* Override any gcc2 internal prototype to avoid an error. */
52711 #ifdef __cplusplus
52712 extern "C"
52714 #endif
52715 /* We use char because int might match the return type of a gcc2
52716 builtin and then its argument prototype would still apply. */
52717 char $ac_func ();
52718 /* The GNU C library defines this for functions which it implements
52719 to always fail with ENOSYS. Some functions are actually named
52720 something starting with __ and the normal name is an alias. */
52721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52722 choke me
52723 #else
52724 char (*f) () = $ac_func;
52725 #endif
52726 #ifdef __cplusplus
52728 #endif
52731 main ()
52733 return f != $ac_func;
52735 return 0;
52737 _ACEOF
52738 rm -f conftest.$ac_objext conftest$ac_exeext
52739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52740 (eval $ac_link) 2>conftest.er1
52741 ac_status=$?
52742 grep -v '^ *+' conftest.er1 >conftest.err
52743 rm -f conftest.er1
52744 cat conftest.err >&5
52745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52746 (exit $ac_status); } &&
52747 { ac_try='test -z "$ac_c_werror_flag"
52748 || test ! -s conftest.err'
52749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52750 (eval $ac_try) 2>&5
52751 ac_status=$?
52752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52753 (exit $ac_status); }; } &&
52754 { ac_try='test -s conftest$ac_exeext'
52755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52756 (eval $ac_try) 2>&5
52757 ac_status=$?
52758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52759 (exit $ac_status); }; }; then
52760 eval "$as_ac_var=yes"
52761 else
52762 echo "$as_me: failed program was:" >&5
52763 sed 's/^/| /' conftest.$ac_ext >&5
52765 eval "$as_ac_var=no"
52767 rm -f conftest.err conftest.$ac_objext \
52768 conftest$ac_exeext conftest.$ac_ext
52770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52772 if test `eval echo '${'$as_ac_var'}'` = yes; then
52773 cat >>confdefs.h <<_ACEOF
52774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52775 _ACEOF
52778 done
52780 else
52782 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
52783 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
52784 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
52785 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
52786 echo $ECHO_N "(cached) $ECHO_C" >&6
52787 else
52791 ac_ext=cc
52792 ac_cpp='$CXXCPP $CPPFLAGS'
52793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52797 cat >conftest.$ac_ext <<_ACEOF
52798 /* confdefs.h. */
52799 _ACEOF
52800 cat confdefs.h >>conftest.$ac_ext
52801 cat >>conftest.$ac_ext <<_ACEOF
52802 /* end confdefs.h. */
52803 #include <math.h>
52805 main ()
52807 _sincosf(0, 0, 0);
52809 return 0;
52811 _ACEOF
52812 rm -f conftest.$ac_objext
52813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52814 (eval $ac_compile) 2>conftest.er1
52815 ac_status=$?
52816 grep -v '^ *+' conftest.er1 >conftest.err
52817 rm -f conftest.er1
52818 cat conftest.err >&5
52819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52820 (exit $ac_status); } &&
52821 { ac_try='test -z "$ac_cxx_werror_flag"
52822 || test ! -s conftest.err'
52823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52824 (eval $ac_try) 2>&5
52825 ac_status=$?
52826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52827 (exit $ac_status); }; } &&
52828 { ac_try='test -s conftest.$ac_objext'
52829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52830 (eval $ac_try) 2>&5
52831 ac_status=$?
52832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52833 (exit $ac_status); }; }; then
52834 glibcxx_cv_func__sincosf_use=yes
52835 else
52836 echo "$as_me: failed program was:" >&5
52837 sed 's/^/| /' conftest.$ac_ext >&5
52839 glibcxx_cv_func__sincosf_use=no
52841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52842 ac_ext=c
52843 ac_cpp='$CPP $CPPFLAGS'
52844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52852 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
52853 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
52855 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
52857 for ac_func in _sincosf
52859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52860 echo "$as_me:$LINENO: checking for $ac_func" >&5
52861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52862 if eval "test \"\${$as_ac_var+set}\" = set"; then
52863 echo $ECHO_N "(cached) $ECHO_C" >&6
52864 else
52865 if test x$gcc_no_link = xyes; then
52866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52868 { (exit 1); exit 1; }; }
52870 cat >conftest.$ac_ext <<_ACEOF
52871 /* confdefs.h. */
52872 _ACEOF
52873 cat confdefs.h >>conftest.$ac_ext
52874 cat >>conftest.$ac_ext <<_ACEOF
52875 /* end confdefs.h. */
52876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52878 #define $ac_func innocuous_$ac_func
52880 /* System header to define __stub macros and hopefully few prototypes,
52881 which can conflict with char $ac_func (); below.
52882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52883 <limits.h> exists even on freestanding compilers. */
52885 #ifdef __STDC__
52886 # include <limits.h>
52887 #else
52888 # include <assert.h>
52889 #endif
52891 #undef $ac_func
52893 /* Override any gcc2 internal prototype to avoid an error. */
52894 #ifdef __cplusplus
52895 extern "C"
52897 #endif
52898 /* We use char because int might match the return type of a gcc2
52899 builtin and then its argument prototype would still apply. */
52900 char $ac_func ();
52901 /* The GNU C library defines this for functions which it implements
52902 to always fail with ENOSYS. Some functions are actually named
52903 something starting with __ and the normal name is an alias. */
52904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52905 choke me
52906 #else
52907 char (*f) () = $ac_func;
52908 #endif
52909 #ifdef __cplusplus
52911 #endif
52914 main ()
52916 return f != $ac_func;
52918 return 0;
52920 _ACEOF
52921 rm -f conftest.$ac_objext conftest$ac_exeext
52922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52923 (eval $ac_link) 2>conftest.er1
52924 ac_status=$?
52925 grep -v '^ *+' conftest.er1 >conftest.err
52926 rm -f conftest.er1
52927 cat conftest.err >&5
52928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52929 (exit $ac_status); } &&
52930 { ac_try='test -z "$ac_c_werror_flag"
52931 || test ! -s conftest.err'
52932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52933 (eval $ac_try) 2>&5
52934 ac_status=$?
52935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52936 (exit $ac_status); }; } &&
52937 { ac_try='test -s conftest$ac_exeext'
52938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52939 (eval $ac_try) 2>&5
52940 ac_status=$?
52941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52942 (exit $ac_status); }; }; then
52943 eval "$as_ac_var=yes"
52944 else
52945 echo "$as_me: failed program was:" >&5
52946 sed 's/^/| /' conftest.$ac_ext >&5
52948 eval "$as_ac_var=no"
52950 rm -f conftest.err conftest.$ac_objext \
52951 conftest$ac_exeext conftest.$ac_ext
52953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52955 if test `eval echo '${'$as_ac_var'}'` = yes; then
52956 cat >>confdefs.h <<_ACEOF
52957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52958 _ACEOF
52961 done
52971 echo "$as_me:$LINENO: checking for finitef declaration" >&5
52972 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
52973 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
52974 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
52975 echo $ECHO_N "(cached) $ECHO_C" >&6
52976 else
52980 ac_ext=cc
52981 ac_cpp='$CXXCPP $CPPFLAGS'
52982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52986 cat >conftest.$ac_ext <<_ACEOF
52987 /* confdefs.h. */
52988 _ACEOF
52989 cat confdefs.h >>conftest.$ac_ext
52990 cat >>conftest.$ac_ext <<_ACEOF
52991 /* end confdefs.h. */
52992 #include <math.h>
52993 #ifdef HAVE_IEEEFP_H
52994 #include <ieeefp.h>
52995 #endif
52998 main ()
53000 finitef(0);
53002 return 0;
53004 _ACEOF
53005 rm -f conftest.$ac_objext
53006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53007 (eval $ac_compile) 2>conftest.er1
53008 ac_status=$?
53009 grep -v '^ *+' conftest.er1 >conftest.err
53010 rm -f conftest.er1
53011 cat conftest.err >&5
53012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53013 (exit $ac_status); } &&
53014 { ac_try='test -z "$ac_cxx_werror_flag"
53015 || test ! -s conftest.err'
53016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53017 (eval $ac_try) 2>&5
53018 ac_status=$?
53019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53020 (exit $ac_status); }; } &&
53021 { ac_try='test -s conftest.$ac_objext'
53022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53023 (eval $ac_try) 2>&5
53024 ac_status=$?
53025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53026 (exit $ac_status); }; }; then
53027 glibcxx_cv_func_finitef_use=yes
53028 else
53029 echo "$as_me: failed program was:" >&5
53030 sed 's/^/| /' conftest.$ac_ext >&5
53032 glibcxx_cv_func_finitef_use=no
53034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53035 ac_ext=c
53036 ac_cpp='$CPP $CPPFLAGS'
53037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53045 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
53046 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53048 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53050 for ac_func in finitef
53052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53053 echo "$as_me:$LINENO: checking for $ac_func" >&5
53054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53055 if eval "test \"\${$as_ac_var+set}\" = set"; then
53056 echo $ECHO_N "(cached) $ECHO_C" >&6
53057 else
53058 if test x$gcc_no_link = xyes; then
53059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53061 { (exit 1); exit 1; }; }
53063 cat >conftest.$ac_ext <<_ACEOF
53064 /* confdefs.h. */
53065 _ACEOF
53066 cat confdefs.h >>conftest.$ac_ext
53067 cat >>conftest.$ac_ext <<_ACEOF
53068 /* end confdefs.h. */
53069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53071 #define $ac_func innocuous_$ac_func
53073 /* System header to define __stub macros and hopefully few prototypes,
53074 which can conflict with char $ac_func (); below.
53075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53076 <limits.h> exists even on freestanding compilers. */
53078 #ifdef __STDC__
53079 # include <limits.h>
53080 #else
53081 # include <assert.h>
53082 #endif
53084 #undef $ac_func
53086 /* Override any gcc2 internal prototype to avoid an error. */
53087 #ifdef __cplusplus
53088 extern "C"
53090 #endif
53091 /* We use char because int might match the return type of a gcc2
53092 builtin and then its argument prototype would still apply. */
53093 char $ac_func ();
53094 /* The GNU C library defines this for functions which it implements
53095 to always fail with ENOSYS. Some functions are actually named
53096 something starting with __ and the normal name is an alias. */
53097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53098 choke me
53099 #else
53100 char (*f) () = $ac_func;
53101 #endif
53102 #ifdef __cplusplus
53104 #endif
53107 main ()
53109 return f != $ac_func;
53111 return 0;
53113 _ACEOF
53114 rm -f conftest.$ac_objext conftest$ac_exeext
53115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53116 (eval $ac_link) 2>conftest.er1
53117 ac_status=$?
53118 grep -v '^ *+' conftest.er1 >conftest.err
53119 rm -f conftest.er1
53120 cat conftest.err >&5
53121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53122 (exit $ac_status); } &&
53123 { ac_try='test -z "$ac_c_werror_flag"
53124 || test ! -s conftest.err'
53125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53126 (eval $ac_try) 2>&5
53127 ac_status=$?
53128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53129 (exit $ac_status); }; } &&
53130 { ac_try='test -s conftest$ac_exeext'
53131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53132 (eval $ac_try) 2>&5
53133 ac_status=$?
53134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53135 (exit $ac_status); }; }; then
53136 eval "$as_ac_var=yes"
53137 else
53138 echo "$as_me: failed program was:" >&5
53139 sed 's/^/| /' conftest.$ac_ext >&5
53141 eval "$as_ac_var=no"
53143 rm -f conftest.err conftest.$ac_objext \
53144 conftest$ac_exeext conftest.$ac_ext
53146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53148 if test `eval echo '${'$as_ac_var'}'` = yes; then
53149 cat >>confdefs.h <<_ACEOF
53150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53151 _ACEOF
53154 done
53156 else
53158 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
53159 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
53160 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53161 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
53162 echo $ECHO_N "(cached) $ECHO_C" >&6
53163 else
53167 ac_ext=cc
53168 ac_cpp='$CXXCPP $CPPFLAGS'
53169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53173 cat >conftest.$ac_ext <<_ACEOF
53174 /* confdefs.h. */
53175 _ACEOF
53176 cat confdefs.h >>conftest.$ac_ext
53177 cat >>conftest.$ac_ext <<_ACEOF
53178 /* end confdefs.h. */
53179 #include <math.h>
53180 #ifdef HAVE_IEEEFP_H
53181 #include <ieeefp.h>
53182 #endif
53185 main ()
53187 _finitef(0);
53189 return 0;
53191 _ACEOF
53192 rm -f conftest.$ac_objext
53193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53194 (eval $ac_compile) 2>conftest.er1
53195 ac_status=$?
53196 grep -v '^ *+' conftest.er1 >conftest.err
53197 rm -f conftest.er1
53198 cat conftest.err >&5
53199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53200 (exit $ac_status); } &&
53201 { ac_try='test -z "$ac_cxx_werror_flag"
53202 || test ! -s conftest.err'
53203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53204 (eval $ac_try) 2>&5
53205 ac_status=$?
53206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53207 (exit $ac_status); }; } &&
53208 { ac_try='test -s conftest.$ac_objext'
53209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53210 (eval $ac_try) 2>&5
53211 ac_status=$?
53212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53213 (exit $ac_status); }; }; then
53214 glibcxx_cv_func__finitef_use=yes
53215 else
53216 echo "$as_me: failed program was:" >&5
53217 sed 's/^/| /' conftest.$ac_ext >&5
53219 glibcxx_cv_func__finitef_use=no
53221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53222 ac_ext=c
53223 ac_cpp='$CPP $CPPFLAGS'
53224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53232 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
53233 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
53235 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53237 for ac_func in _finitef
53239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53240 echo "$as_me:$LINENO: checking for $ac_func" >&5
53241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53242 if eval "test \"\${$as_ac_var+set}\" = set"; then
53243 echo $ECHO_N "(cached) $ECHO_C" >&6
53244 else
53245 if test x$gcc_no_link = xyes; then
53246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53248 { (exit 1); exit 1; }; }
53250 cat >conftest.$ac_ext <<_ACEOF
53251 /* confdefs.h. */
53252 _ACEOF
53253 cat confdefs.h >>conftest.$ac_ext
53254 cat >>conftest.$ac_ext <<_ACEOF
53255 /* end confdefs.h. */
53256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53258 #define $ac_func innocuous_$ac_func
53260 /* System header to define __stub macros and hopefully few prototypes,
53261 which can conflict with char $ac_func (); below.
53262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53263 <limits.h> exists even on freestanding compilers. */
53265 #ifdef __STDC__
53266 # include <limits.h>
53267 #else
53268 # include <assert.h>
53269 #endif
53271 #undef $ac_func
53273 /* Override any gcc2 internal prototype to avoid an error. */
53274 #ifdef __cplusplus
53275 extern "C"
53277 #endif
53278 /* We use char because int might match the return type of a gcc2
53279 builtin and then its argument prototype would still apply. */
53280 char $ac_func ();
53281 /* The GNU C library defines this for functions which it implements
53282 to always fail with ENOSYS. Some functions are actually named
53283 something starting with __ and the normal name is an alias. */
53284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53285 choke me
53286 #else
53287 char (*f) () = $ac_func;
53288 #endif
53289 #ifdef __cplusplus
53291 #endif
53294 main ()
53296 return f != $ac_func;
53298 return 0;
53300 _ACEOF
53301 rm -f conftest.$ac_objext conftest$ac_exeext
53302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53303 (eval $ac_link) 2>conftest.er1
53304 ac_status=$?
53305 grep -v '^ *+' conftest.er1 >conftest.err
53306 rm -f conftest.er1
53307 cat conftest.err >&5
53308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53309 (exit $ac_status); } &&
53310 { ac_try='test -z "$ac_c_werror_flag"
53311 || test ! -s conftest.err'
53312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53313 (eval $ac_try) 2>&5
53314 ac_status=$?
53315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53316 (exit $ac_status); }; } &&
53317 { ac_try='test -s conftest$ac_exeext'
53318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53319 (eval $ac_try) 2>&5
53320 ac_status=$?
53321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53322 (exit $ac_status); }; }; then
53323 eval "$as_ac_var=yes"
53324 else
53325 echo "$as_me: failed program was:" >&5
53326 sed 's/^/| /' conftest.$ac_ext >&5
53328 eval "$as_ac_var=no"
53330 rm -f conftest.err conftest.$ac_objext \
53331 conftest$ac_exeext conftest.$ac_ext
53333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53335 if test `eval echo '${'$as_ac_var'}'` = yes; then
53336 cat >>confdefs.h <<_ACEOF
53337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53338 _ACEOF
53341 done
53351 echo "$as_me:$LINENO: checking for long double trig functions" >&5
53352 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
53353 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
53354 echo $ECHO_N "(cached) $ECHO_C" >&6
53355 else
53359 ac_ext=cc
53360 ac_cpp='$CXXCPP $CPPFLAGS'
53361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53365 cat >conftest.$ac_ext <<_ACEOF
53366 /* confdefs.h. */
53367 _ACEOF
53368 cat confdefs.h >>conftest.$ac_ext
53369 cat >>conftest.$ac_ext <<_ACEOF
53370 /* end confdefs.h. */
53371 #include <math.h>
53373 main ()
53375 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53377 return 0;
53379 _ACEOF
53380 rm -f conftest.$ac_objext
53381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53382 (eval $ac_compile) 2>conftest.er1
53383 ac_status=$?
53384 grep -v '^ *+' conftest.er1 >conftest.err
53385 rm -f conftest.er1
53386 cat conftest.err >&5
53387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53388 (exit $ac_status); } &&
53389 { ac_try='test -z "$ac_cxx_werror_flag"
53390 || test ! -s conftest.err'
53391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53392 (eval $ac_try) 2>&5
53393 ac_status=$?
53394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53395 (exit $ac_status); }; } &&
53396 { ac_try='test -s conftest.$ac_objext'
53397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53398 (eval $ac_try) 2>&5
53399 ac_status=$?
53400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53401 (exit $ac_status); }; }; then
53402 glibcxx_cv_func_long_double_trig_use=yes
53403 else
53404 echo "$as_me: failed program was:" >&5
53405 sed 's/^/| /' conftest.$ac_ext >&5
53407 glibcxx_cv_func_long_double_trig_use=no
53409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53410 ac_ext=c
53411 ac_cpp='$CPP $CPPFLAGS'
53412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53418 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
53419 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
53420 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53430 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53433 echo "$as_me:$LINENO: checking for $ac_func" >&5
53434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53435 if eval "test \"\${$as_ac_var+set}\" = set"; then
53436 echo $ECHO_N "(cached) $ECHO_C" >&6
53437 else
53438 if test x$gcc_no_link = xyes; then
53439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53441 { (exit 1); exit 1; }; }
53443 cat >conftest.$ac_ext <<_ACEOF
53444 /* confdefs.h. */
53445 _ACEOF
53446 cat confdefs.h >>conftest.$ac_ext
53447 cat >>conftest.$ac_ext <<_ACEOF
53448 /* end confdefs.h. */
53449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53451 #define $ac_func innocuous_$ac_func
53453 /* System header to define __stub macros and hopefully few prototypes,
53454 which can conflict with char $ac_func (); below.
53455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53456 <limits.h> exists even on freestanding compilers. */
53458 #ifdef __STDC__
53459 # include <limits.h>
53460 #else
53461 # include <assert.h>
53462 #endif
53464 #undef $ac_func
53466 /* Override any gcc2 internal prototype to avoid an error. */
53467 #ifdef __cplusplus
53468 extern "C"
53470 #endif
53471 /* We use char because int might match the return type of a gcc2
53472 builtin and then its argument prototype would still apply. */
53473 char $ac_func ();
53474 /* The GNU C library defines this for functions which it implements
53475 to always fail with ENOSYS. Some functions are actually named
53476 something starting with __ and the normal name is an alias. */
53477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53478 choke me
53479 #else
53480 char (*f) () = $ac_func;
53481 #endif
53482 #ifdef __cplusplus
53484 #endif
53487 main ()
53489 return f != $ac_func;
53491 return 0;
53493 _ACEOF
53494 rm -f conftest.$ac_objext conftest$ac_exeext
53495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53496 (eval $ac_link) 2>conftest.er1
53497 ac_status=$?
53498 grep -v '^ *+' conftest.er1 >conftest.err
53499 rm -f conftest.er1
53500 cat conftest.err >&5
53501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53502 (exit $ac_status); } &&
53503 { ac_try='test -z "$ac_c_werror_flag"
53504 || test ! -s conftest.err'
53505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53506 (eval $ac_try) 2>&5
53507 ac_status=$?
53508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53509 (exit $ac_status); }; } &&
53510 { ac_try='test -s conftest$ac_exeext'
53511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53512 (eval $ac_try) 2>&5
53513 ac_status=$?
53514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53515 (exit $ac_status); }; }; then
53516 eval "$as_ac_var=yes"
53517 else
53518 echo "$as_me: failed program was:" >&5
53519 sed 's/^/| /' conftest.$ac_ext >&5
53521 eval "$as_ac_var=no"
53523 rm -f conftest.err conftest.$ac_objext \
53524 conftest$ac_exeext conftest.$ac_ext
53526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53528 if test `eval echo '${'$as_ac_var'}'` = yes; then
53529 cat >>confdefs.h <<_ACEOF
53530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53531 _ACEOF
53534 done
53536 else
53537 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
53538 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
53539 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
53540 echo $ECHO_N "(cached) $ECHO_C" >&6
53541 else
53545 ac_ext=cc
53546 ac_cpp='$CXXCPP $CPPFLAGS'
53547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53551 cat >conftest.$ac_ext <<_ACEOF
53552 /* confdefs.h. */
53553 _ACEOF
53554 cat confdefs.h >>conftest.$ac_ext
53555 cat >>conftest.$ac_ext <<_ACEOF
53556 /* end confdefs.h. */
53557 #include <math.h>
53559 main ()
53561 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53563 return 0;
53565 _ACEOF
53566 rm -f conftest.$ac_objext
53567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53568 (eval $ac_compile) 2>conftest.er1
53569 ac_status=$?
53570 grep -v '^ *+' conftest.er1 >conftest.err
53571 rm -f conftest.er1
53572 cat conftest.err >&5
53573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53574 (exit $ac_status); } &&
53575 { ac_try='test -z "$ac_cxx_werror_flag"
53576 || test ! -s conftest.err'
53577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53578 (eval $ac_try) 2>&5
53579 ac_status=$?
53580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53581 (exit $ac_status); }; } &&
53582 { ac_try='test -s conftest.$ac_objext'
53583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53584 (eval $ac_try) 2>&5
53585 ac_status=$?
53586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53587 (exit $ac_status); }; }; then
53588 glibcxx_cv_func__long_double_trig_use=yes
53589 else
53590 echo "$as_me: failed program was:" >&5
53591 sed 's/^/| /' conftest.$ac_ext >&5
53593 glibcxx_cv_func__long_double_trig_use=no
53595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53596 ac_ext=c
53597 ac_cpp='$CPP $CPPFLAGS'
53598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53604 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
53605 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
53606 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53616 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53619 echo "$as_me:$LINENO: checking for $ac_func" >&5
53620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53621 if eval "test \"\${$as_ac_var+set}\" = set"; then
53622 echo $ECHO_N "(cached) $ECHO_C" >&6
53623 else
53624 if test x$gcc_no_link = xyes; then
53625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53627 { (exit 1); exit 1; }; }
53629 cat >conftest.$ac_ext <<_ACEOF
53630 /* confdefs.h. */
53631 _ACEOF
53632 cat confdefs.h >>conftest.$ac_ext
53633 cat >>conftest.$ac_ext <<_ACEOF
53634 /* end confdefs.h. */
53635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53637 #define $ac_func innocuous_$ac_func
53639 /* System header to define __stub macros and hopefully few prototypes,
53640 which can conflict with char $ac_func (); below.
53641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53642 <limits.h> exists even on freestanding compilers. */
53644 #ifdef __STDC__
53645 # include <limits.h>
53646 #else
53647 # include <assert.h>
53648 #endif
53650 #undef $ac_func
53652 /* Override any gcc2 internal prototype to avoid an error. */
53653 #ifdef __cplusplus
53654 extern "C"
53656 #endif
53657 /* We use char because int might match the return type of a gcc2
53658 builtin and then its argument prototype would still apply. */
53659 char $ac_func ();
53660 /* The GNU C library defines this for functions which it implements
53661 to always fail with ENOSYS. Some functions are actually named
53662 something starting with __ and the normal name is an alias. */
53663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53664 choke me
53665 #else
53666 char (*f) () = $ac_func;
53667 #endif
53668 #ifdef __cplusplus
53670 #endif
53673 main ()
53675 return f != $ac_func;
53677 return 0;
53679 _ACEOF
53680 rm -f conftest.$ac_objext conftest$ac_exeext
53681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53682 (eval $ac_link) 2>conftest.er1
53683 ac_status=$?
53684 grep -v '^ *+' conftest.er1 >conftest.err
53685 rm -f conftest.er1
53686 cat conftest.err >&5
53687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53688 (exit $ac_status); } &&
53689 { ac_try='test -z "$ac_c_werror_flag"
53690 || test ! -s conftest.err'
53691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53692 (eval $ac_try) 2>&5
53693 ac_status=$?
53694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53695 (exit $ac_status); }; } &&
53696 { ac_try='test -s conftest$ac_exeext'
53697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53698 (eval $ac_try) 2>&5
53699 ac_status=$?
53700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53701 (exit $ac_status); }; }; then
53702 eval "$as_ac_var=yes"
53703 else
53704 echo "$as_me: failed program was:" >&5
53705 sed 's/^/| /' conftest.$ac_ext >&5
53707 eval "$as_ac_var=no"
53709 rm -f conftest.err conftest.$ac_objext \
53710 conftest$ac_exeext conftest.$ac_ext
53712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53714 if test `eval echo '${'$as_ac_var'}'` = yes; then
53715 cat >>confdefs.h <<_ACEOF
53716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53717 _ACEOF
53720 done
53738 echo "$as_me:$LINENO: checking for long double round functions" >&5
53739 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
53740 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
53741 echo $ECHO_N "(cached) $ECHO_C" >&6
53742 else
53746 ac_ext=cc
53747 ac_cpp='$CXXCPP $CPPFLAGS'
53748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53752 cat >conftest.$ac_ext <<_ACEOF
53753 /* confdefs.h. */
53754 _ACEOF
53755 cat confdefs.h >>conftest.$ac_ext
53756 cat >>conftest.$ac_ext <<_ACEOF
53757 /* end confdefs.h. */
53758 #include <math.h>
53760 main ()
53762 ceill (0); floorl (0);
53764 return 0;
53766 _ACEOF
53767 rm -f conftest.$ac_objext
53768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53769 (eval $ac_compile) 2>conftest.er1
53770 ac_status=$?
53771 grep -v '^ *+' conftest.er1 >conftest.err
53772 rm -f conftest.er1
53773 cat conftest.err >&5
53774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53775 (exit $ac_status); } &&
53776 { ac_try='test -z "$ac_cxx_werror_flag"
53777 || test ! -s conftest.err'
53778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53779 (eval $ac_try) 2>&5
53780 ac_status=$?
53781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53782 (exit $ac_status); }; } &&
53783 { ac_try='test -s conftest.$ac_objext'
53784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53785 (eval $ac_try) 2>&5
53786 ac_status=$?
53787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53788 (exit $ac_status); }; }; then
53789 glibcxx_cv_func_long_double_round_use=yes
53790 else
53791 echo "$as_me: failed program was:" >&5
53792 sed 's/^/| /' conftest.$ac_ext >&5
53794 glibcxx_cv_func_long_double_round_use=no
53796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53797 ac_ext=c
53798 ac_cpp='$CPP $CPPFLAGS'
53799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53805 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
53806 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
53807 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
53810 for ac_func in ceill floorl
53812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53813 echo "$as_me:$LINENO: checking for $ac_func" >&5
53814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53815 if eval "test \"\${$as_ac_var+set}\" = set"; then
53816 echo $ECHO_N "(cached) $ECHO_C" >&6
53817 else
53818 if test x$gcc_no_link = xyes; then
53819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53821 { (exit 1); exit 1; }; }
53823 cat >conftest.$ac_ext <<_ACEOF
53824 /* confdefs.h. */
53825 _ACEOF
53826 cat confdefs.h >>conftest.$ac_ext
53827 cat >>conftest.$ac_ext <<_ACEOF
53828 /* end confdefs.h. */
53829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53831 #define $ac_func innocuous_$ac_func
53833 /* System header to define __stub macros and hopefully few prototypes,
53834 which can conflict with char $ac_func (); below.
53835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53836 <limits.h> exists even on freestanding compilers. */
53838 #ifdef __STDC__
53839 # include <limits.h>
53840 #else
53841 # include <assert.h>
53842 #endif
53844 #undef $ac_func
53846 /* Override any gcc2 internal prototype to avoid an error. */
53847 #ifdef __cplusplus
53848 extern "C"
53850 #endif
53851 /* We use char because int might match the return type of a gcc2
53852 builtin and then its argument prototype would still apply. */
53853 char $ac_func ();
53854 /* The GNU C library defines this for functions which it implements
53855 to always fail with ENOSYS. Some functions are actually named
53856 something starting with __ and the normal name is an alias. */
53857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53858 choke me
53859 #else
53860 char (*f) () = $ac_func;
53861 #endif
53862 #ifdef __cplusplus
53864 #endif
53867 main ()
53869 return f != $ac_func;
53871 return 0;
53873 _ACEOF
53874 rm -f conftest.$ac_objext conftest$ac_exeext
53875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53876 (eval $ac_link) 2>conftest.er1
53877 ac_status=$?
53878 grep -v '^ *+' conftest.er1 >conftest.err
53879 rm -f conftest.er1
53880 cat conftest.err >&5
53881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53882 (exit $ac_status); } &&
53883 { ac_try='test -z "$ac_c_werror_flag"
53884 || test ! -s conftest.err'
53885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53886 (eval $ac_try) 2>&5
53887 ac_status=$?
53888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53889 (exit $ac_status); }; } &&
53890 { ac_try='test -s conftest$ac_exeext'
53891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53892 (eval $ac_try) 2>&5
53893 ac_status=$?
53894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53895 (exit $ac_status); }; }; then
53896 eval "$as_ac_var=yes"
53897 else
53898 echo "$as_me: failed program was:" >&5
53899 sed 's/^/| /' conftest.$ac_ext >&5
53901 eval "$as_ac_var=no"
53903 rm -f conftest.err conftest.$ac_objext \
53904 conftest$ac_exeext conftest.$ac_ext
53906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53908 if test `eval echo '${'$as_ac_var'}'` = yes; then
53909 cat >>confdefs.h <<_ACEOF
53910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53911 _ACEOF
53914 done
53916 else
53917 echo "$as_me:$LINENO: checking for _long double round functions" >&5
53918 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
53919 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
53920 echo $ECHO_N "(cached) $ECHO_C" >&6
53921 else
53925 ac_ext=cc
53926 ac_cpp='$CXXCPP $CPPFLAGS'
53927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53931 cat >conftest.$ac_ext <<_ACEOF
53932 /* confdefs.h. */
53933 _ACEOF
53934 cat confdefs.h >>conftest.$ac_ext
53935 cat >>conftest.$ac_ext <<_ACEOF
53936 /* end confdefs.h. */
53937 #include <math.h>
53939 main ()
53941 _ceill (0); _floorl (0);
53943 return 0;
53945 _ACEOF
53946 rm -f conftest.$ac_objext
53947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53948 (eval $ac_compile) 2>conftest.er1
53949 ac_status=$?
53950 grep -v '^ *+' conftest.er1 >conftest.err
53951 rm -f conftest.er1
53952 cat conftest.err >&5
53953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53954 (exit $ac_status); } &&
53955 { ac_try='test -z "$ac_cxx_werror_flag"
53956 || test ! -s conftest.err'
53957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53958 (eval $ac_try) 2>&5
53959 ac_status=$?
53960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53961 (exit $ac_status); }; } &&
53962 { ac_try='test -s conftest.$ac_objext'
53963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53964 (eval $ac_try) 2>&5
53965 ac_status=$?
53966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53967 (exit $ac_status); }; }; then
53968 glibcxx_cv_func__long_double_round_use=yes
53969 else
53970 echo "$as_me: failed program was:" >&5
53971 sed 's/^/| /' conftest.$ac_ext >&5
53973 glibcxx_cv_func__long_double_round_use=no
53975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53976 ac_ext=c
53977 ac_cpp='$CPP $CPPFLAGS'
53978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53984 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
53985 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
53986 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
53989 for ac_func in _ceill _floorl
53991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53992 echo "$as_me:$LINENO: checking for $ac_func" >&5
53993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53994 if eval "test \"\${$as_ac_var+set}\" = set"; then
53995 echo $ECHO_N "(cached) $ECHO_C" >&6
53996 else
53997 if test x$gcc_no_link = xyes; then
53998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54000 { (exit 1); exit 1; }; }
54002 cat >conftest.$ac_ext <<_ACEOF
54003 /* confdefs.h. */
54004 _ACEOF
54005 cat confdefs.h >>conftest.$ac_ext
54006 cat >>conftest.$ac_ext <<_ACEOF
54007 /* end confdefs.h. */
54008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54010 #define $ac_func innocuous_$ac_func
54012 /* System header to define __stub macros and hopefully few prototypes,
54013 which can conflict with char $ac_func (); below.
54014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54015 <limits.h> exists even on freestanding compilers. */
54017 #ifdef __STDC__
54018 # include <limits.h>
54019 #else
54020 # include <assert.h>
54021 #endif
54023 #undef $ac_func
54025 /* Override any gcc2 internal prototype to avoid an error. */
54026 #ifdef __cplusplus
54027 extern "C"
54029 #endif
54030 /* We use char because int might match the return type of a gcc2
54031 builtin and then its argument prototype would still apply. */
54032 char $ac_func ();
54033 /* The GNU C library defines this for functions which it implements
54034 to always fail with ENOSYS. Some functions are actually named
54035 something starting with __ and the normal name is an alias. */
54036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54037 choke me
54038 #else
54039 char (*f) () = $ac_func;
54040 #endif
54041 #ifdef __cplusplus
54043 #endif
54046 main ()
54048 return f != $ac_func;
54050 return 0;
54052 _ACEOF
54053 rm -f conftest.$ac_objext conftest$ac_exeext
54054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54055 (eval $ac_link) 2>conftest.er1
54056 ac_status=$?
54057 grep -v '^ *+' conftest.er1 >conftest.err
54058 rm -f conftest.er1
54059 cat conftest.err >&5
54060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54061 (exit $ac_status); } &&
54062 { ac_try='test -z "$ac_c_werror_flag"
54063 || test ! -s conftest.err'
54064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54065 (eval $ac_try) 2>&5
54066 ac_status=$?
54067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54068 (exit $ac_status); }; } &&
54069 { ac_try='test -s conftest$ac_exeext'
54070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54071 (eval $ac_try) 2>&5
54072 ac_status=$?
54073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54074 (exit $ac_status); }; }; then
54075 eval "$as_ac_var=yes"
54076 else
54077 echo "$as_me: failed program was:" >&5
54078 sed 's/^/| /' conftest.$ac_ext >&5
54080 eval "$as_ac_var=no"
54082 rm -f conftest.err conftest.$ac_objext \
54083 conftest$ac_exeext conftest.$ac_ext
54085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54087 if test `eval echo '${'$as_ac_var'}'` = yes; then
54088 cat >>confdefs.h <<_ACEOF
54089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54090 _ACEOF
54093 done
54105 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
54106 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
54107 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54108 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
54109 echo $ECHO_N "(cached) $ECHO_C" >&6
54110 else
54114 ac_ext=cc
54115 ac_cpp='$CXXCPP $CPPFLAGS'
54116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54120 cat >conftest.$ac_ext <<_ACEOF
54121 /* confdefs.h. */
54122 _ACEOF
54123 cat confdefs.h >>conftest.$ac_ext
54124 cat >>conftest.$ac_ext <<_ACEOF
54125 /* end confdefs.h. */
54126 #include <math.h>
54127 #ifdef HAVE_IEEEFP_H
54128 #include <ieeefp.h>
54129 #endif
54132 main ()
54134 isnanl(0);
54136 return 0;
54138 _ACEOF
54139 rm -f conftest.$ac_objext
54140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54141 (eval $ac_compile) 2>conftest.er1
54142 ac_status=$?
54143 grep -v '^ *+' conftest.er1 >conftest.err
54144 rm -f conftest.er1
54145 cat conftest.err >&5
54146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54147 (exit $ac_status); } &&
54148 { ac_try='test -z "$ac_cxx_werror_flag"
54149 || test ! -s conftest.err'
54150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54151 (eval $ac_try) 2>&5
54152 ac_status=$?
54153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54154 (exit $ac_status); }; } &&
54155 { ac_try='test -s conftest.$ac_objext'
54156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54157 (eval $ac_try) 2>&5
54158 ac_status=$?
54159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54160 (exit $ac_status); }; }; then
54161 glibcxx_cv_func_isnanl_use=yes
54162 else
54163 echo "$as_me: failed program was:" >&5
54164 sed 's/^/| /' conftest.$ac_ext >&5
54166 glibcxx_cv_func_isnanl_use=no
54168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54169 ac_ext=c
54170 ac_cpp='$CPP $CPPFLAGS'
54171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54179 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
54180 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
54182 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54184 for ac_func in isnanl
54186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54187 echo "$as_me:$LINENO: checking for $ac_func" >&5
54188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54189 if eval "test \"\${$as_ac_var+set}\" = set"; then
54190 echo $ECHO_N "(cached) $ECHO_C" >&6
54191 else
54192 if test x$gcc_no_link = xyes; then
54193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54195 { (exit 1); exit 1; }; }
54197 cat >conftest.$ac_ext <<_ACEOF
54198 /* confdefs.h. */
54199 _ACEOF
54200 cat confdefs.h >>conftest.$ac_ext
54201 cat >>conftest.$ac_ext <<_ACEOF
54202 /* end confdefs.h. */
54203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54205 #define $ac_func innocuous_$ac_func
54207 /* System header to define __stub macros and hopefully few prototypes,
54208 which can conflict with char $ac_func (); below.
54209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54210 <limits.h> exists even on freestanding compilers. */
54212 #ifdef __STDC__
54213 # include <limits.h>
54214 #else
54215 # include <assert.h>
54216 #endif
54218 #undef $ac_func
54220 /* Override any gcc2 internal prototype to avoid an error. */
54221 #ifdef __cplusplus
54222 extern "C"
54224 #endif
54225 /* We use char because int might match the return type of a gcc2
54226 builtin and then its argument prototype would still apply. */
54227 char $ac_func ();
54228 /* The GNU C library defines this for functions which it implements
54229 to always fail with ENOSYS. Some functions are actually named
54230 something starting with __ and the normal name is an alias. */
54231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54232 choke me
54233 #else
54234 char (*f) () = $ac_func;
54235 #endif
54236 #ifdef __cplusplus
54238 #endif
54241 main ()
54243 return f != $ac_func;
54245 return 0;
54247 _ACEOF
54248 rm -f conftest.$ac_objext conftest$ac_exeext
54249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54250 (eval $ac_link) 2>conftest.er1
54251 ac_status=$?
54252 grep -v '^ *+' conftest.er1 >conftest.err
54253 rm -f conftest.er1
54254 cat conftest.err >&5
54255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54256 (exit $ac_status); } &&
54257 { ac_try='test -z "$ac_c_werror_flag"
54258 || test ! -s conftest.err'
54259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54260 (eval $ac_try) 2>&5
54261 ac_status=$?
54262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54263 (exit $ac_status); }; } &&
54264 { ac_try='test -s conftest$ac_exeext'
54265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54266 (eval $ac_try) 2>&5
54267 ac_status=$?
54268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54269 (exit $ac_status); }; }; then
54270 eval "$as_ac_var=yes"
54271 else
54272 echo "$as_me: failed program was:" >&5
54273 sed 's/^/| /' conftest.$ac_ext >&5
54275 eval "$as_ac_var=no"
54277 rm -f conftest.err conftest.$ac_objext \
54278 conftest$ac_exeext conftest.$ac_ext
54280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54282 if test `eval echo '${'$as_ac_var'}'` = yes; then
54283 cat >>confdefs.h <<_ACEOF
54284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54285 _ACEOF
54288 done
54290 else
54292 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
54293 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
54294 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54295 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
54296 echo $ECHO_N "(cached) $ECHO_C" >&6
54297 else
54301 ac_ext=cc
54302 ac_cpp='$CXXCPP $CPPFLAGS'
54303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54307 cat >conftest.$ac_ext <<_ACEOF
54308 /* confdefs.h. */
54309 _ACEOF
54310 cat confdefs.h >>conftest.$ac_ext
54311 cat >>conftest.$ac_ext <<_ACEOF
54312 /* end confdefs.h. */
54313 #include <math.h>
54314 #ifdef HAVE_IEEEFP_H
54315 #include <ieeefp.h>
54316 #endif
54319 main ()
54321 _isnanl(0);
54323 return 0;
54325 _ACEOF
54326 rm -f conftest.$ac_objext
54327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54328 (eval $ac_compile) 2>conftest.er1
54329 ac_status=$?
54330 grep -v '^ *+' conftest.er1 >conftest.err
54331 rm -f conftest.er1
54332 cat conftest.err >&5
54333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54334 (exit $ac_status); } &&
54335 { ac_try='test -z "$ac_cxx_werror_flag"
54336 || test ! -s conftest.err'
54337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54338 (eval $ac_try) 2>&5
54339 ac_status=$?
54340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54341 (exit $ac_status); }; } &&
54342 { ac_try='test -s conftest.$ac_objext'
54343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54344 (eval $ac_try) 2>&5
54345 ac_status=$?
54346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54347 (exit $ac_status); }; }; then
54348 glibcxx_cv_func__isnanl_use=yes
54349 else
54350 echo "$as_me: failed program was:" >&5
54351 sed 's/^/| /' conftest.$ac_ext >&5
54353 glibcxx_cv_func__isnanl_use=no
54355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54356 ac_ext=c
54357 ac_cpp='$CPP $CPPFLAGS'
54358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54366 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
54367 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
54369 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54371 for ac_func in _isnanl
54373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54374 echo "$as_me:$LINENO: checking for $ac_func" >&5
54375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54376 if eval "test \"\${$as_ac_var+set}\" = set"; then
54377 echo $ECHO_N "(cached) $ECHO_C" >&6
54378 else
54379 if test x$gcc_no_link = xyes; then
54380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54382 { (exit 1); exit 1; }; }
54384 cat >conftest.$ac_ext <<_ACEOF
54385 /* confdefs.h. */
54386 _ACEOF
54387 cat confdefs.h >>conftest.$ac_ext
54388 cat >>conftest.$ac_ext <<_ACEOF
54389 /* end confdefs.h. */
54390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54392 #define $ac_func innocuous_$ac_func
54394 /* System header to define __stub macros and hopefully few prototypes,
54395 which can conflict with char $ac_func (); below.
54396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54397 <limits.h> exists even on freestanding compilers. */
54399 #ifdef __STDC__
54400 # include <limits.h>
54401 #else
54402 # include <assert.h>
54403 #endif
54405 #undef $ac_func
54407 /* Override any gcc2 internal prototype to avoid an error. */
54408 #ifdef __cplusplus
54409 extern "C"
54411 #endif
54412 /* We use char because int might match the return type of a gcc2
54413 builtin and then its argument prototype would still apply. */
54414 char $ac_func ();
54415 /* The GNU C library defines this for functions which it implements
54416 to always fail with ENOSYS. Some functions are actually named
54417 something starting with __ and the normal name is an alias. */
54418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54419 choke me
54420 #else
54421 char (*f) () = $ac_func;
54422 #endif
54423 #ifdef __cplusplus
54425 #endif
54428 main ()
54430 return f != $ac_func;
54432 return 0;
54434 _ACEOF
54435 rm -f conftest.$ac_objext conftest$ac_exeext
54436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54437 (eval $ac_link) 2>conftest.er1
54438 ac_status=$?
54439 grep -v '^ *+' conftest.er1 >conftest.err
54440 rm -f conftest.er1
54441 cat conftest.err >&5
54442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54443 (exit $ac_status); } &&
54444 { ac_try='test -z "$ac_c_werror_flag"
54445 || test ! -s conftest.err'
54446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54447 (eval $ac_try) 2>&5
54448 ac_status=$?
54449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54450 (exit $ac_status); }; } &&
54451 { ac_try='test -s conftest$ac_exeext'
54452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54453 (eval $ac_try) 2>&5
54454 ac_status=$?
54455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54456 (exit $ac_status); }; }; then
54457 eval "$as_ac_var=yes"
54458 else
54459 echo "$as_me: failed program was:" >&5
54460 sed 's/^/| /' conftest.$ac_ext >&5
54462 eval "$as_ac_var=no"
54464 rm -f conftest.err conftest.$ac_objext \
54465 conftest$ac_exeext conftest.$ac_ext
54467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54469 if test `eval echo '${'$as_ac_var'}'` = yes; then
54470 cat >>confdefs.h <<_ACEOF
54471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54472 _ACEOF
54475 done
54485 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
54486 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
54487 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54488 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
54489 echo $ECHO_N "(cached) $ECHO_C" >&6
54490 else
54494 ac_ext=cc
54495 ac_cpp='$CXXCPP $CPPFLAGS'
54496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54500 cat >conftest.$ac_ext <<_ACEOF
54501 /* confdefs.h. */
54502 _ACEOF
54503 cat confdefs.h >>conftest.$ac_ext
54504 cat >>conftest.$ac_ext <<_ACEOF
54505 /* end confdefs.h. */
54506 #include <math.h>
54507 #ifdef HAVE_IEEEFP_H
54508 #include <ieeefp.h>
54509 #endif
54512 main ()
54514 isinfl(0);
54516 return 0;
54518 _ACEOF
54519 rm -f conftest.$ac_objext
54520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54521 (eval $ac_compile) 2>conftest.er1
54522 ac_status=$?
54523 grep -v '^ *+' conftest.er1 >conftest.err
54524 rm -f conftest.er1
54525 cat conftest.err >&5
54526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54527 (exit $ac_status); } &&
54528 { ac_try='test -z "$ac_cxx_werror_flag"
54529 || test ! -s conftest.err'
54530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54531 (eval $ac_try) 2>&5
54532 ac_status=$?
54533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54534 (exit $ac_status); }; } &&
54535 { ac_try='test -s conftest.$ac_objext'
54536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54537 (eval $ac_try) 2>&5
54538 ac_status=$?
54539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54540 (exit $ac_status); }; }; then
54541 glibcxx_cv_func_isinfl_use=yes
54542 else
54543 echo "$as_me: failed program was:" >&5
54544 sed 's/^/| /' conftest.$ac_ext >&5
54546 glibcxx_cv_func_isinfl_use=no
54548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54549 ac_ext=c
54550 ac_cpp='$CPP $CPPFLAGS'
54551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54559 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
54560 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
54562 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54564 for ac_func in isinfl
54566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54567 echo "$as_me:$LINENO: checking for $ac_func" >&5
54568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54569 if eval "test \"\${$as_ac_var+set}\" = set"; then
54570 echo $ECHO_N "(cached) $ECHO_C" >&6
54571 else
54572 if test x$gcc_no_link = xyes; then
54573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54575 { (exit 1); exit 1; }; }
54577 cat >conftest.$ac_ext <<_ACEOF
54578 /* confdefs.h. */
54579 _ACEOF
54580 cat confdefs.h >>conftest.$ac_ext
54581 cat >>conftest.$ac_ext <<_ACEOF
54582 /* end confdefs.h. */
54583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54585 #define $ac_func innocuous_$ac_func
54587 /* System header to define __stub macros and hopefully few prototypes,
54588 which can conflict with char $ac_func (); below.
54589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54590 <limits.h> exists even on freestanding compilers. */
54592 #ifdef __STDC__
54593 # include <limits.h>
54594 #else
54595 # include <assert.h>
54596 #endif
54598 #undef $ac_func
54600 /* Override any gcc2 internal prototype to avoid an error. */
54601 #ifdef __cplusplus
54602 extern "C"
54604 #endif
54605 /* We use char because int might match the return type of a gcc2
54606 builtin and then its argument prototype would still apply. */
54607 char $ac_func ();
54608 /* The GNU C library defines this for functions which it implements
54609 to always fail with ENOSYS. Some functions are actually named
54610 something starting with __ and the normal name is an alias. */
54611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54612 choke me
54613 #else
54614 char (*f) () = $ac_func;
54615 #endif
54616 #ifdef __cplusplus
54618 #endif
54621 main ()
54623 return f != $ac_func;
54625 return 0;
54627 _ACEOF
54628 rm -f conftest.$ac_objext conftest$ac_exeext
54629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54630 (eval $ac_link) 2>conftest.er1
54631 ac_status=$?
54632 grep -v '^ *+' conftest.er1 >conftest.err
54633 rm -f conftest.er1
54634 cat conftest.err >&5
54635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54636 (exit $ac_status); } &&
54637 { ac_try='test -z "$ac_c_werror_flag"
54638 || test ! -s conftest.err'
54639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54640 (eval $ac_try) 2>&5
54641 ac_status=$?
54642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54643 (exit $ac_status); }; } &&
54644 { ac_try='test -s conftest$ac_exeext'
54645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54646 (eval $ac_try) 2>&5
54647 ac_status=$?
54648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54649 (exit $ac_status); }; }; then
54650 eval "$as_ac_var=yes"
54651 else
54652 echo "$as_me: failed program was:" >&5
54653 sed 's/^/| /' conftest.$ac_ext >&5
54655 eval "$as_ac_var=no"
54657 rm -f conftest.err conftest.$ac_objext \
54658 conftest$ac_exeext conftest.$ac_ext
54660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54662 if test `eval echo '${'$as_ac_var'}'` = yes; then
54663 cat >>confdefs.h <<_ACEOF
54664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54665 _ACEOF
54668 done
54670 else
54672 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
54673 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
54674 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54675 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
54676 echo $ECHO_N "(cached) $ECHO_C" >&6
54677 else
54681 ac_ext=cc
54682 ac_cpp='$CXXCPP $CPPFLAGS'
54683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54687 cat >conftest.$ac_ext <<_ACEOF
54688 /* confdefs.h. */
54689 _ACEOF
54690 cat confdefs.h >>conftest.$ac_ext
54691 cat >>conftest.$ac_ext <<_ACEOF
54692 /* end confdefs.h. */
54693 #include <math.h>
54694 #ifdef HAVE_IEEEFP_H
54695 #include <ieeefp.h>
54696 #endif
54699 main ()
54701 _isinfl(0);
54703 return 0;
54705 _ACEOF
54706 rm -f conftest.$ac_objext
54707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54708 (eval $ac_compile) 2>conftest.er1
54709 ac_status=$?
54710 grep -v '^ *+' conftest.er1 >conftest.err
54711 rm -f conftest.er1
54712 cat conftest.err >&5
54713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54714 (exit $ac_status); } &&
54715 { ac_try='test -z "$ac_cxx_werror_flag"
54716 || test ! -s conftest.err'
54717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54718 (eval $ac_try) 2>&5
54719 ac_status=$?
54720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54721 (exit $ac_status); }; } &&
54722 { ac_try='test -s conftest.$ac_objext'
54723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54724 (eval $ac_try) 2>&5
54725 ac_status=$?
54726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54727 (exit $ac_status); }; }; then
54728 glibcxx_cv_func__isinfl_use=yes
54729 else
54730 echo "$as_me: failed program was:" >&5
54731 sed 's/^/| /' conftest.$ac_ext >&5
54733 glibcxx_cv_func__isinfl_use=no
54735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54736 ac_ext=c
54737 ac_cpp='$CPP $CPPFLAGS'
54738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54746 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
54747 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
54749 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54751 for ac_func in _isinfl
54753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54754 echo "$as_me:$LINENO: checking for $ac_func" >&5
54755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54756 if eval "test \"\${$as_ac_var+set}\" = set"; then
54757 echo $ECHO_N "(cached) $ECHO_C" >&6
54758 else
54759 if test x$gcc_no_link = xyes; then
54760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54762 { (exit 1); exit 1; }; }
54764 cat >conftest.$ac_ext <<_ACEOF
54765 /* confdefs.h. */
54766 _ACEOF
54767 cat confdefs.h >>conftest.$ac_ext
54768 cat >>conftest.$ac_ext <<_ACEOF
54769 /* end confdefs.h. */
54770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54772 #define $ac_func innocuous_$ac_func
54774 /* System header to define __stub macros and hopefully few prototypes,
54775 which can conflict with char $ac_func (); below.
54776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54777 <limits.h> exists even on freestanding compilers. */
54779 #ifdef __STDC__
54780 # include <limits.h>
54781 #else
54782 # include <assert.h>
54783 #endif
54785 #undef $ac_func
54787 /* Override any gcc2 internal prototype to avoid an error. */
54788 #ifdef __cplusplus
54789 extern "C"
54791 #endif
54792 /* We use char because int might match the return type of a gcc2
54793 builtin and then its argument prototype would still apply. */
54794 char $ac_func ();
54795 /* The GNU C library defines this for functions which it implements
54796 to always fail with ENOSYS. Some functions are actually named
54797 something starting with __ and the normal name is an alias. */
54798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54799 choke me
54800 #else
54801 char (*f) () = $ac_func;
54802 #endif
54803 #ifdef __cplusplus
54805 #endif
54808 main ()
54810 return f != $ac_func;
54812 return 0;
54814 _ACEOF
54815 rm -f conftest.$ac_objext conftest$ac_exeext
54816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54817 (eval $ac_link) 2>conftest.er1
54818 ac_status=$?
54819 grep -v '^ *+' conftest.er1 >conftest.err
54820 rm -f conftest.er1
54821 cat conftest.err >&5
54822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54823 (exit $ac_status); } &&
54824 { ac_try='test -z "$ac_c_werror_flag"
54825 || test ! -s conftest.err'
54826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54827 (eval $ac_try) 2>&5
54828 ac_status=$?
54829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54830 (exit $ac_status); }; } &&
54831 { ac_try='test -s conftest$ac_exeext'
54832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54833 (eval $ac_try) 2>&5
54834 ac_status=$?
54835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54836 (exit $ac_status); }; }; then
54837 eval "$as_ac_var=yes"
54838 else
54839 echo "$as_me: failed program was:" >&5
54840 sed 's/^/| /' conftest.$ac_ext >&5
54842 eval "$as_ac_var=no"
54844 rm -f conftest.err conftest.$ac_objext \
54845 conftest$ac_exeext conftest.$ac_ext
54847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54849 if test `eval echo '${'$as_ac_var'}'` = yes; then
54850 cat >>confdefs.h <<_ACEOF
54851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54852 _ACEOF
54855 done
54865 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
54866 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
54867 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
54868 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
54869 echo $ECHO_N "(cached) $ECHO_C" >&6
54870 else
54874 ac_ext=cc
54875 ac_cpp='$CXXCPP $CPPFLAGS'
54876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54880 cat >conftest.$ac_ext <<_ACEOF
54881 /* confdefs.h. */
54882 _ACEOF
54883 cat confdefs.h >>conftest.$ac_ext
54884 cat >>conftest.$ac_ext <<_ACEOF
54885 /* end confdefs.h. */
54886 #include <math.h>
54888 main ()
54890 copysignl(0, 0);
54892 return 0;
54894 _ACEOF
54895 rm -f conftest.$ac_objext
54896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54897 (eval $ac_compile) 2>conftest.er1
54898 ac_status=$?
54899 grep -v '^ *+' conftest.er1 >conftest.err
54900 rm -f conftest.er1
54901 cat conftest.err >&5
54902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54903 (exit $ac_status); } &&
54904 { ac_try='test -z "$ac_cxx_werror_flag"
54905 || test ! -s conftest.err'
54906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54907 (eval $ac_try) 2>&5
54908 ac_status=$?
54909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54910 (exit $ac_status); }; } &&
54911 { ac_try='test -s conftest.$ac_objext'
54912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54913 (eval $ac_try) 2>&5
54914 ac_status=$?
54915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54916 (exit $ac_status); }; }; then
54917 glibcxx_cv_func_copysignl_use=yes
54918 else
54919 echo "$as_me: failed program was:" >&5
54920 sed 's/^/| /' conftest.$ac_ext >&5
54922 glibcxx_cv_func_copysignl_use=no
54924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54925 ac_ext=c
54926 ac_cpp='$CPP $CPPFLAGS'
54927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54935 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
54936 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
54938 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
54940 for ac_func in copysignl
54942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54943 echo "$as_me:$LINENO: checking for $ac_func" >&5
54944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54945 if eval "test \"\${$as_ac_var+set}\" = set"; then
54946 echo $ECHO_N "(cached) $ECHO_C" >&6
54947 else
54948 if test x$gcc_no_link = xyes; then
54949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54951 { (exit 1); exit 1; }; }
54953 cat >conftest.$ac_ext <<_ACEOF
54954 /* confdefs.h. */
54955 _ACEOF
54956 cat confdefs.h >>conftest.$ac_ext
54957 cat >>conftest.$ac_ext <<_ACEOF
54958 /* end confdefs.h. */
54959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54961 #define $ac_func innocuous_$ac_func
54963 /* System header to define __stub macros and hopefully few prototypes,
54964 which can conflict with char $ac_func (); below.
54965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54966 <limits.h> exists even on freestanding compilers. */
54968 #ifdef __STDC__
54969 # include <limits.h>
54970 #else
54971 # include <assert.h>
54972 #endif
54974 #undef $ac_func
54976 /* Override any gcc2 internal prototype to avoid an error. */
54977 #ifdef __cplusplus
54978 extern "C"
54980 #endif
54981 /* We use char because int might match the return type of a gcc2
54982 builtin and then its argument prototype would still apply. */
54983 char $ac_func ();
54984 /* The GNU C library defines this for functions which it implements
54985 to always fail with ENOSYS. Some functions are actually named
54986 something starting with __ and the normal name is an alias. */
54987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54988 choke me
54989 #else
54990 char (*f) () = $ac_func;
54991 #endif
54992 #ifdef __cplusplus
54994 #endif
54997 main ()
54999 return f != $ac_func;
55001 return 0;
55003 _ACEOF
55004 rm -f conftest.$ac_objext conftest$ac_exeext
55005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55006 (eval $ac_link) 2>conftest.er1
55007 ac_status=$?
55008 grep -v '^ *+' conftest.er1 >conftest.err
55009 rm -f conftest.er1
55010 cat conftest.err >&5
55011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55012 (exit $ac_status); } &&
55013 { ac_try='test -z "$ac_c_werror_flag"
55014 || test ! -s conftest.err'
55015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55016 (eval $ac_try) 2>&5
55017 ac_status=$?
55018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55019 (exit $ac_status); }; } &&
55020 { ac_try='test -s conftest$ac_exeext'
55021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55022 (eval $ac_try) 2>&5
55023 ac_status=$?
55024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55025 (exit $ac_status); }; }; then
55026 eval "$as_ac_var=yes"
55027 else
55028 echo "$as_me: failed program was:" >&5
55029 sed 's/^/| /' conftest.$ac_ext >&5
55031 eval "$as_ac_var=no"
55033 rm -f conftest.err conftest.$ac_objext \
55034 conftest$ac_exeext conftest.$ac_ext
55036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55038 if test `eval echo '${'$as_ac_var'}'` = yes; then
55039 cat >>confdefs.h <<_ACEOF
55040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55041 _ACEOF
55044 done
55046 else
55048 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55049 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55050 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55051 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55052 echo $ECHO_N "(cached) $ECHO_C" >&6
55053 else
55057 ac_ext=cc
55058 ac_cpp='$CXXCPP $CPPFLAGS'
55059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55063 cat >conftest.$ac_ext <<_ACEOF
55064 /* confdefs.h. */
55065 _ACEOF
55066 cat confdefs.h >>conftest.$ac_ext
55067 cat >>conftest.$ac_ext <<_ACEOF
55068 /* end confdefs.h. */
55069 #include <math.h>
55071 main ()
55073 _copysignl(0, 0);
55075 return 0;
55077 _ACEOF
55078 rm -f conftest.$ac_objext
55079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55080 (eval $ac_compile) 2>conftest.er1
55081 ac_status=$?
55082 grep -v '^ *+' conftest.er1 >conftest.err
55083 rm -f conftest.er1
55084 cat conftest.err >&5
55085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55086 (exit $ac_status); } &&
55087 { ac_try='test -z "$ac_cxx_werror_flag"
55088 || test ! -s conftest.err'
55089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55090 (eval $ac_try) 2>&5
55091 ac_status=$?
55092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55093 (exit $ac_status); }; } &&
55094 { ac_try='test -s conftest.$ac_objext'
55095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55096 (eval $ac_try) 2>&5
55097 ac_status=$?
55098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55099 (exit $ac_status); }; }; then
55100 glibcxx_cv_func__copysignl_use=yes
55101 else
55102 echo "$as_me: failed program was:" >&5
55103 sed 's/^/| /' conftest.$ac_ext >&5
55105 glibcxx_cv_func__copysignl_use=no
55107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55108 ac_ext=c
55109 ac_cpp='$CPP $CPPFLAGS'
55110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55118 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
55119 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
55121 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
55123 for ac_func in _copysignl
55125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55126 echo "$as_me:$LINENO: checking for $ac_func" >&5
55127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55128 if eval "test \"\${$as_ac_var+set}\" = set"; then
55129 echo $ECHO_N "(cached) $ECHO_C" >&6
55130 else
55131 if test x$gcc_no_link = xyes; then
55132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55134 { (exit 1); exit 1; }; }
55136 cat >conftest.$ac_ext <<_ACEOF
55137 /* confdefs.h. */
55138 _ACEOF
55139 cat confdefs.h >>conftest.$ac_ext
55140 cat >>conftest.$ac_ext <<_ACEOF
55141 /* end confdefs.h. */
55142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55144 #define $ac_func innocuous_$ac_func
55146 /* System header to define __stub macros and hopefully few prototypes,
55147 which can conflict with char $ac_func (); below.
55148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55149 <limits.h> exists even on freestanding compilers. */
55151 #ifdef __STDC__
55152 # include <limits.h>
55153 #else
55154 # include <assert.h>
55155 #endif
55157 #undef $ac_func
55159 /* Override any gcc2 internal prototype to avoid an error. */
55160 #ifdef __cplusplus
55161 extern "C"
55163 #endif
55164 /* We use char because int might match the return type of a gcc2
55165 builtin and then its argument prototype would still apply. */
55166 char $ac_func ();
55167 /* The GNU C library defines this for functions which it implements
55168 to always fail with ENOSYS. Some functions are actually named
55169 something starting with __ and the normal name is an alias. */
55170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55171 choke me
55172 #else
55173 char (*f) () = $ac_func;
55174 #endif
55175 #ifdef __cplusplus
55177 #endif
55180 main ()
55182 return f != $ac_func;
55184 return 0;
55186 _ACEOF
55187 rm -f conftest.$ac_objext conftest$ac_exeext
55188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55189 (eval $ac_link) 2>conftest.er1
55190 ac_status=$?
55191 grep -v '^ *+' conftest.er1 >conftest.err
55192 rm -f conftest.er1
55193 cat conftest.err >&5
55194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55195 (exit $ac_status); } &&
55196 { ac_try='test -z "$ac_c_werror_flag"
55197 || test ! -s conftest.err'
55198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55199 (eval $ac_try) 2>&5
55200 ac_status=$?
55201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55202 (exit $ac_status); }; } &&
55203 { ac_try='test -s conftest$ac_exeext'
55204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55205 (eval $ac_try) 2>&5
55206 ac_status=$?
55207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55208 (exit $ac_status); }; }; then
55209 eval "$as_ac_var=yes"
55210 else
55211 echo "$as_me: failed program was:" >&5
55212 sed 's/^/| /' conftest.$ac_ext >&5
55214 eval "$as_ac_var=no"
55216 rm -f conftest.err conftest.$ac_objext \
55217 conftest$ac_exeext conftest.$ac_ext
55219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55221 if test `eval echo '${'$as_ac_var'}'` = yes; then
55222 cat >>confdefs.h <<_ACEOF
55223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55224 _ACEOF
55227 done
55237 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
55238 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
55239 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55240 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
55241 echo $ECHO_N "(cached) $ECHO_C" >&6
55242 else
55246 ac_ext=cc
55247 ac_cpp='$CXXCPP $CPPFLAGS'
55248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55252 cat >conftest.$ac_ext <<_ACEOF
55253 /* confdefs.h. */
55254 _ACEOF
55255 cat confdefs.h >>conftest.$ac_ext
55256 cat >>conftest.$ac_ext <<_ACEOF
55257 /* end confdefs.h. */
55258 #include <math.h>
55260 main ()
55262 atan2l(0, 0);
55264 return 0;
55266 _ACEOF
55267 rm -f conftest.$ac_objext
55268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55269 (eval $ac_compile) 2>conftest.er1
55270 ac_status=$?
55271 grep -v '^ *+' conftest.er1 >conftest.err
55272 rm -f conftest.er1
55273 cat conftest.err >&5
55274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55275 (exit $ac_status); } &&
55276 { ac_try='test -z "$ac_cxx_werror_flag"
55277 || test ! -s conftest.err'
55278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55279 (eval $ac_try) 2>&5
55280 ac_status=$?
55281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55282 (exit $ac_status); }; } &&
55283 { ac_try='test -s conftest.$ac_objext'
55284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55285 (eval $ac_try) 2>&5
55286 ac_status=$?
55287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55288 (exit $ac_status); }; }; then
55289 glibcxx_cv_func_atan2l_use=yes
55290 else
55291 echo "$as_me: failed program was:" >&5
55292 sed 's/^/| /' conftest.$ac_ext >&5
55294 glibcxx_cv_func_atan2l_use=no
55296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55297 ac_ext=c
55298 ac_cpp='$CPP $CPPFLAGS'
55299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55307 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
55308 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
55310 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55312 for ac_func in atan2l
55314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55315 echo "$as_me:$LINENO: checking for $ac_func" >&5
55316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55317 if eval "test \"\${$as_ac_var+set}\" = set"; then
55318 echo $ECHO_N "(cached) $ECHO_C" >&6
55319 else
55320 if test x$gcc_no_link = xyes; then
55321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55323 { (exit 1); exit 1; }; }
55325 cat >conftest.$ac_ext <<_ACEOF
55326 /* confdefs.h. */
55327 _ACEOF
55328 cat confdefs.h >>conftest.$ac_ext
55329 cat >>conftest.$ac_ext <<_ACEOF
55330 /* end confdefs.h. */
55331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55333 #define $ac_func innocuous_$ac_func
55335 /* System header to define __stub macros and hopefully few prototypes,
55336 which can conflict with char $ac_func (); below.
55337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55338 <limits.h> exists even on freestanding compilers. */
55340 #ifdef __STDC__
55341 # include <limits.h>
55342 #else
55343 # include <assert.h>
55344 #endif
55346 #undef $ac_func
55348 /* Override any gcc2 internal prototype to avoid an error. */
55349 #ifdef __cplusplus
55350 extern "C"
55352 #endif
55353 /* We use char because int might match the return type of a gcc2
55354 builtin and then its argument prototype would still apply. */
55355 char $ac_func ();
55356 /* The GNU C library defines this for functions which it implements
55357 to always fail with ENOSYS. Some functions are actually named
55358 something starting with __ and the normal name is an alias. */
55359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55360 choke me
55361 #else
55362 char (*f) () = $ac_func;
55363 #endif
55364 #ifdef __cplusplus
55366 #endif
55369 main ()
55371 return f != $ac_func;
55373 return 0;
55375 _ACEOF
55376 rm -f conftest.$ac_objext conftest$ac_exeext
55377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55378 (eval $ac_link) 2>conftest.er1
55379 ac_status=$?
55380 grep -v '^ *+' conftest.er1 >conftest.err
55381 rm -f conftest.er1
55382 cat conftest.err >&5
55383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55384 (exit $ac_status); } &&
55385 { ac_try='test -z "$ac_c_werror_flag"
55386 || test ! -s conftest.err'
55387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55388 (eval $ac_try) 2>&5
55389 ac_status=$?
55390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55391 (exit $ac_status); }; } &&
55392 { ac_try='test -s conftest$ac_exeext'
55393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55394 (eval $ac_try) 2>&5
55395 ac_status=$?
55396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55397 (exit $ac_status); }; }; then
55398 eval "$as_ac_var=yes"
55399 else
55400 echo "$as_me: failed program was:" >&5
55401 sed 's/^/| /' conftest.$ac_ext >&5
55403 eval "$as_ac_var=no"
55405 rm -f conftest.err conftest.$ac_objext \
55406 conftest$ac_exeext conftest.$ac_ext
55408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55410 if test `eval echo '${'$as_ac_var'}'` = yes; then
55411 cat >>confdefs.h <<_ACEOF
55412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55413 _ACEOF
55416 done
55418 else
55420 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
55421 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
55422 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55423 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
55424 echo $ECHO_N "(cached) $ECHO_C" >&6
55425 else
55429 ac_ext=cc
55430 ac_cpp='$CXXCPP $CPPFLAGS'
55431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55435 cat >conftest.$ac_ext <<_ACEOF
55436 /* confdefs.h. */
55437 _ACEOF
55438 cat confdefs.h >>conftest.$ac_ext
55439 cat >>conftest.$ac_ext <<_ACEOF
55440 /* end confdefs.h. */
55441 #include <math.h>
55443 main ()
55445 _atan2l(0, 0);
55447 return 0;
55449 _ACEOF
55450 rm -f conftest.$ac_objext
55451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55452 (eval $ac_compile) 2>conftest.er1
55453 ac_status=$?
55454 grep -v '^ *+' conftest.er1 >conftest.err
55455 rm -f conftest.er1
55456 cat conftest.err >&5
55457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55458 (exit $ac_status); } &&
55459 { ac_try='test -z "$ac_cxx_werror_flag"
55460 || test ! -s conftest.err'
55461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55462 (eval $ac_try) 2>&5
55463 ac_status=$?
55464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55465 (exit $ac_status); }; } &&
55466 { ac_try='test -s conftest.$ac_objext'
55467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55468 (eval $ac_try) 2>&5
55469 ac_status=$?
55470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55471 (exit $ac_status); }; }; then
55472 glibcxx_cv_func__atan2l_use=yes
55473 else
55474 echo "$as_me: failed program was:" >&5
55475 sed 's/^/| /' conftest.$ac_ext >&5
55477 glibcxx_cv_func__atan2l_use=no
55479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55480 ac_ext=c
55481 ac_cpp='$CPP $CPPFLAGS'
55482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55490 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
55491 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
55493 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55495 for ac_func in _atan2l
55497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55498 echo "$as_me:$LINENO: checking for $ac_func" >&5
55499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55500 if eval "test \"\${$as_ac_var+set}\" = set"; then
55501 echo $ECHO_N "(cached) $ECHO_C" >&6
55502 else
55503 if test x$gcc_no_link = xyes; then
55504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55506 { (exit 1); exit 1; }; }
55508 cat >conftest.$ac_ext <<_ACEOF
55509 /* confdefs.h. */
55510 _ACEOF
55511 cat confdefs.h >>conftest.$ac_ext
55512 cat >>conftest.$ac_ext <<_ACEOF
55513 /* end confdefs.h. */
55514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55516 #define $ac_func innocuous_$ac_func
55518 /* System header to define __stub macros and hopefully few prototypes,
55519 which can conflict with char $ac_func (); below.
55520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55521 <limits.h> exists even on freestanding compilers. */
55523 #ifdef __STDC__
55524 # include <limits.h>
55525 #else
55526 # include <assert.h>
55527 #endif
55529 #undef $ac_func
55531 /* Override any gcc2 internal prototype to avoid an error. */
55532 #ifdef __cplusplus
55533 extern "C"
55535 #endif
55536 /* We use char because int might match the return type of a gcc2
55537 builtin and then its argument prototype would still apply. */
55538 char $ac_func ();
55539 /* The GNU C library defines this for functions which it implements
55540 to always fail with ENOSYS. Some functions are actually named
55541 something starting with __ and the normal name is an alias. */
55542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55543 choke me
55544 #else
55545 char (*f) () = $ac_func;
55546 #endif
55547 #ifdef __cplusplus
55549 #endif
55552 main ()
55554 return f != $ac_func;
55556 return 0;
55558 _ACEOF
55559 rm -f conftest.$ac_objext conftest$ac_exeext
55560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55561 (eval $ac_link) 2>conftest.er1
55562 ac_status=$?
55563 grep -v '^ *+' conftest.er1 >conftest.err
55564 rm -f conftest.er1
55565 cat conftest.err >&5
55566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55567 (exit $ac_status); } &&
55568 { ac_try='test -z "$ac_c_werror_flag"
55569 || test ! -s conftest.err'
55570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55571 (eval $ac_try) 2>&5
55572 ac_status=$?
55573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55574 (exit $ac_status); }; } &&
55575 { ac_try='test -s conftest$ac_exeext'
55576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55577 (eval $ac_try) 2>&5
55578 ac_status=$?
55579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55580 (exit $ac_status); }; }; then
55581 eval "$as_ac_var=yes"
55582 else
55583 echo "$as_me: failed program was:" >&5
55584 sed 's/^/| /' conftest.$ac_ext >&5
55586 eval "$as_ac_var=no"
55588 rm -f conftest.err conftest.$ac_objext \
55589 conftest$ac_exeext conftest.$ac_ext
55591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55593 if test `eval echo '${'$as_ac_var'}'` = yes; then
55594 cat >>confdefs.h <<_ACEOF
55595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55596 _ACEOF
55599 done
55609 echo "$as_me:$LINENO: checking for expl declaration" >&5
55610 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
55611 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55612 if test "${glibcxx_cv_func_expl_use+set}" = set; then
55613 echo $ECHO_N "(cached) $ECHO_C" >&6
55614 else
55618 ac_ext=cc
55619 ac_cpp='$CXXCPP $CPPFLAGS'
55620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55624 cat >conftest.$ac_ext <<_ACEOF
55625 /* confdefs.h. */
55626 _ACEOF
55627 cat confdefs.h >>conftest.$ac_ext
55628 cat >>conftest.$ac_ext <<_ACEOF
55629 /* end confdefs.h. */
55630 #include <math.h>
55631 #ifdef HAVE_IEEEFP_H
55632 #include <ieeefp.h>
55633 #endif
55636 main ()
55638 expl(0);
55640 return 0;
55642 _ACEOF
55643 rm -f conftest.$ac_objext
55644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55645 (eval $ac_compile) 2>conftest.er1
55646 ac_status=$?
55647 grep -v '^ *+' conftest.er1 >conftest.err
55648 rm -f conftest.er1
55649 cat conftest.err >&5
55650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55651 (exit $ac_status); } &&
55652 { ac_try='test -z "$ac_cxx_werror_flag"
55653 || test ! -s conftest.err'
55654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55655 (eval $ac_try) 2>&5
55656 ac_status=$?
55657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55658 (exit $ac_status); }; } &&
55659 { ac_try='test -s conftest.$ac_objext'
55660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55661 (eval $ac_try) 2>&5
55662 ac_status=$?
55663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55664 (exit $ac_status); }; }; then
55665 glibcxx_cv_func_expl_use=yes
55666 else
55667 echo "$as_me: failed program was:" >&5
55668 sed 's/^/| /' conftest.$ac_ext >&5
55670 glibcxx_cv_func_expl_use=no
55672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55673 ac_ext=c
55674 ac_cpp='$CPP $CPPFLAGS'
55675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55683 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
55684 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
55686 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55688 for ac_func in expl
55690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55691 echo "$as_me:$LINENO: checking for $ac_func" >&5
55692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55693 if eval "test \"\${$as_ac_var+set}\" = set"; then
55694 echo $ECHO_N "(cached) $ECHO_C" >&6
55695 else
55696 if test x$gcc_no_link = xyes; then
55697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55699 { (exit 1); exit 1; }; }
55701 cat >conftest.$ac_ext <<_ACEOF
55702 /* confdefs.h. */
55703 _ACEOF
55704 cat confdefs.h >>conftest.$ac_ext
55705 cat >>conftest.$ac_ext <<_ACEOF
55706 /* end confdefs.h. */
55707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55709 #define $ac_func innocuous_$ac_func
55711 /* System header to define __stub macros and hopefully few prototypes,
55712 which can conflict with char $ac_func (); below.
55713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55714 <limits.h> exists even on freestanding compilers. */
55716 #ifdef __STDC__
55717 # include <limits.h>
55718 #else
55719 # include <assert.h>
55720 #endif
55722 #undef $ac_func
55724 /* Override any gcc2 internal prototype to avoid an error. */
55725 #ifdef __cplusplus
55726 extern "C"
55728 #endif
55729 /* We use char because int might match the return type of a gcc2
55730 builtin and then its argument prototype would still apply. */
55731 char $ac_func ();
55732 /* The GNU C library defines this for functions which it implements
55733 to always fail with ENOSYS. Some functions are actually named
55734 something starting with __ and the normal name is an alias. */
55735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55736 choke me
55737 #else
55738 char (*f) () = $ac_func;
55739 #endif
55740 #ifdef __cplusplus
55742 #endif
55745 main ()
55747 return f != $ac_func;
55749 return 0;
55751 _ACEOF
55752 rm -f conftest.$ac_objext conftest$ac_exeext
55753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55754 (eval $ac_link) 2>conftest.er1
55755 ac_status=$?
55756 grep -v '^ *+' conftest.er1 >conftest.err
55757 rm -f conftest.er1
55758 cat conftest.err >&5
55759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55760 (exit $ac_status); } &&
55761 { ac_try='test -z "$ac_c_werror_flag"
55762 || test ! -s conftest.err'
55763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55764 (eval $ac_try) 2>&5
55765 ac_status=$?
55766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55767 (exit $ac_status); }; } &&
55768 { ac_try='test -s conftest$ac_exeext'
55769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55770 (eval $ac_try) 2>&5
55771 ac_status=$?
55772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55773 (exit $ac_status); }; }; then
55774 eval "$as_ac_var=yes"
55775 else
55776 echo "$as_me: failed program was:" >&5
55777 sed 's/^/| /' conftest.$ac_ext >&5
55779 eval "$as_ac_var=no"
55781 rm -f conftest.err conftest.$ac_objext \
55782 conftest$ac_exeext conftest.$ac_ext
55784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55786 if test `eval echo '${'$as_ac_var'}'` = yes; then
55787 cat >>confdefs.h <<_ACEOF
55788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55789 _ACEOF
55792 done
55794 else
55796 echo "$as_me:$LINENO: checking for _expl declaration" >&5
55797 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
55798 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55799 if test "${glibcxx_cv_func__expl_use+set}" = set; then
55800 echo $ECHO_N "(cached) $ECHO_C" >&6
55801 else
55805 ac_ext=cc
55806 ac_cpp='$CXXCPP $CPPFLAGS'
55807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55811 cat >conftest.$ac_ext <<_ACEOF
55812 /* confdefs.h. */
55813 _ACEOF
55814 cat confdefs.h >>conftest.$ac_ext
55815 cat >>conftest.$ac_ext <<_ACEOF
55816 /* end confdefs.h. */
55817 #include <math.h>
55818 #ifdef HAVE_IEEEFP_H
55819 #include <ieeefp.h>
55820 #endif
55823 main ()
55825 _expl(0);
55827 return 0;
55829 _ACEOF
55830 rm -f conftest.$ac_objext
55831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55832 (eval $ac_compile) 2>conftest.er1
55833 ac_status=$?
55834 grep -v '^ *+' conftest.er1 >conftest.err
55835 rm -f conftest.er1
55836 cat conftest.err >&5
55837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55838 (exit $ac_status); } &&
55839 { ac_try='test -z "$ac_cxx_werror_flag"
55840 || test ! -s conftest.err'
55841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55842 (eval $ac_try) 2>&5
55843 ac_status=$?
55844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55845 (exit $ac_status); }; } &&
55846 { ac_try='test -s conftest.$ac_objext'
55847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55848 (eval $ac_try) 2>&5
55849 ac_status=$?
55850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55851 (exit $ac_status); }; }; then
55852 glibcxx_cv_func__expl_use=yes
55853 else
55854 echo "$as_me: failed program was:" >&5
55855 sed 's/^/| /' conftest.$ac_ext >&5
55857 glibcxx_cv_func__expl_use=no
55859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55860 ac_ext=c
55861 ac_cpp='$CPP $CPPFLAGS'
55862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55870 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
55871 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
55873 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55875 for ac_func in _expl
55877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55878 echo "$as_me:$LINENO: checking for $ac_func" >&5
55879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55880 if eval "test \"\${$as_ac_var+set}\" = set"; then
55881 echo $ECHO_N "(cached) $ECHO_C" >&6
55882 else
55883 if test x$gcc_no_link = xyes; then
55884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55886 { (exit 1); exit 1; }; }
55888 cat >conftest.$ac_ext <<_ACEOF
55889 /* confdefs.h. */
55890 _ACEOF
55891 cat confdefs.h >>conftest.$ac_ext
55892 cat >>conftest.$ac_ext <<_ACEOF
55893 /* end confdefs.h. */
55894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55896 #define $ac_func innocuous_$ac_func
55898 /* System header to define __stub macros and hopefully few prototypes,
55899 which can conflict with char $ac_func (); below.
55900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55901 <limits.h> exists even on freestanding compilers. */
55903 #ifdef __STDC__
55904 # include <limits.h>
55905 #else
55906 # include <assert.h>
55907 #endif
55909 #undef $ac_func
55911 /* Override any gcc2 internal prototype to avoid an error. */
55912 #ifdef __cplusplus
55913 extern "C"
55915 #endif
55916 /* We use char because int might match the return type of a gcc2
55917 builtin and then its argument prototype would still apply. */
55918 char $ac_func ();
55919 /* The GNU C library defines this for functions which it implements
55920 to always fail with ENOSYS. Some functions are actually named
55921 something starting with __ and the normal name is an alias. */
55922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55923 choke me
55924 #else
55925 char (*f) () = $ac_func;
55926 #endif
55927 #ifdef __cplusplus
55929 #endif
55932 main ()
55934 return f != $ac_func;
55936 return 0;
55938 _ACEOF
55939 rm -f conftest.$ac_objext conftest$ac_exeext
55940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55941 (eval $ac_link) 2>conftest.er1
55942 ac_status=$?
55943 grep -v '^ *+' conftest.er1 >conftest.err
55944 rm -f conftest.er1
55945 cat conftest.err >&5
55946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55947 (exit $ac_status); } &&
55948 { ac_try='test -z "$ac_c_werror_flag"
55949 || test ! -s conftest.err'
55950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55951 (eval $ac_try) 2>&5
55952 ac_status=$?
55953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55954 (exit $ac_status); }; } &&
55955 { ac_try='test -s conftest$ac_exeext'
55956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55957 (eval $ac_try) 2>&5
55958 ac_status=$?
55959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55960 (exit $ac_status); }; }; then
55961 eval "$as_ac_var=yes"
55962 else
55963 echo "$as_me: failed program was:" >&5
55964 sed 's/^/| /' conftest.$ac_ext >&5
55966 eval "$as_ac_var=no"
55968 rm -f conftest.err conftest.$ac_objext \
55969 conftest$ac_exeext conftest.$ac_ext
55971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55973 if test `eval echo '${'$as_ac_var'}'` = yes; then
55974 cat >>confdefs.h <<_ACEOF
55975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55976 _ACEOF
55979 done
55989 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
55990 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
55991 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55992 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
55993 echo $ECHO_N "(cached) $ECHO_C" >&6
55994 else
55998 ac_ext=cc
55999 ac_cpp='$CXXCPP $CPPFLAGS'
56000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56004 cat >conftest.$ac_ext <<_ACEOF
56005 /* confdefs.h. */
56006 _ACEOF
56007 cat confdefs.h >>conftest.$ac_ext
56008 cat >>conftest.$ac_ext <<_ACEOF
56009 /* end confdefs.h. */
56010 #include <math.h>
56011 #ifdef HAVE_IEEEFP_H
56012 #include <ieeefp.h>
56013 #endif
56016 main ()
56018 fabsl(0);
56020 return 0;
56022 _ACEOF
56023 rm -f conftest.$ac_objext
56024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56025 (eval $ac_compile) 2>conftest.er1
56026 ac_status=$?
56027 grep -v '^ *+' conftest.er1 >conftest.err
56028 rm -f conftest.er1
56029 cat conftest.err >&5
56030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56031 (exit $ac_status); } &&
56032 { ac_try='test -z "$ac_cxx_werror_flag"
56033 || test ! -s conftest.err'
56034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56035 (eval $ac_try) 2>&5
56036 ac_status=$?
56037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56038 (exit $ac_status); }; } &&
56039 { ac_try='test -s conftest.$ac_objext'
56040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56041 (eval $ac_try) 2>&5
56042 ac_status=$?
56043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56044 (exit $ac_status); }; }; then
56045 glibcxx_cv_func_fabsl_use=yes
56046 else
56047 echo "$as_me: failed program was:" >&5
56048 sed 's/^/| /' conftest.$ac_ext >&5
56050 glibcxx_cv_func_fabsl_use=no
56052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56053 ac_ext=c
56054 ac_cpp='$CPP $CPPFLAGS'
56055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56063 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56064 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56066 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56068 for ac_func in fabsl
56070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56071 echo "$as_me:$LINENO: checking for $ac_func" >&5
56072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56073 if eval "test \"\${$as_ac_var+set}\" = set"; then
56074 echo $ECHO_N "(cached) $ECHO_C" >&6
56075 else
56076 if test x$gcc_no_link = xyes; then
56077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56079 { (exit 1); exit 1; }; }
56081 cat >conftest.$ac_ext <<_ACEOF
56082 /* confdefs.h. */
56083 _ACEOF
56084 cat confdefs.h >>conftest.$ac_ext
56085 cat >>conftest.$ac_ext <<_ACEOF
56086 /* end confdefs.h. */
56087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56089 #define $ac_func innocuous_$ac_func
56091 /* System header to define __stub macros and hopefully few prototypes,
56092 which can conflict with char $ac_func (); below.
56093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56094 <limits.h> exists even on freestanding compilers. */
56096 #ifdef __STDC__
56097 # include <limits.h>
56098 #else
56099 # include <assert.h>
56100 #endif
56102 #undef $ac_func
56104 /* Override any gcc2 internal prototype to avoid an error. */
56105 #ifdef __cplusplus
56106 extern "C"
56108 #endif
56109 /* We use char because int might match the return type of a gcc2
56110 builtin and then its argument prototype would still apply. */
56111 char $ac_func ();
56112 /* The GNU C library defines this for functions which it implements
56113 to always fail with ENOSYS. Some functions are actually named
56114 something starting with __ and the normal name is an alias. */
56115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56116 choke me
56117 #else
56118 char (*f) () = $ac_func;
56119 #endif
56120 #ifdef __cplusplus
56122 #endif
56125 main ()
56127 return f != $ac_func;
56129 return 0;
56131 _ACEOF
56132 rm -f conftest.$ac_objext conftest$ac_exeext
56133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56134 (eval $ac_link) 2>conftest.er1
56135 ac_status=$?
56136 grep -v '^ *+' conftest.er1 >conftest.err
56137 rm -f conftest.er1
56138 cat conftest.err >&5
56139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56140 (exit $ac_status); } &&
56141 { ac_try='test -z "$ac_c_werror_flag"
56142 || test ! -s conftest.err'
56143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56144 (eval $ac_try) 2>&5
56145 ac_status=$?
56146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56147 (exit $ac_status); }; } &&
56148 { ac_try='test -s conftest$ac_exeext'
56149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56150 (eval $ac_try) 2>&5
56151 ac_status=$?
56152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56153 (exit $ac_status); }; }; then
56154 eval "$as_ac_var=yes"
56155 else
56156 echo "$as_me: failed program was:" >&5
56157 sed 's/^/| /' conftest.$ac_ext >&5
56159 eval "$as_ac_var=no"
56161 rm -f conftest.err conftest.$ac_objext \
56162 conftest$ac_exeext conftest.$ac_ext
56164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56166 if test `eval echo '${'$as_ac_var'}'` = yes; then
56167 cat >>confdefs.h <<_ACEOF
56168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56169 _ACEOF
56172 done
56174 else
56176 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
56177 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
56178 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56179 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
56180 echo $ECHO_N "(cached) $ECHO_C" >&6
56181 else
56185 ac_ext=cc
56186 ac_cpp='$CXXCPP $CPPFLAGS'
56187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56191 cat >conftest.$ac_ext <<_ACEOF
56192 /* confdefs.h. */
56193 _ACEOF
56194 cat confdefs.h >>conftest.$ac_ext
56195 cat >>conftest.$ac_ext <<_ACEOF
56196 /* end confdefs.h. */
56197 #include <math.h>
56198 #ifdef HAVE_IEEEFP_H
56199 #include <ieeefp.h>
56200 #endif
56203 main ()
56205 _fabsl(0);
56207 return 0;
56209 _ACEOF
56210 rm -f conftest.$ac_objext
56211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56212 (eval $ac_compile) 2>conftest.er1
56213 ac_status=$?
56214 grep -v '^ *+' conftest.er1 >conftest.err
56215 rm -f conftest.er1
56216 cat conftest.err >&5
56217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56218 (exit $ac_status); } &&
56219 { ac_try='test -z "$ac_cxx_werror_flag"
56220 || test ! -s conftest.err'
56221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56222 (eval $ac_try) 2>&5
56223 ac_status=$?
56224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56225 (exit $ac_status); }; } &&
56226 { ac_try='test -s conftest.$ac_objext'
56227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56228 (eval $ac_try) 2>&5
56229 ac_status=$?
56230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56231 (exit $ac_status); }; }; then
56232 glibcxx_cv_func__fabsl_use=yes
56233 else
56234 echo "$as_me: failed program was:" >&5
56235 sed 's/^/| /' conftest.$ac_ext >&5
56237 glibcxx_cv_func__fabsl_use=no
56239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56240 ac_ext=c
56241 ac_cpp='$CPP $CPPFLAGS'
56242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56250 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
56251 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
56253 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56255 for ac_func in _fabsl
56257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56258 echo "$as_me:$LINENO: checking for $ac_func" >&5
56259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56260 if eval "test \"\${$as_ac_var+set}\" = set"; then
56261 echo $ECHO_N "(cached) $ECHO_C" >&6
56262 else
56263 if test x$gcc_no_link = xyes; then
56264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56266 { (exit 1); exit 1; }; }
56268 cat >conftest.$ac_ext <<_ACEOF
56269 /* confdefs.h. */
56270 _ACEOF
56271 cat confdefs.h >>conftest.$ac_ext
56272 cat >>conftest.$ac_ext <<_ACEOF
56273 /* end confdefs.h. */
56274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56276 #define $ac_func innocuous_$ac_func
56278 /* System header to define __stub macros and hopefully few prototypes,
56279 which can conflict with char $ac_func (); below.
56280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56281 <limits.h> exists even on freestanding compilers. */
56283 #ifdef __STDC__
56284 # include <limits.h>
56285 #else
56286 # include <assert.h>
56287 #endif
56289 #undef $ac_func
56291 /* Override any gcc2 internal prototype to avoid an error. */
56292 #ifdef __cplusplus
56293 extern "C"
56295 #endif
56296 /* We use char because int might match the return type of a gcc2
56297 builtin and then its argument prototype would still apply. */
56298 char $ac_func ();
56299 /* The GNU C library defines this for functions which it implements
56300 to always fail with ENOSYS. Some functions are actually named
56301 something starting with __ and the normal name is an alias. */
56302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56303 choke me
56304 #else
56305 char (*f) () = $ac_func;
56306 #endif
56307 #ifdef __cplusplus
56309 #endif
56312 main ()
56314 return f != $ac_func;
56316 return 0;
56318 _ACEOF
56319 rm -f conftest.$ac_objext conftest$ac_exeext
56320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56321 (eval $ac_link) 2>conftest.er1
56322 ac_status=$?
56323 grep -v '^ *+' conftest.er1 >conftest.err
56324 rm -f conftest.er1
56325 cat conftest.err >&5
56326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56327 (exit $ac_status); } &&
56328 { ac_try='test -z "$ac_c_werror_flag"
56329 || test ! -s conftest.err'
56330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56331 (eval $ac_try) 2>&5
56332 ac_status=$?
56333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56334 (exit $ac_status); }; } &&
56335 { ac_try='test -s conftest$ac_exeext'
56336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56337 (eval $ac_try) 2>&5
56338 ac_status=$?
56339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56340 (exit $ac_status); }; }; then
56341 eval "$as_ac_var=yes"
56342 else
56343 echo "$as_me: failed program was:" >&5
56344 sed 's/^/| /' conftest.$ac_ext >&5
56346 eval "$as_ac_var=no"
56348 rm -f conftest.err conftest.$ac_objext \
56349 conftest$ac_exeext conftest.$ac_ext
56351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56353 if test `eval echo '${'$as_ac_var'}'` = yes; then
56354 cat >>confdefs.h <<_ACEOF
56355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56356 _ACEOF
56359 done
56369 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
56370 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
56371 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56372 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
56373 echo $ECHO_N "(cached) $ECHO_C" >&6
56374 else
56378 ac_ext=cc
56379 ac_cpp='$CXXCPP $CPPFLAGS'
56380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56384 cat >conftest.$ac_ext <<_ACEOF
56385 /* confdefs.h. */
56386 _ACEOF
56387 cat confdefs.h >>conftest.$ac_ext
56388 cat >>conftest.$ac_ext <<_ACEOF
56389 /* end confdefs.h. */
56390 #include <math.h>
56392 main ()
56394 fmodl(0, 0);
56396 return 0;
56398 _ACEOF
56399 rm -f conftest.$ac_objext
56400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56401 (eval $ac_compile) 2>conftest.er1
56402 ac_status=$?
56403 grep -v '^ *+' conftest.er1 >conftest.err
56404 rm -f conftest.er1
56405 cat conftest.err >&5
56406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56407 (exit $ac_status); } &&
56408 { ac_try='test -z "$ac_cxx_werror_flag"
56409 || test ! -s conftest.err'
56410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56411 (eval $ac_try) 2>&5
56412 ac_status=$?
56413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56414 (exit $ac_status); }; } &&
56415 { ac_try='test -s conftest.$ac_objext'
56416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56417 (eval $ac_try) 2>&5
56418 ac_status=$?
56419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56420 (exit $ac_status); }; }; then
56421 glibcxx_cv_func_fmodl_use=yes
56422 else
56423 echo "$as_me: failed program was:" >&5
56424 sed 's/^/| /' conftest.$ac_ext >&5
56426 glibcxx_cv_func_fmodl_use=no
56428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56429 ac_ext=c
56430 ac_cpp='$CPP $CPPFLAGS'
56431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56439 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
56440 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
56442 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56444 for ac_func in fmodl
56446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56447 echo "$as_me:$LINENO: checking for $ac_func" >&5
56448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56449 if eval "test \"\${$as_ac_var+set}\" = set"; then
56450 echo $ECHO_N "(cached) $ECHO_C" >&6
56451 else
56452 if test x$gcc_no_link = xyes; then
56453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56455 { (exit 1); exit 1; }; }
56457 cat >conftest.$ac_ext <<_ACEOF
56458 /* confdefs.h. */
56459 _ACEOF
56460 cat confdefs.h >>conftest.$ac_ext
56461 cat >>conftest.$ac_ext <<_ACEOF
56462 /* end confdefs.h. */
56463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56465 #define $ac_func innocuous_$ac_func
56467 /* System header to define __stub macros and hopefully few prototypes,
56468 which can conflict with char $ac_func (); below.
56469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56470 <limits.h> exists even on freestanding compilers. */
56472 #ifdef __STDC__
56473 # include <limits.h>
56474 #else
56475 # include <assert.h>
56476 #endif
56478 #undef $ac_func
56480 /* Override any gcc2 internal prototype to avoid an error. */
56481 #ifdef __cplusplus
56482 extern "C"
56484 #endif
56485 /* We use char because int might match the return type of a gcc2
56486 builtin and then its argument prototype would still apply. */
56487 char $ac_func ();
56488 /* The GNU C library defines this for functions which it implements
56489 to always fail with ENOSYS. Some functions are actually named
56490 something starting with __ and the normal name is an alias. */
56491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56492 choke me
56493 #else
56494 char (*f) () = $ac_func;
56495 #endif
56496 #ifdef __cplusplus
56498 #endif
56501 main ()
56503 return f != $ac_func;
56505 return 0;
56507 _ACEOF
56508 rm -f conftest.$ac_objext conftest$ac_exeext
56509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56510 (eval $ac_link) 2>conftest.er1
56511 ac_status=$?
56512 grep -v '^ *+' conftest.er1 >conftest.err
56513 rm -f conftest.er1
56514 cat conftest.err >&5
56515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56516 (exit $ac_status); } &&
56517 { ac_try='test -z "$ac_c_werror_flag"
56518 || test ! -s conftest.err'
56519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56520 (eval $ac_try) 2>&5
56521 ac_status=$?
56522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56523 (exit $ac_status); }; } &&
56524 { ac_try='test -s conftest$ac_exeext'
56525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56526 (eval $ac_try) 2>&5
56527 ac_status=$?
56528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56529 (exit $ac_status); }; }; then
56530 eval "$as_ac_var=yes"
56531 else
56532 echo "$as_me: failed program was:" >&5
56533 sed 's/^/| /' conftest.$ac_ext >&5
56535 eval "$as_ac_var=no"
56537 rm -f conftest.err conftest.$ac_objext \
56538 conftest$ac_exeext conftest.$ac_ext
56540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56542 if test `eval echo '${'$as_ac_var'}'` = yes; then
56543 cat >>confdefs.h <<_ACEOF
56544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56545 _ACEOF
56548 done
56550 else
56552 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
56553 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
56554 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56555 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
56556 echo $ECHO_N "(cached) $ECHO_C" >&6
56557 else
56561 ac_ext=cc
56562 ac_cpp='$CXXCPP $CPPFLAGS'
56563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56567 cat >conftest.$ac_ext <<_ACEOF
56568 /* confdefs.h. */
56569 _ACEOF
56570 cat confdefs.h >>conftest.$ac_ext
56571 cat >>conftest.$ac_ext <<_ACEOF
56572 /* end confdefs.h. */
56573 #include <math.h>
56575 main ()
56577 _fmodl(0, 0);
56579 return 0;
56581 _ACEOF
56582 rm -f conftest.$ac_objext
56583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56584 (eval $ac_compile) 2>conftest.er1
56585 ac_status=$?
56586 grep -v '^ *+' conftest.er1 >conftest.err
56587 rm -f conftest.er1
56588 cat conftest.err >&5
56589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56590 (exit $ac_status); } &&
56591 { ac_try='test -z "$ac_cxx_werror_flag"
56592 || test ! -s conftest.err'
56593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56594 (eval $ac_try) 2>&5
56595 ac_status=$?
56596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56597 (exit $ac_status); }; } &&
56598 { ac_try='test -s conftest.$ac_objext'
56599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56600 (eval $ac_try) 2>&5
56601 ac_status=$?
56602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56603 (exit $ac_status); }; }; then
56604 glibcxx_cv_func__fmodl_use=yes
56605 else
56606 echo "$as_me: failed program was:" >&5
56607 sed 's/^/| /' conftest.$ac_ext >&5
56609 glibcxx_cv_func__fmodl_use=no
56611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56612 ac_ext=c
56613 ac_cpp='$CPP $CPPFLAGS'
56614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56622 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
56623 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
56625 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56627 for ac_func in _fmodl
56629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56630 echo "$as_me:$LINENO: checking for $ac_func" >&5
56631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56632 if eval "test \"\${$as_ac_var+set}\" = set"; then
56633 echo $ECHO_N "(cached) $ECHO_C" >&6
56634 else
56635 if test x$gcc_no_link = xyes; then
56636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56638 { (exit 1); exit 1; }; }
56640 cat >conftest.$ac_ext <<_ACEOF
56641 /* confdefs.h. */
56642 _ACEOF
56643 cat confdefs.h >>conftest.$ac_ext
56644 cat >>conftest.$ac_ext <<_ACEOF
56645 /* end confdefs.h. */
56646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56648 #define $ac_func innocuous_$ac_func
56650 /* System header to define __stub macros and hopefully few prototypes,
56651 which can conflict with char $ac_func (); below.
56652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56653 <limits.h> exists even on freestanding compilers. */
56655 #ifdef __STDC__
56656 # include <limits.h>
56657 #else
56658 # include <assert.h>
56659 #endif
56661 #undef $ac_func
56663 /* Override any gcc2 internal prototype to avoid an error. */
56664 #ifdef __cplusplus
56665 extern "C"
56667 #endif
56668 /* We use char because int might match the return type of a gcc2
56669 builtin and then its argument prototype would still apply. */
56670 char $ac_func ();
56671 /* The GNU C library defines this for functions which it implements
56672 to always fail with ENOSYS. Some functions are actually named
56673 something starting with __ and the normal name is an alias. */
56674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56675 choke me
56676 #else
56677 char (*f) () = $ac_func;
56678 #endif
56679 #ifdef __cplusplus
56681 #endif
56684 main ()
56686 return f != $ac_func;
56688 return 0;
56690 _ACEOF
56691 rm -f conftest.$ac_objext conftest$ac_exeext
56692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56693 (eval $ac_link) 2>conftest.er1
56694 ac_status=$?
56695 grep -v '^ *+' conftest.er1 >conftest.err
56696 rm -f conftest.er1
56697 cat conftest.err >&5
56698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56699 (exit $ac_status); } &&
56700 { ac_try='test -z "$ac_c_werror_flag"
56701 || test ! -s conftest.err'
56702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56703 (eval $ac_try) 2>&5
56704 ac_status=$?
56705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56706 (exit $ac_status); }; } &&
56707 { ac_try='test -s conftest$ac_exeext'
56708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56709 (eval $ac_try) 2>&5
56710 ac_status=$?
56711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56712 (exit $ac_status); }; }; then
56713 eval "$as_ac_var=yes"
56714 else
56715 echo "$as_me: failed program was:" >&5
56716 sed 's/^/| /' conftest.$ac_ext >&5
56718 eval "$as_ac_var=no"
56720 rm -f conftest.err conftest.$ac_objext \
56721 conftest$ac_exeext conftest.$ac_ext
56723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56725 if test `eval echo '${'$as_ac_var'}'` = yes; then
56726 cat >>confdefs.h <<_ACEOF
56727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56728 _ACEOF
56731 done
56741 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
56742 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
56743 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56744 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
56745 echo $ECHO_N "(cached) $ECHO_C" >&6
56746 else
56750 ac_ext=cc
56751 ac_cpp='$CXXCPP $CPPFLAGS'
56752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56756 cat >conftest.$ac_ext <<_ACEOF
56757 /* confdefs.h. */
56758 _ACEOF
56759 cat confdefs.h >>conftest.$ac_ext
56760 cat >>conftest.$ac_ext <<_ACEOF
56761 /* end confdefs.h. */
56762 #include <math.h>
56764 main ()
56766 frexpl(0, 0);
56768 return 0;
56770 _ACEOF
56771 rm -f conftest.$ac_objext
56772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56773 (eval $ac_compile) 2>conftest.er1
56774 ac_status=$?
56775 grep -v '^ *+' conftest.er1 >conftest.err
56776 rm -f conftest.er1
56777 cat conftest.err >&5
56778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56779 (exit $ac_status); } &&
56780 { ac_try='test -z "$ac_cxx_werror_flag"
56781 || test ! -s conftest.err'
56782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56783 (eval $ac_try) 2>&5
56784 ac_status=$?
56785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56786 (exit $ac_status); }; } &&
56787 { ac_try='test -s conftest.$ac_objext'
56788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56789 (eval $ac_try) 2>&5
56790 ac_status=$?
56791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56792 (exit $ac_status); }; }; then
56793 glibcxx_cv_func_frexpl_use=yes
56794 else
56795 echo "$as_me: failed program was:" >&5
56796 sed 's/^/| /' conftest.$ac_ext >&5
56798 glibcxx_cv_func_frexpl_use=no
56800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56801 ac_ext=c
56802 ac_cpp='$CPP $CPPFLAGS'
56803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56811 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
56812 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
56814 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56816 for ac_func in frexpl
56818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56819 echo "$as_me:$LINENO: checking for $ac_func" >&5
56820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56821 if eval "test \"\${$as_ac_var+set}\" = set"; then
56822 echo $ECHO_N "(cached) $ECHO_C" >&6
56823 else
56824 if test x$gcc_no_link = xyes; then
56825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56827 { (exit 1); exit 1; }; }
56829 cat >conftest.$ac_ext <<_ACEOF
56830 /* confdefs.h. */
56831 _ACEOF
56832 cat confdefs.h >>conftest.$ac_ext
56833 cat >>conftest.$ac_ext <<_ACEOF
56834 /* end confdefs.h. */
56835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56837 #define $ac_func innocuous_$ac_func
56839 /* System header to define __stub macros and hopefully few prototypes,
56840 which can conflict with char $ac_func (); below.
56841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56842 <limits.h> exists even on freestanding compilers. */
56844 #ifdef __STDC__
56845 # include <limits.h>
56846 #else
56847 # include <assert.h>
56848 #endif
56850 #undef $ac_func
56852 /* Override any gcc2 internal prototype to avoid an error. */
56853 #ifdef __cplusplus
56854 extern "C"
56856 #endif
56857 /* We use char because int might match the return type of a gcc2
56858 builtin and then its argument prototype would still apply. */
56859 char $ac_func ();
56860 /* The GNU C library defines this for functions which it implements
56861 to always fail with ENOSYS. Some functions are actually named
56862 something starting with __ and the normal name is an alias. */
56863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56864 choke me
56865 #else
56866 char (*f) () = $ac_func;
56867 #endif
56868 #ifdef __cplusplus
56870 #endif
56873 main ()
56875 return f != $ac_func;
56877 return 0;
56879 _ACEOF
56880 rm -f conftest.$ac_objext conftest$ac_exeext
56881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56882 (eval $ac_link) 2>conftest.er1
56883 ac_status=$?
56884 grep -v '^ *+' conftest.er1 >conftest.err
56885 rm -f conftest.er1
56886 cat conftest.err >&5
56887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56888 (exit $ac_status); } &&
56889 { ac_try='test -z "$ac_c_werror_flag"
56890 || test ! -s conftest.err'
56891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56892 (eval $ac_try) 2>&5
56893 ac_status=$?
56894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56895 (exit $ac_status); }; } &&
56896 { ac_try='test -s conftest$ac_exeext'
56897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56898 (eval $ac_try) 2>&5
56899 ac_status=$?
56900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56901 (exit $ac_status); }; }; then
56902 eval "$as_ac_var=yes"
56903 else
56904 echo "$as_me: failed program was:" >&5
56905 sed 's/^/| /' conftest.$ac_ext >&5
56907 eval "$as_ac_var=no"
56909 rm -f conftest.err conftest.$ac_objext \
56910 conftest$ac_exeext conftest.$ac_ext
56912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56914 if test `eval echo '${'$as_ac_var'}'` = yes; then
56915 cat >>confdefs.h <<_ACEOF
56916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56917 _ACEOF
56920 done
56922 else
56924 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
56925 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
56926 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56927 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
56928 echo $ECHO_N "(cached) $ECHO_C" >&6
56929 else
56933 ac_ext=cc
56934 ac_cpp='$CXXCPP $CPPFLAGS'
56935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56939 cat >conftest.$ac_ext <<_ACEOF
56940 /* confdefs.h. */
56941 _ACEOF
56942 cat confdefs.h >>conftest.$ac_ext
56943 cat >>conftest.$ac_ext <<_ACEOF
56944 /* end confdefs.h. */
56945 #include <math.h>
56947 main ()
56949 _frexpl(0, 0);
56951 return 0;
56953 _ACEOF
56954 rm -f conftest.$ac_objext
56955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56956 (eval $ac_compile) 2>conftest.er1
56957 ac_status=$?
56958 grep -v '^ *+' conftest.er1 >conftest.err
56959 rm -f conftest.er1
56960 cat conftest.err >&5
56961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56962 (exit $ac_status); } &&
56963 { ac_try='test -z "$ac_cxx_werror_flag"
56964 || test ! -s conftest.err'
56965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56966 (eval $ac_try) 2>&5
56967 ac_status=$?
56968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56969 (exit $ac_status); }; } &&
56970 { ac_try='test -s conftest.$ac_objext'
56971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56972 (eval $ac_try) 2>&5
56973 ac_status=$?
56974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56975 (exit $ac_status); }; }; then
56976 glibcxx_cv_func__frexpl_use=yes
56977 else
56978 echo "$as_me: failed program was:" >&5
56979 sed 's/^/| /' conftest.$ac_ext >&5
56981 glibcxx_cv_func__frexpl_use=no
56983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56984 ac_ext=c
56985 ac_cpp='$CPP $CPPFLAGS'
56986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56994 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
56995 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
56997 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56999 for ac_func in _frexpl
57001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57002 echo "$as_me:$LINENO: checking for $ac_func" >&5
57003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57004 if eval "test \"\${$as_ac_var+set}\" = set"; then
57005 echo $ECHO_N "(cached) $ECHO_C" >&6
57006 else
57007 if test x$gcc_no_link = xyes; then
57008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57010 { (exit 1); exit 1; }; }
57012 cat >conftest.$ac_ext <<_ACEOF
57013 /* confdefs.h. */
57014 _ACEOF
57015 cat confdefs.h >>conftest.$ac_ext
57016 cat >>conftest.$ac_ext <<_ACEOF
57017 /* end confdefs.h. */
57018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57020 #define $ac_func innocuous_$ac_func
57022 /* System header to define __stub macros and hopefully few prototypes,
57023 which can conflict with char $ac_func (); below.
57024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57025 <limits.h> exists even on freestanding compilers. */
57027 #ifdef __STDC__
57028 # include <limits.h>
57029 #else
57030 # include <assert.h>
57031 #endif
57033 #undef $ac_func
57035 /* Override any gcc2 internal prototype to avoid an error. */
57036 #ifdef __cplusplus
57037 extern "C"
57039 #endif
57040 /* We use char because int might match the return type of a gcc2
57041 builtin and then its argument prototype would still apply. */
57042 char $ac_func ();
57043 /* The GNU C library defines this for functions which it implements
57044 to always fail with ENOSYS. Some functions are actually named
57045 something starting with __ and the normal name is an alias. */
57046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57047 choke me
57048 #else
57049 char (*f) () = $ac_func;
57050 #endif
57051 #ifdef __cplusplus
57053 #endif
57056 main ()
57058 return f != $ac_func;
57060 return 0;
57062 _ACEOF
57063 rm -f conftest.$ac_objext conftest$ac_exeext
57064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57065 (eval $ac_link) 2>conftest.er1
57066 ac_status=$?
57067 grep -v '^ *+' conftest.er1 >conftest.err
57068 rm -f conftest.er1
57069 cat conftest.err >&5
57070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57071 (exit $ac_status); } &&
57072 { ac_try='test -z "$ac_c_werror_flag"
57073 || test ! -s conftest.err'
57074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57075 (eval $ac_try) 2>&5
57076 ac_status=$?
57077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57078 (exit $ac_status); }; } &&
57079 { ac_try='test -s conftest$ac_exeext'
57080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57081 (eval $ac_try) 2>&5
57082 ac_status=$?
57083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57084 (exit $ac_status); }; }; then
57085 eval "$as_ac_var=yes"
57086 else
57087 echo "$as_me: failed program was:" >&5
57088 sed 's/^/| /' conftest.$ac_ext >&5
57090 eval "$as_ac_var=no"
57092 rm -f conftest.err conftest.$ac_objext \
57093 conftest$ac_exeext conftest.$ac_ext
57095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57097 if test `eval echo '${'$as_ac_var'}'` = yes; then
57098 cat >>confdefs.h <<_ACEOF
57099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57100 _ACEOF
57103 done
57113 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57114 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57115 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57116 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57117 echo $ECHO_N "(cached) $ECHO_C" >&6
57118 else
57122 ac_ext=cc
57123 ac_cpp='$CXXCPP $CPPFLAGS'
57124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57128 cat >conftest.$ac_ext <<_ACEOF
57129 /* confdefs.h. */
57130 _ACEOF
57131 cat confdefs.h >>conftest.$ac_ext
57132 cat >>conftest.$ac_ext <<_ACEOF
57133 /* end confdefs.h. */
57134 #include <math.h>
57136 main ()
57138 hypotl(0, 0);
57140 return 0;
57142 _ACEOF
57143 rm -f conftest.$ac_objext
57144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57145 (eval $ac_compile) 2>conftest.er1
57146 ac_status=$?
57147 grep -v '^ *+' conftest.er1 >conftest.err
57148 rm -f conftest.er1
57149 cat conftest.err >&5
57150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57151 (exit $ac_status); } &&
57152 { ac_try='test -z "$ac_cxx_werror_flag"
57153 || test ! -s conftest.err'
57154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57155 (eval $ac_try) 2>&5
57156 ac_status=$?
57157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57158 (exit $ac_status); }; } &&
57159 { ac_try='test -s conftest.$ac_objext'
57160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57161 (eval $ac_try) 2>&5
57162 ac_status=$?
57163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57164 (exit $ac_status); }; }; then
57165 glibcxx_cv_func_hypotl_use=yes
57166 else
57167 echo "$as_me: failed program was:" >&5
57168 sed 's/^/| /' conftest.$ac_ext >&5
57170 glibcxx_cv_func_hypotl_use=no
57172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57173 ac_ext=c
57174 ac_cpp='$CPP $CPPFLAGS'
57175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57183 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57184 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57186 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57188 for ac_func in hypotl
57190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57191 echo "$as_me:$LINENO: checking for $ac_func" >&5
57192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57193 if eval "test \"\${$as_ac_var+set}\" = set"; then
57194 echo $ECHO_N "(cached) $ECHO_C" >&6
57195 else
57196 if test x$gcc_no_link = xyes; then
57197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57199 { (exit 1); exit 1; }; }
57201 cat >conftest.$ac_ext <<_ACEOF
57202 /* confdefs.h. */
57203 _ACEOF
57204 cat confdefs.h >>conftest.$ac_ext
57205 cat >>conftest.$ac_ext <<_ACEOF
57206 /* end confdefs.h. */
57207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57209 #define $ac_func innocuous_$ac_func
57211 /* System header to define __stub macros and hopefully few prototypes,
57212 which can conflict with char $ac_func (); below.
57213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57214 <limits.h> exists even on freestanding compilers. */
57216 #ifdef __STDC__
57217 # include <limits.h>
57218 #else
57219 # include <assert.h>
57220 #endif
57222 #undef $ac_func
57224 /* Override any gcc2 internal prototype to avoid an error. */
57225 #ifdef __cplusplus
57226 extern "C"
57228 #endif
57229 /* We use char because int might match the return type of a gcc2
57230 builtin and then its argument prototype would still apply. */
57231 char $ac_func ();
57232 /* The GNU C library defines this for functions which it implements
57233 to always fail with ENOSYS. Some functions are actually named
57234 something starting with __ and the normal name is an alias. */
57235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57236 choke me
57237 #else
57238 char (*f) () = $ac_func;
57239 #endif
57240 #ifdef __cplusplus
57242 #endif
57245 main ()
57247 return f != $ac_func;
57249 return 0;
57251 _ACEOF
57252 rm -f conftest.$ac_objext conftest$ac_exeext
57253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57254 (eval $ac_link) 2>conftest.er1
57255 ac_status=$?
57256 grep -v '^ *+' conftest.er1 >conftest.err
57257 rm -f conftest.er1
57258 cat conftest.err >&5
57259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57260 (exit $ac_status); } &&
57261 { ac_try='test -z "$ac_c_werror_flag"
57262 || test ! -s conftest.err'
57263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57264 (eval $ac_try) 2>&5
57265 ac_status=$?
57266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57267 (exit $ac_status); }; } &&
57268 { ac_try='test -s conftest$ac_exeext'
57269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57270 (eval $ac_try) 2>&5
57271 ac_status=$?
57272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57273 (exit $ac_status); }; }; then
57274 eval "$as_ac_var=yes"
57275 else
57276 echo "$as_me: failed program was:" >&5
57277 sed 's/^/| /' conftest.$ac_ext >&5
57279 eval "$as_ac_var=no"
57281 rm -f conftest.err conftest.$ac_objext \
57282 conftest$ac_exeext conftest.$ac_ext
57284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57286 if test `eval echo '${'$as_ac_var'}'` = yes; then
57287 cat >>confdefs.h <<_ACEOF
57288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57289 _ACEOF
57292 done
57294 else
57296 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
57297 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
57298 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57299 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
57300 echo $ECHO_N "(cached) $ECHO_C" >&6
57301 else
57305 ac_ext=cc
57306 ac_cpp='$CXXCPP $CPPFLAGS'
57307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57311 cat >conftest.$ac_ext <<_ACEOF
57312 /* confdefs.h. */
57313 _ACEOF
57314 cat confdefs.h >>conftest.$ac_ext
57315 cat >>conftest.$ac_ext <<_ACEOF
57316 /* end confdefs.h. */
57317 #include <math.h>
57319 main ()
57321 _hypotl(0, 0);
57323 return 0;
57325 _ACEOF
57326 rm -f conftest.$ac_objext
57327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57328 (eval $ac_compile) 2>conftest.er1
57329 ac_status=$?
57330 grep -v '^ *+' conftest.er1 >conftest.err
57331 rm -f conftest.er1
57332 cat conftest.err >&5
57333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57334 (exit $ac_status); } &&
57335 { ac_try='test -z "$ac_cxx_werror_flag"
57336 || test ! -s conftest.err'
57337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57338 (eval $ac_try) 2>&5
57339 ac_status=$?
57340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57341 (exit $ac_status); }; } &&
57342 { ac_try='test -s conftest.$ac_objext'
57343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57344 (eval $ac_try) 2>&5
57345 ac_status=$?
57346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57347 (exit $ac_status); }; }; then
57348 glibcxx_cv_func__hypotl_use=yes
57349 else
57350 echo "$as_me: failed program was:" >&5
57351 sed 's/^/| /' conftest.$ac_ext >&5
57353 glibcxx_cv_func__hypotl_use=no
57355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57356 ac_ext=c
57357 ac_cpp='$CPP $CPPFLAGS'
57358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57366 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
57367 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
57369 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57371 for ac_func in _hypotl
57373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57374 echo "$as_me:$LINENO: checking for $ac_func" >&5
57375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57376 if eval "test \"\${$as_ac_var+set}\" = set"; then
57377 echo $ECHO_N "(cached) $ECHO_C" >&6
57378 else
57379 if test x$gcc_no_link = xyes; then
57380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57382 { (exit 1); exit 1; }; }
57384 cat >conftest.$ac_ext <<_ACEOF
57385 /* confdefs.h. */
57386 _ACEOF
57387 cat confdefs.h >>conftest.$ac_ext
57388 cat >>conftest.$ac_ext <<_ACEOF
57389 /* end confdefs.h. */
57390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57392 #define $ac_func innocuous_$ac_func
57394 /* System header to define __stub macros and hopefully few prototypes,
57395 which can conflict with char $ac_func (); below.
57396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57397 <limits.h> exists even on freestanding compilers. */
57399 #ifdef __STDC__
57400 # include <limits.h>
57401 #else
57402 # include <assert.h>
57403 #endif
57405 #undef $ac_func
57407 /* Override any gcc2 internal prototype to avoid an error. */
57408 #ifdef __cplusplus
57409 extern "C"
57411 #endif
57412 /* We use char because int might match the return type of a gcc2
57413 builtin and then its argument prototype would still apply. */
57414 char $ac_func ();
57415 /* The GNU C library defines this for functions which it implements
57416 to always fail with ENOSYS. Some functions are actually named
57417 something starting with __ and the normal name is an alias. */
57418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57419 choke me
57420 #else
57421 char (*f) () = $ac_func;
57422 #endif
57423 #ifdef __cplusplus
57425 #endif
57428 main ()
57430 return f != $ac_func;
57432 return 0;
57434 _ACEOF
57435 rm -f conftest.$ac_objext conftest$ac_exeext
57436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57437 (eval $ac_link) 2>conftest.er1
57438 ac_status=$?
57439 grep -v '^ *+' conftest.er1 >conftest.err
57440 rm -f conftest.er1
57441 cat conftest.err >&5
57442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57443 (exit $ac_status); } &&
57444 { ac_try='test -z "$ac_c_werror_flag"
57445 || test ! -s conftest.err'
57446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57447 (eval $ac_try) 2>&5
57448 ac_status=$?
57449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57450 (exit $ac_status); }; } &&
57451 { ac_try='test -s conftest$ac_exeext'
57452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57453 (eval $ac_try) 2>&5
57454 ac_status=$?
57455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57456 (exit $ac_status); }; }; then
57457 eval "$as_ac_var=yes"
57458 else
57459 echo "$as_me: failed program was:" >&5
57460 sed 's/^/| /' conftest.$ac_ext >&5
57462 eval "$as_ac_var=no"
57464 rm -f conftest.err conftest.$ac_objext \
57465 conftest$ac_exeext conftest.$ac_ext
57467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57469 if test `eval echo '${'$as_ac_var'}'` = yes; then
57470 cat >>confdefs.h <<_ACEOF
57471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57472 _ACEOF
57475 done
57485 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
57486 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
57487 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57488 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
57489 echo $ECHO_N "(cached) $ECHO_C" >&6
57490 else
57494 ac_ext=cc
57495 ac_cpp='$CXXCPP $CPPFLAGS'
57496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57500 cat >conftest.$ac_ext <<_ACEOF
57501 /* confdefs.h. */
57502 _ACEOF
57503 cat confdefs.h >>conftest.$ac_ext
57504 cat >>conftest.$ac_ext <<_ACEOF
57505 /* end confdefs.h. */
57506 #include <math.h>
57508 main ()
57510 ldexpl(0, 0);
57512 return 0;
57514 _ACEOF
57515 rm -f conftest.$ac_objext
57516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57517 (eval $ac_compile) 2>conftest.er1
57518 ac_status=$?
57519 grep -v '^ *+' conftest.er1 >conftest.err
57520 rm -f conftest.er1
57521 cat conftest.err >&5
57522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57523 (exit $ac_status); } &&
57524 { ac_try='test -z "$ac_cxx_werror_flag"
57525 || test ! -s conftest.err'
57526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57527 (eval $ac_try) 2>&5
57528 ac_status=$?
57529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57530 (exit $ac_status); }; } &&
57531 { ac_try='test -s conftest.$ac_objext'
57532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57533 (eval $ac_try) 2>&5
57534 ac_status=$?
57535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57536 (exit $ac_status); }; }; then
57537 glibcxx_cv_func_ldexpl_use=yes
57538 else
57539 echo "$as_me: failed program was:" >&5
57540 sed 's/^/| /' conftest.$ac_ext >&5
57542 glibcxx_cv_func_ldexpl_use=no
57544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57545 ac_ext=c
57546 ac_cpp='$CPP $CPPFLAGS'
57547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57555 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
57556 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
57558 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57560 for ac_func in ldexpl
57562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57563 echo "$as_me:$LINENO: checking for $ac_func" >&5
57564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57565 if eval "test \"\${$as_ac_var+set}\" = set"; then
57566 echo $ECHO_N "(cached) $ECHO_C" >&6
57567 else
57568 if test x$gcc_no_link = xyes; then
57569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57571 { (exit 1); exit 1; }; }
57573 cat >conftest.$ac_ext <<_ACEOF
57574 /* confdefs.h. */
57575 _ACEOF
57576 cat confdefs.h >>conftest.$ac_ext
57577 cat >>conftest.$ac_ext <<_ACEOF
57578 /* end confdefs.h. */
57579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57581 #define $ac_func innocuous_$ac_func
57583 /* System header to define __stub macros and hopefully few prototypes,
57584 which can conflict with char $ac_func (); below.
57585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57586 <limits.h> exists even on freestanding compilers. */
57588 #ifdef __STDC__
57589 # include <limits.h>
57590 #else
57591 # include <assert.h>
57592 #endif
57594 #undef $ac_func
57596 /* Override any gcc2 internal prototype to avoid an error. */
57597 #ifdef __cplusplus
57598 extern "C"
57600 #endif
57601 /* We use char because int might match the return type of a gcc2
57602 builtin and then its argument prototype would still apply. */
57603 char $ac_func ();
57604 /* The GNU C library defines this for functions which it implements
57605 to always fail with ENOSYS. Some functions are actually named
57606 something starting with __ and the normal name is an alias. */
57607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57608 choke me
57609 #else
57610 char (*f) () = $ac_func;
57611 #endif
57612 #ifdef __cplusplus
57614 #endif
57617 main ()
57619 return f != $ac_func;
57621 return 0;
57623 _ACEOF
57624 rm -f conftest.$ac_objext conftest$ac_exeext
57625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57626 (eval $ac_link) 2>conftest.er1
57627 ac_status=$?
57628 grep -v '^ *+' conftest.er1 >conftest.err
57629 rm -f conftest.er1
57630 cat conftest.err >&5
57631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57632 (exit $ac_status); } &&
57633 { ac_try='test -z "$ac_c_werror_flag"
57634 || test ! -s conftest.err'
57635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57636 (eval $ac_try) 2>&5
57637 ac_status=$?
57638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57639 (exit $ac_status); }; } &&
57640 { ac_try='test -s conftest$ac_exeext'
57641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57642 (eval $ac_try) 2>&5
57643 ac_status=$?
57644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57645 (exit $ac_status); }; }; then
57646 eval "$as_ac_var=yes"
57647 else
57648 echo "$as_me: failed program was:" >&5
57649 sed 's/^/| /' conftest.$ac_ext >&5
57651 eval "$as_ac_var=no"
57653 rm -f conftest.err conftest.$ac_objext \
57654 conftest$ac_exeext conftest.$ac_ext
57656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57658 if test `eval echo '${'$as_ac_var'}'` = yes; then
57659 cat >>confdefs.h <<_ACEOF
57660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57661 _ACEOF
57664 done
57666 else
57668 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
57669 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
57670 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57671 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
57672 echo $ECHO_N "(cached) $ECHO_C" >&6
57673 else
57677 ac_ext=cc
57678 ac_cpp='$CXXCPP $CPPFLAGS'
57679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57683 cat >conftest.$ac_ext <<_ACEOF
57684 /* confdefs.h. */
57685 _ACEOF
57686 cat confdefs.h >>conftest.$ac_ext
57687 cat >>conftest.$ac_ext <<_ACEOF
57688 /* end confdefs.h. */
57689 #include <math.h>
57691 main ()
57693 _ldexpl(0, 0);
57695 return 0;
57697 _ACEOF
57698 rm -f conftest.$ac_objext
57699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57700 (eval $ac_compile) 2>conftest.er1
57701 ac_status=$?
57702 grep -v '^ *+' conftest.er1 >conftest.err
57703 rm -f conftest.er1
57704 cat conftest.err >&5
57705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57706 (exit $ac_status); } &&
57707 { ac_try='test -z "$ac_cxx_werror_flag"
57708 || test ! -s conftest.err'
57709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57710 (eval $ac_try) 2>&5
57711 ac_status=$?
57712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57713 (exit $ac_status); }; } &&
57714 { ac_try='test -s conftest.$ac_objext'
57715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57716 (eval $ac_try) 2>&5
57717 ac_status=$?
57718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57719 (exit $ac_status); }; }; then
57720 glibcxx_cv_func__ldexpl_use=yes
57721 else
57722 echo "$as_me: failed program was:" >&5
57723 sed 's/^/| /' conftest.$ac_ext >&5
57725 glibcxx_cv_func__ldexpl_use=no
57727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57728 ac_ext=c
57729 ac_cpp='$CPP $CPPFLAGS'
57730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57738 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
57739 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
57741 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57743 for ac_func in _ldexpl
57745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57746 echo "$as_me:$LINENO: checking for $ac_func" >&5
57747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57748 if eval "test \"\${$as_ac_var+set}\" = set"; then
57749 echo $ECHO_N "(cached) $ECHO_C" >&6
57750 else
57751 if test x$gcc_no_link = xyes; then
57752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57754 { (exit 1); exit 1; }; }
57756 cat >conftest.$ac_ext <<_ACEOF
57757 /* confdefs.h. */
57758 _ACEOF
57759 cat confdefs.h >>conftest.$ac_ext
57760 cat >>conftest.$ac_ext <<_ACEOF
57761 /* end confdefs.h. */
57762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57764 #define $ac_func innocuous_$ac_func
57766 /* System header to define __stub macros and hopefully few prototypes,
57767 which can conflict with char $ac_func (); below.
57768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57769 <limits.h> exists even on freestanding compilers. */
57771 #ifdef __STDC__
57772 # include <limits.h>
57773 #else
57774 # include <assert.h>
57775 #endif
57777 #undef $ac_func
57779 /* Override any gcc2 internal prototype to avoid an error. */
57780 #ifdef __cplusplus
57781 extern "C"
57783 #endif
57784 /* We use char because int might match the return type of a gcc2
57785 builtin and then its argument prototype would still apply. */
57786 char $ac_func ();
57787 /* The GNU C library defines this for functions which it implements
57788 to always fail with ENOSYS. Some functions are actually named
57789 something starting with __ and the normal name is an alias. */
57790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57791 choke me
57792 #else
57793 char (*f) () = $ac_func;
57794 #endif
57795 #ifdef __cplusplus
57797 #endif
57800 main ()
57802 return f != $ac_func;
57804 return 0;
57806 _ACEOF
57807 rm -f conftest.$ac_objext conftest$ac_exeext
57808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57809 (eval $ac_link) 2>conftest.er1
57810 ac_status=$?
57811 grep -v '^ *+' conftest.er1 >conftest.err
57812 rm -f conftest.er1
57813 cat conftest.err >&5
57814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57815 (exit $ac_status); } &&
57816 { ac_try='test -z "$ac_c_werror_flag"
57817 || test ! -s conftest.err'
57818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57819 (eval $ac_try) 2>&5
57820 ac_status=$?
57821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57822 (exit $ac_status); }; } &&
57823 { ac_try='test -s conftest$ac_exeext'
57824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57825 (eval $ac_try) 2>&5
57826 ac_status=$?
57827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57828 (exit $ac_status); }; }; then
57829 eval "$as_ac_var=yes"
57830 else
57831 echo "$as_me: failed program was:" >&5
57832 sed 's/^/| /' conftest.$ac_ext >&5
57834 eval "$as_ac_var=no"
57836 rm -f conftest.err conftest.$ac_objext \
57837 conftest$ac_exeext conftest.$ac_ext
57839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57841 if test `eval echo '${'$as_ac_var'}'` = yes; then
57842 cat >>confdefs.h <<_ACEOF
57843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57844 _ACEOF
57847 done
57857 echo "$as_me:$LINENO: checking for logl declaration" >&5
57858 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
57859 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57860 if test "${glibcxx_cv_func_logl_use+set}" = set; then
57861 echo $ECHO_N "(cached) $ECHO_C" >&6
57862 else
57866 ac_ext=cc
57867 ac_cpp='$CXXCPP $CPPFLAGS'
57868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57872 cat >conftest.$ac_ext <<_ACEOF
57873 /* confdefs.h. */
57874 _ACEOF
57875 cat confdefs.h >>conftest.$ac_ext
57876 cat >>conftest.$ac_ext <<_ACEOF
57877 /* end confdefs.h. */
57878 #include <math.h>
57879 #ifdef HAVE_IEEEFP_H
57880 #include <ieeefp.h>
57881 #endif
57884 main ()
57886 logl(0);
57888 return 0;
57890 _ACEOF
57891 rm -f conftest.$ac_objext
57892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57893 (eval $ac_compile) 2>conftest.er1
57894 ac_status=$?
57895 grep -v '^ *+' conftest.er1 >conftest.err
57896 rm -f conftest.er1
57897 cat conftest.err >&5
57898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57899 (exit $ac_status); } &&
57900 { ac_try='test -z "$ac_cxx_werror_flag"
57901 || test ! -s conftest.err'
57902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57903 (eval $ac_try) 2>&5
57904 ac_status=$?
57905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57906 (exit $ac_status); }; } &&
57907 { ac_try='test -s conftest.$ac_objext'
57908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57909 (eval $ac_try) 2>&5
57910 ac_status=$?
57911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57912 (exit $ac_status); }; }; then
57913 glibcxx_cv_func_logl_use=yes
57914 else
57915 echo "$as_me: failed program was:" >&5
57916 sed 's/^/| /' conftest.$ac_ext >&5
57918 glibcxx_cv_func_logl_use=no
57920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57921 ac_ext=c
57922 ac_cpp='$CPP $CPPFLAGS'
57923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57931 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
57932 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
57934 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57936 for ac_func in logl
57938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57939 echo "$as_me:$LINENO: checking for $ac_func" >&5
57940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57941 if eval "test \"\${$as_ac_var+set}\" = set"; then
57942 echo $ECHO_N "(cached) $ECHO_C" >&6
57943 else
57944 if test x$gcc_no_link = xyes; then
57945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57947 { (exit 1); exit 1; }; }
57949 cat >conftest.$ac_ext <<_ACEOF
57950 /* confdefs.h. */
57951 _ACEOF
57952 cat confdefs.h >>conftest.$ac_ext
57953 cat >>conftest.$ac_ext <<_ACEOF
57954 /* end confdefs.h. */
57955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57957 #define $ac_func innocuous_$ac_func
57959 /* System header to define __stub macros and hopefully few prototypes,
57960 which can conflict with char $ac_func (); below.
57961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57962 <limits.h> exists even on freestanding compilers. */
57964 #ifdef __STDC__
57965 # include <limits.h>
57966 #else
57967 # include <assert.h>
57968 #endif
57970 #undef $ac_func
57972 /* Override any gcc2 internal prototype to avoid an error. */
57973 #ifdef __cplusplus
57974 extern "C"
57976 #endif
57977 /* We use char because int might match the return type of a gcc2
57978 builtin and then its argument prototype would still apply. */
57979 char $ac_func ();
57980 /* The GNU C library defines this for functions which it implements
57981 to always fail with ENOSYS. Some functions are actually named
57982 something starting with __ and the normal name is an alias. */
57983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57984 choke me
57985 #else
57986 char (*f) () = $ac_func;
57987 #endif
57988 #ifdef __cplusplus
57990 #endif
57993 main ()
57995 return f != $ac_func;
57997 return 0;
57999 _ACEOF
58000 rm -f conftest.$ac_objext conftest$ac_exeext
58001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58002 (eval $ac_link) 2>conftest.er1
58003 ac_status=$?
58004 grep -v '^ *+' conftest.er1 >conftest.err
58005 rm -f conftest.er1
58006 cat conftest.err >&5
58007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58008 (exit $ac_status); } &&
58009 { ac_try='test -z "$ac_c_werror_flag"
58010 || test ! -s conftest.err'
58011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58012 (eval $ac_try) 2>&5
58013 ac_status=$?
58014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58015 (exit $ac_status); }; } &&
58016 { ac_try='test -s conftest$ac_exeext'
58017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58018 (eval $ac_try) 2>&5
58019 ac_status=$?
58020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58021 (exit $ac_status); }; }; then
58022 eval "$as_ac_var=yes"
58023 else
58024 echo "$as_me: failed program was:" >&5
58025 sed 's/^/| /' conftest.$ac_ext >&5
58027 eval "$as_ac_var=no"
58029 rm -f conftest.err conftest.$ac_objext \
58030 conftest$ac_exeext conftest.$ac_ext
58032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58034 if test `eval echo '${'$as_ac_var'}'` = yes; then
58035 cat >>confdefs.h <<_ACEOF
58036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58037 _ACEOF
58040 done
58042 else
58044 echo "$as_me:$LINENO: checking for _logl declaration" >&5
58045 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58046 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58047 if test "${glibcxx_cv_func__logl_use+set}" = set; then
58048 echo $ECHO_N "(cached) $ECHO_C" >&6
58049 else
58053 ac_ext=cc
58054 ac_cpp='$CXXCPP $CPPFLAGS'
58055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58059 cat >conftest.$ac_ext <<_ACEOF
58060 /* confdefs.h. */
58061 _ACEOF
58062 cat confdefs.h >>conftest.$ac_ext
58063 cat >>conftest.$ac_ext <<_ACEOF
58064 /* end confdefs.h. */
58065 #include <math.h>
58066 #ifdef HAVE_IEEEFP_H
58067 #include <ieeefp.h>
58068 #endif
58071 main ()
58073 _logl(0);
58075 return 0;
58077 _ACEOF
58078 rm -f conftest.$ac_objext
58079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58080 (eval $ac_compile) 2>conftest.er1
58081 ac_status=$?
58082 grep -v '^ *+' conftest.er1 >conftest.err
58083 rm -f conftest.er1
58084 cat conftest.err >&5
58085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58086 (exit $ac_status); } &&
58087 { ac_try='test -z "$ac_cxx_werror_flag"
58088 || test ! -s conftest.err'
58089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58090 (eval $ac_try) 2>&5
58091 ac_status=$?
58092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58093 (exit $ac_status); }; } &&
58094 { ac_try='test -s conftest.$ac_objext'
58095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58096 (eval $ac_try) 2>&5
58097 ac_status=$?
58098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58099 (exit $ac_status); }; }; then
58100 glibcxx_cv_func__logl_use=yes
58101 else
58102 echo "$as_me: failed program was:" >&5
58103 sed 's/^/| /' conftest.$ac_ext >&5
58105 glibcxx_cv_func__logl_use=no
58107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58108 ac_ext=c
58109 ac_cpp='$CPP $CPPFLAGS'
58110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58118 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58119 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58121 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58123 for ac_func in _logl
58125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58126 echo "$as_me:$LINENO: checking for $ac_func" >&5
58127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58128 if eval "test \"\${$as_ac_var+set}\" = set"; then
58129 echo $ECHO_N "(cached) $ECHO_C" >&6
58130 else
58131 if test x$gcc_no_link = xyes; then
58132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58134 { (exit 1); exit 1; }; }
58136 cat >conftest.$ac_ext <<_ACEOF
58137 /* confdefs.h. */
58138 _ACEOF
58139 cat confdefs.h >>conftest.$ac_ext
58140 cat >>conftest.$ac_ext <<_ACEOF
58141 /* end confdefs.h. */
58142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58144 #define $ac_func innocuous_$ac_func
58146 /* System header to define __stub macros and hopefully few prototypes,
58147 which can conflict with char $ac_func (); below.
58148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58149 <limits.h> exists even on freestanding compilers. */
58151 #ifdef __STDC__
58152 # include <limits.h>
58153 #else
58154 # include <assert.h>
58155 #endif
58157 #undef $ac_func
58159 /* Override any gcc2 internal prototype to avoid an error. */
58160 #ifdef __cplusplus
58161 extern "C"
58163 #endif
58164 /* We use char because int might match the return type of a gcc2
58165 builtin and then its argument prototype would still apply. */
58166 char $ac_func ();
58167 /* The GNU C library defines this for functions which it implements
58168 to always fail with ENOSYS. Some functions are actually named
58169 something starting with __ and the normal name is an alias. */
58170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58171 choke me
58172 #else
58173 char (*f) () = $ac_func;
58174 #endif
58175 #ifdef __cplusplus
58177 #endif
58180 main ()
58182 return f != $ac_func;
58184 return 0;
58186 _ACEOF
58187 rm -f conftest.$ac_objext conftest$ac_exeext
58188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58189 (eval $ac_link) 2>conftest.er1
58190 ac_status=$?
58191 grep -v '^ *+' conftest.er1 >conftest.err
58192 rm -f conftest.er1
58193 cat conftest.err >&5
58194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58195 (exit $ac_status); } &&
58196 { ac_try='test -z "$ac_c_werror_flag"
58197 || test ! -s conftest.err'
58198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58199 (eval $ac_try) 2>&5
58200 ac_status=$?
58201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58202 (exit $ac_status); }; } &&
58203 { ac_try='test -s conftest$ac_exeext'
58204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58205 (eval $ac_try) 2>&5
58206 ac_status=$?
58207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58208 (exit $ac_status); }; }; then
58209 eval "$as_ac_var=yes"
58210 else
58211 echo "$as_me: failed program was:" >&5
58212 sed 's/^/| /' conftest.$ac_ext >&5
58214 eval "$as_ac_var=no"
58216 rm -f conftest.err conftest.$ac_objext \
58217 conftest$ac_exeext conftest.$ac_ext
58219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58221 if test `eval echo '${'$as_ac_var'}'` = yes; then
58222 cat >>confdefs.h <<_ACEOF
58223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58224 _ACEOF
58227 done
58237 echo "$as_me:$LINENO: checking for log10l declaration" >&5
58238 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58239 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58240 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58241 echo $ECHO_N "(cached) $ECHO_C" >&6
58242 else
58246 ac_ext=cc
58247 ac_cpp='$CXXCPP $CPPFLAGS'
58248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58252 cat >conftest.$ac_ext <<_ACEOF
58253 /* confdefs.h. */
58254 _ACEOF
58255 cat confdefs.h >>conftest.$ac_ext
58256 cat >>conftest.$ac_ext <<_ACEOF
58257 /* end confdefs.h. */
58258 #include <math.h>
58259 #ifdef HAVE_IEEEFP_H
58260 #include <ieeefp.h>
58261 #endif
58264 main ()
58266 log10l(0);
58268 return 0;
58270 _ACEOF
58271 rm -f conftest.$ac_objext
58272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58273 (eval $ac_compile) 2>conftest.er1
58274 ac_status=$?
58275 grep -v '^ *+' conftest.er1 >conftest.err
58276 rm -f conftest.er1
58277 cat conftest.err >&5
58278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58279 (exit $ac_status); } &&
58280 { ac_try='test -z "$ac_cxx_werror_flag"
58281 || test ! -s conftest.err'
58282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58283 (eval $ac_try) 2>&5
58284 ac_status=$?
58285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58286 (exit $ac_status); }; } &&
58287 { ac_try='test -s conftest.$ac_objext'
58288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58289 (eval $ac_try) 2>&5
58290 ac_status=$?
58291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58292 (exit $ac_status); }; }; then
58293 glibcxx_cv_func_log10l_use=yes
58294 else
58295 echo "$as_me: failed program was:" >&5
58296 sed 's/^/| /' conftest.$ac_ext >&5
58298 glibcxx_cv_func_log10l_use=no
58300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58301 ac_ext=c
58302 ac_cpp='$CPP $CPPFLAGS'
58303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58311 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58312 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58314 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58316 for ac_func in log10l
58318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58319 echo "$as_me:$LINENO: checking for $ac_func" >&5
58320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58321 if eval "test \"\${$as_ac_var+set}\" = set"; then
58322 echo $ECHO_N "(cached) $ECHO_C" >&6
58323 else
58324 if test x$gcc_no_link = xyes; then
58325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58327 { (exit 1); exit 1; }; }
58329 cat >conftest.$ac_ext <<_ACEOF
58330 /* confdefs.h. */
58331 _ACEOF
58332 cat confdefs.h >>conftest.$ac_ext
58333 cat >>conftest.$ac_ext <<_ACEOF
58334 /* end confdefs.h. */
58335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58337 #define $ac_func innocuous_$ac_func
58339 /* System header to define __stub macros and hopefully few prototypes,
58340 which can conflict with char $ac_func (); below.
58341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58342 <limits.h> exists even on freestanding compilers. */
58344 #ifdef __STDC__
58345 # include <limits.h>
58346 #else
58347 # include <assert.h>
58348 #endif
58350 #undef $ac_func
58352 /* Override any gcc2 internal prototype to avoid an error. */
58353 #ifdef __cplusplus
58354 extern "C"
58356 #endif
58357 /* We use char because int might match the return type of a gcc2
58358 builtin and then its argument prototype would still apply. */
58359 char $ac_func ();
58360 /* The GNU C library defines this for functions which it implements
58361 to always fail with ENOSYS. Some functions are actually named
58362 something starting with __ and the normal name is an alias. */
58363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58364 choke me
58365 #else
58366 char (*f) () = $ac_func;
58367 #endif
58368 #ifdef __cplusplus
58370 #endif
58373 main ()
58375 return f != $ac_func;
58377 return 0;
58379 _ACEOF
58380 rm -f conftest.$ac_objext conftest$ac_exeext
58381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58382 (eval $ac_link) 2>conftest.er1
58383 ac_status=$?
58384 grep -v '^ *+' conftest.er1 >conftest.err
58385 rm -f conftest.er1
58386 cat conftest.err >&5
58387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58388 (exit $ac_status); } &&
58389 { ac_try='test -z "$ac_c_werror_flag"
58390 || test ! -s conftest.err'
58391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58392 (eval $ac_try) 2>&5
58393 ac_status=$?
58394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58395 (exit $ac_status); }; } &&
58396 { ac_try='test -s conftest$ac_exeext'
58397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58398 (eval $ac_try) 2>&5
58399 ac_status=$?
58400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58401 (exit $ac_status); }; }; then
58402 eval "$as_ac_var=yes"
58403 else
58404 echo "$as_me: failed program was:" >&5
58405 sed 's/^/| /' conftest.$ac_ext >&5
58407 eval "$as_ac_var=no"
58409 rm -f conftest.err conftest.$ac_objext \
58410 conftest$ac_exeext conftest.$ac_ext
58412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58414 if test `eval echo '${'$as_ac_var'}'` = yes; then
58415 cat >>confdefs.h <<_ACEOF
58416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58417 _ACEOF
58420 done
58422 else
58424 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
58425 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
58426 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58427 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
58428 echo $ECHO_N "(cached) $ECHO_C" >&6
58429 else
58433 ac_ext=cc
58434 ac_cpp='$CXXCPP $CPPFLAGS'
58435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58439 cat >conftest.$ac_ext <<_ACEOF
58440 /* confdefs.h. */
58441 _ACEOF
58442 cat confdefs.h >>conftest.$ac_ext
58443 cat >>conftest.$ac_ext <<_ACEOF
58444 /* end confdefs.h. */
58445 #include <math.h>
58446 #ifdef HAVE_IEEEFP_H
58447 #include <ieeefp.h>
58448 #endif
58451 main ()
58453 _log10l(0);
58455 return 0;
58457 _ACEOF
58458 rm -f conftest.$ac_objext
58459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58460 (eval $ac_compile) 2>conftest.er1
58461 ac_status=$?
58462 grep -v '^ *+' conftest.er1 >conftest.err
58463 rm -f conftest.er1
58464 cat conftest.err >&5
58465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58466 (exit $ac_status); } &&
58467 { ac_try='test -z "$ac_cxx_werror_flag"
58468 || test ! -s conftest.err'
58469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58470 (eval $ac_try) 2>&5
58471 ac_status=$?
58472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58473 (exit $ac_status); }; } &&
58474 { ac_try='test -s conftest.$ac_objext'
58475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58476 (eval $ac_try) 2>&5
58477 ac_status=$?
58478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58479 (exit $ac_status); }; }; then
58480 glibcxx_cv_func__log10l_use=yes
58481 else
58482 echo "$as_me: failed program was:" >&5
58483 sed 's/^/| /' conftest.$ac_ext >&5
58485 glibcxx_cv_func__log10l_use=no
58487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58488 ac_ext=c
58489 ac_cpp='$CPP $CPPFLAGS'
58490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58498 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
58499 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
58501 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58503 for ac_func in _log10l
58505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58506 echo "$as_me:$LINENO: checking for $ac_func" >&5
58507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58508 if eval "test \"\${$as_ac_var+set}\" = set"; then
58509 echo $ECHO_N "(cached) $ECHO_C" >&6
58510 else
58511 if test x$gcc_no_link = xyes; then
58512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58514 { (exit 1); exit 1; }; }
58516 cat >conftest.$ac_ext <<_ACEOF
58517 /* confdefs.h. */
58518 _ACEOF
58519 cat confdefs.h >>conftest.$ac_ext
58520 cat >>conftest.$ac_ext <<_ACEOF
58521 /* end confdefs.h. */
58522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58524 #define $ac_func innocuous_$ac_func
58526 /* System header to define __stub macros and hopefully few prototypes,
58527 which can conflict with char $ac_func (); below.
58528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58529 <limits.h> exists even on freestanding compilers. */
58531 #ifdef __STDC__
58532 # include <limits.h>
58533 #else
58534 # include <assert.h>
58535 #endif
58537 #undef $ac_func
58539 /* Override any gcc2 internal prototype to avoid an error. */
58540 #ifdef __cplusplus
58541 extern "C"
58543 #endif
58544 /* We use char because int might match the return type of a gcc2
58545 builtin and then its argument prototype would still apply. */
58546 char $ac_func ();
58547 /* The GNU C library defines this for functions which it implements
58548 to always fail with ENOSYS. Some functions are actually named
58549 something starting with __ and the normal name is an alias. */
58550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58551 choke me
58552 #else
58553 char (*f) () = $ac_func;
58554 #endif
58555 #ifdef __cplusplus
58557 #endif
58560 main ()
58562 return f != $ac_func;
58564 return 0;
58566 _ACEOF
58567 rm -f conftest.$ac_objext conftest$ac_exeext
58568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58569 (eval $ac_link) 2>conftest.er1
58570 ac_status=$?
58571 grep -v '^ *+' conftest.er1 >conftest.err
58572 rm -f conftest.er1
58573 cat conftest.err >&5
58574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58575 (exit $ac_status); } &&
58576 { ac_try='test -z "$ac_c_werror_flag"
58577 || test ! -s conftest.err'
58578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58579 (eval $ac_try) 2>&5
58580 ac_status=$?
58581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58582 (exit $ac_status); }; } &&
58583 { ac_try='test -s conftest$ac_exeext'
58584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58585 (eval $ac_try) 2>&5
58586 ac_status=$?
58587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58588 (exit $ac_status); }; }; then
58589 eval "$as_ac_var=yes"
58590 else
58591 echo "$as_me: failed program was:" >&5
58592 sed 's/^/| /' conftest.$ac_ext >&5
58594 eval "$as_ac_var=no"
58596 rm -f conftest.err conftest.$ac_objext \
58597 conftest$ac_exeext conftest.$ac_ext
58599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58601 if test `eval echo '${'$as_ac_var'}'` = yes; then
58602 cat >>confdefs.h <<_ACEOF
58603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58604 _ACEOF
58607 done
58617 echo "$as_me:$LINENO: checking for modfl declaration" >&5
58618 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
58619 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58620 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
58621 echo $ECHO_N "(cached) $ECHO_C" >&6
58622 else
58626 ac_ext=cc
58627 ac_cpp='$CXXCPP $CPPFLAGS'
58628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58632 cat >conftest.$ac_ext <<_ACEOF
58633 /* confdefs.h. */
58634 _ACEOF
58635 cat confdefs.h >>conftest.$ac_ext
58636 cat >>conftest.$ac_ext <<_ACEOF
58637 /* end confdefs.h. */
58638 #include <math.h>
58640 main ()
58642 modfl(0, 0);
58644 return 0;
58646 _ACEOF
58647 rm -f conftest.$ac_objext
58648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58649 (eval $ac_compile) 2>conftest.er1
58650 ac_status=$?
58651 grep -v '^ *+' conftest.er1 >conftest.err
58652 rm -f conftest.er1
58653 cat conftest.err >&5
58654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58655 (exit $ac_status); } &&
58656 { ac_try='test -z "$ac_cxx_werror_flag"
58657 || test ! -s conftest.err'
58658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58659 (eval $ac_try) 2>&5
58660 ac_status=$?
58661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58662 (exit $ac_status); }; } &&
58663 { ac_try='test -s conftest.$ac_objext'
58664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58665 (eval $ac_try) 2>&5
58666 ac_status=$?
58667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58668 (exit $ac_status); }; }; then
58669 glibcxx_cv_func_modfl_use=yes
58670 else
58671 echo "$as_me: failed program was:" >&5
58672 sed 's/^/| /' conftest.$ac_ext >&5
58674 glibcxx_cv_func_modfl_use=no
58676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58677 ac_ext=c
58678 ac_cpp='$CPP $CPPFLAGS'
58679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58687 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
58688 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
58690 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58692 for ac_func in modfl
58694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58695 echo "$as_me:$LINENO: checking for $ac_func" >&5
58696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58697 if eval "test \"\${$as_ac_var+set}\" = set"; then
58698 echo $ECHO_N "(cached) $ECHO_C" >&6
58699 else
58700 if test x$gcc_no_link = xyes; then
58701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58703 { (exit 1); exit 1; }; }
58705 cat >conftest.$ac_ext <<_ACEOF
58706 /* confdefs.h. */
58707 _ACEOF
58708 cat confdefs.h >>conftest.$ac_ext
58709 cat >>conftest.$ac_ext <<_ACEOF
58710 /* end confdefs.h. */
58711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58713 #define $ac_func innocuous_$ac_func
58715 /* System header to define __stub macros and hopefully few prototypes,
58716 which can conflict with char $ac_func (); below.
58717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58718 <limits.h> exists even on freestanding compilers. */
58720 #ifdef __STDC__
58721 # include <limits.h>
58722 #else
58723 # include <assert.h>
58724 #endif
58726 #undef $ac_func
58728 /* Override any gcc2 internal prototype to avoid an error. */
58729 #ifdef __cplusplus
58730 extern "C"
58732 #endif
58733 /* We use char because int might match the return type of a gcc2
58734 builtin and then its argument prototype would still apply. */
58735 char $ac_func ();
58736 /* The GNU C library defines this for functions which it implements
58737 to always fail with ENOSYS. Some functions are actually named
58738 something starting with __ and the normal name is an alias. */
58739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58740 choke me
58741 #else
58742 char (*f) () = $ac_func;
58743 #endif
58744 #ifdef __cplusplus
58746 #endif
58749 main ()
58751 return f != $ac_func;
58753 return 0;
58755 _ACEOF
58756 rm -f conftest.$ac_objext conftest$ac_exeext
58757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58758 (eval $ac_link) 2>conftest.er1
58759 ac_status=$?
58760 grep -v '^ *+' conftest.er1 >conftest.err
58761 rm -f conftest.er1
58762 cat conftest.err >&5
58763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58764 (exit $ac_status); } &&
58765 { ac_try='test -z "$ac_c_werror_flag"
58766 || test ! -s conftest.err'
58767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58768 (eval $ac_try) 2>&5
58769 ac_status=$?
58770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58771 (exit $ac_status); }; } &&
58772 { ac_try='test -s conftest$ac_exeext'
58773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58774 (eval $ac_try) 2>&5
58775 ac_status=$?
58776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58777 (exit $ac_status); }; }; then
58778 eval "$as_ac_var=yes"
58779 else
58780 echo "$as_me: failed program was:" >&5
58781 sed 's/^/| /' conftest.$ac_ext >&5
58783 eval "$as_ac_var=no"
58785 rm -f conftest.err conftest.$ac_objext \
58786 conftest$ac_exeext conftest.$ac_ext
58788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58790 if test `eval echo '${'$as_ac_var'}'` = yes; then
58791 cat >>confdefs.h <<_ACEOF
58792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58793 _ACEOF
58796 done
58798 else
58800 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
58801 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
58802 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58803 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
58804 echo $ECHO_N "(cached) $ECHO_C" >&6
58805 else
58809 ac_ext=cc
58810 ac_cpp='$CXXCPP $CPPFLAGS'
58811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58815 cat >conftest.$ac_ext <<_ACEOF
58816 /* confdefs.h. */
58817 _ACEOF
58818 cat confdefs.h >>conftest.$ac_ext
58819 cat >>conftest.$ac_ext <<_ACEOF
58820 /* end confdefs.h. */
58821 #include <math.h>
58823 main ()
58825 _modfl(0, 0);
58827 return 0;
58829 _ACEOF
58830 rm -f conftest.$ac_objext
58831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58832 (eval $ac_compile) 2>conftest.er1
58833 ac_status=$?
58834 grep -v '^ *+' conftest.er1 >conftest.err
58835 rm -f conftest.er1
58836 cat conftest.err >&5
58837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58838 (exit $ac_status); } &&
58839 { ac_try='test -z "$ac_cxx_werror_flag"
58840 || test ! -s conftest.err'
58841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58842 (eval $ac_try) 2>&5
58843 ac_status=$?
58844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58845 (exit $ac_status); }; } &&
58846 { ac_try='test -s conftest.$ac_objext'
58847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58848 (eval $ac_try) 2>&5
58849 ac_status=$?
58850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58851 (exit $ac_status); }; }; then
58852 glibcxx_cv_func__modfl_use=yes
58853 else
58854 echo "$as_me: failed program was:" >&5
58855 sed 's/^/| /' conftest.$ac_ext >&5
58857 glibcxx_cv_func__modfl_use=no
58859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58860 ac_ext=c
58861 ac_cpp='$CPP $CPPFLAGS'
58862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58870 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
58871 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
58873 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58875 for ac_func in _modfl
58877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58878 echo "$as_me:$LINENO: checking for $ac_func" >&5
58879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58880 if eval "test \"\${$as_ac_var+set}\" = set"; then
58881 echo $ECHO_N "(cached) $ECHO_C" >&6
58882 else
58883 if test x$gcc_no_link = xyes; then
58884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58886 { (exit 1); exit 1; }; }
58888 cat >conftest.$ac_ext <<_ACEOF
58889 /* confdefs.h. */
58890 _ACEOF
58891 cat confdefs.h >>conftest.$ac_ext
58892 cat >>conftest.$ac_ext <<_ACEOF
58893 /* end confdefs.h. */
58894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58896 #define $ac_func innocuous_$ac_func
58898 /* System header to define __stub macros and hopefully few prototypes,
58899 which can conflict with char $ac_func (); below.
58900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58901 <limits.h> exists even on freestanding compilers. */
58903 #ifdef __STDC__
58904 # include <limits.h>
58905 #else
58906 # include <assert.h>
58907 #endif
58909 #undef $ac_func
58911 /* Override any gcc2 internal prototype to avoid an error. */
58912 #ifdef __cplusplus
58913 extern "C"
58915 #endif
58916 /* We use char because int might match the return type of a gcc2
58917 builtin and then its argument prototype would still apply. */
58918 char $ac_func ();
58919 /* The GNU C library defines this for functions which it implements
58920 to always fail with ENOSYS. Some functions are actually named
58921 something starting with __ and the normal name is an alias. */
58922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58923 choke me
58924 #else
58925 char (*f) () = $ac_func;
58926 #endif
58927 #ifdef __cplusplus
58929 #endif
58932 main ()
58934 return f != $ac_func;
58936 return 0;
58938 _ACEOF
58939 rm -f conftest.$ac_objext conftest$ac_exeext
58940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58941 (eval $ac_link) 2>conftest.er1
58942 ac_status=$?
58943 grep -v '^ *+' conftest.er1 >conftest.err
58944 rm -f conftest.er1
58945 cat conftest.err >&5
58946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58947 (exit $ac_status); } &&
58948 { ac_try='test -z "$ac_c_werror_flag"
58949 || test ! -s conftest.err'
58950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58951 (eval $ac_try) 2>&5
58952 ac_status=$?
58953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58954 (exit $ac_status); }; } &&
58955 { ac_try='test -s conftest$ac_exeext'
58956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58957 (eval $ac_try) 2>&5
58958 ac_status=$?
58959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58960 (exit $ac_status); }; }; then
58961 eval "$as_ac_var=yes"
58962 else
58963 echo "$as_me: failed program was:" >&5
58964 sed 's/^/| /' conftest.$ac_ext >&5
58966 eval "$as_ac_var=no"
58968 rm -f conftest.err conftest.$ac_objext \
58969 conftest$ac_exeext conftest.$ac_ext
58971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58973 if test `eval echo '${'$as_ac_var'}'` = yes; then
58974 cat >>confdefs.h <<_ACEOF
58975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58976 _ACEOF
58979 done
58989 echo "$as_me:$LINENO: checking for powl declaration" >&5
58990 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
58991 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58992 if test "${glibcxx_cv_func_powl_use+set}" = set; then
58993 echo $ECHO_N "(cached) $ECHO_C" >&6
58994 else
58998 ac_ext=cc
58999 ac_cpp='$CXXCPP $CPPFLAGS'
59000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59004 cat >conftest.$ac_ext <<_ACEOF
59005 /* confdefs.h. */
59006 _ACEOF
59007 cat confdefs.h >>conftest.$ac_ext
59008 cat >>conftest.$ac_ext <<_ACEOF
59009 /* end confdefs.h. */
59010 #include <math.h>
59012 main ()
59014 powl(0, 0);
59016 return 0;
59018 _ACEOF
59019 rm -f conftest.$ac_objext
59020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59021 (eval $ac_compile) 2>conftest.er1
59022 ac_status=$?
59023 grep -v '^ *+' conftest.er1 >conftest.err
59024 rm -f conftest.er1
59025 cat conftest.err >&5
59026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59027 (exit $ac_status); } &&
59028 { ac_try='test -z "$ac_cxx_werror_flag"
59029 || test ! -s conftest.err'
59030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59031 (eval $ac_try) 2>&5
59032 ac_status=$?
59033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59034 (exit $ac_status); }; } &&
59035 { ac_try='test -s conftest.$ac_objext'
59036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59037 (eval $ac_try) 2>&5
59038 ac_status=$?
59039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59040 (exit $ac_status); }; }; then
59041 glibcxx_cv_func_powl_use=yes
59042 else
59043 echo "$as_me: failed program was:" >&5
59044 sed 's/^/| /' conftest.$ac_ext >&5
59046 glibcxx_cv_func_powl_use=no
59048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59049 ac_ext=c
59050 ac_cpp='$CPP $CPPFLAGS'
59051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59059 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59060 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59062 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59064 for ac_func in powl
59066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59067 echo "$as_me:$LINENO: checking for $ac_func" >&5
59068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59069 if eval "test \"\${$as_ac_var+set}\" = set"; then
59070 echo $ECHO_N "(cached) $ECHO_C" >&6
59071 else
59072 if test x$gcc_no_link = xyes; then
59073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59075 { (exit 1); exit 1; }; }
59077 cat >conftest.$ac_ext <<_ACEOF
59078 /* confdefs.h. */
59079 _ACEOF
59080 cat confdefs.h >>conftest.$ac_ext
59081 cat >>conftest.$ac_ext <<_ACEOF
59082 /* end confdefs.h. */
59083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59085 #define $ac_func innocuous_$ac_func
59087 /* System header to define __stub macros and hopefully few prototypes,
59088 which can conflict with char $ac_func (); below.
59089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59090 <limits.h> exists even on freestanding compilers. */
59092 #ifdef __STDC__
59093 # include <limits.h>
59094 #else
59095 # include <assert.h>
59096 #endif
59098 #undef $ac_func
59100 /* Override any gcc2 internal prototype to avoid an error. */
59101 #ifdef __cplusplus
59102 extern "C"
59104 #endif
59105 /* We use char because int might match the return type of a gcc2
59106 builtin and then its argument prototype would still apply. */
59107 char $ac_func ();
59108 /* The GNU C library defines this for functions which it implements
59109 to always fail with ENOSYS. Some functions are actually named
59110 something starting with __ and the normal name is an alias. */
59111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59112 choke me
59113 #else
59114 char (*f) () = $ac_func;
59115 #endif
59116 #ifdef __cplusplus
59118 #endif
59121 main ()
59123 return f != $ac_func;
59125 return 0;
59127 _ACEOF
59128 rm -f conftest.$ac_objext conftest$ac_exeext
59129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59130 (eval $ac_link) 2>conftest.er1
59131 ac_status=$?
59132 grep -v '^ *+' conftest.er1 >conftest.err
59133 rm -f conftest.er1
59134 cat conftest.err >&5
59135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59136 (exit $ac_status); } &&
59137 { ac_try='test -z "$ac_c_werror_flag"
59138 || test ! -s conftest.err'
59139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59140 (eval $ac_try) 2>&5
59141 ac_status=$?
59142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59143 (exit $ac_status); }; } &&
59144 { ac_try='test -s conftest$ac_exeext'
59145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59146 (eval $ac_try) 2>&5
59147 ac_status=$?
59148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59149 (exit $ac_status); }; }; then
59150 eval "$as_ac_var=yes"
59151 else
59152 echo "$as_me: failed program was:" >&5
59153 sed 's/^/| /' conftest.$ac_ext >&5
59155 eval "$as_ac_var=no"
59157 rm -f conftest.err conftest.$ac_objext \
59158 conftest$ac_exeext conftest.$ac_ext
59160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59162 if test `eval echo '${'$as_ac_var'}'` = yes; then
59163 cat >>confdefs.h <<_ACEOF
59164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59165 _ACEOF
59168 done
59170 else
59172 echo "$as_me:$LINENO: checking for _powl declaration" >&5
59173 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59174 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59175 if test "${glibcxx_cv_func__powl_use+set}" = set; then
59176 echo $ECHO_N "(cached) $ECHO_C" >&6
59177 else
59181 ac_ext=cc
59182 ac_cpp='$CXXCPP $CPPFLAGS'
59183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59187 cat >conftest.$ac_ext <<_ACEOF
59188 /* confdefs.h. */
59189 _ACEOF
59190 cat confdefs.h >>conftest.$ac_ext
59191 cat >>conftest.$ac_ext <<_ACEOF
59192 /* end confdefs.h. */
59193 #include <math.h>
59195 main ()
59197 _powl(0, 0);
59199 return 0;
59201 _ACEOF
59202 rm -f conftest.$ac_objext
59203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59204 (eval $ac_compile) 2>conftest.er1
59205 ac_status=$?
59206 grep -v '^ *+' conftest.er1 >conftest.err
59207 rm -f conftest.er1
59208 cat conftest.err >&5
59209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59210 (exit $ac_status); } &&
59211 { ac_try='test -z "$ac_cxx_werror_flag"
59212 || test ! -s conftest.err'
59213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59214 (eval $ac_try) 2>&5
59215 ac_status=$?
59216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59217 (exit $ac_status); }; } &&
59218 { ac_try='test -s conftest.$ac_objext'
59219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59220 (eval $ac_try) 2>&5
59221 ac_status=$?
59222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59223 (exit $ac_status); }; }; then
59224 glibcxx_cv_func__powl_use=yes
59225 else
59226 echo "$as_me: failed program was:" >&5
59227 sed 's/^/| /' conftest.$ac_ext >&5
59229 glibcxx_cv_func__powl_use=no
59231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59232 ac_ext=c
59233 ac_cpp='$CPP $CPPFLAGS'
59234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59242 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59243 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59245 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59247 for ac_func in _powl
59249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59250 echo "$as_me:$LINENO: checking for $ac_func" >&5
59251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59252 if eval "test \"\${$as_ac_var+set}\" = set"; then
59253 echo $ECHO_N "(cached) $ECHO_C" >&6
59254 else
59255 if test x$gcc_no_link = xyes; then
59256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59258 { (exit 1); exit 1; }; }
59260 cat >conftest.$ac_ext <<_ACEOF
59261 /* confdefs.h. */
59262 _ACEOF
59263 cat confdefs.h >>conftest.$ac_ext
59264 cat >>conftest.$ac_ext <<_ACEOF
59265 /* end confdefs.h. */
59266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59268 #define $ac_func innocuous_$ac_func
59270 /* System header to define __stub macros and hopefully few prototypes,
59271 which can conflict with char $ac_func (); below.
59272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59273 <limits.h> exists even on freestanding compilers. */
59275 #ifdef __STDC__
59276 # include <limits.h>
59277 #else
59278 # include <assert.h>
59279 #endif
59281 #undef $ac_func
59283 /* Override any gcc2 internal prototype to avoid an error. */
59284 #ifdef __cplusplus
59285 extern "C"
59287 #endif
59288 /* We use char because int might match the return type of a gcc2
59289 builtin and then its argument prototype would still apply. */
59290 char $ac_func ();
59291 /* The GNU C library defines this for functions which it implements
59292 to always fail with ENOSYS. Some functions are actually named
59293 something starting with __ and the normal name is an alias. */
59294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59295 choke me
59296 #else
59297 char (*f) () = $ac_func;
59298 #endif
59299 #ifdef __cplusplus
59301 #endif
59304 main ()
59306 return f != $ac_func;
59308 return 0;
59310 _ACEOF
59311 rm -f conftest.$ac_objext conftest$ac_exeext
59312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59313 (eval $ac_link) 2>conftest.er1
59314 ac_status=$?
59315 grep -v '^ *+' conftest.er1 >conftest.err
59316 rm -f conftest.er1
59317 cat conftest.err >&5
59318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59319 (exit $ac_status); } &&
59320 { ac_try='test -z "$ac_c_werror_flag"
59321 || test ! -s conftest.err'
59322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59323 (eval $ac_try) 2>&5
59324 ac_status=$?
59325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59326 (exit $ac_status); }; } &&
59327 { ac_try='test -s conftest$ac_exeext'
59328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59329 (eval $ac_try) 2>&5
59330 ac_status=$?
59331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59332 (exit $ac_status); }; }; then
59333 eval "$as_ac_var=yes"
59334 else
59335 echo "$as_me: failed program was:" >&5
59336 sed 's/^/| /' conftest.$ac_ext >&5
59338 eval "$as_ac_var=no"
59340 rm -f conftest.err conftest.$ac_objext \
59341 conftest$ac_exeext conftest.$ac_ext
59343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59345 if test `eval echo '${'$as_ac_var'}'` = yes; then
59346 cat >>confdefs.h <<_ACEOF
59347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59348 _ACEOF
59351 done
59361 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59362 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59363 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59364 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59365 echo $ECHO_N "(cached) $ECHO_C" >&6
59366 else
59370 ac_ext=cc
59371 ac_cpp='$CXXCPP $CPPFLAGS'
59372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59376 cat >conftest.$ac_ext <<_ACEOF
59377 /* confdefs.h. */
59378 _ACEOF
59379 cat confdefs.h >>conftest.$ac_ext
59380 cat >>conftest.$ac_ext <<_ACEOF
59381 /* end confdefs.h. */
59382 #include <math.h>
59383 #ifdef HAVE_IEEEFP_H
59384 #include <ieeefp.h>
59385 #endif
59388 main ()
59390 sqrtl(0);
59392 return 0;
59394 _ACEOF
59395 rm -f conftest.$ac_objext
59396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59397 (eval $ac_compile) 2>conftest.er1
59398 ac_status=$?
59399 grep -v '^ *+' conftest.er1 >conftest.err
59400 rm -f conftest.er1
59401 cat conftest.err >&5
59402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59403 (exit $ac_status); } &&
59404 { ac_try='test -z "$ac_cxx_werror_flag"
59405 || test ! -s conftest.err'
59406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59407 (eval $ac_try) 2>&5
59408 ac_status=$?
59409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59410 (exit $ac_status); }; } &&
59411 { ac_try='test -s conftest.$ac_objext'
59412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59413 (eval $ac_try) 2>&5
59414 ac_status=$?
59415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59416 (exit $ac_status); }; }; then
59417 glibcxx_cv_func_sqrtl_use=yes
59418 else
59419 echo "$as_me: failed program was:" >&5
59420 sed 's/^/| /' conftest.$ac_ext >&5
59422 glibcxx_cv_func_sqrtl_use=no
59424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59425 ac_ext=c
59426 ac_cpp='$CPP $CPPFLAGS'
59427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59435 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
59436 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59438 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59440 for ac_func in sqrtl
59442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59443 echo "$as_me:$LINENO: checking for $ac_func" >&5
59444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59445 if eval "test \"\${$as_ac_var+set}\" = set"; then
59446 echo $ECHO_N "(cached) $ECHO_C" >&6
59447 else
59448 if test x$gcc_no_link = xyes; then
59449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59451 { (exit 1); exit 1; }; }
59453 cat >conftest.$ac_ext <<_ACEOF
59454 /* confdefs.h. */
59455 _ACEOF
59456 cat confdefs.h >>conftest.$ac_ext
59457 cat >>conftest.$ac_ext <<_ACEOF
59458 /* end confdefs.h. */
59459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59461 #define $ac_func innocuous_$ac_func
59463 /* System header to define __stub macros and hopefully few prototypes,
59464 which can conflict with char $ac_func (); below.
59465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59466 <limits.h> exists even on freestanding compilers. */
59468 #ifdef __STDC__
59469 # include <limits.h>
59470 #else
59471 # include <assert.h>
59472 #endif
59474 #undef $ac_func
59476 /* Override any gcc2 internal prototype to avoid an error. */
59477 #ifdef __cplusplus
59478 extern "C"
59480 #endif
59481 /* We use char because int might match the return type of a gcc2
59482 builtin and then its argument prototype would still apply. */
59483 char $ac_func ();
59484 /* The GNU C library defines this for functions which it implements
59485 to always fail with ENOSYS. Some functions are actually named
59486 something starting with __ and the normal name is an alias. */
59487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59488 choke me
59489 #else
59490 char (*f) () = $ac_func;
59491 #endif
59492 #ifdef __cplusplus
59494 #endif
59497 main ()
59499 return f != $ac_func;
59501 return 0;
59503 _ACEOF
59504 rm -f conftest.$ac_objext conftest$ac_exeext
59505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59506 (eval $ac_link) 2>conftest.er1
59507 ac_status=$?
59508 grep -v '^ *+' conftest.er1 >conftest.err
59509 rm -f conftest.er1
59510 cat conftest.err >&5
59511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59512 (exit $ac_status); } &&
59513 { ac_try='test -z "$ac_c_werror_flag"
59514 || test ! -s conftest.err'
59515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59516 (eval $ac_try) 2>&5
59517 ac_status=$?
59518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59519 (exit $ac_status); }; } &&
59520 { ac_try='test -s conftest$ac_exeext'
59521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59522 (eval $ac_try) 2>&5
59523 ac_status=$?
59524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59525 (exit $ac_status); }; }; then
59526 eval "$as_ac_var=yes"
59527 else
59528 echo "$as_me: failed program was:" >&5
59529 sed 's/^/| /' conftest.$ac_ext >&5
59531 eval "$as_ac_var=no"
59533 rm -f conftest.err conftest.$ac_objext \
59534 conftest$ac_exeext conftest.$ac_ext
59536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59538 if test `eval echo '${'$as_ac_var'}'` = yes; then
59539 cat >>confdefs.h <<_ACEOF
59540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59541 _ACEOF
59544 done
59546 else
59548 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59549 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59550 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59551 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59552 echo $ECHO_N "(cached) $ECHO_C" >&6
59553 else
59557 ac_ext=cc
59558 ac_cpp='$CXXCPP $CPPFLAGS'
59559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59563 cat >conftest.$ac_ext <<_ACEOF
59564 /* confdefs.h. */
59565 _ACEOF
59566 cat confdefs.h >>conftest.$ac_ext
59567 cat >>conftest.$ac_ext <<_ACEOF
59568 /* end confdefs.h. */
59569 #include <math.h>
59570 #ifdef HAVE_IEEEFP_H
59571 #include <ieeefp.h>
59572 #endif
59575 main ()
59577 _sqrtl(0);
59579 return 0;
59581 _ACEOF
59582 rm -f conftest.$ac_objext
59583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59584 (eval $ac_compile) 2>conftest.er1
59585 ac_status=$?
59586 grep -v '^ *+' conftest.er1 >conftest.err
59587 rm -f conftest.er1
59588 cat conftest.err >&5
59589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59590 (exit $ac_status); } &&
59591 { ac_try='test -z "$ac_cxx_werror_flag"
59592 || test ! -s conftest.err'
59593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59594 (eval $ac_try) 2>&5
59595 ac_status=$?
59596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59597 (exit $ac_status); }; } &&
59598 { ac_try='test -s conftest.$ac_objext'
59599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59600 (eval $ac_try) 2>&5
59601 ac_status=$?
59602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59603 (exit $ac_status); }; }; then
59604 glibcxx_cv_func__sqrtl_use=yes
59605 else
59606 echo "$as_me: failed program was:" >&5
59607 sed 's/^/| /' conftest.$ac_ext >&5
59609 glibcxx_cv_func__sqrtl_use=no
59611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59612 ac_ext=c
59613 ac_cpp='$CPP $CPPFLAGS'
59614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59622 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
59623 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
59625 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59627 for ac_func in _sqrtl
59629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59630 echo "$as_me:$LINENO: checking for $ac_func" >&5
59631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59632 if eval "test \"\${$as_ac_var+set}\" = set"; then
59633 echo $ECHO_N "(cached) $ECHO_C" >&6
59634 else
59635 if test x$gcc_no_link = xyes; then
59636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59638 { (exit 1); exit 1; }; }
59640 cat >conftest.$ac_ext <<_ACEOF
59641 /* confdefs.h. */
59642 _ACEOF
59643 cat confdefs.h >>conftest.$ac_ext
59644 cat >>conftest.$ac_ext <<_ACEOF
59645 /* end confdefs.h. */
59646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59648 #define $ac_func innocuous_$ac_func
59650 /* System header to define __stub macros and hopefully few prototypes,
59651 which can conflict with char $ac_func (); below.
59652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59653 <limits.h> exists even on freestanding compilers. */
59655 #ifdef __STDC__
59656 # include <limits.h>
59657 #else
59658 # include <assert.h>
59659 #endif
59661 #undef $ac_func
59663 /* Override any gcc2 internal prototype to avoid an error. */
59664 #ifdef __cplusplus
59665 extern "C"
59667 #endif
59668 /* We use char because int might match the return type of a gcc2
59669 builtin and then its argument prototype would still apply. */
59670 char $ac_func ();
59671 /* The GNU C library defines this for functions which it implements
59672 to always fail with ENOSYS. Some functions are actually named
59673 something starting with __ and the normal name is an alias. */
59674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59675 choke me
59676 #else
59677 char (*f) () = $ac_func;
59678 #endif
59679 #ifdef __cplusplus
59681 #endif
59684 main ()
59686 return f != $ac_func;
59688 return 0;
59690 _ACEOF
59691 rm -f conftest.$ac_objext conftest$ac_exeext
59692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59693 (eval $ac_link) 2>conftest.er1
59694 ac_status=$?
59695 grep -v '^ *+' conftest.er1 >conftest.err
59696 rm -f conftest.er1
59697 cat conftest.err >&5
59698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59699 (exit $ac_status); } &&
59700 { ac_try='test -z "$ac_c_werror_flag"
59701 || test ! -s conftest.err'
59702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59703 (eval $ac_try) 2>&5
59704 ac_status=$?
59705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59706 (exit $ac_status); }; } &&
59707 { ac_try='test -s conftest$ac_exeext'
59708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59709 (eval $ac_try) 2>&5
59710 ac_status=$?
59711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59712 (exit $ac_status); }; }; then
59713 eval "$as_ac_var=yes"
59714 else
59715 echo "$as_me: failed program was:" >&5
59716 sed 's/^/| /' conftest.$ac_ext >&5
59718 eval "$as_ac_var=no"
59720 rm -f conftest.err conftest.$ac_objext \
59721 conftest$ac_exeext conftest.$ac_ext
59723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59725 if test `eval echo '${'$as_ac_var'}'` = yes; then
59726 cat >>confdefs.h <<_ACEOF
59727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59728 _ACEOF
59731 done
59741 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
59742 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
59743 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59744 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
59745 echo $ECHO_N "(cached) $ECHO_C" >&6
59746 else
59750 ac_ext=cc
59751 ac_cpp='$CXXCPP $CPPFLAGS'
59752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59756 cat >conftest.$ac_ext <<_ACEOF
59757 /* confdefs.h. */
59758 _ACEOF
59759 cat confdefs.h >>conftest.$ac_ext
59760 cat >>conftest.$ac_ext <<_ACEOF
59761 /* end confdefs.h. */
59762 #include <math.h>
59764 main ()
59766 sincosl(0, 0, 0);
59768 return 0;
59770 _ACEOF
59771 rm -f conftest.$ac_objext
59772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59773 (eval $ac_compile) 2>conftest.er1
59774 ac_status=$?
59775 grep -v '^ *+' conftest.er1 >conftest.err
59776 rm -f conftest.er1
59777 cat conftest.err >&5
59778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59779 (exit $ac_status); } &&
59780 { ac_try='test -z "$ac_cxx_werror_flag"
59781 || test ! -s conftest.err'
59782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59783 (eval $ac_try) 2>&5
59784 ac_status=$?
59785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59786 (exit $ac_status); }; } &&
59787 { ac_try='test -s conftest.$ac_objext'
59788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59789 (eval $ac_try) 2>&5
59790 ac_status=$?
59791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59792 (exit $ac_status); }; }; then
59793 glibcxx_cv_func_sincosl_use=yes
59794 else
59795 echo "$as_me: failed program was:" >&5
59796 sed 's/^/| /' conftest.$ac_ext >&5
59798 glibcxx_cv_func_sincosl_use=no
59800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59801 ac_ext=c
59802 ac_cpp='$CPP $CPPFLAGS'
59803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59811 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
59812 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
59814 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59816 for ac_func in sincosl
59818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59819 echo "$as_me:$LINENO: checking for $ac_func" >&5
59820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59821 if eval "test \"\${$as_ac_var+set}\" = set"; then
59822 echo $ECHO_N "(cached) $ECHO_C" >&6
59823 else
59824 if test x$gcc_no_link = xyes; then
59825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59827 { (exit 1); exit 1; }; }
59829 cat >conftest.$ac_ext <<_ACEOF
59830 /* confdefs.h. */
59831 _ACEOF
59832 cat confdefs.h >>conftest.$ac_ext
59833 cat >>conftest.$ac_ext <<_ACEOF
59834 /* end confdefs.h. */
59835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59837 #define $ac_func innocuous_$ac_func
59839 /* System header to define __stub macros and hopefully few prototypes,
59840 which can conflict with char $ac_func (); below.
59841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59842 <limits.h> exists even on freestanding compilers. */
59844 #ifdef __STDC__
59845 # include <limits.h>
59846 #else
59847 # include <assert.h>
59848 #endif
59850 #undef $ac_func
59852 /* Override any gcc2 internal prototype to avoid an error. */
59853 #ifdef __cplusplus
59854 extern "C"
59856 #endif
59857 /* We use char because int might match the return type of a gcc2
59858 builtin and then its argument prototype would still apply. */
59859 char $ac_func ();
59860 /* The GNU C library defines this for functions which it implements
59861 to always fail with ENOSYS. Some functions are actually named
59862 something starting with __ and the normal name is an alias. */
59863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59864 choke me
59865 #else
59866 char (*f) () = $ac_func;
59867 #endif
59868 #ifdef __cplusplus
59870 #endif
59873 main ()
59875 return f != $ac_func;
59877 return 0;
59879 _ACEOF
59880 rm -f conftest.$ac_objext conftest$ac_exeext
59881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59882 (eval $ac_link) 2>conftest.er1
59883 ac_status=$?
59884 grep -v '^ *+' conftest.er1 >conftest.err
59885 rm -f conftest.er1
59886 cat conftest.err >&5
59887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59888 (exit $ac_status); } &&
59889 { ac_try='test -z "$ac_c_werror_flag"
59890 || test ! -s conftest.err'
59891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59892 (eval $ac_try) 2>&5
59893 ac_status=$?
59894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59895 (exit $ac_status); }; } &&
59896 { ac_try='test -s conftest$ac_exeext'
59897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59898 (eval $ac_try) 2>&5
59899 ac_status=$?
59900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59901 (exit $ac_status); }; }; then
59902 eval "$as_ac_var=yes"
59903 else
59904 echo "$as_me: failed program was:" >&5
59905 sed 's/^/| /' conftest.$ac_ext >&5
59907 eval "$as_ac_var=no"
59909 rm -f conftest.err conftest.$ac_objext \
59910 conftest$ac_exeext conftest.$ac_ext
59912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59914 if test `eval echo '${'$as_ac_var'}'` = yes; then
59915 cat >>confdefs.h <<_ACEOF
59916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59917 _ACEOF
59920 done
59922 else
59924 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
59925 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
59926 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59927 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
59928 echo $ECHO_N "(cached) $ECHO_C" >&6
59929 else
59933 ac_ext=cc
59934 ac_cpp='$CXXCPP $CPPFLAGS'
59935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59939 cat >conftest.$ac_ext <<_ACEOF
59940 /* confdefs.h. */
59941 _ACEOF
59942 cat confdefs.h >>conftest.$ac_ext
59943 cat >>conftest.$ac_ext <<_ACEOF
59944 /* end confdefs.h. */
59945 #include <math.h>
59947 main ()
59949 _sincosl(0, 0, 0);
59951 return 0;
59953 _ACEOF
59954 rm -f conftest.$ac_objext
59955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59956 (eval $ac_compile) 2>conftest.er1
59957 ac_status=$?
59958 grep -v '^ *+' conftest.er1 >conftest.err
59959 rm -f conftest.er1
59960 cat conftest.err >&5
59961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59962 (exit $ac_status); } &&
59963 { ac_try='test -z "$ac_cxx_werror_flag"
59964 || test ! -s conftest.err'
59965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59966 (eval $ac_try) 2>&5
59967 ac_status=$?
59968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59969 (exit $ac_status); }; } &&
59970 { ac_try='test -s conftest.$ac_objext'
59971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59972 (eval $ac_try) 2>&5
59973 ac_status=$?
59974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59975 (exit $ac_status); }; }; then
59976 glibcxx_cv_func__sincosl_use=yes
59977 else
59978 echo "$as_me: failed program was:" >&5
59979 sed 's/^/| /' conftest.$ac_ext >&5
59981 glibcxx_cv_func__sincosl_use=no
59983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59984 ac_ext=c
59985 ac_cpp='$CPP $CPPFLAGS'
59986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59994 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
59995 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
59997 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59999 for ac_func in _sincosl
60001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60002 echo "$as_me:$LINENO: checking for $ac_func" >&5
60003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60004 if eval "test \"\${$as_ac_var+set}\" = set"; then
60005 echo $ECHO_N "(cached) $ECHO_C" >&6
60006 else
60007 if test x$gcc_no_link = xyes; then
60008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60010 { (exit 1); exit 1; }; }
60012 cat >conftest.$ac_ext <<_ACEOF
60013 /* confdefs.h. */
60014 _ACEOF
60015 cat confdefs.h >>conftest.$ac_ext
60016 cat >>conftest.$ac_ext <<_ACEOF
60017 /* end confdefs.h. */
60018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60020 #define $ac_func innocuous_$ac_func
60022 /* System header to define __stub macros and hopefully few prototypes,
60023 which can conflict with char $ac_func (); below.
60024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60025 <limits.h> exists even on freestanding compilers. */
60027 #ifdef __STDC__
60028 # include <limits.h>
60029 #else
60030 # include <assert.h>
60031 #endif
60033 #undef $ac_func
60035 /* Override any gcc2 internal prototype to avoid an error. */
60036 #ifdef __cplusplus
60037 extern "C"
60039 #endif
60040 /* We use char because int might match the return type of a gcc2
60041 builtin and then its argument prototype would still apply. */
60042 char $ac_func ();
60043 /* The GNU C library defines this for functions which it implements
60044 to always fail with ENOSYS. Some functions are actually named
60045 something starting with __ and the normal name is an alias. */
60046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60047 choke me
60048 #else
60049 char (*f) () = $ac_func;
60050 #endif
60051 #ifdef __cplusplus
60053 #endif
60056 main ()
60058 return f != $ac_func;
60060 return 0;
60062 _ACEOF
60063 rm -f conftest.$ac_objext conftest$ac_exeext
60064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60065 (eval $ac_link) 2>conftest.er1
60066 ac_status=$?
60067 grep -v '^ *+' conftest.er1 >conftest.err
60068 rm -f conftest.er1
60069 cat conftest.err >&5
60070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60071 (exit $ac_status); } &&
60072 { ac_try='test -z "$ac_c_werror_flag"
60073 || test ! -s conftest.err'
60074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60075 (eval $ac_try) 2>&5
60076 ac_status=$?
60077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60078 (exit $ac_status); }; } &&
60079 { ac_try='test -s conftest$ac_exeext'
60080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60081 (eval $ac_try) 2>&5
60082 ac_status=$?
60083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60084 (exit $ac_status); }; }; then
60085 eval "$as_ac_var=yes"
60086 else
60087 echo "$as_me: failed program was:" >&5
60088 sed 's/^/| /' conftest.$ac_ext >&5
60090 eval "$as_ac_var=no"
60092 rm -f conftest.err conftest.$ac_objext \
60093 conftest$ac_exeext conftest.$ac_ext
60095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60097 if test `eval echo '${'$as_ac_var'}'` = yes; then
60098 cat >>confdefs.h <<_ACEOF
60099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60100 _ACEOF
60103 done
60113 echo "$as_me:$LINENO: checking for finitel declaration" >&5
60114 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60115 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60116 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60117 echo $ECHO_N "(cached) $ECHO_C" >&6
60118 else
60122 ac_ext=cc
60123 ac_cpp='$CXXCPP $CPPFLAGS'
60124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60128 cat >conftest.$ac_ext <<_ACEOF
60129 /* confdefs.h. */
60130 _ACEOF
60131 cat confdefs.h >>conftest.$ac_ext
60132 cat >>conftest.$ac_ext <<_ACEOF
60133 /* end confdefs.h. */
60134 #include <math.h>
60135 #ifdef HAVE_IEEEFP_H
60136 #include <ieeefp.h>
60137 #endif
60140 main ()
60142 finitel(0);
60144 return 0;
60146 _ACEOF
60147 rm -f conftest.$ac_objext
60148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60149 (eval $ac_compile) 2>conftest.er1
60150 ac_status=$?
60151 grep -v '^ *+' conftest.er1 >conftest.err
60152 rm -f conftest.er1
60153 cat conftest.err >&5
60154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60155 (exit $ac_status); } &&
60156 { ac_try='test -z "$ac_cxx_werror_flag"
60157 || test ! -s conftest.err'
60158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60159 (eval $ac_try) 2>&5
60160 ac_status=$?
60161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60162 (exit $ac_status); }; } &&
60163 { ac_try='test -s conftest.$ac_objext'
60164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60165 (eval $ac_try) 2>&5
60166 ac_status=$?
60167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60168 (exit $ac_status); }; }; then
60169 glibcxx_cv_func_finitel_use=yes
60170 else
60171 echo "$as_me: failed program was:" >&5
60172 sed 's/^/| /' conftest.$ac_ext >&5
60174 glibcxx_cv_func_finitel_use=no
60176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60177 ac_ext=c
60178 ac_cpp='$CPP $CPPFLAGS'
60179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60187 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60188 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60190 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60192 for ac_func in finitel
60194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60195 echo "$as_me:$LINENO: checking for $ac_func" >&5
60196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60197 if eval "test \"\${$as_ac_var+set}\" = set"; then
60198 echo $ECHO_N "(cached) $ECHO_C" >&6
60199 else
60200 if test x$gcc_no_link = xyes; then
60201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60203 { (exit 1); exit 1; }; }
60205 cat >conftest.$ac_ext <<_ACEOF
60206 /* confdefs.h. */
60207 _ACEOF
60208 cat confdefs.h >>conftest.$ac_ext
60209 cat >>conftest.$ac_ext <<_ACEOF
60210 /* end confdefs.h. */
60211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60213 #define $ac_func innocuous_$ac_func
60215 /* System header to define __stub macros and hopefully few prototypes,
60216 which can conflict with char $ac_func (); below.
60217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60218 <limits.h> exists even on freestanding compilers. */
60220 #ifdef __STDC__
60221 # include <limits.h>
60222 #else
60223 # include <assert.h>
60224 #endif
60226 #undef $ac_func
60228 /* Override any gcc2 internal prototype to avoid an error. */
60229 #ifdef __cplusplus
60230 extern "C"
60232 #endif
60233 /* We use char because int might match the return type of a gcc2
60234 builtin and then its argument prototype would still apply. */
60235 char $ac_func ();
60236 /* The GNU C library defines this for functions which it implements
60237 to always fail with ENOSYS. Some functions are actually named
60238 something starting with __ and the normal name is an alias. */
60239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60240 choke me
60241 #else
60242 char (*f) () = $ac_func;
60243 #endif
60244 #ifdef __cplusplus
60246 #endif
60249 main ()
60251 return f != $ac_func;
60253 return 0;
60255 _ACEOF
60256 rm -f conftest.$ac_objext conftest$ac_exeext
60257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60258 (eval $ac_link) 2>conftest.er1
60259 ac_status=$?
60260 grep -v '^ *+' conftest.er1 >conftest.err
60261 rm -f conftest.er1
60262 cat conftest.err >&5
60263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60264 (exit $ac_status); } &&
60265 { ac_try='test -z "$ac_c_werror_flag"
60266 || test ! -s conftest.err'
60267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60268 (eval $ac_try) 2>&5
60269 ac_status=$?
60270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60271 (exit $ac_status); }; } &&
60272 { ac_try='test -s conftest$ac_exeext'
60273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60274 (eval $ac_try) 2>&5
60275 ac_status=$?
60276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60277 (exit $ac_status); }; }; then
60278 eval "$as_ac_var=yes"
60279 else
60280 echo "$as_me: failed program was:" >&5
60281 sed 's/^/| /' conftest.$ac_ext >&5
60283 eval "$as_ac_var=no"
60285 rm -f conftest.err conftest.$ac_objext \
60286 conftest$ac_exeext conftest.$ac_ext
60288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60290 if test `eval echo '${'$as_ac_var'}'` = yes; then
60291 cat >>confdefs.h <<_ACEOF
60292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60293 _ACEOF
60296 done
60298 else
60300 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60301 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60302 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60303 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60304 echo $ECHO_N "(cached) $ECHO_C" >&6
60305 else
60309 ac_ext=cc
60310 ac_cpp='$CXXCPP $CPPFLAGS'
60311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60315 cat >conftest.$ac_ext <<_ACEOF
60316 /* confdefs.h. */
60317 _ACEOF
60318 cat confdefs.h >>conftest.$ac_ext
60319 cat >>conftest.$ac_ext <<_ACEOF
60320 /* end confdefs.h. */
60321 #include <math.h>
60322 #ifdef HAVE_IEEEFP_H
60323 #include <ieeefp.h>
60324 #endif
60327 main ()
60329 _finitel(0);
60331 return 0;
60333 _ACEOF
60334 rm -f conftest.$ac_objext
60335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60336 (eval $ac_compile) 2>conftest.er1
60337 ac_status=$?
60338 grep -v '^ *+' conftest.er1 >conftest.err
60339 rm -f conftest.er1
60340 cat conftest.err >&5
60341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60342 (exit $ac_status); } &&
60343 { ac_try='test -z "$ac_cxx_werror_flag"
60344 || test ! -s conftest.err'
60345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60346 (eval $ac_try) 2>&5
60347 ac_status=$?
60348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60349 (exit $ac_status); }; } &&
60350 { ac_try='test -s conftest.$ac_objext'
60351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60352 (eval $ac_try) 2>&5
60353 ac_status=$?
60354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60355 (exit $ac_status); }; }; then
60356 glibcxx_cv_func__finitel_use=yes
60357 else
60358 echo "$as_me: failed program was:" >&5
60359 sed 's/^/| /' conftest.$ac_ext >&5
60361 glibcxx_cv_func__finitel_use=no
60363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60364 ac_ext=c
60365 ac_cpp='$CPP $CPPFLAGS'
60366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60374 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60375 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60377 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60379 for ac_func in _finitel
60381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60382 echo "$as_me:$LINENO: checking for $ac_func" >&5
60383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60384 if eval "test \"\${$as_ac_var+set}\" = set"; then
60385 echo $ECHO_N "(cached) $ECHO_C" >&6
60386 else
60387 if test x$gcc_no_link = xyes; then
60388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60390 { (exit 1); exit 1; }; }
60392 cat >conftest.$ac_ext <<_ACEOF
60393 /* confdefs.h. */
60394 _ACEOF
60395 cat confdefs.h >>conftest.$ac_ext
60396 cat >>conftest.$ac_ext <<_ACEOF
60397 /* end confdefs.h. */
60398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60400 #define $ac_func innocuous_$ac_func
60402 /* System header to define __stub macros and hopefully few prototypes,
60403 which can conflict with char $ac_func (); below.
60404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60405 <limits.h> exists even on freestanding compilers. */
60407 #ifdef __STDC__
60408 # include <limits.h>
60409 #else
60410 # include <assert.h>
60411 #endif
60413 #undef $ac_func
60415 /* Override any gcc2 internal prototype to avoid an error. */
60416 #ifdef __cplusplus
60417 extern "C"
60419 #endif
60420 /* We use char because int might match the return type of a gcc2
60421 builtin and then its argument prototype would still apply. */
60422 char $ac_func ();
60423 /* The GNU C library defines this for functions which it implements
60424 to always fail with ENOSYS. Some functions are actually named
60425 something starting with __ and the normal name is an alias. */
60426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60427 choke me
60428 #else
60429 char (*f) () = $ac_func;
60430 #endif
60431 #ifdef __cplusplus
60433 #endif
60436 main ()
60438 return f != $ac_func;
60440 return 0;
60442 _ACEOF
60443 rm -f conftest.$ac_objext conftest$ac_exeext
60444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60445 (eval $ac_link) 2>conftest.er1
60446 ac_status=$?
60447 grep -v '^ *+' conftest.er1 >conftest.err
60448 rm -f conftest.er1
60449 cat conftest.err >&5
60450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60451 (exit $ac_status); } &&
60452 { ac_try='test -z "$ac_c_werror_flag"
60453 || test ! -s conftest.err'
60454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60455 (eval $ac_try) 2>&5
60456 ac_status=$?
60457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60458 (exit $ac_status); }; } &&
60459 { ac_try='test -s conftest$ac_exeext'
60460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60461 (eval $ac_try) 2>&5
60462 ac_status=$?
60463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60464 (exit $ac_status); }; }; then
60465 eval "$as_ac_var=yes"
60466 else
60467 echo "$as_me: failed program was:" >&5
60468 sed 's/^/| /' conftest.$ac_ext >&5
60470 eval "$as_ac_var=no"
60472 rm -f conftest.err conftest.$ac_objext \
60473 conftest$ac_exeext conftest.$ac_ext
60475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60477 if test `eval echo '${'$as_ac_var'}'` = yes; then
60478 cat >>confdefs.h <<_ACEOF
60479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60480 _ACEOF
60483 done
60492 LIBS="$ac_save_LIBS"
60493 CXXFLAGS="$ac_save_CXXFLAGS"
60497 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
60498 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
60499 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
60500 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
60501 echo $ECHO_N "(cached) $ECHO_C" >&6
60502 else
60506 ac_ext=cc
60507 ac_cpp='$CXXCPP $CPPFLAGS'
60508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60512 cat >conftest.$ac_ext <<_ACEOF
60513 /* confdefs.h. */
60514 _ACEOF
60515 cat confdefs.h >>conftest.$ac_ext
60516 cat >>conftest.$ac_ext <<_ACEOF
60517 /* end confdefs.h. */
60518 #include <math.h>
60520 main ()
60522 __builtin_abs(0);
60524 return 0;
60526 _ACEOF
60527 rm -f conftest.$ac_objext
60528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60529 (eval $ac_compile) 2>conftest.er1
60530 ac_status=$?
60531 grep -v '^ *+' conftest.er1 >conftest.err
60532 rm -f conftest.er1
60533 cat conftest.err >&5
60534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60535 (exit $ac_status); } &&
60536 { ac_try='test -z "$ac_cxx_werror_flag"
60537 || test ! -s conftest.err'
60538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60539 (eval $ac_try) 2>&5
60540 ac_status=$?
60541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60542 (exit $ac_status); }; } &&
60543 { ac_try='test -s conftest.$ac_objext'
60544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60545 (eval $ac_try) 2>&5
60546 ac_status=$?
60547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60548 (exit $ac_status); }; }; then
60549 glibcxx_cv_func___builtin_abs_use=yes
60550 else
60551 echo "$as_me: failed program was:" >&5
60552 sed 's/^/| /' conftest.$ac_ext >&5
60554 glibcxx_cv_func___builtin_abs_use=no
60556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60557 ac_ext=c
60558 ac_cpp='$CPP $CPPFLAGS'
60559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60567 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
60568 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
60569 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
60570 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
60571 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
60572 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
60573 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
60574 echo $ECHO_N "(cached) $ECHO_C" >&6
60575 else
60577 if test x$gcc_no_link = xyes; then
60578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60580 { (exit 1); exit 1; }; }
60582 cat >conftest.$ac_ext <<_ACEOF
60583 /* confdefs.h. */
60584 _ACEOF
60585 cat confdefs.h >>conftest.$ac_ext
60586 cat >>conftest.$ac_ext <<_ACEOF
60587 /* end confdefs.h. */
60588 #include <math.h>
60590 main ()
60592 __builtin_abs(0);
60594 return 0;
60596 _ACEOF
60597 rm -f conftest.$ac_objext conftest$ac_exeext
60598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60599 (eval $ac_link) 2>conftest.er1
60600 ac_status=$?
60601 grep -v '^ *+' conftest.er1 >conftest.err
60602 rm -f conftest.er1
60603 cat conftest.err >&5
60604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60605 (exit $ac_status); } &&
60606 { ac_try='test -z "$ac_c_werror_flag"
60607 || test ! -s conftest.err'
60608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60609 (eval $ac_try) 2>&5
60610 ac_status=$?
60611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60612 (exit $ac_status); }; } &&
60613 { ac_try='test -s conftest$ac_exeext'
60614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60615 (eval $ac_try) 2>&5
60616 ac_status=$?
60617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60618 (exit $ac_status); }; }; then
60619 glibcxx_cv_func___builtin_abs_link=yes
60620 else
60621 echo "$as_me: failed program was:" >&5
60622 sed 's/^/| /' conftest.$ac_ext >&5
60624 glibcxx_cv_func___builtin_abs_link=no
60626 rm -f conftest.err conftest.$ac_objext \
60627 conftest$ac_exeext conftest.$ac_ext
60632 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
60633 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
60635 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
60637 cat >>confdefs.h <<\_ACEOF
60638 #define HAVE___BUILTIN_ABS 1
60639 _ACEOF
60646 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
60647 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
60648 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
60649 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
60650 echo $ECHO_N "(cached) $ECHO_C" >&6
60651 else
60655 ac_ext=cc
60656 ac_cpp='$CXXCPP $CPPFLAGS'
60657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60661 cat >conftest.$ac_ext <<_ACEOF
60662 /* confdefs.h. */
60663 _ACEOF
60664 cat confdefs.h >>conftest.$ac_ext
60665 cat >>conftest.$ac_ext <<_ACEOF
60666 /* end confdefs.h. */
60667 #include <math.h>
60669 main ()
60671 __builtin_fabsf(0);
60673 return 0;
60675 _ACEOF
60676 rm -f conftest.$ac_objext
60677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60678 (eval $ac_compile) 2>conftest.er1
60679 ac_status=$?
60680 grep -v '^ *+' conftest.er1 >conftest.err
60681 rm -f conftest.er1
60682 cat conftest.err >&5
60683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60684 (exit $ac_status); } &&
60685 { ac_try='test -z "$ac_cxx_werror_flag"
60686 || test ! -s conftest.err'
60687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60688 (eval $ac_try) 2>&5
60689 ac_status=$?
60690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60691 (exit $ac_status); }; } &&
60692 { ac_try='test -s conftest.$ac_objext'
60693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60694 (eval $ac_try) 2>&5
60695 ac_status=$?
60696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60697 (exit $ac_status); }; }; then
60698 glibcxx_cv_func___builtin_fabsf_use=yes
60699 else
60700 echo "$as_me: failed program was:" >&5
60701 sed 's/^/| /' conftest.$ac_ext >&5
60703 glibcxx_cv_func___builtin_fabsf_use=no
60705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60706 ac_ext=c
60707 ac_cpp='$CPP $CPPFLAGS'
60708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60716 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
60717 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
60718 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
60719 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
60720 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
60721 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
60722 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
60723 echo $ECHO_N "(cached) $ECHO_C" >&6
60724 else
60726 if test x$gcc_no_link = xyes; then
60727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60729 { (exit 1); exit 1; }; }
60731 cat >conftest.$ac_ext <<_ACEOF
60732 /* confdefs.h. */
60733 _ACEOF
60734 cat confdefs.h >>conftest.$ac_ext
60735 cat >>conftest.$ac_ext <<_ACEOF
60736 /* end confdefs.h. */
60737 #include <math.h>
60739 main ()
60741 __builtin_fabsf(0);
60743 return 0;
60745 _ACEOF
60746 rm -f conftest.$ac_objext conftest$ac_exeext
60747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60748 (eval $ac_link) 2>conftest.er1
60749 ac_status=$?
60750 grep -v '^ *+' conftest.er1 >conftest.err
60751 rm -f conftest.er1
60752 cat conftest.err >&5
60753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60754 (exit $ac_status); } &&
60755 { ac_try='test -z "$ac_c_werror_flag"
60756 || test ! -s conftest.err'
60757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60758 (eval $ac_try) 2>&5
60759 ac_status=$?
60760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60761 (exit $ac_status); }; } &&
60762 { ac_try='test -s conftest$ac_exeext'
60763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60764 (eval $ac_try) 2>&5
60765 ac_status=$?
60766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60767 (exit $ac_status); }; }; then
60768 glibcxx_cv_func___builtin_fabsf_link=yes
60769 else
60770 echo "$as_me: failed program was:" >&5
60771 sed 's/^/| /' conftest.$ac_ext >&5
60773 glibcxx_cv_func___builtin_fabsf_link=no
60775 rm -f conftest.err conftest.$ac_objext \
60776 conftest$ac_exeext conftest.$ac_ext
60781 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
60782 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
60784 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
60786 cat >>confdefs.h <<\_ACEOF
60787 #define HAVE___BUILTIN_FABSF 1
60788 _ACEOF
60795 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
60796 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
60797 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
60798 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
60799 echo $ECHO_N "(cached) $ECHO_C" >&6
60800 else
60804 ac_ext=cc
60805 ac_cpp='$CXXCPP $CPPFLAGS'
60806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60810 cat >conftest.$ac_ext <<_ACEOF
60811 /* confdefs.h. */
60812 _ACEOF
60813 cat confdefs.h >>conftest.$ac_ext
60814 cat >>conftest.$ac_ext <<_ACEOF
60815 /* end confdefs.h. */
60816 #include <math.h>
60818 main ()
60820 __builtin_fabs(0);
60822 return 0;
60824 _ACEOF
60825 rm -f conftest.$ac_objext
60826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60827 (eval $ac_compile) 2>conftest.er1
60828 ac_status=$?
60829 grep -v '^ *+' conftest.er1 >conftest.err
60830 rm -f conftest.er1
60831 cat conftest.err >&5
60832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60833 (exit $ac_status); } &&
60834 { ac_try='test -z "$ac_cxx_werror_flag"
60835 || test ! -s conftest.err'
60836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60837 (eval $ac_try) 2>&5
60838 ac_status=$?
60839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60840 (exit $ac_status); }; } &&
60841 { ac_try='test -s conftest.$ac_objext'
60842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60843 (eval $ac_try) 2>&5
60844 ac_status=$?
60845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60846 (exit $ac_status); }; }; then
60847 glibcxx_cv_func___builtin_fabs_use=yes
60848 else
60849 echo "$as_me: failed program was:" >&5
60850 sed 's/^/| /' conftest.$ac_ext >&5
60852 glibcxx_cv_func___builtin_fabs_use=no
60854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60855 ac_ext=c
60856 ac_cpp='$CPP $CPPFLAGS'
60857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60865 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
60866 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
60867 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
60868 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
60869 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
60870 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
60871 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
60872 echo $ECHO_N "(cached) $ECHO_C" >&6
60873 else
60875 if test x$gcc_no_link = xyes; then
60876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60878 { (exit 1); exit 1; }; }
60880 cat >conftest.$ac_ext <<_ACEOF
60881 /* confdefs.h. */
60882 _ACEOF
60883 cat confdefs.h >>conftest.$ac_ext
60884 cat >>conftest.$ac_ext <<_ACEOF
60885 /* end confdefs.h. */
60886 #include <math.h>
60888 main ()
60890 __builtin_fabs(0);
60892 return 0;
60894 _ACEOF
60895 rm -f conftest.$ac_objext conftest$ac_exeext
60896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60897 (eval $ac_link) 2>conftest.er1
60898 ac_status=$?
60899 grep -v '^ *+' conftest.er1 >conftest.err
60900 rm -f conftest.er1
60901 cat conftest.err >&5
60902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60903 (exit $ac_status); } &&
60904 { ac_try='test -z "$ac_c_werror_flag"
60905 || test ! -s conftest.err'
60906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60907 (eval $ac_try) 2>&5
60908 ac_status=$?
60909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60910 (exit $ac_status); }; } &&
60911 { ac_try='test -s conftest$ac_exeext'
60912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60913 (eval $ac_try) 2>&5
60914 ac_status=$?
60915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60916 (exit $ac_status); }; }; then
60917 glibcxx_cv_func___builtin_fabs_link=yes
60918 else
60919 echo "$as_me: failed program was:" >&5
60920 sed 's/^/| /' conftest.$ac_ext >&5
60922 glibcxx_cv_func___builtin_fabs_link=no
60924 rm -f conftest.err conftest.$ac_objext \
60925 conftest$ac_exeext conftest.$ac_ext
60930 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
60931 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
60933 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
60935 cat >>confdefs.h <<\_ACEOF
60936 #define HAVE___BUILTIN_FABS 1
60937 _ACEOF
60944 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
60945 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
60946 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
60947 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
60948 echo $ECHO_N "(cached) $ECHO_C" >&6
60949 else
60953 ac_ext=cc
60954 ac_cpp='$CXXCPP $CPPFLAGS'
60955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60959 cat >conftest.$ac_ext <<_ACEOF
60960 /* confdefs.h. */
60961 _ACEOF
60962 cat confdefs.h >>conftest.$ac_ext
60963 cat >>conftest.$ac_ext <<_ACEOF
60964 /* end confdefs.h. */
60965 #include <math.h>
60967 main ()
60969 __builtin_fabsl(0);
60971 return 0;
60973 _ACEOF
60974 rm -f conftest.$ac_objext
60975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60976 (eval $ac_compile) 2>conftest.er1
60977 ac_status=$?
60978 grep -v '^ *+' conftest.er1 >conftest.err
60979 rm -f conftest.er1
60980 cat conftest.err >&5
60981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60982 (exit $ac_status); } &&
60983 { ac_try='test -z "$ac_cxx_werror_flag"
60984 || test ! -s conftest.err'
60985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60986 (eval $ac_try) 2>&5
60987 ac_status=$?
60988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60989 (exit $ac_status); }; } &&
60990 { ac_try='test -s conftest.$ac_objext'
60991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60992 (eval $ac_try) 2>&5
60993 ac_status=$?
60994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60995 (exit $ac_status); }; }; then
60996 glibcxx_cv_func___builtin_fabsl_use=yes
60997 else
60998 echo "$as_me: failed program was:" >&5
60999 sed 's/^/| /' conftest.$ac_ext >&5
61001 glibcxx_cv_func___builtin_fabsl_use=no
61003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61004 ac_ext=c
61005 ac_cpp='$CPP $CPPFLAGS'
61006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61014 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
61015 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
61016 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
61017 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
61018 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
61019 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
61020 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
61021 echo $ECHO_N "(cached) $ECHO_C" >&6
61022 else
61024 if test x$gcc_no_link = xyes; then
61025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61027 { (exit 1); exit 1; }; }
61029 cat >conftest.$ac_ext <<_ACEOF
61030 /* confdefs.h. */
61031 _ACEOF
61032 cat confdefs.h >>conftest.$ac_ext
61033 cat >>conftest.$ac_ext <<_ACEOF
61034 /* end confdefs.h. */
61035 #include <math.h>
61037 main ()
61039 __builtin_fabsl(0);
61041 return 0;
61043 _ACEOF
61044 rm -f conftest.$ac_objext conftest$ac_exeext
61045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61046 (eval $ac_link) 2>conftest.er1
61047 ac_status=$?
61048 grep -v '^ *+' conftest.er1 >conftest.err
61049 rm -f conftest.er1
61050 cat conftest.err >&5
61051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61052 (exit $ac_status); } &&
61053 { ac_try='test -z "$ac_c_werror_flag"
61054 || test ! -s conftest.err'
61055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61056 (eval $ac_try) 2>&5
61057 ac_status=$?
61058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61059 (exit $ac_status); }; } &&
61060 { ac_try='test -s conftest$ac_exeext'
61061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61062 (eval $ac_try) 2>&5
61063 ac_status=$?
61064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61065 (exit $ac_status); }; }; then
61066 glibcxx_cv_func___builtin_fabsl_link=yes
61067 else
61068 echo "$as_me: failed program was:" >&5
61069 sed 's/^/| /' conftest.$ac_ext >&5
61071 glibcxx_cv_func___builtin_fabsl_link=no
61073 rm -f conftest.err conftest.$ac_objext \
61074 conftest$ac_exeext conftest.$ac_ext
61079 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
61080 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
61082 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
61084 cat >>confdefs.h <<\_ACEOF
61085 #define HAVE___BUILTIN_FABSL 1
61086 _ACEOF
61093 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
61094 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
61095 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
61096 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
61097 echo $ECHO_N "(cached) $ECHO_C" >&6
61098 else
61102 ac_ext=cc
61103 ac_cpp='$CXXCPP $CPPFLAGS'
61104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61108 cat >conftest.$ac_ext <<_ACEOF
61109 /* confdefs.h. */
61110 _ACEOF
61111 cat confdefs.h >>conftest.$ac_ext
61112 cat >>conftest.$ac_ext <<_ACEOF
61113 /* end confdefs.h. */
61114 #include <math.h>
61116 main ()
61118 __builtin_labs(0);
61120 return 0;
61122 _ACEOF
61123 rm -f conftest.$ac_objext
61124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61125 (eval $ac_compile) 2>conftest.er1
61126 ac_status=$?
61127 grep -v '^ *+' conftest.er1 >conftest.err
61128 rm -f conftest.er1
61129 cat conftest.err >&5
61130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61131 (exit $ac_status); } &&
61132 { ac_try='test -z "$ac_cxx_werror_flag"
61133 || test ! -s conftest.err'
61134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61135 (eval $ac_try) 2>&5
61136 ac_status=$?
61137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61138 (exit $ac_status); }; } &&
61139 { ac_try='test -s conftest.$ac_objext'
61140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61141 (eval $ac_try) 2>&5
61142 ac_status=$?
61143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61144 (exit $ac_status); }; }; then
61145 glibcxx_cv_func___builtin_labs_use=yes
61146 else
61147 echo "$as_me: failed program was:" >&5
61148 sed 's/^/| /' conftest.$ac_ext >&5
61150 glibcxx_cv_func___builtin_labs_use=no
61152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61153 ac_ext=c
61154 ac_cpp='$CPP $CPPFLAGS'
61155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61163 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
61164 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
61165 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
61166 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
61167 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
61168 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
61169 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
61170 echo $ECHO_N "(cached) $ECHO_C" >&6
61171 else
61173 if test x$gcc_no_link = xyes; then
61174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61176 { (exit 1); exit 1; }; }
61178 cat >conftest.$ac_ext <<_ACEOF
61179 /* confdefs.h. */
61180 _ACEOF
61181 cat confdefs.h >>conftest.$ac_ext
61182 cat >>conftest.$ac_ext <<_ACEOF
61183 /* end confdefs.h. */
61184 #include <math.h>
61186 main ()
61188 __builtin_labs(0);
61190 return 0;
61192 _ACEOF
61193 rm -f conftest.$ac_objext conftest$ac_exeext
61194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61195 (eval $ac_link) 2>conftest.er1
61196 ac_status=$?
61197 grep -v '^ *+' conftest.er1 >conftest.err
61198 rm -f conftest.er1
61199 cat conftest.err >&5
61200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61201 (exit $ac_status); } &&
61202 { ac_try='test -z "$ac_c_werror_flag"
61203 || test ! -s conftest.err'
61204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61205 (eval $ac_try) 2>&5
61206 ac_status=$?
61207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61208 (exit $ac_status); }; } &&
61209 { ac_try='test -s conftest$ac_exeext'
61210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61211 (eval $ac_try) 2>&5
61212 ac_status=$?
61213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61214 (exit $ac_status); }; }; then
61215 glibcxx_cv_func___builtin_labs_link=yes
61216 else
61217 echo "$as_me: failed program was:" >&5
61218 sed 's/^/| /' conftest.$ac_ext >&5
61220 glibcxx_cv_func___builtin_labs_link=no
61222 rm -f conftest.err conftest.$ac_objext \
61223 conftest$ac_exeext conftest.$ac_ext
61228 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
61229 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
61231 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
61233 cat >>confdefs.h <<\_ACEOF
61234 #define HAVE___BUILTIN_LABS 1
61235 _ACEOF
61243 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
61244 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
61245 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
61246 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
61247 echo $ECHO_N "(cached) $ECHO_C" >&6
61248 else
61252 ac_ext=cc
61253 ac_cpp='$CXXCPP $CPPFLAGS'
61254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61258 cat >conftest.$ac_ext <<_ACEOF
61259 /* confdefs.h. */
61260 _ACEOF
61261 cat confdefs.h >>conftest.$ac_ext
61262 cat >>conftest.$ac_ext <<_ACEOF
61263 /* end confdefs.h. */
61264 #include <math.h>
61266 main ()
61268 __builtin_sqrtf(0);
61270 return 0;
61272 _ACEOF
61273 rm -f conftest.$ac_objext
61274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61275 (eval $ac_compile) 2>conftest.er1
61276 ac_status=$?
61277 grep -v '^ *+' conftest.er1 >conftest.err
61278 rm -f conftest.er1
61279 cat conftest.err >&5
61280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61281 (exit $ac_status); } &&
61282 { ac_try='test -z "$ac_cxx_werror_flag"
61283 || test ! -s conftest.err'
61284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61285 (eval $ac_try) 2>&5
61286 ac_status=$?
61287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61288 (exit $ac_status); }; } &&
61289 { ac_try='test -s conftest.$ac_objext'
61290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61291 (eval $ac_try) 2>&5
61292 ac_status=$?
61293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61294 (exit $ac_status); }; }; then
61295 glibcxx_cv_func___builtin_sqrtf_use=yes
61296 else
61297 echo "$as_me: failed program was:" >&5
61298 sed 's/^/| /' conftest.$ac_ext >&5
61300 glibcxx_cv_func___builtin_sqrtf_use=no
61302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61303 ac_ext=c
61304 ac_cpp='$CPP $CPPFLAGS'
61305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61313 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
61314 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
61315 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
61316 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
61317 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
61318 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
61319 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
61320 echo $ECHO_N "(cached) $ECHO_C" >&6
61321 else
61323 if test x$gcc_no_link = xyes; then
61324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61326 { (exit 1); exit 1; }; }
61328 cat >conftest.$ac_ext <<_ACEOF
61329 /* confdefs.h. */
61330 _ACEOF
61331 cat confdefs.h >>conftest.$ac_ext
61332 cat >>conftest.$ac_ext <<_ACEOF
61333 /* end confdefs.h. */
61334 #include <math.h>
61336 main ()
61338 __builtin_sqrtf(0);
61340 return 0;
61342 _ACEOF
61343 rm -f conftest.$ac_objext conftest$ac_exeext
61344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61345 (eval $ac_link) 2>conftest.er1
61346 ac_status=$?
61347 grep -v '^ *+' conftest.er1 >conftest.err
61348 rm -f conftest.er1
61349 cat conftest.err >&5
61350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61351 (exit $ac_status); } &&
61352 { ac_try='test -z "$ac_c_werror_flag"
61353 || test ! -s conftest.err'
61354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61355 (eval $ac_try) 2>&5
61356 ac_status=$?
61357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61358 (exit $ac_status); }; } &&
61359 { ac_try='test -s conftest$ac_exeext'
61360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61361 (eval $ac_try) 2>&5
61362 ac_status=$?
61363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61364 (exit $ac_status); }; }; then
61365 glibcxx_cv_func___builtin_sqrtf_link=yes
61366 else
61367 echo "$as_me: failed program was:" >&5
61368 sed 's/^/| /' conftest.$ac_ext >&5
61370 glibcxx_cv_func___builtin_sqrtf_link=no
61372 rm -f conftest.err conftest.$ac_objext \
61373 conftest$ac_exeext conftest.$ac_ext
61378 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
61379 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
61381 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
61383 cat >>confdefs.h <<\_ACEOF
61384 #define HAVE___BUILTIN_SQRTF 1
61385 _ACEOF
61392 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
61393 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
61394 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
61395 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
61396 echo $ECHO_N "(cached) $ECHO_C" >&6
61397 else
61401 ac_ext=cc
61402 ac_cpp='$CXXCPP $CPPFLAGS'
61403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61407 cat >conftest.$ac_ext <<_ACEOF
61408 /* confdefs.h. */
61409 _ACEOF
61410 cat confdefs.h >>conftest.$ac_ext
61411 cat >>conftest.$ac_ext <<_ACEOF
61412 /* end confdefs.h. */
61413 #include <math.h>
61415 main ()
61417 __builtin_sqrt(0);
61419 return 0;
61421 _ACEOF
61422 rm -f conftest.$ac_objext
61423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61424 (eval $ac_compile) 2>conftest.er1
61425 ac_status=$?
61426 grep -v '^ *+' conftest.er1 >conftest.err
61427 rm -f conftest.er1
61428 cat conftest.err >&5
61429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61430 (exit $ac_status); } &&
61431 { ac_try='test -z "$ac_cxx_werror_flag"
61432 || test ! -s conftest.err'
61433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61434 (eval $ac_try) 2>&5
61435 ac_status=$?
61436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61437 (exit $ac_status); }; } &&
61438 { ac_try='test -s conftest.$ac_objext'
61439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61440 (eval $ac_try) 2>&5
61441 ac_status=$?
61442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61443 (exit $ac_status); }; }; then
61444 glibcxx_cv_func___builtin_sqrt_use=yes
61445 else
61446 echo "$as_me: failed program was:" >&5
61447 sed 's/^/| /' conftest.$ac_ext >&5
61449 glibcxx_cv_func___builtin_sqrt_use=no
61451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61452 ac_ext=c
61453 ac_cpp='$CPP $CPPFLAGS'
61454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61462 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
61463 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
61464 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
61465 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
61466 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
61467 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
61468 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
61469 echo $ECHO_N "(cached) $ECHO_C" >&6
61470 else
61472 if test x$gcc_no_link = xyes; then
61473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61475 { (exit 1); exit 1; }; }
61477 cat >conftest.$ac_ext <<_ACEOF
61478 /* confdefs.h. */
61479 _ACEOF
61480 cat confdefs.h >>conftest.$ac_ext
61481 cat >>conftest.$ac_ext <<_ACEOF
61482 /* end confdefs.h. */
61483 #include <math.h>
61485 main ()
61487 __builtin_sqrt(0);
61489 return 0;
61491 _ACEOF
61492 rm -f conftest.$ac_objext conftest$ac_exeext
61493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61494 (eval $ac_link) 2>conftest.er1
61495 ac_status=$?
61496 grep -v '^ *+' conftest.er1 >conftest.err
61497 rm -f conftest.er1
61498 cat conftest.err >&5
61499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61500 (exit $ac_status); } &&
61501 { ac_try='test -z "$ac_c_werror_flag"
61502 || test ! -s conftest.err'
61503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61504 (eval $ac_try) 2>&5
61505 ac_status=$?
61506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61507 (exit $ac_status); }; } &&
61508 { ac_try='test -s conftest$ac_exeext'
61509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61510 (eval $ac_try) 2>&5
61511 ac_status=$?
61512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61513 (exit $ac_status); }; }; then
61514 glibcxx_cv_func___builtin_sqrt_link=yes
61515 else
61516 echo "$as_me: failed program was:" >&5
61517 sed 's/^/| /' conftest.$ac_ext >&5
61519 glibcxx_cv_func___builtin_sqrt_link=no
61521 rm -f conftest.err conftest.$ac_objext \
61522 conftest$ac_exeext conftest.$ac_ext
61527 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
61528 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
61530 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
61532 cat >>confdefs.h <<\_ACEOF
61533 #define HAVE___BUILTIN_SQRT 1
61534 _ACEOF
61541 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
61542 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
61543 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
61544 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
61545 echo $ECHO_N "(cached) $ECHO_C" >&6
61546 else
61550 ac_ext=cc
61551 ac_cpp='$CXXCPP $CPPFLAGS'
61552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61556 cat >conftest.$ac_ext <<_ACEOF
61557 /* confdefs.h. */
61558 _ACEOF
61559 cat confdefs.h >>conftest.$ac_ext
61560 cat >>conftest.$ac_ext <<_ACEOF
61561 /* end confdefs.h. */
61562 #include <math.h>
61564 main ()
61566 __builtin_sqrtl(0);
61568 return 0;
61570 _ACEOF
61571 rm -f conftest.$ac_objext
61572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61573 (eval $ac_compile) 2>conftest.er1
61574 ac_status=$?
61575 grep -v '^ *+' conftest.er1 >conftest.err
61576 rm -f conftest.er1
61577 cat conftest.err >&5
61578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61579 (exit $ac_status); } &&
61580 { ac_try='test -z "$ac_cxx_werror_flag"
61581 || test ! -s conftest.err'
61582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61583 (eval $ac_try) 2>&5
61584 ac_status=$?
61585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61586 (exit $ac_status); }; } &&
61587 { ac_try='test -s conftest.$ac_objext'
61588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61589 (eval $ac_try) 2>&5
61590 ac_status=$?
61591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61592 (exit $ac_status); }; }; then
61593 glibcxx_cv_func___builtin_sqrtl_use=yes
61594 else
61595 echo "$as_me: failed program was:" >&5
61596 sed 's/^/| /' conftest.$ac_ext >&5
61598 glibcxx_cv_func___builtin_sqrtl_use=no
61600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61601 ac_ext=c
61602 ac_cpp='$CPP $CPPFLAGS'
61603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61611 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
61612 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
61613 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
61614 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
61615 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
61616 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
61617 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
61618 echo $ECHO_N "(cached) $ECHO_C" >&6
61619 else
61621 if test x$gcc_no_link = xyes; then
61622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61624 { (exit 1); exit 1; }; }
61626 cat >conftest.$ac_ext <<_ACEOF
61627 /* confdefs.h. */
61628 _ACEOF
61629 cat confdefs.h >>conftest.$ac_ext
61630 cat >>conftest.$ac_ext <<_ACEOF
61631 /* end confdefs.h. */
61632 #include <math.h>
61634 main ()
61636 __builtin_sqrtl(0);
61638 return 0;
61640 _ACEOF
61641 rm -f conftest.$ac_objext conftest$ac_exeext
61642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61643 (eval $ac_link) 2>conftest.er1
61644 ac_status=$?
61645 grep -v '^ *+' conftest.er1 >conftest.err
61646 rm -f conftest.er1
61647 cat conftest.err >&5
61648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61649 (exit $ac_status); } &&
61650 { ac_try='test -z "$ac_c_werror_flag"
61651 || test ! -s conftest.err'
61652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61653 (eval $ac_try) 2>&5
61654 ac_status=$?
61655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61656 (exit $ac_status); }; } &&
61657 { ac_try='test -s conftest$ac_exeext'
61658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61659 (eval $ac_try) 2>&5
61660 ac_status=$?
61661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61662 (exit $ac_status); }; }; then
61663 glibcxx_cv_func___builtin_sqrtl_link=yes
61664 else
61665 echo "$as_me: failed program was:" >&5
61666 sed 's/^/| /' conftest.$ac_ext >&5
61668 glibcxx_cv_func___builtin_sqrtl_link=no
61670 rm -f conftest.err conftest.$ac_objext \
61671 conftest$ac_exeext conftest.$ac_ext
61676 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
61677 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
61679 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
61681 cat >>confdefs.h <<\_ACEOF
61682 #define HAVE___BUILTIN_SQRTL 1
61683 _ACEOF
61691 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
61692 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
61693 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
61694 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
61695 echo $ECHO_N "(cached) $ECHO_C" >&6
61696 else
61700 ac_ext=cc
61701 ac_cpp='$CXXCPP $CPPFLAGS'
61702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61706 cat >conftest.$ac_ext <<_ACEOF
61707 /* confdefs.h. */
61708 _ACEOF
61709 cat confdefs.h >>conftest.$ac_ext
61710 cat >>conftest.$ac_ext <<_ACEOF
61711 /* end confdefs.h. */
61712 #include <math.h>
61714 main ()
61716 __builtin_sinf(0);
61718 return 0;
61720 _ACEOF
61721 rm -f conftest.$ac_objext
61722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61723 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func___builtin_sinf_use=yes
61744 else
61745 echo "$as_me: failed program was:" >&5
61746 sed 's/^/| /' conftest.$ac_ext >&5
61748 glibcxx_cv_func___builtin_sinf_use=no
61750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61751 ac_ext=c
61752 ac_cpp='$CPP $CPPFLAGS'
61753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61761 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
61762 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
61763 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
61764 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
61765 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
61766 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
61767 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
61768 echo $ECHO_N "(cached) $ECHO_C" >&6
61769 else
61771 if test x$gcc_no_link = xyes; then
61772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61774 { (exit 1); exit 1; }; }
61776 cat >conftest.$ac_ext <<_ACEOF
61777 /* confdefs.h. */
61778 _ACEOF
61779 cat confdefs.h >>conftest.$ac_ext
61780 cat >>conftest.$ac_ext <<_ACEOF
61781 /* end confdefs.h. */
61782 #include <math.h>
61784 main ()
61786 __builtin_sinf(0);
61788 return 0;
61790 _ACEOF
61791 rm -f conftest.$ac_objext conftest$ac_exeext
61792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61793 (eval $ac_link) 2>conftest.er1
61794 ac_status=$?
61795 grep -v '^ *+' conftest.er1 >conftest.err
61796 rm -f conftest.er1
61797 cat conftest.err >&5
61798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61799 (exit $ac_status); } &&
61800 { ac_try='test -z "$ac_c_werror_flag"
61801 || test ! -s conftest.err'
61802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61803 (eval $ac_try) 2>&5
61804 ac_status=$?
61805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61806 (exit $ac_status); }; } &&
61807 { ac_try='test -s conftest$ac_exeext'
61808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61809 (eval $ac_try) 2>&5
61810 ac_status=$?
61811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61812 (exit $ac_status); }; }; then
61813 glibcxx_cv_func___builtin_sinf_link=yes
61814 else
61815 echo "$as_me: failed program was:" >&5
61816 sed 's/^/| /' conftest.$ac_ext >&5
61818 glibcxx_cv_func___builtin_sinf_link=no
61820 rm -f conftest.err conftest.$ac_objext \
61821 conftest$ac_exeext conftest.$ac_ext
61826 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
61827 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
61829 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
61831 cat >>confdefs.h <<\_ACEOF
61832 #define HAVE___BUILTIN_SINF 1
61833 _ACEOF
61840 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
61841 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
61842 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
61843 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
61844 echo $ECHO_N "(cached) $ECHO_C" >&6
61845 else
61849 ac_ext=cc
61850 ac_cpp='$CXXCPP $CPPFLAGS'
61851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61855 cat >conftest.$ac_ext <<_ACEOF
61856 /* confdefs.h. */
61857 _ACEOF
61858 cat confdefs.h >>conftest.$ac_ext
61859 cat >>conftest.$ac_ext <<_ACEOF
61860 /* end confdefs.h. */
61861 #include <math.h>
61863 main ()
61865 __builtin_sin(0);
61867 return 0;
61869 _ACEOF
61870 rm -f conftest.$ac_objext
61871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61872 (eval $ac_compile) 2>conftest.er1
61873 ac_status=$?
61874 grep -v '^ *+' conftest.er1 >conftest.err
61875 rm -f conftest.er1
61876 cat conftest.err >&5
61877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61878 (exit $ac_status); } &&
61879 { ac_try='test -z "$ac_cxx_werror_flag"
61880 || test ! -s conftest.err'
61881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61882 (eval $ac_try) 2>&5
61883 ac_status=$?
61884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61885 (exit $ac_status); }; } &&
61886 { ac_try='test -s conftest.$ac_objext'
61887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61888 (eval $ac_try) 2>&5
61889 ac_status=$?
61890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61891 (exit $ac_status); }; }; then
61892 glibcxx_cv_func___builtin_sin_use=yes
61893 else
61894 echo "$as_me: failed program was:" >&5
61895 sed 's/^/| /' conftest.$ac_ext >&5
61897 glibcxx_cv_func___builtin_sin_use=no
61899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61900 ac_ext=c
61901 ac_cpp='$CPP $CPPFLAGS'
61902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61910 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
61911 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
61912 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
61913 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
61914 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
61915 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
61916 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
61917 echo $ECHO_N "(cached) $ECHO_C" >&6
61918 else
61920 if test x$gcc_no_link = xyes; then
61921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61923 { (exit 1); exit 1; }; }
61925 cat >conftest.$ac_ext <<_ACEOF
61926 /* confdefs.h. */
61927 _ACEOF
61928 cat confdefs.h >>conftest.$ac_ext
61929 cat >>conftest.$ac_ext <<_ACEOF
61930 /* end confdefs.h. */
61931 #include <math.h>
61933 main ()
61935 __builtin_sin(0);
61937 return 0;
61939 _ACEOF
61940 rm -f conftest.$ac_objext conftest$ac_exeext
61941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61942 (eval $ac_link) 2>conftest.er1
61943 ac_status=$?
61944 grep -v '^ *+' conftest.er1 >conftest.err
61945 rm -f conftest.er1
61946 cat conftest.err >&5
61947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61948 (exit $ac_status); } &&
61949 { ac_try='test -z "$ac_c_werror_flag"
61950 || test ! -s conftest.err'
61951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61952 (eval $ac_try) 2>&5
61953 ac_status=$?
61954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61955 (exit $ac_status); }; } &&
61956 { ac_try='test -s conftest$ac_exeext'
61957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61958 (eval $ac_try) 2>&5
61959 ac_status=$?
61960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61961 (exit $ac_status); }; }; then
61962 glibcxx_cv_func___builtin_sin_link=yes
61963 else
61964 echo "$as_me: failed program was:" >&5
61965 sed 's/^/| /' conftest.$ac_ext >&5
61967 glibcxx_cv_func___builtin_sin_link=no
61969 rm -f conftest.err conftest.$ac_objext \
61970 conftest$ac_exeext conftest.$ac_ext
61975 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
61976 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
61978 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
61980 cat >>confdefs.h <<\_ACEOF
61981 #define HAVE___BUILTIN_SIN 1
61982 _ACEOF
61989 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
61990 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
61991 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
61992 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
61993 echo $ECHO_N "(cached) $ECHO_C" >&6
61994 else
61998 ac_ext=cc
61999 ac_cpp='$CXXCPP $CPPFLAGS'
62000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62004 cat >conftest.$ac_ext <<_ACEOF
62005 /* confdefs.h. */
62006 _ACEOF
62007 cat confdefs.h >>conftest.$ac_ext
62008 cat >>conftest.$ac_ext <<_ACEOF
62009 /* end confdefs.h. */
62010 #include <math.h>
62012 main ()
62014 __builtin_sinl(0);
62016 return 0;
62018 _ACEOF
62019 rm -f conftest.$ac_objext
62020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62021 (eval $ac_compile) 2>conftest.er1
62022 ac_status=$?
62023 grep -v '^ *+' conftest.er1 >conftest.err
62024 rm -f conftest.er1
62025 cat conftest.err >&5
62026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62027 (exit $ac_status); } &&
62028 { ac_try='test -z "$ac_cxx_werror_flag"
62029 || test ! -s conftest.err'
62030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62031 (eval $ac_try) 2>&5
62032 ac_status=$?
62033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62034 (exit $ac_status); }; } &&
62035 { ac_try='test -s conftest.$ac_objext'
62036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62037 (eval $ac_try) 2>&5
62038 ac_status=$?
62039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62040 (exit $ac_status); }; }; then
62041 glibcxx_cv_func___builtin_sinl_use=yes
62042 else
62043 echo "$as_me: failed program was:" >&5
62044 sed 's/^/| /' conftest.$ac_ext >&5
62046 glibcxx_cv_func___builtin_sinl_use=no
62048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62049 ac_ext=c
62050 ac_cpp='$CPP $CPPFLAGS'
62051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62059 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
62060 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
62061 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
62062 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
62063 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
62064 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
62065 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
62066 echo $ECHO_N "(cached) $ECHO_C" >&6
62067 else
62069 if test x$gcc_no_link = xyes; then
62070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62072 { (exit 1); exit 1; }; }
62074 cat >conftest.$ac_ext <<_ACEOF
62075 /* confdefs.h. */
62076 _ACEOF
62077 cat confdefs.h >>conftest.$ac_ext
62078 cat >>conftest.$ac_ext <<_ACEOF
62079 /* end confdefs.h. */
62080 #include <math.h>
62082 main ()
62084 __builtin_sinl(0);
62086 return 0;
62088 _ACEOF
62089 rm -f conftest.$ac_objext conftest$ac_exeext
62090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62091 (eval $ac_link) 2>conftest.er1
62092 ac_status=$?
62093 grep -v '^ *+' conftest.er1 >conftest.err
62094 rm -f conftest.er1
62095 cat conftest.err >&5
62096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62097 (exit $ac_status); } &&
62098 { ac_try='test -z "$ac_c_werror_flag"
62099 || test ! -s conftest.err'
62100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62101 (eval $ac_try) 2>&5
62102 ac_status=$?
62103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62104 (exit $ac_status); }; } &&
62105 { ac_try='test -s conftest$ac_exeext'
62106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62107 (eval $ac_try) 2>&5
62108 ac_status=$?
62109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62110 (exit $ac_status); }; }; then
62111 glibcxx_cv_func___builtin_sinl_link=yes
62112 else
62113 echo "$as_me: failed program was:" >&5
62114 sed 's/^/| /' conftest.$ac_ext >&5
62116 glibcxx_cv_func___builtin_sinl_link=no
62118 rm -f conftest.err conftest.$ac_objext \
62119 conftest$ac_exeext conftest.$ac_ext
62124 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
62125 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
62127 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
62129 cat >>confdefs.h <<\_ACEOF
62130 #define HAVE___BUILTIN_SINL 1
62131 _ACEOF
62139 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
62140 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
62141 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
62142 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
62143 echo $ECHO_N "(cached) $ECHO_C" >&6
62144 else
62148 ac_ext=cc
62149 ac_cpp='$CXXCPP $CPPFLAGS'
62150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62154 cat >conftest.$ac_ext <<_ACEOF
62155 /* confdefs.h. */
62156 _ACEOF
62157 cat confdefs.h >>conftest.$ac_ext
62158 cat >>conftest.$ac_ext <<_ACEOF
62159 /* end confdefs.h. */
62160 #include <math.h>
62162 main ()
62164 __builtin_cosf(0);
62166 return 0;
62168 _ACEOF
62169 rm -f conftest.$ac_objext
62170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62171 (eval $ac_compile) 2>conftest.er1
62172 ac_status=$?
62173 grep -v '^ *+' conftest.er1 >conftest.err
62174 rm -f conftest.er1
62175 cat conftest.err >&5
62176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62177 (exit $ac_status); } &&
62178 { ac_try='test -z "$ac_cxx_werror_flag"
62179 || test ! -s conftest.err'
62180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62181 (eval $ac_try) 2>&5
62182 ac_status=$?
62183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62184 (exit $ac_status); }; } &&
62185 { ac_try='test -s conftest.$ac_objext'
62186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62187 (eval $ac_try) 2>&5
62188 ac_status=$?
62189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62190 (exit $ac_status); }; }; then
62191 glibcxx_cv_func___builtin_cosf_use=yes
62192 else
62193 echo "$as_me: failed program was:" >&5
62194 sed 's/^/| /' conftest.$ac_ext >&5
62196 glibcxx_cv_func___builtin_cosf_use=no
62198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62199 ac_ext=c
62200 ac_cpp='$CPP $CPPFLAGS'
62201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62209 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
62210 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
62211 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
62212 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
62213 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
62214 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
62215 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
62216 echo $ECHO_N "(cached) $ECHO_C" >&6
62217 else
62219 if test x$gcc_no_link = xyes; then
62220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62222 { (exit 1); exit 1; }; }
62224 cat >conftest.$ac_ext <<_ACEOF
62225 /* confdefs.h. */
62226 _ACEOF
62227 cat confdefs.h >>conftest.$ac_ext
62228 cat >>conftest.$ac_ext <<_ACEOF
62229 /* end confdefs.h. */
62230 #include <math.h>
62232 main ()
62234 __builtin_cosf(0);
62236 return 0;
62238 _ACEOF
62239 rm -f conftest.$ac_objext conftest$ac_exeext
62240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62241 (eval $ac_link) 2>conftest.er1
62242 ac_status=$?
62243 grep -v '^ *+' conftest.er1 >conftest.err
62244 rm -f conftest.er1
62245 cat conftest.err >&5
62246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62247 (exit $ac_status); } &&
62248 { ac_try='test -z "$ac_c_werror_flag"
62249 || test ! -s conftest.err'
62250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62251 (eval $ac_try) 2>&5
62252 ac_status=$?
62253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62254 (exit $ac_status); }; } &&
62255 { ac_try='test -s conftest$ac_exeext'
62256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62257 (eval $ac_try) 2>&5
62258 ac_status=$?
62259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62260 (exit $ac_status); }; }; then
62261 glibcxx_cv_func___builtin_cosf_link=yes
62262 else
62263 echo "$as_me: failed program was:" >&5
62264 sed 's/^/| /' conftest.$ac_ext >&5
62266 glibcxx_cv_func___builtin_cosf_link=no
62268 rm -f conftest.err conftest.$ac_objext \
62269 conftest$ac_exeext conftest.$ac_ext
62274 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
62275 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
62277 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
62279 cat >>confdefs.h <<\_ACEOF
62280 #define HAVE___BUILTIN_COSF 1
62281 _ACEOF
62288 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
62289 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
62290 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
62291 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
62292 echo $ECHO_N "(cached) $ECHO_C" >&6
62293 else
62297 ac_ext=cc
62298 ac_cpp='$CXXCPP $CPPFLAGS'
62299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62303 cat >conftest.$ac_ext <<_ACEOF
62304 /* confdefs.h. */
62305 _ACEOF
62306 cat confdefs.h >>conftest.$ac_ext
62307 cat >>conftest.$ac_ext <<_ACEOF
62308 /* end confdefs.h. */
62309 #include <math.h>
62311 main ()
62313 __builtin_cos(0);
62315 return 0;
62317 _ACEOF
62318 rm -f conftest.$ac_objext
62319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62320 (eval $ac_compile) 2>conftest.er1
62321 ac_status=$?
62322 grep -v '^ *+' conftest.er1 >conftest.err
62323 rm -f conftest.er1
62324 cat conftest.err >&5
62325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62326 (exit $ac_status); } &&
62327 { ac_try='test -z "$ac_cxx_werror_flag"
62328 || test ! -s conftest.err'
62329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62330 (eval $ac_try) 2>&5
62331 ac_status=$?
62332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62333 (exit $ac_status); }; } &&
62334 { ac_try='test -s conftest.$ac_objext'
62335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62336 (eval $ac_try) 2>&5
62337 ac_status=$?
62338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62339 (exit $ac_status); }; }; then
62340 glibcxx_cv_func___builtin_cos_use=yes
62341 else
62342 echo "$as_me: failed program was:" >&5
62343 sed 's/^/| /' conftest.$ac_ext >&5
62345 glibcxx_cv_func___builtin_cos_use=no
62347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62348 ac_ext=c
62349 ac_cpp='$CPP $CPPFLAGS'
62350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62358 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
62359 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
62360 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
62361 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
62362 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
62363 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
62364 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
62365 echo $ECHO_N "(cached) $ECHO_C" >&6
62366 else
62368 if test x$gcc_no_link = xyes; then
62369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62371 { (exit 1); exit 1; }; }
62373 cat >conftest.$ac_ext <<_ACEOF
62374 /* confdefs.h. */
62375 _ACEOF
62376 cat confdefs.h >>conftest.$ac_ext
62377 cat >>conftest.$ac_ext <<_ACEOF
62378 /* end confdefs.h. */
62379 #include <math.h>
62381 main ()
62383 __builtin_cos(0);
62385 return 0;
62387 _ACEOF
62388 rm -f conftest.$ac_objext conftest$ac_exeext
62389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62390 (eval $ac_link) 2>conftest.er1
62391 ac_status=$?
62392 grep -v '^ *+' conftest.er1 >conftest.err
62393 rm -f conftest.er1
62394 cat conftest.err >&5
62395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62396 (exit $ac_status); } &&
62397 { ac_try='test -z "$ac_c_werror_flag"
62398 || test ! -s conftest.err'
62399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62400 (eval $ac_try) 2>&5
62401 ac_status=$?
62402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62403 (exit $ac_status); }; } &&
62404 { ac_try='test -s conftest$ac_exeext'
62405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62406 (eval $ac_try) 2>&5
62407 ac_status=$?
62408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62409 (exit $ac_status); }; }; then
62410 glibcxx_cv_func___builtin_cos_link=yes
62411 else
62412 echo "$as_me: failed program was:" >&5
62413 sed 's/^/| /' conftest.$ac_ext >&5
62415 glibcxx_cv_func___builtin_cos_link=no
62417 rm -f conftest.err conftest.$ac_objext \
62418 conftest$ac_exeext conftest.$ac_ext
62423 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
62424 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
62426 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
62428 cat >>confdefs.h <<\_ACEOF
62429 #define HAVE___BUILTIN_COS 1
62430 _ACEOF
62437 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
62438 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
62439 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
62440 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
62441 echo $ECHO_N "(cached) $ECHO_C" >&6
62442 else
62446 ac_ext=cc
62447 ac_cpp='$CXXCPP $CPPFLAGS'
62448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62452 cat >conftest.$ac_ext <<_ACEOF
62453 /* confdefs.h. */
62454 _ACEOF
62455 cat confdefs.h >>conftest.$ac_ext
62456 cat >>conftest.$ac_ext <<_ACEOF
62457 /* end confdefs.h. */
62458 #include <math.h>
62460 main ()
62462 __builtin_cosl(0);
62464 return 0;
62466 _ACEOF
62467 rm -f conftest.$ac_objext
62468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62469 (eval $ac_compile) 2>conftest.er1
62470 ac_status=$?
62471 grep -v '^ *+' conftest.er1 >conftest.err
62472 rm -f conftest.er1
62473 cat conftest.err >&5
62474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62475 (exit $ac_status); } &&
62476 { ac_try='test -z "$ac_cxx_werror_flag"
62477 || test ! -s conftest.err'
62478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62479 (eval $ac_try) 2>&5
62480 ac_status=$?
62481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62482 (exit $ac_status); }; } &&
62483 { ac_try='test -s conftest.$ac_objext'
62484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62485 (eval $ac_try) 2>&5
62486 ac_status=$?
62487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62488 (exit $ac_status); }; }; then
62489 glibcxx_cv_func___builtin_cosl_use=yes
62490 else
62491 echo "$as_me: failed program was:" >&5
62492 sed 's/^/| /' conftest.$ac_ext >&5
62494 glibcxx_cv_func___builtin_cosl_use=no
62496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62497 ac_ext=c
62498 ac_cpp='$CPP $CPPFLAGS'
62499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62507 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
62508 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
62509 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
62510 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
62511 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
62512 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
62513 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
62514 echo $ECHO_N "(cached) $ECHO_C" >&6
62515 else
62517 if test x$gcc_no_link = xyes; then
62518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62520 { (exit 1); exit 1; }; }
62522 cat >conftest.$ac_ext <<_ACEOF
62523 /* confdefs.h. */
62524 _ACEOF
62525 cat confdefs.h >>conftest.$ac_ext
62526 cat >>conftest.$ac_ext <<_ACEOF
62527 /* end confdefs.h. */
62528 #include <math.h>
62530 main ()
62532 __builtin_cosl(0);
62534 return 0;
62536 _ACEOF
62537 rm -f conftest.$ac_objext conftest$ac_exeext
62538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62539 (eval $ac_link) 2>conftest.er1
62540 ac_status=$?
62541 grep -v '^ *+' conftest.er1 >conftest.err
62542 rm -f conftest.er1
62543 cat conftest.err >&5
62544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62545 (exit $ac_status); } &&
62546 { ac_try='test -z "$ac_c_werror_flag"
62547 || test ! -s conftest.err'
62548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62549 (eval $ac_try) 2>&5
62550 ac_status=$?
62551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62552 (exit $ac_status); }; } &&
62553 { ac_try='test -s conftest$ac_exeext'
62554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62555 (eval $ac_try) 2>&5
62556 ac_status=$?
62557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62558 (exit $ac_status); }; }; then
62559 glibcxx_cv_func___builtin_cosl_link=yes
62560 else
62561 echo "$as_me: failed program was:" >&5
62562 sed 's/^/| /' conftest.$ac_ext >&5
62564 glibcxx_cv_func___builtin_cosl_link=no
62566 rm -f conftest.err conftest.$ac_objext \
62567 conftest$ac_exeext conftest.$ac_ext
62572 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
62573 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
62575 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
62577 cat >>confdefs.h <<\_ACEOF
62578 #define HAVE___BUILTIN_COSL 1
62579 _ACEOF
62588 echo "$as_me:$LINENO: checking for main in -lm" >&5
62589 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
62590 if test "${ac_cv_lib_m_main+set}" = set; then
62591 echo $ECHO_N "(cached) $ECHO_C" >&6
62592 else
62593 ac_check_lib_save_LIBS=$LIBS
62594 LIBS="-lm $LIBS"
62595 if test x$gcc_no_link = xyes; then
62596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62598 { (exit 1); exit 1; }; }
62600 cat >conftest.$ac_ext <<_ACEOF
62601 /* confdefs.h. */
62602 _ACEOF
62603 cat confdefs.h >>conftest.$ac_ext
62604 cat >>conftest.$ac_ext <<_ACEOF
62605 /* end confdefs.h. */
62609 main ()
62611 main ();
62613 return 0;
62615 _ACEOF
62616 rm -f conftest.$ac_objext conftest$ac_exeext
62617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62618 (eval $ac_link) 2>conftest.er1
62619 ac_status=$?
62620 grep -v '^ *+' conftest.er1 >conftest.err
62621 rm -f conftest.er1
62622 cat conftest.err >&5
62623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62624 (exit $ac_status); } &&
62625 { ac_try='test -z "$ac_c_werror_flag"
62626 || test ! -s conftest.err'
62627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62628 (eval $ac_try) 2>&5
62629 ac_status=$?
62630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62631 (exit $ac_status); }; } &&
62632 { ac_try='test -s conftest$ac_exeext'
62633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62634 (eval $ac_try) 2>&5
62635 ac_status=$?
62636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62637 (exit $ac_status); }; }; then
62638 ac_cv_lib_m_main=yes
62639 else
62640 echo "$as_me: failed program was:" >&5
62641 sed 's/^/| /' conftest.$ac_ext >&5
62643 ac_cv_lib_m_main=no
62645 rm -f conftest.err conftest.$ac_objext \
62646 conftest$ac_exeext conftest.$ac_ext
62647 LIBS=$ac_check_lib_save_LIBS
62649 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
62650 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
62651 if test $ac_cv_lib_m_main = yes; then
62652 cat >>confdefs.h <<_ACEOF
62653 #define HAVE_LIBM 1
62654 _ACEOF
62656 LIBS="-lm $LIBS"
62661 for ac_func in copysignf
62663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62664 echo "$as_me:$LINENO: checking for $ac_func" >&5
62665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62666 if eval "test \"\${$as_ac_var+set}\" = set"; then
62667 echo $ECHO_N "(cached) $ECHO_C" >&6
62668 else
62669 if test x$gcc_no_link = xyes; then
62670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62672 { (exit 1); exit 1; }; }
62674 cat >conftest.$ac_ext <<_ACEOF
62675 /* confdefs.h. */
62676 _ACEOF
62677 cat confdefs.h >>conftest.$ac_ext
62678 cat >>conftest.$ac_ext <<_ACEOF
62679 /* end confdefs.h. */
62680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62682 #define $ac_func innocuous_$ac_func
62684 /* System header to define __stub macros and hopefully few prototypes,
62685 which can conflict with char $ac_func (); below.
62686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62687 <limits.h> exists even on freestanding compilers. */
62689 #ifdef __STDC__
62690 # include <limits.h>
62691 #else
62692 # include <assert.h>
62693 #endif
62695 #undef $ac_func
62697 /* Override any gcc2 internal prototype to avoid an error. */
62698 #ifdef __cplusplus
62699 extern "C"
62701 #endif
62702 /* We use char because int might match the return type of a gcc2
62703 builtin and then its argument prototype would still apply. */
62704 char $ac_func ();
62705 /* The GNU C library defines this for functions which it implements
62706 to always fail with ENOSYS. Some functions are actually named
62707 something starting with __ and the normal name is an alias. */
62708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62709 choke me
62710 #else
62711 char (*f) () = $ac_func;
62712 #endif
62713 #ifdef __cplusplus
62715 #endif
62718 main ()
62720 return f != $ac_func;
62722 return 0;
62724 _ACEOF
62725 rm -f conftest.$ac_objext conftest$ac_exeext
62726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62727 (eval $ac_link) 2>conftest.er1
62728 ac_status=$?
62729 grep -v '^ *+' conftest.er1 >conftest.err
62730 rm -f conftest.er1
62731 cat conftest.err >&5
62732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62733 (exit $ac_status); } &&
62734 { ac_try='test -z "$ac_c_werror_flag"
62735 || test ! -s conftest.err'
62736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62737 (eval $ac_try) 2>&5
62738 ac_status=$?
62739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62740 (exit $ac_status); }; } &&
62741 { ac_try='test -s conftest$ac_exeext'
62742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62743 (eval $ac_try) 2>&5
62744 ac_status=$?
62745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62746 (exit $ac_status); }; }; then
62747 eval "$as_ac_var=yes"
62748 else
62749 echo "$as_me: failed program was:" >&5
62750 sed 's/^/| /' conftest.$ac_ext >&5
62752 eval "$as_ac_var=no"
62754 rm -f conftest.err conftest.$ac_objext \
62755 conftest$ac_exeext conftest.$ac_ext
62757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62759 if test `eval echo '${'$as_ac_var'}'` = yes; then
62760 cat >>confdefs.h <<_ACEOF
62761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62762 _ACEOF
62764 else
62765 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
62767 done
62771 for ac_func in __signbit
62773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62774 echo "$as_me:$LINENO: checking for $ac_func" >&5
62775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62776 if eval "test \"\${$as_ac_var+set}\" = set"; then
62777 echo $ECHO_N "(cached) $ECHO_C" >&6
62778 else
62779 if test x$gcc_no_link = xyes; then
62780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62782 { (exit 1); exit 1; }; }
62784 cat >conftest.$ac_ext <<_ACEOF
62785 /* confdefs.h. */
62786 _ACEOF
62787 cat confdefs.h >>conftest.$ac_ext
62788 cat >>conftest.$ac_ext <<_ACEOF
62789 /* end confdefs.h. */
62790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62792 #define $ac_func innocuous_$ac_func
62794 /* System header to define __stub macros and hopefully few prototypes,
62795 which can conflict with char $ac_func (); below.
62796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62797 <limits.h> exists even on freestanding compilers. */
62799 #ifdef __STDC__
62800 # include <limits.h>
62801 #else
62802 # include <assert.h>
62803 #endif
62805 #undef $ac_func
62807 /* Override any gcc2 internal prototype to avoid an error. */
62808 #ifdef __cplusplus
62809 extern "C"
62811 #endif
62812 /* We use char because int might match the return type of a gcc2
62813 builtin and then its argument prototype would still apply. */
62814 char $ac_func ();
62815 /* The GNU C library defines this for functions which it implements
62816 to always fail with ENOSYS. Some functions are actually named
62817 something starting with __ and the normal name is an alias. */
62818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62819 choke me
62820 #else
62821 char (*f) () = $ac_func;
62822 #endif
62823 #ifdef __cplusplus
62825 #endif
62828 main ()
62830 return f != $ac_func;
62832 return 0;
62834 _ACEOF
62835 rm -f conftest.$ac_objext conftest$ac_exeext
62836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62837 (eval $ac_link) 2>conftest.er1
62838 ac_status=$?
62839 grep -v '^ *+' conftest.er1 >conftest.err
62840 rm -f conftest.er1
62841 cat conftest.err >&5
62842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62843 (exit $ac_status); } &&
62844 { ac_try='test -z "$ac_c_werror_flag"
62845 || test ! -s conftest.err'
62846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62847 (eval $ac_try) 2>&5
62848 ac_status=$?
62849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62850 (exit $ac_status); }; } &&
62851 { ac_try='test -s conftest$ac_exeext'
62852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62853 (eval $ac_try) 2>&5
62854 ac_status=$?
62855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62856 (exit $ac_status); }; }; then
62857 eval "$as_ac_var=yes"
62858 else
62859 echo "$as_me: failed program was:" >&5
62860 sed 's/^/| /' conftest.$ac_ext >&5
62862 eval "$as_ac_var=no"
62864 rm -f conftest.err conftest.$ac_objext \
62865 conftest$ac_exeext conftest.$ac_ext
62867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62869 if test `eval echo '${'$as_ac_var'}'` = yes; then
62870 cat >>confdefs.h <<_ACEOF
62871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62872 _ACEOF
62874 else
62875 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
62877 done
62881 for ac_func in __signbitf
62883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62884 echo "$as_me:$LINENO: checking for $ac_func" >&5
62885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62886 if eval "test \"\${$as_ac_var+set}\" = set"; then
62887 echo $ECHO_N "(cached) $ECHO_C" >&6
62888 else
62889 if test x$gcc_no_link = xyes; then
62890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62892 { (exit 1); exit 1; }; }
62894 cat >conftest.$ac_ext <<_ACEOF
62895 /* confdefs.h. */
62896 _ACEOF
62897 cat confdefs.h >>conftest.$ac_ext
62898 cat >>conftest.$ac_ext <<_ACEOF
62899 /* end confdefs.h. */
62900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62902 #define $ac_func innocuous_$ac_func
62904 /* System header to define __stub macros and hopefully few prototypes,
62905 which can conflict with char $ac_func (); below.
62906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62907 <limits.h> exists even on freestanding compilers. */
62909 #ifdef __STDC__
62910 # include <limits.h>
62911 #else
62912 # include <assert.h>
62913 #endif
62915 #undef $ac_func
62917 /* Override any gcc2 internal prototype to avoid an error. */
62918 #ifdef __cplusplus
62919 extern "C"
62921 #endif
62922 /* We use char because int might match the return type of a gcc2
62923 builtin and then its argument prototype would still apply. */
62924 char $ac_func ();
62925 /* The GNU C library defines this for functions which it implements
62926 to always fail with ENOSYS. Some functions are actually named
62927 something starting with __ and the normal name is an alias. */
62928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62929 choke me
62930 #else
62931 char (*f) () = $ac_func;
62932 #endif
62933 #ifdef __cplusplus
62935 #endif
62938 main ()
62940 return f != $ac_func;
62942 return 0;
62944 _ACEOF
62945 rm -f conftest.$ac_objext conftest$ac_exeext
62946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62947 (eval $ac_link) 2>conftest.er1
62948 ac_status=$?
62949 grep -v '^ *+' conftest.er1 >conftest.err
62950 rm -f conftest.er1
62951 cat conftest.err >&5
62952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62953 (exit $ac_status); } &&
62954 { ac_try='test -z "$ac_c_werror_flag"
62955 || test ! -s conftest.err'
62956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62957 (eval $ac_try) 2>&5
62958 ac_status=$?
62959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62960 (exit $ac_status); }; } &&
62961 { ac_try='test -s conftest$ac_exeext'
62962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62963 (eval $ac_try) 2>&5
62964 ac_status=$?
62965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62966 (exit $ac_status); }; }; then
62967 eval "$as_ac_var=yes"
62968 else
62969 echo "$as_me: failed program was:" >&5
62970 sed 's/^/| /' conftest.$ac_ext >&5
62972 eval "$as_ac_var=no"
62974 rm -f conftest.err conftest.$ac_objext \
62975 conftest$ac_exeext conftest.$ac_ext
62977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62979 if test `eval echo '${'$as_ac_var'}'` = yes; then
62980 cat >>confdefs.h <<_ACEOF
62981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62982 _ACEOF
62984 else
62985 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
62987 done
62990 if test x$ac_cv_func_copysignl = x"yes"; then
62992 for ac_func in __signbitl
62994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62995 echo "$as_me:$LINENO: checking for $ac_func" >&5
62996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62997 if eval "test \"\${$as_ac_var+set}\" = set"; then
62998 echo $ECHO_N "(cached) $ECHO_C" >&6
62999 else
63000 if test x$gcc_no_link = xyes; then
63001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63003 { (exit 1); exit 1; }; }
63005 cat >conftest.$ac_ext <<_ACEOF
63006 /* confdefs.h. */
63007 _ACEOF
63008 cat confdefs.h >>conftest.$ac_ext
63009 cat >>conftest.$ac_ext <<_ACEOF
63010 /* end confdefs.h. */
63011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63013 #define $ac_func innocuous_$ac_func
63015 /* System header to define __stub macros and hopefully few prototypes,
63016 which can conflict with char $ac_func (); below.
63017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63018 <limits.h> exists even on freestanding compilers. */
63020 #ifdef __STDC__
63021 # include <limits.h>
63022 #else
63023 # include <assert.h>
63024 #endif
63026 #undef $ac_func
63028 /* Override any gcc2 internal prototype to avoid an error. */
63029 #ifdef __cplusplus
63030 extern "C"
63032 #endif
63033 /* We use char because int might match the return type of a gcc2
63034 builtin and then its argument prototype would still apply. */
63035 char $ac_func ();
63036 /* The GNU C library defines this for functions which it implements
63037 to always fail with ENOSYS. Some functions are actually named
63038 something starting with __ and the normal name is an alias. */
63039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63040 choke me
63041 #else
63042 char (*f) () = $ac_func;
63043 #endif
63044 #ifdef __cplusplus
63046 #endif
63049 main ()
63051 return f != $ac_func;
63053 return 0;
63055 _ACEOF
63056 rm -f conftest.$ac_objext conftest$ac_exeext
63057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63058 (eval $ac_link) 2>conftest.er1
63059 ac_status=$?
63060 grep -v '^ *+' conftest.er1 >conftest.err
63061 rm -f conftest.er1
63062 cat conftest.err >&5
63063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63064 (exit $ac_status); } &&
63065 { ac_try='test -z "$ac_c_werror_flag"
63066 || test ! -s conftest.err'
63067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63068 (eval $ac_try) 2>&5
63069 ac_status=$?
63070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63071 (exit $ac_status); }; } &&
63072 { ac_try='test -s conftest$ac_exeext'
63073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63074 (eval $ac_try) 2>&5
63075 ac_status=$?
63076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63077 (exit $ac_status); }; }; then
63078 eval "$as_ac_var=yes"
63079 else
63080 echo "$as_me: failed program was:" >&5
63081 sed 's/^/| /' conftest.$ac_ext >&5
63083 eval "$as_ac_var=no"
63085 rm -f conftest.err conftest.$ac_objext \
63086 conftest$ac_exeext conftest.$ac_ext
63088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63090 if test `eval echo '${'$as_ac_var'}'` = yes; then
63091 cat >>confdefs.h <<_ACEOF
63092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63093 _ACEOF
63095 else
63096 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63098 done
63102 # Used in libmath/Makefile.am.
63103 if test -n "$LIBMATHOBJS"; then
63104 need_libmath=yes
63109 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63110 ac_save_CXXFLAGS="$CXXFLAGS"
63111 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63114 echo "$as_me:$LINENO: checking for strtold declaration" >&5
63115 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
63116 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63117 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
63118 echo $ECHO_N "(cached) $ECHO_C" >&6
63119 else
63123 ac_ext=cc
63124 ac_cpp='$CXXCPP $CPPFLAGS'
63125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63129 cat >conftest.$ac_ext <<_ACEOF
63130 /* confdefs.h. */
63131 _ACEOF
63132 cat confdefs.h >>conftest.$ac_ext
63133 cat >>conftest.$ac_ext <<_ACEOF
63134 /* end confdefs.h. */
63135 #include <stdlib.h>
63137 main ()
63139 strtold(0, 0);
63141 return 0;
63143 _ACEOF
63144 rm -f conftest.$ac_objext
63145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63146 (eval $ac_compile) 2>conftest.er1
63147 ac_status=$?
63148 grep -v '^ *+' conftest.er1 >conftest.err
63149 rm -f conftest.er1
63150 cat conftest.err >&5
63151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63152 (exit $ac_status); } &&
63153 { ac_try='test -z "$ac_cxx_werror_flag"
63154 || test ! -s conftest.err'
63155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63156 (eval $ac_try) 2>&5
63157 ac_status=$?
63158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63159 (exit $ac_status); }; } &&
63160 { ac_try='test -s conftest.$ac_objext'
63161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63162 (eval $ac_try) 2>&5
63163 ac_status=$?
63164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63165 (exit $ac_status); }; }; then
63166 glibcxx_cv_func_strtold_use=yes
63167 else
63168 echo "$as_me: failed program was:" >&5
63169 sed 's/^/| /' conftest.$ac_ext >&5
63171 glibcxx_cv_func_strtold_use=no
63173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63174 ac_ext=c
63175 ac_cpp='$CPP $CPPFLAGS'
63176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63184 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
63185 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
63186 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63188 for ac_func in strtold
63190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63191 echo "$as_me:$LINENO: checking for $ac_func" >&5
63192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63193 if eval "test \"\${$as_ac_var+set}\" = set"; then
63194 echo $ECHO_N "(cached) $ECHO_C" >&6
63195 else
63196 if test x$gcc_no_link = xyes; then
63197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63199 { (exit 1); exit 1; }; }
63201 cat >conftest.$ac_ext <<_ACEOF
63202 /* confdefs.h. */
63203 _ACEOF
63204 cat confdefs.h >>conftest.$ac_ext
63205 cat >>conftest.$ac_ext <<_ACEOF
63206 /* end confdefs.h. */
63207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63209 #define $ac_func innocuous_$ac_func
63211 /* System header to define __stub macros and hopefully few prototypes,
63212 which can conflict with char $ac_func (); below.
63213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63214 <limits.h> exists even on freestanding compilers. */
63216 #ifdef __STDC__
63217 # include <limits.h>
63218 #else
63219 # include <assert.h>
63220 #endif
63222 #undef $ac_func
63224 /* Override any gcc2 internal prototype to avoid an error. */
63225 #ifdef __cplusplus
63226 extern "C"
63228 #endif
63229 /* We use char because int might match the return type of a gcc2
63230 builtin and then its argument prototype would still apply. */
63231 char $ac_func ();
63232 /* The GNU C library defines this for functions which it implements
63233 to always fail with ENOSYS. Some functions are actually named
63234 something starting with __ and the normal name is an alias. */
63235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63236 choke me
63237 #else
63238 char (*f) () = $ac_func;
63239 #endif
63240 #ifdef __cplusplus
63242 #endif
63245 main ()
63247 return f != $ac_func;
63249 return 0;
63251 _ACEOF
63252 rm -f conftest.$ac_objext conftest$ac_exeext
63253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63254 (eval $ac_link) 2>conftest.er1
63255 ac_status=$?
63256 grep -v '^ *+' conftest.er1 >conftest.err
63257 rm -f conftest.er1
63258 cat conftest.err >&5
63259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63260 (exit $ac_status); } &&
63261 { ac_try='test -z "$ac_c_werror_flag"
63262 || test ! -s conftest.err'
63263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63264 (eval $ac_try) 2>&5
63265 ac_status=$?
63266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63267 (exit $ac_status); }; } &&
63268 { ac_try='test -s conftest$ac_exeext'
63269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63270 (eval $ac_try) 2>&5
63271 ac_status=$?
63272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63273 (exit $ac_status); }; }; then
63274 eval "$as_ac_var=yes"
63275 else
63276 echo "$as_me: failed program was:" >&5
63277 sed 's/^/| /' conftest.$ac_ext >&5
63279 eval "$as_ac_var=no"
63281 rm -f conftest.err conftest.$ac_objext \
63282 conftest$ac_exeext conftest.$ac_ext
63284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63286 if test `eval echo '${'$as_ac_var'}'` = yes; then
63287 cat >>confdefs.h <<_ACEOF
63288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63289 _ACEOF
63292 done
63300 echo "$as_me:$LINENO: checking for strtof declaration" >&5
63301 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
63302 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63303 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
63304 echo $ECHO_N "(cached) $ECHO_C" >&6
63305 else
63309 ac_ext=cc
63310 ac_cpp='$CXXCPP $CPPFLAGS'
63311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63315 cat >conftest.$ac_ext <<_ACEOF
63316 /* confdefs.h. */
63317 _ACEOF
63318 cat confdefs.h >>conftest.$ac_ext
63319 cat >>conftest.$ac_ext <<_ACEOF
63320 /* end confdefs.h. */
63321 #include <stdlib.h>
63323 main ()
63325 strtof(0, 0);
63327 return 0;
63329 _ACEOF
63330 rm -f conftest.$ac_objext
63331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63332 (eval $ac_compile) 2>conftest.er1
63333 ac_status=$?
63334 grep -v '^ *+' conftest.er1 >conftest.err
63335 rm -f conftest.er1
63336 cat conftest.err >&5
63337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63338 (exit $ac_status); } &&
63339 { ac_try='test -z "$ac_cxx_werror_flag"
63340 || test ! -s conftest.err'
63341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63342 (eval $ac_try) 2>&5
63343 ac_status=$?
63344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63345 (exit $ac_status); }; } &&
63346 { ac_try='test -s conftest.$ac_objext'
63347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63348 (eval $ac_try) 2>&5
63349 ac_status=$?
63350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63351 (exit $ac_status); }; }; then
63352 glibcxx_cv_func_strtof_use=yes
63353 else
63354 echo "$as_me: failed program was:" >&5
63355 sed 's/^/| /' conftest.$ac_ext >&5
63357 glibcxx_cv_func_strtof_use=no
63359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63360 ac_ext=c
63361 ac_cpp='$CPP $CPPFLAGS'
63362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63370 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
63371 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
63372 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63374 for ac_func in strtof
63376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63377 echo "$as_me:$LINENO: checking for $ac_func" >&5
63378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63379 if eval "test \"\${$as_ac_var+set}\" = set"; then
63380 echo $ECHO_N "(cached) $ECHO_C" >&6
63381 else
63382 if test x$gcc_no_link = xyes; then
63383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63385 { (exit 1); exit 1; }; }
63387 cat >conftest.$ac_ext <<_ACEOF
63388 /* confdefs.h. */
63389 _ACEOF
63390 cat confdefs.h >>conftest.$ac_ext
63391 cat >>conftest.$ac_ext <<_ACEOF
63392 /* end confdefs.h. */
63393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63395 #define $ac_func innocuous_$ac_func
63397 /* System header to define __stub macros and hopefully few prototypes,
63398 which can conflict with char $ac_func (); below.
63399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63400 <limits.h> exists even on freestanding compilers. */
63402 #ifdef __STDC__
63403 # include <limits.h>
63404 #else
63405 # include <assert.h>
63406 #endif
63408 #undef $ac_func
63410 /* Override any gcc2 internal prototype to avoid an error. */
63411 #ifdef __cplusplus
63412 extern "C"
63414 #endif
63415 /* We use char because int might match the return type of a gcc2
63416 builtin and then its argument prototype would still apply. */
63417 char $ac_func ();
63418 /* The GNU C library defines this for functions which it implements
63419 to always fail with ENOSYS. Some functions are actually named
63420 something starting with __ and the normal name is an alias. */
63421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63422 choke me
63423 #else
63424 char (*f) () = $ac_func;
63425 #endif
63426 #ifdef __cplusplus
63428 #endif
63431 main ()
63433 return f != $ac_func;
63435 return 0;
63437 _ACEOF
63438 rm -f conftest.$ac_objext conftest$ac_exeext
63439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63440 (eval $ac_link) 2>conftest.er1
63441 ac_status=$?
63442 grep -v '^ *+' conftest.er1 >conftest.err
63443 rm -f conftest.er1
63444 cat conftest.err >&5
63445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63446 (exit $ac_status); } &&
63447 { ac_try='test -z "$ac_c_werror_flag"
63448 || test ! -s conftest.err'
63449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63450 (eval $ac_try) 2>&5
63451 ac_status=$?
63452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63453 (exit $ac_status); }; } &&
63454 { ac_try='test -s conftest$ac_exeext'
63455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63456 (eval $ac_try) 2>&5
63457 ac_status=$?
63458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63459 (exit $ac_status); }; }; then
63460 eval "$as_ac_var=yes"
63461 else
63462 echo "$as_me: failed program was:" >&5
63463 sed 's/^/| /' conftest.$ac_ext >&5
63465 eval "$as_ac_var=no"
63467 rm -f conftest.err conftest.$ac_objext \
63468 conftest$ac_exeext conftest.$ac_ext
63470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63472 if test `eval echo '${'$as_ac_var'}'` = yes; then
63473 cat >>confdefs.h <<_ACEOF
63474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63475 _ACEOF
63478 done
63486 CXXFLAGS="$ac_save_CXXFLAGS"
63489 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
63490 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
63491 if test "${glibcxx_cv_S_ISREG+set}" = set; then
63492 echo $ECHO_N "(cached) $ECHO_C" >&6
63493 else
63495 if test x$gcc_no_link = xyes; then
63496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63498 { (exit 1); exit 1; }; }
63500 cat >conftest.$ac_ext <<_ACEOF
63501 /* confdefs.h. */
63502 _ACEOF
63503 cat confdefs.h >>conftest.$ac_ext
63504 cat >>conftest.$ac_ext <<_ACEOF
63505 /* end confdefs.h. */
63506 #include <sys/stat.h>
63508 main ()
63510 struct stat buffer;
63511 fstat(0, &buffer);
63512 S_ISREG(buffer.st_mode);
63514 return 0;
63516 _ACEOF
63517 rm -f conftest.$ac_objext conftest$ac_exeext
63518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63519 (eval $ac_link) 2>conftest.er1
63520 ac_status=$?
63521 grep -v '^ *+' conftest.er1 >conftest.err
63522 rm -f conftest.er1
63523 cat conftest.err >&5
63524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63525 (exit $ac_status); } &&
63526 { ac_try='test -z "$ac_c_werror_flag"
63527 || test ! -s conftest.err'
63528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63529 (eval $ac_try) 2>&5
63530 ac_status=$?
63531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63532 (exit $ac_status); }; } &&
63533 { ac_try='test -s conftest$ac_exeext'
63534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63535 (eval $ac_try) 2>&5
63536 ac_status=$?
63537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63538 (exit $ac_status); }; }; then
63539 glibcxx_cv_S_ISREG=yes
63540 else
63541 echo "$as_me: failed program was:" >&5
63542 sed 's/^/| /' conftest.$ac_ext >&5
63544 glibcxx_cv_S_ISREG=no
63546 rm -f conftest.err conftest.$ac_objext \
63547 conftest$ac_exeext conftest.$ac_ext
63551 if test "${glibcxx_cv_S_IFREG+set}" = set; then
63552 echo $ECHO_N "(cached) $ECHO_C" >&6
63553 else
63555 if test x$gcc_no_link = xyes; then
63556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63558 { (exit 1); exit 1; }; }
63560 cat >conftest.$ac_ext <<_ACEOF
63561 /* confdefs.h. */
63562 _ACEOF
63563 cat confdefs.h >>conftest.$ac_ext
63564 cat >>conftest.$ac_ext <<_ACEOF
63565 /* end confdefs.h. */
63566 #include <sys/stat.h>
63568 main ()
63570 struct stat buffer;
63571 fstat(0, &buffer);
63572 S_IFREG & buffer.st_mode;
63574 return 0;
63576 _ACEOF
63577 rm -f conftest.$ac_objext conftest$ac_exeext
63578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63579 (eval $ac_link) 2>conftest.er1
63580 ac_status=$?
63581 grep -v '^ *+' conftest.er1 >conftest.err
63582 rm -f conftest.er1
63583 cat conftest.err >&5
63584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63585 (exit $ac_status); } &&
63586 { ac_try='test -z "$ac_c_werror_flag"
63587 || test ! -s conftest.err'
63588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63589 (eval $ac_try) 2>&5
63590 ac_status=$?
63591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63592 (exit $ac_status); }; } &&
63593 { ac_try='test -s conftest$ac_exeext'
63594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63595 (eval $ac_try) 2>&5
63596 ac_status=$?
63597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63598 (exit $ac_status); }; }; then
63599 glibcxx_cv_S_IFREG=yes
63600 else
63601 echo "$as_me: failed program was:" >&5
63602 sed 's/^/| /' conftest.$ac_ext >&5
63604 glibcxx_cv_S_IFREG=no
63606 rm -f conftest.err conftest.$ac_objext \
63607 conftest$ac_exeext conftest.$ac_ext
63611 res=no
63612 if test $glibcxx_cv_S_ISREG = yes; then
63614 cat >>confdefs.h <<\_ACEOF
63615 #define HAVE_S_ISREG 1
63616 _ACEOF
63618 res=S_ISREG
63619 elif test $glibcxx_cv_S_IFREG = yes; then
63621 cat >>confdefs.h <<\_ACEOF
63622 #define HAVE_S_IFREG 1
63623 _ACEOF
63625 res=S_IFREG
63627 echo "$as_me:$LINENO: result: $res" >&5
63628 echo "${ECHO_T}$res" >&6
63630 cat >>confdefs.h <<\_ACEOF
63631 #define HAVE_SIGSETJMP 1
63632 _ACEOF
63634 cat >>confdefs.h <<\_ACEOF
63635 #define HAVE_GETPAGESIZE 1
63636 _ACEOF
63638 cat >>confdefs.h <<\_ACEOF
63639 #define HAVE_WRITEV 1
63640 _ACEOF
63642 cat >>confdefs.h <<\_ACEOF
63643 #define HAVE_INT64_T 1
63644 _ACEOF
63647 cat >>confdefs.h <<\_ACEOF
63648 #define HAVE_LIBM 1
63649 _ACEOF
63651 cat >>confdefs.h <<\_ACEOF
63652 #define HAVE_COPYSIGN 1
63653 _ACEOF
63655 cat >>confdefs.h <<\_ACEOF
63656 #define HAVE_FINITE 1
63657 _ACEOF
63659 cat >>confdefs.h <<\_ACEOF
63660 #define HAVE_HYPOT 1
63661 _ACEOF
63663 cat >>confdefs.h <<\_ACEOF
63664 #define HAVE_ISNAN 1
63665 _ACEOF
63667 cat >>confdefs.h <<\_ACEOF
63668 #define HAVE_ISINF 1
63669 _ACEOF
63672 cat >>confdefs.h <<\_ACEOF
63673 #define HAVE_LDEXPF 1
63674 _ACEOF
63676 cat >>confdefs.h <<\_ACEOF
63677 #define HAVE_MODF 1
63678 _ACEOF
63680 cat >>confdefs.h <<\_ACEOF
63681 #define HAVE_SQRTF 1
63682 _ACEOF
63686 *-darwin*)
63687 # Darwin versions vary, but the linker should work in a cross environment,
63688 # so we just check for all the features here.
63689 # Check for available headers.
63703 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
63704 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
63705 sys/types.h
63707 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63709 echo "$as_me:$LINENO: checking for $ac_header" >&5
63710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63712 echo $ECHO_N "(cached) $ECHO_C" >&6
63714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63716 else
63717 # Is the header compilable?
63718 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63719 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
63720 cat >conftest.$ac_ext <<_ACEOF
63721 /* confdefs.h. */
63722 _ACEOF
63723 cat confdefs.h >>conftest.$ac_ext
63724 cat >>conftest.$ac_ext <<_ACEOF
63725 /* end confdefs.h. */
63726 $ac_includes_default
63727 #include <$ac_header>
63728 _ACEOF
63729 rm -f conftest.$ac_objext
63730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63731 (eval $ac_compile) 2>conftest.er1
63732 ac_status=$?
63733 grep -v '^ *+' conftest.er1 >conftest.err
63734 rm -f conftest.er1
63735 cat conftest.err >&5
63736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63737 (exit $ac_status); } &&
63738 { ac_try='test -z "$ac_c_werror_flag"
63739 || test ! -s conftest.err'
63740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63741 (eval $ac_try) 2>&5
63742 ac_status=$?
63743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63744 (exit $ac_status); }; } &&
63745 { ac_try='test -s conftest.$ac_objext'
63746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63747 (eval $ac_try) 2>&5
63748 ac_status=$?
63749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63750 (exit $ac_status); }; }; then
63751 ac_header_compiler=yes
63752 else
63753 echo "$as_me: failed program was:" >&5
63754 sed 's/^/| /' conftest.$ac_ext >&5
63756 ac_header_compiler=no
63758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63759 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63760 echo "${ECHO_T}$ac_header_compiler" >&6
63762 # Is the header present?
63763 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63764 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63765 cat >conftest.$ac_ext <<_ACEOF
63766 /* confdefs.h. */
63767 _ACEOF
63768 cat confdefs.h >>conftest.$ac_ext
63769 cat >>conftest.$ac_ext <<_ACEOF
63770 /* end confdefs.h. */
63771 #include <$ac_header>
63772 _ACEOF
63773 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63774 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63775 ac_status=$?
63776 grep -v '^ *+' conftest.er1 >conftest.err
63777 rm -f conftest.er1
63778 cat conftest.err >&5
63779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63780 (exit $ac_status); } >/dev/null; then
63781 if test -s conftest.err; then
63782 ac_cpp_err=$ac_c_preproc_warn_flag
63783 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63784 else
63785 ac_cpp_err=
63787 else
63788 ac_cpp_err=yes
63790 if test -z "$ac_cpp_err"; then
63791 ac_header_preproc=yes
63792 else
63793 echo "$as_me: failed program was:" >&5
63794 sed 's/^/| /' conftest.$ac_ext >&5
63796 ac_header_preproc=no
63798 rm -f conftest.err conftest.$ac_ext
63799 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63800 echo "${ECHO_T}$ac_header_preproc" >&6
63802 # So? What about this header?
63803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63804 yes:no: )
63805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
63808 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
63809 ac_header_preproc=yes
63811 no:yes:* )
63812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63815 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63816 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
63817 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
63818 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
63819 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
63820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63821 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63822 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
63823 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
63825 cat <<\_ASBOX
63826 ## ----------------------------------------- ##
63827 ## Report this to the package-unused lists. ##
63828 ## ----------------------------------------- ##
63829 _ASBOX
63831 sed "s/^/$as_me: WARNING: /" >&2
63833 esac
63834 echo "$as_me:$LINENO: checking for $ac_header" >&5
63835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63837 echo $ECHO_N "(cached) $ECHO_C" >&6
63838 else
63839 eval "$as_ac_Header=\$ac_header_preproc"
63841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63845 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63846 cat >>confdefs.h <<_ACEOF
63847 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63848 _ACEOF
63852 done
63855 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
63857 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63858 ac_save_CXXFLAGS="$CXXFLAGS"
63859 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63861 echo "$as_me:$LINENO: checking for sin in -lm" >&5
63862 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
63863 if test "${ac_cv_lib_m_sin+set}" = set; then
63864 echo $ECHO_N "(cached) $ECHO_C" >&6
63865 else
63866 ac_check_lib_save_LIBS=$LIBS
63867 LIBS="-lm $LIBS"
63868 if test x$gcc_no_link = xyes; then
63869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63871 { (exit 1); exit 1; }; }
63873 cat >conftest.$ac_ext <<_ACEOF
63874 /* confdefs.h. */
63875 _ACEOF
63876 cat confdefs.h >>conftest.$ac_ext
63877 cat >>conftest.$ac_ext <<_ACEOF
63878 /* end confdefs.h. */
63880 /* Override any gcc2 internal prototype to avoid an error. */
63881 #ifdef __cplusplus
63882 extern "C"
63883 #endif
63884 /* We use char because int might match the return type of a gcc2
63885 builtin and then its argument prototype would still apply. */
63886 char sin ();
63888 main ()
63890 sin ();
63892 return 0;
63894 _ACEOF
63895 rm -f conftest.$ac_objext conftest$ac_exeext
63896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63897 (eval $ac_link) 2>conftest.er1
63898 ac_status=$?
63899 grep -v '^ *+' conftest.er1 >conftest.err
63900 rm -f conftest.er1
63901 cat conftest.err >&5
63902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63903 (exit $ac_status); } &&
63904 { ac_try='test -z "$ac_c_werror_flag"
63905 || test ! -s conftest.err'
63906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63907 (eval $ac_try) 2>&5
63908 ac_status=$?
63909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63910 (exit $ac_status); }; } &&
63911 { ac_try='test -s conftest$ac_exeext'
63912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63913 (eval $ac_try) 2>&5
63914 ac_status=$?
63915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63916 (exit $ac_status); }; }; then
63917 ac_cv_lib_m_sin=yes
63918 else
63919 echo "$as_me: failed program was:" >&5
63920 sed 's/^/| /' conftest.$ac_ext >&5
63922 ac_cv_lib_m_sin=no
63924 rm -f conftest.err conftest.$ac_objext \
63925 conftest$ac_exeext conftest.$ac_ext
63926 LIBS=$ac_check_lib_save_LIBS
63928 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
63929 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
63930 if test $ac_cv_lib_m_sin = yes; then
63931 libm="-lm"
63934 ac_save_LIBS="$LIBS"
63935 LIBS="$LIBS $libm"
63939 echo "$as_me:$LINENO: checking for isinf declaration" >&5
63940 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
63941 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63942 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
63943 echo $ECHO_N "(cached) $ECHO_C" >&6
63944 else
63948 ac_ext=cc
63949 ac_cpp='$CXXCPP $CPPFLAGS'
63950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63954 cat >conftest.$ac_ext <<_ACEOF
63955 /* confdefs.h. */
63956 _ACEOF
63957 cat confdefs.h >>conftest.$ac_ext
63958 cat >>conftest.$ac_ext <<_ACEOF
63959 /* end confdefs.h. */
63960 #include <math.h>
63961 #ifdef HAVE_IEEEFP_H
63962 #include <ieeefp.h>
63963 #endif
63966 main ()
63968 isinf(0);
63970 return 0;
63972 _ACEOF
63973 rm -f conftest.$ac_objext
63974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63975 (eval $ac_compile) 2>conftest.er1
63976 ac_status=$?
63977 grep -v '^ *+' conftest.er1 >conftest.err
63978 rm -f conftest.er1
63979 cat conftest.err >&5
63980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63981 (exit $ac_status); } &&
63982 { ac_try='test -z "$ac_cxx_werror_flag"
63983 || test ! -s conftest.err'
63984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63985 (eval $ac_try) 2>&5
63986 ac_status=$?
63987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63988 (exit $ac_status); }; } &&
63989 { ac_try='test -s conftest.$ac_objext'
63990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63991 (eval $ac_try) 2>&5
63992 ac_status=$?
63993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63994 (exit $ac_status); }; }; then
63995 glibcxx_cv_func_isinf_use=yes
63996 else
63997 echo "$as_me: failed program was:" >&5
63998 sed 's/^/| /' conftest.$ac_ext >&5
64000 glibcxx_cv_func_isinf_use=no
64002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64003 ac_ext=c
64004 ac_cpp='$CPP $CPPFLAGS'
64005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64013 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
64014 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
64016 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64018 for ac_func in isinf
64020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64021 echo "$as_me:$LINENO: checking for $ac_func" >&5
64022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64023 if eval "test \"\${$as_ac_var+set}\" = set"; then
64024 echo $ECHO_N "(cached) $ECHO_C" >&6
64025 else
64026 if test x$gcc_no_link = xyes; then
64027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64029 { (exit 1); exit 1; }; }
64031 cat >conftest.$ac_ext <<_ACEOF
64032 /* confdefs.h. */
64033 _ACEOF
64034 cat confdefs.h >>conftest.$ac_ext
64035 cat >>conftest.$ac_ext <<_ACEOF
64036 /* end confdefs.h. */
64037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64039 #define $ac_func innocuous_$ac_func
64041 /* System header to define __stub macros and hopefully few prototypes,
64042 which can conflict with char $ac_func (); below.
64043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64044 <limits.h> exists even on freestanding compilers. */
64046 #ifdef __STDC__
64047 # include <limits.h>
64048 #else
64049 # include <assert.h>
64050 #endif
64052 #undef $ac_func
64054 /* Override any gcc2 internal prototype to avoid an error. */
64055 #ifdef __cplusplus
64056 extern "C"
64058 #endif
64059 /* We use char because int might match the return type of a gcc2
64060 builtin and then its argument prototype would still apply. */
64061 char $ac_func ();
64062 /* The GNU C library defines this for functions which it implements
64063 to always fail with ENOSYS. Some functions are actually named
64064 something starting with __ and the normal name is an alias. */
64065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64066 choke me
64067 #else
64068 char (*f) () = $ac_func;
64069 #endif
64070 #ifdef __cplusplus
64072 #endif
64075 main ()
64077 return f != $ac_func;
64079 return 0;
64081 _ACEOF
64082 rm -f conftest.$ac_objext conftest$ac_exeext
64083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64084 (eval $ac_link) 2>conftest.er1
64085 ac_status=$?
64086 grep -v '^ *+' conftest.er1 >conftest.err
64087 rm -f conftest.er1
64088 cat conftest.err >&5
64089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64090 (exit $ac_status); } &&
64091 { ac_try='test -z "$ac_c_werror_flag"
64092 || test ! -s conftest.err'
64093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64094 (eval $ac_try) 2>&5
64095 ac_status=$?
64096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64097 (exit $ac_status); }; } &&
64098 { ac_try='test -s conftest$ac_exeext'
64099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64100 (eval $ac_try) 2>&5
64101 ac_status=$?
64102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64103 (exit $ac_status); }; }; then
64104 eval "$as_ac_var=yes"
64105 else
64106 echo "$as_me: failed program was:" >&5
64107 sed 's/^/| /' conftest.$ac_ext >&5
64109 eval "$as_ac_var=no"
64111 rm -f conftest.err conftest.$ac_objext \
64112 conftest$ac_exeext conftest.$ac_ext
64114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64116 if test `eval echo '${'$as_ac_var'}'` = yes; then
64117 cat >>confdefs.h <<_ACEOF
64118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64119 _ACEOF
64122 done
64124 else
64126 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
64127 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
64128 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64129 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
64130 echo $ECHO_N "(cached) $ECHO_C" >&6
64131 else
64135 ac_ext=cc
64136 ac_cpp='$CXXCPP $CPPFLAGS'
64137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64141 cat >conftest.$ac_ext <<_ACEOF
64142 /* confdefs.h. */
64143 _ACEOF
64144 cat confdefs.h >>conftest.$ac_ext
64145 cat >>conftest.$ac_ext <<_ACEOF
64146 /* end confdefs.h. */
64147 #include <math.h>
64148 #ifdef HAVE_IEEEFP_H
64149 #include <ieeefp.h>
64150 #endif
64153 main ()
64155 _isinf(0);
64157 return 0;
64159 _ACEOF
64160 rm -f conftest.$ac_objext
64161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64162 (eval $ac_compile) 2>conftest.er1
64163 ac_status=$?
64164 grep -v '^ *+' conftest.er1 >conftest.err
64165 rm -f conftest.er1
64166 cat conftest.err >&5
64167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64168 (exit $ac_status); } &&
64169 { ac_try='test -z "$ac_cxx_werror_flag"
64170 || test ! -s conftest.err'
64171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64172 (eval $ac_try) 2>&5
64173 ac_status=$?
64174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64175 (exit $ac_status); }; } &&
64176 { ac_try='test -s conftest.$ac_objext'
64177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64178 (eval $ac_try) 2>&5
64179 ac_status=$?
64180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64181 (exit $ac_status); }; }; then
64182 glibcxx_cv_func__isinf_use=yes
64183 else
64184 echo "$as_me: failed program was:" >&5
64185 sed 's/^/| /' conftest.$ac_ext >&5
64187 glibcxx_cv_func__isinf_use=no
64189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64190 ac_ext=c
64191 ac_cpp='$CPP $CPPFLAGS'
64192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64200 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
64201 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
64203 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64205 for ac_func in _isinf
64207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64208 echo "$as_me:$LINENO: checking for $ac_func" >&5
64209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64210 if eval "test \"\${$as_ac_var+set}\" = set"; then
64211 echo $ECHO_N "(cached) $ECHO_C" >&6
64212 else
64213 if test x$gcc_no_link = xyes; then
64214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64216 { (exit 1); exit 1; }; }
64218 cat >conftest.$ac_ext <<_ACEOF
64219 /* confdefs.h. */
64220 _ACEOF
64221 cat confdefs.h >>conftest.$ac_ext
64222 cat >>conftest.$ac_ext <<_ACEOF
64223 /* end confdefs.h. */
64224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64226 #define $ac_func innocuous_$ac_func
64228 /* System header to define __stub macros and hopefully few prototypes,
64229 which can conflict with char $ac_func (); below.
64230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64231 <limits.h> exists even on freestanding compilers. */
64233 #ifdef __STDC__
64234 # include <limits.h>
64235 #else
64236 # include <assert.h>
64237 #endif
64239 #undef $ac_func
64241 /* Override any gcc2 internal prototype to avoid an error. */
64242 #ifdef __cplusplus
64243 extern "C"
64245 #endif
64246 /* We use char because int might match the return type of a gcc2
64247 builtin and then its argument prototype would still apply. */
64248 char $ac_func ();
64249 /* The GNU C library defines this for functions which it implements
64250 to always fail with ENOSYS. Some functions are actually named
64251 something starting with __ and the normal name is an alias. */
64252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64253 choke me
64254 #else
64255 char (*f) () = $ac_func;
64256 #endif
64257 #ifdef __cplusplus
64259 #endif
64262 main ()
64264 return f != $ac_func;
64266 return 0;
64268 _ACEOF
64269 rm -f conftest.$ac_objext conftest$ac_exeext
64270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64271 (eval $ac_link) 2>conftest.er1
64272 ac_status=$?
64273 grep -v '^ *+' conftest.er1 >conftest.err
64274 rm -f conftest.er1
64275 cat conftest.err >&5
64276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64277 (exit $ac_status); } &&
64278 { ac_try='test -z "$ac_c_werror_flag"
64279 || test ! -s conftest.err'
64280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64281 (eval $ac_try) 2>&5
64282 ac_status=$?
64283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64284 (exit $ac_status); }; } &&
64285 { ac_try='test -s conftest$ac_exeext'
64286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64287 (eval $ac_try) 2>&5
64288 ac_status=$?
64289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64290 (exit $ac_status); }; }; then
64291 eval "$as_ac_var=yes"
64292 else
64293 echo "$as_me: failed program was:" >&5
64294 sed 's/^/| /' conftest.$ac_ext >&5
64296 eval "$as_ac_var=no"
64298 rm -f conftest.err conftest.$ac_objext \
64299 conftest$ac_exeext conftest.$ac_ext
64301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64303 if test `eval echo '${'$as_ac_var'}'` = yes; then
64304 cat >>confdefs.h <<_ACEOF
64305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64306 _ACEOF
64309 done
64319 echo "$as_me:$LINENO: checking for isnan declaration" >&5
64320 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
64321 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64322 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
64323 echo $ECHO_N "(cached) $ECHO_C" >&6
64324 else
64328 ac_ext=cc
64329 ac_cpp='$CXXCPP $CPPFLAGS'
64330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64334 cat >conftest.$ac_ext <<_ACEOF
64335 /* confdefs.h. */
64336 _ACEOF
64337 cat confdefs.h >>conftest.$ac_ext
64338 cat >>conftest.$ac_ext <<_ACEOF
64339 /* end confdefs.h. */
64340 #include <math.h>
64341 #ifdef HAVE_IEEEFP_H
64342 #include <ieeefp.h>
64343 #endif
64346 main ()
64348 isnan(0);
64350 return 0;
64352 _ACEOF
64353 rm -f conftest.$ac_objext
64354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64355 (eval $ac_compile) 2>conftest.er1
64356 ac_status=$?
64357 grep -v '^ *+' conftest.er1 >conftest.err
64358 rm -f conftest.er1
64359 cat conftest.err >&5
64360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64361 (exit $ac_status); } &&
64362 { ac_try='test -z "$ac_cxx_werror_flag"
64363 || test ! -s conftest.err'
64364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64365 (eval $ac_try) 2>&5
64366 ac_status=$?
64367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64368 (exit $ac_status); }; } &&
64369 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
64375 glibcxx_cv_func_isnan_use=yes
64376 else
64377 echo "$as_me: failed program was:" >&5
64378 sed 's/^/| /' conftest.$ac_ext >&5
64380 glibcxx_cv_func_isnan_use=no
64382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64383 ac_ext=c
64384 ac_cpp='$CPP $CPPFLAGS'
64385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64393 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
64394 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
64396 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64398 for ac_func in isnan
64400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64401 echo "$as_me:$LINENO: checking for $ac_func" >&5
64402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64403 if eval "test \"\${$as_ac_var+set}\" = set"; then
64404 echo $ECHO_N "(cached) $ECHO_C" >&6
64405 else
64406 if test x$gcc_no_link = xyes; then
64407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64409 { (exit 1); exit 1; }; }
64411 cat >conftest.$ac_ext <<_ACEOF
64412 /* confdefs.h. */
64413 _ACEOF
64414 cat confdefs.h >>conftest.$ac_ext
64415 cat >>conftest.$ac_ext <<_ACEOF
64416 /* end confdefs.h. */
64417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64419 #define $ac_func innocuous_$ac_func
64421 /* System header to define __stub macros and hopefully few prototypes,
64422 which can conflict with char $ac_func (); below.
64423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64424 <limits.h> exists even on freestanding compilers. */
64426 #ifdef __STDC__
64427 # include <limits.h>
64428 #else
64429 # include <assert.h>
64430 #endif
64432 #undef $ac_func
64434 /* Override any gcc2 internal prototype to avoid an error. */
64435 #ifdef __cplusplus
64436 extern "C"
64438 #endif
64439 /* We use char because int might match the return type of a gcc2
64440 builtin and then its argument prototype would still apply. */
64441 char $ac_func ();
64442 /* The GNU C library defines this for functions which it implements
64443 to always fail with ENOSYS. Some functions are actually named
64444 something starting with __ and the normal name is an alias. */
64445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64446 choke me
64447 #else
64448 char (*f) () = $ac_func;
64449 #endif
64450 #ifdef __cplusplus
64452 #endif
64455 main ()
64457 return f != $ac_func;
64459 return 0;
64461 _ACEOF
64462 rm -f conftest.$ac_objext conftest$ac_exeext
64463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64464 (eval $ac_link) 2>conftest.er1
64465 ac_status=$?
64466 grep -v '^ *+' conftest.er1 >conftest.err
64467 rm -f conftest.er1
64468 cat conftest.err >&5
64469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64470 (exit $ac_status); } &&
64471 { ac_try='test -z "$ac_c_werror_flag"
64472 || test ! -s conftest.err'
64473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64474 (eval $ac_try) 2>&5
64475 ac_status=$?
64476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64477 (exit $ac_status); }; } &&
64478 { ac_try='test -s conftest$ac_exeext'
64479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64480 (eval $ac_try) 2>&5
64481 ac_status=$?
64482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64483 (exit $ac_status); }; }; then
64484 eval "$as_ac_var=yes"
64485 else
64486 echo "$as_me: failed program was:" >&5
64487 sed 's/^/| /' conftest.$ac_ext >&5
64489 eval "$as_ac_var=no"
64491 rm -f conftest.err conftest.$ac_objext \
64492 conftest$ac_exeext conftest.$ac_ext
64494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64496 if test `eval echo '${'$as_ac_var'}'` = yes; then
64497 cat >>confdefs.h <<_ACEOF
64498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64499 _ACEOF
64502 done
64504 else
64506 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
64507 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
64508 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64509 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
64510 echo $ECHO_N "(cached) $ECHO_C" >&6
64511 else
64515 ac_ext=cc
64516 ac_cpp='$CXXCPP $CPPFLAGS'
64517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64521 cat >conftest.$ac_ext <<_ACEOF
64522 /* confdefs.h. */
64523 _ACEOF
64524 cat confdefs.h >>conftest.$ac_ext
64525 cat >>conftest.$ac_ext <<_ACEOF
64526 /* end confdefs.h. */
64527 #include <math.h>
64528 #ifdef HAVE_IEEEFP_H
64529 #include <ieeefp.h>
64530 #endif
64533 main ()
64535 _isnan(0);
64537 return 0;
64539 _ACEOF
64540 rm -f conftest.$ac_objext
64541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64542 (eval $ac_compile) 2>conftest.er1
64543 ac_status=$?
64544 grep -v '^ *+' conftest.er1 >conftest.err
64545 rm -f conftest.er1
64546 cat conftest.err >&5
64547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64548 (exit $ac_status); } &&
64549 { ac_try='test -z "$ac_cxx_werror_flag"
64550 || test ! -s conftest.err'
64551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64552 (eval $ac_try) 2>&5
64553 ac_status=$?
64554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64555 (exit $ac_status); }; } &&
64556 { ac_try='test -s conftest.$ac_objext'
64557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64558 (eval $ac_try) 2>&5
64559 ac_status=$?
64560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64561 (exit $ac_status); }; }; then
64562 glibcxx_cv_func__isnan_use=yes
64563 else
64564 echo "$as_me: failed program was:" >&5
64565 sed 's/^/| /' conftest.$ac_ext >&5
64567 glibcxx_cv_func__isnan_use=no
64569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64570 ac_ext=c
64571 ac_cpp='$CPP $CPPFLAGS'
64572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64580 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
64581 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
64583 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64585 for ac_func in _isnan
64587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64588 echo "$as_me:$LINENO: checking for $ac_func" >&5
64589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64590 if eval "test \"\${$as_ac_var+set}\" = set"; then
64591 echo $ECHO_N "(cached) $ECHO_C" >&6
64592 else
64593 if test x$gcc_no_link = xyes; then
64594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64596 { (exit 1); exit 1; }; }
64598 cat >conftest.$ac_ext <<_ACEOF
64599 /* confdefs.h. */
64600 _ACEOF
64601 cat confdefs.h >>conftest.$ac_ext
64602 cat >>conftest.$ac_ext <<_ACEOF
64603 /* end confdefs.h. */
64604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64606 #define $ac_func innocuous_$ac_func
64608 /* System header to define __stub macros and hopefully few prototypes,
64609 which can conflict with char $ac_func (); below.
64610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64611 <limits.h> exists even on freestanding compilers. */
64613 #ifdef __STDC__
64614 # include <limits.h>
64615 #else
64616 # include <assert.h>
64617 #endif
64619 #undef $ac_func
64621 /* Override any gcc2 internal prototype to avoid an error. */
64622 #ifdef __cplusplus
64623 extern "C"
64625 #endif
64626 /* We use char because int might match the return type of a gcc2
64627 builtin and then its argument prototype would still apply. */
64628 char $ac_func ();
64629 /* The GNU C library defines this for functions which it implements
64630 to always fail with ENOSYS. Some functions are actually named
64631 something starting with __ and the normal name is an alias. */
64632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64633 choke me
64634 #else
64635 char (*f) () = $ac_func;
64636 #endif
64637 #ifdef __cplusplus
64639 #endif
64642 main ()
64644 return f != $ac_func;
64646 return 0;
64648 _ACEOF
64649 rm -f conftest.$ac_objext conftest$ac_exeext
64650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64651 (eval $ac_link) 2>conftest.er1
64652 ac_status=$?
64653 grep -v '^ *+' conftest.er1 >conftest.err
64654 rm -f conftest.er1
64655 cat conftest.err >&5
64656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64657 (exit $ac_status); } &&
64658 { ac_try='test -z "$ac_c_werror_flag"
64659 || test ! -s conftest.err'
64660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64661 (eval $ac_try) 2>&5
64662 ac_status=$?
64663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64664 (exit $ac_status); }; } &&
64665 { ac_try='test -s conftest$ac_exeext'
64666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64667 (eval $ac_try) 2>&5
64668 ac_status=$?
64669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64670 (exit $ac_status); }; }; then
64671 eval "$as_ac_var=yes"
64672 else
64673 echo "$as_me: failed program was:" >&5
64674 sed 's/^/| /' conftest.$ac_ext >&5
64676 eval "$as_ac_var=no"
64678 rm -f conftest.err conftest.$ac_objext \
64679 conftest$ac_exeext conftest.$ac_ext
64681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64683 if test `eval echo '${'$as_ac_var'}'` = yes; then
64684 cat >>confdefs.h <<_ACEOF
64685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64686 _ACEOF
64689 done
64699 echo "$as_me:$LINENO: checking for finite declaration" >&5
64700 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
64701 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64702 if test "${glibcxx_cv_func_finite_use+set}" = set; then
64703 echo $ECHO_N "(cached) $ECHO_C" >&6
64704 else
64708 ac_ext=cc
64709 ac_cpp='$CXXCPP $CPPFLAGS'
64710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64714 cat >conftest.$ac_ext <<_ACEOF
64715 /* confdefs.h. */
64716 _ACEOF
64717 cat confdefs.h >>conftest.$ac_ext
64718 cat >>conftest.$ac_ext <<_ACEOF
64719 /* end confdefs.h. */
64720 #include <math.h>
64721 #ifdef HAVE_IEEEFP_H
64722 #include <ieeefp.h>
64723 #endif
64726 main ()
64728 finite(0);
64730 return 0;
64732 _ACEOF
64733 rm -f conftest.$ac_objext
64734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64735 (eval $ac_compile) 2>conftest.er1
64736 ac_status=$?
64737 grep -v '^ *+' conftest.er1 >conftest.err
64738 rm -f conftest.er1
64739 cat conftest.err >&5
64740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64741 (exit $ac_status); } &&
64742 { ac_try='test -z "$ac_cxx_werror_flag"
64743 || test ! -s conftest.err'
64744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64745 (eval $ac_try) 2>&5
64746 ac_status=$?
64747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64748 (exit $ac_status); }; } &&
64749 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
64755 glibcxx_cv_func_finite_use=yes
64756 else
64757 echo "$as_me: failed program was:" >&5
64758 sed 's/^/| /' conftest.$ac_ext >&5
64760 glibcxx_cv_func_finite_use=no
64762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64763 ac_ext=c
64764 ac_cpp='$CPP $CPPFLAGS'
64765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64773 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
64774 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
64776 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64778 for ac_func in finite
64780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64781 echo "$as_me:$LINENO: checking for $ac_func" >&5
64782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64783 if eval "test \"\${$as_ac_var+set}\" = set"; then
64784 echo $ECHO_N "(cached) $ECHO_C" >&6
64785 else
64786 if test x$gcc_no_link = xyes; then
64787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64789 { (exit 1); exit 1; }; }
64791 cat >conftest.$ac_ext <<_ACEOF
64792 /* confdefs.h. */
64793 _ACEOF
64794 cat confdefs.h >>conftest.$ac_ext
64795 cat >>conftest.$ac_ext <<_ACEOF
64796 /* end confdefs.h. */
64797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64799 #define $ac_func innocuous_$ac_func
64801 /* System header to define __stub macros and hopefully few prototypes,
64802 which can conflict with char $ac_func (); below.
64803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64804 <limits.h> exists even on freestanding compilers. */
64806 #ifdef __STDC__
64807 # include <limits.h>
64808 #else
64809 # include <assert.h>
64810 #endif
64812 #undef $ac_func
64814 /* Override any gcc2 internal prototype to avoid an error. */
64815 #ifdef __cplusplus
64816 extern "C"
64818 #endif
64819 /* We use char because int might match the return type of a gcc2
64820 builtin and then its argument prototype would still apply. */
64821 char $ac_func ();
64822 /* The GNU C library defines this for functions which it implements
64823 to always fail with ENOSYS. Some functions are actually named
64824 something starting with __ and the normal name is an alias. */
64825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64826 choke me
64827 #else
64828 char (*f) () = $ac_func;
64829 #endif
64830 #ifdef __cplusplus
64832 #endif
64835 main ()
64837 return f != $ac_func;
64839 return 0;
64841 _ACEOF
64842 rm -f conftest.$ac_objext conftest$ac_exeext
64843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64844 (eval $ac_link) 2>conftest.er1
64845 ac_status=$?
64846 grep -v '^ *+' conftest.er1 >conftest.err
64847 rm -f conftest.er1
64848 cat conftest.err >&5
64849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64850 (exit $ac_status); } &&
64851 { ac_try='test -z "$ac_c_werror_flag"
64852 || test ! -s conftest.err'
64853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64854 (eval $ac_try) 2>&5
64855 ac_status=$?
64856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64857 (exit $ac_status); }; } &&
64858 { ac_try='test -s conftest$ac_exeext'
64859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64860 (eval $ac_try) 2>&5
64861 ac_status=$?
64862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64863 (exit $ac_status); }; }; then
64864 eval "$as_ac_var=yes"
64865 else
64866 echo "$as_me: failed program was:" >&5
64867 sed 's/^/| /' conftest.$ac_ext >&5
64869 eval "$as_ac_var=no"
64871 rm -f conftest.err conftest.$ac_objext \
64872 conftest$ac_exeext conftest.$ac_ext
64874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64876 if test `eval echo '${'$as_ac_var'}'` = yes; then
64877 cat >>confdefs.h <<_ACEOF
64878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64879 _ACEOF
64882 done
64884 else
64886 echo "$as_me:$LINENO: checking for _finite declaration" >&5
64887 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
64888 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64889 if test "${glibcxx_cv_func__finite_use+set}" = set; then
64890 echo $ECHO_N "(cached) $ECHO_C" >&6
64891 else
64895 ac_ext=cc
64896 ac_cpp='$CXXCPP $CPPFLAGS'
64897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64901 cat >conftest.$ac_ext <<_ACEOF
64902 /* confdefs.h. */
64903 _ACEOF
64904 cat confdefs.h >>conftest.$ac_ext
64905 cat >>conftest.$ac_ext <<_ACEOF
64906 /* end confdefs.h. */
64907 #include <math.h>
64908 #ifdef HAVE_IEEEFP_H
64909 #include <ieeefp.h>
64910 #endif
64913 main ()
64915 _finite(0);
64917 return 0;
64919 _ACEOF
64920 rm -f conftest.$ac_objext
64921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64922 (eval $ac_compile) 2>conftest.er1
64923 ac_status=$?
64924 grep -v '^ *+' conftest.er1 >conftest.err
64925 rm -f conftest.er1
64926 cat conftest.err >&5
64927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64928 (exit $ac_status); } &&
64929 { ac_try='test -z "$ac_cxx_werror_flag"
64930 || test ! -s conftest.err'
64931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64932 (eval $ac_try) 2>&5
64933 ac_status=$?
64934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64935 (exit $ac_status); }; } &&
64936 { ac_try='test -s conftest.$ac_objext'
64937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64938 (eval $ac_try) 2>&5
64939 ac_status=$?
64940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64941 (exit $ac_status); }; }; then
64942 glibcxx_cv_func__finite_use=yes
64943 else
64944 echo "$as_me: failed program was:" >&5
64945 sed 's/^/| /' conftest.$ac_ext >&5
64947 glibcxx_cv_func__finite_use=no
64949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64950 ac_ext=c
64951 ac_cpp='$CPP $CPPFLAGS'
64952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64960 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
64961 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
64963 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64965 for ac_func in _finite
64967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64968 echo "$as_me:$LINENO: checking for $ac_func" >&5
64969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64970 if eval "test \"\${$as_ac_var+set}\" = set"; then
64971 echo $ECHO_N "(cached) $ECHO_C" >&6
64972 else
64973 if test x$gcc_no_link = xyes; then
64974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64976 { (exit 1); exit 1; }; }
64978 cat >conftest.$ac_ext <<_ACEOF
64979 /* confdefs.h. */
64980 _ACEOF
64981 cat confdefs.h >>conftest.$ac_ext
64982 cat >>conftest.$ac_ext <<_ACEOF
64983 /* end confdefs.h. */
64984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64986 #define $ac_func innocuous_$ac_func
64988 /* System header to define __stub macros and hopefully few prototypes,
64989 which can conflict with char $ac_func (); below.
64990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64991 <limits.h> exists even on freestanding compilers. */
64993 #ifdef __STDC__
64994 # include <limits.h>
64995 #else
64996 # include <assert.h>
64997 #endif
64999 #undef $ac_func
65001 /* Override any gcc2 internal prototype to avoid an error. */
65002 #ifdef __cplusplus
65003 extern "C"
65005 #endif
65006 /* We use char because int might match the return type of a gcc2
65007 builtin and then its argument prototype would still apply. */
65008 char $ac_func ();
65009 /* The GNU C library defines this for functions which it implements
65010 to always fail with ENOSYS. Some functions are actually named
65011 something starting with __ and the normal name is an alias. */
65012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65013 choke me
65014 #else
65015 char (*f) () = $ac_func;
65016 #endif
65017 #ifdef __cplusplus
65019 #endif
65022 main ()
65024 return f != $ac_func;
65026 return 0;
65028 _ACEOF
65029 rm -f conftest.$ac_objext conftest$ac_exeext
65030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65031 (eval $ac_link) 2>conftest.er1
65032 ac_status=$?
65033 grep -v '^ *+' conftest.er1 >conftest.err
65034 rm -f conftest.er1
65035 cat conftest.err >&5
65036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65037 (exit $ac_status); } &&
65038 { ac_try='test -z "$ac_c_werror_flag"
65039 || test ! -s conftest.err'
65040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65041 (eval $ac_try) 2>&5
65042 ac_status=$?
65043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65044 (exit $ac_status); }; } &&
65045 { ac_try='test -s conftest$ac_exeext'
65046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65047 (eval $ac_try) 2>&5
65048 ac_status=$?
65049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65050 (exit $ac_status); }; }; then
65051 eval "$as_ac_var=yes"
65052 else
65053 echo "$as_me: failed program was:" >&5
65054 sed 's/^/| /' conftest.$ac_ext >&5
65056 eval "$as_ac_var=no"
65058 rm -f conftest.err conftest.$ac_objext \
65059 conftest$ac_exeext conftest.$ac_ext
65061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65063 if test `eval echo '${'$as_ac_var'}'` = yes; then
65064 cat >>confdefs.h <<_ACEOF
65065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65066 _ACEOF
65069 done
65079 echo "$as_me:$LINENO: checking for copysign declaration" >&5
65080 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
65081 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
65082 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
65083 echo $ECHO_N "(cached) $ECHO_C" >&6
65084 else
65088 ac_ext=cc
65089 ac_cpp='$CXXCPP $CPPFLAGS'
65090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65094 cat >conftest.$ac_ext <<_ACEOF
65095 /* confdefs.h. */
65096 _ACEOF
65097 cat confdefs.h >>conftest.$ac_ext
65098 cat >>conftest.$ac_ext <<_ACEOF
65099 /* end confdefs.h. */
65100 #include <math.h>
65102 main ()
65104 copysign(0, 0);
65106 return 0;
65108 _ACEOF
65109 rm -f conftest.$ac_objext
65110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65111 (eval $ac_compile) 2>conftest.er1
65112 ac_status=$?
65113 grep -v '^ *+' conftest.er1 >conftest.err
65114 rm -f conftest.er1
65115 cat conftest.err >&5
65116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65117 (exit $ac_status); } &&
65118 { ac_try='test -z "$ac_cxx_werror_flag"
65119 || test ! -s conftest.err'
65120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65121 (eval $ac_try) 2>&5
65122 ac_status=$?
65123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65124 (exit $ac_status); }; } &&
65125 { ac_try='test -s conftest.$ac_objext'
65126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65127 (eval $ac_try) 2>&5
65128 ac_status=$?
65129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65130 (exit $ac_status); }; }; then
65131 glibcxx_cv_func_copysign_use=yes
65132 else
65133 echo "$as_me: failed program was:" >&5
65134 sed 's/^/| /' conftest.$ac_ext >&5
65136 glibcxx_cv_func_copysign_use=no
65138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65139 ac_ext=c
65140 ac_cpp='$CPP $CPPFLAGS'
65141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65149 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
65150 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
65152 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
65154 for ac_func in copysign
65156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65157 echo "$as_me:$LINENO: checking for $ac_func" >&5
65158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65159 if eval "test \"\${$as_ac_var+set}\" = set"; then
65160 echo $ECHO_N "(cached) $ECHO_C" >&6
65161 else
65162 if test x$gcc_no_link = xyes; then
65163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65165 { (exit 1); exit 1; }; }
65167 cat >conftest.$ac_ext <<_ACEOF
65168 /* confdefs.h. */
65169 _ACEOF
65170 cat confdefs.h >>conftest.$ac_ext
65171 cat >>conftest.$ac_ext <<_ACEOF
65172 /* end confdefs.h. */
65173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65175 #define $ac_func innocuous_$ac_func
65177 /* System header to define __stub macros and hopefully few prototypes,
65178 which can conflict with char $ac_func (); below.
65179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65180 <limits.h> exists even on freestanding compilers. */
65182 #ifdef __STDC__
65183 # include <limits.h>
65184 #else
65185 # include <assert.h>
65186 #endif
65188 #undef $ac_func
65190 /* Override any gcc2 internal prototype to avoid an error. */
65191 #ifdef __cplusplus
65192 extern "C"
65194 #endif
65195 /* We use char because int might match the return type of a gcc2
65196 builtin and then its argument prototype would still apply. */
65197 char $ac_func ();
65198 /* The GNU C library defines this for functions which it implements
65199 to always fail with ENOSYS. Some functions are actually named
65200 something starting with __ and the normal name is an alias. */
65201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65202 choke me
65203 #else
65204 char (*f) () = $ac_func;
65205 #endif
65206 #ifdef __cplusplus
65208 #endif
65211 main ()
65213 return f != $ac_func;
65215 return 0;
65217 _ACEOF
65218 rm -f conftest.$ac_objext conftest$ac_exeext
65219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65220 (eval $ac_link) 2>conftest.er1
65221 ac_status=$?
65222 grep -v '^ *+' conftest.er1 >conftest.err
65223 rm -f conftest.er1
65224 cat conftest.err >&5
65225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65226 (exit $ac_status); } &&
65227 { ac_try='test -z "$ac_c_werror_flag"
65228 || test ! -s conftest.err'
65229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65230 (eval $ac_try) 2>&5
65231 ac_status=$?
65232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65233 (exit $ac_status); }; } &&
65234 { ac_try='test -s conftest$ac_exeext'
65235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65236 (eval $ac_try) 2>&5
65237 ac_status=$?
65238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65239 (exit $ac_status); }; }; then
65240 eval "$as_ac_var=yes"
65241 else
65242 echo "$as_me: failed program was:" >&5
65243 sed 's/^/| /' conftest.$ac_ext >&5
65245 eval "$as_ac_var=no"
65247 rm -f conftest.err conftest.$ac_objext \
65248 conftest$ac_exeext conftest.$ac_ext
65250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65252 if test `eval echo '${'$as_ac_var'}'` = yes; then
65253 cat >>confdefs.h <<_ACEOF
65254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65255 _ACEOF
65258 done
65260 else
65262 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
65263 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
65264 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
65265 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
65266 echo $ECHO_N "(cached) $ECHO_C" >&6
65267 else
65271 ac_ext=cc
65272 ac_cpp='$CXXCPP $CPPFLAGS'
65273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65277 cat >conftest.$ac_ext <<_ACEOF
65278 /* confdefs.h. */
65279 _ACEOF
65280 cat confdefs.h >>conftest.$ac_ext
65281 cat >>conftest.$ac_ext <<_ACEOF
65282 /* end confdefs.h. */
65283 #include <math.h>
65285 main ()
65287 _copysign(0, 0);
65289 return 0;
65291 _ACEOF
65292 rm -f conftest.$ac_objext
65293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65294 (eval $ac_compile) 2>conftest.er1
65295 ac_status=$?
65296 grep -v '^ *+' conftest.er1 >conftest.err
65297 rm -f conftest.er1
65298 cat conftest.err >&5
65299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65300 (exit $ac_status); } &&
65301 { ac_try='test -z "$ac_cxx_werror_flag"
65302 || test ! -s conftest.err'
65303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65304 (eval $ac_try) 2>&5
65305 ac_status=$?
65306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65307 (exit $ac_status); }; } &&
65308 { ac_try='test -s conftest.$ac_objext'
65309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65310 (eval $ac_try) 2>&5
65311 ac_status=$?
65312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65313 (exit $ac_status); }; }; then
65314 glibcxx_cv_func__copysign_use=yes
65315 else
65316 echo "$as_me: failed program was:" >&5
65317 sed 's/^/| /' conftest.$ac_ext >&5
65319 glibcxx_cv_func__copysign_use=no
65321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65322 ac_ext=c
65323 ac_cpp='$CPP $CPPFLAGS'
65324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65332 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
65333 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
65335 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
65337 for ac_func in _copysign
65339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65340 echo "$as_me:$LINENO: checking for $ac_func" >&5
65341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65342 if eval "test \"\${$as_ac_var+set}\" = set"; then
65343 echo $ECHO_N "(cached) $ECHO_C" >&6
65344 else
65345 if test x$gcc_no_link = xyes; then
65346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65348 { (exit 1); exit 1; }; }
65350 cat >conftest.$ac_ext <<_ACEOF
65351 /* confdefs.h. */
65352 _ACEOF
65353 cat confdefs.h >>conftest.$ac_ext
65354 cat >>conftest.$ac_ext <<_ACEOF
65355 /* end confdefs.h. */
65356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65358 #define $ac_func innocuous_$ac_func
65360 /* System header to define __stub macros and hopefully few prototypes,
65361 which can conflict with char $ac_func (); below.
65362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65363 <limits.h> exists even on freestanding compilers. */
65365 #ifdef __STDC__
65366 # include <limits.h>
65367 #else
65368 # include <assert.h>
65369 #endif
65371 #undef $ac_func
65373 /* Override any gcc2 internal prototype to avoid an error. */
65374 #ifdef __cplusplus
65375 extern "C"
65377 #endif
65378 /* We use char because int might match the return type of a gcc2
65379 builtin and then its argument prototype would still apply. */
65380 char $ac_func ();
65381 /* The GNU C library defines this for functions which it implements
65382 to always fail with ENOSYS. Some functions are actually named
65383 something starting with __ and the normal name is an alias. */
65384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65385 choke me
65386 #else
65387 char (*f) () = $ac_func;
65388 #endif
65389 #ifdef __cplusplus
65391 #endif
65394 main ()
65396 return f != $ac_func;
65398 return 0;
65400 _ACEOF
65401 rm -f conftest.$ac_objext conftest$ac_exeext
65402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65403 (eval $ac_link) 2>conftest.er1
65404 ac_status=$?
65405 grep -v '^ *+' conftest.er1 >conftest.err
65406 rm -f conftest.er1
65407 cat conftest.err >&5
65408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65409 (exit $ac_status); } &&
65410 { ac_try='test -z "$ac_c_werror_flag"
65411 || test ! -s conftest.err'
65412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65413 (eval $ac_try) 2>&5
65414 ac_status=$?
65415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65416 (exit $ac_status); }; } &&
65417 { ac_try='test -s conftest$ac_exeext'
65418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65419 (eval $ac_try) 2>&5
65420 ac_status=$?
65421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65422 (exit $ac_status); }; }; then
65423 eval "$as_ac_var=yes"
65424 else
65425 echo "$as_me: failed program was:" >&5
65426 sed 's/^/| /' conftest.$ac_ext >&5
65428 eval "$as_ac_var=no"
65430 rm -f conftest.err conftest.$ac_objext \
65431 conftest$ac_exeext conftest.$ac_ext
65433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65435 if test `eval echo '${'$as_ac_var'}'` = yes; then
65436 cat >>confdefs.h <<_ACEOF
65437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65438 _ACEOF
65441 done
65451 echo "$as_me:$LINENO: checking for sincos declaration" >&5
65452 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
65453 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65454 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
65455 echo $ECHO_N "(cached) $ECHO_C" >&6
65456 else
65460 ac_ext=cc
65461 ac_cpp='$CXXCPP $CPPFLAGS'
65462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65466 cat >conftest.$ac_ext <<_ACEOF
65467 /* confdefs.h. */
65468 _ACEOF
65469 cat confdefs.h >>conftest.$ac_ext
65470 cat >>conftest.$ac_ext <<_ACEOF
65471 /* end confdefs.h. */
65472 #include <math.h>
65474 main ()
65476 sincos(0, 0, 0);
65478 return 0;
65480 _ACEOF
65481 rm -f conftest.$ac_objext
65482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65483 (eval $ac_compile) 2>conftest.er1
65484 ac_status=$?
65485 grep -v '^ *+' conftest.er1 >conftest.err
65486 rm -f conftest.er1
65487 cat conftest.err >&5
65488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65489 (exit $ac_status); } &&
65490 { ac_try='test -z "$ac_cxx_werror_flag"
65491 || test ! -s conftest.err'
65492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65493 (eval $ac_try) 2>&5
65494 ac_status=$?
65495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65496 (exit $ac_status); }; } &&
65497 { ac_try='test -s conftest.$ac_objext'
65498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65499 (eval $ac_try) 2>&5
65500 ac_status=$?
65501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65502 (exit $ac_status); }; }; then
65503 glibcxx_cv_func_sincos_use=yes
65504 else
65505 echo "$as_me: failed program was:" >&5
65506 sed 's/^/| /' conftest.$ac_ext >&5
65508 glibcxx_cv_func_sincos_use=no
65510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65511 ac_ext=c
65512 ac_cpp='$CPP $CPPFLAGS'
65513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65521 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
65522 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
65524 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65526 for ac_func in sincos
65528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65529 echo "$as_me:$LINENO: checking for $ac_func" >&5
65530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65531 if eval "test \"\${$as_ac_var+set}\" = set"; then
65532 echo $ECHO_N "(cached) $ECHO_C" >&6
65533 else
65534 if test x$gcc_no_link = xyes; then
65535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65537 { (exit 1); exit 1; }; }
65539 cat >conftest.$ac_ext <<_ACEOF
65540 /* confdefs.h. */
65541 _ACEOF
65542 cat confdefs.h >>conftest.$ac_ext
65543 cat >>conftest.$ac_ext <<_ACEOF
65544 /* end confdefs.h. */
65545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65547 #define $ac_func innocuous_$ac_func
65549 /* System header to define __stub macros and hopefully few prototypes,
65550 which can conflict with char $ac_func (); below.
65551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65552 <limits.h> exists even on freestanding compilers. */
65554 #ifdef __STDC__
65555 # include <limits.h>
65556 #else
65557 # include <assert.h>
65558 #endif
65560 #undef $ac_func
65562 /* Override any gcc2 internal prototype to avoid an error. */
65563 #ifdef __cplusplus
65564 extern "C"
65566 #endif
65567 /* We use char because int might match the return type of a gcc2
65568 builtin and then its argument prototype would still apply. */
65569 char $ac_func ();
65570 /* The GNU C library defines this for functions which it implements
65571 to always fail with ENOSYS. Some functions are actually named
65572 something starting with __ and the normal name is an alias. */
65573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65574 choke me
65575 #else
65576 char (*f) () = $ac_func;
65577 #endif
65578 #ifdef __cplusplus
65580 #endif
65583 main ()
65585 return f != $ac_func;
65587 return 0;
65589 _ACEOF
65590 rm -f conftest.$ac_objext conftest$ac_exeext
65591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65592 (eval $ac_link) 2>conftest.er1
65593 ac_status=$?
65594 grep -v '^ *+' conftest.er1 >conftest.err
65595 rm -f conftest.er1
65596 cat conftest.err >&5
65597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65598 (exit $ac_status); } &&
65599 { ac_try='test -z "$ac_c_werror_flag"
65600 || test ! -s conftest.err'
65601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65602 (eval $ac_try) 2>&5
65603 ac_status=$?
65604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65605 (exit $ac_status); }; } &&
65606 { ac_try='test -s conftest$ac_exeext'
65607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65608 (eval $ac_try) 2>&5
65609 ac_status=$?
65610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65611 (exit $ac_status); }; }; then
65612 eval "$as_ac_var=yes"
65613 else
65614 echo "$as_me: failed program was:" >&5
65615 sed 's/^/| /' conftest.$ac_ext >&5
65617 eval "$as_ac_var=no"
65619 rm -f conftest.err conftest.$ac_objext \
65620 conftest$ac_exeext conftest.$ac_ext
65622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65624 if test `eval echo '${'$as_ac_var'}'` = yes; then
65625 cat >>confdefs.h <<_ACEOF
65626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65627 _ACEOF
65630 done
65632 else
65634 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
65635 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
65636 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65637 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
65638 echo $ECHO_N "(cached) $ECHO_C" >&6
65639 else
65643 ac_ext=cc
65644 ac_cpp='$CXXCPP $CPPFLAGS'
65645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65649 cat >conftest.$ac_ext <<_ACEOF
65650 /* confdefs.h. */
65651 _ACEOF
65652 cat confdefs.h >>conftest.$ac_ext
65653 cat >>conftest.$ac_ext <<_ACEOF
65654 /* end confdefs.h. */
65655 #include <math.h>
65657 main ()
65659 _sincos(0, 0, 0);
65661 return 0;
65663 _ACEOF
65664 rm -f conftest.$ac_objext
65665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65666 (eval $ac_compile) 2>conftest.er1
65667 ac_status=$?
65668 grep -v '^ *+' conftest.er1 >conftest.err
65669 rm -f conftest.er1
65670 cat conftest.err >&5
65671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65672 (exit $ac_status); } &&
65673 { ac_try='test -z "$ac_cxx_werror_flag"
65674 || test ! -s conftest.err'
65675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65676 (eval $ac_try) 2>&5
65677 ac_status=$?
65678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65679 (exit $ac_status); }; } &&
65680 { ac_try='test -s conftest.$ac_objext'
65681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65682 (eval $ac_try) 2>&5
65683 ac_status=$?
65684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65685 (exit $ac_status); }; }; then
65686 glibcxx_cv_func__sincos_use=yes
65687 else
65688 echo "$as_me: failed program was:" >&5
65689 sed 's/^/| /' conftest.$ac_ext >&5
65691 glibcxx_cv_func__sincos_use=no
65693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65694 ac_ext=c
65695 ac_cpp='$CPP $CPPFLAGS'
65696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65704 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
65705 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
65707 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65709 for ac_func in _sincos
65711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65712 echo "$as_me:$LINENO: checking for $ac_func" >&5
65713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65714 if eval "test \"\${$as_ac_var+set}\" = set"; then
65715 echo $ECHO_N "(cached) $ECHO_C" >&6
65716 else
65717 if test x$gcc_no_link = xyes; then
65718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65720 { (exit 1); exit 1; }; }
65722 cat >conftest.$ac_ext <<_ACEOF
65723 /* confdefs.h. */
65724 _ACEOF
65725 cat confdefs.h >>conftest.$ac_ext
65726 cat >>conftest.$ac_ext <<_ACEOF
65727 /* end confdefs.h. */
65728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65730 #define $ac_func innocuous_$ac_func
65732 /* System header to define __stub macros and hopefully few prototypes,
65733 which can conflict with char $ac_func (); below.
65734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65735 <limits.h> exists even on freestanding compilers. */
65737 #ifdef __STDC__
65738 # include <limits.h>
65739 #else
65740 # include <assert.h>
65741 #endif
65743 #undef $ac_func
65745 /* Override any gcc2 internal prototype to avoid an error. */
65746 #ifdef __cplusplus
65747 extern "C"
65749 #endif
65750 /* We use char because int might match the return type of a gcc2
65751 builtin and then its argument prototype would still apply. */
65752 char $ac_func ();
65753 /* The GNU C library defines this for functions which it implements
65754 to always fail with ENOSYS. Some functions are actually named
65755 something starting with __ and the normal name is an alias. */
65756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65757 choke me
65758 #else
65759 char (*f) () = $ac_func;
65760 #endif
65761 #ifdef __cplusplus
65763 #endif
65766 main ()
65768 return f != $ac_func;
65770 return 0;
65772 _ACEOF
65773 rm -f conftest.$ac_objext conftest$ac_exeext
65774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65775 (eval $ac_link) 2>conftest.er1
65776 ac_status=$?
65777 grep -v '^ *+' conftest.er1 >conftest.err
65778 rm -f conftest.er1
65779 cat conftest.err >&5
65780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65781 (exit $ac_status); } &&
65782 { ac_try='test -z "$ac_c_werror_flag"
65783 || test ! -s conftest.err'
65784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65785 (eval $ac_try) 2>&5
65786 ac_status=$?
65787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65788 (exit $ac_status); }; } &&
65789 { ac_try='test -s conftest$ac_exeext'
65790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65791 (eval $ac_try) 2>&5
65792 ac_status=$?
65793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65794 (exit $ac_status); }; }; then
65795 eval "$as_ac_var=yes"
65796 else
65797 echo "$as_me: failed program was:" >&5
65798 sed 's/^/| /' conftest.$ac_ext >&5
65800 eval "$as_ac_var=no"
65802 rm -f conftest.err conftest.$ac_objext \
65803 conftest$ac_exeext conftest.$ac_ext
65805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65807 if test `eval echo '${'$as_ac_var'}'` = yes; then
65808 cat >>confdefs.h <<_ACEOF
65809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65810 _ACEOF
65813 done
65823 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
65824 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
65825 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65826 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
65827 echo $ECHO_N "(cached) $ECHO_C" >&6
65828 else
65832 ac_ext=cc
65833 ac_cpp='$CXXCPP $CPPFLAGS'
65834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65838 cat >conftest.$ac_ext <<_ACEOF
65839 /* confdefs.h. */
65840 _ACEOF
65841 cat confdefs.h >>conftest.$ac_ext
65842 cat >>conftest.$ac_ext <<_ACEOF
65843 /* end confdefs.h. */
65844 #include <math.h>
65845 #ifdef HAVE_IEEEFP_H
65846 #include <ieeefp.h>
65847 #endif
65850 main ()
65852 fpclass(0);
65854 return 0;
65856 _ACEOF
65857 rm -f conftest.$ac_objext
65858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65859 (eval $ac_compile) 2>conftest.er1
65860 ac_status=$?
65861 grep -v '^ *+' conftest.er1 >conftest.err
65862 rm -f conftest.er1
65863 cat conftest.err >&5
65864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65865 (exit $ac_status); } &&
65866 { ac_try='test -z "$ac_cxx_werror_flag"
65867 || test ! -s conftest.err'
65868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65869 (eval $ac_try) 2>&5
65870 ac_status=$?
65871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65872 (exit $ac_status); }; } &&
65873 { ac_try='test -s conftest.$ac_objext'
65874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65875 (eval $ac_try) 2>&5
65876 ac_status=$?
65877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65878 (exit $ac_status); }; }; then
65879 glibcxx_cv_func_fpclass_use=yes
65880 else
65881 echo "$as_me: failed program was:" >&5
65882 sed 's/^/| /' conftest.$ac_ext >&5
65884 glibcxx_cv_func_fpclass_use=no
65886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65887 ac_ext=c
65888 ac_cpp='$CPP $CPPFLAGS'
65889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65897 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
65898 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
65900 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65902 for ac_func in fpclass
65904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65905 echo "$as_me:$LINENO: checking for $ac_func" >&5
65906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65907 if eval "test \"\${$as_ac_var+set}\" = set"; then
65908 echo $ECHO_N "(cached) $ECHO_C" >&6
65909 else
65910 if test x$gcc_no_link = xyes; then
65911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65913 { (exit 1); exit 1; }; }
65915 cat >conftest.$ac_ext <<_ACEOF
65916 /* confdefs.h. */
65917 _ACEOF
65918 cat confdefs.h >>conftest.$ac_ext
65919 cat >>conftest.$ac_ext <<_ACEOF
65920 /* end confdefs.h. */
65921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65923 #define $ac_func innocuous_$ac_func
65925 /* System header to define __stub macros and hopefully few prototypes,
65926 which can conflict with char $ac_func (); below.
65927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65928 <limits.h> exists even on freestanding compilers. */
65930 #ifdef __STDC__
65931 # include <limits.h>
65932 #else
65933 # include <assert.h>
65934 #endif
65936 #undef $ac_func
65938 /* Override any gcc2 internal prototype to avoid an error. */
65939 #ifdef __cplusplus
65940 extern "C"
65942 #endif
65943 /* We use char because int might match the return type of a gcc2
65944 builtin and then its argument prototype would still apply. */
65945 char $ac_func ();
65946 /* The GNU C library defines this for functions which it implements
65947 to always fail with ENOSYS. Some functions are actually named
65948 something starting with __ and the normal name is an alias. */
65949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65950 choke me
65951 #else
65952 char (*f) () = $ac_func;
65953 #endif
65954 #ifdef __cplusplus
65956 #endif
65959 main ()
65961 return f != $ac_func;
65963 return 0;
65965 _ACEOF
65966 rm -f conftest.$ac_objext conftest$ac_exeext
65967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65968 (eval $ac_link) 2>conftest.er1
65969 ac_status=$?
65970 grep -v '^ *+' conftest.er1 >conftest.err
65971 rm -f conftest.er1
65972 cat conftest.err >&5
65973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65974 (exit $ac_status); } &&
65975 { ac_try='test -z "$ac_c_werror_flag"
65976 || test ! -s conftest.err'
65977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65978 (eval $ac_try) 2>&5
65979 ac_status=$?
65980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65981 (exit $ac_status); }; } &&
65982 { ac_try='test -s conftest$ac_exeext'
65983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65984 (eval $ac_try) 2>&5
65985 ac_status=$?
65986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65987 (exit $ac_status); }; }; then
65988 eval "$as_ac_var=yes"
65989 else
65990 echo "$as_me: failed program was:" >&5
65991 sed 's/^/| /' conftest.$ac_ext >&5
65993 eval "$as_ac_var=no"
65995 rm -f conftest.err conftest.$ac_objext \
65996 conftest$ac_exeext conftest.$ac_ext
65998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66000 if test `eval echo '${'$as_ac_var'}'` = yes; then
66001 cat >>confdefs.h <<_ACEOF
66002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66003 _ACEOF
66006 done
66008 else
66010 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
66011 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
66012 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66013 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
66014 echo $ECHO_N "(cached) $ECHO_C" >&6
66015 else
66019 ac_ext=cc
66020 ac_cpp='$CXXCPP $CPPFLAGS'
66021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66025 cat >conftest.$ac_ext <<_ACEOF
66026 /* confdefs.h. */
66027 _ACEOF
66028 cat confdefs.h >>conftest.$ac_ext
66029 cat >>conftest.$ac_ext <<_ACEOF
66030 /* end confdefs.h. */
66031 #include <math.h>
66032 #ifdef HAVE_IEEEFP_H
66033 #include <ieeefp.h>
66034 #endif
66037 main ()
66039 _fpclass(0);
66041 return 0;
66043 _ACEOF
66044 rm -f conftest.$ac_objext
66045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66046 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__fpclass_use=yes
66067 else
66068 echo "$as_me: failed program was:" >&5
66069 sed 's/^/| /' conftest.$ac_ext >&5
66071 glibcxx_cv_func__fpclass_use=no
66073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66074 ac_ext=c
66075 ac_cpp='$CPP $CPPFLAGS'
66076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66084 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
66085 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
66087 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66089 for ac_func in _fpclass
66091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66092 echo "$as_me:$LINENO: checking for $ac_func" >&5
66093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66094 if eval "test \"\${$as_ac_var+set}\" = set"; then
66095 echo $ECHO_N "(cached) $ECHO_C" >&6
66096 else
66097 if test x$gcc_no_link = xyes; then
66098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66100 { (exit 1); exit 1; }; }
66102 cat >conftest.$ac_ext <<_ACEOF
66103 /* confdefs.h. */
66104 _ACEOF
66105 cat confdefs.h >>conftest.$ac_ext
66106 cat >>conftest.$ac_ext <<_ACEOF
66107 /* end confdefs.h. */
66108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66110 #define $ac_func innocuous_$ac_func
66112 /* System header to define __stub macros and hopefully few prototypes,
66113 which can conflict with char $ac_func (); below.
66114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66115 <limits.h> exists even on freestanding compilers. */
66117 #ifdef __STDC__
66118 # include <limits.h>
66119 #else
66120 # include <assert.h>
66121 #endif
66123 #undef $ac_func
66125 /* Override any gcc2 internal prototype to avoid an error. */
66126 #ifdef __cplusplus
66127 extern "C"
66129 #endif
66130 /* We use char because int might match the return type of a gcc2
66131 builtin and then its argument prototype would still apply. */
66132 char $ac_func ();
66133 /* The GNU C library defines this for functions which it implements
66134 to always fail with ENOSYS. Some functions are actually named
66135 something starting with __ and the normal name is an alias. */
66136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66137 choke me
66138 #else
66139 char (*f) () = $ac_func;
66140 #endif
66141 #ifdef __cplusplus
66143 #endif
66146 main ()
66148 return f != $ac_func;
66150 return 0;
66152 _ACEOF
66153 rm -f conftest.$ac_objext conftest$ac_exeext
66154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66155 (eval $ac_link) 2>conftest.er1
66156 ac_status=$?
66157 grep -v '^ *+' conftest.er1 >conftest.err
66158 rm -f conftest.er1
66159 cat conftest.err >&5
66160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66161 (exit $ac_status); } &&
66162 { ac_try='test -z "$ac_c_werror_flag"
66163 || test ! -s conftest.err'
66164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66165 (eval $ac_try) 2>&5
66166 ac_status=$?
66167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66168 (exit $ac_status); }; } &&
66169 { ac_try='test -s conftest$ac_exeext'
66170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66171 (eval $ac_try) 2>&5
66172 ac_status=$?
66173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66174 (exit $ac_status); }; }; then
66175 eval "$as_ac_var=yes"
66176 else
66177 echo "$as_me: failed program was:" >&5
66178 sed 's/^/| /' conftest.$ac_ext >&5
66180 eval "$as_ac_var=no"
66182 rm -f conftest.err conftest.$ac_objext \
66183 conftest$ac_exeext conftest.$ac_ext
66185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66187 if test `eval echo '${'$as_ac_var'}'` = yes; then
66188 cat >>confdefs.h <<_ACEOF
66189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66190 _ACEOF
66193 done
66203 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
66204 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
66205 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66206 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
66207 echo $ECHO_N "(cached) $ECHO_C" >&6
66208 else
66212 ac_ext=cc
66213 ac_cpp='$CXXCPP $CPPFLAGS'
66214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66218 cat >conftest.$ac_ext <<_ACEOF
66219 /* confdefs.h. */
66220 _ACEOF
66221 cat confdefs.h >>conftest.$ac_ext
66222 cat >>conftest.$ac_ext <<_ACEOF
66223 /* end confdefs.h. */
66224 #include <math.h>
66225 #ifdef HAVE_IEEEFP_H
66226 #include <ieeefp.h>
66227 #endif
66230 main ()
66232 qfpclass(0);
66234 return 0;
66236 _ACEOF
66237 rm -f conftest.$ac_objext
66238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66239 (eval $ac_compile) 2>conftest.er1
66240 ac_status=$?
66241 grep -v '^ *+' conftest.er1 >conftest.err
66242 rm -f conftest.er1
66243 cat conftest.err >&5
66244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66245 (exit $ac_status); } &&
66246 { ac_try='test -z "$ac_cxx_werror_flag"
66247 || test ! -s conftest.err'
66248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66249 (eval $ac_try) 2>&5
66250 ac_status=$?
66251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66252 (exit $ac_status); }; } &&
66253 { ac_try='test -s conftest.$ac_objext'
66254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66255 (eval $ac_try) 2>&5
66256 ac_status=$?
66257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66258 (exit $ac_status); }; }; then
66259 glibcxx_cv_func_qfpclass_use=yes
66260 else
66261 echo "$as_me: failed program was:" >&5
66262 sed 's/^/| /' conftest.$ac_ext >&5
66264 glibcxx_cv_func_qfpclass_use=no
66266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66267 ac_ext=c
66268 ac_cpp='$CPP $CPPFLAGS'
66269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66277 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
66278 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
66280 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66282 for ac_func in qfpclass
66284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66285 echo "$as_me:$LINENO: checking for $ac_func" >&5
66286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66287 if eval "test \"\${$as_ac_var+set}\" = set"; then
66288 echo $ECHO_N "(cached) $ECHO_C" >&6
66289 else
66290 if test x$gcc_no_link = xyes; then
66291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66293 { (exit 1); exit 1; }; }
66295 cat >conftest.$ac_ext <<_ACEOF
66296 /* confdefs.h. */
66297 _ACEOF
66298 cat confdefs.h >>conftest.$ac_ext
66299 cat >>conftest.$ac_ext <<_ACEOF
66300 /* end confdefs.h. */
66301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66303 #define $ac_func innocuous_$ac_func
66305 /* System header to define __stub macros and hopefully few prototypes,
66306 which can conflict with char $ac_func (); below.
66307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66308 <limits.h> exists even on freestanding compilers. */
66310 #ifdef __STDC__
66311 # include <limits.h>
66312 #else
66313 # include <assert.h>
66314 #endif
66316 #undef $ac_func
66318 /* Override any gcc2 internal prototype to avoid an error. */
66319 #ifdef __cplusplus
66320 extern "C"
66322 #endif
66323 /* We use char because int might match the return type of a gcc2
66324 builtin and then its argument prototype would still apply. */
66325 char $ac_func ();
66326 /* The GNU C library defines this for functions which it implements
66327 to always fail with ENOSYS. Some functions are actually named
66328 something starting with __ and the normal name is an alias. */
66329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66330 choke me
66331 #else
66332 char (*f) () = $ac_func;
66333 #endif
66334 #ifdef __cplusplus
66336 #endif
66339 main ()
66341 return f != $ac_func;
66343 return 0;
66345 _ACEOF
66346 rm -f conftest.$ac_objext conftest$ac_exeext
66347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66348 (eval $ac_link) 2>conftest.er1
66349 ac_status=$?
66350 grep -v '^ *+' conftest.er1 >conftest.err
66351 rm -f conftest.er1
66352 cat conftest.err >&5
66353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66354 (exit $ac_status); } &&
66355 { ac_try='test -z "$ac_c_werror_flag"
66356 || test ! -s conftest.err'
66357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66358 (eval $ac_try) 2>&5
66359 ac_status=$?
66360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66361 (exit $ac_status); }; } &&
66362 { ac_try='test -s conftest$ac_exeext'
66363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66364 (eval $ac_try) 2>&5
66365 ac_status=$?
66366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66367 (exit $ac_status); }; }; then
66368 eval "$as_ac_var=yes"
66369 else
66370 echo "$as_me: failed program was:" >&5
66371 sed 's/^/| /' conftest.$ac_ext >&5
66373 eval "$as_ac_var=no"
66375 rm -f conftest.err conftest.$ac_objext \
66376 conftest$ac_exeext conftest.$ac_ext
66378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66380 if test `eval echo '${'$as_ac_var'}'` = yes; then
66381 cat >>confdefs.h <<_ACEOF
66382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66383 _ACEOF
66386 done
66388 else
66390 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
66391 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
66392 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66393 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
66394 echo $ECHO_N "(cached) $ECHO_C" >&6
66395 else
66399 ac_ext=cc
66400 ac_cpp='$CXXCPP $CPPFLAGS'
66401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66405 cat >conftest.$ac_ext <<_ACEOF
66406 /* confdefs.h. */
66407 _ACEOF
66408 cat confdefs.h >>conftest.$ac_ext
66409 cat >>conftest.$ac_ext <<_ACEOF
66410 /* end confdefs.h. */
66411 #include <math.h>
66412 #ifdef HAVE_IEEEFP_H
66413 #include <ieeefp.h>
66414 #endif
66417 main ()
66419 _qfpclass(0);
66421 return 0;
66423 _ACEOF
66424 rm -f conftest.$ac_objext
66425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66426 (eval $ac_compile) 2>conftest.er1
66427 ac_status=$?
66428 grep -v '^ *+' conftest.er1 >conftest.err
66429 rm -f conftest.er1
66430 cat conftest.err >&5
66431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66432 (exit $ac_status); } &&
66433 { ac_try='test -z "$ac_cxx_werror_flag"
66434 || test ! -s conftest.err'
66435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66436 (eval $ac_try) 2>&5
66437 ac_status=$?
66438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66439 (exit $ac_status); }; } &&
66440 { ac_try='test -s conftest.$ac_objext'
66441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66442 (eval $ac_try) 2>&5
66443 ac_status=$?
66444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66445 (exit $ac_status); }; }; then
66446 glibcxx_cv_func__qfpclass_use=yes
66447 else
66448 echo "$as_me: failed program was:" >&5
66449 sed 's/^/| /' conftest.$ac_ext >&5
66451 glibcxx_cv_func__qfpclass_use=no
66453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66454 ac_ext=c
66455 ac_cpp='$CPP $CPPFLAGS'
66456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
66465 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
66467 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66469 for ac_func in _qfpclass
66471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66472 echo "$as_me:$LINENO: checking for $ac_func" >&5
66473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66474 if eval "test \"\${$as_ac_var+set}\" = set"; then
66475 echo $ECHO_N "(cached) $ECHO_C" >&6
66476 else
66477 if test x$gcc_no_link = xyes; then
66478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66480 { (exit 1); exit 1; }; }
66482 cat >conftest.$ac_ext <<_ACEOF
66483 /* confdefs.h. */
66484 _ACEOF
66485 cat confdefs.h >>conftest.$ac_ext
66486 cat >>conftest.$ac_ext <<_ACEOF
66487 /* end confdefs.h. */
66488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66490 #define $ac_func innocuous_$ac_func
66492 /* System header to define __stub macros and hopefully few prototypes,
66493 which can conflict with char $ac_func (); below.
66494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66495 <limits.h> exists even on freestanding compilers. */
66497 #ifdef __STDC__
66498 # include <limits.h>
66499 #else
66500 # include <assert.h>
66501 #endif
66503 #undef $ac_func
66505 /* Override any gcc2 internal prototype to avoid an error. */
66506 #ifdef __cplusplus
66507 extern "C"
66509 #endif
66510 /* We use char because int might match the return type of a gcc2
66511 builtin and then its argument prototype would still apply. */
66512 char $ac_func ();
66513 /* The GNU C library defines this for functions which it implements
66514 to always fail with ENOSYS. Some functions are actually named
66515 something starting with __ and the normal name is an alias. */
66516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66517 choke me
66518 #else
66519 char (*f) () = $ac_func;
66520 #endif
66521 #ifdef __cplusplus
66523 #endif
66526 main ()
66528 return f != $ac_func;
66530 return 0;
66532 _ACEOF
66533 rm -f conftest.$ac_objext conftest$ac_exeext
66534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66535 (eval $ac_link) 2>conftest.er1
66536 ac_status=$?
66537 grep -v '^ *+' conftest.er1 >conftest.err
66538 rm -f conftest.er1
66539 cat conftest.err >&5
66540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66541 (exit $ac_status); } &&
66542 { ac_try='test -z "$ac_c_werror_flag"
66543 || test ! -s conftest.err'
66544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66545 (eval $ac_try) 2>&5
66546 ac_status=$?
66547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66548 (exit $ac_status); }; } &&
66549 { ac_try='test -s conftest$ac_exeext'
66550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66551 (eval $ac_try) 2>&5
66552 ac_status=$?
66553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66554 (exit $ac_status); }; }; then
66555 eval "$as_ac_var=yes"
66556 else
66557 echo "$as_me: failed program was:" >&5
66558 sed 's/^/| /' conftest.$ac_ext >&5
66560 eval "$as_ac_var=no"
66562 rm -f conftest.err conftest.$ac_objext \
66563 conftest$ac_exeext conftest.$ac_ext
66565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66567 if test `eval echo '${'$as_ac_var'}'` = yes; then
66568 cat >>confdefs.h <<_ACEOF
66569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66570 _ACEOF
66573 done
66583 echo "$as_me:$LINENO: checking for hypot declaration" >&5
66584 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
66585 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66586 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
66587 echo $ECHO_N "(cached) $ECHO_C" >&6
66588 else
66592 ac_ext=cc
66593 ac_cpp='$CXXCPP $CPPFLAGS'
66594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66598 cat >conftest.$ac_ext <<_ACEOF
66599 /* confdefs.h. */
66600 _ACEOF
66601 cat confdefs.h >>conftest.$ac_ext
66602 cat >>conftest.$ac_ext <<_ACEOF
66603 /* end confdefs.h. */
66604 #include <math.h>
66606 main ()
66608 hypot(0, 0);
66610 return 0;
66612 _ACEOF
66613 rm -f conftest.$ac_objext
66614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66615 (eval $ac_compile) 2>conftest.er1
66616 ac_status=$?
66617 grep -v '^ *+' conftest.er1 >conftest.err
66618 rm -f conftest.er1
66619 cat conftest.err >&5
66620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66621 (exit $ac_status); } &&
66622 { ac_try='test -z "$ac_cxx_werror_flag"
66623 || test ! -s conftest.err'
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); }; } &&
66629 { ac_try='test -s conftest.$ac_objext'
66630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66631 (eval $ac_try) 2>&5
66632 ac_status=$?
66633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66634 (exit $ac_status); }; }; then
66635 glibcxx_cv_func_hypot_use=yes
66636 else
66637 echo "$as_me: failed program was:" >&5
66638 sed 's/^/| /' conftest.$ac_ext >&5
66640 glibcxx_cv_func_hypot_use=no
66642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66643 ac_ext=c
66644 ac_cpp='$CPP $CPPFLAGS'
66645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66653 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
66654 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
66656 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66658 for ac_func in hypot
66660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66661 echo "$as_me:$LINENO: checking for $ac_func" >&5
66662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66663 if eval "test \"\${$as_ac_var+set}\" = set"; then
66664 echo $ECHO_N "(cached) $ECHO_C" >&6
66665 else
66666 if test x$gcc_no_link = xyes; then
66667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66669 { (exit 1); exit 1; }; }
66671 cat >conftest.$ac_ext <<_ACEOF
66672 /* confdefs.h. */
66673 _ACEOF
66674 cat confdefs.h >>conftest.$ac_ext
66675 cat >>conftest.$ac_ext <<_ACEOF
66676 /* end confdefs.h. */
66677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66679 #define $ac_func innocuous_$ac_func
66681 /* System header to define __stub macros and hopefully few prototypes,
66682 which can conflict with char $ac_func (); below.
66683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66684 <limits.h> exists even on freestanding compilers. */
66686 #ifdef __STDC__
66687 # include <limits.h>
66688 #else
66689 # include <assert.h>
66690 #endif
66692 #undef $ac_func
66694 /* Override any gcc2 internal prototype to avoid an error. */
66695 #ifdef __cplusplus
66696 extern "C"
66698 #endif
66699 /* We use char because int might match the return type of a gcc2
66700 builtin and then its argument prototype would still apply. */
66701 char $ac_func ();
66702 /* The GNU C library defines this for functions which it implements
66703 to always fail with ENOSYS. Some functions are actually named
66704 something starting with __ and the normal name is an alias. */
66705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66706 choke me
66707 #else
66708 char (*f) () = $ac_func;
66709 #endif
66710 #ifdef __cplusplus
66712 #endif
66715 main ()
66717 return f != $ac_func;
66719 return 0;
66721 _ACEOF
66722 rm -f conftest.$ac_objext conftest$ac_exeext
66723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66724 (eval $ac_link) 2>conftest.er1
66725 ac_status=$?
66726 grep -v '^ *+' conftest.er1 >conftest.err
66727 rm -f conftest.er1
66728 cat conftest.err >&5
66729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66730 (exit $ac_status); } &&
66731 { ac_try='test -z "$ac_c_werror_flag"
66732 || test ! -s conftest.err'
66733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66734 (eval $ac_try) 2>&5
66735 ac_status=$?
66736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66737 (exit $ac_status); }; } &&
66738 { ac_try='test -s conftest$ac_exeext'
66739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66740 (eval $ac_try) 2>&5
66741 ac_status=$?
66742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66743 (exit $ac_status); }; }; then
66744 eval "$as_ac_var=yes"
66745 else
66746 echo "$as_me: failed program was:" >&5
66747 sed 's/^/| /' conftest.$ac_ext >&5
66749 eval "$as_ac_var=no"
66751 rm -f conftest.err conftest.$ac_objext \
66752 conftest$ac_exeext conftest.$ac_ext
66754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66756 if test `eval echo '${'$as_ac_var'}'` = yes; then
66757 cat >>confdefs.h <<_ACEOF
66758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66759 _ACEOF
66762 done
66764 else
66766 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
66767 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
66768 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66769 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
66770 echo $ECHO_N "(cached) $ECHO_C" >&6
66771 else
66775 ac_ext=cc
66776 ac_cpp='$CXXCPP $CPPFLAGS'
66777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66781 cat >conftest.$ac_ext <<_ACEOF
66782 /* confdefs.h. */
66783 _ACEOF
66784 cat confdefs.h >>conftest.$ac_ext
66785 cat >>conftest.$ac_ext <<_ACEOF
66786 /* end confdefs.h. */
66787 #include <math.h>
66789 main ()
66791 _hypot(0, 0);
66793 return 0;
66795 _ACEOF
66796 rm -f conftest.$ac_objext
66797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66798 (eval $ac_compile) 2>conftest.er1
66799 ac_status=$?
66800 grep -v '^ *+' conftest.er1 >conftest.err
66801 rm -f conftest.er1
66802 cat conftest.err >&5
66803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66804 (exit $ac_status); } &&
66805 { ac_try='test -z "$ac_cxx_werror_flag"
66806 || test ! -s conftest.err'
66807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66808 (eval $ac_try) 2>&5
66809 ac_status=$?
66810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66811 (exit $ac_status); }; } &&
66812 { ac_try='test -s conftest.$ac_objext'
66813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66814 (eval $ac_try) 2>&5
66815 ac_status=$?
66816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66817 (exit $ac_status); }; }; then
66818 glibcxx_cv_func__hypot_use=yes
66819 else
66820 echo "$as_me: failed program was:" >&5
66821 sed 's/^/| /' conftest.$ac_ext >&5
66823 glibcxx_cv_func__hypot_use=no
66825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66826 ac_ext=c
66827 ac_cpp='$CPP $CPPFLAGS'
66828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66836 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
66837 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
66839 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66841 for ac_func in _hypot
66843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66844 echo "$as_me:$LINENO: checking for $ac_func" >&5
66845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66846 if eval "test \"\${$as_ac_var+set}\" = set"; then
66847 echo $ECHO_N "(cached) $ECHO_C" >&6
66848 else
66849 if test x$gcc_no_link = xyes; then
66850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66852 { (exit 1); exit 1; }; }
66854 cat >conftest.$ac_ext <<_ACEOF
66855 /* confdefs.h. */
66856 _ACEOF
66857 cat confdefs.h >>conftest.$ac_ext
66858 cat >>conftest.$ac_ext <<_ACEOF
66859 /* end confdefs.h. */
66860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66862 #define $ac_func innocuous_$ac_func
66864 /* System header to define __stub macros and hopefully few prototypes,
66865 which can conflict with char $ac_func (); below.
66866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66867 <limits.h> exists even on freestanding compilers. */
66869 #ifdef __STDC__
66870 # include <limits.h>
66871 #else
66872 # include <assert.h>
66873 #endif
66875 #undef $ac_func
66877 /* Override any gcc2 internal prototype to avoid an error. */
66878 #ifdef __cplusplus
66879 extern "C"
66881 #endif
66882 /* We use char because int might match the return type of a gcc2
66883 builtin and then its argument prototype would still apply. */
66884 char $ac_func ();
66885 /* The GNU C library defines this for functions which it implements
66886 to always fail with ENOSYS. Some functions are actually named
66887 something starting with __ and the normal name is an alias. */
66888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66889 choke me
66890 #else
66891 char (*f) () = $ac_func;
66892 #endif
66893 #ifdef __cplusplus
66895 #endif
66898 main ()
66900 return f != $ac_func;
66902 return 0;
66904 _ACEOF
66905 rm -f conftest.$ac_objext conftest$ac_exeext
66906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66907 (eval $ac_link) 2>conftest.er1
66908 ac_status=$?
66909 grep -v '^ *+' conftest.er1 >conftest.err
66910 rm -f conftest.er1
66911 cat conftest.err >&5
66912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66913 (exit $ac_status); } &&
66914 { ac_try='test -z "$ac_c_werror_flag"
66915 || test ! -s conftest.err'
66916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66917 (eval $ac_try) 2>&5
66918 ac_status=$?
66919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66920 (exit $ac_status); }; } &&
66921 { ac_try='test -s conftest$ac_exeext'
66922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66923 (eval $ac_try) 2>&5
66924 ac_status=$?
66925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66926 (exit $ac_status); }; }; then
66927 eval "$as_ac_var=yes"
66928 else
66929 echo "$as_me: failed program was:" >&5
66930 sed 's/^/| /' conftest.$ac_ext >&5
66932 eval "$as_ac_var=no"
66934 rm -f conftest.err conftest.$ac_objext \
66935 conftest$ac_exeext conftest.$ac_ext
66937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66939 if test `eval echo '${'$as_ac_var'}'` = yes; then
66940 cat >>confdefs.h <<_ACEOF
66941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66942 _ACEOF
66945 done
66955 echo "$as_me:$LINENO: checking for float trig functions" >&5
66956 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
66957 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
66958 echo $ECHO_N "(cached) $ECHO_C" >&6
66959 else
66963 ac_ext=cc
66964 ac_cpp='$CXXCPP $CPPFLAGS'
66965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66969 cat >conftest.$ac_ext <<_ACEOF
66970 /* confdefs.h. */
66971 _ACEOF
66972 cat confdefs.h >>conftest.$ac_ext
66973 cat >>conftest.$ac_ext <<_ACEOF
66974 /* end confdefs.h. */
66975 #include <math.h>
66977 main ()
66979 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66981 return 0;
66983 _ACEOF
66984 rm -f conftest.$ac_objext
66985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66986 (eval $ac_compile) 2>conftest.er1
66987 ac_status=$?
66988 grep -v '^ *+' conftest.er1 >conftest.err
66989 rm -f conftest.er1
66990 cat conftest.err >&5
66991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66992 (exit $ac_status); } &&
66993 { ac_try='test -z "$ac_cxx_werror_flag"
66994 || test ! -s conftest.err'
66995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66996 (eval $ac_try) 2>&5
66997 ac_status=$?
66998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66999 (exit $ac_status); }; } &&
67000 { ac_try='test -s conftest.$ac_objext'
67001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67002 (eval $ac_try) 2>&5
67003 ac_status=$?
67004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67005 (exit $ac_status); }; }; then
67006 glibcxx_cv_func_float_trig_use=yes
67007 else
67008 echo "$as_me: failed program was:" >&5
67009 sed 's/^/| /' conftest.$ac_ext >&5
67011 glibcxx_cv_func_float_trig_use=no
67013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67014 ac_ext=c
67015 ac_cpp='$CPP $CPPFLAGS'
67016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67022 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
67023 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
67024 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67034 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67037 echo "$as_me:$LINENO: checking for $ac_func" >&5
67038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67039 if eval "test \"\${$as_ac_var+set}\" = set"; then
67040 echo $ECHO_N "(cached) $ECHO_C" >&6
67041 else
67042 if test x$gcc_no_link = xyes; then
67043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67045 { (exit 1); exit 1; }; }
67047 cat >conftest.$ac_ext <<_ACEOF
67048 /* confdefs.h. */
67049 _ACEOF
67050 cat confdefs.h >>conftest.$ac_ext
67051 cat >>conftest.$ac_ext <<_ACEOF
67052 /* end confdefs.h. */
67053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67055 #define $ac_func innocuous_$ac_func
67057 /* System header to define __stub macros and hopefully few prototypes,
67058 which can conflict with char $ac_func (); below.
67059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67060 <limits.h> exists even on freestanding compilers. */
67062 #ifdef __STDC__
67063 # include <limits.h>
67064 #else
67065 # include <assert.h>
67066 #endif
67068 #undef $ac_func
67070 /* Override any gcc2 internal prototype to avoid an error. */
67071 #ifdef __cplusplus
67072 extern "C"
67074 #endif
67075 /* We use char because int might match the return type of a gcc2
67076 builtin and then its argument prototype would still apply. */
67077 char $ac_func ();
67078 /* The GNU C library defines this for functions which it implements
67079 to always fail with ENOSYS. Some functions are actually named
67080 something starting with __ and the normal name is an alias. */
67081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67082 choke me
67083 #else
67084 char (*f) () = $ac_func;
67085 #endif
67086 #ifdef __cplusplus
67088 #endif
67091 main ()
67093 return f != $ac_func;
67095 return 0;
67097 _ACEOF
67098 rm -f conftest.$ac_objext conftest$ac_exeext
67099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67100 (eval $ac_link) 2>conftest.er1
67101 ac_status=$?
67102 grep -v '^ *+' conftest.er1 >conftest.err
67103 rm -f conftest.er1
67104 cat conftest.err >&5
67105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67106 (exit $ac_status); } &&
67107 { ac_try='test -z "$ac_c_werror_flag"
67108 || test ! -s conftest.err'
67109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67110 (eval $ac_try) 2>&5
67111 ac_status=$?
67112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67113 (exit $ac_status); }; } &&
67114 { ac_try='test -s conftest$ac_exeext'
67115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67116 (eval $ac_try) 2>&5
67117 ac_status=$?
67118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67119 (exit $ac_status); }; }; then
67120 eval "$as_ac_var=yes"
67121 else
67122 echo "$as_me: failed program was:" >&5
67123 sed 's/^/| /' conftest.$ac_ext >&5
67125 eval "$as_ac_var=no"
67127 rm -f conftest.err conftest.$ac_objext \
67128 conftest$ac_exeext conftest.$ac_ext
67130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67132 if test `eval echo '${'$as_ac_var'}'` = yes; then
67133 cat >>confdefs.h <<_ACEOF
67134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67135 _ACEOF
67138 done
67140 else
67141 echo "$as_me:$LINENO: checking for _float trig functions" >&5
67142 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
67143 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
67144 echo $ECHO_N "(cached) $ECHO_C" >&6
67145 else
67149 ac_ext=cc
67150 ac_cpp='$CXXCPP $CPPFLAGS'
67151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67155 cat >conftest.$ac_ext <<_ACEOF
67156 /* confdefs.h. */
67157 _ACEOF
67158 cat confdefs.h >>conftest.$ac_ext
67159 cat >>conftest.$ac_ext <<_ACEOF
67160 /* end confdefs.h. */
67161 #include <math.h>
67163 main ()
67165 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67167 return 0;
67169 _ACEOF
67170 rm -f conftest.$ac_objext
67171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67172 (eval $ac_compile) 2>conftest.er1
67173 ac_status=$?
67174 grep -v '^ *+' conftest.er1 >conftest.err
67175 rm -f conftest.er1
67176 cat conftest.err >&5
67177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67178 (exit $ac_status); } &&
67179 { ac_try='test -z "$ac_cxx_werror_flag"
67180 || test ! -s conftest.err'
67181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67182 (eval $ac_try) 2>&5
67183 ac_status=$?
67184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67185 (exit $ac_status); }; } &&
67186 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
67192 glibcxx_cv_func__float_trig_use=yes
67193 else
67194 echo "$as_me: failed program was:" >&5
67195 sed 's/^/| /' conftest.$ac_ext >&5
67197 glibcxx_cv_func__float_trig_use=no
67199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67200 ac_ext=c
67201 ac_cpp='$CPP $CPPFLAGS'
67202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67208 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
67209 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
67210 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67220 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67223 echo "$as_me:$LINENO: checking for $ac_func" >&5
67224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67225 if eval "test \"\${$as_ac_var+set}\" = set"; then
67226 echo $ECHO_N "(cached) $ECHO_C" >&6
67227 else
67228 if test x$gcc_no_link = xyes; then
67229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67231 { (exit 1); exit 1; }; }
67233 cat >conftest.$ac_ext <<_ACEOF
67234 /* confdefs.h. */
67235 _ACEOF
67236 cat confdefs.h >>conftest.$ac_ext
67237 cat >>conftest.$ac_ext <<_ACEOF
67238 /* end confdefs.h. */
67239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67241 #define $ac_func innocuous_$ac_func
67243 /* System header to define __stub macros and hopefully few prototypes,
67244 which can conflict with char $ac_func (); below.
67245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67246 <limits.h> exists even on freestanding compilers. */
67248 #ifdef __STDC__
67249 # include <limits.h>
67250 #else
67251 # include <assert.h>
67252 #endif
67254 #undef $ac_func
67256 /* Override any gcc2 internal prototype to avoid an error. */
67257 #ifdef __cplusplus
67258 extern "C"
67260 #endif
67261 /* We use char because int might match the return type of a gcc2
67262 builtin and then its argument prototype would still apply. */
67263 char $ac_func ();
67264 /* The GNU C library defines this for functions which it implements
67265 to always fail with ENOSYS. Some functions are actually named
67266 something starting with __ and the normal name is an alias. */
67267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67268 choke me
67269 #else
67270 char (*f) () = $ac_func;
67271 #endif
67272 #ifdef __cplusplus
67274 #endif
67277 main ()
67279 return f != $ac_func;
67281 return 0;
67283 _ACEOF
67284 rm -f conftest.$ac_objext conftest$ac_exeext
67285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67286 (eval $ac_link) 2>conftest.er1
67287 ac_status=$?
67288 grep -v '^ *+' conftest.er1 >conftest.err
67289 rm -f conftest.er1
67290 cat conftest.err >&5
67291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67292 (exit $ac_status); } &&
67293 { ac_try='test -z "$ac_c_werror_flag"
67294 || test ! -s conftest.err'
67295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67296 (eval $ac_try) 2>&5
67297 ac_status=$?
67298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67299 (exit $ac_status); }; } &&
67300 { ac_try='test -s conftest$ac_exeext'
67301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67302 (eval $ac_try) 2>&5
67303 ac_status=$?
67304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67305 (exit $ac_status); }; }; then
67306 eval "$as_ac_var=yes"
67307 else
67308 echo "$as_me: failed program was:" >&5
67309 sed 's/^/| /' conftest.$ac_ext >&5
67311 eval "$as_ac_var=no"
67313 rm -f conftest.err conftest.$ac_objext \
67314 conftest$ac_exeext conftest.$ac_ext
67316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67318 if test `eval echo '${'$as_ac_var'}'` = yes; then
67319 cat >>confdefs.h <<_ACEOF
67320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67321 _ACEOF
67324 done
67342 echo "$as_me:$LINENO: checking for float round functions" >&5
67343 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
67344 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
67345 echo $ECHO_N "(cached) $ECHO_C" >&6
67346 else
67350 ac_ext=cc
67351 ac_cpp='$CXXCPP $CPPFLAGS'
67352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67356 cat >conftest.$ac_ext <<_ACEOF
67357 /* confdefs.h. */
67358 _ACEOF
67359 cat confdefs.h >>conftest.$ac_ext
67360 cat >>conftest.$ac_ext <<_ACEOF
67361 /* end confdefs.h. */
67362 #include <math.h>
67364 main ()
67366 ceilf (0); floorf (0);
67368 return 0;
67370 _ACEOF
67371 rm -f conftest.$ac_objext
67372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67373 (eval $ac_compile) 2>conftest.er1
67374 ac_status=$?
67375 grep -v '^ *+' conftest.er1 >conftest.err
67376 rm -f conftest.er1
67377 cat conftest.err >&5
67378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67379 (exit $ac_status); } &&
67380 { ac_try='test -z "$ac_cxx_werror_flag"
67381 || test ! -s conftest.err'
67382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67383 (eval $ac_try) 2>&5
67384 ac_status=$?
67385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67386 (exit $ac_status); }; } &&
67387 { ac_try='test -s conftest.$ac_objext'
67388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67389 (eval $ac_try) 2>&5
67390 ac_status=$?
67391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67392 (exit $ac_status); }; }; then
67393 glibcxx_cv_func_float_round_use=yes
67394 else
67395 echo "$as_me: failed program was:" >&5
67396 sed 's/^/| /' conftest.$ac_ext >&5
67398 glibcxx_cv_func_float_round_use=no
67400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67401 ac_ext=c
67402 ac_cpp='$CPP $CPPFLAGS'
67403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67409 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
67410 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
67411 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67414 for ac_func in ceilf floorf
67416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67417 echo "$as_me:$LINENO: checking for $ac_func" >&5
67418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67419 if eval "test \"\${$as_ac_var+set}\" = set"; then
67420 echo $ECHO_N "(cached) $ECHO_C" >&6
67421 else
67422 if test x$gcc_no_link = xyes; then
67423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67425 { (exit 1); exit 1; }; }
67427 cat >conftest.$ac_ext <<_ACEOF
67428 /* confdefs.h. */
67429 _ACEOF
67430 cat confdefs.h >>conftest.$ac_ext
67431 cat >>conftest.$ac_ext <<_ACEOF
67432 /* end confdefs.h. */
67433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67435 #define $ac_func innocuous_$ac_func
67437 /* System header to define __stub macros and hopefully few prototypes,
67438 which can conflict with char $ac_func (); below.
67439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67440 <limits.h> exists even on freestanding compilers. */
67442 #ifdef __STDC__
67443 # include <limits.h>
67444 #else
67445 # include <assert.h>
67446 #endif
67448 #undef $ac_func
67450 /* Override any gcc2 internal prototype to avoid an error. */
67451 #ifdef __cplusplus
67452 extern "C"
67454 #endif
67455 /* We use char because int might match the return type of a gcc2
67456 builtin and then its argument prototype would still apply. */
67457 char $ac_func ();
67458 /* The GNU C library defines this for functions which it implements
67459 to always fail with ENOSYS. Some functions are actually named
67460 something starting with __ and the normal name is an alias. */
67461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67462 choke me
67463 #else
67464 char (*f) () = $ac_func;
67465 #endif
67466 #ifdef __cplusplus
67468 #endif
67471 main ()
67473 return f != $ac_func;
67475 return 0;
67477 _ACEOF
67478 rm -f conftest.$ac_objext conftest$ac_exeext
67479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67480 (eval $ac_link) 2>conftest.er1
67481 ac_status=$?
67482 grep -v '^ *+' conftest.er1 >conftest.err
67483 rm -f conftest.er1
67484 cat conftest.err >&5
67485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67486 (exit $ac_status); } &&
67487 { ac_try='test -z "$ac_c_werror_flag"
67488 || test ! -s conftest.err'
67489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67490 (eval $ac_try) 2>&5
67491 ac_status=$?
67492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67493 (exit $ac_status); }; } &&
67494 { ac_try='test -s conftest$ac_exeext'
67495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67496 (eval $ac_try) 2>&5
67497 ac_status=$?
67498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67499 (exit $ac_status); }; }; then
67500 eval "$as_ac_var=yes"
67501 else
67502 echo "$as_me: failed program was:" >&5
67503 sed 's/^/| /' conftest.$ac_ext >&5
67505 eval "$as_ac_var=no"
67507 rm -f conftest.err conftest.$ac_objext \
67508 conftest$ac_exeext conftest.$ac_ext
67510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67512 if test `eval echo '${'$as_ac_var'}'` = yes; then
67513 cat >>confdefs.h <<_ACEOF
67514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67515 _ACEOF
67518 done
67520 else
67521 echo "$as_me:$LINENO: checking for _float round functions" >&5
67522 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
67523 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
67524 echo $ECHO_N "(cached) $ECHO_C" >&6
67525 else
67529 ac_ext=cc
67530 ac_cpp='$CXXCPP $CPPFLAGS'
67531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67535 cat >conftest.$ac_ext <<_ACEOF
67536 /* confdefs.h. */
67537 _ACEOF
67538 cat confdefs.h >>conftest.$ac_ext
67539 cat >>conftest.$ac_ext <<_ACEOF
67540 /* end confdefs.h. */
67541 #include <math.h>
67543 main ()
67545 _ceilf (0); _floorf (0);
67547 return 0;
67549 _ACEOF
67550 rm -f conftest.$ac_objext
67551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67552 (eval $ac_compile) 2>conftest.er1
67553 ac_status=$?
67554 grep -v '^ *+' conftest.er1 >conftest.err
67555 rm -f conftest.er1
67556 cat conftest.err >&5
67557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67558 (exit $ac_status); } &&
67559 { ac_try='test -z "$ac_cxx_werror_flag"
67560 || test ! -s conftest.err'
67561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67562 (eval $ac_try) 2>&5
67563 ac_status=$?
67564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67565 (exit $ac_status); }; } &&
67566 { ac_try='test -s conftest.$ac_objext'
67567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67568 (eval $ac_try) 2>&5
67569 ac_status=$?
67570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67571 (exit $ac_status); }; }; then
67572 glibcxx_cv_func__float_round_use=yes
67573 else
67574 echo "$as_me: failed program was:" >&5
67575 sed 's/^/| /' conftest.$ac_ext >&5
67577 glibcxx_cv_func__float_round_use=no
67579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67580 ac_ext=c
67581 ac_cpp='$CPP $CPPFLAGS'
67582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
67589 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
67590 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67593 for ac_func in _ceilf _floorf
67595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67596 echo "$as_me:$LINENO: checking for $ac_func" >&5
67597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67598 if eval "test \"\${$as_ac_var+set}\" = set"; then
67599 echo $ECHO_N "(cached) $ECHO_C" >&6
67600 else
67601 if test x$gcc_no_link = xyes; then
67602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67604 { (exit 1); exit 1; }; }
67606 cat >conftest.$ac_ext <<_ACEOF
67607 /* confdefs.h. */
67608 _ACEOF
67609 cat confdefs.h >>conftest.$ac_ext
67610 cat >>conftest.$ac_ext <<_ACEOF
67611 /* end confdefs.h. */
67612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67614 #define $ac_func innocuous_$ac_func
67616 /* System header to define __stub macros and hopefully few prototypes,
67617 which can conflict with char $ac_func (); below.
67618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67619 <limits.h> exists even on freestanding compilers. */
67621 #ifdef __STDC__
67622 # include <limits.h>
67623 #else
67624 # include <assert.h>
67625 #endif
67627 #undef $ac_func
67629 /* Override any gcc2 internal prototype to avoid an error. */
67630 #ifdef __cplusplus
67631 extern "C"
67633 #endif
67634 /* We use char because int might match the return type of a gcc2
67635 builtin and then its argument prototype would still apply. */
67636 char $ac_func ();
67637 /* The GNU C library defines this for functions which it implements
67638 to always fail with ENOSYS. Some functions are actually named
67639 something starting with __ and the normal name is an alias. */
67640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67641 choke me
67642 #else
67643 char (*f) () = $ac_func;
67644 #endif
67645 #ifdef __cplusplus
67647 #endif
67650 main ()
67652 return f != $ac_func;
67654 return 0;
67656 _ACEOF
67657 rm -f conftest.$ac_objext conftest$ac_exeext
67658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67659 (eval $ac_link) 2>conftest.er1
67660 ac_status=$?
67661 grep -v '^ *+' conftest.er1 >conftest.err
67662 rm -f conftest.er1
67663 cat conftest.err >&5
67664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67665 (exit $ac_status); } &&
67666 { ac_try='test -z "$ac_c_werror_flag"
67667 || test ! -s conftest.err'
67668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67669 (eval $ac_try) 2>&5
67670 ac_status=$?
67671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67672 (exit $ac_status); }; } &&
67673 { ac_try='test -s conftest$ac_exeext'
67674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67675 (eval $ac_try) 2>&5
67676 ac_status=$?
67677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67678 (exit $ac_status); }; }; then
67679 eval "$as_ac_var=yes"
67680 else
67681 echo "$as_me: failed program was:" >&5
67682 sed 's/^/| /' conftest.$ac_ext >&5
67684 eval "$as_ac_var=no"
67686 rm -f conftest.err conftest.$ac_objext \
67687 conftest$ac_exeext conftest.$ac_ext
67689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67691 if test `eval echo '${'$as_ac_var'}'` = yes; then
67692 cat >>confdefs.h <<_ACEOF
67693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67694 _ACEOF
67697 done
67709 echo "$as_me:$LINENO: checking for expf declaration" >&5
67710 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
67711 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67712 if test "${glibcxx_cv_func_expf_use+set}" = set; then
67713 echo $ECHO_N "(cached) $ECHO_C" >&6
67714 else
67718 ac_ext=cc
67719 ac_cpp='$CXXCPP $CPPFLAGS'
67720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67724 cat >conftest.$ac_ext <<_ACEOF
67725 /* confdefs.h. */
67726 _ACEOF
67727 cat confdefs.h >>conftest.$ac_ext
67728 cat >>conftest.$ac_ext <<_ACEOF
67729 /* end confdefs.h. */
67730 #include <math.h>
67731 #ifdef HAVE_IEEEFP_H
67732 #include <ieeefp.h>
67733 #endif
67736 main ()
67738 expf(0);
67740 return 0;
67742 _ACEOF
67743 rm -f conftest.$ac_objext
67744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67745 (eval $ac_compile) 2>conftest.er1
67746 ac_status=$?
67747 grep -v '^ *+' conftest.er1 >conftest.err
67748 rm -f conftest.er1
67749 cat conftest.err >&5
67750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67751 (exit $ac_status); } &&
67752 { ac_try='test -z "$ac_cxx_werror_flag"
67753 || test ! -s conftest.err'
67754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67755 (eval $ac_try) 2>&5
67756 ac_status=$?
67757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67758 (exit $ac_status); }; } &&
67759 { ac_try='test -s conftest.$ac_objext'
67760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67761 (eval $ac_try) 2>&5
67762 ac_status=$?
67763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67764 (exit $ac_status); }; }; then
67765 glibcxx_cv_func_expf_use=yes
67766 else
67767 echo "$as_me: failed program was:" >&5
67768 sed 's/^/| /' conftest.$ac_ext >&5
67770 glibcxx_cv_func_expf_use=no
67772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67773 ac_ext=c
67774 ac_cpp='$CPP $CPPFLAGS'
67775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67783 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
67784 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
67786 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67788 for ac_func in expf
67790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67791 echo "$as_me:$LINENO: checking for $ac_func" >&5
67792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67793 if eval "test \"\${$as_ac_var+set}\" = set"; then
67794 echo $ECHO_N "(cached) $ECHO_C" >&6
67795 else
67796 if test x$gcc_no_link = xyes; then
67797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67799 { (exit 1); exit 1; }; }
67801 cat >conftest.$ac_ext <<_ACEOF
67802 /* confdefs.h. */
67803 _ACEOF
67804 cat confdefs.h >>conftest.$ac_ext
67805 cat >>conftest.$ac_ext <<_ACEOF
67806 /* end confdefs.h. */
67807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67809 #define $ac_func innocuous_$ac_func
67811 /* System header to define __stub macros and hopefully few prototypes,
67812 which can conflict with char $ac_func (); below.
67813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67814 <limits.h> exists even on freestanding compilers. */
67816 #ifdef __STDC__
67817 # include <limits.h>
67818 #else
67819 # include <assert.h>
67820 #endif
67822 #undef $ac_func
67824 /* Override any gcc2 internal prototype to avoid an error. */
67825 #ifdef __cplusplus
67826 extern "C"
67828 #endif
67829 /* We use char because int might match the return type of a gcc2
67830 builtin and then its argument prototype would still apply. */
67831 char $ac_func ();
67832 /* The GNU C library defines this for functions which it implements
67833 to always fail with ENOSYS. Some functions are actually named
67834 something starting with __ and the normal name is an alias. */
67835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67836 choke me
67837 #else
67838 char (*f) () = $ac_func;
67839 #endif
67840 #ifdef __cplusplus
67842 #endif
67845 main ()
67847 return f != $ac_func;
67849 return 0;
67851 _ACEOF
67852 rm -f conftest.$ac_objext conftest$ac_exeext
67853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67854 (eval $ac_link) 2>conftest.er1
67855 ac_status=$?
67856 grep -v '^ *+' conftest.er1 >conftest.err
67857 rm -f conftest.er1
67858 cat conftest.err >&5
67859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67860 (exit $ac_status); } &&
67861 { ac_try='test -z "$ac_c_werror_flag"
67862 || test ! -s conftest.err'
67863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67864 (eval $ac_try) 2>&5
67865 ac_status=$?
67866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67867 (exit $ac_status); }; } &&
67868 { ac_try='test -s conftest$ac_exeext'
67869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67870 (eval $ac_try) 2>&5
67871 ac_status=$?
67872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67873 (exit $ac_status); }; }; then
67874 eval "$as_ac_var=yes"
67875 else
67876 echo "$as_me: failed program was:" >&5
67877 sed 's/^/| /' conftest.$ac_ext >&5
67879 eval "$as_ac_var=no"
67881 rm -f conftest.err conftest.$ac_objext \
67882 conftest$ac_exeext conftest.$ac_ext
67884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67886 if test `eval echo '${'$as_ac_var'}'` = yes; then
67887 cat >>confdefs.h <<_ACEOF
67888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67889 _ACEOF
67892 done
67894 else
67896 echo "$as_me:$LINENO: checking for _expf declaration" >&5
67897 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
67898 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67899 if test "${glibcxx_cv_func__expf_use+set}" = set; then
67900 echo $ECHO_N "(cached) $ECHO_C" >&6
67901 else
67905 ac_ext=cc
67906 ac_cpp='$CXXCPP $CPPFLAGS'
67907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67911 cat >conftest.$ac_ext <<_ACEOF
67912 /* confdefs.h. */
67913 _ACEOF
67914 cat confdefs.h >>conftest.$ac_ext
67915 cat >>conftest.$ac_ext <<_ACEOF
67916 /* end confdefs.h. */
67917 #include <math.h>
67918 #ifdef HAVE_IEEEFP_H
67919 #include <ieeefp.h>
67920 #endif
67923 main ()
67925 _expf(0);
67927 return 0;
67929 _ACEOF
67930 rm -f conftest.$ac_objext
67931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67932 (eval $ac_compile) 2>conftest.er1
67933 ac_status=$?
67934 grep -v '^ *+' conftest.er1 >conftest.err
67935 rm -f conftest.er1
67936 cat conftest.err >&5
67937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67938 (exit $ac_status); } &&
67939 { ac_try='test -z "$ac_cxx_werror_flag"
67940 || test ! -s conftest.err'
67941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67942 (eval $ac_try) 2>&5
67943 ac_status=$?
67944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67945 (exit $ac_status); }; } &&
67946 { ac_try='test -s conftest.$ac_objext'
67947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67948 (eval $ac_try) 2>&5
67949 ac_status=$?
67950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67951 (exit $ac_status); }; }; then
67952 glibcxx_cv_func__expf_use=yes
67953 else
67954 echo "$as_me: failed program was:" >&5
67955 sed 's/^/| /' conftest.$ac_ext >&5
67957 glibcxx_cv_func__expf_use=no
67959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67960 ac_ext=c
67961 ac_cpp='$CPP $CPPFLAGS'
67962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67970 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
67971 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
67973 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67975 for ac_func in _expf
67977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67978 echo "$as_me:$LINENO: checking for $ac_func" >&5
67979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67980 if eval "test \"\${$as_ac_var+set}\" = set"; then
67981 echo $ECHO_N "(cached) $ECHO_C" >&6
67982 else
67983 if test x$gcc_no_link = xyes; then
67984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67986 { (exit 1); exit 1; }; }
67988 cat >conftest.$ac_ext <<_ACEOF
67989 /* confdefs.h. */
67990 _ACEOF
67991 cat confdefs.h >>conftest.$ac_ext
67992 cat >>conftest.$ac_ext <<_ACEOF
67993 /* end confdefs.h. */
67994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67996 #define $ac_func innocuous_$ac_func
67998 /* System header to define __stub macros and hopefully few prototypes,
67999 which can conflict with char $ac_func (); below.
68000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68001 <limits.h> exists even on freestanding compilers. */
68003 #ifdef __STDC__
68004 # include <limits.h>
68005 #else
68006 # include <assert.h>
68007 #endif
68009 #undef $ac_func
68011 /* Override any gcc2 internal prototype to avoid an error. */
68012 #ifdef __cplusplus
68013 extern "C"
68015 #endif
68016 /* We use char because int might match the return type of a gcc2
68017 builtin and then its argument prototype would still apply. */
68018 char $ac_func ();
68019 /* The GNU C library defines this for functions which it implements
68020 to always fail with ENOSYS. Some functions are actually named
68021 something starting with __ and the normal name is an alias. */
68022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68023 choke me
68024 #else
68025 char (*f) () = $ac_func;
68026 #endif
68027 #ifdef __cplusplus
68029 #endif
68032 main ()
68034 return f != $ac_func;
68036 return 0;
68038 _ACEOF
68039 rm -f conftest.$ac_objext conftest$ac_exeext
68040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68041 (eval $ac_link) 2>conftest.er1
68042 ac_status=$?
68043 grep -v '^ *+' conftest.er1 >conftest.err
68044 rm -f conftest.er1
68045 cat conftest.err >&5
68046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68047 (exit $ac_status); } &&
68048 { ac_try='test -z "$ac_c_werror_flag"
68049 || test ! -s conftest.err'
68050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68051 (eval $ac_try) 2>&5
68052 ac_status=$?
68053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68054 (exit $ac_status); }; } &&
68055 { ac_try='test -s conftest$ac_exeext'
68056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68057 (eval $ac_try) 2>&5
68058 ac_status=$?
68059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68060 (exit $ac_status); }; }; then
68061 eval "$as_ac_var=yes"
68062 else
68063 echo "$as_me: failed program was:" >&5
68064 sed 's/^/| /' conftest.$ac_ext >&5
68066 eval "$as_ac_var=no"
68068 rm -f conftest.err conftest.$ac_objext \
68069 conftest$ac_exeext conftest.$ac_ext
68071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68073 if test `eval echo '${'$as_ac_var'}'` = yes; then
68074 cat >>confdefs.h <<_ACEOF
68075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68076 _ACEOF
68079 done
68089 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
68090 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
68091 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68092 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
68093 echo $ECHO_N "(cached) $ECHO_C" >&6
68094 else
68098 ac_ext=cc
68099 ac_cpp='$CXXCPP $CPPFLAGS'
68100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68104 cat >conftest.$ac_ext <<_ACEOF
68105 /* confdefs.h. */
68106 _ACEOF
68107 cat confdefs.h >>conftest.$ac_ext
68108 cat >>conftest.$ac_ext <<_ACEOF
68109 /* end confdefs.h. */
68110 #include <math.h>
68111 #ifdef HAVE_IEEEFP_H
68112 #include <ieeefp.h>
68113 #endif
68116 main ()
68118 isnanf(0);
68120 return 0;
68122 _ACEOF
68123 rm -f conftest.$ac_objext
68124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68125 (eval $ac_compile) 2>conftest.er1
68126 ac_status=$?
68127 grep -v '^ *+' conftest.er1 >conftest.err
68128 rm -f conftest.er1
68129 cat conftest.err >&5
68130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68131 (exit $ac_status); } &&
68132 { ac_try='test -z "$ac_cxx_werror_flag"
68133 || test ! -s conftest.err'
68134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68135 (eval $ac_try) 2>&5
68136 ac_status=$?
68137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68138 (exit $ac_status); }; } &&
68139 { ac_try='test -s conftest.$ac_objext'
68140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68141 (eval $ac_try) 2>&5
68142 ac_status=$?
68143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68144 (exit $ac_status); }; }; then
68145 glibcxx_cv_func_isnanf_use=yes
68146 else
68147 echo "$as_me: failed program was:" >&5
68148 sed 's/^/| /' conftest.$ac_ext >&5
68150 glibcxx_cv_func_isnanf_use=no
68152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68153 ac_ext=c
68154 ac_cpp='$CPP $CPPFLAGS'
68155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68163 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
68164 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
68166 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68168 for ac_func in isnanf
68170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68171 echo "$as_me:$LINENO: checking for $ac_func" >&5
68172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68173 if eval "test \"\${$as_ac_var+set}\" = set"; then
68174 echo $ECHO_N "(cached) $ECHO_C" >&6
68175 else
68176 if test x$gcc_no_link = xyes; then
68177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68179 { (exit 1); exit 1; }; }
68181 cat >conftest.$ac_ext <<_ACEOF
68182 /* confdefs.h. */
68183 _ACEOF
68184 cat confdefs.h >>conftest.$ac_ext
68185 cat >>conftest.$ac_ext <<_ACEOF
68186 /* end confdefs.h. */
68187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68189 #define $ac_func innocuous_$ac_func
68191 /* System header to define __stub macros and hopefully few prototypes,
68192 which can conflict with char $ac_func (); below.
68193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68194 <limits.h> exists even on freestanding compilers. */
68196 #ifdef __STDC__
68197 # include <limits.h>
68198 #else
68199 # include <assert.h>
68200 #endif
68202 #undef $ac_func
68204 /* Override any gcc2 internal prototype to avoid an error. */
68205 #ifdef __cplusplus
68206 extern "C"
68208 #endif
68209 /* We use char because int might match the return type of a gcc2
68210 builtin and then its argument prototype would still apply. */
68211 char $ac_func ();
68212 /* The GNU C library defines this for functions which it implements
68213 to always fail with ENOSYS. Some functions are actually named
68214 something starting with __ and the normal name is an alias. */
68215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68216 choke me
68217 #else
68218 char (*f) () = $ac_func;
68219 #endif
68220 #ifdef __cplusplus
68222 #endif
68225 main ()
68227 return f != $ac_func;
68229 return 0;
68231 _ACEOF
68232 rm -f conftest.$ac_objext conftest$ac_exeext
68233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68234 (eval $ac_link) 2>conftest.er1
68235 ac_status=$?
68236 grep -v '^ *+' conftest.er1 >conftest.err
68237 rm -f conftest.er1
68238 cat conftest.err >&5
68239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68240 (exit $ac_status); } &&
68241 { ac_try='test -z "$ac_c_werror_flag"
68242 || test ! -s conftest.err'
68243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68244 (eval $ac_try) 2>&5
68245 ac_status=$?
68246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68247 (exit $ac_status); }; } &&
68248 { ac_try='test -s conftest$ac_exeext'
68249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68250 (eval $ac_try) 2>&5
68251 ac_status=$?
68252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68253 (exit $ac_status); }; }; then
68254 eval "$as_ac_var=yes"
68255 else
68256 echo "$as_me: failed program was:" >&5
68257 sed 's/^/| /' conftest.$ac_ext >&5
68259 eval "$as_ac_var=no"
68261 rm -f conftest.err conftest.$ac_objext \
68262 conftest$ac_exeext conftest.$ac_ext
68264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68266 if test `eval echo '${'$as_ac_var'}'` = yes; then
68267 cat >>confdefs.h <<_ACEOF
68268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68269 _ACEOF
68272 done
68274 else
68276 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
68277 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
68278 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68279 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
68280 echo $ECHO_N "(cached) $ECHO_C" >&6
68281 else
68285 ac_ext=cc
68286 ac_cpp='$CXXCPP $CPPFLAGS'
68287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68291 cat >conftest.$ac_ext <<_ACEOF
68292 /* confdefs.h. */
68293 _ACEOF
68294 cat confdefs.h >>conftest.$ac_ext
68295 cat >>conftest.$ac_ext <<_ACEOF
68296 /* end confdefs.h. */
68297 #include <math.h>
68298 #ifdef HAVE_IEEEFP_H
68299 #include <ieeefp.h>
68300 #endif
68303 main ()
68305 _isnanf(0);
68307 return 0;
68309 _ACEOF
68310 rm -f conftest.$ac_objext
68311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68312 (eval $ac_compile) 2>conftest.er1
68313 ac_status=$?
68314 grep -v '^ *+' conftest.er1 >conftest.err
68315 rm -f conftest.er1
68316 cat conftest.err >&5
68317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68318 (exit $ac_status); } &&
68319 { ac_try='test -z "$ac_cxx_werror_flag"
68320 || test ! -s conftest.err'
68321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68322 (eval $ac_try) 2>&5
68323 ac_status=$?
68324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68325 (exit $ac_status); }; } &&
68326 { ac_try='test -s conftest.$ac_objext'
68327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68328 (eval $ac_try) 2>&5
68329 ac_status=$?
68330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68331 (exit $ac_status); }; }; then
68332 glibcxx_cv_func__isnanf_use=yes
68333 else
68334 echo "$as_me: failed program was:" >&5
68335 sed 's/^/| /' conftest.$ac_ext >&5
68337 glibcxx_cv_func__isnanf_use=no
68339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68340 ac_ext=c
68341 ac_cpp='$CPP $CPPFLAGS'
68342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68350 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
68351 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
68353 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68355 for ac_func in _isnanf
68357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68358 echo "$as_me:$LINENO: checking for $ac_func" >&5
68359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68360 if eval "test \"\${$as_ac_var+set}\" = set"; then
68361 echo $ECHO_N "(cached) $ECHO_C" >&6
68362 else
68363 if test x$gcc_no_link = xyes; then
68364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68366 { (exit 1); exit 1; }; }
68368 cat >conftest.$ac_ext <<_ACEOF
68369 /* confdefs.h. */
68370 _ACEOF
68371 cat confdefs.h >>conftest.$ac_ext
68372 cat >>conftest.$ac_ext <<_ACEOF
68373 /* end confdefs.h. */
68374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68376 #define $ac_func innocuous_$ac_func
68378 /* System header to define __stub macros and hopefully few prototypes,
68379 which can conflict with char $ac_func (); below.
68380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68381 <limits.h> exists even on freestanding compilers. */
68383 #ifdef __STDC__
68384 # include <limits.h>
68385 #else
68386 # include <assert.h>
68387 #endif
68389 #undef $ac_func
68391 /* Override any gcc2 internal prototype to avoid an error. */
68392 #ifdef __cplusplus
68393 extern "C"
68395 #endif
68396 /* We use char because int might match the return type of a gcc2
68397 builtin and then its argument prototype would still apply. */
68398 char $ac_func ();
68399 /* The GNU C library defines this for functions which it implements
68400 to always fail with ENOSYS. Some functions are actually named
68401 something starting with __ and the normal name is an alias. */
68402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68403 choke me
68404 #else
68405 char (*f) () = $ac_func;
68406 #endif
68407 #ifdef __cplusplus
68409 #endif
68412 main ()
68414 return f != $ac_func;
68416 return 0;
68418 _ACEOF
68419 rm -f conftest.$ac_objext conftest$ac_exeext
68420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68421 (eval $ac_link) 2>conftest.er1
68422 ac_status=$?
68423 grep -v '^ *+' conftest.er1 >conftest.err
68424 rm -f conftest.er1
68425 cat conftest.err >&5
68426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68427 (exit $ac_status); } &&
68428 { ac_try='test -z "$ac_c_werror_flag"
68429 || test ! -s conftest.err'
68430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68431 (eval $ac_try) 2>&5
68432 ac_status=$?
68433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68434 (exit $ac_status); }; } &&
68435 { ac_try='test -s conftest$ac_exeext'
68436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68437 (eval $ac_try) 2>&5
68438 ac_status=$?
68439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68440 (exit $ac_status); }; }; then
68441 eval "$as_ac_var=yes"
68442 else
68443 echo "$as_me: failed program was:" >&5
68444 sed 's/^/| /' conftest.$ac_ext >&5
68446 eval "$as_ac_var=no"
68448 rm -f conftest.err conftest.$ac_objext \
68449 conftest$ac_exeext conftest.$ac_ext
68451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68453 if test `eval echo '${'$as_ac_var'}'` = yes; then
68454 cat >>confdefs.h <<_ACEOF
68455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68456 _ACEOF
68459 done
68469 echo "$as_me:$LINENO: checking for isinff declaration" >&5
68470 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
68471 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68472 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
68473 echo $ECHO_N "(cached) $ECHO_C" >&6
68474 else
68478 ac_ext=cc
68479 ac_cpp='$CXXCPP $CPPFLAGS'
68480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68484 cat >conftest.$ac_ext <<_ACEOF
68485 /* confdefs.h. */
68486 _ACEOF
68487 cat confdefs.h >>conftest.$ac_ext
68488 cat >>conftest.$ac_ext <<_ACEOF
68489 /* end confdefs.h. */
68490 #include <math.h>
68491 #ifdef HAVE_IEEEFP_H
68492 #include <ieeefp.h>
68493 #endif
68496 main ()
68498 isinff(0);
68500 return 0;
68502 _ACEOF
68503 rm -f conftest.$ac_objext
68504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68505 (eval $ac_compile) 2>conftest.er1
68506 ac_status=$?
68507 grep -v '^ *+' conftest.er1 >conftest.err
68508 rm -f conftest.er1
68509 cat conftest.err >&5
68510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68511 (exit $ac_status); } &&
68512 { ac_try='test -z "$ac_cxx_werror_flag"
68513 || test ! -s conftest.err'
68514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68515 (eval $ac_try) 2>&5
68516 ac_status=$?
68517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68518 (exit $ac_status); }; } &&
68519 { ac_try='test -s conftest.$ac_objext'
68520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68521 (eval $ac_try) 2>&5
68522 ac_status=$?
68523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68524 (exit $ac_status); }; }; then
68525 glibcxx_cv_func_isinff_use=yes
68526 else
68527 echo "$as_me: failed program was:" >&5
68528 sed 's/^/| /' conftest.$ac_ext >&5
68530 glibcxx_cv_func_isinff_use=no
68532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68533 ac_ext=c
68534 ac_cpp='$CPP $CPPFLAGS'
68535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68543 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
68544 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
68546 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68548 for ac_func in isinff
68550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68551 echo "$as_me:$LINENO: checking for $ac_func" >&5
68552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68553 if eval "test \"\${$as_ac_var+set}\" = set"; then
68554 echo $ECHO_N "(cached) $ECHO_C" >&6
68555 else
68556 if test x$gcc_no_link = xyes; then
68557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68559 { (exit 1); exit 1; }; }
68561 cat >conftest.$ac_ext <<_ACEOF
68562 /* confdefs.h. */
68563 _ACEOF
68564 cat confdefs.h >>conftest.$ac_ext
68565 cat >>conftest.$ac_ext <<_ACEOF
68566 /* end confdefs.h. */
68567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68569 #define $ac_func innocuous_$ac_func
68571 /* System header to define __stub macros and hopefully few prototypes,
68572 which can conflict with char $ac_func (); below.
68573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68574 <limits.h> exists even on freestanding compilers. */
68576 #ifdef __STDC__
68577 # include <limits.h>
68578 #else
68579 # include <assert.h>
68580 #endif
68582 #undef $ac_func
68584 /* Override any gcc2 internal prototype to avoid an error. */
68585 #ifdef __cplusplus
68586 extern "C"
68588 #endif
68589 /* We use char because int might match the return type of a gcc2
68590 builtin and then its argument prototype would still apply. */
68591 char $ac_func ();
68592 /* The GNU C library defines this for functions which it implements
68593 to always fail with ENOSYS. Some functions are actually named
68594 something starting with __ and the normal name is an alias. */
68595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68596 choke me
68597 #else
68598 char (*f) () = $ac_func;
68599 #endif
68600 #ifdef __cplusplus
68602 #endif
68605 main ()
68607 return f != $ac_func;
68609 return 0;
68611 _ACEOF
68612 rm -f conftest.$ac_objext conftest$ac_exeext
68613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68614 (eval $ac_link) 2>conftest.er1
68615 ac_status=$?
68616 grep -v '^ *+' conftest.er1 >conftest.err
68617 rm -f conftest.er1
68618 cat conftest.err >&5
68619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68620 (exit $ac_status); } &&
68621 { ac_try='test -z "$ac_c_werror_flag"
68622 || test ! -s conftest.err'
68623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68624 (eval $ac_try) 2>&5
68625 ac_status=$?
68626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68627 (exit $ac_status); }; } &&
68628 { ac_try='test -s conftest$ac_exeext'
68629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68630 (eval $ac_try) 2>&5
68631 ac_status=$?
68632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68633 (exit $ac_status); }; }; then
68634 eval "$as_ac_var=yes"
68635 else
68636 echo "$as_me: failed program was:" >&5
68637 sed 's/^/| /' conftest.$ac_ext >&5
68639 eval "$as_ac_var=no"
68641 rm -f conftest.err conftest.$ac_objext \
68642 conftest$ac_exeext conftest.$ac_ext
68644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68646 if test `eval echo '${'$as_ac_var'}'` = yes; then
68647 cat >>confdefs.h <<_ACEOF
68648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68649 _ACEOF
68652 done
68654 else
68656 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
68657 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
68658 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68659 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
68660 echo $ECHO_N "(cached) $ECHO_C" >&6
68661 else
68665 ac_ext=cc
68666 ac_cpp='$CXXCPP $CPPFLAGS'
68667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68671 cat >conftest.$ac_ext <<_ACEOF
68672 /* confdefs.h. */
68673 _ACEOF
68674 cat confdefs.h >>conftest.$ac_ext
68675 cat >>conftest.$ac_ext <<_ACEOF
68676 /* end confdefs.h. */
68677 #include <math.h>
68678 #ifdef HAVE_IEEEFP_H
68679 #include <ieeefp.h>
68680 #endif
68683 main ()
68685 _isinff(0);
68687 return 0;
68689 _ACEOF
68690 rm -f conftest.$ac_objext
68691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68692 (eval $ac_compile) 2>conftest.er1
68693 ac_status=$?
68694 grep -v '^ *+' conftest.er1 >conftest.err
68695 rm -f conftest.er1
68696 cat conftest.err >&5
68697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68698 (exit $ac_status); } &&
68699 { ac_try='test -z "$ac_cxx_werror_flag"
68700 || test ! -s conftest.err'
68701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68702 (eval $ac_try) 2>&5
68703 ac_status=$?
68704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68705 (exit $ac_status); }; } &&
68706 { ac_try='test -s conftest.$ac_objext'
68707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68708 (eval $ac_try) 2>&5
68709 ac_status=$?
68710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68711 (exit $ac_status); }; }; then
68712 glibcxx_cv_func__isinff_use=yes
68713 else
68714 echo "$as_me: failed program was:" >&5
68715 sed 's/^/| /' conftest.$ac_ext >&5
68717 glibcxx_cv_func__isinff_use=no
68719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68720 ac_ext=c
68721 ac_cpp='$CPP $CPPFLAGS'
68722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68730 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
68731 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
68733 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68735 for ac_func in _isinff
68737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68738 echo "$as_me:$LINENO: checking for $ac_func" >&5
68739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68740 if eval "test \"\${$as_ac_var+set}\" = set"; then
68741 echo $ECHO_N "(cached) $ECHO_C" >&6
68742 else
68743 if test x$gcc_no_link = xyes; then
68744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68746 { (exit 1); exit 1; }; }
68748 cat >conftest.$ac_ext <<_ACEOF
68749 /* confdefs.h. */
68750 _ACEOF
68751 cat confdefs.h >>conftest.$ac_ext
68752 cat >>conftest.$ac_ext <<_ACEOF
68753 /* end confdefs.h. */
68754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68756 #define $ac_func innocuous_$ac_func
68758 /* System header to define __stub macros and hopefully few prototypes,
68759 which can conflict with char $ac_func (); below.
68760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68761 <limits.h> exists even on freestanding compilers. */
68763 #ifdef __STDC__
68764 # include <limits.h>
68765 #else
68766 # include <assert.h>
68767 #endif
68769 #undef $ac_func
68771 /* Override any gcc2 internal prototype to avoid an error. */
68772 #ifdef __cplusplus
68773 extern "C"
68775 #endif
68776 /* We use char because int might match the return type of a gcc2
68777 builtin and then its argument prototype would still apply. */
68778 char $ac_func ();
68779 /* The GNU C library defines this for functions which it implements
68780 to always fail with ENOSYS. Some functions are actually named
68781 something starting with __ and the normal name is an alias. */
68782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68783 choke me
68784 #else
68785 char (*f) () = $ac_func;
68786 #endif
68787 #ifdef __cplusplus
68789 #endif
68792 main ()
68794 return f != $ac_func;
68796 return 0;
68798 _ACEOF
68799 rm -f conftest.$ac_objext conftest$ac_exeext
68800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68801 (eval $ac_link) 2>conftest.er1
68802 ac_status=$?
68803 grep -v '^ *+' conftest.er1 >conftest.err
68804 rm -f conftest.er1
68805 cat conftest.err >&5
68806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68807 (exit $ac_status); } &&
68808 { ac_try='test -z "$ac_c_werror_flag"
68809 || test ! -s conftest.err'
68810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68811 (eval $ac_try) 2>&5
68812 ac_status=$?
68813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68814 (exit $ac_status); }; } &&
68815 { ac_try='test -s conftest$ac_exeext'
68816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68817 (eval $ac_try) 2>&5
68818 ac_status=$?
68819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68820 (exit $ac_status); }; }; then
68821 eval "$as_ac_var=yes"
68822 else
68823 echo "$as_me: failed program was:" >&5
68824 sed 's/^/| /' conftest.$ac_ext >&5
68826 eval "$as_ac_var=no"
68828 rm -f conftest.err conftest.$ac_objext \
68829 conftest$ac_exeext conftest.$ac_ext
68831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68833 if test `eval echo '${'$as_ac_var'}'` = yes; then
68834 cat >>confdefs.h <<_ACEOF
68835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68836 _ACEOF
68839 done
68849 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
68850 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
68851 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68852 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
68853 echo $ECHO_N "(cached) $ECHO_C" >&6
68854 else
68858 ac_ext=cc
68859 ac_cpp='$CXXCPP $CPPFLAGS'
68860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68864 cat >conftest.$ac_ext <<_ACEOF
68865 /* confdefs.h. */
68866 _ACEOF
68867 cat confdefs.h >>conftest.$ac_ext
68868 cat >>conftest.$ac_ext <<_ACEOF
68869 /* end confdefs.h. */
68870 #include <math.h>
68872 main ()
68874 atan2f(0, 0);
68876 return 0;
68878 _ACEOF
68879 rm -f conftest.$ac_objext
68880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68881 (eval $ac_compile) 2>conftest.er1
68882 ac_status=$?
68883 grep -v '^ *+' conftest.er1 >conftest.err
68884 rm -f conftest.er1
68885 cat conftest.err >&5
68886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68887 (exit $ac_status); } &&
68888 { ac_try='test -z "$ac_cxx_werror_flag"
68889 || test ! -s conftest.err'
68890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68891 (eval $ac_try) 2>&5
68892 ac_status=$?
68893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68894 (exit $ac_status); }; } &&
68895 { ac_try='test -s conftest.$ac_objext'
68896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68897 (eval $ac_try) 2>&5
68898 ac_status=$?
68899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68900 (exit $ac_status); }; }; then
68901 glibcxx_cv_func_atan2f_use=yes
68902 else
68903 echo "$as_me: failed program was:" >&5
68904 sed 's/^/| /' conftest.$ac_ext >&5
68906 glibcxx_cv_func_atan2f_use=no
68908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68909 ac_ext=c
68910 ac_cpp='$CPP $CPPFLAGS'
68911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
68920 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
68922 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68924 for ac_func in atan2f
68926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68927 echo "$as_me:$LINENO: checking for $ac_func" >&5
68928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68929 if eval "test \"\${$as_ac_var+set}\" = set"; then
68930 echo $ECHO_N "(cached) $ECHO_C" >&6
68931 else
68932 if test x$gcc_no_link = xyes; then
68933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68935 { (exit 1); exit 1; }; }
68937 cat >conftest.$ac_ext <<_ACEOF
68938 /* confdefs.h. */
68939 _ACEOF
68940 cat confdefs.h >>conftest.$ac_ext
68941 cat >>conftest.$ac_ext <<_ACEOF
68942 /* end confdefs.h. */
68943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68945 #define $ac_func innocuous_$ac_func
68947 /* System header to define __stub macros and hopefully few prototypes,
68948 which can conflict with char $ac_func (); below.
68949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68950 <limits.h> exists even on freestanding compilers. */
68952 #ifdef __STDC__
68953 # include <limits.h>
68954 #else
68955 # include <assert.h>
68956 #endif
68958 #undef $ac_func
68960 /* Override any gcc2 internal prototype to avoid an error. */
68961 #ifdef __cplusplus
68962 extern "C"
68964 #endif
68965 /* We use char because int might match the return type of a gcc2
68966 builtin and then its argument prototype would still apply. */
68967 char $ac_func ();
68968 /* The GNU C library defines this for functions which it implements
68969 to always fail with ENOSYS. Some functions are actually named
68970 something starting with __ and the normal name is an alias. */
68971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68972 choke me
68973 #else
68974 char (*f) () = $ac_func;
68975 #endif
68976 #ifdef __cplusplus
68978 #endif
68981 main ()
68983 return f != $ac_func;
68985 return 0;
68987 _ACEOF
68988 rm -f conftest.$ac_objext conftest$ac_exeext
68989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68990 (eval $ac_link) 2>conftest.er1
68991 ac_status=$?
68992 grep -v '^ *+' conftest.er1 >conftest.err
68993 rm -f conftest.er1
68994 cat conftest.err >&5
68995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68996 (exit $ac_status); } &&
68997 { ac_try='test -z "$ac_c_werror_flag"
68998 || test ! -s conftest.err'
68999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69000 (eval $ac_try) 2>&5
69001 ac_status=$?
69002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69003 (exit $ac_status); }; } &&
69004 { ac_try='test -s conftest$ac_exeext'
69005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69006 (eval $ac_try) 2>&5
69007 ac_status=$?
69008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69009 (exit $ac_status); }; }; then
69010 eval "$as_ac_var=yes"
69011 else
69012 echo "$as_me: failed program was:" >&5
69013 sed 's/^/| /' conftest.$ac_ext >&5
69015 eval "$as_ac_var=no"
69017 rm -f conftest.err conftest.$ac_objext \
69018 conftest$ac_exeext conftest.$ac_ext
69020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69022 if test `eval echo '${'$as_ac_var'}'` = yes; then
69023 cat >>confdefs.h <<_ACEOF
69024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69025 _ACEOF
69028 done
69030 else
69032 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
69033 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
69034 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
69035 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
69036 echo $ECHO_N "(cached) $ECHO_C" >&6
69037 else
69041 ac_ext=cc
69042 ac_cpp='$CXXCPP $CPPFLAGS'
69043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69047 cat >conftest.$ac_ext <<_ACEOF
69048 /* confdefs.h. */
69049 _ACEOF
69050 cat confdefs.h >>conftest.$ac_ext
69051 cat >>conftest.$ac_ext <<_ACEOF
69052 /* end confdefs.h. */
69053 #include <math.h>
69055 main ()
69057 _atan2f(0, 0);
69059 return 0;
69061 _ACEOF
69062 rm -f conftest.$ac_objext
69063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69064 (eval $ac_compile) 2>conftest.er1
69065 ac_status=$?
69066 grep -v '^ *+' conftest.er1 >conftest.err
69067 rm -f conftest.er1
69068 cat conftest.err >&5
69069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69070 (exit $ac_status); } &&
69071 { ac_try='test -z "$ac_cxx_werror_flag"
69072 || test ! -s conftest.err'
69073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69074 (eval $ac_try) 2>&5
69075 ac_status=$?
69076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69077 (exit $ac_status); }; } &&
69078 { ac_try='test -s conftest.$ac_objext'
69079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69080 (eval $ac_try) 2>&5
69081 ac_status=$?
69082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69083 (exit $ac_status); }; }; then
69084 glibcxx_cv_func__atan2f_use=yes
69085 else
69086 echo "$as_me: failed program was:" >&5
69087 sed 's/^/| /' conftest.$ac_ext >&5
69089 glibcxx_cv_func__atan2f_use=no
69091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69092 ac_ext=c
69093 ac_cpp='$CPP $CPPFLAGS'
69094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69102 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
69103 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
69105 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
69107 for ac_func in _atan2f
69109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69110 echo "$as_me:$LINENO: checking for $ac_func" >&5
69111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69112 if eval "test \"\${$as_ac_var+set}\" = set"; then
69113 echo $ECHO_N "(cached) $ECHO_C" >&6
69114 else
69115 if test x$gcc_no_link = xyes; then
69116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69118 { (exit 1); exit 1; }; }
69120 cat >conftest.$ac_ext <<_ACEOF
69121 /* confdefs.h. */
69122 _ACEOF
69123 cat confdefs.h >>conftest.$ac_ext
69124 cat >>conftest.$ac_ext <<_ACEOF
69125 /* end confdefs.h. */
69126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69128 #define $ac_func innocuous_$ac_func
69130 /* System header to define __stub macros and hopefully few prototypes,
69131 which can conflict with char $ac_func (); below.
69132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69133 <limits.h> exists even on freestanding compilers. */
69135 #ifdef __STDC__
69136 # include <limits.h>
69137 #else
69138 # include <assert.h>
69139 #endif
69141 #undef $ac_func
69143 /* Override any gcc2 internal prototype to avoid an error. */
69144 #ifdef __cplusplus
69145 extern "C"
69147 #endif
69148 /* We use char because int might match the return type of a gcc2
69149 builtin and then its argument prototype would still apply. */
69150 char $ac_func ();
69151 /* The GNU C library defines this for functions which it implements
69152 to always fail with ENOSYS. Some functions are actually named
69153 something starting with __ and the normal name is an alias. */
69154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69155 choke me
69156 #else
69157 char (*f) () = $ac_func;
69158 #endif
69159 #ifdef __cplusplus
69161 #endif
69164 main ()
69166 return f != $ac_func;
69168 return 0;
69170 _ACEOF
69171 rm -f conftest.$ac_objext conftest$ac_exeext
69172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69173 (eval $ac_link) 2>conftest.er1
69174 ac_status=$?
69175 grep -v '^ *+' conftest.er1 >conftest.err
69176 rm -f conftest.er1
69177 cat conftest.err >&5
69178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69179 (exit $ac_status); } &&
69180 { ac_try='test -z "$ac_c_werror_flag"
69181 || test ! -s conftest.err'
69182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69183 (eval $ac_try) 2>&5
69184 ac_status=$?
69185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69186 (exit $ac_status); }; } &&
69187 { ac_try='test -s conftest$ac_exeext'
69188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69189 (eval $ac_try) 2>&5
69190 ac_status=$?
69191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69192 (exit $ac_status); }; }; then
69193 eval "$as_ac_var=yes"
69194 else
69195 echo "$as_me: failed program was:" >&5
69196 sed 's/^/| /' conftest.$ac_ext >&5
69198 eval "$as_ac_var=no"
69200 rm -f conftest.err conftest.$ac_objext \
69201 conftest$ac_exeext conftest.$ac_ext
69203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69205 if test `eval echo '${'$as_ac_var'}'` = yes; then
69206 cat >>confdefs.h <<_ACEOF
69207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69208 _ACEOF
69211 done
69221 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
69222 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
69223 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
69224 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
69225 echo $ECHO_N "(cached) $ECHO_C" >&6
69226 else
69230 ac_ext=cc
69231 ac_cpp='$CXXCPP $CPPFLAGS'
69232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69236 cat >conftest.$ac_ext <<_ACEOF
69237 /* confdefs.h. */
69238 _ACEOF
69239 cat confdefs.h >>conftest.$ac_ext
69240 cat >>conftest.$ac_ext <<_ACEOF
69241 /* end confdefs.h. */
69242 #include <math.h>
69243 #ifdef HAVE_IEEEFP_H
69244 #include <ieeefp.h>
69245 #endif
69248 main ()
69250 fabsf(0);
69252 return 0;
69254 _ACEOF
69255 rm -f conftest.$ac_objext
69256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69257 (eval $ac_compile) 2>conftest.er1
69258 ac_status=$?
69259 grep -v '^ *+' conftest.er1 >conftest.err
69260 rm -f conftest.er1
69261 cat conftest.err >&5
69262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69263 (exit $ac_status); } &&
69264 { ac_try='test -z "$ac_cxx_werror_flag"
69265 || test ! -s conftest.err'
69266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69267 (eval $ac_try) 2>&5
69268 ac_status=$?
69269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69270 (exit $ac_status); }; } &&
69271 { ac_try='test -s conftest.$ac_objext'
69272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69273 (eval $ac_try) 2>&5
69274 ac_status=$?
69275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69276 (exit $ac_status); }; }; then
69277 glibcxx_cv_func_fabsf_use=yes
69278 else
69279 echo "$as_me: failed program was:" >&5
69280 sed 's/^/| /' conftest.$ac_ext >&5
69282 glibcxx_cv_func_fabsf_use=no
69284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69285 ac_ext=c
69286 ac_cpp='$CPP $CPPFLAGS'
69287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69295 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
69296 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
69298 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
69300 for ac_func in fabsf
69302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69303 echo "$as_me:$LINENO: checking for $ac_func" >&5
69304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69305 if eval "test \"\${$as_ac_var+set}\" = set"; then
69306 echo $ECHO_N "(cached) $ECHO_C" >&6
69307 else
69308 if test x$gcc_no_link = xyes; then
69309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69311 { (exit 1); exit 1; }; }
69313 cat >conftest.$ac_ext <<_ACEOF
69314 /* confdefs.h. */
69315 _ACEOF
69316 cat confdefs.h >>conftest.$ac_ext
69317 cat >>conftest.$ac_ext <<_ACEOF
69318 /* end confdefs.h. */
69319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69321 #define $ac_func innocuous_$ac_func
69323 /* System header to define __stub macros and hopefully few prototypes,
69324 which can conflict with char $ac_func (); below.
69325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69326 <limits.h> exists even on freestanding compilers. */
69328 #ifdef __STDC__
69329 # include <limits.h>
69330 #else
69331 # include <assert.h>
69332 #endif
69334 #undef $ac_func
69336 /* Override any gcc2 internal prototype to avoid an error. */
69337 #ifdef __cplusplus
69338 extern "C"
69340 #endif
69341 /* We use char because int might match the return type of a gcc2
69342 builtin and then its argument prototype would still apply. */
69343 char $ac_func ();
69344 /* The GNU C library defines this for functions which it implements
69345 to always fail with ENOSYS. Some functions are actually named
69346 something starting with __ and the normal name is an alias. */
69347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69348 choke me
69349 #else
69350 char (*f) () = $ac_func;
69351 #endif
69352 #ifdef __cplusplus
69354 #endif
69357 main ()
69359 return f != $ac_func;
69361 return 0;
69363 _ACEOF
69364 rm -f conftest.$ac_objext conftest$ac_exeext
69365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69366 (eval $ac_link) 2>conftest.er1
69367 ac_status=$?
69368 grep -v '^ *+' conftest.er1 >conftest.err
69369 rm -f conftest.er1
69370 cat conftest.err >&5
69371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69372 (exit $ac_status); } &&
69373 { ac_try='test -z "$ac_c_werror_flag"
69374 || test ! -s conftest.err'
69375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69376 (eval $ac_try) 2>&5
69377 ac_status=$?
69378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69379 (exit $ac_status); }; } &&
69380 { ac_try='test -s conftest$ac_exeext'
69381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69382 (eval $ac_try) 2>&5
69383 ac_status=$?
69384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69385 (exit $ac_status); }; }; then
69386 eval "$as_ac_var=yes"
69387 else
69388 echo "$as_me: failed program was:" >&5
69389 sed 's/^/| /' conftest.$ac_ext >&5
69391 eval "$as_ac_var=no"
69393 rm -f conftest.err conftest.$ac_objext \
69394 conftest$ac_exeext conftest.$ac_ext
69396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69398 if test `eval echo '${'$as_ac_var'}'` = yes; then
69399 cat >>confdefs.h <<_ACEOF
69400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69401 _ACEOF
69404 done
69406 else
69408 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
69409 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
69410 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
69411 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
69412 echo $ECHO_N "(cached) $ECHO_C" >&6
69413 else
69417 ac_ext=cc
69418 ac_cpp='$CXXCPP $CPPFLAGS'
69419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69423 cat >conftest.$ac_ext <<_ACEOF
69424 /* confdefs.h. */
69425 _ACEOF
69426 cat confdefs.h >>conftest.$ac_ext
69427 cat >>conftest.$ac_ext <<_ACEOF
69428 /* end confdefs.h. */
69429 #include <math.h>
69430 #ifdef HAVE_IEEEFP_H
69431 #include <ieeefp.h>
69432 #endif
69435 main ()
69437 _fabsf(0);
69439 return 0;
69441 _ACEOF
69442 rm -f conftest.$ac_objext
69443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69444 (eval $ac_compile) 2>conftest.er1
69445 ac_status=$?
69446 grep -v '^ *+' conftest.er1 >conftest.err
69447 rm -f conftest.er1
69448 cat conftest.err >&5
69449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69450 (exit $ac_status); } &&
69451 { ac_try='test -z "$ac_cxx_werror_flag"
69452 || test ! -s conftest.err'
69453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69454 (eval $ac_try) 2>&5
69455 ac_status=$?
69456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69457 (exit $ac_status); }; } &&
69458 { ac_try='test -s conftest.$ac_objext'
69459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69460 (eval $ac_try) 2>&5
69461 ac_status=$?
69462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69463 (exit $ac_status); }; }; then
69464 glibcxx_cv_func__fabsf_use=yes
69465 else
69466 echo "$as_me: failed program was:" >&5
69467 sed 's/^/| /' conftest.$ac_ext >&5
69469 glibcxx_cv_func__fabsf_use=no
69471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69472 ac_ext=c
69473 ac_cpp='$CPP $CPPFLAGS'
69474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69482 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
69483 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
69485 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
69487 for ac_func in _fabsf
69489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69490 echo "$as_me:$LINENO: checking for $ac_func" >&5
69491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69492 if eval "test \"\${$as_ac_var+set}\" = set"; then
69493 echo $ECHO_N "(cached) $ECHO_C" >&6
69494 else
69495 if test x$gcc_no_link = xyes; then
69496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69498 { (exit 1); exit 1; }; }
69500 cat >conftest.$ac_ext <<_ACEOF
69501 /* confdefs.h. */
69502 _ACEOF
69503 cat confdefs.h >>conftest.$ac_ext
69504 cat >>conftest.$ac_ext <<_ACEOF
69505 /* end confdefs.h. */
69506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69508 #define $ac_func innocuous_$ac_func
69510 /* System header to define __stub macros and hopefully few prototypes,
69511 which can conflict with char $ac_func (); below.
69512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69513 <limits.h> exists even on freestanding compilers. */
69515 #ifdef __STDC__
69516 # include <limits.h>
69517 #else
69518 # include <assert.h>
69519 #endif
69521 #undef $ac_func
69523 /* Override any gcc2 internal prototype to avoid an error. */
69524 #ifdef __cplusplus
69525 extern "C"
69527 #endif
69528 /* We use char because int might match the return type of a gcc2
69529 builtin and then its argument prototype would still apply. */
69530 char $ac_func ();
69531 /* The GNU C library defines this for functions which it implements
69532 to always fail with ENOSYS. Some functions are actually named
69533 something starting with __ and the normal name is an alias. */
69534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69535 choke me
69536 #else
69537 char (*f) () = $ac_func;
69538 #endif
69539 #ifdef __cplusplus
69541 #endif
69544 main ()
69546 return f != $ac_func;
69548 return 0;
69550 _ACEOF
69551 rm -f conftest.$ac_objext conftest$ac_exeext
69552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69553 (eval $ac_link) 2>conftest.er1
69554 ac_status=$?
69555 grep -v '^ *+' conftest.er1 >conftest.err
69556 rm -f conftest.er1
69557 cat conftest.err >&5
69558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69559 (exit $ac_status); } &&
69560 { ac_try='test -z "$ac_c_werror_flag"
69561 || test ! -s conftest.err'
69562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69563 (eval $ac_try) 2>&5
69564 ac_status=$?
69565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69566 (exit $ac_status); }; } &&
69567 { ac_try='test -s conftest$ac_exeext'
69568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69569 (eval $ac_try) 2>&5
69570 ac_status=$?
69571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69572 (exit $ac_status); }; }; then
69573 eval "$as_ac_var=yes"
69574 else
69575 echo "$as_me: failed program was:" >&5
69576 sed 's/^/| /' conftest.$ac_ext >&5
69578 eval "$as_ac_var=no"
69580 rm -f conftest.err conftest.$ac_objext \
69581 conftest$ac_exeext conftest.$ac_ext
69583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69585 if test `eval echo '${'$as_ac_var'}'` = yes; then
69586 cat >>confdefs.h <<_ACEOF
69587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69588 _ACEOF
69591 done
69601 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
69602 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
69603 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
69604 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
69605 echo $ECHO_N "(cached) $ECHO_C" >&6
69606 else
69610 ac_ext=cc
69611 ac_cpp='$CXXCPP $CPPFLAGS'
69612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69616 cat >conftest.$ac_ext <<_ACEOF
69617 /* confdefs.h. */
69618 _ACEOF
69619 cat confdefs.h >>conftest.$ac_ext
69620 cat >>conftest.$ac_ext <<_ACEOF
69621 /* end confdefs.h. */
69622 #include <math.h>
69624 main ()
69626 fmodf(0, 0);
69628 return 0;
69630 _ACEOF
69631 rm -f conftest.$ac_objext
69632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69633 (eval $ac_compile) 2>conftest.er1
69634 ac_status=$?
69635 grep -v '^ *+' conftest.er1 >conftest.err
69636 rm -f conftest.er1
69637 cat conftest.err >&5
69638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69639 (exit $ac_status); } &&
69640 { ac_try='test -z "$ac_cxx_werror_flag"
69641 || test ! -s conftest.err'
69642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69643 (eval $ac_try) 2>&5
69644 ac_status=$?
69645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69646 (exit $ac_status); }; } &&
69647 { ac_try='test -s conftest.$ac_objext'
69648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69649 (eval $ac_try) 2>&5
69650 ac_status=$?
69651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69652 (exit $ac_status); }; }; then
69653 glibcxx_cv_func_fmodf_use=yes
69654 else
69655 echo "$as_me: failed program was:" >&5
69656 sed 's/^/| /' conftest.$ac_ext >&5
69658 glibcxx_cv_func_fmodf_use=no
69660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69661 ac_ext=c
69662 ac_cpp='$CPP $CPPFLAGS'
69663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69671 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
69672 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
69674 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
69676 for ac_func in fmodf
69678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69679 echo "$as_me:$LINENO: checking for $ac_func" >&5
69680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69681 if eval "test \"\${$as_ac_var+set}\" = set"; then
69682 echo $ECHO_N "(cached) $ECHO_C" >&6
69683 else
69684 if test x$gcc_no_link = xyes; then
69685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69687 { (exit 1); exit 1; }; }
69689 cat >conftest.$ac_ext <<_ACEOF
69690 /* confdefs.h. */
69691 _ACEOF
69692 cat confdefs.h >>conftest.$ac_ext
69693 cat >>conftest.$ac_ext <<_ACEOF
69694 /* end confdefs.h. */
69695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69697 #define $ac_func innocuous_$ac_func
69699 /* System header to define __stub macros and hopefully few prototypes,
69700 which can conflict with char $ac_func (); below.
69701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69702 <limits.h> exists even on freestanding compilers. */
69704 #ifdef __STDC__
69705 # include <limits.h>
69706 #else
69707 # include <assert.h>
69708 #endif
69710 #undef $ac_func
69712 /* Override any gcc2 internal prototype to avoid an error. */
69713 #ifdef __cplusplus
69714 extern "C"
69716 #endif
69717 /* We use char because int might match the return type of a gcc2
69718 builtin and then its argument prototype would still apply. */
69719 char $ac_func ();
69720 /* The GNU C library defines this for functions which it implements
69721 to always fail with ENOSYS. Some functions are actually named
69722 something starting with __ and the normal name is an alias. */
69723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69724 choke me
69725 #else
69726 char (*f) () = $ac_func;
69727 #endif
69728 #ifdef __cplusplus
69730 #endif
69733 main ()
69735 return f != $ac_func;
69737 return 0;
69739 _ACEOF
69740 rm -f conftest.$ac_objext conftest$ac_exeext
69741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69742 (eval $ac_link) 2>conftest.er1
69743 ac_status=$?
69744 grep -v '^ *+' conftest.er1 >conftest.err
69745 rm -f conftest.er1
69746 cat conftest.err >&5
69747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69748 (exit $ac_status); } &&
69749 { ac_try='test -z "$ac_c_werror_flag"
69750 || test ! -s conftest.err'
69751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69752 (eval $ac_try) 2>&5
69753 ac_status=$?
69754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69755 (exit $ac_status); }; } &&
69756 { ac_try='test -s conftest$ac_exeext'
69757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69758 (eval $ac_try) 2>&5
69759 ac_status=$?
69760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69761 (exit $ac_status); }; }; then
69762 eval "$as_ac_var=yes"
69763 else
69764 echo "$as_me: failed program was:" >&5
69765 sed 's/^/| /' conftest.$ac_ext >&5
69767 eval "$as_ac_var=no"
69769 rm -f conftest.err conftest.$ac_objext \
69770 conftest$ac_exeext conftest.$ac_ext
69772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69774 if test `eval echo '${'$as_ac_var'}'` = yes; then
69775 cat >>confdefs.h <<_ACEOF
69776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69777 _ACEOF
69780 done
69782 else
69784 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
69785 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
69786 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
69787 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
69788 echo $ECHO_N "(cached) $ECHO_C" >&6
69789 else
69793 ac_ext=cc
69794 ac_cpp='$CXXCPP $CPPFLAGS'
69795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69799 cat >conftest.$ac_ext <<_ACEOF
69800 /* confdefs.h. */
69801 _ACEOF
69802 cat confdefs.h >>conftest.$ac_ext
69803 cat >>conftest.$ac_ext <<_ACEOF
69804 /* end confdefs.h. */
69805 #include <math.h>
69807 main ()
69809 _fmodf(0, 0);
69811 return 0;
69813 _ACEOF
69814 rm -f conftest.$ac_objext
69815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69816 (eval $ac_compile) 2>conftest.er1
69817 ac_status=$?
69818 grep -v '^ *+' conftest.er1 >conftest.err
69819 rm -f conftest.er1
69820 cat conftest.err >&5
69821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69822 (exit $ac_status); } &&
69823 { ac_try='test -z "$ac_cxx_werror_flag"
69824 || test ! -s conftest.err'
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); }; } &&
69830 { ac_try='test -s conftest.$ac_objext'
69831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69832 (eval $ac_try) 2>&5
69833 ac_status=$?
69834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69835 (exit $ac_status); }; }; then
69836 glibcxx_cv_func__fmodf_use=yes
69837 else
69838 echo "$as_me: failed program was:" >&5
69839 sed 's/^/| /' conftest.$ac_ext >&5
69841 glibcxx_cv_func__fmodf_use=no
69843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69844 ac_ext=c
69845 ac_cpp='$CPP $CPPFLAGS'
69846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
69855 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
69857 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
69859 for ac_func in _fmodf
69861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69862 echo "$as_me:$LINENO: checking for $ac_func" >&5
69863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69864 if eval "test \"\${$as_ac_var+set}\" = set"; then
69865 echo $ECHO_N "(cached) $ECHO_C" >&6
69866 else
69867 if test x$gcc_no_link = xyes; then
69868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69870 { (exit 1); exit 1; }; }
69872 cat >conftest.$ac_ext <<_ACEOF
69873 /* confdefs.h. */
69874 _ACEOF
69875 cat confdefs.h >>conftest.$ac_ext
69876 cat >>conftest.$ac_ext <<_ACEOF
69877 /* end confdefs.h. */
69878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69880 #define $ac_func innocuous_$ac_func
69882 /* System header to define __stub macros and hopefully few prototypes,
69883 which can conflict with char $ac_func (); below.
69884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69885 <limits.h> exists even on freestanding compilers. */
69887 #ifdef __STDC__
69888 # include <limits.h>
69889 #else
69890 # include <assert.h>
69891 #endif
69893 #undef $ac_func
69895 /* Override any gcc2 internal prototype to avoid an error. */
69896 #ifdef __cplusplus
69897 extern "C"
69899 #endif
69900 /* We use char because int might match the return type of a gcc2
69901 builtin and then its argument prototype would still apply. */
69902 char $ac_func ();
69903 /* The GNU C library defines this for functions which it implements
69904 to always fail with ENOSYS. Some functions are actually named
69905 something starting with __ and the normal name is an alias. */
69906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69907 choke me
69908 #else
69909 char (*f) () = $ac_func;
69910 #endif
69911 #ifdef __cplusplus
69913 #endif
69916 main ()
69918 return f != $ac_func;
69920 return 0;
69922 _ACEOF
69923 rm -f conftest.$ac_objext conftest$ac_exeext
69924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69925 (eval $ac_link) 2>conftest.er1
69926 ac_status=$?
69927 grep -v '^ *+' conftest.er1 >conftest.err
69928 rm -f conftest.er1
69929 cat conftest.err >&5
69930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69931 (exit $ac_status); } &&
69932 { ac_try='test -z "$ac_c_werror_flag"
69933 || test ! -s conftest.err'
69934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69935 (eval $ac_try) 2>&5
69936 ac_status=$?
69937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69938 (exit $ac_status); }; } &&
69939 { ac_try='test -s conftest$ac_exeext'
69940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69941 (eval $ac_try) 2>&5
69942 ac_status=$?
69943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69944 (exit $ac_status); }; }; then
69945 eval "$as_ac_var=yes"
69946 else
69947 echo "$as_me: failed program was:" >&5
69948 sed 's/^/| /' conftest.$ac_ext >&5
69950 eval "$as_ac_var=no"
69952 rm -f conftest.err conftest.$ac_objext \
69953 conftest$ac_exeext conftest.$ac_ext
69955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69957 if test `eval echo '${'$as_ac_var'}'` = yes; then
69958 cat >>confdefs.h <<_ACEOF
69959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69960 _ACEOF
69963 done
69973 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
69974 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
69975 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
69976 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
69977 echo $ECHO_N "(cached) $ECHO_C" >&6
69978 else
69982 ac_ext=cc
69983 ac_cpp='$CXXCPP $CPPFLAGS'
69984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69988 cat >conftest.$ac_ext <<_ACEOF
69989 /* confdefs.h. */
69990 _ACEOF
69991 cat confdefs.h >>conftest.$ac_ext
69992 cat >>conftest.$ac_ext <<_ACEOF
69993 /* end confdefs.h. */
69994 #include <math.h>
69996 main ()
69998 frexpf(0, 0);
70000 return 0;
70002 _ACEOF
70003 rm -f conftest.$ac_objext
70004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70005 (eval $ac_compile) 2>conftest.er1
70006 ac_status=$?
70007 grep -v '^ *+' conftest.er1 >conftest.err
70008 rm -f conftest.er1
70009 cat conftest.err >&5
70010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70011 (exit $ac_status); } &&
70012 { ac_try='test -z "$ac_cxx_werror_flag"
70013 || test ! -s conftest.err'
70014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70015 (eval $ac_try) 2>&5
70016 ac_status=$?
70017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70018 (exit $ac_status); }; } &&
70019 { ac_try='test -s conftest.$ac_objext'
70020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70021 (eval $ac_try) 2>&5
70022 ac_status=$?
70023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70024 (exit $ac_status); }; }; then
70025 glibcxx_cv_func_frexpf_use=yes
70026 else
70027 echo "$as_me: failed program was:" >&5
70028 sed 's/^/| /' conftest.$ac_ext >&5
70030 glibcxx_cv_func_frexpf_use=no
70032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70033 ac_ext=c
70034 ac_cpp='$CPP $CPPFLAGS'
70035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70043 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
70044 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
70046 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
70048 for ac_func in frexpf
70050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70051 echo "$as_me:$LINENO: checking for $ac_func" >&5
70052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70053 if eval "test \"\${$as_ac_var+set}\" = set"; then
70054 echo $ECHO_N "(cached) $ECHO_C" >&6
70055 else
70056 if test x$gcc_no_link = xyes; then
70057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70059 { (exit 1); exit 1; }; }
70061 cat >conftest.$ac_ext <<_ACEOF
70062 /* confdefs.h. */
70063 _ACEOF
70064 cat confdefs.h >>conftest.$ac_ext
70065 cat >>conftest.$ac_ext <<_ACEOF
70066 /* end confdefs.h. */
70067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70069 #define $ac_func innocuous_$ac_func
70071 /* System header to define __stub macros and hopefully few prototypes,
70072 which can conflict with char $ac_func (); below.
70073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70074 <limits.h> exists even on freestanding compilers. */
70076 #ifdef __STDC__
70077 # include <limits.h>
70078 #else
70079 # include <assert.h>
70080 #endif
70082 #undef $ac_func
70084 /* Override any gcc2 internal prototype to avoid an error. */
70085 #ifdef __cplusplus
70086 extern "C"
70088 #endif
70089 /* We use char because int might match the return type of a gcc2
70090 builtin and then its argument prototype would still apply. */
70091 char $ac_func ();
70092 /* The GNU C library defines this for functions which it implements
70093 to always fail with ENOSYS. Some functions are actually named
70094 something starting with __ and the normal name is an alias. */
70095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70096 choke me
70097 #else
70098 char (*f) () = $ac_func;
70099 #endif
70100 #ifdef __cplusplus
70102 #endif
70105 main ()
70107 return f != $ac_func;
70109 return 0;
70111 _ACEOF
70112 rm -f conftest.$ac_objext conftest$ac_exeext
70113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70114 (eval $ac_link) 2>conftest.er1
70115 ac_status=$?
70116 grep -v '^ *+' conftest.er1 >conftest.err
70117 rm -f conftest.er1
70118 cat conftest.err >&5
70119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70120 (exit $ac_status); } &&
70121 { ac_try='test -z "$ac_c_werror_flag"
70122 || test ! -s conftest.err'
70123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70124 (eval $ac_try) 2>&5
70125 ac_status=$?
70126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70127 (exit $ac_status); }; } &&
70128 { ac_try='test -s conftest$ac_exeext'
70129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70130 (eval $ac_try) 2>&5
70131 ac_status=$?
70132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70133 (exit $ac_status); }; }; then
70134 eval "$as_ac_var=yes"
70135 else
70136 echo "$as_me: failed program was:" >&5
70137 sed 's/^/| /' conftest.$ac_ext >&5
70139 eval "$as_ac_var=no"
70141 rm -f conftest.err conftest.$ac_objext \
70142 conftest$ac_exeext conftest.$ac_ext
70144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70146 if test `eval echo '${'$as_ac_var'}'` = yes; then
70147 cat >>confdefs.h <<_ACEOF
70148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70149 _ACEOF
70152 done
70154 else
70156 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
70157 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
70158 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
70159 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
70160 echo $ECHO_N "(cached) $ECHO_C" >&6
70161 else
70165 ac_ext=cc
70166 ac_cpp='$CXXCPP $CPPFLAGS'
70167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70171 cat >conftest.$ac_ext <<_ACEOF
70172 /* confdefs.h. */
70173 _ACEOF
70174 cat confdefs.h >>conftest.$ac_ext
70175 cat >>conftest.$ac_ext <<_ACEOF
70176 /* end confdefs.h. */
70177 #include <math.h>
70179 main ()
70181 _frexpf(0, 0);
70183 return 0;
70185 _ACEOF
70186 rm -f conftest.$ac_objext
70187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70188 (eval $ac_compile) 2>conftest.er1
70189 ac_status=$?
70190 grep -v '^ *+' conftest.er1 >conftest.err
70191 rm -f conftest.er1
70192 cat conftest.err >&5
70193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70194 (exit $ac_status); } &&
70195 { ac_try='test -z "$ac_cxx_werror_flag"
70196 || test ! -s conftest.err'
70197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70198 (eval $ac_try) 2>&5
70199 ac_status=$?
70200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70201 (exit $ac_status); }; } &&
70202 { ac_try='test -s conftest.$ac_objext'
70203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70204 (eval $ac_try) 2>&5
70205 ac_status=$?
70206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70207 (exit $ac_status); }; }; then
70208 glibcxx_cv_func__frexpf_use=yes
70209 else
70210 echo "$as_me: failed program was:" >&5
70211 sed 's/^/| /' conftest.$ac_ext >&5
70213 glibcxx_cv_func__frexpf_use=no
70215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70216 ac_ext=c
70217 ac_cpp='$CPP $CPPFLAGS'
70218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70226 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
70227 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
70229 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
70231 for ac_func in _frexpf
70233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70234 echo "$as_me:$LINENO: checking for $ac_func" >&5
70235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70236 if eval "test \"\${$as_ac_var+set}\" = set"; then
70237 echo $ECHO_N "(cached) $ECHO_C" >&6
70238 else
70239 if test x$gcc_no_link = xyes; then
70240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70242 { (exit 1); exit 1; }; }
70244 cat >conftest.$ac_ext <<_ACEOF
70245 /* confdefs.h. */
70246 _ACEOF
70247 cat confdefs.h >>conftest.$ac_ext
70248 cat >>conftest.$ac_ext <<_ACEOF
70249 /* end confdefs.h. */
70250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70252 #define $ac_func innocuous_$ac_func
70254 /* System header to define __stub macros and hopefully few prototypes,
70255 which can conflict with char $ac_func (); below.
70256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70257 <limits.h> exists even on freestanding compilers. */
70259 #ifdef __STDC__
70260 # include <limits.h>
70261 #else
70262 # include <assert.h>
70263 #endif
70265 #undef $ac_func
70267 /* Override any gcc2 internal prototype to avoid an error. */
70268 #ifdef __cplusplus
70269 extern "C"
70271 #endif
70272 /* We use char because int might match the return type of a gcc2
70273 builtin and then its argument prototype would still apply. */
70274 char $ac_func ();
70275 /* The GNU C library defines this for functions which it implements
70276 to always fail with ENOSYS. Some functions are actually named
70277 something starting with __ and the normal name is an alias. */
70278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70279 choke me
70280 #else
70281 char (*f) () = $ac_func;
70282 #endif
70283 #ifdef __cplusplus
70285 #endif
70288 main ()
70290 return f != $ac_func;
70292 return 0;
70294 _ACEOF
70295 rm -f conftest.$ac_objext conftest$ac_exeext
70296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70297 (eval $ac_link) 2>conftest.er1
70298 ac_status=$?
70299 grep -v '^ *+' conftest.er1 >conftest.err
70300 rm -f conftest.er1
70301 cat conftest.err >&5
70302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70303 (exit $ac_status); } &&
70304 { ac_try='test -z "$ac_c_werror_flag"
70305 || test ! -s conftest.err'
70306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70307 (eval $ac_try) 2>&5
70308 ac_status=$?
70309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70310 (exit $ac_status); }; } &&
70311 { ac_try='test -s conftest$ac_exeext'
70312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70313 (eval $ac_try) 2>&5
70314 ac_status=$?
70315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70316 (exit $ac_status); }; }; then
70317 eval "$as_ac_var=yes"
70318 else
70319 echo "$as_me: failed program was:" >&5
70320 sed 's/^/| /' conftest.$ac_ext >&5
70322 eval "$as_ac_var=no"
70324 rm -f conftest.err conftest.$ac_objext \
70325 conftest$ac_exeext conftest.$ac_ext
70327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70329 if test `eval echo '${'$as_ac_var'}'` = yes; then
70330 cat >>confdefs.h <<_ACEOF
70331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70332 _ACEOF
70335 done
70345 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
70346 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
70347 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
70348 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
70349 echo $ECHO_N "(cached) $ECHO_C" >&6
70350 else
70354 ac_ext=cc
70355 ac_cpp='$CXXCPP $CPPFLAGS'
70356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70360 cat >conftest.$ac_ext <<_ACEOF
70361 /* confdefs.h. */
70362 _ACEOF
70363 cat confdefs.h >>conftest.$ac_ext
70364 cat >>conftest.$ac_ext <<_ACEOF
70365 /* end confdefs.h. */
70366 #include <math.h>
70368 main ()
70370 hypotf(0, 0);
70372 return 0;
70374 _ACEOF
70375 rm -f conftest.$ac_objext
70376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70377 (eval $ac_compile) 2>conftest.er1
70378 ac_status=$?
70379 grep -v '^ *+' conftest.er1 >conftest.err
70380 rm -f conftest.er1
70381 cat conftest.err >&5
70382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70383 (exit $ac_status); } &&
70384 { ac_try='test -z "$ac_cxx_werror_flag"
70385 || test ! -s conftest.err'
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); }; } &&
70391 { ac_try='test -s conftest.$ac_objext'
70392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70393 (eval $ac_try) 2>&5
70394 ac_status=$?
70395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70396 (exit $ac_status); }; }; then
70397 glibcxx_cv_func_hypotf_use=yes
70398 else
70399 echo "$as_me: failed program was:" >&5
70400 sed 's/^/| /' conftest.$ac_ext >&5
70402 glibcxx_cv_func_hypotf_use=no
70404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70405 ac_ext=c
70406 ac_cpp='$CPP $CPPFLAGS'
70407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70415 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
70416 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
70418 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
70420 for ac_func in hypotf
70422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70423 echo "$as_me:$LINENO: checking for $ac_func" >&5
70424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70425 if eval "test \"\${$as_ac_var+set}\" = set"; then
70426 echo $ECHO_N "(cached) $ECHO_C" >&6
70427 else
70428 if test x$gcc_no_link = xyes; then
70429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70431 { (exit 1); exit 1; }; }
70433 cat >conftest.$ac_ext <<_ACEOF
70434 /* confdefs.h. */
70435 _ACEOF
70436 cat confdefs.h >>conftest.$ac_ext
70437 cat >>conftest.$ac_ext <<_ACEOF
70438 /* end confdefs.h. */
70439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70441 #define $ac_func innocuous_$ac_func
70443 /* System header to define __stub macros and hopefully few prototypes,
70444 which can conflict with char $ac_func (); below.
70445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70446 <limits.h> exists even on freestanding compilers. */
70448 #ifdef __STDC__
70449 # include <limits.h>
70450 #else
70451 # include <assert.h>
70452 #endif
70454 #undef $ac_func
70456 /* Override any gcc2 internal prototype to avoid an error. */
70457 #ifdef __cplusplus
70458 extern "C"
70460 #endif
70461 /* We use char because int might match the return type of a gcc2
70462 builtin and then its argument prototype would still apply. */
70463 char $ac_func ();
70464 /* The GNU C library defines this for functions which it implements
70465 to always fail with ENOSYS. Some functions are actually named
70466 something starting with __ and the normal name is an alias. */
70467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70468 choke me
70469 #else
70470 char (*f) () = $ac_func;
70471 #endif
70472 #ifdef __cplusplus
70474 #endif
70477 main ()
70479 return f != $ac_func;
70481 return 0;
70483 _ACEOF
70484 rm -f conftest.$ac_objext conftest$ac_exeext
70485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70486 (eval $ac_link) 2>conftest.er1
70487 ac_status=$?
70488 grep -v '^ *+' conftest.er1 >conftest.err
70489 rm -f conftest.er1
70490 cat conftest.err >&5
70491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70492 (exit $ac_status); } &&
70493 { ac_try='test -z "$ac_c_werror_flag"
70494 || test ! -s conftest.err'
70495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70496 (eval $ac_try) 2>&5
70497 ac_status=$?
70498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70499 (exit $ac_status); }; } &&
70500 { ac_try='test -s conftest$ac_exeext'
70501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70502 (eval $ac_try) 2>&5
70503 ac_status=$?
70504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70505 (exit $ac_status); }; }; then
70506 eval "$as_ac_var=yes"
70507 else
70508 echo "$as_me: failed program was:" >&5
70509 sed 's/^/| /' conftest.$ac_ext >&5
70511 eval "$as_ac_var=no"
70513 rm -f conftest.err conftest.$ac_objext \
70514 conftest$ac_exeext conftest.$ac_ext
70516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70518 if test `eval echo '${'$as_ac_var'}'` = yes; then
70519 cat >>confdefs.h <<_ACEOF
70520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70521 _ACEOF
70524 done
70526 else
70528 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
70529 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
70530 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
70531 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
70532 echo $ECHO_N "(cached) $ECHO_C" >&6
70533 else
70537 ac_ext=cc
70538 ac_cpp='$CXXCPP $CPPFLAGS'
70539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70543 cat >conftest.$ac_ext <<_ACEOF
70544 /* confdefs.h. */
70545 _ACEOF
70546 cat confdefs.h >>conftest.$ac_ext
70547 cat >>conftest.$ac_ext <<_ACEOF
70548 /* end confdefs.h. */
70549 #include <math.h>
70551 main ()
70553 _hypotf(0, 0);
70555 return 0;
70557 _ACEOF
70558 rm -f conftest.$ac_objext
70559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70560 (eval $ac_compile) 2>conftest.er1
70561 ac_status=$?
70562 grep -v '^ *+' conftest.er1 >conftest.err
70563 rm -f conftest.er1
70564 cat conftest.err >&5
70565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70566 (exit $ac_status); } &&
70567 { ac_try='test -z "$ac_cxx_werror_flag"
70568 || test ! -s conftest.err'
70569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70570 (eval $ac_try) 2>&5
70571 ac_status=$?
70572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70573 (exit $ac_status); }; } &&
70574 { ac_try='test -s conftest.$ac_objext'
70575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70576 (eval $ac_try) 2>&5
70577 ac_status=$?
70578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70579 (exit $ac_status); }; }; then
70580 glibcxx_cv_func__hypotf_use=yes
70581 else
70582 echo "$as_me: failed program was:" >&5
70583 sed 's/^/| /' conftest.$ac_ext >&5
70585 glibcxx_cv_func__hypotf_use=no
70587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70588 ac_ext=c
70589 ac_cpp='$CPP $CPPFLAGS'
70590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70598 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
70599 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
70601 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
70603 for ac_func in _hypotf
70605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70606 echo "$as_me:$LINENO: checking for $ac_func" >&5
70607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70608 if eval "test \"\${$as_ac_var+set}\" = set"; then
70609 echo $ECHO_N "(cached) $ECHO_C" >&6
70610 else
70611 if test x$gcc_no_link = xyes; then
70612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70614 { (exit 1); exit 1; }; }
70616 cat >conftest.$ac_ext <<_ACEOF
70617 /* confdefs.h. */
70618 _ACEOF
70619 cat confdefs.h >>conftest.$ac_ext
70620 cat >>conftest.$ac_ext <<_ACEOF
70621 /* end confdefs.h. */
70622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70624 #define $ac_func innocuous_$ac_func
70626 /* System header to define __stub macros and hopefully few prototypes,
70627 which can conflict with char $ac_func (); below.
70628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70629 <limits.h> exists even on freestanding compilers. */
70631 #ifdef __STDC__
70632 # include <limits.h>
70633 #else
70634 # include <assert.h>
70635 #endif
70637 #undef $ac_func
70639 /* Override any gcc2 internal prototype to avoid an error. */
70640 #ifdef __cplusplus
70641 extern "C"
70643 #endif
70644 /* We use char because int might match the return type of a gcc2
70645 builtin and then its argument prototype would still apply. */
70646 char $ac_func ();
70647 /* The GNU C library defines this for functions which it implements
70648 to always fail with ENOSYS. Some functions are actually named
70649 something starting with __ and the normal name is an alias. */
70650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70651 choke me
70652 #else
70653 char (*f) () = $ac_func;
70654 #endif
70655 #ifdef __cplusplus
70657 #endif
70660 main ()
70662 return f != $ac_func;
70664 return 0;
70666 _ACEOF
70667 rm -f conftest.$ac_objext conftest$ac_exeext
70668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70669 (eval $ac_link) 2>conftest.er1
70670 ac_status=$?
70671 grep -v '^ *+' conftest.er1 >conftest.err
70672 rm -f conftest.er1
70673 cat conftest.err >&5
70674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70675 (exit $ac_status); } &&
70676 { ac_try='test -z "$ac_c_werror_flag"
70677 || test ! -s conftest.err'
70678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70679 (eval $ac_try) 2>&5
70680 ac_status=$?
70681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70682 (exit $ac_status); }; } &&
70683 { ac_try='test -s conftest$ac_exeext'
70684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70685 (eval $ac_try) 2>&5
70686 ac_status=$?
70687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70688 (exit $ac_status); }; }; then
70689 eval "$as_ac_var=yes"
70690 else
70691 echo "$as_me: failed program was:" >&5
70692 sed 's/^/| /' conftest.$ac_ext >&5
70694 eval "$as_ac_var=no"
70696 rm -f conftest.err conftest.$ac_objext \
70697 conftest$ac_exeext conftest.$ac_ext
70699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70701 if test `eval echo '${'$as_ac_var'}'` = yes; then
70702 cat >>confdefs.h <<_ACEOF
70703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70704 _ACEOF
70707 done
70717 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
70718 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
70719 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
70720 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
70721 echo $ECHO_N "(cached) $ECHO_C" >&6
70722 else
70726 ac_ext=cc
70727 ac_cpp='$CXXCPP $CPPFLAGS'
70728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70732 cat >conftest.$ac_ext <<_ACEOF
70733 /* confdefs.h. */
70734 _ACEOF
70735 cat confdefs.h >>conftest.$ac_ext
70736 cat >>conftest.$ac_ext <<_ACEOF
70737 /* end confdefs.h. */
70738 #include <math.h>
70740 main ()
70742 ldexpf(0, 0);
70744 return 0;
70746 _ACEOF
70747 rm -f conftest.$ac_objext
70748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70749 (eval $ac_compile) 2>conftest.er1
70750 ac_status=$?
70751 grep -v '^ *+' conftest.er1 >conftest.err
70752 rm -f conftest.er1
70753 cat conftest.err >&5
70754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70755 (exit $ac_status); } &&
70756 { ac_try='test -z "$ac_cxx_werror_flag"
70757 || test ! -s conftest.err'
70758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70759 (eval $ac_try) 2>&5
70760 ac_status=$?
70761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70762 (exit $ac_status); }; } &&
70763 { ac_try='test -s conftest.$ac_objext'
70764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70765 (eval $ac_try) 2>&5
70766 ac_status=$?
70767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70768 (exit $ac_status); }; }; then
70769 glibcxx_cv_func_ldexpf_use=yes
70770 else
70771 echo "$as_me: failed program was:" >&5
70772 sed 's/^/| /' conftest.$ac_ext >&5
70774 glibcxx_cv_func_ldexpf_use=no
70776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70777 ac_ext=c
70778 ac_cpp='$CPP $CPPFLAGS'
70779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70787 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
70788 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
70790 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
70792 for ac_func in ldexpf
70794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70795 echo "$as_me:$LINENO: checking for $ac_func" >&5
70796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70797 if eval "test \"\${$as_ac_var+set}\" = set"; then
70798 echo $ECHO_N "(cached) $ECHO_C" >&6
70799 else
70800 if test x$gcc_no_link = xyes; then
70801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70803 { (exit 1); exit 1; }; }
70805 cat >conftest.$ac_ext <<_ACEOF
70806 /* confdefs.h. */
70807 _ACEOF
70808 cat confdefs.h >>conftest.$ac_ext
70809 cat >>conftest.$ac_ext <<_ACEOF
70810 /* end confdefs.h. */
70811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70813 #define $ac_func innocuous_$ac_func
70815 /* System header to define __stub macros and hopefully few prototypes,
70816 which can conflict with char $ac_func (); below.
70817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70818 <limits.h> exists even on freestanding compilers. */
70820 #ifdef __STDC__
70821 # include <limits.h>
70822 #else
70823 # include <assert.h>
70824 #endif
70826 #undef $ac_func
70828 /* Override any gcc2 internal prototype to avoid an error. */
70829 #ifdef __cplusplus
70830 extern "C"
70832 #endif
70833 /* We use char because int might match the return type of a gcc2
70834 builtin and then its argument prototype would still apply. */
70835 char $ac_func ();
70836 /* The GNU C library defines this for functions which it implements
70837 to always fail with ENOSYS. Some functions are actually named
70838 something starting with __ and the normal name is an alias. */
70839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70840 choke me
70841 #else
70842 char (*f) () = $ac_func;
70843 #endif
70844 #ifdef __cplusplus
70846 #endif
70849 main ()
70851 return f != $ac_func;
70853 return 0;
70855 _ACEOF
70856 rm -f conftest.$ac_objext conftest$ac_exeext
70857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70858 (eval $ac_link) 2>conftest.er1
70859 ac_status=$?
70860 grep -v '^ *+' conftest.er1 >conftest.err
70861 rm -f conftest.er1
70862 cat conftest.err >&5
70863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70864 (exit $ac_status); } &&
70865 { ac_try='test -z "$ac_c_werror_flag"
70866 || test ! -s conftest.err'
70867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70868 (eval $ac_try) 2>&5
70869 ac_status=$?
70870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70871 (exit $ac_status); }; } &&
70872 { ac_try='test -s conftest$ac_exeext'
70873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70874 (eval $ac_try) 2>&5
70875 ac_status=$?
70876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70877 (exit $ac_status); }; }; then
70878 eval "$as_ac_var=yes"
70879 else
70880 echo "$as_me: failed program was:" >&5
70881 sed 's/^/| /' conftest.$ac_ext >&5
70883 eval "$as_ac_var=no"
70885 rm -f conftest.err conftest.$ac_objext \
70886 conftest$ac_exeext conftest.$ac_ext
70888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70890 if test `eval echo '${'$as_ac_var'}'` = yes; then
70891 cat >>confdefs.h <<_ACEOF
70892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70893 _ACEOF
70896 done
70898 else
70900 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
70901 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
70902 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
70903 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
70904 echo $ECHO_N "(cached) $ECHO_C" >&6
70905 else
70909 ac_ext=cc
70910 ac_cpp='$CXXCPP $CPPFLAGS'
70911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70915 cat >conftest.$ac_ext <<_ACEOF
70916 /* confdefs.h. */
70917 _ACEOF
70918 cat confdefs.h >>conftest.$ac_ext
70919 cat >>conftest.$ac_ext <<_ACEOF
70920 /* end confdefs.h. */
70921 #include <math.h>
70923 main ()
70925 _ldexpf(0, 0);
70927 return 0;
70929 _ACEOF
70930 rm -f conftest.$ac_objext
70931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70932 (eval $ac_compile) 2>conftest.er1
70933 ac_status=$?
70934 grep -v '^ *+' conftest.er1 >conftest.err
70935 rm -f conftest.er1
70936 cat conftest.err >&5
70937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70938 (exit $ac_status); } &&
70939 { ac_try='test -z "$ac_cxx_werror_flag"
70940 || test ! -s conftest.err'
70941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70942 (eval $ac_try) 2>&5
70943 ac_status=$?
70944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70945 (exit $ac_status); }; } &&
70946 { ac_try='test -s conftest.$ac_objext'
70947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70948 (eval $ac_try) 2>&5
70949 ac_status=$?
70950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70951 (exit $ac_status); }; }; then
70952 glibcxx_cv_func__ldexpf_use=yes
70953 else
70954 echo "$as_me: failed program was:" >&5
70955 sed 's/^/| /' conftest.$ac_ext >&5
70957 glibcxx_cv_func__ldexpf_use=no
70959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70960 ac_ext=c
70961 ac_cpp='$CPP $CPPFLAGS'
70962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70970 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
70971 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
70973 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
70975 for ac_func in _ldexpf
70977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70978 echo "$as_me:$LINENO: checking for $ac_func" >&5
70979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70980 if eval "test \"\${$as_ac_var+set}\" = set"; then
70981 echo $ECHO_N "(cached) $ECHO_C" >&6
70982 else
70983 if test x$gcc_no_link = xyes; then
70984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70986 { (exit 1); exit 1; }; }
70988 cat >conftest.$ac_ext <<_ACEOF
70989 /* confdefs.h. */
70990 _ACEOF
70991 cat confdefs.h >>conftest.$ac_ext
70992 cat >>conftest.$ac_ext <<_ACEOF
70993 /* end confdefs.h. */
70994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70996 #define $ac_func innocuous_$ac_func
70998 /* System header to define __stub macros and hopefully few prototypes,
70999 which can conflict with char $ac_func (); below.
71000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71001 <limits.h> exists even on freestanding compilers. */
71003 #ifdef __STDC__
71004 # include <limits.h>
71005 #else
71006 # include <assert.h>
71007 #endif
71009 #undef $ac_func
71011 /* Override any gcc2 internal prototype to avoid an error. */
71012 #ifdef __cplusplus
71013 extern "C"
71015 #endif
71016 /* We use char because int might match the return type of a gcc2
71017 builtin and then its argument prototype would still apply. */
71018 char $ac_func ();
71019 /* The GNU C library defines this for functions which it implements
71020 to always fail with ENOSYS. Some functions are actually named
71021 something starting with __ and the normal name is an alias. */
71022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71023 choke me
71024 #else
71025 char (*f) () = $ac_func;
71026 #endif
71027 #ifdef __cplusplus
71029 #endif
71032 main ()
71034 return f != $ac_func;
71036 return 0;
71038 _ACEOF
71039 rm -f conftest.$ac_objext conftest$ac_exeext
71040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71041 (eval $ac_link) 2>conftest.er1
71042 ac_status=$?
71043 grep -v '^ *+' conftest.er1 >conftest.err
71044 rm -f conftest.er1
71045 cat conftest.err >&5
71046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71047 (exit $ac_status); } &&
71048 { ac_try='test -z "$ac_c_werror_flag"
71049 || test ! -s conftest.err'
71050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71051 (eval $ac_try) 2>&5
71052 ac_status=$?
71053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71054 (exit $ac_status); }; } &&
71055 { ac_try='test -s conftest$ac_exeext'
71056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71057 (eval $ac_try) 2>&5
71058 ac_status=$?
71059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71060 (exit $ac_status); }; }; then
71061 eval "$as_ac_var=yes"
71062 else
71063 echo "$as_me: failed program was:" >&5
71064 sed 's/^/| /' conftest.$ac_ext >&5
71066 eval "$as_ac_var=no"
71068 rm -f conftest.err conftest.$ac_objext \
71069 conftest$ac_exeext conftest.$ac_ext
71071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71073 if test `eval echo '${'$as_ac_var'}'` = yes; then
71074 cat >>confdefs.h <<_ACEOF
71075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71076 _ACEOF
71079 done
71089 echo "$as_me:$LINENO: checking for logf declaration" >&5
71090 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
71091 if test x${glibcxx_cv_func_logf_use+set} != xset; then
71092 if test "${glibcxx_cv_func_logf_use+set}" = set; then
71093 echo $ECHO_N "(cached) $ECHO_C" >&6
71094 else
71098 ac_ext=cc
71099 ac_cpp='$CXXCPP $CPPFLAGS'
71100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71104 cat >conftest.$ac_ext <<_ACEOF
71105 /* confdefs.h. */
71106 _ACEOF
71107 cat confdefs.h >>conftest.$ac_ext
71108 cat >>conftest.$ac_ext <<_ACEOF
71109 /* end confdefs.h. */
71110 #include <math.h>
71111 #ifdef HAVE_IEEEFP_H
71112 #include <ieeefp.h>
71113 #endif
71116 main ()
71118 logf(0);
71120 return 0;
71122 _ACEOF
71123 rm -f conftest.$ac_objext
71124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71125 (eval $ac_compile) 2>conftest.er1
71126 ac_status=$?
71127 grep -v '^ *+' conftest.er1 >conftest.err
71128 rm -f conftest.er1
71129 cat conftest.err >&5
71130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71131 (exit $ac_status); } &&
71132 { ac_try='test -z "$ac_cxx_werror_flag"
71133 || test ! -s conftest.err'
71134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71135 (eval $ac_try) 2>&5
71136 ac_status=$?
71137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71138 (exit $ac_status); }; } &&
71139 { ac_try='test -s conftest.$ac_objext'
71140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71141 (eval $ac_try) 2>&5
71142 ac_status=$?
71143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71144 (exit $ac_status); }; }; then
71145 glibcxx_cv_func_logf_use=yes
71146 else
71147 echo "$as_me: failed program was:" >&5
71148 sed 's/^/| /' conftest.$ac_ext >&5
71150 glibcxx_cv_func_logf_use=no
71152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71153 ac_ext=c
71154 ac_cpp='$CPP $CPPFLAGS'
71155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71163 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
71164 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
71166 if test x$glibcxx_cv_func_logf_use = x"yes"; then
71168 for ac_func in logf
71170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71171 echo "$as_me:$LINENO: checking for $ac_func" >&5
71172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71173 if eval "test \"\${$as_ac_var+set}\" = set"; then
71174 echo $ECHO_N "(cached) $ECHO_C" >&6
71175 else
71176 if test x$gcc_no_link = xyes; then
71177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71179 { (exit 1); exit 1; }; }
71181 cat >conftest.$ac_ext <<_ACEOF
71182 /* confdefs.h. */
71183 _ACEOF
71184 cat confdefs.h >>conftest.$ac_ext
71185 cat >>conftest.$ac_ext <<_ACEOF
71186 /* end confdefs.h. */
71187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71189 #define $ac_func innocuous_$ac_func
71191 /* System header to define __stub macros and hopefully few prototypes,
71192 which can conflict with char $ac_func (); below.
71193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71194 <limits.h> exists even on freestanding compilers. */
71196 #ifdef __STDC__
71197 # include <limits.h>
71198 #else
71199 # include <assert.h>
71200 #endif
71202 #undef $ac_func
71204 /* Override any gcc2 internal prototype to avoid an error. */
71205 #ifdef __cplusplus
71206 extern "C"
71208 #endif
71209 /* We use char because int might match the return type of a gcc2
71210 builtin and then its argument prototype would still apply. */
71211 char $ac_func ();
71212 /* The GNU C library defines this for functions which it implements
71213 to always fail with ENOSYS. Some functions are actually named
71214 something starting with __ and the normal name is an alias. */
71215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71216 choke me
71217 #else
71218 char (*f) () = $ac_func;
71219 #endif
71220 #ifdef __cplusplus
71222 #endif
71225 main ()
71227 return f != $ac_func;
71229 return 0;
71231 _ACEOF
71232 rm -f conftest.$ac_objext conftest$ac_exeext
71233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71234 (eval $ac_link) 2>conftest.er1
71235 ac_status=$?
71236 grep -v '^ *+' conftest.er1 >conftest.err
71237 rm -f conftest.er1
71238 cat conftest.err >&5
71239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71240 (exit $ac_status); } &&
71241 { ac_try='test -z "$ac_c_werror_flag"
71242 || test ! -s conftest.err'
71243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71244 (eval $ac_try) 2>&5
71245 ac_status=$?
71246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71247 (exit $ac_status); }; } &&
71248 { ac_try='test -s conftest$ac_exeext'
71249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71250 (eval $ac_try) 2>&5
71251 ac_status=$?
71252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71253 (exit $ac_status); }; }; then
71254 eval "$as_ac_var=yes"
71255 else
71256 echo "$as_me: failed program was:" >&5
71257 sed 's/^/| /' conftest.$ac_ext >&5
71259 eval "$as_ac_var=no"
71261 rm -f conftest.err conftest.$ac_objext \
71262 conftest$ac_exeext conftest.$ac_ext
71264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71266 if test `eval echo '${'$as_ac_var'}'` = yes; then
71267 cat >>confdefs.h <<_ACEOF
71268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71269 _ACEOF
71272 done
71274 else
71276 echo "$as_me:$LINENO: checking for _logf declaration" >&5
71277 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
71278 if test x${glibcxx_cv_func__logf_use+set} != xset; then
71279 if test "${glibcxx_cv_func__logf_use+set}" = set; then
71280 echo $ECHO_N "(cached) $ECHO_C" >&6
71281 else
71285 ac_ext=cc
71286 ac_cpp='$CXXCPP $CPPFLAGS'
71287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71291 cat >conftest.$ac_ext <<_ACEOF
71292 /* confdefs.h. */
71293 _ACEOF
71294 cat confdefs.h >>conftest.$ac_ext
71295 cat >>conftest.$ac_ext <<_ACEOF
71296 /* end confdefs.h. */
71297 #include <math.h>
71298 #ifdef HAVE_IEEEFP_H
71299 #include <ieeefp.h>
71300 #endif
71303 main ()
71305 _logf(0);
71307 return 0;
71309 _ACEOF
71310 rm -f conftest.$ac_objext
71311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71312 (eval $ac_compile) 2>conftest.er1
71313 ac_status=$?
71314 grep -v '^ *+' conftest.er1 >conftest.err
71315 rm -f conftest.er1
71316 cat conftest.err >&5
71317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71318 (exit $ac_status); } &&
71319 { ac_try='test -z "$ac_cxx_werror_flag"
71320 || test ! -s conftest.err'
71321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71322 (eval $ac_try) 2>&5
71323 ac_status=$?
71324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71325 (exit $ac_status); }; } &&
71326 { ac_try='test -s conftest.$ac_objext'
71327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71328 (eval $ac_try) 2>&5
71329 ac_status=$?
71330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71331 (exit $ac_status); }; }; then
71332 glibcxx_cv_func__logf_use=yes
71333 else
71334 echo "$as_me: failed program was:" >&5
71335 sed 's/^/| /' conftest.$ac_ext >&5
71337 glibcxx_cv_func__logf_use=no
71339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71340 ac_ext=c
71341 ac_cpp='$CPP $CPPFLAGS'
71342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71350 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
71351 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
71353 if test x$glibcxx_cv_func__logf_use = x"yes"; then
71355 for ac_func in _logf
71357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71358 echo "$as_me:$LINENO: checking for $ac_func" >&5
71359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71360 if eval "test \"\${$as_ac_var+set}\" = set"; then
71361 echo $ECHO_N "(cached) $ECHO_C" >&6
71362 else
71363 if test x$gcc_no_link = xyes; then
71364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71366 { (exit 1); exit 1; }; }
71368 cat >conftest.$ac_ext <<_ACEOF
71369 /* confdefs.h. */
71370 _ACEOF
71371 cat confdefs.h >>conftest.$ac_ext
71372 cat >>conftest.$ac_ext <<_ACEOF
71373 /* end confdefs.h. */
71374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71376 #define $ac_func innocuous_$ac_func
71378 /* System header to define __stub macros and hopefully few prototypes,
71379 which can conflict with char $ac_func (); below.
71380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71381 <limits.h> exists even on freestanding compilers. */
71383 #ifdef __STDC__
71384 # include <limits.h>
71385 #else
71386 # include <assert.h>
71387 #endif
71389 #undef $ac_func
71391 /* Override any gcc2 internal prototype to avoid an error. */
71392 #ifdef __cplusplus
71393 extern "C"
71395 #endif
71396 /* We use char because int might match the return type of a gcc2
71397 builtin and then its argument prototype would still apply. */
71398 char $ac_func ();
71399 /* The GNU C library defines this for functions which it implements
71400 to always fail with ENOSYS. Some functions are actually named
71401 something starting with __ and the normal name is an alias. */
71402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71403 choke me
71404 #else
71405 char (*f) () = $ac_func;
71406 #endif
71407 #ifdef __cplusplus
71409 #endif
71412 main ()
71414 return f != $ac_func;
71416 return 0;
71418 _ACEOF
71419 rm -f conftest.$ac_objext conftest$ac_exeext
71420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71421 (eval $ac_link) 2>conftest.er1
71422 ac_status=$?
71423 grep -v '^ *+' conftest.er1 >conftest.err
71424 rm -f conftest.er1
71425 cat conftest.err >&5
71426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71427 (exit $ac_status); } &&
71428 { ac_try='test -z "$ac_c_werror_flag"
71429 || test ! -s conftest.err'
71430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71431 (eval $ac_try) 2>&5
71432 ac_status=$?
71433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71434 (exit $ac_status); }; } &&
71435 { ac_try='test -s conftest$ac_exeext'
71436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71437 (eval $ac_try) 2>&5
71438 ac_status=$?
71439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71440 (exit $ac_status); }; }; then
71441 eval "$as_ac_var=yes"
71442 else
71443 echo "$as_me: failed program was:" >&5
71444 sed 's/^/| /' conftest.$ac_ext >&5
71446 eval "$as_ac_var=no"
71448 rm -f conftest.err conftest.$ac_objext \
71449 conftest$ac_exeext conftest.$ac_ext
71451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71453 if test `eval echo '${'$as_ac_var'}'` = yes; then
71454 cat >>confdefs.h <<_ACEOF
71455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71456 _ACEOF
71459 done
71469 echo "$as_me:$LINENO: checking for log10f declaration" >&5
71470 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
71471 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
71472 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
71473 echo $ECHO_N "(cached) $ECHO_C" >&6
71474 else
71478 ac_ext=cc
71479 ac_cpp='$CXXCPP $CPPFLAGS'
71480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71484 cat >conftest.$ac_ext <<_ACEOF
71485 /* confdefs.h. */
71486 _ACEOF
71487 cat confdefs.h >>conftest.$ac_ext
71488 cat >>conftest.$ac_ext <<_ACEOF
71489 /* end confdefs.h. */
71490 #include <math.h>
71491 #ifdef HAVE_IEEEFP_H
71492 #include <ieeefp.h>
71493 #endif
71496 main ()
71498 log10f(0);
71500 return 0;
71502 _ACEOF
71503 rm -f conftest.$ac_objext
71504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71505 (eval $ac_compile) 2>conftest.er1
71506 ac_status=$?
71507 grep -v '^ *+' conftest.er1 >conftest.err
71508 rm -f conftest.er1
71509 cat conftest.err >&5
71510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71511 (exit $ac_status); } &&
71512 { ac_try='test -z "$ac_cxx_werror_flag"
71513 || test ! -s conftest.err'
71514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71515 (eval $ac_try) 2>&5
71516 ac_status=$?
71517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71518 (exit $ac_status); }; } &&
71519 { ac_try='test -s conftest.$ac_objext'
71520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71521 (eval $ac_try) 2>&5
71522 ac_status=$?
71523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71524 (exit $ac_status); }; }; then
71525 glibcxx_cv_func_log10f_use=yes
71526 else
71527 echo "$as_me: failed program was:" >&5
71528 sed 's/^/| /' conftest.$ac_ext >&5
71530 glibcxx_cv_func_log10f_use=no
71532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71533 ac_ext=c
71534 ac_cpp='$CPP $CPPFLAGS'
71535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71543 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
71544 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
71546 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
71548 for ac_func in log10f
71550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71551 echo "$as_me:$LINENO: checking for $ac_func" >&5
71552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71553 if eval "test \"\${$as_ac_var+set}\" = set"; then
71554 echo $ECHO_N "(cached) $ECHO_C" >&6
71555 else
71556 if test x$gcc_no_link = xyes; then
71557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71559 { (exit 1); exit 1; }; }
71561 cat >conftest.$ac_ext <<_ACEOF
71562 /* confdefs.h. */
71563 _ACEOF
71564 cat confdefs.h >>conftest.$ac_ext
71565 cat >>conftest.$ac_ext <<_ACEOF
71566 /* end confdefs.h. */
71567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71569 #define $ac_func innocuous_$ac_func
71571 /* System header to define __stub macros and hopefully few prototypes,
71572 which can conflict with char $ac_func (); below.
71573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71574 <limits.h> exists even on freestanding compilers. */
71576 #ifdef __STDC__
71577 # include <limits.h>
71578 #else
71579 # include <assert.h>
71580 #endif
71582 #undef $ac_func
71584 /* Override any gcc2 internal prototype to avoid an error. */
71585 #ifdef __cplusplus
71586 extern "C"
71588 #endif
71589 /* We use char because int might match the return type of a gcc2
71590 builtin and then its argument prototype would still apply. */
71591 char $ac_func ();
71592 /* The GNU C library defines this for functions which it implements
71593 to always fail with ENOSYS. Some functions are actually named
71594 something starting with __ and the normal name is an alias. */
71595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71596 choke me
71597 #else
71598 char (*f) () = $ac_func;
71599 #endif
71600 #ifdef __cplusplus
71602 #endif
71605 main ()
71607 return f != $ac_func;
71609 return 0;
71611 _ACEOF
71612 rm -f conftest.$ac_objext conftest$ac_exeext
71613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71614 (eval $ac_link) 2>conftest.er1
71615 ac_status=$?
71616 grep -v '^ *+' conftest.er1 >conftest.err
71617 rm -f conftest.er1
71618 cat conftest.err >&5
71619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71620 (exit $ac_status); } &&
71621 { ac_try='test -z "$ac_c_werror_flag"
71622 || test ! -s conftest.err'
71623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71624 (eval $ac_try) 2>&5
71625 ac_status=$?
71626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71627 (exit $ac_status); }; } &&
71628 { ac_try='test -s conftest$ac_exeext'
71629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71630 (eval $ac_try) 2>&5
71631 ac_status=$?
71632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71633 (exit $ac_status); }; }; then
71634 eval "$as_ac_var=yes"
71635 else
71636 echo "$as_me: failed program was:" >&5
71637 sed 's/^/| /' conftest.$ac_ext >&5
71639 eval "$as_ac_var=no"
71641 rm -f conftest.err conftest.$ac_objext \
71642 conftest$ac_exeext conftest.$ac_ext
71644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71646 if test `eval echo '${'$as_ac_var'}'` = yes; then
71647 cat >>confdefs.h <<_ACEOF
71648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71649 _ACEOF
71652 done
71654 else
71656 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
71657 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
71658 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
71659 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
71660 echo $ECHO_N "(cached) $ECHO_C" >&6
71661 else
71665 ac_ext=cc
71666 ac_cpp='$CXXCPP $CPPFLAGS'
71667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71671 cat >conftest.$ac_ext <<_ACEOF
71672 /* confdefs.h. */
71673 _ACEOF
71674 cat confdefs.h >>conftest.$ac_ext
71675 cat >>conftest.$ac_ext <<_ACEOF
71676 /* end confdefs.h. */
71677 #include <math.h>
71678 #ifdef HAVE_IEEEFP_H
71679 #include <ieeefp.h>
71680 #endif
71683 main ()
71685 _log10f(0);
71687 return 0;
71689 _ACEOF
71690 rm -f conftest.$ac_objext
71691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71692 (eval $ac_compile) 2>conftest.er1
71693 ac_status=$?
71694 grep -v '^ *+' conftest.er1 >conftest.err
71695 rm -f conftest.er1
71696 cat conftest.err >&5
71697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71698 (exit $ac_status); } &&
71699 { ac_try='test -z "$ac_cxx_werror_flag"
71700 || test ! -s conftest.err'
71701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71702 (eval $ac_try) 2>&5
71703 ac_status=$?
71704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71705 (exit $ac_status); }; } &&
71706 { ac_try='test -s conftest.$ac_objext'
71707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71708 (eval $ac_try) 2>&5
71709 ac_status=$?
71710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71711 (exit $ac_status); }; }; then
71712 glibcxx_cv_func__log10f_use=yes
71713 else
71714 echo "$as_me: failed program was:" >&5
71715 sed 's/^/| /' conftest.$ac_ext >&5
71717 glibcxx_cv_func__log10f_use=no
71719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71720 ac_ext=c
71721 ac_cpp='$CPP $CPPFLAGS'
71722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71730 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
71731 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
71733 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
71735 for ac_func in _log10f
71737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71738 echo "$as_me:$LINENO: checking for $ac_func" >&5
71739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71740 if eval "test \"\${$as_ac_var+set}\" = set"; then
71741 echo $ECHO_N "(cached) $ECHO_C" >&6
71742 else
71743 if test x$gcc_no_link = xyes; then
71744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71746 { (exit 1); exit 1; }; }
71748 cat >conftest.$ac_ext <<_ACEOF
71749 /* confdefs.h. */
71750 _ACEOF
71751 cat confdefs.h >>conftest.$ac_ext
71752 cat >>conftest.$ac_ext <<_ACEOF
71753 /* end confdefs.h. */
71754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71756 #define $ac_func innocuous_$ac_func
71758 /* System header to define __stub macros and hopefully few prototypes,
71759 which can conflict with char $ac_func (); below.
71760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71761 <limits.h> exists even on freestanding compilers. */
71763 #ifdef __STDC__
71764 # include <limits.h>
71765 #else
71766 # include <assert.h>
71767 #endif
71769 #undef $ac_func
71771 /* Override any gcc2 internal prototype to avoid an error. */
71772 #ifdef __cplusplus
71773 extern "C"
71775 #endif
71776 /* We use char because int might match the return type of a gcc2
71777 builtin and then its argument prototype would still apply. */
71778 char $ac_func ();
71779 /* The GNU C library defines this for functions which it implements
71780 to always fail with ENOSYS. Some functions are actually named
71781 something starting with __ and the normal name is an alias. */
71782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71783 choke me
71784 #else
71785 char (*f) () = $ac_func;
71786 #endif
71787 #ifdef __cplusplus
71789 #endif
71792 main ()
71794 return f != $ac_func;
71796 return 0;
71798 _ACEOF
71799 rm -f conftest.$ac_objext conftest$ac_exeext
71800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71801 (eval $ac_link) 2>conftest.er1
71802 ac_status=$?
71803 grep -v '^ *+' conftest.er1 >conftest.err
71804 rm -f conftest.er1
71805 cat conftest.err >&5
71806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71807 (exit $ac_status); } &&
71808 { ac_try='test -z "$ac_c_werror_flag"
71809 || test ! -s conftest.err'
71810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71811 (eval $ac_try) 2>&5
71812 ac_status=$?
71813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71814 (exit $ac_status); }; } &&
71815 { ac_try='test -s conftest$ac_exeext'
71816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71817 (eval $ac_try) 2>&5
71818 ac_status=$?
71819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71820 (exit $ac_status); }; }; then
71821 eval "$as_ac_var=yes"
71822 else
71823 echo "$as_me: failed program was:" >&5
71824 sed 's/^/| /' conftest.$ac_ext >&5
71826 eval "$as_ac_var=no"
71828 rm -f conftest.err conftest.$ac_objext \
71829 conftest$ac_exeext conftest.$ac_ext
71831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71833 if test `eval echo '${'$as_ac_var'}'` = yes; then
71834 cat >>confdefs.h <<_ACEOF
71835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71836 _ACEOF
71839 done
71849 echo "$as_me:$LINENO: checking for modff declaration" >&5
71850 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
71851 if test x${glibcxx_cv_func_modff_use+set} != xset; then
71852 if test "${glibcxx_cv_func_modff_use+set}" = set; then
71853 echo $ECHO_N "(cached) $ECHO_C" >&6
71854 else
71858 ac_ext=cc
71859 ac_cpp='$CXXCPP $CPPFLAGS'
71860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71864 cat >conftest.$ac_ext <<_ACEOF
71865 /* confdefs.h. */
71866 _ACEOF
71867 cat confdefs.h >>conftest.$ac_ext
71868 cat >>conftest.$ac_ext <<_ACEOF
71869 /* end confdefs.h. */
71870 #include <math.h>
71872 main ()
71874 modff(0, 0);
71876 return 0;
71878 _ACEOF
71879 rm -f conftest.$ac_objext
71880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71881 (eval $ac_compile) 2>conftest.er1
71882 ac_status=$?
71883 grep -v '^ *+' conftest.er1 >conftest.err
71884 rm -f conftest.er1
71885 cat conftest.err >&5
71886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71887 (exit $ac_status); } &&
71888 { ac_try='test -z "$ac_cxx_werror_flag"
71889 || test ! -s conftest.err'
71890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71891 (eval $ac_try) 2>&5
71892 ac_status=$?
71893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71894 (exit $ac_status); }; } &&
71895 { ac_try='test -s conftest.$ac_objext'
71896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71897 (eval $ac_try) 2>&5
71898 ac_status=$?
71899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71900 (exit $ac_status); }; }; then
71901 glibcxx_cv_func_modff_use=yes
71902 else
71903 echo "$as_me: failed program was:" >&5
71904 sed 's/^/| /' conftest.$ac_ext >&5
71906 glibcxx_cv_func_modff_use=no
71908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71909 ac_ext=c
71910 ac_cpp='$CPP $CPPFLAGS'
71911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
71920 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
71922 if test x$glibcxx_cv_func_modff_use = x"yes"; then
71924 for ac_func in modff
71926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71927 echo "$as_me:$LINENO: checking for $ac_func" >&5
71928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71929 if eval "test \"\${$as_ac_var+set}\" = set"; then
71930 echo $ECHO_N "(cached) $ECHO_C" >&6
71931 else
71932 if test x$gcc_no_link = xyes; then
71933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71935 { (exit 1); exit 1; }; }
71937 cat >conftest.$ac_ext <<_ACEOF
71938 /* confdefs.h. */
71939 _ACEOF
71940 cat confdefs.h >>conftest.$ac_ext
71941 cat >>conftest.$ac_ext <<_ACEOF
71942 /* end confdefs.h. */
71943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71945 #define $ac_func innocuous_$ac_func
71947 /* System header to define __stub macros and hopefully few prototypes,
71948 which can conflict with char $ac_func (); below.
71949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71950 <limits.h> exists even on freestanding compilers. */
71952 #ifdef __STDC__
71953 # include <limits.h>
71954 #else
71955 # include <assert.h>
71956 #endif
71958 #undef $ac_func
71960 /* Override any gcc2 internal prototype to avoid an error. */
71961 #ifdef __cplusplus
71962 extern "C"
71964 #endif
71965 /* We use char because int might match the return type of a gcc2
71966 builtin and then its argument prototype would still apply. */
71967 char $ac_func ();
71968 /* The GNU C library defines this for functions which it implements
71969 to always fail with ENOSYS. Some functions are actually named
71970 something starting with __ and the normal name is an alias. */
71971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71972 choke me
71973 #else
71974 char (*f) () = $ac_func;
71975 #endif
71976 #ifdef __cplusplus
71978 #endif
71981 main ()
71983 return f != $ac_func;
71985 return 0;
71987 _ACEOF
71988 rm -f conftest.$ac_objext conftest$ac_exeext
71989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71990 (eval $ac_link) 2>conftest.er1
71991 ac_status=$?
71992 grep -v '^ *+' conftest.er1 >conftest.err
71993 rm -f conftest.er1
71994 cat conftest.err >&5
71995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71996 (exit $ac_status); } &&
71997 { ac_try='test -z "$ac_c_werror_flag"
71998 || test ! -s conftest.err'
71999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72000 (eval $ac_try) 2>&5
72001 ac_status=$?
72002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72003 (exit $ac_status); }; } &&
72004 { ac_try='test -s conftest$ac_exeext'
72005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72006 (eval $ac_try) 2>&5
72007 ac_status=$?
72008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72009 (exit $ac_status); }; }; then
72010 eval "$as_ac_var=yes"
72011 else
72012 echo "$as_me: failed program was:" >&5
72013 sed 's/^/| /' conftest.$ac_ext >&5
72015 eval "$as_ac_var=no"
72017 rm -f conftest.err conftest.$ac_objext \
72018 conftest$ac_exeext conftest.$ac_ext
72020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72022 if test `eval echo '${'$as_ac_var'}'` = yes; then
72023 cat >>confdefs.h <<_ACEOF
72024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72025 _ACEOF
72028 done
72030 else
72032 echo "$as_me:$LINENO: checking for _modff declaration" >&5
72033 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
72034 if test x${glibcxx_cv_func__modff_use+set} != xset; then
72035 if test "${glibcxx_cv_func__modff_use+set}" = set; then
72036 echo $ECHO_N "(cached) $ECHO_C" >&6
72037 else
72041 ac_ext=cc
72042 ac_cpp='$CXXCPP $CPPFLAGS'
72043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72047 cat >conftest.$ac_ext <<_ACEOF
72048 /* confdefs.h. */
72049 _ACEOF
72050 cat confdefs.h >>conftest.$ac_ext
72051 cat >>conftest.$ac_ext <<_ACEOF
72052 /* end confdefs.h. */
72053 #include <math.h>
72055 main ()
72057 _modff(0, 0);
72059 return 0;
72061 _ACEOF
72062 rm -f conftest.$ac_objext
72063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72064 (eval $ac_compile) 2>conftest.er1
72065 ac_status=$?
72066 grep -v '^ *+' conftest.er1 >conftest.err
72067 rm -f conftest.er1
72068 cat conftest.err >&5
72069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72070 (exit $ac_status); } &&
72071 { ac_try='test -z "$ac_cxx_werror_flag"
72072 || test ! -s conftest.err'
72073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72074 (eval $ac_try) 2>&5
72075 ac_status=$?
72076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72077 (exit $ac_status); }; } &&
72078 { ac_try='test -s conftest.$ac_objext'
72079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72080 (eval $ac_try) 2>&5
72081 ac_status=$?
72082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72083 (exit $ac_status); }; }; then
72084 glibcxx_cv_func__modff_use=yes
72085 else
72086 echo "$as_me: failed program was:" >&5
72087 sed 's/^/| /' conftest.$ac_ext >&5
72089 glibcxx_cv_func__modff_use=no
72091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72092 ac_ext=c
72093 ac_cpp='$CPP $CPPFLAGS'
72094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72102 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
72103 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
72105 if test x$glibcxx_cv_func__modff_use = x"yes"; then
72107 for ac_func in _modff
72109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72110 echo "$as_me:$LINENO: checking for $ac_func" >&5
72111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72112 if eval "test \"\${$as_ac_var+set}\" = set"; then
72113 echo $ECHO_N "(cached) $ECHO_C" >&6
72114 else
72115 if test x$gcc_no_link = xyes; then
72116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72118 { (exit 1); exit 1; }; }
72120 cat >conftest.$ac_ext <<_ACEOF
72121 /* confdefs.h. */
72122 _ACEOF
72123 cat confdefs.h >>conftest.$ac_ext
72124 cat >>conftest.$ac_ext <<_ACEOF
72125 /* end confdefs.h. */
72126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72128 #define $ac_func innocuous_$ac_func
72130 /* System header to define __stub macros and hopefully few prototypes,
72131 which can conflict with char $ac_func (); below.
72132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72133 <limits.h> exists even on freestanding compilers. */
72135 #ifdef __STDC__
72136 # include <limits.h>
72137 #else
72138 # include <assert.h>
72139 #endif
72141 #undef $ac_func
72143 /* Override any gcc2 internal prototype to avoid an error. */
72144 #ifdef __cplusplus
72145 extern "C"
72147 #endif
72148 /* We use char because int might match the return type of a gcc2
72149 builtin and then its argument prototype would still apply. */
72150 char $ac_func ();
72151 /* The GNU C library defines this for functions which it implements
72152 to always fail with ENOSYS. Some functions are actually named
72153 something starting with __ and the normal name is an alias. */
72154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72155 choke me
72156 #else
72157 char (*f) () = $ac_func;
72158 #endif
72159 #ifdef __cplusplus
72161 #endif
72164 main ()
72166 return f != $ac_func;
72168 return 0;
72170 _ACEOF
72171 rm -f conftest.$ac_objext conftest$ac_exeext
72172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72173 (eval $ac_link) 2>conftest.er1
72174 ac_status=$?
72175 grep -v '^ *+' conftest.er1 >conftest.err
72176 rm -f conftest.er1
72177 cat conftest.err >&5
72178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72179 (exit $ac_status); } &&
72180 { ac_try='test -z "$ac_c_werror_flag"
72181 || test ! -s conftest.err'
72182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72183 (eval $ac_try) 2>&5
72184 ac_status=$?
72185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72186 (exit $ac_status); }; } &&
72187 { ac_try='test -s conftest$ac_exeext'
72188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72189 (eval $ac_try) 2>&5
72190 ac_status=$?
72191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72192 (exit $ac_status); }; }; then
72193 eval "$as_ac_var=yes"
72194 else
72195 echo "$as_me: failed program was:" >&5
72196 sed 's/^/| /' conftest.$ac_ext >&5
72198 eval "$as_ac_var=no"
72200 rm -f conftest.err conftest.$ac_objext \
72201 conftest$ac_exeext conftest.$ac_ext
72203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72205 if test `eval echo '${'$as_ac_var'}'` = yes; then
72206 cat >>confdefs.h <<_ACEOF
72207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72208 _ACEOF
72211 done
72221 echo "$as_me:$LINENO: checking for modf declaration" >&5
72222 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
72223 if test x${glibcxx_cv_func_modf_use+set} != xset; then
72224 if test "${glibcxx_cv_func_modf_use+set}" = set; then
72225 echo $ECHO_N "(cached) $ECHO_C" >&6
72226 else
72230 ac_ext=cc
72231 ac_cpp='$CXXCPP $CPPFLAGS'
72232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72236 cat >conftest.$ac_ext <<_ACEOF
72237 /* confdefs.h. */
72238 _ACEOF
72239 cat confdefs.h >>conftest.$ac_ext
72240 cat >>conftest.$ac_ext <<_ACEOF
72241 /* end confdefs.h. */
72242 #include <math.h>
72244 main ()
72246 modf(0, 0);
72248 return 0;
72250 _ACEOF
72251 rm -f conftest.$ac_objext
72252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72253 (eval $ac_compile) 2>conftest.er1
72254 ac_status=$?
72255 grep -v '^ *+' conftest.er1 >conftest.err
72256 rm -f conftest.er1
72257 cat conftest.err >&5
72258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72259 (exit $ac_status); } &&
72260 { ac_try='test -z "$ac_cxx_werror_flag"
72261 || test ! -s conftest.err'
72262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72263 (eval $ac_try) 2>&5
72264 ac_status=$?
72265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72266 (exit $ac_status); }; } &&
72267 { ac_try='test -s conftest.$ac_objext'
72268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72269 (eval $ac_try) 2>&5
72270 ac_status=$?
72271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72272 (exit $ac_status); }; }; then
72273 glibcxx_cv_func_modf_use=yes
72274 else
72275 echo "$as_me: failed program was:" >&5
72276 sed 's/^/| /' conftest.$ac_ext >&5
72278 glibcxx_cv_func_modf_use=no
72280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72281 ac_ext=c
72282 ac_cpp='$CPP $CPPFLAGS'
72283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72291 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
72292 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
72294 if test x$glibcxx_cv_func_modf_use = x"yes"; then
72296 for ac_func in modf
72298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72299 echo "$as_me:$LINENO: checking for $ac_func" >&5
72300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72301 if eval "test \"\${$as_ac_var+set}\" = set"; then
72302 echo $ECHO_N "(cached) $ECHO_C" >&6
72303 else
72304 if test x$gcc_no_link = xyes; then
72305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72307 { (exit 1); exit 1; }; }
72309 cat >conftest.$ac_ext <<_ACEOF
72310 /* confdefs.h. */
72311 _ACEOF
72312 cat confdefs.h >>conftest.$ac_ext
72313 cat >>conftest.$ac_ext <<_ACEOF
72314 /* end confdefs.h. */
72315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72317 #define $ac_func innocuous_$ac_func
72319 /* System header to define __stub macros and hopefully few prototypes,
72320 which can conflict with char $ac_func (); below.
72321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72322 <limits.h> exists even on freestanding compilers. */
72324 #ifdef __STDC__
72325 # include <limits.h>
72326 #else
72327 # include <assert.h>
72328 #endif
72330 #undef $ac_func
72332 /* Override any gcc2 internal prototype to avoid an error. */
72333 #ifdef __cplusplus
72334 extern "C"
72336 #endif
72337 /* We use char because int might match the return type of a gcc2
72338 builtin and then its argument prototype would still apply. */
72339 char $ac_func ();
72340 /* The GNU C library defines this for functions which it implements
72341 to always fail with ENOSYS. Some functions are actually named
72342 something starting with __ and the normal name is an alias. */
72343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72344 choke me
72345 #else
72346 char (*f) () = $ac_func;
72347 #endif
72348 #ifdef __cplusplus
72350 #endif
72353 main ()
72355 return f != $ac_func;
72357 return 0;
72359 _ACEOF
72360 rm -f conftest.$ac_objext conftest$ac_exeext
72361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72362 (eval $ac_link) 2>conftest.er1
72363 ac_status=$?
72364 grep -v '^ *+' conftest.er1 >conftest.err
72365 rm -f conftest.er1
72366 cat conftest.err >&5
72367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72368 (exit $ac_status); } &&
72369 { ac_try='test -z "$ac_c_werror_flag"
72370 || test ! -s conftest.err'
72371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72372 (eval $ac_try) 2>&5
72373 ac_status=$?
72374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72375 (exit $ac_status); }; } &&
72376 { ac_try='test -s conftest$ac_exeext'
72377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72378 (eval $ac_try) 2>&5
72379 ac_status=$?
72380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72381 (exit $ac_status); }; }; then
72382 eval "$as_ac_var=yes"
72383 else
72384 echo "$as_me: failed program was:" >&5
72385 sed 's/^/| /' conftest.$ac_ext >&5
72387 eval "$as_ac_var=no"
72389 rm -f conftest.err conftest.$ac_objext \
72390 conftest$ac_exeext conftest.$ac_ext
72392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72394 if test `eval echo '${'$as_ac_var'}'` = yes; then
72395 cat >>confdefs.h <<_ACEOF
72396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72397 _ACEOF
72400 done
72402 else
72404 echo "$as_me:$LINENO: checking for _modf declaration" >&5
72405 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
72406 if test x${glibcxx_cv_func__modf_use+set} != xset; then
72407 if test "${glibcxx_cv_func__modf_use+set}" = set; then
72408 echo $ECHO_N "(cached) $ECHO_C" >&6
72409 else
72413 ac_ext=cc
72414 ac_cpp='$CXXCPP $CPPFLAGS'
72415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72419 cat >conftest.$ac_ext <<_ACEOF
72420 /* confdefs.h. */
72421 _ACEOF
72422 cat confdefs.h >>conftest.$ac_ext
72423 cat >>conftest.$ac_ext <<_ACEOF
72424 /* end confdefs.h. */
72425 #include <math.h>
72427 main ()
72429 _modf(0, 0);
72431 return 0;
72433 _ACEOF
72434 rm -f conftest.$ac_objext
72435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72436 (eval $ac_compile) 2>conftest.er1
72437 ac_status=$?
72438 grep -v '^ *+' conftest.er1 >conftest.err
72439 rm -f conftest.er1
72440 cat conftest.err >&5
72441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72442 (exit $ac_status); } &&
72443 { ac_try='test -z "$ac_cxx_werror_flag"
72444 || test ! -s conftest.err'
72445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72446 (eval $ac_try) 2>&5
72447 ac_status=$?
72448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72449 (exit $ac_status); }; } &&
72450 { ac_try='test -s conftest.$ac_objext'
72451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72452 (eval $ac_try) 2>&5
72453 ac_status=$?
72454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72455 (exit $ac_status); }; }; then
72456 glibcxx_cv_func__modf_use=yes
72457 else
72458 echo "$as_me: failed program was:" >&5
72459 sed 's/^/| /' conftest.$ac_ext >&5
72461 glibcxx_cv_func__modf_use=no
72463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72464 ac_ext=c
72465 ac_cpp='$CPP $CPPFLAGS'
72466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72474 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
72475 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
72477 if test x$glibcxx_cv_func__modf_use = x"yes"; then
72479 for ac_func in _modf
72481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72482 echo "$as_me:$LINENO: checking for $ac_func" >&5
72483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72484 if eval "test \"\${$as_ac_var+set}\" = set"; then
72485 echo $ECHO_N "(cached) $ECHO_C" >&6
72486 else
72487 if test x$gcc_no_link = xyes; then
72488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72490 { (exit 1); exit 1; }; }
72492 cat >conftest.$ac_ext <<_ACEOF
72493 /* confdefs.h. */
72494 _ACEOF
72495 cat confdefs.h >>conftest.$ac_ext
72496 cat >>conftest.$ac_ext <<_ACEOF
72497 /* end confdefs.h. */
72498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72500 #define $ac_func innocuous_$ac_func
72502 /* System header to define __stub macros and hopefully few prototypes,
72503 which can conflict with char $ac_func (); below.
72504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72505 <limits.h> exists even on freestanding compilers. */
72507 #ifdef __STDC__
72508 # include <limits.h>
72509 #else
72510 # include <assert.h>
72511 #endif
72513 #undef $ac_func
72515 /* Override any gcc2 internal prototype to avoid an error. */
72516 #ifdef __cplusplus
72517 extern "C"
72519 #endif
72520 /* We use char because int might match the return type of a gcc2
72521 builtin and then its argument prototype would still apply. */
72522 char $ac_func ();
72523 /* The GNU C library defines this for functions which it implements
72524 to always fail with ENOSYS. Some functions are actually named
72525 something starting with __ and the normal name is an alias. */
72526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72527 choke me
72528 #else
72529 char (*f) () = $ac_func;
72530 #endif
72531 #ifdef __cplusplus
72533 #endif
72536 main ()
72538 return f != $ac_func;
72540 return 0;
72542 _ACEOF
72543 rm -f conftest.$ac_objext conftest$ac_exeext
72544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72545 (eval $ac_link) 2>conftest.er1
72546 ac_status=$?
72547 grep -v '^ *+' conftest.er1 >conftest.err
72548 rm -f conftest.er1
72549 cat conftest.err >&5
72550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72551 (exit $ac_status); } &&
72552 { ac_try='test -z "$ac_c_werror_flag"
72553 || test ! -s conftest.err'
72554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72555 (eval $ac_try) 2>&5
72556 ac_status=$?
72557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72558 (exit $ac_status); }; } &&
72559 { ac_try='test -s conftest$ac_exeext'
72560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72561 (eval $ac_try) 2>&5
72562 ac_status=$?
72563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72564 (exit $ac_status); }; }; then
72565 eval "$as_ac_var=yes"
72566 else
72567 echo "$as_me: failed program was:" >&5
72568 sed 's/^/| /' conftest.$ac_ext >&5
72570 eval "$as_ac_var=no"
72572 rm -f conftest.err conftest.$ac_objext \
72573 conftest$ac_exeext conftest.$ac_ext
72575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72577 if test `eval echo '${'$as_ac_var'}'` = yes; then
72578 cat >>confdefs.h <<_ACEOF
72579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72580 _ACEOF
72583 done
72593 echo "$as_me:$LINENO: checking for powf declaration" >&5
72594 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
72595 if test x${glibcxx_cv_func_powf_use+set} != xset; then
72596 if test "${glibcxx_cv_func_powf_use+set}" = set; then
72597 echo $ECHO_N "(cached) $ECHO_C" >&6
72598 else
72602 ac_ext=cc
72603 ac_cpp='$CXXCPP $CPPFLAGS'
72604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72608 cat >conftest.$ac_ext <<_ACEOF
72609 /* confdefs.h. */
72610 _ACEOF
72611 cat confdefs.h >>conftest.$ac_ext
72612 cat >>conftest.$ac_ext <<_ACEOF
72613 /* end confdefs.h. */
72614 #include <math.h>
72616 main ()
72618 powf(0, 0);
72620 return 0;
72622 _ACEOF
72623 rm -f conftest.$ac_objext
72624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72625 (eval $ac_compile) 2>conftest.er1
72626 ac_status=$?
72627 grep -v '^ *+' conftest.er1 >conftest.err
72628 rm -f conftest.er1
72629 cat conftest.err >&5
72630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72631 (exit $ac_status); } &&
72632 { ac_try='test -z "$ac_cxx_werror_flag"
72633 || test ! -s conftest.err'
72634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72635 (eval $ac_try) 2>&5
72636 ac_status=$?
72637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72638 (exit $ac_status); }; } &&
72639 { ac_try='test -s conftest.$ac_objext'
72640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72641 (eval $ac_try) 2>&5
72642 ac_status=$?
72643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72644 (exit $ac_status); }; }; then
72645 glibcxx_cv_func_powf_use=yes
72646 else
72647 echo "$as_me: failed program was:" >&5
72648 sed 's/^/| /' conftest.$ac_ext >&5
72650 glibcxx_cv_func_powf_use=no
72652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72653 ac_ext=c
72654 ac_cpp='$CPP $CPPFLAGS'
72655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72663 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
72664 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
72666 if test x$glibcxx_cv_func_powf_use = x"yes"; then
72668 for ac_func in powf
72670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72671 echo "$as_me:$LINENO: checking for $ac_func" >&5
72672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72673 if eval "test \"\${$as_ac_var+set}\" = set"; then
72674 echo $ECHO_N "(cached) $ECHO_C" >&6
72675 else
72676 if test x$gcc_no_link = xyes; then
72677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72679 { (exit 1); exit 1; }; }
72681 cat >conftest.$ac_ext <<_ACEOF
72682 /* confdefs.h. */
72683 _ACEOF
72684 cat confdefs.h >>conftest.$ac_ext
72685 cat >>conftest.$ac_ext <<_ACEOF
72686 /* end confdefs.h. */
72687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72689 #define $ac_func innocuous_$ac_func
72691 /* System header to define __stub macros and hopefully few prototypes,
72692 which can conflict with char $ac_func (); below.
72693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72694 <limits.h> exists even on freestanding compilers. */
72696 #ifdef __STDC__
72697 # include <limits.h>
72698 #else
72699 # include <assert.h>
72700 #endif
72702 #undef $ac_func
72704 /* Override any gcc2 internal prototype to avoid an error. */
72705 #ifdef __cplusplus
72706 extern "C"
72708 #endif
72709 /* We use char because int might match the return type of a gcc2
72710 builtin and then its argument prototype would still apply. */
72711 char $ac_func ();
72712 /* The GNU C library defines this for functions which it implements
72713 to always fail with ENOSYS. Some functions are actually named
72714 something starting with __ and the normal name is an alias. */
72715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72716 choke me
72717 #else
72718 char (*f) () = $ac_func;
72719 #endif
72720 #ifdef __cplusplus
72722 #endif
72725 main ()
72727 return f != $ac_func;
72729 return 0;
72731 _ACEOF
72732 rm -f conftest.$ac_objext conftest$ac_exeext
72733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72734 (eval $ac_link) 2>conftest.er1
72735 ac_status=$?
72736 grep -v '^ *+' conftest.er1 >conftest.err
72737 rm -f conftest.er1
72738 cat conftest.err >&5
72739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72740 (exit $ac_status); } &&
72741 { ac_try='test -z "$ac_c_werror_flag"
72742 || test ! -s conftest.err'
72743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72744 (eval $ac_try) 2>&5
72745 ac_status=$?
72746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72747 (exit $ac_status); }; } &&
72748 { ac_try='test -s conftest$ac_exeext'
72749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72750 (eval $ac_try) 2>&5
72751 ac_status=$?
72752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72753 (exit $ac_status); }; }; then
72754 eval "$as_ac_var=yes"
72755 else
72756 echo "$as_me: failed program was:" >&5
72757 sed 's/^/| /' conftest.$ac_ext >&5
72759 eval "$as_ac_var=no"
72761 rm -f conftest.err conftest.$ac_objext \
72762 conftest$ac_exeext conftest.$ac_ext
72764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72766 if test `eval echo '${'$as_ac_var'}'` = yes; then
72767 cat >>confdefs.h <<_ACEOF
72768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72769 _ACEOF
72772 done
72774 else
72776 echo "$as_me:$LINENO: checking for _powf declaration" >&5
72777 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
72778 if test x${glibcxx_cv_func__powf_use+set} != xset; then
72779 if test "${glibcxx_cv_func__powf_use+set}" = set; then
72780 echo $ECHO_N "(cached) $ECHO_C" >&6
72781 else
72785 ac_ext=cc
72786 ac_cpp='$CXXCPP $CPPFLAGS'
72787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72791 cat >conftest.$ac_ext <<_ACEOF
72792 /* confdefs.h. */
72793 _ACEOF
72794 cat confdefs.h >>conftest.$ac_ext
72795 cat >>conftest.$ac_ext <<_ACEOF
72796 /* end confdefs.h. */
72797 #include <math.h>
72799 main ()
72801 _powf(0, 0);
72803 return 0;
72805 _ACEOF
72806 rm -f conftest.$ac_objext
72807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72808 (eval $ac_compile) 2>conftest.er1
72809 ac_status=$?
72810 grep -v '^ *+' conftest.er1 >conftest.err
72811 rm -f conftest.er1
72812 cat conftest.err >&5
72813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72814 (exit $ac_status); } &&
72815 { ac_try='test -z "$ac_cxx_werror_flag"
72816 || test ! -s conftest.err'
72817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72818 (eval $ac_try) 2>&5
72819 ac_status=$?
72820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72821 (exit $ac_status); }; } &&
72822 { ac_try='test -s conftest.$ac_objext'
72823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72824 (eval $ac_try) 2>&5
72825 ac_status=$?
72826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72827 (exit $ac_status); }; }; then
72828 glibcxx_cv_func__powf_use=yes
72829 else
72830 echo "$as_me: failed program was:" >&5
72831 sed 's/^/| /' conftest.$ac_ext >&5
72833 glibcxx_cv_func__powf_use=no
72835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72836 ac_ext=c
72837 ac_cpp='$CPP $CPPFLAGS'
72838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72846 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
72847 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
72849 if test x$glibcxx_cv_func__powf_use = x"yes"; then
72851 for ac_func in _powf
72853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72854 echo "$as_me:$LINENO: checking for $ac_func" >&5
72855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72856 if eval "test \"\${$as_ac_var+set}\" = set"; then
72857 echo $ECHO_N "(cached) $ECHO_C" >&6
72858 else
72859 if test x$gcc_no_link = xyes; then
72860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72862 { (exit 1); exit 1; }; }
72864 cat >conftest.$ac_ext <<_ACEOF
72865 /* confdefs.h. */
72866 _ACEOF
72867 cat confdefs.h >>conftest.$ac_ext
72868 cat >>conftest.$ac_ext <<_ACEOF
72869 /* end confdefs.h. */
72870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72872 #define $ac_func innocuous_$ac_func
72874 /* System header to define __stub macros and hopefully few prototypes,
72875 which can conflict with char $ac_func (); below.
72876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72877 <limits.h> exists even on freestanding compilers. */
72879 #ifdef __STDC__
72880 # include <limits.h>
72881 #else
72882 # include <assert.h>
72883 #endif
72885 #undef $ac_func
72887 /* Override any gcc2 internal prototype to avoid an error. */
72888 #ifdef __cplusplus
72889 extern "C"
72891 #endif
72892 /* We use char because int might match the return type of a gcc2
72893 builtin and then its argument prototype would still apply. */
72894 char $ac_func ();
72895 /* The GNU C library defines this for functions which it implements
72896 to always fail with ENOSYS. Some functions are actually named
72897 something starting with __ and the normal name is an alias. */
72898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72899 choke me
72900 #else
72901 char (*f) () = $ac_func;
72902 #endif
72903 #ifdef __cplusplus
72905 #endif
72908 main ()
72910 return f != $ac_func;
72912 return 0;
72914 _ACEOF
72915 rm -f conftest.$ac_objext conftest$ac_exeext
72916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72917 (eval $ac_link) 2>conftest.er1
72918 ac_status=$?
72919 grep -v '^ *+' conftest.er1 >conftest.err
72920 rm -f conftest.er1
72921 cat conftest.err >&5
72922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72923 (exit $ac_status); } &&
72924 { ac_try='test -z "$ac_c_werror_flag"
72925 || test ! -s conftest.err'
72926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72927 (eval $ac_try) 2>&5
72928 ac_status=$?
72929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72930 (exit $ac_status); }; } &&
72931 { ac_try='test -s conftest$ac_exeext'
72932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72933 (eval $ac_try) 2>&5
72934 ac_status=$?
72935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72936 (exit $ac_status); }; }; then
72937 eval "$as_ac_var=yes"
72938 else
72939 echo "$as_me: failed program was:" >&5
72940 sed 's/^/| /' conftest.$ac_ext >&5
72942 eval "$as_ac_var=no"
72944 rm -f conftest.err conftest.$ac_objext \
72945 conftest$ac_exeext conftest.$ac_ext
72947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72949 if test `eval echo '${'$as_ac_var'}'` = yes; then
72950 cat >>confdefs.h <<_ACEOF
72951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72952 _ACEOF
72955 done
72965 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
72966 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
72967 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
72968 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
72969 echo $ECHO_N "(cached) $ECHO_C" >&6
72970 else
72974 ac_ext=cc
72975 ac_cpp='$CXXCPP $CPPFLAGS'
72976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72980 cat >conftest.$ac_ext <<_ACEOF
72981 /* confdefs.h. */
72982 _ACEOF
72983 cat confdefs.h >>conftest.$ac_ext
72984 cat >>conftest.$ac_ext <<_ACEOF
72985 /* end confdefs.h. */
72986 #include <math.h>
72987 #ifdef HAVE_IEEEFP_H
72988 #include <ieeefp.h>
72989 #endif
72992 main ()
72994 sqrtf(0);
72996 return 0;
72998 _ACEOF
72999 rm -f conftest.$ac_objext
73000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73001 (eval $ac_compile) 2>conftest.er1
73002 ac_status=$?
73003 grep -v '^ *+' conftest.er1 >conftest.err
73004 rm -f conftest.er1
73005 cat conftest.err >&5
73006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73007 (exit $ac_status); } &&
73008 { ac_try='test -z "$ac_cxx_werror_flag"
73009 || test ! -s conftest.err'
73010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73011 (eval $ac_try) 2>&5
73012 ac_status=$?
73013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73014 (exit $ac_status); }; } &&
73015 { ac_try='test -s conftest.$ac_objext'
73016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73017 (eval $ac_try) 2>&5
73018 ac_status=$?
73019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73020 (exit $ac_status); }; }; then
73021 glibcxx_cv_func_sqrtf_use=yes
73022 else
73023 echo "$as_me: failed program was:" >&5
73024 sed 's/^/| /' conftest.$ac_ext >&5
73026 glibcxx_cv_func_sqrtf_use=no
73028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73029 ac_ext=c
73030 ac_cpp='$CPP $CPPFLAGS'
73031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73039 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
73040 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
73042 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
73044 for ac_func in sqrtf
73046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73047 echo "$as_me:$LINENO: checking for $ac_func" >&5
73048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73049 if eval "test \"\${$as_ac_var+set}\" = set"; then
73050 echo $ECHO_N "(cached) $ECHO_C" >&6
73051 else
73052 if test x$gcc_no_link = xyes; then
73053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73055 { (exit 1); exit 1; }; }
73057 cat >conftest.$ac_ext <<_ACEOF
73058 /* confdefs.h. */
73059 _ACEOF
73060 cat confdefs.h >>conftest.$ac_ext
73061 cat >>conftest.$ac_ext <<_ACEOF
73062 /* end confdefs.h. */
73063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73065 #define $ac_func innocuous_$ac_func
73067 /* System header to define __stub macros and hopefully few prototypes,
73068 which can conflict with char $ac_func (); below.
73069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73070 <limits.h> exists even on freestanding compilers. */
73072 #ifdef __STDC__
73073 # include <limits.h>
73074 #else
73075 # include <assert.h>
73076 #endif
73078 #undef $ac_func
73080 /* Override any gcc2 internal prototype to avoid an error. */
73081 #ifdef __cplusplus
73082 extern "C"
73084 #endif
73085 /* We use char because int might match the return type of a gcc2
73086 builtin and then its argument prototype would still apply. */
73087 char $ac_func ();
73088 /* The GNU C library defines this for functions which it implements
73089 to always fail with ENOSYS. Some functions are actually named
73090 something starting with __ and the normal name is an alias. */
73091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73092 choke me
73093 #else
73094 char (*f) () = $ac_func;
73095 #endif
73096 #ifdef __cplusplus
73098 #endif
73101 main ()
73103 return f != $ac_func;
73105 return 0;
73107 _ACEOF
73108 rm -f conftest.$ac_objext conftest$ac_exeext
73109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73110 (eval $ac_link) 2>conftest.er1
73111 ac_status=$?
73112 grep -v '^ *+' conftest.er1 >conftest.err
73113 rm -f conftest.er1
73114 cat conftest.err >&5
73115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73116 (exit $ac_status); } &&
73117 { ac_try='test -z "$ac_c_werror_flag"
73118 || test ! -s conftest.err'
73119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73120 (eval $ac_try) 2>&5
73121 ac_status=$?
73122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73123 (exit $ac_status); }; } &&
73124 { ac_try='test -s conftest$ac_exeext'
73125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73126 (eval $ac_try) 2>&5
73127 ac_status=$?
73128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73129 (exit $ac_status); }; }; then
73130 eval "$as_ac_var=yes"
73131 else
73132 echo "$as_me: failed program was:" >&5
73133 sed 's/^/| /' conftest.$ac_ext >&5
73135 eval "$as_ac_var=no"
73137 rm -f conftest.err conftest.$ac_objext \
73138 conftest$ac_exeext conftest.$ac_ext
73140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73142 if test `eval echo '${'$as_ac_var'}'` = yes; then
73143 cat >>confdefs.h <<_ACEOF
73144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73145 _ACEOF
73148 done
73150 else
73152 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
73153 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
73154 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
73155 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
73156 echo $ECHO_N "(cached) $ECHO_C" >&6
73157 else
73161 ac_ext=cc
73162 ac_cpp='$CXXCPP $CPPFLAGS'
73163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73167 cat >conftest.$ac_ext <<_ACEOF
73168 /* confdefs.h. */
73169 _ACEOF
73170 cat confdefs.h >>conftest.$ac_ext
73171 cat >>conftest.$ac_ext <<_ACEOF
73172 /* end confdefs.h. */
73173 #include <math.h>
73174 #ifdef HAVE_IEEEFP_H
73175 #include <ieeefp.h>
73176 #endif
73179 main ()
73181 _sqrtf(0);
73183 return 0;
73185 _ACEOF
73186 rm -f conftest.$ac_objext
73187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73188 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__sqrtf_use=yes
73209 else
73210 echo "$as_me: failed program was:" >&5
73211 sed 's/^/| /' conftest.$ac_ext >&5
73213 glibcxx_cv_func__sqrtf_use=no
73215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73216 ac_ext=c
73217 ac_cpp='$CPP $CPPFLAGS'
73218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73226 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
73227 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
73229 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
73231 for ac_func in _sqrtf
73233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73234 echo "$as_me:$LINENO: checking for $ac_func" >&5
73235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73236 if eval "test \"\${$as_ac_var+set}\" = set"; then
73237 echo $ECHO_N "(cached) $ECHO_C" >&6
73238 else
73239 if test x$gcc_no_link = xyes; then
73240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73242 { (exit 1); exit 1; }; }
73244 cat >conftest.$ac_ext <<_ACEOF
73245 /* confdefs.h. */
73246 _ACEOF
73247 cat confdefs.h >>conftest.$ac_ext
73248 cat >>conftest.$ac_ext <<_ACEOF
73249 /* end confdefs.h. */
73250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73252 #define $ac_func innocuous_$ac_func
73254 /* System header to define __stub macros and hopefully few prototypes,
73255 which can conflict with char $ac_func (); below.
73256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73257 <limits.h> exists even on freestanding compilers. */
73259 #ifdef __STDC__
73260 # include <limits.h>
73261 #else
73262 # include <assert.h>
73263 #endif
73265 #undef $ac_func
73267 /* Override any gcc2 internal prototype to avoid an error. */
73268 #ifdef __cplusplus
73269 extern "C"
73271 #endif
73272 /* We use char because int might match the return type of a gcc2
73273 builtin and then its argument prototype would still apply. */
73274 char $ac_func ();
73275 /* The GNU C library defines this for functions which it implements
73276 to always fail with ENOSYS. Some functions are actually named
73277 something starting with __ and the normal name is an alias. */
73278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73279 choke me
73280 #else
73281 char (*f) () = $ac_func;
73282 #endif
73283 #ifdef __cplusplus
73285 #endif
73288 main ()
73290 return f != $ac_func;
73292 return 0;
73294 _ACEOF
73295 rm -f conftest.$ac_objext conftest$ac_exeext
73296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73297 (eval $ac_link) 2>conftest.er1
73298 ac_status=$?
73299 grep -v '^ *+' conftest.er1 >conftest.err
73300 rm -f conftest.er1
73301 cat conftest.err >&5
73302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73303 (exit $ac_status); } &&
73304 { ac_try='test -z "$ac_c_werror_flag"
73305 || test ! -s conftest.err'
73306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73307 (eval $ac_try) 2>&5
73308 ac_status=$?
73309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73310 (exit $ac_status); }; } &&
73311 { ac_try='test -s conftest$ac_exeext'
73312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73313 (eval $ac_try) 2>&5
73314 ac_status=$?
73315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73316 (exit $ac_status); }; }; then
73317 eval "$as_ac_var=yes"
73318 else
73319 echo "$as_me: failed program was:" >&5
73320 sed 's/^/| /' conftest.$ac_ext >&5
73322 eval "$as_ac_var=no"
73324 rm -f conftest.err conftest.$ac_objext \
73325 conftest$ac_exeext conftest.$ac_ext
73327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73329 if test `eval echo '${'$as_ac_var'}'` = yes; then
73330 cat >>confdefs.h <<_ACEOF
73331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73332 _ACEOF
73335 done
73345 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
73346 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
73347 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
73348 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
73349 echo $ECHO_N "(cached) $ECHO_C" >&6
73350 else
73354 ac_ext=cc
73355 ac_cpp='$CXXCPP $CPPFLAGS'
73356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73360 cat >conftest.$ac_ext <<_ACEOF
73361 /* confdefs.h. */
73362 _ACEOF
73363 cat confdefs.h >>conftest.$ac_ext
73364 cat >>conftest.$ac_ext <<_ACEOF
73365 /* end confdefs.h. */
73366 #include <math.h>
73368 main ()
73370 sincosf(0, 0, 0);
73372 return 0;
73374 _ACEOF
73375 rm -f conftest.$ac_objext
73376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73377 (eval $ac_compile) 2>conftest.er1
73378 ac_status=$?
73379 grep -v '^ *+' conftest.er1 >conftest.err
73380 rm -f conftest.er1
73381 cat conftest.err >&5
73382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73383 (exit $ac_status); } &&
73384 { ac_try='test -z "$ac_cxx_werror_flag"
73385 || test ! -s conftest.err'
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); }; } &&
73391 { ac_try='test -s conftest.$ac_objext'
73392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73393 (eval $ac_try) 2>&5
73394 ac_status=$?
73395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73396 (exit $ac_status); }; }; then
73397 glibcxx_cv_func_sincosf_use=yes
73398 else
73399 echo "$as_me: failed program was:" >&5
73400 sed 's/^/| /' conftest.$ac_ext >&5
73402 glibcxx_cv_func_sincosf_use=no
73404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73405 ac_ext=c
73406 ac_cpp='$CPP $CPPFLAGS'
73407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73415 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
73416 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
73418 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
73420 for ac_func in sincosf
73422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73423 echo "$as_me:$LINENO: checking for $ac_func" >&5
73424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73425 if eval "test \"\${$as_ac_var+set}\" = set"; then
73426 echo $ECHO_N "(cached) $ECHO_C" >&6
73427 else
73428 if test x$gcc_no_link = xyes; then
73429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73431 { (exit 1); exit 1; }; }
73433 cat >conftest.$ac_ext <<_ACEOF
73434 /* confdefs.h. */
73435 _ACEOF
73436 cat confdefs.h >>conftest.$ac_ext
73437 cat >>conftest.$ac_ext <<_ACEOF
73438 /* end confdefs.h. */
73439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73441 #define $ac_func innocuous_$ac_func
73443 /* System header to define __stub macros and hopefully few prototypes,
73444 which can conflict with char $ac_func (); below.
73445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73446 <limits.h> exists even on freestanding compilers. */
73448 #ifdef __STDC__
73449 # include <limits.h>
73450 #else
73451 # include <assert.h>
73452 #endif
73454 #undef $ac_func
73456 /* Override any gcc2 internal prototype to avoid an error. */
73457 #ifdef __cplusplus
73458 extern "C"
73460 #endif
73461 /* We use char because int might match the return type of a gcc2
73462 builtin and then its argument prototype would still apply. */
73463 char $ac_func ();
73464 /* The GNU C library defines this for functions which it implements
73465 to always fail with ENOSYS. Some functions are actually named
73466 something starting with __ and the normal name is an alias. */
73467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73468 choke me
73469 #else
73470 char (*f) () = $ac_func;
73471 #endif
73472 #ifdef __cplusplus
73474 #endif
73477 main ()
73479 return f != $ac_func;
73481 return 0;
73483 _ACEOF
73484 rm -f conftest.$ac_objext conftest$ac_exeext
73485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73486 (eval $ac_link) 2>conftest.er1
73487 ac_status=$?
73488 grep -v '^ *+' conftest.er1 >conftest.err
73489 rm -f conftest.er1
73490 cat conftest.err >&5
73491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73492 (exit $ac_status); } &&
73493 { ac_try='test -z "$ac_c_werror_flag"
73494 || test ! -s conftest.err'
73495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73496 (eval $ac_try) 2>&5
73497 ac_status=$?
73498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73499 (exit $ac_status); }; } &&
73500 { ac_try='test -s conftest$ac_exeext'
73501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73502 (eval $ac_try) 2>&5
73503 ac_status=$?
73504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73505 (exit $ac_status); }; }; then
73506 eval "$as_ac_var=yes"
73507 else
73508 echo "$as_me: failed program was:" >&5
73509 sed 's/^/| /' conftest.$ac_ext >&5
73511 eval "$as_ac_var=no"
73513 rm -f conftest.err conftest.$ac_objext \
73514 conftest$ac_exeext conftest.$ac_ext
73516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73518 if test `eval echo '${'$as_ac_var'}'` = yes; then
73519 cat >>confdefs.h <<_ACEOF
73520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73521 _ACEOF
73524 done
73526 else
73528 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
73529 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
73530 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
73531 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
73532 echo $ECHO_N "(cached) $ECHO_C" >&6
73533 else
73537 ac_ext=cc
73538 ac_cpp='$CXXCPP $CPPFLAGS'
73539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73543 cat >conftest.$ac_ext <<_ACEOF
73544 /* confdefs.h. */
73545 _ACEOF
73546 cat confdefs.h >>conftest.$ac_ext
73547 cat >>conftest.$ac_ext <<_ACEOF
73548 /* end confdefs.h. */
73549 #include <math.h>
73551 main ()
73553 _sincosf(0, 0, 0);
73555 return 0;
73557 _ACEOF
73558 rm -f conftest.$ac_objext
73559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73560 (eval $ac_compile) 2>conftest.er1
73561 ac_status=$?
73562 grep -v '^ *+' conftest.er1 >conftest.err
73563 rm -f conftest.er1
73564 cat conftest.err >&5
73565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73566 (exit $ac_status); } &&
73567 { ac_try='test -z "$ac_cxx_werror_flag"
73568 || test ! -s conftest.err'
73569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73570 (eval $ac_try) 2>&5
73571 ac_status=$?
73572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73573 (exit $ac_status); }; } &&
73574 { ac_try='test -s conftest.$ac_objext'
73575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73576 (eval $ac_try) 2>&5
73577 ac_status=$?
73578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73579 (exit $ac_status); }; }; then
73580 glibcxx_cv_func__sincosf_use=yes
73581 else
73582 echo "$as_me: failed program was:" >&5
73583 sed 's/^/| /' conftest.$ac_ext >&5
73585 glibcxx_cv_func__sincosf_use=no
73587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73588 ac_ext=c
73589 ac_cpp='$CPP $CPPFLAGS'
73590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73598 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
73599 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
73601 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
73603 for ac_func in _sincosf
73605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73606 echo "$as_me:$LINENO: checking for $ac_func" >&5
73607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73608 if eval "test \"\${$as_ac_var+set}\" = set"; then
73609 echo $ECHO_N "(cached) $ECHO_C" >&6
73610 else
73611 if test x$gcc_no_link = xyes; then
73612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73614 { (exit 1); exit 1; }; }
73616 cat >conftest.$ac_ext <<_ACEOF
73617 /* confdefs.h. */
73618 _ACEOF
73619 cat confdefs.h >>conftest.$ac_ext
73620 cat >>conftest.$ac_ext <<_ACEOF
73621 /* end confdefs.h. */
73622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73624 #define $ac_func innocuous_$ac_func
73626 /* System header to define __stub macros and hopefully few prototypes,
73627 which can conflict with char $ac_func (); below.
73628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73629 <limits.h> exists even on freestanding compilers. */
73631 #ifdef __STDC__
73632 # include <limits.h>
73633 #else
73634 # include <assert.h>
73635 #endif
73637 #undef $ac_func
73639 /* Override any gcc2 internal prototype to avoid an error. */
73640 #ifdef __cplusplus
73641 extern "C"
73643 #endif
73644 /* We use char because int might match the return type of a gcc2
73645 builtin and then its argument prototype would still apply. */
73646 char $ac_func ();
73647 /* The GNU C library defines this for functions which it implements
73648 to always fail with ENOSYS. Some functions are actually named
73649 something starting with __ and the normal name is an alias. */
73650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73651 choke me
73652 #else
73653 char (*f) () = $ac_func;
73654 #endif
73655 #ifdef __cplusplus
73657 #endif
73660 main ()
73662 return f != $ac_func;
73664 return 0;
73666 _ACEOF
73667 rm -f conftest.$ac_objext conftest$ac_exeext
73668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73669 (eval $ac_link) 2>conftest.er1
73670 ac_status=$?
73671 grep -v '^ *+' conftest.er1 >conftest.err
73672 rm -f conftest.er1
73673 cat conftest.err >&5
73674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73675 (exit $ac_status); } &&
73676 { ac_try='test -z "$ac_c_werror_flag"
73677 || test ! -s conftest.err'
73678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73679 (eval $ac_try) 2>&5
73680 ac_status=$?
73681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73682 (exit $ac_status); }; } &&
73683 { ac_try='test -s conftest$ac_exeext'
73684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73685 (eval $ac_try) 2>&5
73686 ac_status=$?
73687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73688 (exit $ac_status); }; }; then
73689 eval "$as_ac_var=yes"
73690 else
73691 echo "$as_me: failed program was:" >&5
73692 sed 's/^/| /' conftest.$ac_ext >&5
73694 eval "$as_ac_var=no"
73696 rm -f conftest.err conftest.$ac_objext \
73697 conftest$ac_exeext conftest.$ac_ext
73699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73701 if test `eval echo '${'$as_ac_var'}'` = yes; then
73702 cat >>confdefs.h <<_ACEOF
73703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73704 _ACEOF
73707 done
73717 echo "$as_me:$LINENO: checking for finitef declaration" >&5
73718 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
73719 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
73720 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
73721 echo $ECHO_N "(cached) $ECHO_C" >&6
73722 else
73726 ac_ext=cc
73727 ac_cpp='$CXXCPP $CPPFLAGS'
73728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73732 cat >conftest.$ac_ext <<_ACEOF
73733 /* confdefs.h. */
73734 _ACEOF
73735 cat confdefs.h >>conftest.$ac_ext
73736 cat >>conftest.$ac_ext <<_ACEOF
73737 /* end confdefs.h. */
73738 #include <math.h>
73739 #ifdef HAVE_IEEEFP_H
73740 #include <ieeefp.h>
73741 #endif
73744 main ()
73746 finitef(0);
73748 return 0;
73750 _ACEOF
73751 rm -f conftest.$ac_objext
73752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73753 (eval $ac_compile) 2>conftest.er1
73754 ac_status=$?
73755 grep -v '^ *+' conftest.er1 >conftest.err
73756 rm -f conftest.er1
73757 cat conftest.err >&5
73758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73759 (exit $ac_status); } &&
73760 { ac_try='test -z "$ac_cxx_werror_flag"
73761 || test ! -s conftest.err'
73762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73763 (eval $ac_try) 2>&5
73764 ac_status=$?
73765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73766 (exit $ac_status); }; } &&
73767 { ac_try='test -s conftest.$ac_objext'
73768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73769 (eval $ac_try) 2>&5
73770 ac_status=$?
73771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73772 (exit $ac_status); }; }; then
73773 glibcxx_cv_func_finitef_use=yes
73774 else
73775 echo "$as_me: failed program was:" >&5
73776 sed 's/^/| /' conftest.$ac_ext >&5
73778 glibcxx_cv_func_finitef_use=no
73780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73781 ac_ext=c
73782 ac_cpp='$CPP $CPPFLAGS'
73783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73791 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
73792 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
73794 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
73796 for ac_func in finitef
73798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73799 echo "$as_me:$LINENO: checking for $ac_func" >&5
73800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73801 if eval "test \"\${$as_ac_var+set}\" = set"; then
73802 echo $ECHO_N "(cached) $ECHO_C" >&6
73803 else
73804 if test x$gcc_no_link = xyes; then
73805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73807 { (exit 1); exit 1; }; }
73809 cat >conftest.$ac_ext <<_ACEOF
73810 /* confdefs.h. */
73811 _ACEOF
73812 cat confdefs.h >>conftest.$ac_ext
73813 cat >>conftest.$ac_ext <<_ACEOF
73814 /* end confdefs.h. */
73815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73817 #define $ac_func innocuous_$ac_func
73819 /* System header to define __stub macros and hopefully few prototypes,
73820 which can conflict with char $ac_func (); below.
73821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73822 <limits.h> exists even on freestanding compilers. */
73824 #ifdef __STDC__
73825 # include <limits.h>
73826 #else
73827 # include <assert.h>
73828 #endif
73830 #undef $ac_func
73832 /* Override any gcc2 internal prototype to avoid an error. */
73833 #ifdef __cplusplus
73834 extern "C"
73836 #endif
73837 /* We use char because int might match the return type of a gcc2
73838 builtin and then its argument prototype would still apply. */
73839 char $ac_func ();
73840 /* The GNU C library defines this for functions which it implements
73841 to always fail with ENOSYS. Some functions are actually named
73842 something starting with __ and the normal name is an alias. */
73843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73844 choke me
73845 #else
73846 char (*f) () = $ac_func;
73847 #endif
73848 #ifdef __cplusplus
73850 #endif
73853 main ()
73855 return f != $ac_func;
73857 return 0;
73859 _ACEOF
73860 rm -f conftest.$ac_objext conftest$ac_exeext
73861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73862 (eval $ac_link) 2>conftest.er1
73863 ac_status=$?
73864 grep -v '^ *+' conftest.er1 >conftest.err
73865 rm -f conftest.er1
73866 cat conftest.err >&5
73867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73868 (exit $ac_status); } &&
73869 { ac_try='test -z "$ac_c_werror_flag"
73870 || test ! -s conftest.err'
73871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73872 (eval $ac_try) 2>&5
73873 ac_status=$?
73874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73875 (exit $ac_status); }; } &&
73876 { ac_try='test -s conftest$ac_exeext'
73877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73878 (eval $ac_try) 2>&5
73879 ac_status=$?
73880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73881 (exit $ac_status); }; }; then
73882 eval "$as_ac_var=yes"
73883 else
73884 echo "$as_me: failed program was:" >&5
73885 sed 's/^/| /' conftest.$ac_ext >&5
73887 eval "$as_ac_var=no"
73889 rm -f conftest.err conftest.$ac_objext \
73890 conftest$ac_exeext conftest.$ac_ext
73892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73894 if test `eval echo '${'$as_ac_var'}'` = yes; then
73895 cat >>confdefs.h <<_ACEOF
73896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73897 _ACEOF
73900 done
73902 else
73904 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
73905 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
73906 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
73907 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
73908 echo $ECHO_N "(cached) $ECHO_C" >&6
73909 else
73913 ac_ext=cc
73914 ac_cpp='$CXXCPP $CPPFLAGS'
73915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73919 cat >conftest.$ac_ext <<_ACEOF
73920 /* confdefs.h. */
73921 _ACEOF
73922 cat confdefs.h >>conftest.$ac_ext
73923 cat >>conftest.$ac_ext <<_ACEOF
73924 /* end confdefs.h. */
73925 #include <math.h>
73926 #ifdef HAVE_IEEEFP_H
73927 #include <ieeefp.h>
73928 #endif
73931 main ()
73933 _finitef(0);
73935 return 0;
73937 _ACEOF
73938 rm -f conftest.$ac_objext
73939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73940 (eval $ac_compile) 2>conftest.er1
73941 ac_status=$?
73942 grep -v '^ *+' conftest.er1 >conftest.err
73943 rm -f conftest.er1
73944 cat conftest.err >&5
73945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73946 (exit $ac_status); } &&
73947 { ac_try='test -z "$ac_cxx_werror_flag"
73948 || test ! -s conftest.err'
73949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73950 (eval $ac_try) 2>&5
73951 ac_status=$?
73952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73953 (exit $ac_status); }; } &&
73954 { ac_try='test -s conftest.$ac_objext'
73955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73956 (eval $ac_try) 2>&5
73957 ac_status=$?
73958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73959 (exit $ac_status); }; }; then
73960 glibcxx_cv_func__finitef_use=yes
73961 else
73962 echo "$as_me: failed program was:" >&5
73963 sed 's/^/| /' conftest.$ac_ext >&5
73965 glibcxx_cv_func__finitef_use=no
73967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73968 ac_ext=c
73969 ac_cpp='$CPP $CPPFLAGS'
73970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73978 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
73979 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
73981 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
73983 for ac_func in _finitef
73985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73986 echo "$as_me:$LINENO: checking for $ac_func" >&5
73987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73988 if eval "test \"\${$as_ac_var+set}\" = set"; then
73989 echo $ECHO_N "(cached) $ECHO_C" >&6
73990 else
73991 if test x$gcc_no_link = xyes; then
73992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73994 { (exit 1); exit 1; }; }
73996 cat >conftest.$ac_ext <<_ACEOF
73997 /* confdefs.h. */
73998 _ACEOF
73999 cat confdefs.h >>conftest.$ac_ext
74000 cat >>conftest.$ac_ext <<_ACEOF
74001 /* end confdefs.h. */
74002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74004 #define $ac_func innocuous_$ac_func
74006 /* System header to define __stub macros and hopefully few prototypes,
74007 which can conflict with char $ac_func (); below.
74008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74009 <limits.h> exists even on freestanding compilers. */
74011 #ifdef __STDC__
74012 # include <limits.h>
74013 #else
74014 # include <assert.h>
74015 #endif
74017 #undef $ac_func
74019 /* Override any gcc2 internal prototype to avoid an error. */
74020 #ifdef __cplusplus
74021 extern "C"
74023 #endif
74024 /* We use char because int might match the return type of a gcc2
74025 builtin and then its argument prototype would still apply. */
74026 char $ac_func ();
74027 /* The GNU C library defines this for functions which it implements
74028 to always fail with ENOSYS. Some functions are actually named
74029 something starting with __ and the normal name is an alias. */
74030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74031 choke me
74032 #else
74033 char (*f) () = $ac_func;
74034 #endif
74035 #ifdef __cplusplus
74037 #endif
74040 main ()
74042 return f != $ac_func;
74044 return 0;
74046 _ACEOF
74047 rm -f conftest.$ac_objext conftest$ac_exeext
74048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74049 (eval $ac_link) 2>conftest.er1
74050 ac_status=$?
74051 grep -v '^ *+' conftest.er1 >conftest.err
74052 rm -f conftest.er1
74053 cat conftest.err >&5
74054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74055 (exit $ac_status); } &&
74056 { ac_try='test -z "$ac_c_werror_flag"
74057 || test ! -s conftest.err'
74058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74059 (eval $ac_try) 2>&5
74060 ac_status=$?
74061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74062 (exit $ac_status); }; } &&
74063 { ac_try='test -s conftest$ac_exeext'
74064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74065 (eval $ac_try) 2>&5
74066 ac_status=$?
74067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74068 (exit $ac_status); }; }; then
74069 eval "$as_ac_var=yes"
74070 else
74071 echo "$as_me: failed program was:" >&5
74072 sed 's/^/| /' conftest.$ac_ext >&5
74074 eval "$as_ac_var=no"
74076 rm -f conftest.err conftest.$ac_objext \
74077 conftest$ac_exeext conftest.$ac_ext
74079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74081 if test `eval echo '${'$as_ac_var'}'` = yes; then
74082 cat >>confdefs.h <<_ACEOF
74083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74084 _ACEOF
74087 done
74097 echo "$as_me:$LINENO: checking for long double trig functions" >&5
74098 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
74099 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
74100 echo $ECHO_N "(cached) $ECHO_C" >&6
74101 else
74105 ac_ext=cc
74106 ac_cpp='$CXXCPP $CPPFLAGS'
74107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74111 cat >conftest.$ac_ext <<_ACEOF
74112 /* confdefs.h. */
74113 _ACEOF
74114 cat confdefs.h >>conftest.$ac_ext
74115 cat >>conftest.$ac_ext <<_ACEOF
74116 /* end confdefs.h. */
74117 #include <math.h>
74119 main ()
74121 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74123 return 0;
74125 _ACEOF
74126 rm -f conftest.$ac_objext
74127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74128 (eval $ac_compile) 2>conftest.er1
74129 ac_status=$?
74130 grep -v '^ *+' conftest.er1 >conftest.err
74131 rm -f conftest.er1
74132 cat conftest.err >&5
74133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74134 (exit $ac_status); } &&
74135 { ac_try='test -z "$ac_cxx_werror_flag"
74136 || test ! -s conftest.err'
74137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74138 (eval $ac_try) 2>&5
74139 ac_status=$?
74140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74141 (exit $ac_status); }; } &&
74142 { ac_try='test -s conftest.$ac_objext'
74143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74144 (eval $ac_try) 2>&5
74145 ac_status=$?
74146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74147 (exit $ac_status); }; }; then
74148 glibcxx_cv_func_long_double_trig_use=yes
74149 else
74150 echo "$as_me: failed program was:" >&5
74151 sed 's/^/| /' conftest.$ac_ext >&5
74153 glibcxx_cv_func_long_double_trig_use=no
74155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74156 ac_ext=c
74157 ac_cpp='$CPP $CPPFLAGS'
74158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74164 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
74165 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
74166 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74176 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74179 echo "$as_me:$LINENO: checking for $ac_func" >&5
74180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74181 if eval "test \"\${$as_ac_var+set}\" = set"; then
74182 echo $ECHO_N "(cached) $ECHO_C" >&6
74183 else
74184 if test x$gcc_no_link = xyes; then
74185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74187 { (exit 1); exit 1; }; }
74189 cat >conftest.$ac_ext <<_ACEOF
74190 /* confdefs.h. */
74191 _ACEOF
74192 cat confdefs.h >>conftest.$ac_ext
74193 cat >>conftest.$ac_ext <<_ACEOF
74194 /* end confdefs.h. */
74195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74197 #define $ac_func innocuous_$ac_func
74199 /* System header to define __stub macros and hopefully few prototypes,
74200 which can conflict with char $ac_func (); below.
74201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74202 <limits.h> exists even on freestanding compilers. */
74204 #ifdef __STDC__
74205 # include <limits.h>
74206 #else
74207 # include <assert.h>
74208 #endif
74210 #undef $ac_func
74212 /* Override any gcc2 internal prototype to avoid an error. */
74213 #ifdef __cplusplus
74214 extern "C"
74216 #endif
74217 /* We use char because int might match the return type of a gcc2
74218 builtin and then its argument prototype would still apply. */
74219 char $ac_func ();
74220 /* The GNU C library defines this for functions which it implements
74221 to always fail with ENOSYS. Some functions are actually named
74222 something starting with __ and the normal name is an alias. */
74223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74224 choke me
74225 #else
74226 char (*f) () = $ac_func;
74227 #endif
74228 #ifdef __cplusplus
74230 #endif
74233 main ()
74235 return f != $ac_func;
74237 return 0;
74239 _ACEOF
74240 rm -f conftest.$ac_objext conftest$ac_exeext
74241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74242 (eval $ac_link) 2>conftest.er1
74243 ac_status=$?
74244 grep -v '^ *+' conftest.er1 >conftest.err
74245 rm -f conftest.er1
74246 cat conftest.err >&5
74247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74248 (exit $ac_status); } &&
74249 { ac_try='test -z "$ac_c_werror_flag"
74250 || test ! -s conftest.err'
74251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74252 (eval $ac_try) 2>&5
74253 ac_status=$?
74254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74255 (exit $ac_status); }; } &&
74256 { ac_try='test -s conftest$ac_exeext'
74257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74258 (eval $ac_try) 2>&5
74259 ac_status=$?
74260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74261 (exit $ac_status); }; }; then
74262 eval "$as_ac_var=yes"
74263 else
74264 echo "$as_me: failed program was:" >&5
74265 sed 's/^/| /' conftest.$ac_ext >&5
74267 eval "$as_ac_var=no"
74269 rm -f conftest.err conftest.$ac_objext \
74270 conftest$ac_exeext conftest.$ac_ext
74272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74274 if test `eval echo '${'$as_ac_var'}'` = yes; then
74275 cat >>confdefs.h <<_ACEOF
74276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74277 _ACEOF
74280 done
74282 else
74283 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
74284 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
74285 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
74286 echo $ECHO_N "(cached) $ECHO_C" >&6
74287 else
74291 ac_ext=cc
74292 ac_cpp='$CXXCPP $CPPFLAGS'
74293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74297 cat >conftest.$ac_ext <<_ACEOF
74298 /* confdefs.h. */
74299 _ACEOF
74300 cat confdefs.h >>conftest.$ac_ext
74301 cat >>conftest.$ac_ext <<_ACEOF
74302 /* end confdefs.h. */
74303 #include <math.h>
74305 main ()
74307 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74309 return 0;
74311 _ACEOF
74312 rm -f conftest.$ac_objext
74313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74314 (eval $ac_compile) 2>conftest.er1
74315 ac_status=$?
74316 grep -v '^ *+' conftest.er1 >conftest.err
74317 rm -f conftest.er1
74318 cat conftest.err >&5
74319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74320 (exit $ac_status); } &&
74321 { ac_try='test -z "$ac_cxx_werror_flag"
74322 || test ! -s conftest.err'
74323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74324 (eval $ac_try) 2>&5
74325 ac_status=$?
74326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74327 (exit $ac_status); }; } &&
74328 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
74334 glibcxx_cv_func__long_double_trig_use=yes
74335 else
74336 echo "$as_me: failed program was:" >&5
74337 sed 's/^/| /' conftest.$ac_ext >&5
74339 glibcxx_cv_func__long_double_trig_use=no
74341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74342 ac_ext=c
74343 ac_cpp='$CPP $CPPFLAGS'
74344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74350 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
74351 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
74352 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74362 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74365 echo "$as_me:$LINENO: checking for $ac_func" >&5
74366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74367 if eval "test \"\${$as_ac_var+set}\" = set"; then
74368 echo $ECHO_N "(cached) $ECHO_C" >&6
74369 else
74370 if test x$gcc_no_link = xyes; then
74371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74373 { (exit 1); exit 1; }; }
74375 cat >conftest.$ac_ext <<_ACEOF
74376 /* confdefs.h. */
74377 _ACEOF
74378 cat confdefs.h >>conftest.$ac_ext
74379 cat >>conftest.$ac_ext <<_ACEOF
74380 /* end confdefs.h. */
74381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74383 #define $ac_func innocuous_$ac_func
74385 /* System header to define __stub macros and hopefully few prototypes,
74386 which can conflict with char $ac_func (); below.
74387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74388 <limits.h> exists even on freestanding compilers. */
74390 #ifdef __STDC__
74391 # include <limits.h>
74392 #else
74393 # include <assert.h>
74394 #endif
74396 #undef $ac_func
74398 /* Override any gcc2 internal prototype to avoid an error. */
74399 #ifdef __cplusplus
74400 extern "C"
74402 #endif
74403 /* We use char because int might match the return type of a gcc2
74404 builtin and then its argument prototype would still apply. */
74405 char $ac_func ();
74406 /* The GNU C library defines this for functions which it implements
74407 to always fail with ENOSYS. Some functions are actually named
74408 something starting with __ and the normal name is an alias. */
74409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74410 choke me
74411 #else
74412 char (*f) () = $ac_func;
74413 #endif
74414 #ifdef __cplusplus
74416 #endif
74419 main ()
74421 return f != $ac_func;
74423 return 0;
74425 _ACEOF
74426 rm -f conftest.$ac_objext conftest$ac_exeext
74427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74428 (eval $ac_link) 2>conftest.er1
74429 ac_status=$?
74430 grep -v '^ *+' conftest.er1 >conftest.err
74431 rm -f conftest.er1
74432 cat conftest.err >&5
74433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74434 (exit $ac_status); } &&
74435 { ac_try='test -z "$ac_c_werror_flag"
74436 || test ! -s conftest.err'
74437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74438 (eval $ac_try) 2>&5
74439 ac_status=$?
74440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74441 (exit $ac_status); }; } &&
74442 { ac_try='test -s conftest$ac_exeext'
74443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74444 (eval $ac_try) 2>&5
74445 ac_status=$?
74446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74447 (exit $ac_status); }; }; then
74448 eval "$as_ac_var=yes"
74449 else
74450 echo "$as_me: failed program was:" >&5
74451 sed 's/^/| /' conftest.$ac_ext >&5
74453 eval "$as_ac_var=no"
74455 rm -f conftest.err conftest.$ac_objext \
74456 conftest$ac_exeext conftest.$ac_ext
74458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74460 if test `eval echo '${'$as_ac_var'}'` = yes; then
74461 cat >>confdefs.h <<_ACEOF
74462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74463 _ACEOF
74466 done
74484 echo "$as_me:$LINENO: checking for long double round functions" >&5
74485 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
74486 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
74487 echo $ECHO_N "(cached) $ECHO_C" >&6
74488 else
74492 ac_ext=cc
74493 ac_cpp='$CXXCPP $CPPFLAGS'
74494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74498 cat >conftest.$ac_ext <<_ACEOF
74499 /* confdefs.h. */
74500 _ACEOF
74501 cat confdefs.h >>conftest.$ac_ext
74502 cat >>conftest.$ac_ext <<_ACEOF
74503 /* end confdefs.h. */
74504 #include <math.h>
74506 main ()
74508 ceill (0); floorl (0);
74510 return 0;
74512 _ACEOF
74513 rm -f conftest.$ac_objext
74514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74515 (eval $ac_compile) 2>conftest.er1
74516 ac_status=$?
74517 grep -v '^ *+' conftest.er1 >conftest.err
74518 rm -f conftest.er1
74519 cat conftest.err >&5
74520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74521 (exit $ac_status); } &&
74522 { ac_try='test -z "$ac_cxx_werror_flag"
74523 || test ! -s conftest.err'
74524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74525 (eval $ac_try) 2>&5
74526 ac_status=$?
74527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74528 (exit $ac_status); }; } &&
74529 { ac_try='test -s conftest.$ac_objext'
74530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74531 (eval $ac_try) 2>&5
74532 ac_status=$?
74533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74534 (exit $ac_status); }; }; then
74535 glibcxx_cv_func_long_double_round_use=yes
74536 else
74537 echo "$as_me: failed program was:" >&5
74538 sed 's/^/| /' conftest.$ac_ext >&5
74540 glibcxx_cv_func_long_double_round_use=no
74542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74543 ac_ext=c
74544 ac_cpp='$CPP $CPPFLAGS'
74545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74551 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
74552 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
74553 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74556 for ac_func in ceill floorl
74558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74559 echo "$as_me:$LINENO: checking for $ac_func" >&5
74560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74561 if eval "test \"\${$as_ac_var+set}\" = set"; then
74562 echo $ECHO_N "(cached) $ECHO_C" >&6
74563 else
74564 if test x$gcc_no_link = xyes; then
74565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74567 { (exit 1); exit 1; }; }
74569 cat >conftest.$ac_ext <<_ACEOF
74570 /* confdefs.h. */
74571 _ACEOF
74572 cat confdefs.h >>conftest.$ac_ext
74573 cat >>conftest.$ac_ext <<_ACEOF
74574 /* end confdefs.h. */
74575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74577 #define $ac_func innocuous_$ac_func
74579 /* System header to define __stub macros and hopefully few prototypes,
74580 which can conflict with char $ac_func (); below.
74581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74582 <limits.h> exists even on freestanding compilers. */
74584 #ifdef __STDC__
74585 # include <limits.h>
74586 #else
74587 # include <assert.h>
74588 #endif
74590 #undef $ac_func
74592 /* Override any gcc2 internal prototype to avoid an error. */
74593 #ifdef __cplusplus
74594 extern "C"
74596 #endif
74597 /* We use char because int might match the return type of a gcc2
74598 builtin and then its argument prototype would still apply. */
74599 char $ac_func ();
74600 /* The GNU C library defines this for functions which it implements
74601 to always fail with ENOSYS. Some functions are actually named
74602 something starting with __ and the normal name is an alias. */
74603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74604 choke me
74605 #else
74606 char (*f) () = $ac_func;
74607 #endif
74608 #ifdef __cplusplus
74610 #endif
74613 main ()
74615 return f != $ac_func;
74617 return 0;
74619 _ACEOF
74620 rm -f conftest.$ac_objext conftest$ac_exeext
74621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74622 (eval $ac_link) 2>conftest.er1
74623 ac_status=$?
74624 grep -v '^ *+' conftest.er1 >conftest.err
74625 rm -f conftest.er1
74626 cat conftest.err >&5
74627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74628 (exit $ac_status); } &&
74629 { ac_try='test -z "$ac_c_werror_flag"
74630 || test ! -s conftest.err'
74631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74632 (eval $ac_try) 2>&5
74633 ac_status=$?
74634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74635 (exit $ac_status); }; } &&
74636 { ac_try='test -s conftest$ac_exeext'
74637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74638 (eval $ac_try) 2>&5
74639 ac_status=$?
74640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74641 (exit $ac_status); }; }; then
74642 eval "$as_ac_var=yes"
74643 else
74644 echo "$as_me: failed program was:" >&5
74645 sed 's/^/| /' conftest.$ac_ext >&5
74647 eval "$as_ac_var=no"
74649 rm -f conftest.err conftest.$ac_objext \
74650 conftest$ac_exeext conftest.$ac_ext
74652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74654 if test `eval echo '${'$as_ac_var'}'` = yes; then
74655 cat >>confdefs.h <<_ACEOF
74656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74657 _ACEOF
74660 done
74662 else
74663 echo "$as_me:$LINENO: checking for _long double round functions" >&5
74664 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
74665 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
74666 echo $ECHO_N "(cached) $ECHO_C" >&6
74667 else
74671 ac_ext=cc
74672 ac_cpp='$CXXCPP $CPPFLAGS'
74673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74677 cat >conftest.$ac_ext <<_ACEOF
74678 /* confdefs.h. */
74679 _ACEOF
74680 cat confdefs.h >>conftest.$ac_ext
74681 cat >>conftest.$ac_ext <<_ACEOF
74682 /* end confdefs.h. */
74683 #include <math.h>
74685 main ()
74687 _ceill (0); _floorl (0);
74689 return 0;
74691 _ACEOF
74692 rm -f conftest.$ac_objext
74693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74694 (eval $ac_compile) 2>conftest.er1
74695 ac_status=$?
74696 grep -v '^ *+' conftest.er1 >conftest.err
74697 rm -f conftest.er1
74698 cat conftest.err >&5
74699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74700 (exit $ac_status); } &&
74701 { ac_try='test -z "$ac_cxx_werror_flag"
74702 || test ! -s conftest.err'
74703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74704 (eval $ac_try) 2>&5
74705 ac_status=$?
74706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74707 (exit $ac_status); }; } &&
74708 { ac_try='test -s conftest.$ac_objext'
74709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74710 (eval $ac_try) 2>&5
74711 ac_status=$?
74712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74713 (exit $ac_status); }; }; then
74714 glibcxx_cv_func__long_double_round_use=yes
74715 else
74716 echo "$as_me: failed program was:" >&5
74717 sed 's/^/| /' conftest.$ac_ext >&5
74719 glibcxx_cv_func__long_double_round_use=no
74721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74722 ac_ext=c
74723 ac_cpp='$CPP $CPPFLAGS'
74724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74730 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
74731 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
74732 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74735 for ac_func in _ceill _floorl
74737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74738 echo "$as_me:$LINENO: checking for $ac_func" >&5
74739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74740 if eval "test \"\${$as_ac_var+set}\" = set"; then
74741 echo $ECHO_N "(cached) $ECHO_C" >&6
74742 else
74743 if test x$gcc_no_link = xyes; then
74744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74746 { (exit 1); exit 1; }; }
74748 cat >conftest.$ac_ext <<_ACEOF
74749 /* confdefs.h. */
74750 _ACEOF
74751 cat confdefs.h >>conftest.$ac_ext
74752 cat >>conftest.$ac_ext <<_ACEOF
74753 /* end confdefs.h. */
74754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74756 #define $ac_func innocuous_$ac_func
74758 /* System header to define __stub macros and hopefully few prototypes,
74759 which can conflict with char $ac_func (); below.
74760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74761 <limits.h> exists even on freestanding compilers. */
74763 #ifdef __STDC__
74764 # include <limits.h>
74765 #else
74766 # include <assert.h>
74767 #endif
74769 #undef $ac_func
74771 /* Override any gcc2 internal prototype to avoid an error. */
74772 #ifdef __cplusplus
74773 extern "C"
74775 #endif
74776 /* We use char because int might match the return type of a gcc2
74777 builtin and then its argument prototype would still apply. */
74778 char $ac_func ();
74779 /* The GNU C library defines this for functions which it implements
74780 to always fail with ENOSYS. Some functions are actually named
74781 something starting with __ and the normal name is an alias. */
74782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74783 choke me
74784 #else
74785 char (*f) () = $ac_func;
74786 #endif
74787 #ifdef __cplusplus
74789 #endif
74792 main ()
74794 return f != $ac_func;
74796 return 0;
74798 _ACEOF
74799 rm -f conftest.$ac_objext conftest$ac_exeext
74800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74801 (eval $ac_link) 2>conftest.er1
74802 ac_status=$?
74803 grep -v '^ *+' conftest.er1 >conftest.err
74804 rm -f conftest.er1
74805 cat conftest.err >&5
74806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74807 (exit $ac_status); } &&
74808 { ac_try='test -z "$ac_c_werror_flag"
74809 || test ! -s conftest.err'
74810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74811 (eval $ac_try) 2>&5
74812 ac_status=$?
74813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74814 (exit $ac_status); }; } &&
74815 { ac_try='test -s conftest$ac_exeext'
74816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74817 (eval $ac_try) 2>&5
74818 ac_status=$?
74819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74820 (exit $ac_status); }; }; then
74821 eval "$as_ac_var=yes"
74822 else
74823 echo "$as_me: failed program was:" >&5
74824 sed 's/^/| /' conftest.$ac_ext >&5
74826 eval "$as_ac_var=no"
74828 rm -f conftest.err conftest.$ac_objext \
74829 conftest$ac_exeext conftest.$ac_ext
74831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74833 if test `eval echo '${'$as_ac_var'}'` = yes; then
74834 cat >>confdefs.h <<_ACEOF
74835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74836 _ACEOF
74839 done
74851 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
74852 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
74853 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74854 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
74855 echo $ECHO_N "(cached) $ECHO_C" >&6
74856 else
74860 ac_ext=cc
74861 ac_cpp='$CXXCPP $CPPFLAGS'
74862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74866 cat >conftest.$ac_ext <<_ACEOF
74867 /* confdefs.h. */
74868 _ACEOF
74869 cat confdefs.h >>conftest.$ac_ext
74870 cat >>conftest.$ac_ext <<_ACEOF
74871 /* end confdefs.h. */
74872 #include <math.h>
74873 #ifdef HAVE_IEEEFP_H
74874 #include <ieeefp.h>
74875 #endif
74878 main ()
74880 isnanl(0);
74882 return 0;
74884 _ACEOF
74885 rm -f conftest.$ac_objext
74886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74887 (eval $ac_compile) 2>conftest.er1
74888 ac_status=$?
74889 grep -v '^ *+' conftest.er1 >conftest.err
74890 rm -f conftest.er1
74891 cat conftest.err >&5
74892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74893 (exit $ac_status); } &&
74894 { ac_try='test -z "$ac_cxx_werror_flag"
74895 || test ! -s conftest.err'
74896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74897 (eval $ac_try) 2>&5
74898 ac_status=$?
74899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74900 (exit $ac_status); }; } &&
74901 { ac_try='test -s conftest.$ac_objext'
74902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74903 (eval $ac_try) 2>&5
74904 ac_status=$?
74905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74906 (exit $ac_status); }; }; then
74907 glibcxx_cv_func_isnanl_use=yes
74908 else
74909 echo "$as_me: failed program was:" >&5
74910 sed 's/^/| /' conftest.$ac_ext >&5
74912 glibcxx_cv_func_isnanl_use=no
74914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74915 ac_ext=c
74916 ac_cpp='$CPP $CPPFLAGS'
74917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74925 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
74926 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
74928 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74930 for ac_func in isnanl
74932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74933 echo "$as_me:$LINENO: checking for $ac_func" >&5
74934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74935 if eval "test \"\${$as_ac_var+set}\" = set"; then
74936 echo $ECHO_N "(cached) $ECHO_C" >&6
74937 else
74938 if test x$gcc_no_link = xyes; then
74939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74941 { (exit 1); exit 1; }; }
74943 cat >conftest.$ac_ext <<_ACEOF
74944 /* confdefs.h. */
74945 _ACEOF
74946 cat confdefs.h >>conftest.$ac_ext
74947 cat >>conftest.$ac_ext <<_ACEOF
74948 /* end confdefs.h. */
74949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74951 #define $ac_func innocuous_$ac_func
74953 /* System header to define __stub macros and hopefully few prototypes,
74954 which can conflict with char $ac_func (); below.
74955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74956 <limits.h> exists even on freestanding compilers. */
74958 #ifdef __STDC__
74959 # include <limits.h>
74960 #else
74961 # include <assert.h>
74962 #endif
74964 #undef $ac_func
74966 /* Override any gcc2 internal prototype to avoid an error. */
74967 #ifdef __cplusplus
74968 extern "C"
74970 #endif
74971 /* We use char because int might match the return type of a gcc2
74972 builtin and then its argument prototype would still apply. */
74973 char $ac_func ();
74974 /* The GNU C library defines this for functions which it implements
74975 to always fail with ENOSYS. Some functions are actually named
74976 something starting with __ and the normal name is an alias. */
74977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74978 choke me
74979 #else
74980 char (*f) () = $ac_func;
74981 #endif
74982 #ifdef __cplusplus
74984 #endif
74987 main ()
74989 return f != $ac_func;
74991 return 0;
74993 _ACEOF
74994 rm -f conftest.$ac_objext conftest$ac_exeext
74995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74996 (eval $ac_link) 2>conftest.er1
74997 ac_status=$?
74998 grep -v '^ *+' conftest.er1 >conftest.err
74999 rm -f conftest.er1
75000 cat conftest.err >&5
75001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75002 (exit $ac_status); } &&
75003 { ac_try='test -z "$ac_c_werror_flag"
75004 || test ! -s conftest.err'
75005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75006 (eval $ac_try) 2>&5
75007 ac_status=$?
75008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75009 (exit $ac_status); }; } &&
75010 { ac_try='test -s conftest$ac_exeext'
75011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75012 (eval $ac_try) 2>&5
75013 ac_status=$?
75014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75015 (exit $ac_status); }; }; then
75016 eval "$as_ac_var=yes"
75017 else
75018 echo "$as_me: failed program was:" >&5
75019 sed 's/^/| /' conftest.$ac_ext >&5
75021 eval "$as_ac_var=no"
75023 rm -f conftest.err conftest.$ac_objext \
75024 conftest$ac_exeext conftest.$ac_ext
75026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75028 if test `eval echo '${'$as_ac_var'}'` = yes; then
75029 cat >>confdefs.h <<_ACEOF
75030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75031 _ACEOF
75034 done
75036 else
75038 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
75039 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
75040 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75041 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
75042 echo $ECHO_N "(cached) $ECHO_C" >&6
75043 else
75047 ac_ext=cc
75048 ac_cpp='$CXXCPP $CPPFLAGS'
75049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75053 cat >conftest.$ac_ext <<_ACEOF
75054 /* confdefs.h. */
75055 _ACEOF
75056 cat confdefs.h >>conftest.$ac_ext
75057 cat >>conftest.$ac_ext <<_ACEOF
75058 /* end confdefs.h. */
75059 #include <math.h>
75060 #ifdef HAVE_IEEEFP_H
75061 #include <ieeefp.h>
75062 #endif
75065 main ()
75067 _isnanl(0);
75069 return 0;
75071 _ACEOF
75072 rm -f conftest.$ac_objext
75073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75074 (eval $ac_compile) 2>conftest.er1
75075 ac_status=$?
75076 grep -v '^ *+' conftest.er1 >conftest.err
75077 rm -f conftest.er1
75078 cat conftest.err >&5
75079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75080 (exit $ac_status); } &&
75081 { ac_try='test -z "$ac_cxx_werror_flag"
75082 || test ! -s conftest.err'
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); }; } &&
75088 { ac_try='test -s conftest.$ac_objext'
75089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75090 (eval $ac_try) 2>&5
75091 ac_status=$?
75092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75093 (exit $ac_status); }; }; then
75094 glibcxx_cv_func__isnanl_use=yes
75095 else
75096 echo "$as_me: failed program was:" >&5
75097 sed 's/^/| /' conftest.$ac_ext >&5
75099 glibcxx_cv_func__isnanl_use=no
75101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75102 ac_ext=c
75103 ac_cpp='$CPP $CPPFLAGS'
75104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75112 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
75113 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
75115 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75117 for ac_func in _isnanl
75119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75120 echo "$as_me:$LINENO: checking for $ac_func" >&5
75121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75122 if eval "test \"\${$as_ac_var+set}\" = set"; then
75123 echo $ECHO_N "(cached) $ECHO_C" >&6
75124 else
75125 if test x$gcc_no_link = xyes; then
75126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75128 { (exit 1); exit 1; }; }
75130 cat >conftest.$ac_ext <<_ACEOF
75131 /* confdefs.h. */
75132 _ACEOF
75133 cat confdefs.h >>conftest.$ac_ext
75134 cat >>conftest.$ac_ext <<_ACEOF
75135 /* end confdefs.h. */
75136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75138 #define $ac_func innocuous_$ac_func
75140 /* System header to define __stub macros and hopefully few prototypes,
75141 which can conflict with char $ac_func (); below.
75142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75143 <limits.h> exists even on freestanding compilers. */
75145 #ifdef __STDC__
75146 # include <limits.h>
75147 #else
75148 # include <assert.h>
75149 #endif
75151 #undef $ac_func
75153 /* Override any gcc2 internal prototype to avoid an error. */
75154 #ifdef __cplusplus
75155 extern "C"
75157 #endif
75158 /* We use char because int might match the return type of a gcc2
75159 builtin and then its argument prototype would still apply. */
75160 char $ac_func ();
75161 /* The GNU C library defines this for functions which it implements
75162 to always fail with ENOSYS. Some functions are actually named
75163 something starting with __ and the normal name is an alias. */
75164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75165 choke me
75166 #else
75167 char (*f) () = $ac_func;
75168 #endif
75169 #ifdef __cplusplus
75171 #endif
75174 main ()
75176 return f != $ac_func;
75178 return 0;
75180 _ACEOF
75181 rm -f conftest.$ac_objext conftest$ac_exeext
75182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75183 (eval $ac_link) 2>conftest.er1
75184 ac_status=$?
75185 grep -v '^ *+' conftest.er1 >conftest.err
75186 rm -f conftest.er1
75187 cat conftest.err >&5
75188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75189 (exit $ac_status); } &&
75190 { ac_try='test -z "$ac_c_werror_flag"
75191 || test ! -s conftest.err'
75192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75193 (eval $ac_try) 2>&5
75194 ac_status=$?
75195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75196 (exit $ac_status); }; } &&
75197 { ac_try='test -s conftest$ac_exeext'
75198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75199 (eval $ac_try) 2>&5
75200 ac_status=$?
75201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75202 (exit $ac_status); }; }; then
75203 eval "$as_ac_var=yes"
75204 else
75205 echo "$as_me: failed program was:" >&5
75206 sed 's/^/| /' conftest.$ac_ext >&5
75208 eval "$as_ac_var=no"
75210 rm -f conftest.err conftest.$ac_objext \
75211 conftest$ac_exeext conftest.$ac_ext
75213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75215 if test `eval echo '${'$as_ac_var'}'` = yes; then
75216 cat >>confdefs.h <<_ACEOF
75217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75218 _ACEOF
75221 done
75231 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
75232 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
75233 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75234 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
75235 echo $ECHO_N "(cached) $ECHO_C" >&6
75236 else
75240 ac_ext=cc
75241 ac_cpp='$CXXCPP $CPPFLAGS'
75242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75246 cat >conftest.$ac_ext <<_ACEOF
75247 /* confdefs.h. */
75248 _ACEOF
75249 cat confdefs.h >>conftest.$ac_ext
75250 cat >>conftest.$ac_ext <<_ACEOF
75251 /* end confdefs.h. */
75252 #include <math.h>
75253 #ifdef HAVE_IEEEFP_H
75254 #include <ieeefp.h>
75255 #endif
75258 main ()
75260 isinfl(0);
75262 return 0;
75264 _ACEOF
75265 rm -f conftest.$ac_objext
75266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75267 (eval $ac_compile) 2>conftest.er1
75268 ac_status=$?
75269 grep -v '^ *+' conftest.er1 >conftest.err
75270 rm -f conftest.er1
75271 cat conftest.err >&5
75272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75273 (exit $ac_status); } &&
75274 { ac_try='test -z "$ac_cxx_werror_flag"
75275 || test ! -s conftest.err'
75276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75277 (eval $ac_try) 2>&5
75278 ac_status=$?
75279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75280 (exit $ac_status); }; } &&
75281 { ac_try='test -s conftest.$ac_objext'
75282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75283 (eval $ac_try) 2>&5
75284 ac_status=$?
75285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75286 (exit $ac_status); }; }; then
75287 glibcxx_cv_func_isinfl_use=yes
75288 else
75289 echo "$as_me: failed program was:" >&5
75290 sed 's/^/| /' conftest.$ac_ext >&5
75292 glibcxx_cv_func_isinfl_use=no
75294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75295 ac_ext=c
75296 ac_cpp='$CPP $CPPFLAGS'
75297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75305 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
75306 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
75308 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75310 for ac_func in isinfl
75312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75313 echo "$as_me:$LINENO: checking for $ac_func" >&5
75314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75315 if eval "test \"\${$as_ac_var+set}\" = set"; then
75316 echo $ECHO_N "(cached) $ECHO_C" >&6
75317 else
75318 if test x$gcc_no_link = xyes; then
75319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75321 { (exit 1); exit 1; }; }
75323 cat >conftest.$ac_ext <<_ACEOF
75324 /* confdefs.h. */
75325 _ACEOF
75326 cat confdefs.h >>conftest.$ac_ext
75327 cat >>conftest.$ac_ext <<_ACEOF
75328 /* end confdefs.h. */
75329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75331 #define $ac_func innocuous_$ac_func
75333 /* System header to define __stub macros and hopefully few prototypes,
75334 which can conflict with char $ac_func (); below.
75335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75336 <limits.h> exists even on freestanding compilers. */
75338 #ifdef __STDC__
75339 # include <limits.h>
75340 #else
75341 # include <assert.h>
75342 #endif
75344 #undef $ac_func
75346 /* Override any gcc2 internal prototype to avoid an error. */
75347 #ifdef __cplusplus
75348 extern "C"
75350 #endif
75351 /* We use char because int might match the return type of a gcc2
75352 builtin and then its argument prototype would still apply. */
75353 char $ac_func ();
75354 /* The GNU C library defines this for functions which it implements
75355 to always fail with ENOSYS. Some functions are actually named
75356 something starting with __ and the normal name is an alias. */
75357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75358 choke me
75359 #else
75360 char (*f) () = $ac_func;
75361 #endif
75362 #ifdef __cplusplus
75364 #endif
75367 main ()
75369 return f != $ac_func;
75371 return 0;
75373 _ACEOF
75374 rm -f conftest.$ac_objext conftest$ac_exeext
75375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75376 (eval $ac_link) 2>conftest.er1
75377 ac_status=$?
75378 grep -v '^ *+' conftest.er1 >conftest.err
75379 rm -f conftest.er1
75380 cat conftest.err >&5
75381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75382 (exit $ac_status); } &&
75383 { ac_try='test -z "$ac_c_werror_flag"
75384 || test ! -s conftest.err'
75385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75386 (eval $ac_try) 2>&5
75387 ac_status=$?
75388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75389 (exit $ac_status); }; } &&
75390 { ac_try='test -s conftest$ac_exeext'
75391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75392 (eval $ac_try) 2>&5
75393 ac_status=$?
75394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75395 (exit $ac_status); }; }; then
75396 eval "$as_ac_var=yes"
75397 else
75398 echo "$as_me: failed program was:" >&5
75399 sed 's/^/| /' conftest.$ac_ext >&5
75401 eval "$as_ac_var=no"
75403 rm -f conftest.err conftest.$ac_objext \
75404 conftest$ac_exeext conftest.$ac_ext
75406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75408 if test `eval echo '${'$as_ac_var'}'` = yes; then
75409 cat >>confdefs.h <<_ACEOF
75410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75411 _ACEOF
75414 done
75416 else
75418 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
75419 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
75420 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75421 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
75422 echo $ECHO_N "(cached) $ECHO_C" >&6
75423 else
75427 ac_ext=cc
75428 ac_cpp='$CXXCPP $CPPFLAGS'
75429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75433 cat >conftest.$ac_ext <<_ACEOF
75434 /* confdefs.h. */
75435 _ACEOF
75436 cat confdefs.h >>conftest.$ac_ext
75437 cat >>conftest.$ac_ext <<_ACEOF
75438 /* end confdefs.h. */
75439 #include <math.h>
75440 #ifdef HAVE_IEEEFP_H
75441 #include <ieeefp.h>
75442 #endif
75445 main ()
75447 _isinfl(0);
75449 return 0;
75451 _ACEOF
75452 rm -f conftest.$ac_objext
75453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75454 (eval $ac_compile) 2>conftest.er1
75455 ac_status=$?
75456 grep -v '^ *+' conftest.er1 >conftest.err
75457 rm -f conftest.er1
75458 cat conftest.err >&5
75459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75460 (exit $ac_status); } &&
75461 { ac_try='test -z "$ac_cxx_werror_flag"
75462 || test ! -s conftest.err'
75463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75464 (eval $ac_try) 2>&5
75465 ac_status=$?
75466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75467 (exit $ac_status); }; } &&
75468 { ac_try='test -s conftest.$ac_objext'
75469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75470 (eval $ac_try) 2>&5
75471 ac_status=$?
75472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75473 (exit $ac_status); }; }; then
75474 glibcxx_cv_func__isinfl_use=yes
75475 else
75476 echo "$as_me: failed program was:" >&5
75477 sed 's/^/| /' conftest.$ac_ext >&5
75479 glibcxx_cv_func__isinfl_use=no
75481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75482 ac_ext=c
75483 ac_cpp='$CPP $CPPFLAGS'
75484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75492 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
75493 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
75495 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75497 for ac_func in _isinfl
75499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75500 echo "$as_me:$LINENO: checking for $ac_func" >&5
75501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75502 if eval "test \"\${$as_ac_var+set}\" = set"; then
75503 echo $ECHO_N "(cached) $ECHO_C" >&6
75504 else
75505 if test x$gcc_no_link = xyes; then
75506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75508 { (exit 1); exit 1; }; }
75510 cat >conftest.$ac_ext <<_ACEOF
75511 /* confdefs.h. */
75512 _ACEOF
75513 cat confdefs.h >>conftest.$ac_ext
75514 cat >>conftest.$ac_ext <<_ACEOF
75515 /* end confdefs.h. */
75516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75518 #define $ac_func innocuous_$ac_func
75520 /* System header to define __stub macros and hopefully few prototypes,
75521 which can conflict with char $ac_func (); below.
75522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75523 <limits.h> exists even on freestanding compilers. */
75525 #ifdef __STDC__
75526 # include <limits.h>
75527 #else
75528 # include <assert.h>
75529 #endif
75531 #undef $ac_func
75533 /* Override any gcc2 internal prototype to avoid an error. */
75534 #ifdef __cplusplus
75535 extern "C"
75537 #endif
75538 /* We use char because int might match the return type of a gcc2
75539 builtin and then its argument prototype would still apply. */
75540 char $ac_func ();
75541 /* The GNU C library defines this for functions which it implements
75542 to always fail with ENOSYS. Some functions are actually named
75543 something starting with __ and the normal name is an alias. */
75544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75545 choke me
75546 #else
75547 char (*f) () = $ac_func;
75548 #endif
75549 #ifdef __cplusplus
75551 #endif
75554 main ()
75556 return f != $ac_func;
75558 return 0;
75560 _ACEOF
75561 rm -f conftest.$ac_objext conftest$ac_exeext
75562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75563 (eval $ac_link) 2>conftest.er1
75564 ac_status=$?
75565 grep -v '^ *+' conftest.er1 >conftest.err
75566 rm -f conftest.er1
75567 cat conftest.err >&5
75568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75569 (exit $ac_status); } &&
75570 { ac_try='test -z "$ac_c_werror_flag"
75571 || test ! -s conftest.err'
75572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75573 (eval $ac_try) 2>&5
75574 ac_status=$?
75575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75576 (exit $ac_status); }; } &&
75577 { ac_try='test -s conftest$ac_exeext'
75578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75579 (eval $ac_try) 2>&5
75580 ac_status=$?
75581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75582 (exit $ac_status); }; }; then
75583 eval "$as_ac_var=yes"
75584 else
75585 echo "$as_me: failed program was:" >&5
75586 sed 's/^/| /' conftest.$ac_ext >&5
75588 eval "$as_ac_var=no"
75590 rm -f conftest.err conftest.$ac_objext \
75591 conftest$ac_exeext conftest.$ac_ext
75593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75595 if test `eval echo '${'$as_ac_var'}'` = yes; then
75596 cat >>confdefs.h <<_ACEOF
75597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75598 _ACEOF
75601 done
75611 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
75612 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
75613 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
75614 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
75615 echo $ECHO_N "(cached) $ECHO_C" >&6
75616 else
75620 ac_ext=cc
75621 ac_cpp='$CXXCPP $CPPFLAGS'
75622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75626 cat >conftest.$ac_ext <<_ACEOF
75627 /* confdefs.h. */
75628 _ACEOF
75629 cat confdefs.h >>conftest.$ac_ext
75630 cat >>conftest.$ac_ext <<_ACEOF
75631 /* end confdefs.h. */
75632 #include <math.h>
75634 main ()
75636 copysignl(0, 0);
75638 return 0;
75640 _ACEOF
75641 rm -f conftest.$ac_objext
75642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75643 (eval $ac_compile) 2>conftest.er1
75644 ac_status=$?
75645 grep -v '^ *+' conftest.er1 >conftest.err
75646 rm -f conftest.er1
75647 cat conftest.err >&5
75648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75649 (exit $ac_status); } &&
75650 { ac_try='test -z "$ac_cxx_werror_flag"
75651 || test ! -s conftest.err'
75652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75653 (eval $ac_try) 2>&5
75654 ac_status=$?
75655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75656 (exit $ac_status); }; } &&
75657 { ac_try='test -s conftest.$ac_objext'
75658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75659 (eval $ac_try) 2>&5
75660 ac_status=$?
75661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75662 (exit $ac_status); }; }; then
75663 glibcxx_cv_func_copysignl_use=yes
75664 else
75665 echo "$as_me: failed program was:" >&5
75666 sed 's/^/| /' conftest.$ac_ext >&5
75668 glibcxx_cv_func_copysignl_use=no
75670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75671 ac_ext=c
75672 ac_cpp='$CPP $CPPFLAGS'
75673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75681 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
75682 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
75684 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
75686 for ac_func in copysignl
75688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75689 echo "$as_me:$LINENO: checking for $ac_func" >&5
75690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75691 if eval "test \"\${$as_ac_var+set}\" = set"; then
75692 echo $ECHO_N "(cached) $ECHO_C" >&6
75693 else
75694 if test x$gcc_no_link = xyes; then
75695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75697 { (exit 1); exit 1; }; }
75699 cat >conftest.$ac_ext <<_ACEOF
75700 /* confdefs.h. */
75701 _ACEOF
75702 cat confdefs.h >>conftest.$ac_ext
75703 cat >>conftest.$ac_ext <<_ACEOF
75704 /* end confdefs.h. */
75705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75707 #define $ac_func innocuous_$ac_func
75709 /* System header to define __stub macros and hopefully few prototypes,
75710 which can conflict with char $ac_func (); below.
75711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75712 <limits.h> exists even on freestanding compilers. */
75714 #ifdef __STDC__
75715 # include <limits.h>
75716 #else
75717 # include <assert.h>
75718 #endif
75720 #undef $ac_func
75722 /* Override any gcc2 internal prototype to avoid an error. */
75723 #ifdef __cplusplus
75724 extern "C"
75726 #endif
75727 /* We use char because int might match the return type of a gcc2
75728 builtin and then its argument prototype would still apply. */
75729 char $ac_func ();
75730 /* The GNU C library defines this for functions which it implements
75731 to always fail with ENOSYS. Some functions are actually named
75732 something starting with __ and the normal name is an alias. */
75733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75734 choke me
75735 #else
75736 char (*f) () = $ac_func;
75737 #endif
75738 #ifdef __cplusplus
75740 #endif
75743 main ()
75745 return f != $ac_func;
75747 return 0;
75749 _ACEOF
75750 rm -f conftest.$ac_objext conftest$ac_exeext
75751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75752 (eval $ac_link) 2>conftest.er1
75753 ac_status=$?
75754 grep -v '^ *+' conftest.er1 >conftest.err
75755 rm -f conftest.er1
75756 cat conftest.err >&5
75757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75758 (exit $ac_status); } &&
75759 { ac_try='test -z "$ac_c_werror_flag"
75760 || test ! -s conftest.err'
75761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75762 (eval $ac_try) 2>&5
75763 ac_status=$?
75764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75765 (exit $ac_status); }; } &&
75766 { ac_try='test -s conftest$ac_exeext'
75767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75768 (eval $ac_try) 2>&5
75769 ac_status=$?
75770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75771 (exit $ac_status); }; }; then
75772 eval "$as_ac_var=yes"
75773 else
75774 echo "$as_me: failed program was:" >&5
75775 sed 's/^/| /' conftest.$ac_ext >&5
75777 eval "$as_ac_var=no"
75779 rm -f conftest.err conftest.$ac_objext \
75780 conftest$ac_exeext conftest.$ac_ext
75782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75784 if test `eval echo '${'$as_ac_var'}'` = yes; then
75785 cat >>confdefs.h <<_ACEOF
75786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75787 _ACEOF
75790 done
75792 else
75794 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
75795 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
75796 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
75797 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
75798 echo $ECHO_N "(cached) $ECHO_C" >&6
75799 else
75803 ac_ext=cc
75804 ac_cpp='$CXXCPP $CPPFLAGS'
75805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75809 cat >conftest.$ac_ext <<_ACEOF
75810 /* confdefs.h. */
75811 _ACEOF
75812 cat confdefs.h >>conftest.$ac_ext
75813 cat >>conftest.$ac_ext <<_ACEOF
75814 /* end confdefs.h. */
75815 #include <math.h>
75817 main ()
75819 _copysignl(0, 0);
75821 return 0;
75823 _ACEOF
75824 rm -f conftest.$ac_objext
75825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75826 (eval $ac_compile) 2>conftest.er1
75827 ac_status=$?
75828 grep -v '^ *+' conftest.er1 >conftest.err
75829 rm -f conftest.er1
75830 cat conftest.err >&5
75831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75832 (exit $ac_status); } &&
75833 { ac_try='test -z "$ac_cxx_werror_flag"
75834 || test ! -s conftest.err'
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); }; } &&
75840 { ac_try='test -s conftest.$ac_objext'
75841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75842 (eval $ac_try) 2>&5
75843 ac_status=$?
75844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75845 (exit $ac_status); }; }; then
75846 glibcxx_cv_func__copysignl_use=yes
75847 else
75848 echo "$as_me: failed program was:" >&5
75849 sed 's/^/| /' conftest.$ac_ext >&5
75851 glibcxx_cv_func__copysignl_use=no
75853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75854 ac_ext=c
75855 ac_cpp='$CPP $CPPFLAGS'
75856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75864 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
75865 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
75867 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
75869 for ac_func in _copysignl
75871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75872 echo "$as_me:$LINENO: checking for $ac_func" >&5
75873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75874 if eval "test \"\${$as_ac_var+set}\" = set"; then
75875 echo $ECHO_N "(cached) $ECHO_C" >&6
75876 else
75877 if test x$gcc_no_link = xyes; then
75878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75880 { (exit 1); exit 1; }; }
75882 cat >conftest.$ac_ext <<_ACEOF
75883 /* confdefs.h. */
75884 _ACEOF
75885 cat confdefs.h >>conftest.$ac_ext
75886 cat >>conftest.$ac_ext <<_ACEOF
75887 /* end confdefs.h. */
75888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75890 #define $ac_func innocuous_$ac_func
75892 /* System header to define __stub macros and hopefully few prototypes,
75893 which can conflict with char $ac_func (); below.
75894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75895 <limits.h> exists even on freestanding compilers. */
75897 #ifdef __STDC__
75898 # include <limits.h>
75899 #else
75900 # include <assert.h>
75901 #endif
75903 #undef $ac_func
75905 /* Override any gcc2 internal prototype to avoid an error. */
75906 #ifdef __cplusplus
75907 extern "C"
75909 #endif
75910 /* We use char because int might match the return type of a gcc2
75911 builtin and then its argument prototype would still apply. */
75912 char $ac_func ();
75913 /* The GNU C library defines this for functions which it implements
75914 to always fail with ENOSYS. Some functions are actually named
75915 something starting with __ and the normal name is an alias. */
75916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75917 choke me
75918 #else
75919 char (*f) () = $ac_func;
75920 #endif
75921 #ifdef __cplusplus
75923 #endif
75926 main ()
75928 return f != $ac_func;
75930 return 0;
75932 _ACEOF
75933 rm -f conftest.$ac_objext conftest$ac_exeext
75934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75935 (eval $ac_link) 2>conftest.er1
75936 ac_status=$?
75937 grep -v '^ *+' conftest.er1 >conftest.err
75938 rm -f conftest.er1
75939 cat conftest.err >&5
75940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75941 (exit $ac_status); } &&
75942 { ac_try='test -z "$ac_c_werror_flag"
75943 || test ! -s conftest.err'
75944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75945 (eval $ac_try) 2>&5
75946 ac_status=$?
75947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75948 (exit $ac_status); }; } &&
75949 { ac_try='test -s conftest$ac_exeext'
75950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75951 (eval $ac_try) 2>&5
75952 ac_status=$?
75953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75954 (exit $ac_status); }; }; then
75955 eval "$as_ac_var=yes"
75956 else
75957 echo "$as_me: failed program was:" >&5
75958 sed 's/^/| /' conftest.$ac_ext >&5
75960 eval "$as_ac_var=no"
75962 rm -f conftest.err conftest.$ac_objext \
75963 conftest$ac_exeext conftest.$ac_ext
75965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75967 if test `eval echo '${'$as_ac_var'}'` = yes; then
75968 cat >>confdefs.h <<_ACEOF
75969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75970 _ACEOF
75973 done
75983 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
75984 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
75985 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75986 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
75987 echo $ECHO_N "(cached) $ECHO_C" >&6
75988 else
75992 ac_ext=cc
75993 ac_cpp='$CXXCPP $CPPFLAGS'
75994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75998 cat >conftest.$ac_ext <<_ACEOF
75999 /* confdefs.h. */
76000 _ACEOF
76001 cat confdefs.h >>conftest.$ac_ext
76002 cat >>conftest.$ac_ext <<_ACEOF
76003 /* end confdefs.h. */
76004 #include <math.h>
76006 main ()
76008 atan2l(0, 0);
76010 return 0;
76012 _ACEOF
76013 rm -f conftest.$ac_objext
76014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76015 (eval $ac_compile) 2>conftest.er1
76016 ac_status=$?
76017 grep -v '^ *+' conftest.er1 >conftest.err
76018 rm -f conftest.er1
76019 cat conftest.err >&5
76020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76021 (exit $ac_status); } &&
76022 { ac_try='test -z "$ac_cxx_werror_flag"
76023 || test ! -s conftest.err'
76024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76025 (eval $ac_try) 2>&5
76026 ac_status=$?
76027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76028 (exit $ac_status); }; } &&
76029 { ac_try='test -s conftest.$ac_objext'
76030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76031 (eval $ac_try) 2>&5
76032 ac_status=$?
76033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76034 (exit $ac_status); }; }; then
76035 glibcxx_cv_func_atan2l_use=yes
76036 else
76037 echo "$as_me: failed program was:" >&5
76038 sed 's/^/| /' conftest.$ac_ext >&5
76040 glibcxx_cv_func_atan2l_use=no
76042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76043 ac_ext=c
76044 ac_cpp='$CPP $CPPFLAGS'
76045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76053 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
76054 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
76056 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76058 for ac_func in atan2l
76060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76061 echo "$as_me:$LINENO: checking for $ac_func" >&5
76062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76063 if eval "test \"\${$as_ac_var+set}\" = set"; then
76064 echo $ECHO_N "(cached) $ECHO_C" >&6
76065 else
76066 if test x$gcc_no_link = xyes; then
76067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76069 { (exit 1); exit 1; }; }
76071 cat >conftest.$ac_ext <<_ACEOF
76072 /* confdefs.h. */
76073 _ACEOF
76074 cat confdefs.h >>conftest.$ac_ext
76075 cat >>conftest.$ac_ext <<_ACEOF
76076 /* end confdefs.h. */
76077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76079 #define $ac_func innocuous_$ac_func
76081 /* System header to define __stub macros and hopefully few prototypes,
76082 which can conflict with char $ac_func (); below.
76083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76084 <limits.h> exists even on freestanding compilers. */
76086 #ifdef __STDC__
76087 # include <limits.h>
76088 #else
76089 # include <assert.h>
76090 #endif
76092 #undef $ac_func
76094 /* Override any gcc2 internal prototype to avoid an error. */
76095 #ifdef __cplusplus
76096 extern "C"
76098 #endif
76099 /* We use char because int might match the return type of a gcc2
76100 builtin and then its argument prototype would still apply. */
76101 char $ac_func ();
76102 /* The GNU C library defines this for functions which it implements
76103 to always fail with ENOSYS. Some functions are actually named
76104 something starting with __ and the normal name is an alias. */
76105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76106 choke me
76107 #else
76108 char (*f) () = $ac_func;
76109 #endif
76110 #ifdef __cplusplus
76112 #endif
76115 main ()
76117 return f != $ac_func;
76119 return 0;
76121 _ACEOF
76122 rm -f conftest.$ac_objext conftest$ac_exeext
76123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76124 (eval $ac_link) 2>conftest.er1
76125 ac_status=$?
76126 grep -v '^ *+' conftest.er1 >conftest.err
76127 rm -f conftest.er1
76128 cat conftest.err >&5
76129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76130 (exit $ac_status); } &&
76131 { ac_try='test -z "$ac_c_werror_flag"
76132 || test ! -s conftest.err'
76133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76134 (eval $ac_try) 2>&5
76135 ac_status=$?
76136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76137 (exit $ac_status); }; } &&
76138 { ac_try='test -s conftest$ac_exeext'
76139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76140 (eval $ac_try) 2>&5
76141 ac_status=$?
76142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76143 (exit $ac_status); }; }; then
76144 eval "$as_ac_var=yes"
76145 else
76146 echo "$as_me: failed program was:" >&5
76147 sed 's/^/| /' conftest.$ac_ext >&5
76149 eval "$as_ac_var=no"
76151 rm -f conftest.err conftest.$ac_objext \
76152 conftest$ac_exeext conftest.$ac_ext
76154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76156 if test `eval echo '${'$as_ac_var'}'` = yes; then
76157 cat >>confdefs.h <<_ACEOF
76158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76159 _ACEOF
76162 done
76164 else
76166 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
76167 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
76168 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76169 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
76170 echo $ECHO_N "(cached) $ECHO_C" >&6
76171 else
76175 ac_ext=cc
76176 ac_cpp='$CXXCPP $CPPFLAGS'
76177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76181 cat >conftest.$ac_ext <<_ACEOF
76182 /* confdefs.h. */
76183 _ACEOF
76184 cat confdefs.h >>conftest.$ac_ext
76185 cat >>conftest.$ac_ext <<_ACEOF
76186 /* end confdefs.h. */
76187 #include <math.h>
76189 main ()
76191 _atan2l(0, 0);
76193 return 0;
76195 _ACEOF
76196 rm -f conftest.$ac_objext
76197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76198 (eval $ac_compile) 2>conftest.er1
76199 ac_status=$?
76200 grep -v '^ *+' conftest.er1 >conftest.err
76201 rm -f conftest.er1
76202 cat conftest.err >&5
76203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76204 (exit $ac_status); } &&
76205 { ac_try='test -z "$ac_cxx_werror_flag"
76206 || test ! -s conftest.err'
76207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76208 (eval $ac_try) 2>&5
76209 ac_status=$?
76210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76211 (exit $ac_status); }; } &&
76212 { ac_try='test -s conftest.$ac_objext'
76213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76214 (eval $ac_try) 2>&5
76215 ac_status=$?
76216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76217 (exit $ac_status); }; }; then
76218 glibcxx_cv_func__atan2l_use=yes
76219 else
76220 echo "$as_me: failed program was:" >&5
76221 sed 's/^/| /' conftest.$ac_ext >&5
76223 glibcxx_cv_func__atan2l_use=no
76225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76226 ac_ext=c
76227 ac_cpp='$CPP $CPPFLAGS'
76228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76236 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
76237 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
76239 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76241 for ac_func in _atan2l
76243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76244 echo "$as_me:$LINENO: checking for $ac_func" >&5
76245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76246 if eval "test \"\${$as_ac_var+set}\" = set"; then
76247 echo $ECHO_N "(cached) $ECHO_C" >&6
76248 else
76249 if test x$gcc_no_link = xyes; then
76250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76252 { (exit 1); exit 1; }; }
76254 cat >conftest.$ac_ext <<_ACEOF
76255 /* confdefs.h. */
76256 _ACEOF
76257 cat confdefs.h >>conftest.$ac_ext
76258 cat >>conftest.$ac_ext <<_ACEOF
76259 /* end confdefs.h. */
76260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76262 #define $ac_func innocuous_$ac_func
76264 /* System header to define __stub macros and hopefully few prototypes,
76265 which can conflict with char $ac_func (); below.
76266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76267 <limits.h> exists even on freestanding compilers. */
76269 #ifdef __STDC__
76270 # include <limits.h>
76271 #else
76272 # include <assert.h>
76273 #endif
76275 #undef $ac_func
76277 /* Override any gcc2 internal prototype to avoid an error. */
76278 #ifdef __cplusplus
76279 extern "C"
76281 #endif
76282 /* We use char because int might match the return type of a gcc2
76283 builtin and then its argument prototype would still apply. */
76284 char $ac_func ();
76285 /* The GNU C library defines this for functions which it implements
76286 to always fail with ENOSYS. Some functions are actually named
76287 something starting with __ and the normal name is an alias. */
76288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76289 choke me
76290 #else
76291 char (*f) () = $ac_func;
76292 #endif
76293 #ifdef __cplusplus
76295 #endif
76298 main ()
76300 return f != $ac_func;
76302 return 0;
76304 _ACEOF
76305 rm -f conftest.$ac_objext conftest$ac_exeext
76306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76307 (eval $ac_link) 2>conftest.er1
76308 ac_status=$?
76309 grep -v '^ *+' conftest.er1 >conftest.err
76310 rm -f conftest.er1
76311 cat conftest.err >&5
76312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76313 (exit $ac_status); } &&
76314 { ac_try='test -z "$ac_c_werror_flag"
76315 || test ! -s conftest.err'
76316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76317 (eval $ac_try) 2>&5
76318 ac_status=$?
76319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76320 (exit $ac_status); }; } &&
76321 { ac_try='test -s conftest$ac_exeext'
76322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76323 (eval $ac_try) 2>&5
76324 ac_status=$?
76325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76326 (exit $ac_status); }; }; then
76327 eval "$as_ac_var=yes"
76328 else
76329 echo "$as_me: failed program was:" >&5
76330 sed 's/^/| /' conftest.$ac_ext >&5
76332 eval "$as_ac_var=no"
76334 rm -f conftest.err conftest.$ac_objext \
76335 conftest$ac_exeext conftest.$ac_ext
76337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76339 if test `eval echo '${'$as_ac_var'}'` = yes; then
76340 cat >>confdefs.h <<_ACEOF
76341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76342 _ACEOF
76345 done
76355 echo "$as_me:$LINENO: checking for expl declaration" >&5
76356 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
76357 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76358 if test "${glibcxx_cv_func_expl_use+set}" = set; then
76359 echo $ECHO_N "(cached) $ECHO_C" >&6
76360 else
76364 ac_ext=cc
76365 ac_cpp='$CXXCPP $CPPFLAGS'
76366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76370 cat >conftest.$ac_ext <<_ACEOF
76371 /* confdefs.h. */
76372 _ACEOF
76373 cat confdefs.h >>conftest.$ac_ext
76374 cat >>conftest.$ac_ext <<_ACEOF
76375 /* end confdefs.h. */
76376 #include <math.h>
76377 #ifdef HAVE_IEEEFP_H
76378 #include <ieeefp.h>
76379 #endif
76382 main ()
76384 expl(0);
76386 return 0;
76388 _ACEOF
76389 rm -f conftest.$ac_objext
76390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76391 (eval $ac_compile) 2>conftest.er1
76392 ac_status=$?
76393 grep -v '^ *+' conftest.er1 >conftest.err
76394 rm -f conftest.er1
76395 cat conftest.err >&5
76396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76397 (exit $ac_status); } &&
76398 { ac_try='test -z "$ac_cxx_werror_flag"
76399 || test ! -s conftest.err'
76400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76401 (eval $ac_try) 2>&5
76402 ac_status=$?
76403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76404 (exit $ac_status); }; } &&
76405 { ac_try='test -s conftest.$ac_objext'
76406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76407 (eval $ac_try) 2>&5
76408 ac_status=$?
76409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76410 (exit $ac_status); }; }; then
76411 glibcxx_cv_func_expl_use=yes
76412 else
76413 echo "$as_me: failed program was:" >&5
76414 sed 's/^/| /' conftest.$ac_ext >&5
76416 glibcxx_cv_func_expl_use=no
76418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76419 ac_ext=c
76420 ac_cpp='$CPP $CPPFLAGS'
76421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76429 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
76430 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
76432 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76434 for ac_func in expl
76436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76437 echo "$as_me:$LINENO: checking for $ac_func" >&5
76438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76439 if eval "test \"\${$as_ac_var+set}\" = set"; then
76440 echo $ECHO_N "(cached) $ECHO_C" >&6
76441 else
76442 if test x$gcc_no_link = xyes; then
76443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76445 { (exit 1); exit 1; }; }
76447 cat >conftest.$ac_ext <<_ACEOF
76448 /* confdefs.h. */
76449 _ACEOF
76450 cat confdefs.h >>conftest.$ac_ext
76451 cat >>conftest.$ac_ext <<_ACEOF
76452 /* end confdefs.h. */
76453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76455 #define $ac_func innocuous_$ac_func
76457 /* System header to define __stub macros and hopefully few prototypes,
76458 which can conflict with char $ac_func (); below.
76459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76460 <limits.h> exists even on freestanding compilers. */
76462 #ifdef __STDC__
76463 # include <limits.h>
76464 #else
76465 # include <assert.h>
76466 #endif
76468 #undef $ac_func
76470 /* Override any gcc2 internal prototype to avoid an error. */
76471 #ifdef __cplusplus
76472 extern "C"
76474 #endif
76475 /* We use char because int might match the return type of a gcc2
76476 builtin and then its argument prototype would still apply. */
76477 char $ac_func ();
76478 /* The GNU C library defines this for functions which it implements
76479 to always fail with ENOSYS. Some functions are actually named
76480 something starting with __ and the normal name is an alias. */
76481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76482 choke me
76483 #else
76484 char (*f) () = $ac_func;
76485 #endif
76486 #ifdef __cplusplus
76488 #endif
76491 main ()
76493 return f != $ac_func;
76495 return 0;
76497 _ACEOF
76498 rm -f conftest.$ac_objext conftest$ac_exeext
76499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76500 (eval $ac_link) 2>conftest.er1
76501 ac_status=$?
76502 grep -v '^ *+' conftest.er1 >conftest.err
76503 rm -f conftest.er1
76504 cat conftest.err >&5
76505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76506 (exit $ac_status); } &&
76507 { ac_try='test -z "$ac_c_werror_flag"
76508 || test ! -s conftest.err'
76509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76510 (eval $ac_try) 2>&5
76511 ac_status=$?
76512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76513 (exit $ac_status); }; } &&
76514 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
76520 eval "$as_ac_var=yes"
76521 else
76522 echo "$as_me: failed program was:" >&5
76523 sed 's/^/| /' conftest.$ac_ext >&5
76525 eval "$as_ac_var=no"
76527 rm -f conftest.err conftest.$ac_objext \
76528 conftest$ac_exeext conftest.$ac_ext
76530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76532 if test `eval echo '${'$as_ac_var'}'` = yes; then
76533 cat >>confdefs.h <<_ACEOF
76534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76535 _ACEOF
76538 done
76540 else
76542 echo "$as_me:$LINENO: checking for _expl declaration" >&5
76543 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
76544 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76545 if test "${glibcxx_cv_func__expl_use+set}" = set; then
76546 echo $ECHO_N "(cached) $ECHO_C" >&6
76547 else
76551 ac_ext=cc
76552 ac_cpp='$CXXCPP $CPPFLAGS'
76553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76557 cat >conftest.$ac_ext <<_ACEOF
76558 /* confdefs.h. */
76559 _ACEOF
76560 cat confdefs.h >>conftest.$ac_ext
76561 cat >>conftest.$ac_ext <<_ACEOF
76562 /* end confdefs.h. */
76563 #include <math.h>
76564 #ifdef HAVE_IEEEFP_H
76565 #include <ieeefp.h>
76566 #endif
76569 main ()
76571 _expl(0);
76573 return 0;
76575 _ACEOF
76576 rm -f conftest.$ac_objext
76577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76578 (eval $ac_compile) 2>conftest.er1
76579 ac_status=$?
76580 grep -v '^ *+' conftest.er1 >conftest.err
76581 rm -f conftest.er1
76582 cat conftest.err >&5
76583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76584 (exit $ac_status); } &&
76585 { ac_try='test -z "$ac_cxx_werror_flag"
76586 || test ! -s conftest.err'
76587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76588 (eval $ac_try) 2>&5
76589 ac_status=$?
76590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76591 (exit $ac_status); }; } &&
76592 { ac_try='test -s conftest.$ac_objext'
76593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76594 (eval $ac_try) 2>&5
76595 ac_status=$?
76596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76597 (exit $ac_status); }; }; then
76598 glibcxx_cv_func__expl_use=yes
76599 else
76600 echo "$as_me: failed program was:" >&5
76601 sed 's/^/| /' conftest.$ac_ext >&5
76603 glibcxx_cv_func__expl_use=no
76605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76606 ac_ext=c
76607 ac_cpp='$CPP $CPPFLAGS'
76608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76616 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
76617 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
76619 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76621 for ac_func in _expl
76623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76624 echo "$as_me:$LINENO: checking for $ac_func" >&5
76625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76626 if eval "test \"\${$as_ac_var+set}\" = set"; then
76627 echo $ECHO_N "(cached) $ECHO_C" >&6
76628 else
76629 if test x$gcc_no_link = xyes; then
76630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76632 { (exit 1); exit 1; }; }
76634 cat >conftest.$ac_ext <<_ACEOF
76635 /* confdefs.h. */
76636 _ACEOF
76637 cat confdefs.h >>conftest.$ac_ext
76638 cat >>conftest.$ac_ext <<_ACEOF
76639 /* end confdefs.h. */
76640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76642 #define $ac_func innocuous_$ac_func
76644 /* System header to define __stub macros and hopefully few prototypes,
76645 which can conflict with char $ac_func (); below.
76646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76647 <limits.h> exists even on freestanding compilers. */
76649 #ifdef __STDC__
76650 # include <limits.h>
76651 #else
76652 # include <assert.h>
76653 #endif
76655 #undef $ac_func
76657 /* Override any gcc2 internal prototype to avoid an error. */
76658 #ifdef __cplusplus
76659 extern "C"
76661 #endif
76662 /* We use char because int might match the return type of a gcc2
76663 builtin and then its argument prototype would still apply. */
76664 char $ac_func ();
76665 /* The GNU C library defines this for functions which it implements
76666 to always fail with ENOSYS. Some functions are actually named
76667 something starting with __ and the normal name is an alias. */
76668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76669 choke me
76670 #else
76671 char (*f) () = $ac_func;
76672 #endif
76673 #ifdef __cplusplus
76675 #endif
76678 main ()
76680 return f != $ac_func;
76682 return 0;
76684 _ACEOF
76685 rm -f conftest.$ac_objext conftest$ac_exeext
76686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76687 (eval $ac_link) 2>conftest.er1
76688 ac_status=$?
76689 grep -v '^ *+' conftest.er1 >conftest.err
76690 rm -f conftest.er1
76691 cat conftest.err >&5
76692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76693 (exit $ac_status); } &&
76694 { ac_try='test -z "$ac_c_werror_flag"
76695 || test ! -s conftest.err'
76696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76697 (eval $ac_try) 2>&5
76698 ac_status=$?
76699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76700 (exit $ac_status); }; } &&
76701 { ac_try='test -s conftest$ac_exeext'
76702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76703 (eval $ac_try) 2>&5
76704 ac_status=$?
76705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76706 (exit $ac_status); }; }; then
76707 eval "$as_ac_var=yes"
76708 else
76709 echo "$as_me: failed program was:" >&5
76710 sed 's/^/| /' conftest.$ac_ext >&5
76712 eval "$as_ac_var=no"
76714 rm -f conftest.err conftest.$ac_objext \
76715 conftest$ac_exeext conftest.$ac_ext
76717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76719 if test `eval echo '${'$as_ac_var'}'` = yes; then
76720 cat >>confdefs.h <<_ACEOF
76721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76722 _ACEOF
76725 done
76735 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
76736 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
76737 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76738 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
76739 echo $ECHO_N "(cached) $ECHO_C" >&6
76740 else
76744 ac_ext=cc
76745 ac_cpp='$CXXCPP $CPPFLAGS'
76746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76750 cat >conftest.$ac_ext <<_ACEOF
76751 /* confdefs.h. */
76752 _ACEOF
76753 cat confdefs.h >>conftest.$ac_ext
76754 cat >>conftest.$ac_ext <<_ACEOF
76755 /* end confdefs.h. */
76756 #include <math.h>
76757 #ifdef HAVE_IEEEFP_H
76758 #include <ieeefp.h>
76759 #endif
76762 main ()
76764 fabsl(0);
76766 return 0;
76768 _ACEOF
76769 rm -f conftest.$ac_objext
76770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76771 (eval $ac_compile) 2>conftest.er1
76772 ac_status=$?
76773 grep -v '^ *+' conftest.er1 >conftest.err
76774 rm -f conftest.er1
76775 cat conftest.err >&5
76776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76777 (exit $ac_status); } &&
76778 { ac_try='test -z "$ac_cxx_werror_flag"
76779 || test ! -s conftest.err'
76780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76781 (eval $ac_try) 2>&5
76782 ac_status=$?
76783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76784 (exit $ac_status); }; } &&
76785 { ac_try='test -s conftest.$ac_objext'
76786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76787 (eval $ac_try) 2>&5
76788 ac_status=$?
76789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76790 (exit $ac_status); }; }; then
76791 glibcxx_cv_func_fabsl_use=yes
76792 else
76793 echo "$as_me: failed program was:" >&5
76794 sed 's/^/| /' conftest.$ac_ext >&5
76796 glibcxx_cv_func_fabsl_use=no
76798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76799 ac_ext=c
76800 ac_cpp='$CPP $CPPFLAGS'
76801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76809 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
76810 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
76812 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76814 for ac_func in fabsl
76816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76817 echo "$as_me:$LINENO: checking for $ac_func" >&5
76818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76819 if eval "test \"\${$as_ac_var+set}\" = set"; then
76820 echo $ECHO_N "(cached) $ECHO_C" >&6
76821 else
76822 if test x$gcc_no_link = xyes; then
76823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76825 { (exit 1); exit 1; }; }
76827 cat >conftest.$ac_ext <<_ACEOF
76828 /* confdefs.h. */
76829 _ACEOF
76830 cat confdefs.h >>conftest.$ac_ext
76831 cat >>conftest.$ac_ext <<_ACEOF
76832 /* end confdefs.h. */
76833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76835 #define $ac_func innocuous_$ac_func
76837 /* System header to define __stub macros and hopefully few prototypes,
76838 which can conflict with char $ac_func (); below.
76839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76840 <limits.h> exists even on freestanding compilers. */
76842 #ifdef __STDC__
76843 # include <limits.h>
76844 #else
76845 # include <assert.h>
76846 #endif
76848 #undef $ac_func
76850 /* Override any gcc2 internal prototype to avoid an error. */
76851 #ifdef __cplusplus
76852 extern "C"
76854 #endif
76855 /* We use char because int might match the return type of a gcc2
76856 builtin and then its argument prototype would still apply. */
76857 char $ac_func ();
76858 /* The GNU C library defines this for functions which it implements
76859 to always fail with ENOSYS. Some functions are actually named
76860 something starting with __ and the normal name is an alias. */
76861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76862 choke me
76863 #else
76864 char (*f) () = $ac_func;
76865 #endif
76866 #ifdef __cplusplus
76868 #endif
76871 main ()
76873 return f != $ac_func;
76875 return 0;
76877 _ACEOF
76878 rm -f conftest.$ac_objext conftest$ac_exeext
76879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76880 (eval $ac_link) 2>conftest.er1
76881 ac_status=$?
76882 grep -v '^ *+' conftest.er1 >conftest.err
76883 rm -f conftest.er1
76884 cat conftest.err >&5
76885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76886 (exit $ac_status); } &&
76887 { ac_try='test -z "$ac_c_werror_flag"
76888 || test ! -s conftest.err'
76889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76890 (eval $ac_try) 2>&5
76891 ac_status=$?
76892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76893 (exit $ac_status); }; } &&
76894 { ac_try='test -s conftest$ac_exeext'
76895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76896 (eval $ac_try) 2>&5
76897 ac_status=$?
76898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76899 (exit $ac_status); }; }; then
76900 eval "$as_ac_var=yes"
76901 else
76902 echo "$as_me: failed program was:" >&5
76903 sed 's/^/| /' conftest.$ac_ext >&5
76905 eval "$as_ac_var=no"
76907 rm -f conftest.err conftest.$ac_objext \
76908 conftest$ac_exeext conftest.$ac_ext
76910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76912 if test `eval echo '${'$as_ac_var'}'` = yes; then
76913 cat >>confdefs.h <<_ACEOF
76914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76915 _ACEOF
76918 done
76920 else
76922 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
76923 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
76924 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76925 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
76926 echo $ECHO_N "(cached) $ECHO_C" >&6
76927 else
76931 ac_ext=cc
76932 ac_cpp='$CXXCPP $CPPFLAGS'
76933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76937 cat >conftest.$ac_ext <<_ACEOF
76938 /* confdefs.h. */
76939 _ACEOF
76940 cat confdefs.h >>conftest.$ac_ext
76941 cat >>conftest.$ac_ext <<_ACEOF
76942 /* end confdefs.h. */
76943 #include <math.h>
76944 #ifdef HAVE_IEEEFP_H
76945 #include <ieeefp.h>
76946 #endif
76949 main ()
76951 _fabsl(0);
76953 return 0;
76955 _ACEOF
76956 rm -f conftest.$ac_objext
76957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76958 (eval $ac_compile) 2>conftest.er1
76959 ac_status=$?
76960 grep -v '^ *+' conftest.er1 >conftest.err
76961 rm -f conftest.er1
76962 cat conftest.err >&5
76963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76964 (exit $ac_status); } &&
76965 { ac_try='test -z "$ac_cxx_werror_flag"
76966 || test ! -s conftest.err'
76967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76968 (eval $ac_try) 2>&5
76969 ac_status=$?
76970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76971 (exit $ac_status); }; } &&
76972 { ac_try='test -s conftest.$ac_objext'
76973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76974 (eval $ac_try) 2>&5
76975 ac_status=$?
76976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76977 (exit $ac_status); }; }; then
76978 glibcxx_cv_func__fabsl_use=yes
76979 else
76980 echo "$as_me: failed program was:" >&5
76981 sed 's/^/| /' conftest.$ac_ext >&5
76983 glibcxx_cv_func__fabsl_use=no
76985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76986 ac_ext=c
76987 ac_cpp='$CPP $CPPFLAGS'
76988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76996 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
76997 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
76999 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
77001 for ac_func in _fabsl
77003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77004 echo "$as_me:$LINENO: checking for $ac_func" >&5
77005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77006 if eval "test \"\${$as_ac_var+set}\" = set"; then
77007 echo $ECHO_N "(cached) $ECHO_C" >&6
77008 else
77009 if test x$gcc_no_link = xyes; then
77010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77012 { (exit 1); exit 1; }; }
77014 cat >conftest.$ac_ext <<_ACEOF
77015 /* confdefs.h. */
77016 _ACEOF
77017 cat confdefs.h >>conftest.$ac_ext
77018 cat >>conftest.$ac_ext <<_ACEOF
77019 /* end confdefs.h. */
77020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77022 #define $ac_func innocuous_$ac_func
77024 /* System header to define __stub macros and hopefully few prototypes,
77025 which can conflict with char $ac_func (); below.
77026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77027 <limits.h> exists even on freestanding compilers. */
77029 #ifdef __STDC__
77030 # include <limits.h>
77031 #else
77032 # include <assert.h>
77033 #endif
77035 #undef $ac_func
77037 /* Override any gcc2 internal prototype to avoid an error. */
77038 #ifdef __cplusplus
77039 extern "C"
77041 #endif
77042 /* We use char because int might match the return type of a gcc2
77043 builtin and then its argument prototype would still apply. */
77044 char $ac_func ();
77045 /* The GNU C library defines this for functions which it implements
77046 to always fail with ENOSYS. Some functions are actually named
77047 something starting with __ and the normal name is an alias. */
77048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77049 choke me
77050 #else
77051 char (*f) () = $ac_func;
77052 #endif
77053 #ifdef __cplusplus
77055 #endif
77058 main ()
77060 return f != $ac_func;
77062 return 0;
77064 _ACEOF
77065 rm -f conftest.$ac_objext conftest$ac_exeext
77066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77067 (eval $ac_link) 2>conftest.er1
77068 ac_status=$?
77069 grep -v '^ *+' conftest.er1 >conftest.err
77070 rm -f conftest.er1
77071 cat conftest.err >&5
77072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77073 (exit $ac_status); } &&
77074 { ac_try='test -z "$ac_c_werror_flag"
77075 || test ! -s conftest.err'
77076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77077 (eval $ac_try) 2>&5
77078 ac_status=$?
77079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77080 (exit $ac_status); }; } &&
77081 { ac_try='test -s conftest$ac_exeext'
77082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77083 (eval $ac_try) 2>&5
77084 ac_status=$?
77085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77086 (exit $ac_status); }; }; then
77087 eval "$as_ac_var=yes"
77088 else
77089 echo "$as_me: failed program was:" >&5
77090 sed 's/^/| /' conftest.$ac_ext >&5
77092 eval "$as_ac_var=no"
77094 rm -f conftest.err conftest.$ac_objext \
77095 conftest$ac_exeext conftest.$ac_ext
77097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77099 if test `eval echo '${'$as_ac_var'}'` = yes; then
77100 cat >>confdefs.h <<_ACEOF
77101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77102 _ACEOF
77105 done
77115 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
77116 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
77117 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
77118 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
77119 echo $ECHO_N "(cached) $ECHO_C" >&6
77120 else
77124 ac_ext=cc
77125 ac_cpp='$CXXCPP $CPPFLAGS'
77126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77130 cat >conftest.$ac_ext <<_ACEOF
77131 /* confdefs.h. */
77132 _ACEOF
77133 cat confdefs.h >>conftest.$ac_ext
77134 cat >>conftest.$ac_ext <<_ACEOF
77135 /* end confdefs.h. */
77136 #include <math.h>
77138 main ()
77140 fmodl(0, 0);
77142 return 0;
77144 _ACEOF
77145 rm -f conftest.$ac_objext
77146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77147 (eval $ac_compile) 2>conftest.er1
77148 ac_status=$?
77149 grep -v '^ *+' conftest.er1 >conftest.err
77150 rm -f conftest.er1
77151 cat conftest.err >&5
77152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77153 (exit $ac_status); } &&
77154 { ac_try='test -z "$ac_cxx_werror_flag"
77155 || test ! -s conftest.err'
77156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77157 (eval $ac_try) 2>&5
77158 ac_status=$?
77159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77160 (exit $ac_status); }; } &&
77161 { ac_try='test -s conftest.$ac_objext'
77162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77163 (eval $ac_try) 2>&5
77164 ac_status=$?
77165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77166 (exit $ac_status); }; }; then
77167 glibcxx_cv_func_fmodl_use=yes
77168 else
77169 echo "$as_me: failed program was:" >&5
77170 sed 's/^/| /' conftest.$ac_ext >&5
77172 glibcxx_cv_func_fmodl_use=no
77174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77175 ac_ext=c
77176 ac_cpp='$CPP $CPPFLAGS'
77177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77185 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
77186 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
77188 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
77190 for ac_func in fmodl
77192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77193 echo "$as_me:$LINENO: checking for $ac_func" >&5
77194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77195 if eval "test \"\${$as_ac_var+set}\" = set"; then
77196 echo $ECHO_N "(cached) $ECHO_C" >&6
77197 else
77198 if test x$gcc_no_link = xyes; then
77199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77201 { (exit 1); exit 1; }; }
77203 cat >conftest.$ac_ext <<_ACEOF
77204 /* confdefs.h. */
77205 _ACEOF
77206 cat confdefs.h >>conftest.$ac_ext
77207 cat >>conftest.$ac_ext <<_ACEOF
77208 /* end confdefs.h. */
77209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77211 #define $ac_func innocuous_$ac_func
77213 /* System header to define __stub macros and hopefully few prototypes,
77214 which can conflict with char $ac_func (); below.
77215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77216 <limits.h> exists even on freestanding compilers. */
77218 #ifdef __STDC__
77219 # include <limits.h>
77220 #else
77221 # include <assert.h>
77222 #endif
77224 #undef $ac_func
77226 /* Override any gcc2 internal prototype to avoid an error. */
77227 #ifdef __cplusplus
77228 extern "C"
77230 #endif
77231 /* We use char because int might match the return type of a gcc2
77232 builtin and then its argument prototype would still apply. */
77233 char $ac_func ();
77234 /* The GNU C library defines this for functions which it implements
77235 to always fail with ENOSYS. Some functions are actually named
77236 something starting with __ and the normal name is an alias. */
77237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77238 choke me
77239 #else
77240 char (*f) () = $ac_func;
77241 #endif
77242 #ifdef __cplusplus
77244 #endif
77247 main ()
77249 return f != $ac_func;
77251 return 0;
77253 _ACEOF
77254 rm -f conftest.$ac_objext conftest$ac_exeext
77255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77256 (eval $ac_link) 2>conftest.er1
77257 ac_status=$?
77258 grep -v '^ *+' conftest.er1 >conftest.err
77259 rm -f conftest.er1
77260 cat conftest.err >&5
77261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77262 (exit $ac_status); } &&
77263 { ac_try='test -z "$ac_c_werror_flag"
77264 || test ! -s conftest.err'
77265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77266 (eval $ac_try) 2>&5
77267 ac_status=$?
77268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77269 (exit $ac_status); }; } &&
77270 { ac_try='test -s conftest$ac_exeext'
77271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77272 (eval $ac_try) 2>&5
77273 ac_status=$?
77274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77275 (exit $ac_status); }; }; then
77276 eval "$as_ac_var=yes"
77277 else
77278 echo "$as_me: failed program was:" >&5
77279 sed 's/^/| /' conftest.$ac_ext >&5
77281 eval "$as_ac_var=no"
77283 rm -f conftest.err conftest.$ac_objext \
77284 conftest$ac_exeext conftest.$ac_ext
77286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77288 if test `eval echo '${'$as_ac_var'}'` = yes; then
77289 cat >>confdefs.h <<_ACEOF
77290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77291 _ACEOF
77294 done
77296 else
77298 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
77299 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
77300 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
77301 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
77302 echo $ECHO_N "(cached) $ECHO_C" >&6
77303 else
77307 ac_ext=cc
77308 ac_cpp='$CXXCPP $CPPFLAGS'
77309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77313 cat >conftest.$ac_ext <<_ACEOF
77314 /* confdefs.h. */
77315 _ACEOF
77316 cat confdefs.h >>conftest.$ac_ext
77317 cat >>conftest.$ac_ext <<_ACEOF
77318 /* end confdefs.h. */
77319 #include <math.h>
77321 main ()
77323 _fmodl(0, 0);
77325 return 0;
77327 _ACEOF
77328 rm -f conftest.$ac_objext
77329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77330 (eval $ac_compile) 2>conftest.er1
77331 ac_status=$?
77332 grep -v '^ *+' conftest.er1 >conftest.err
77333 rm -f conftest.er1
77334 cat conftest.err >&5
77335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77336 (exit $ac_status); } &&
77337 { ac_try='test -z "$ac_cxx_werror_flag"
77338 || test ! -s conftest.err'
77339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77340 (eval $ac_try) 2>&5
77341 ac_status=$?
77342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77343 (exit $ac_status); }; } &&
77344 { ac_try='test -s conftest.$ac_objext'
77345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77346 (eval $ac_try) 2>&5
77347 ac_status=$?
77348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77349 (exit $ac_status); }; }; then
77350 glibcxx_cv_func__fmodl_use=yes
77351 else
77352 echo "$as_me: failed program was:" >&5
77353 sed 's/^/| /' conftest.$ac_ext >&5
77355 glibcxx_cv_func__fmodl_use=no
77357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77358 ac_ext=c
77359 ac_cpp='$CPP $CPPFLAGS'
77360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77368 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
77369 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
77371 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
77373 for ac_func in _fmodl
77375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77376 echo "$as_me:$LINENO: checking for $ac_func" >&5
77377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77378 if eval "test \"\${$as_ac_var+set}\" = set"; then
77379 echo $ECHO_N "(cached) $ECHO_C" >&6
77380 else
77381 if test x$gcc_no_link = xyes; then
77382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77384 { (exit 1); exit 1; }; }
77386 cat >conftest.$ac_ext <<_ACEOF
77387 /* confdefs.h. */
77388 _ACEOF
77389 cat confdefs.h >>conftest.$ac_ext
77390 cat >>conftest.$ac_ext <<_ACEOF
77391 /* end confdefs.h. */
77392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77394 #define $ac_func innocuous_$ac_func
77396 /* System header to define __stub macros and hopefully few prototypes,
77397 which can conflict with char $ac_func (); below.
77398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77399 <limits.h> exists even on freestanding compilers. */
77401 #ifdef __STDC__
77402 # include <limits.h>
77403 #else
77404 # include <assert.h>
77405 #endif
77407 #undef $ac_func
77409 /* Override any gcc2 internal prototype to avoid an error. */
77410 #ifdef __cplusplus
77411 extern "C"
77413 #endif
77414 /* We use char because int might match the return type of a gcc2
77415 builtin and then its argument prototype would still apply. */
77416 char $ac_func ();
77417 /* The GNU C library defines this for functions which it implements
77418 to always fail with ENOSYS. Some functions are actually named
77419 something starting with __ and the normal name is an alias. */
77420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77421 choke me
77422 #else
77423 char (*f) () = $ac_func;
77424 #endif
77425 #ifdef __cplusplus
77427 #endif
77430 main ()
77432 return f != $ac_func;
77434 return 0;
77436 _ACEOF
77437 rm -f conftest.$ac_objext conftest$ac_exeext
77438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77439 (eval $ac_link) 2>conftest.er1
77440 ac_status=$?
77441 grep -v '^ *+' conftest.er1 >conftest.err
77442 rm -f conftest.er1
77443 cat conftest.err >&5
77444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77445 (exit $ac_status); } &&
77446 { ac_try='test -z "$ac_c_werror_flag"
77447 || test ! -s conftest.err'
77448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77449 (eval $ac_try) 2>&5
77450 ac_status=$?
77451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77452 (exit $ac_status); }; } &&
77453 { ac_try='test -s conftest$ac_exeext'
77454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77455 (eval $ac_try) 2>&5
77456 ac_status=$?
77457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77458 (exit $ac_status); }; }; then
77459 eval "$as_ac_var=yes"
77460 else
77461 echo "$as_me: failed program was:" >&5
77462 sed 's/^/| /' conftest.$ac_ext >&5
77464 eval "$as_ac_var=no"
77466 rm -f conftest.err conftest.$ac_objext \
77467 conftest$ac_exeext conftest.$ac_ext
77469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77471 if test `eval echo '${'$as_ac_var'}'` = yes; then
77472 cat >>confdefs.h <<_ACEOF
77473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77474 _ACEOF
77477 done
77487 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
77488 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
77489 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77490 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
77491 echo $ECHO_N "(cached) $ECHO_C" >&6
77492 else
77496 ac_ext=cc
77497 ac_cpp='$CXXCPP $CPPFLAGS'
77498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77502 cat >conftest.$ac_ext <<_ACEOF
77503 /* confdefs.h. */
77504 _ACEOF
77505 cat confdefs.h >>conftest.$ac_ext
77506 cat >>conftest.$ac_ext <<_ACEOF
77507 /* end confdefs.h. */
77508 #include <math.h>
77510 main ()
77512 frexpl(0, 0);
77514 return 0;
77516 _ACEOF
77517 rm -f conftest.$ac_objext
77518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77519 (eval $ac_compile) 2>conftest.er1
77520 ac_status=$?
77521 grep -v '^ *+' conftest.er1 >conftest.err
77522 rm -f conftest.er1
77523 cat conftest.err >&5
77524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77525 (exit $ac_status); } &&
77526 { ac_try='test -z "$ac_cxx_werror_flag"
77527 || test ! -s conftest.err'
77528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77529 (eval $ac_try) 2>&5
77530 ac_status=$?
77531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77532 (exit $ac_status); }; } &&
77533 { ac_try='test -s conftest.$ac_objext'
77534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77535 (eval $ac_try) 2>&5
77536 ac_status=$?
77537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77538 (exit $ac_status); }; }; then
77539 glibcxx_cv_func_frexpl_use=yes
77540 else
77541 echo "$as_me: failed program was:" >&5
77542 sed 's/^/| /' conftest.$ac_ext >&5
77544 glibcxx_cv_func_frexpl_use=no
77546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77547 ac_ext=c
77548 ac_cpp='$CPP $CPPFLAGS'
77549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77557 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
77558 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
77560 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77562 for ac_func in frexpl
77564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77565 echo "$as_me:$LINENO: checking for $ac_func" >&5
77566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77567 if eval "test \"\${$as_ac_var+set}\" = set"; then
77568 echo $ECHO_N "(cached) $ECHO_C" >&6
77569 else
77570 if test x$gcc_no_link = xyes; then
77571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77573 { (exit 1); exit 1; }; }
77575 cat >conftest.$ac_ext <<_ACEOF
77576 /* confdefs.h. */
77577 _ACEOF
77578 cat confdefs.h >>conftest.$ac_ext
77579 cat >>conftest.$ac_ext <<_ACEOF
77580 /* end confdefs.h. */
77581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77583 #define $ac_func innocuous_$ac_func
77585 /* System header to define __stub macros and hopefully few prototypes,
77586 which can conflict with char $ac_func (); below.
77587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77588 <limits.h> exists even on freestanding compilers. */
77590 #ifdef __STDC__
77591 # include <limits.h>
77592 #else
77593 # include <assert.h>
77594 #endif
77596 #undef $ac_func
77598 /* Override any gcc2 internal prototype to avoid an error. */
77599 #ifdef __cplusplus
77600 extern "C"
77602 #endif
77603 /* We use char because int might match the return type of a gcc2
77604 builtin and then its argument prototype would still apply. */
77605 char $ac_func ();
77606 /* The GNU C library defines this for functions which it implements
77607 to always fail with ENOSYS. Some functions are actually named
77608 something starting with __ and the normal name is an alias. */
77609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77610 choke me
77611 #else
77612 char (*f) () = $ac_func;
77613 #endif
77614 #ifdef __cplusplus
77616 #endif
77619 main ()
77621 return f != $ac_func;
77623 return 0;
77625 _ACEOF
77626 rm -f conftest.$ac_objext conftest$ac_exeext
77627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77628 (eval $ac_link) 2>conftest.er1
77629 ac_status=$?
77630 grep -v '^ *+' conftest.er1 >conftest.err
77631 rm -f conftest.er1
77632 cat conftest.err >&5
77633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77634 (exit $ac_status); } &&
77635 { ac_try='test -z "$ac_c_werror_flag"
77636 || test ! -s conftest.err'
77637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77638 (eval $ac_try) 2>&5
77639 ac_status=$?
77640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77641 (exit $ac_status); }; } &&
77642 { ac_try='test -s conftest$ac_exeext'
77643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77644 (eval $ac_try) 2>&5
77645 ac_status=$?
77646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77647 (exit $ac_status); }; }; then
77648 eval "$as_ac_var=yes"
77649 else
77650 echo "$as_me: failed program was:" >&5
77651 sed 's/^/| /' conftest.$ac_ext >&5
77653 eval "$as_ac_var=no"
77655 rm -f conftest.err conftest.$ac_objext \
77656 conftest$ac_exeext conftest.$ac_ext
77658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77660 if test `eval echo '${'$as_ac_var'}'` = yes; then
77661 cat >>confdefs.h <<_ACEOF
77662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77663 _ACEOF
77666 done
77668 else
77670 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
77671 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
77672 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
77673 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
77674 echo $ECHO_N "(cached) $ECHO_C" >&6
77675 else
77679 ac_ext=cc
77680 ac_cpp='$CXXCPP $CPPFLAGS'
77681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77685 cat >conftest.$ac_ext <<_ACEOF
77686 /* confdefs.h. */
77687 _ACEOF
77688 cat confdefs.h >>conftest.$ac_ext
77689 cat >>conftest.$ac_ext <<_ACEOF
77690 /* end confdefs.h. */
77691 #include <math.h>
77693 main ()
77695 _frexpl(0, 0);
77697 return 0;
77699 _ACEOF
77700 rm -f conftest.$ac_objext
77701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77702 (eval $ac_compile) 2>conftest.er1
77703 ac_status=$?
77704 grep -v '^ *+' conftest.er1 >conftest.err
77705 rm -f conftest.er1
77706 cat conftest.err >&5
77707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77708 (exit $ac_status); } &&
77709 { ac_try='test -z "$ac_cxx_werror_flag"
77710 || test ! -s conftest.err'
77711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77712 (eval $ac_try) 2>&5
77713 ac_status=$?
77714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77715 (exit $ac_status); }; } &&
77716 { ac_try='test -s conftest.$ac_objext'
77717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77718 (eval $ac_try) 2>&5
77719 ac_status=$?
77720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77721 (exit $ac_status); }; }; then
77722 glibcxx_cv_func__frexpl_use=yes
77723 else
77724 echo "$as_me: failed program was:" >&5
77725 sed 's/^/| /' conftest.$ac_ext >&5
77727 glibcxx_cv_func__frexpl_use=no
77729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77730 ac_ext=c
77731 ac_cpp='$CPP $CPPFLAGS'
77732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77740 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
77741 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
77743 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
77745 for ac_func in _frexpl
77747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77748 echo "$as_me:$LINENO: checking for $ac_func" >&5
77749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77750 if eval "test \"\${$as_ac_var+set}\" = set"; then
77751 echo $ECHO_N "(cached) $ECHO_C" >&6
77752 else
77753 if test x$gcc_no_link = xyes; then
77754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77756 { (exit 1); exit 1; }; }
77758 cat >conftest.$ac_ext <<_ACEOF
77759 /* confdefs.h. */
77760 _ACEOF
77761 cat confdefs.h >>conftest.$ac_ext
77762 cat >>conftest.$ac_ext <<_ACEOF
77763 /* end confdefs.h. */
77764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77766 #define $ac_func innocuous_$ac_func
77768 /* System header to define __stub macros and hopefully few prototypes,
77769 which can conflict with char $ac_func (); below.
77770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77771 <limits.h> exists even on freestanding compilers. */
77773 #ifdef __STDC__
77774 # include <limits.h>
77775 #else
77776 # include <assert.h>
77777 #endif
77779 #undef $ac_func
77781 /* Override any gcc2 internal prototype to avoid an error. */
77782 #ifdef __cplusplus
77783 extern "C"
77785 #endif
77786 /* We use char because int might match the return type of a gcc2
77787 builtin and then its argument prototype would still apply. */
77788 char $ac_func ();
77789 /* The GNU C library defines this for functions which it implements
77790 to always fail with ENOSYS. Some functions are actually named
77791 something starting with __ and the normal name is an alias. */
77792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77793 choke me
77794 #else
77795 char (*f) () = $ac_func;
77796 #endif
77797 #ifdef __cplusplus
77799 #endif
77802 main ()
77804 return f != $ac_func;
77806 return 0;
77808 _ACEOF
77809 rm -f conftest.$ac_objext conftest$ac_exeext
77810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77811 (eval $ac_link) 2>conftest.er1
77812 ac_status=$?
77813 grep -v '^ *+' conftest.er1 >conftest.err
77814 rm -f conftest.er1
77815 cat conftest.err >&5
77816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77817 (exit $ac_status); } &&
77818 { ac_try='test -z "$ac_c_werror_flag"
77819 || test ! -s conftest.err'
77820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77821 (eval $ac_try) 2>&5
77822 ac_status=$?
77823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77824 (exit $ac_status); }; } &&
77825 { ac_try='test -s conftest$ac_exeext'
77826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77827 (eval $ac_try) 2>&5
77828 ac_status=$?
77829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77830 (exit $ac_status); }; }; then
77831 eval "$as_ac_var=yes"
77832 else
77833 echo "$as_me: failed program was:" >&5
77834 sed 's/^/| /' conftest.$ac_ext >&5
77836 eval "$as_ac_var=no"
77838 rm -f conftest.err conftest.$ac_objext \
77839 conftest$ac_exeext conftest.$ac_ext
77841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77843 if test `eval echo '${'$as_ac_var'}'` = yes; then
77844 cat >>confdefs.h <<_ACEOF
77845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77846 _ACEOF
77849 done
77859 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
77860 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
77861 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
77862 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
77863 echo $ECHO_N "(cached) $ECHO_C" >&6
77864 else
77868 ac_ext=cc
77869 ac_cpp='$CXXCPP $CPPFLAGS'
77870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77874 cat >conftest.$ac_ext <<_ACEOF
77875 /* confdefs.h. */
77876 _ACEOF
77877 cat confdefs.h >>conftest.$ac_ext
77878 cat >>conftest.$ac_ext <<_ACEOF
77879 /* end confdefs.h. */
77880 #include <math.h>
77882 main ()
77884 hypotl(0, 0);
77886 return 0;
77888 _ACEOF
77889 rm -f conftest.$ac_objext
77890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77891 (eval $ac_compile) 2>conftest.er1
77892 ac_status=$?
77893 grep -v '^ *+' conftest.er1 >conftest.err
77894 rm -f conftest.er1
77895 cat conftest.err >&5
77896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77897 (exit $ac_status); } &&
77898 { ac_try='test -z "$ac_cxx_werror_flag"
77899 || test ! -s conftest.err'
77900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77901 (eval $ac_try) 2>&5
77902 ac_status=$?
77903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77904 (exit $ac_status); }; } &&
77905 { ac_try='test -s conftest.$ac_objext'
77906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77907 (eval $ac_try) 2>&5
77908 ac_status=$?
77909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77910 (exit $ac_status); }; }; then
77911 glibcxx_cv_func_hypotl_use=yes
77912 else
77913 echo "$as_me: failed program was:" >&5
77914 sed 's/^/| /' conftest.$ac_ext >&5
77916 glibcxx_cv_func_hypotl_use=no
77918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77919 ac_ext=c
77920 ac_cpp='$CPP $CPPFLAGS'
77921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77929 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
77930 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
77932 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
77934 for ac_func in hypotl
77936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77937 echo "$as_me:$LINENO: checking for $ac_func" >&5
77938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77939 if eval "test \"\${$as_ac_var+set}\" = set"; then
77940 echo $ECHO_N "(cached) $ECHO_C" >&6
77941 else
77942 if test x$gcc_no_link = xyes; then
77943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77945 { (exit 1); exit 1; }; }
77947 cat >conftest.$ac_ext <<_ACEOF
77948 /* confdefs.h. */
77949 _ACEOF
77950 cat confdefs.h >>conftest.$ac_ext
77951 cat >>conftest.$ac_ext <<_ACEOF
77952 /* end confdefs.h. */
77953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77955 #define $ac_func innocuous_$ac_func
77957 /* System header to define __stub macros and hopefully few prototypes,
77958 which can conflict with char $ac_func (); below.
77959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77960 <limits.h> exists even on freestanding compilers. */
77962 #ifdef __STDC__
77963 # include <limits.h>
77964 #else
77965 # include <assert.h>
77966 #endif
77968 #undef $ac_func
77970 /* Override any gcc2 internal prototype to avoid an error. */
77971 #ifdef __cplusplus
77972 extern "C"
77974 #endif
77975 /* We use char because int might match the return type of a gcc2
77976 builtin and then its argument prototype would still apply. */
77977 char $ac_func ();
77978 /* The GNU C library defines this for functions which it implements
77979 to always fail with ENOSYS. Some functions are actually named
77980 something starting with __ and the normal name is an alias. */
77981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77982 choke me
77983 #else
77984 char (*f) () = $ac_func;
77985 #endif
77986 #ifdef __cplusplus
77988 #endif
77991 main ()
77993 return f != $ac_func;
77995 return 0;
77997 _ACEOF
77998 rm -f conftest.$ac_objext conftest$ac_exeext
77999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78000 (eval $ac_link) 2>conftest.er1
78001 ac_status=$?
78002 grep -v '^ *+' conftest.er1 >conftest.err
78003 rm -f conftest.er1
78004 cat conftest.err >&5
78005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78006 (exit $ac_status); } &&
78007 { ac_try='test -z "$ac_c_werror_flag"
78008 || test ! -s conftest.err'
78009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78010 (eval $ac_try) 2>&5
78011 ac_status=$?
78012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78013 (exit $ac_status); }; } &&
78014 { ac_try='test -s conftest$ac_exeext'
78015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78016 (eval $ac_try) 2>&5
78017 ac_status=$?
78018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78019 (exit $ac_status); }; }; then
78020 eval "$as_ac_var=yes"
78021 else
78022 echo "$as_me: failed program was:" >&5
78023 sed 's/^/| /' conftest.$ac_ext >&5
78025 eval "$as_ac_var=no"
78027 rm -f conftest.err conftest.$ac_objext \
78028 conftest$ac_exeext conftest.$ac_ext
78030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78032 if test `eval echo '${'$as_ac_var'}'` = yes; then
78033 cat >>confdefs.h <<_ACEOF
78034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78035 _ACEOF
78038 done
78040 else
78042 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
78043 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
78044 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
78045 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
78046 echo $ECHO_N "(cached) $ECHO_C" >&6
78047 else
78051 ac_ext=cc
78052 ac_cpp='$CXXCPP $CPPFLAGS'
78053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78057 cat >conftest.$ac_ext <<_ACEOF
78058 /* confdefs.h. */
78059 _ACEOF
78060 cat confdefs.h >>conftest.$ac_ext
78061 cat >>conftest.$ac_ext <<_ACEOF
78062 /* end confdefs.h. */
78063 #include <math.h>
78065 main ()
78067 _hypotl(0, 0);
78069 return 0;
78071 _ACEOF
78072 rm -f conftest.$ac_objext
78073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78074 (eval $ac_compile) 2>conftest.er1
78075 ac_status=$?
78076 grep -v '^ *+' conftest.er1 >conftest.err
78077 rm -f conftest.er1
78078 cat conftest.err >&5
78079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78080 (exit $ac_status); } &&
78081 { ac_try='test -z "$ac_cxx_werror_flag"
78082 || test ! -s conftest.err'
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); }; } &&
78088 { ac_try='test -s conftest.$ac_objext'
78089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78090 (eval $ac_try) 2>&5
78091 ac_status=$?
78092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78093 (exit $ac_status); }; }; then
78094 glibcxx_cv_func__hypotl_use=yes
78095 else
78096 echo "$as_me: failed program was:" >&5
78097 sed 's/^/| /' conftest.$ac_ext >&5
78099 glibcxx_cv_func__hypotl_use=no
78101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78102 ac_ext=c
78103 ac_cpp='$CPP $CPPFLAGS'
78104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78112 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
78113 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
78115 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
78117 for ac_func in _hypotl
78119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78120 echo "$as_me:$LINENO: checking for $ac_func" >&5
78121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78122 if eval "test \"\${$as_ac_var+set}\" = set"; then
78123 echo $ECHO_N "(cached) $ECHO_C" >&6
78124 else
78125 if test x$gcc_no_link = xyes; then
78126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78128 { (exit 1); exit 1; }; }
78130 cat >conftest.$ac_ext <<_ACEOF
78131 /* confdefs.h. */
78132 _ACEOF
78133 cat confdefs.h >>conftest.$ac_ext
78134 cat >>conftest.$ac_ext <<_ACEOF
78135 /* end confdefs.h. */
78136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78138 #define $ac_func innocuous_$ac_func
78140 /* System header to define __stub macros and hopefully few prototypes,
78141 which can conflict with char $ac_func (); below.
78142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78143 <limits.h> exists even on freestanding compilers. */
78145 #ifdef __STDC__
78146 # include <limits.h>
78147 #else
78148 # include <assert.h>
78149 #endif
78151 #undef $ac_func
78153 /* Override any gcc2 internal prototype to avoid an error. */
78154 #ifdef __cplusplus
78155 extern "C"
78157 #endif
78158 /* We use char because int might match the return type of a gcc2
78159 builtin and then its argument prototype would still apply. */
78160 char $ac_func ();
78161 /* The GNU C library defines this for functions which it implements
78162 to always fail with ENOSYS. Some functions are actually named
78163 something starting with __ and the normal name is an alias. */
78164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78165 choke me
78166 #else
78167 char (*f) () = $ac_func;
78168 #endif
78169 #ifdef __cplusplus
78171 #endif
78174 main ()
78176 return f != $ac_func;
78178 return 0;
78180 _ACEOF
78181 rm -f conftest.$ac_objext conftest$ac_exeext
78182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78183 (eval $ac_link) 2>conftest.er1
78184 ac_status=$?
78185 grep -v '^ *+' conftest.er1 >conftest.err
78186 rm -f conftest.er1
78187 cat conftest.err >&5
78188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78189 (exit $ac_status); } &&
78190 { ac_try='test -z "$ac_c_werror_flag"
78191 || test ! -s conftest.err'
78192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78193 (eval $ac_try) 2>&5
78194 ac_status=$?
78195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78196 (exit $ac_status); }; } &&
78197 { ac_try='test -s conftest$ac_exeext'
78198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78199 (eval $ac_try) 2>&5
78200 ac_status=$?
78201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78202 (exit $ac_status); }; }; then
78203 eval "$as_ac_var=yes"
78204 else
78205 echo "$as_me: failed program was:" >&5
78206 sed 's/^/| /' conftest.$ac_ext >&5
78208 eval "$as_ac_var=no"
78210 rm -f conftest.err conftest.$ac_objext \
78211 conftest$ac_exeext conftest.$ac_ext
78213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78215 if test `eval echo '${'$as_ac_var'}'` = yes; then
78216 cat >>confdefs.h <<_ACEOF
78217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78218 _ACEOF
78221 done
78231 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
78232 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
78233 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
78234 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
78235 echo $ECHO_N "(cached) $ECHO_C" >&6
78236 else
78240 ac_ext=cc
78241 ac_cpp='$CXXCPP $CPPFLAGS'
78242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78246 cat >conftest.$ac_ext <<_ACEOF
78247 /* confdefs.h. */
78248 _ACEOF
78249 cat confdefs.h >>conftest.$ac_ext
78250 cat >>conftest.$ac_ext <<_ACEOF
78251 /* end confdefs.h. */
78252 #include <math.h>
78254 main ()
78256 ldexpl(0, 0);
78258 return 0;
78260 _ACEOF
78261 rm -f conftest.$ac_objext
78262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78263 (eval $ac_compile) 2>conftest.er1
78264 ac_status=$?
78265 grep -v '^ *+' conftest.er1 >conftest.err
78266 rm -f conftest.er1
78267 cat conftest.err >&5
78268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78269 (exit $ac_status); } &&
78270 { ac_try='test -z "$ac_cxx_werror_flag"
78271 || test ! -s conftest.err'
78272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78273 (eval $ac_try) 2>&5
78274 ac_status=$?
78275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78276 (exit $ac_status); }; } &&
78277 { ac_try='test -s conftest.$ac_objext'
78278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78279 (eval $ac_try) 2>&5
78280 ac_status=$?
78281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78282 (exit $ac_status); }; }; then
78283 glibcxx_cv_func_ldexpl_use=yes
78284 else
78285 echo "$as_me: failed program was:" >&5
78286 sed 's/^/| /' conftest.$ac_ext >&5
78288 glibcxx_cv_func_ldexpl_use=no
78290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78291 ac_ext=c
78292 ac_cpp='$CPP $CPPFLAGS'
78293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78301 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
78302 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
78304 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
78306 for ac_func in ldexpl
78308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78309 echo "$as_me:$LINENO: checking for $ac_func" >&5
78310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78311 if eval "test \"\${$as_ac_var+set}\" = set"; then
78312 echo $ECHO_N "(cached) $ECHO_C" >&6
78313 else
78314 if test x$gcc_no_link = xyes; then
78315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78317 { (exit 1); exit 1; }; }
78319 cat >conftest.$ac_ext <<_ACEOF
78320 /* confdefs.h. */
78321 _ACEOF
78322 cat confdefs.h >>conftest.$ac_ext
78323 cat >>conftest.$ac_ext <<_ACEOF
78324 /* end confdefs.h. */
78325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78327 #define $ac_func innocuous_$ac_func
78329 /* System header to define __stub macros and hopefully few prototypes,
78330 which can conflict with char $ac_func (); below.
78331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78332 <limits.h> exists even on freestanding compilers. */
78334 #ifdef __STDC__
78335 # include <limits.h>
78336 #else
78337 # include <assert.h>
78338 #endif
78340 #undef $ac_func
78342 /* Override any gcc2 internal prototype to avoid an error. */
78343 #ifdef __cplusplus
78344 extern "C"
78346 #endif
78347 /* We use char because int might match the return type of a gcc2
78348 builtin and then its argument prototype would still apply. */
78349 char $ac_func ();
78350 /* The GNU C library defines this for functions which it implements
78351 to always fail with ENOSYS. Some functions are actually named
78352 something starting with __ and the normal name is an alias. */
78353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78354 choke me
78355 #else
78356 char (*f) () = $ac_func;
78357 #endif
78358 #ifdef __cplusplus
78360 #endif
78363 main ()
78365 return f != $ac_func;
78367 return 0;
78369 _ACEOF
78370 rm -f conftest.$ac_objext conftest$ac_exeext
78371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78372 (eval $ac_link) 2>conftest.er1
78373 ac_status=$?
78374 grep -v '^ *+' conftest.er1 >conftest.err
78375 rm -f conftest.er1
78376 cat conftest.err >&5
78377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78378 (exit $ac_status); } &&
78379 { ac_try='test -z "$ac_c_werror_flag"
78380 || test ! -s conftest.err'
78381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78382 (eval $ac_try) 2>&5
78383 ac_status=$?
78384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78385 (exit $ac_status); }; } &&
78386 { ac_try='test -s conftest$ac_exeext'
78387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78388 (eval $ac_try) 2>&5
78389 ac_status=$?
78390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78391 (exit $ac_status); }; }; then
78392 eval "$as_ac_var=yes"
78393 else
78394 echo "$as_me: failed program was:" >&5
78395 sed 's/^/| /' conftest.$ac_ext >&5
78397 eval "$as_ac_var=no"
78399 rm -f conftest.err conftest.$ac_objext \
78400 conftest$ac_exeext conftest.$ac_ext
78402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78404 if test `eval echo '${'$as_ac_var'}'` = yes; then
78405 cat >>confdefs.h <<_ACEOF
78406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78407 _ACEOF
78410 done
78412 else
78414 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
78415 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
78416 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
78417 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
78418 echo $ECHO_N "(cached) $ECHO_C" >&6
78419 else
78423 ac_ext=cc
78424 ac_cpp='$CXXCPP $CPPFLAGS'
78425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78429 cat >conftest.$ac_ext <<_ACEOF
78430 /* confdefs.h. */
78431 _ACEOF
78432 cat confdefs.h >>conftest.$ac_ext
78433 cat >>conftest.$ac_ext <<_ACEOF
78434 /* end confdefs.h. */
78435 #include <math.h>
78437 main ()
78439 _ldexpl(0, 0);
78441 return 0;
78443 _ACEOF
78444 rm -f conftest.$ac_objext
78445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78446 (eval $ac_compile) 2>conftest.er1
78447 ac_status=$?
78448 grep -v '^ *+' conftest.er1 >conftest.err
78449 rm -f conftest.er1
78450 cat conftest.err >&5
78451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78452 (exit $ac_status); } &&
78453 { ac_try='test -z "$ac_cxx_werror_flag"
78454 || test ! -s conftest.err'
78455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78456 (eval $ac_try) 2>&5
78457 ac_status=$?
78458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78459 (exit $ac_status); }; } &&
78460 { ac_try='test -s conftest.$ac_objext'
78461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78462 (eval $ac_try) 2>&5
78463 ac_status=$?
78464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78465 (exit $ac_status); }; }; then
78466 glibcxx_cv_func__ldexpl_use=yes
78467 else
78468 echo "$as_me: failed program was:" >&5
78469 sed 's/^/| /' conftest.$ac_ext >&5
78471 glibcxx_cv_func__ldexpl_use=no
78473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78474 ac_ext=c
78475 ac_cpp='$CPP $CPPFLAGS'
78476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78484 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
78485 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
78487 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
78489 for ac_func in _ldexpl
78491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78492 echo "$as_me:$LINENO: checking for $ac_func" >&5
78493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78494 if eval "test \"\${$as_ac_var+set}\" = set"; then
78495 echo $ECHO_N "(cached) $ECHO_C" >&6
78496 else
78497 if test x$gcc_no_link = xyes; then
78498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78500 { (exit 1); exit 1; }; }
78502 cat >conftest.$ac_ext <<_ACEOF
78503 /* confdefs.h. */
78504 _ACEOF
78505 cat confdefs.h >>conftest.$ac_ext
78506 cat >>conftest.$ac_ext <<_ACEOF
78507 /* end confdefs.h. */
78508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78510 #define $ac_func innocuous_$ac_func
78512 /* System header to define __stub macros and hopefully few prototypes,
78513 which can conflict with char $ac_func (); below.
78514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78515 <limits.h> exists even on freestanding compilers. */
78517 #ifdef __STDC__
78518 # include <limits.h>
78519 #else
78520 # include <assert.h>
78521 #endif
78523 #undef $ac_func
78525 /* Override any gcc2 internal prototype to avoid an error. */
78526 #ifdef __cplusplus
78527 extern "C"
78529 #endif
78530 /* We use char because int might match the return type of a gcc2
78531 builtin and then its argument prototype would still apply. */
78532 char $ac_func ();
78533 /* The GNU C library defines this for functions which it implements
78534 to always fail with ENOSYS. Some functions are actually named
78535 something starting with __ and the normal name is an alias. */
78536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78537 choke me
78538 #else
78539 char (*f) () = $ac_func;
78540 #endif
78541 #ifdef __cplusplus
78543 #endif
78546 main ()
78548 return f != $ac_func;
78550 return 0;
78552 _ACEOF
78553 rm -f conftest.$ac_objext conftest$ac_exeext
78554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78555 (eval $ac_link) 2>conftest.er1
78556 ac_status=$?
78557 grep -v '^ *+' conftest.er1 >conftest.err
78558 rm -f conftest.er1
78559 cat conftest.err >&5
78560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78561 (exit $ac_status); } &&
78562 { ac_try='test -z "$ac_c_werror_flag"
78563 || test ! -s conftest.err'
78564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78565 (eval $ac_try) 2>&5
78566 ac_status=$?
78567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78568 (exit $ac_status); }; } &&
78569 { ac_try='test -s conftest$ac_exeext'
78570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78571 (eval $ac_try) 2>&5
78572 ac_status=$?
78573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78574 (exit $ac_status); }; }; then
78575 eval "$as_ac_var=yes"
78576 else
78577 echo "$as_me: failed program was:" >&5
78578 sed 's/^/| /' conftest.$ac_ext >&5
78580 eval "$as_ac_var=no"
78582 rm -f conftest.err conftest.$ac_objext \
78583 conftest$ac_exeext conftest.$ac_ext
78585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78587 if test `eval echo '${'$as_ac_var'}'` = yes; then
78588 cat >>confdefs.h <<_ACEOF
78589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78590 _ACEOF
78593 done
78603 echo "$as_me:$LINENO: checking for logl declaration" >&5
78604 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
78605 if test x${glibcxx_cv_func_logl_use+set} != xset; then
78606 if test "${glibcxx_cv_func_logl_use+set}" = set; then
78607 echo $ECHO_N "(cached) $ECHO_C" >&6
78608 else
78612 ac_ext=cc
78613 ac_cpp='$CXXCPP $CPPFLAGS'
78614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78618 cat >conftest.$ac_ext <<_ACEOF
78619 /* confdefs.h. */
78620 _ACEOF
78621 cat confdefs.h >>conftest.$ac_ext
78622 cat >>conftest.$ac_ext <<_ACEOF
78623 /* end confdefs.h. */
78624 #include <math.h>
78625 #ifdef HAVE_IEEEFP_H
78626 #include <ieeefp.h>
78627 #endif
78630 main ()
78632 logl(0);
78634 return 0;
78636 _ACEOF
78637 rm -f conftest.$ac_objext
78638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78639 (eval $ac_compile) 2>conftest.er1
78640 ac_status=$?
78641 grep -v '^ *+' conftest.er1 >conftest.err
78642 rm -f conftest.er1
78643 cat conftest.err >&5
78644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78645 (exit $ac_status); } &&
78646 { ac_try='test -z "$ac_cxx_werror_flag"
78647 || test ! -s conftest.err'
78648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78649 (eval $ac_try) 2>&5
78650 ac_status=$?
78651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78652 (exit $ac_status); }; } &&
78653 { ac_try='test -s conftest.$ac_objext'
78654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78655 (eval $ac_try) 2>&5
78656 ac_status=$?
78657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78658 (exit $ac_status); }; }; then
78659 glibcxx_cv_func_logl_use=yes
78660 else
78661 echo "$as_me: failed program was:" >&5
78662 sed 's/^/| /' conftest.$ac_ext >&5
78664 glibcxx_cv_func_logl_use=no
78666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78667 ac_ext=c
78668 ac_cpp='$CPP $CPPFLAGS'
78669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78677 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
78678 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
78680 if test x$glibcxx_cv_func_logl_use = x"yes"; then
78682 for ac_func in logl
78684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78685 echo "$as_me:$LINENO: checking for $ac_func" >&5
78686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78687 if eval "test \"\${$as_ac_var+set}\" = set"; then
78688 echo $ECHO_N "(cached) $ECHO_C" >&6
78689 else
78690 if test x$gcc_no_link = xyes; then
78691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78693 { (exit 1); exit 1; }; }
78695 cat >conftest.$ac_ext <<_ACEOF
78696 /* confdefs.h. */
78697 _ACEOF
78698 cat confdefs.h >>conftest.$ac_ext
78699 cat >>conftest.$ac_ext <<_ACEOF
78700 /* end confdefs.h. */
78701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78703 #define $ac_func innocuous_$ac_func
78705 /* System header to define __stub macros and hopefully few prototypes,
78706 which can conflict with char $ac_func (); below.
78707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78708 <limits.h> exists even on freestanding compilers. */
78710 #ifdef __STDC__
78711 # include <limits.h>
78712 #else
78713 # include <assert.h>
78714 #endif
78716 #undef $ac_func
78718 /* Override any gcc2 internal prototype to avoid an error. */
78719 #ifdef __cplusplus
78720 extern "C"
78722 #endif
78723 /* We use char because int might match the return type of a gcc2
78724 builtin and then its argument prototype would still apply. */
78725 char $ac_func ();
78726 /* The GNU C library defines this for functions which it implements
78727 to always fail with ENOSYS. Some functions are actually named
78728 something starting with __ and the normal name is an alias. */
78729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78730 choke me
78731 #else
78732 char (*f) () = $ac_func;
78733 #endif
78734 #ifdef __cplusplus
78736 #endif
78739 main ()
78741 return f != $ac_func;
78743 return 0;
78745 _ACEOF
78746 rm -f conftest.$ac_objext conftest$ac_exeext
78747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78748 (eval $ac_link) 2>conftest.er1
78749 ac_status=$?
78750 grep -v '^ *+' conftest.er1 >conftest.err
78751 rm -f conftest.er1
78752 cat conftest.err >&5
78753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78754 (exit $ac_status); } &&
78755 { ac_try='test -z "$ac_c_werror_flag"
78756 || test ! -s conftest.err'
78757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78758 (eval $ac_try) 2>&5
78759 ac_status=$?
78760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78761 (exit $ac_status); }; } &&
78762 { ac_try='test -s conftest$ac_exeext'
78763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78764 (eval $ac_try) 2>&5
78765 ac_status=$?
78766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78767 (exit $ac_status); }; }; then
78768 eval "$as_ac_var=yes"
78769 else
78770 echo "$as_me: failed program was:" >&5
78771 sed 's/^/| /' conftest.$ac_ext >&5
78773 eval "$as_ac_var=no"
78775 rm -f conftest.err conftest.$ac_objext \
78776 conftest$ac_exeext conftest.$ac_ext
78778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78780 if test `eval echo '${'$as_ac_var'}'` = yes; then
78781 cat >>confdefs.h <<_ACEOF
78782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78783 _ACEOF
78786 done
78788 else
78790 echo "$as_me:$LINENO: checking for _logl declaration" >&5
78791 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
78792 if test x${glibcxx_cv_func__logl_use+set} != xset; then
78793 if test "${glibcxx_cv_func__logl_use+set}" = set; then
78794 echo $ECHO_N "(cached) $ECHO_C" >&6
78795 else
78799 ac_ext=cc
78800 ac_cpp='$CXXCPP $CPPFLAGS'
78801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78805 cat >conftest.$ac_ext <<_ACEOF
78806 /* confdefs.h. */
78807 _ACEOF
78808 cat confdefs.h >>conftest.$ac_ext
78809 cat >>conftest.$ac_ext <<_ACEOF
78810 /* end confdefs.h. */
78811 #include <math.h>
78812 #ifdef HAVE_IEEEFP_H
78813 #include <ieeefp.h>
78814 #endif
78817 main ()
78819 _logl(0);
78821 return 0;
78823 _ACEOF
78824 rm -f conftest.$ac_objext
78825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78826 (eval $ac_compile) 2>conftest.er1
78827 ac_status=$?
78828 grep -v '^ *+' conftest.er1 >conftest.err
78829 rm -f conftest.er1
78830 cat conftest.err >&5
78831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78832 (exit $ac_status); } &&
78833 { ac_try='test -z "$ac_cxx_werror_flag"
78834 || test ! -s conftest.err'
78835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78836 (eval $ac_try) 2>&5
78837 ac_status=$?
78838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78839 (exit $ac_status); }; } &&
78840 { ac_try='test -s conftest.$ac_objext'
78841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78842 (eval $ac_try) 2>&5
78843 ac_status=$?
78844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78845 (exit $ac_status); }; }; then
78846 glibcxx_cv_func__logl_use=yes
78847 else
78848 echo "$as_me: failed program was:" >&5
78849 sed 's/^/| /' conftest.$ac_ext >&5
78851 glibcxx_cv_func__logl_use=no
78853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78854 ac_ext=c
78855 ac_cpp='$CPP $CPPFLAGS'
78856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78864 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
78865 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
78867 if test x$glibcxx_cv_func__logl_use = x"yes"; then
78869 for ac_func in _logl
78871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78872 echo "$as_me:$LINENO: checking for $ac_func" >&5
78873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78874 if eval "test \"\${$as_ac_var+set}\" = set"; then
78875 echo $ECHO_N "(cached) $ECHO_C" >&6
78876 else
78877 if test x$gcc_no_link = xyes; then
78878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78880 { (exit 1); exit 1; }; }
78882 cat >conftest.$ac_ext <<_ACEOF
78883 /* confdefs.h. */
78884 _ACEOF
78885 cat confdefs.h >>conftest.$ac_ext
78886 cat >>conftest.$ac_ext <<_ACEOF
78887 /* end confdefs.h. */
78888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78890 #define $ac_func innocuous_$ac_func
78892 /* System header to define __stub macros and hopefully few prototypes,
78893 which can conflict with char $ac_func (); below.
78894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78895 <limits.h> exists even on freestanding compilers. */
78897 #ifdef __STDC__
78898 # include <limits.h>
78899 #else
78900 # include <assert.h>
78901 #endif
78903 #undef $ac_func
78905 /* Override any gcc2 internal prototype to avoid an error. */
78906 #ifdef __cplusplus
78907 extern "C"
78909 #endif
78910 /* We use char because int might match the return type of a gcc2
78911 builtin and then its argument prototype would still apply. */
78912 char $ac_func ();
78913 /* The GNU C library defines this for functions which it implements
78914 to always fail with ENOSYS. Some functions are actually named
78915 something starting with __ and the normal name is an alias. */
78916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78917 choke me
78918 #else
78919 char (*f) () = $ac_func;
78920 #endif
78921 #ifdef __cplusplus
78923 #endif
78926 main ()
78928 return f != $ac_func;
78930 return 0;
78932 _ACEOF
78933 rm -f conftest.$ac_objext conftest$ac_exeext
78934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78935 (eval $ac_link) 2>conftest.er1
78936 ac_status=$?
78937 grep -v '^ *+' conftest.er1 >conftest.err
78938 rm -f conftest.er1
78939 cat conftest.err >&5
78940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78941 (exit $ac_status); } &&
78942 { ac_try='test -z "$ac_c_werror_flag"
78943 || test ! -s conftest.err'
78944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78945 (eval $ac_try) 2>&5
78946 ac_status=$?
78947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78948 (exit $ac_status); }; } &&
78949 { ac_try='test -s conftest$ac_exeext'
78950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78951 (eval $ac_try) 2>&5
78952 ac_status=$?
78953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78954 (exit $ac_status); }; }; then
78955 eval "$as_ac_var=yes"
78956 else
78957 echo "$as_me: failed program was:" >&5
78958 sed 's/^/| /' conftest.$ac_ext >&5
78960 eval "$as_ac_var=no"
78962 rm -f conftest.err conftest.$ac_objext \
78963 conftest$ac_exeext conftest.$ac_ext
78965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78967 if test `eval echo '${'$as_ac_var'}'` = yes; then
78968 cat >>confdefs.h <<_ACEOF
78969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78970 _ACEOF
78973 done
78983 echo "$as_me:$LINENO: checking for log10l declaration" >&5
78984 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
78985 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
78986 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
78987 echo $ECHO_N "(cached) $ECHO_C" >&6
78988 else
78992 ac_ext=cc
78993 ac_cpp='$CXXCPP $CPPFLAGS'
78994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78998 cat >conftest.$ac_ext <<_ACEOF
78999 /* confdefs.h. */
79000 _ACEOF
79001 cat confdefs.h >>conftest.$ac_ext
79002 cat >>conftest.$ac_ext <<_ACEOF
79003 /* end confdefs.h. */
79004 #include <math.h>
79005 #ifdef HAVE_IEEEFP_H
79006 #include <ieeefp.h>
79007 #endif
79010 main ()
79012 log10l(0);
79014 return 0;
79016 _ACEOF
79017 rm -f conftest.$ac_objext
79018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79019 (eval $ac_compile) 2>conftest.er1
79020 ac_status=$?
79021 grep -v '^ *+' conftest.er1 >conftest.err
79022 rm -f conftest.er1
79023 cat conftest.err >&5
79024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79025 (exit $ac_status); } &&
79026 { ac_try='test -z "$ac_cxx_werror_flag"
79027 || test ! -s conftest.err'
79028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79029 (eval $ac_try) 2>&5
79030 ac_status=$?
79031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79032 (exit $ac_status); }; } &&
79033 { ac_try='test -s conftest.$ac_objext'
79034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79035 (eval $ac_try) 2>&5
79036 ac_status=$?
79037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79038 (exit $ac_status); }; }; then
79039 glibcxx_cv_func_log10l_use=yes
79040 else
79041 echo "$as_me: failed program was:" >&5
79042 sed 's/^/| /' conftest.$ac_ext >&5
79044 glibcxx_cv_func_log10l_use=no
79046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79047 ac_ext=c
79048 ac_cpp='$CPP $CPPFLAGS'
79049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79057 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
79058 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
79060 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
79062 for ac_func in log10l
79064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79065 echo "$as_me:$LINENO: checking for $ac_func" >&5
79066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79067 if eval "test \"\${$as_ac_var+set}\" = set"; then
79068 echo $ECHO_N "(cached) $ECHO_C" >&6
79069 else
79070 if test x$gcc_no_link = xyes; then
79071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79073 { (exit 1); exit 1; }; }
79075 cat >conftest.$ac_ext <<_ACEOF
79076 /* confdefs.h. */
79077 _ACEOF
79078 cat confdefs.h >>conftest.$ac_ext
79079 cat >>conftest.$ac_ext <<_ACEOF
79080 /* end confdefs.h. */
79081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79083 #define $ac_func innocuous_$ac_func
79085 /* System header to define __stub macros and hopefully few prototypes,
79086 which can conflict with char $ac_func (); below.
79087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79088 <limits.h> exists even on freestanding compilers. */
79090 #ifdef __STDC__
79091 # include <limits.h>
79092 #else
79093 # include <assert.h>
79094 #endif
79096 #undef $ac_func
79098 /* Override any gcc2 internal prototype to avoid an error. */
79099 #ifdef __cplusplus
79100 extern "C"
79102 #endif
79103 /* We use char because int might match the return type of a gcc2
79104 builtin and then its argument prototype would still apply. */
79105 char $ac_func ();
79106 /* The GNU C library defines this for functions which it implements
79107 to always fail with ENOSYS. Some functions are actually named
79108 something starting with __ and the normal name is an alias. */
79109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79110 choke me
79111 #else
79112 char (*f) () = $ac_func;
79113 #endif
79114 #ifdef __cplusplus
79116 #endif
79119 main ()
79121 return f != $ac_func;
79123 return 0;
79125 _ACEOF
79126 rm -f conftest.$ac_objext conftest$ac_exeext
79127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79128 (eval $ac_link) 2>conftest.er1
79129 ac_status=$?
79130 grep -v '^ *+' conftest.er1 >conftest.err
79131 rm -f conftest.er1
79132 cat conftest.err >&5
79133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79134 (exit $ac_status); } &&
79135 { ac_try='test -z "$ac_c_werror_flag"
79136 || test ! -s conftest.err'
79137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79138 (eval $ac_try) 2>&5
79139 ac_status=$?
79140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79141 (exit $ac_status); }; } &&
79142 { ac_try='test -s conftest$ac_exeext'
79143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79144 (eval $ac_try) 2>&5
79145 ac_status=$?
79146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79147 (exit $ac_status); }; }; then
79148 eval "$as_ac_var=yes"
79149 else
79150 echo "$as_me: failed program was:" >&5
79151 sed 's/^/| /' conftest.$ac_ext >&5
79153 eval "$as_ac_var=no"
79155 rm -f conftest.err conftest.$ac_objext \
79156 conftest$ac_exeext conftest.$ac_ext
79158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79160 if test `eval echo '${'$as_ac_var'}'` = yes; then
79161 cat >>confdefs.h <<_ACEOF
79162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79163 _ACEOF
79166 done
79168 else
79170 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
79171 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
79172 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
79173 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
79174 echo $ECHO_N "(cached) $ECHO_C" >&6
79175 else
79179 ac_ext=cc
79180 ac_cpp='$CXXCPP $CPPFLAGS'
79181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79185 cat >conftest.$ac_ext <<_ACEOF
79186 /* confdefs.h. */
79187 _ACEOF
79188 cat confdefs.h >>conftest.$ac_ext
79189 cat >>conftest.$ac_ext <<_ACEOF
79190 /* end confdefs.h. */
79191 #include <math.h>
79192 #ifdef HAVE_IEEEFP_H
79193 #include <ieeefp.h>
79194 #endif
79197 main ()
79199 _log10l(0);
79201 return 0;
79203 _ACEOF
79204 rm -f conftest.$ac_objext
79205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79206 (eval $ac_compile) 2>conftest.er1
79207 ac_status=$?
79208 grep -v '^ *+' conftest.er1 >conftest.err
79209 rm -f conftest.er1
79210 cat conftest.err >&5
79211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79212 (exit $ac_status); } &&
79213 { ac_try='test -z "$ac_cxx_werror_flag"
79214 || test ! -s conftest.err'
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); }; } &&
79220 { ac_try='test -s conftest.$ac_objext'
79221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79222 (eval $ac_try) 2>&5
79223 ac_status=$?
79224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79225 (exit $ac_status); }; }; then
79226 glibcxx_cv_func__log10l_use=yes
79227 else
79228 echo "$as_me: failed program was:" >&5
79229 sed 's/^/| /' conftest.$ac_ext >&5
79231 glibcxx_cv_func__log10l_use=no
79233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79234 ac_ext=c
79235 ac_cpp='$CPP $CPPFLAGS'
79236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79244 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
79245 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
79247 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
79249 for ac_func in _log10l
79251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79252 echo "$as_me:$LINENO: checking for $ac_func" >&5
79253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79254 if eval "test \"\${$as_ac_var+set}\" = set"; then
79255 echo $ECHO_N "(cached) $ECHO_C" >&6
79256 else
79257 if test x$gcc_no_link = xyes; then
79258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79260 { (exit 1); exit 1; }; }
79262 cat >conftest.$ac_ext <<_ACEOF
79263 /* confdefs.h. */
79264 _ACEOF
79265 cat confdefs.h >>conftest.$ac_ext
79266 cat >>conftest.$ac_ext <<_ACEOF
79267 /* end confdefs.h. */
79268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79270 #define $ac_func innocuous_$ac_func
79272 /* System header to define __stub macros and hopefully few prototypes,
79273 which can conflict with char $ac_func (); below.
79274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79275 <limits.h> exists even on freestanding compilers. */
79277 #ifdef __STDC__
79278 # include <limits.h>
79279 #else
79280 # include <assert.h>
79281 #endif
79283 #undef $ac_func
79285 /* Override any gcc2 internal prototype to avoid an error. */
79286 #ifdef __cplusplus
79287 extern "C"
79289 #endif
79290 /* We use char because int might match the return type of a gcc2
79291 builtin and then its argument prototype would still apply. */
79292 char $ac_func ();
79293 /* The GNU C library defines this for functions which it implements
79294 to always fail with ENOSYS. Some functions are actually named
79295 something starting with __ and the normal name is an alias. */
79296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79297 choke me
79298 #else
79299 char (*f) () = $ac_func;
79300 #endif
79301 #ifdef __cplusplus
79303 #endif
79306 main ()
79308 return f != $ac_func;
79310 return 0;
79312 _ACEOF
79313 rm -f conftest.$ac_objext conftest$ac_exeext
79314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79315 (eval $ac_link) 2>conftest.er1
79316 ac_status=$?
79317 grep -v '^ *+' conftest.er1 >conftest.err
79318 rm -f conftest.er1
79319 cat conftest.err >&5
79320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79321 (exit $ac_status); } &&
79322 { ac_try='test -z "$ac_c_werror_flag"
79323 || test ! -s conftest.err'
79324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79325 (eval $ac_try) 2>&5
79326 ac_status=$?
79327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79328 (exit $ac_status); }; } &&
79329 { ac_try='test -s conftest$ac_exeext'
79330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79331 (eval $ac_try) 2>&5
79332 ac_status=$?
79333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79334 (exit $ac_status); }; }; then
79335 eval "$as_ac_var=yes"
79336 else
79337 echo "$as_me: failed program was:" >&5
79338 sed 's/^/| /' conftest.$ac_ext >&5
79340 eval "$as_ac_var=no"
79342 rm -f conftest.err conftest.$ac_objext \
79343 conftest$ac_exeext conftest.$ac_ext
79345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79347 if test `eval echo '${'$as_ac_var'}'` = yes; then
79348 cat >>confdefs.h <<_ACEOF
79349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79350 _ACEOF
79353 done
79363 echo "$as_me:$LINENO: checking for modfl declaration" >&5
79364 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
79365 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
79366 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
79367 echo $ECHO_N "(cached) $ECHO_C" >&6
79368 else
79372 ac_ext=cc
79373 ac_cpp='$CXXCPP $CPPFLAGS'
79374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79378 cat >conftest.$ac_ext <<_ACEOF
79379 /* confdefs.h. */
79380 _ACEOF
79381 cat confdefs.h >>conftest.$ac_ext
79382 cat >>conftest.$ac_ext <<_ACEOF
79383 /* end confdefs.h. */
79384 #include <math.h>
79386 main ()
79388 modfl(0, 0);
79390 return 0;
79392 _ACEOF
79393 rm -f conftest.$ac_objext
79394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79395 (eval $ac_compile) 2>conftest.er1
79396 ac_status=$?
79397 grep -v '^ *+' conftest.er1 >conftest.err
79398 rm -f conftest.er1
79399 cat conftest.err >&5
79400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79401 (exit $ac_status); } &&
79402 { ac_try='test -z "$ac_cxx_werror_flag"
79403 || test ! -s conftest.err'
79404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79405 (eval $ac_try) 2>&5
79406 ac_status=$?
79407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79408 (exit $ac_status); }; } &&
79409 { ac_try='test -s conftest.$ac_objext'
79410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79411 (eval $ac_try) 2>&5
79412 ac_status=$?
79413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79414 (exit $ac_status); }; }; then
79415 glibcxx_cv_func_modfl_use=yes
79416 else
79417 echo "$as_me: failed program was:" >&5
79418 sed 's/^/| /' conftest.$ac_ext >&5
79420 glibcxx_cv_func_modfl_use=no
79422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79423 ac_ext=c
79424 ac_cpp='$CPP $CPPFLAGS'
79425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79433 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
79434 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
79436 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
79438 for ac_func in modfl
79440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79441 echo "$as_me:$LINENO: checking for $ac_func" >&5
79442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79443 if eval "test \"\${$as_ac_var+set}\" = set"; then
79444 echo $ECHO_N "(cached) $ECHO_C" >&6
79445 else
79446 if test x$gcc_no_link = xyes; then
79447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79449 { (exit 1); exit 1; }; }
79451 cat >conftest.$ac_ext <<_ACEOF
79452 /* confdefs.h. */
79453 _ACEOF
79454 cat confdefs.h >>conftest.$ac_ext
79455 cat >>conftest.$ac_ext <<_ACEOF
79456 /* end confdefs.h. */
79457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79459 #define $ac_func innocuous_$ac_func
79461 /* System header to define __stub macros and hopefully few prototypes,
79462 which can conflict with char $ac_func (); below.
79463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79464 <limits.h> exists even on freestanding compilers. */
79466 #ifdef __STDC__
79467 # include <limits.h>
79468 #else
79469 # include <assert.h>
79470 #endif
79472 #undef $ac_func
79474 /* Override any gcc2 internal prototype to avoid an error. */
79475 #ifdef __cplusplus
79476 extern "C"
79478 #endif
79479 /* We use char because int might match the return type of a gcc2
79480 builtin and then its argument prototype would still apply. */
79481 char $ac_func ();
79482 /* The GNU C library defines this for functions which it implements
79483 to always fail with ENOSYS. Some functions are actually named
79484 something starting with __ and the normal name is an alias. */
79485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79486 choke me
79487 #else
79488 char (*f) () = $ac_func;
79489 #endif
79490 #ifdef __cplusplus
79492 #endif
79495 main ()
79497 return f != $ac_func;
79499 return 0;
79501 _ACEOF
79502 rm -f conftest.$ac_objext conftest$ac_exeext
79503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79504 (eval $ac_link) 2>conftest.er1
79505 ac_status=$?
79506 grep -v '^ *+' conftest.er1 >conftest.err
79507 rm -f conftest.er1
79508 cat conftest.err >&5
79509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79510 (exit $ac_status); } &&
79511 { ac_try='test -z "$ac_c_werror_flag"
79512 || test ! -s conftest.err'
79513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79514 (eval $ac_try) 2>&5
79515 ac_status=$?
79516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79517 (exit $ac_status); }; } &&
79518 { ac_try='test -s conftest$ac_exeext'
79519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79520 (eval $ac_try) 2>&5
79521 ac_status=$?
79522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79523 (exit $ac_status); }; }; then
79524 eval "$as_ac_var=yes"
79525 else
79526 echo "$as_me: failed program was:" >&5
79527 sed 's/^/| /' conftest.$ac_ext >&5
79529 eval "$as_ac_var=no"
79531 rm -f conftest.err conftest.$ac_objext \
79532 conftest$ac_exeext conftest.$ac_ext
79534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79536 if test `eval echo '${'$as_ac_var'}'` = yes; then
79537 cat >>confdefs.h <<_ACEOF
79538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79539 _ACEOF
79542 done
79544 else
79546 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
79547 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
79548 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
79549 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
79550 echo $ECHO_N "(cached) $ECHO_C" >&6
79551 else
79555 ac_ext=cc
79556 ac_cpp='$CXXCPP $CPPFLAGS'
79557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79561 cat >conftest.$ac_ext <<_ACEOF
79562 /* confdefs.h. */
79563 _ACEOF
79564 cat confdefs.h >>conftest.$ac_ext
79565 cat >>conftest.$ac_ext <<_ACEOF
79566 /* end confdefs.h. */
79567 #include <math.h>
79569 main ()
79571 _modfl(0, 0);
79573 return 0;
79575 _ACEOF
79576 rm -f conftest.$ac_objext
79577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79578 (eval $ac_compile) 2>conftest.er1
79579 ac_status=$?
79580 grep -v '^ *+' conftest.er1 >conftest.err
79581 rm -f conftest.er1
79582 cat conftest.err >&5
79583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79584 (exit $ac_status); } &&
79585 { ac_try='test -z "$ac_cxx_werror_flag"
79586 || test ! -s conftest.err'
79587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79588 (eval $ac_try) 2>&5
79589 ac_status=$?
79590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79591 (exit $ac_status); }; } &&
79592 { ac_try='test -s conftest.$ac_objext'
79593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79594 (eval $ac_try) 2>&5
79595 ac_status=$?
79596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79597 (exit $ac_status); }; }; then
79598 glibcxx_cv_func__modfl_use=yes
79599 else
79600 echo "$as_me: failed program was:" >&5
79601 sed 's/^/| /' conftest.$ac_ext >&5
79603 glibcxx_cv_func__modfl_use=no
79605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79606 ac_ext=c
79607 ac_cpp='$CPP $CPPFLAGS'
79608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79616 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
79617 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
79619 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
79621 for ac_func in _modfl
79623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79624 echo "$as_me:$LINENO: checking for $ac_func" >&5
79625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79626 if eval "test \"\${$as_ac_var+set}\" = set"; then
79627 echo $ECHO_N "(cached) $ECHO_C" >&6
79628 else
79629 if test x$gcc_no_link = xyes; then
79630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79632 { (exit 1); exit 1; }; }
79634 cat >conftest.$ac_ext <<_ACEOF
79635 /* confdefs.h. */
79636 _ACEOF
79637 cat confdefs.h >>conftest.$ac_ext
79638 cat >>conftest.$ac_ext <<_ACEOF
79639 /* end confdefs.h. */
79640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79642 #define $ac_func innocuous_$ac_func
79644 /* System header to define __stub macros and hopefully few prototypes,
79645 which can conflict with char $ac_func (); below.
79646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79647 <limits.h> exists even on freestanding compilers. */
79649 #ifdef __STDC__
79650 # include <limits.h>
79651 #else
79652 # include <assert.h>
79653 #endif
79655 #undef $ac_func
79657 /* Override any gcc2 internal prototype to avoid an error. */
79658 #ifdef __cplusplus
79659 extern "C"
79661 #endif
79662 /* We use char because int might match the return type of a gcc2
79663 builtin and then its argument prototype would still apply. */
79664 char $ac_func ();
79665 /* The GNU C library defines this for functions which it implements
79666 to always fail with ENOSYS. Some functions are actually named
79667 something starting with __ and the normal name is an alias. */
79668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79669 choke me
79670 #else
79671 char (*f) () = $ac_func;
79672 #endif
79673 #ifdef __cplusplus
79675 #endif
79678 main ()
79680 return f != $ac_func;
79682 return 0;
79684 _ACEOF
79685 rm -f conftest.$ac_objext conftest$ac_exeext
79686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79687 (eval $ac_link) 2>conftest.er1
79688 ac_status=$?
79689 grep -v '^ *+' conftest.er1 >conftest.err
79690 rm -f conftest.er1
79691 cat conftest.err >&5
79692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79693 (exit $ac_status); } &&
79694 { ac_try='test -z "$ac_c_werror_flag"
79695 || test ! -s conftest.err'
79696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79697 (eval $ac_try) 2>&5
79698 ac_status=$?
79699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79700 (exit $ac_status); }; } &&
79701 { ac_try='test -s conftest$ac_exeext'
79702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79703 (eval $ac_try) 2>&5
79704 ac_status=$?
79705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79706 (exit $ac_status); }; }; then
79707 eval "$as_ac_var=yes"
79708 else
79709 echo "$as_me: failed program was:" >&5
79710 sed 's/^/| /' conftest.$ac_ext >&5
79712 eval "$as_ac_var=no"
79714 rm -f conftest.err conftest.$ac_objext \
79715 conftest$ac_exeext conftest.$ac_ext
79717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79719 if test `eval echo '${'$as_ac_var'}'` = yes; then
79720 cat >>confdefs.h <<_ACEOF
79721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79722 _ACEOF
79725 done
79735 echo "$as_me:$LINENO: checking for powl declaration" >&5
79736 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
79737 if test x${glibcxx_cv_func_powl_use+set} != xset; then
79738 if test "${glibcxx_cv_func_powl_use+set}" = set; then
79739 echo $ECHO_N "(cached) $ECHO_C" >&6
79740 else
79744 ac_ext=cc
79745 ac_cpp='$CXXCPP $CPPFLAGS'
79746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79750 cat >conftest.$ac_ext <<_ACEOF
79751 /* confdefs.h. */
79752 _ACEOF
79753 cat confdefs.h >>conftest.$ac_ext
79754 cat >>conftest.$ac_ext <<_ACEOF
79755 /* end confdefs.h. */
79756 #include <math.h>
79758 main ()
79760 powl(0, 0);
79762 return 0;
79764 _ACEOF
79765 rm -f conftest.$ac_objext
79766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79767 (eval $ac_compile) 2>conftest.er1
79768 ac_status=$?
79769 grep -v '^ *+' conftest.er1 >conftest.err
79770 rm -f conftest.er1
79771 cat conftest.err >&5
79772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79773 (exit $ac_status); } &&
79774 { ac_try='test -z "$ac_cxx_werror_flag"
79775 || test ! -s conftest.err'
79776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79777 (eval $ac_try) 2>&5
79778 ac_status=$?
79779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79780 (exit $ac_status); }; } &&
79781 { ac_try='test -s conftest.$ac_objext'
79782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79783 (eval $ac_try) 2>&5
79784 ac_status=$?
79785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79786 (exit $ac_status); }; }; then
79787 glibcxx_cv_func_powl_use=yes
79788 else
79789 echo "$as_me: failed program was:" >&5
79790 sed 's/^/| /' conftest.$ac_ext >&5
79792 glibcxx_cv_func_powl_use=no
79794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79795 ac_ext=c
79796 ac_cpp='$CPP $CPPFLAGS'
79797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79805 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
79806 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
79808 if test x$glibcxx_cv_func_powl_use = x"yes"; then
79810 for ac_func in powl
79812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79813 echo "$as_me:$LINENO: checking for $ac_func" >&5
79814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79815 if eval "test \"\${$as_ac_var+set}\" = set"; then
79816 echo $ECHO_N "(cached) $ECHO_C" >&6
79817 else
79818 if test x$gcc_no_link = xyes; then
79819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79821 { (exit 1); exit 1; }; }
79823 cat >conftest.$ac_ext <<_ACEOF
79824 /* confdefs.h. */
79825 _ACEOF
79826 cat confdefs.h >>conftest.$ac_ext
79827 cat >>conftest.$ac_ext <<_ACEOF
79828 /* end confdefs.h. */
79829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79831 #define $ac_func innocuous_$ac_func
79833 /* System header to define __stub macros and hopefully few prototypes,
79834 which can conflict with char $ac_func (); below.
79835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79836 <limits.h> exists even on freestanding compilers. */
79838 #ifdef __STDC__
79839 # include <limits.h>
79840 #else
79841 # include <assert.h>
79842 #endif
79844 #undef $ac_func
79846 /* Override any gcc2 internal prototype to avoid an error. */
79847 #ifdef __cplusplus
79848 extern "C"
79850 #endif
79851 /* We use char because int might match the return type of a gcc2
79852 builtin and then its argument prototype would still apply. */
79853 char $ac_func ();
79854 /* The GNU C library defines this for functions which it implements
79855 to always fail with ENOSYS. Some functions are actually named
79856 something starting with __ and the normal name is an alias. */
79857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79858 choke me
79859 #else
79860 char (*f) () = $ac_func;
79861 #endif
79862 #ifdef __cplusplus
79864 #endif
79867 main ()
79869 return f != $ac_func;
79871 return 0;
79873 _ACEOF
79874 rm -f conftest.$ac_objext conftest$ac_exeext
79875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79876 (eval $ac_link) 2>conftest.er1
79877 ac_status=$?
79878 grep -v '^ *+' conftest.er1 >conftest.err
79879 rm -f conftest.er1
79880 cat conftest.err >&5
79881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79882 (exit $ac_status); } &&
79883 { ac_try='test -z "$ac_c_werror_flag"
79884 || test ! -s conftest.err'
79885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79886 (eval $ac_try) 2>&5
79887 ac_status=$?
79888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79889 (exit $ac_status); }; } &&
79890 { ac_try='test -s conftest$ac_exeext'
79891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79892 (eval $ac_try) 2>&5
79893 ac_status=$?
79894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79895 (exit $ac_status); }; }; then
79896 eval "$as_ac_var=yes"
79897 else
79898 echo "$as_me: failed program was:" >&5
79899 sed 's/^/| /' conftest.$ac_ext >&5
79901 eval "$as_ac_var=no"
79903 rm -f conftest.err conftest.$ac_objext \
79904 conftest$ac_exeext conftest.$ac_ext
79906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79908 if test `eval echo '${'$as_ac_var'}'` = yes; then
79909 cat >>confdefs.h <<_ACEOF
79910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79911 _ACEOF
79914 done
79916 else
79918 echo "$as_me:$LINENO: checking for _powl declaration" >&5
79919 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
79920 if test x${glibcxx_cv_func__powl_use+set} != xset; then
79921 if test "${glibcxx_cv_func__powl_use+set}" = set; then
79922 echo $ECHO_N "(cached) $ECHO_C" >&6
79923 else
79927 ac_ext=cc
79928 ac_cpp='$CXXCPP $CPPFLAGS'
79929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79933 cat >conftest.$ac_ext <<_ACEOF
79934 /* confdefs.h. */
79935 _ACEOF
79936 cat confdefs.h >>conftest.$ac_ext
79937 cat >>conftest.$ac_ext <<_ACEOF
79938 /* end confdefs.h. */
79939 #include <math.h>
79941 main ()
79943 _powl(0, 0);
79945 return 0;
79947 _ACEOF
79948 rm -f conftest.$ac_objext
79949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79950 (eval $ac_compile) 2>conftest.er1
79951 ac_status=$?
79952 grep -v '^ *+' conftest.er1 >conftest.err
79953 rm -f conftest.er1
79954 cat conftest.err >&5
79955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79956 (exit $ac_status); } &&
79957 { ac_try='test -z "$ac_cxx_werror_flag"
79958 || test ! -s conftest.err'
79959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79960 (eval $ac_try) 2>&5
79961 ac_status=$?
79962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79963 (exit $ac_status); }; } &&
79964 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
79970 glibcxx_cv_func__powl_use=yes
79971 else
79972 echo "$as_me: failed program was:" >&5
79973 sed 's/^/| /' conftest.$ac_ext >&5
79975 glibcxx_cv_func__powl_use=no
79977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79978 ac_ext=c
79979 ac_cpp='$CPP $CPPFLAGS'
79980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79988 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
79989 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
79991 if test x$glibcxx_cv_func__powl_use = x"yes"; then
79993 for ac_func in _powl
79995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79996 echo "$as_me:$LINENO: checking for $ac_func" >&5
79997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79998 if eval "test \"\${$as_ac_var+set}\" = set"; then
79999 echo $ECHO_N "(cached) $ECHO_C" >&6
80000 else
80001 if test x$gcc_no_link = xyes; then
80002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80004 { (exit 1); exit 1; }; }
80006 cat >conftest.$ac_ext <<_ACEOF
80007 /* confdefs.h. */
80008 _ACEOF
80009 cat confdefs.h >>conftest.$ac_ext
80010 cat >>conftest.$ac_ext <<_ACEOF
80011 /* end confdefs.h. */
80012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80014 #define $ac_func innocuous_$ac_func
80016 /* System header to define __stub macros and hopefully few prototypes,
80017 which can conflict with char $ac_func (); below.
80018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80019 <limits.h> exists even on freestanding compilers. */
80021 #ifdef __STDC__
80022 # include <limits.h>
80023 #else
80024 # include <assert.h>
80025 #endif
80027 #undef $ac_func
80029 /* Override any gcc2 internal prototype to avoid an error. */
80030 #ifdef __cplusplus
80031 extern "C"
80033 #endif
80034 /* We use char because int might match the return type of a gcc2
80035 builtin and then its argument prototype would still apply. */
80036 char $ac_func ();
80037 /* The GNU C library defines this for functions which it implements
80038 to always fail with ENOSYS. Some functions are actually named
80039 something starting with __ and the normal name is an alias. */
80040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80041 choke me
80042 #else
80043 char (*f) () = $ac_func;
80044 #endif
80045 #ifdef __cplusplus
80047 #endif
80050 main ()
80052 return f != $ac_func;
80054 return 0;
80056 _ACEOF
80057 rm -f conftest.$ac_objext conftest$ac_exeext
80058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80059 (eval $ac_link) 2>conftest.er1
80060 ac_status=$?
80061 grep -v '^ *+' conftest.er1 >conftest.err
80062 rm -f conftest.er1
80063 cat conftest.err >&5
80064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80065 (exit $ac_status); } &&
80066 { ac_try='test -z "$ac_c_werror_flag"
80067 || test ! -s conftest.err'
80068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80069 (eval $ac_try) 2>&5
80070 ac_status=$?
80071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80072 (exit $ac_status); }; } &&
80073 { ac_try='test -s conftest$ac_exeext'
80074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80075 (eval $ac_try) 2>&5
80076 ac_status=$?
80077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80078 (exit $ac_status); }; }; then
80079 eval "$as_ac_var=yes"
80080 else
80081 echo "$as_me: failed program was:" >&5
80082 sed 's/^/| /' conftest.$ac_ext >&5
80084 eval "$as_ac_var=no"
80086 rm -f conftest.err conftest.$ac_objext \
80087 conftest$ac_exeext conftest.$ac_ext
80089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80091 if test `eval echo '${'$as_ac_var'}'` = yes; then
80092 cat >>confdefs.h <<_ACEOF
80093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80094 _ACEOF
80097 done
80107 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
80108 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
80109 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
80110 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
80111 echo $ECHO_N "(cached) $ECHO_C" >&6
80112 else
80116 ac_ext=cc
80117 ac_cpp='$CXXCPP $CPPFLAGS'
80118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80122 cat >conftest.$ac_ext <<_ACEOF
80123 /* confdefs.h. */
80124 _ACEOF
80125 cat confdefs.h >>conftest.$ac_ext
80126 cat >>conftest.$ac_ext <<_ACEOF
80127 /* end confdefs.h. */
80128 #include <math.h>
80129 #ifdef HAVE_IEEEFP_H
80130 #include <ieeefp.h>
80131 #endif
80134 main ()
80136 sqrtl(0);
80138 return 0;
80140 _ACEOF
80141 rm -f conftest.$ac_objext
80142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80143 (eval $ac_compile) 2>conftest.er1
80144 ac_status=$?
80145 grep -v '^ *+' conftest.er1 >conftest.err
80146 rm -f conftest.er1
80147 cat conftest.err >&5
80148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80149 (exit $ac_status); } &&
80150 { ac_try='test -z "$ac_cxx_werror_flag"
80151 || test ! -s conftest.err'
80152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80153 (eval $ac_try) 2>&5
80154 ac_status=$?
80155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80156 (exit $ac_status); }; } &&
80157 { ac_try='test -s conftest.$ac_objext'
80158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80159 (eval $ac_try) 2>&5
80160 ac_status=$?
80161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80162 (exit $ac_status); }; }; then
80163 glibcxx_cv_func_sqrtl_use=yes
80164 else
80165 echo "$as_me: failed program was:" >&5
80166 sed 's/^/| /' conftest.$ac_ext >&5
80168 glibcxx_cv_func_sqrtl_use=no
80170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80171 ac_ext=c
80172 ac_cpp='$CPP $CPPFLAGS'
80173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80181 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
80182 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
80184 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
80186 for ac_func in sqrtl
80188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80189 echo "$as_me:$LINENO: checking for $ac_func" >&5
80190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80191 if eval "test \"\${$as_ac_var+set}\" = set"; then
80192 echo $ECHO_N "(cached) $ECHO_C" >&6
80193 else
80194 if test x$gcc_no_link = xyes; then
80195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80197 { (exit 1); exit 1; }; }
80199 cat >conftest.$ac_ext <<_ACEOF
80200 /* confdefs.h. */
80201 _ACEOF
80202 cat confdefs.h >>conftest.$ac_ext
80203 cat >>conftest.$ac_ext <<_ACEOF
80204 /* end confdefs.h. */
80205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80207 #define $ac_func innocuous_$ac_func
80209 /* System header to define __stub macros and hopefully few prototypes,
80210 which can conflict with char $ac_func (); below.
80211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80212 <limits.h> exists even on freestanding compilers. */
80214 #ifdef __STDC__
80215 # include <limits.h>
80216 #else
80217 # include <assert.h>
80218 #endif
80220 #undef $ac_func
80222 /* Override any gcc2 internal prototype to avoid an error. */
80223 #ifdef __cplusplus
80224 extern "C"
80226 #endif
80227 /* We use char because int might match the return type of a gcc2
80228 builtin and then its argument prototype would still apply. */
80229 char $ac_func ();
80230 /* The GNU C library defines this for functions which it implements
80231 to always fail with ENOSYS. Some functions are actually named
80232 something starting with __ and the normal name is an alias. */
80233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80234 choke me
80235 #else
80236 char (*f) () = $ac_func;
80237 #endif
80238 #ifdef __cplusplus
80240 #endif
80243 main ()
80245 return f != $ac_func;
80247 return 0;
80249 _ACEOF
80250 rm -f conftest.$ac_objext conftest$ac_exeext
80251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80252 (eval $ac_link) 2>conftest.er1
80253 ac_status=$?
80254 grep -v '^ *+' conftest.er1 >conftest.err
80255 rm -f conftest.er1
80256 cat conftest.err >&5
80257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80258 (exit $ac_status); } &&
80259 { ac_try='test -z "$ac_c_werror_flag"
80260 || test ! -s conftest.err'
80261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80262 (eval $ac_try) 2>&5
80263 ac_status=$?
80264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80265 (exit $ac_status); }; } &&
80266 { ac_try='test -s conftest$ac_exeext'
80267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80268 (eval $ac_try) 2>&5
80269 ac_status=$?
80270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80271 (exit $ac_status); }; }; then
80272 eval "$as_ac_var=yes"
80273 else
80274 echo "$as_me: failed program was:" >&5
80275 sed 's/^/| /' conftest.$ac_ext >&5
80277 eval "$as_ac_var=no"
80279 rm -f conftest.err conftest.$ac_objext \
80280 conftest$ac_exeext conftest.$ac_ext
80282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80284 if test `eval echo '${'$as_ac_var'}'` = yes; then
80285 cat >>confdefs.h <<_ACEOF
80286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80287 _ACEOF
80290 done
80292 else
80294 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
80295 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
80296 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
80297 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
80298 echo $ECHO_N "(cached) $ECHO_C" >&6
80299 else
80303 ac_ext=cc
80304 ac_cpp='$CXXCPP $CPPFLAGS'
80305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80309 cat >conftest.$ac_ext <<_ACEOF
80310 /* confdefs.h. */
80311 _ACEOF
80312 cat confdefs.h >>conftest.$ac_ext
80313 cat >>conftest.$ac_ext <<_ACEOF
80314 /* end confdefs.h. */
80315 #include <math.h>
80316 #ifdef HAVE_IEEEFP_H
80317 #include <ieeefp.h>
80318 #endif
80321 main ()
80323 _sqrtl(0);
80325 return 0;
80327 _ACEOF
80328 rm -f conftest.$ac_objext
80329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80330 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__sqrtl_use=yes
80351 else
80352 echo "$as_me: failed program was:" >&5
80353 sed 's/^/| /' conftest.$ac_ext >&5
80355 glibcxx_cv_func__sqrtl_use=no
80357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80358 ac_ext=c
80359 ac_cpp='$CPP $CPPFLAGS'
80360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80368 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
80369 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
80371 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
80373 for ac_func in _sqrtl
80375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80376 echo "$as_me:$LINENO: checking for $ac_func" >&5
80377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80378 if eval "test \"\${$as_ac_var+set}\" = set"; then
80379 echo $ECHO_N "(cached) $ECHO_C" >&6
80380 else
80381 if test x$gcc_no_link = xyes; then
80382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80384 { (exit 1); exit 1; }; }
80386 cat >conftest.$ac_ext <<_ACEOF
80387 /* confdefs.h. */
80388 _ACEOF
80389 cat confdefs.h >>conftest.$ac_ext
80390 cat >>conftest.$ac_ext <<_ACEOF
80391 /* end confdefs.h. */
80392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80394 #define $ac_func innocuous_$ac_func
80396 /* System header to define __stub macros and hopefully few prototypes,
80397 which can conflict with char $ac_func (); below.
80398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80399 <limits.h> exists even on freestanding compilers. */
80401 #ifdef __STDC__
80402 # include <limits.h>
80403 #else
80404 # include <assert.h>
80405 #endif
80407 #undef $ac_func
80409 /* Override any gcc2 internal prototype to avoid an error. */
80410 #ifdef __cplusplus
80411 extern "C"
80413 #endif
80414 /* We use char because int might match the return type of a gcc2
80415 builtin and then its argument prototype would still apply. */
80416 char $ac_func ();
80417 /* The GNU C library defines this for functions which it implements
80418 to always fail with ENOSYS. Some functions are actually named
80419 something starting with __ and the normal name is an alias. */
80420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80421 choke me
80422 #else
80423 char (*f) () = $ac_func;
80424 #endif
80425 #ifdef __cplusplus
80427 #endif
80430 main ()
80432 return f != $ac_func;
80434 return 0;
80436 _ACEOF
80437 rm -f conftest.$ac_objext conftest$ac_exeext
80438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80439 (eval $ac_link) 2>conftest.er1
80440 ac_status=$?
80441 grep -v '^ *+' conftest.er1 >conftest.err
80442 rm -f conftest.er1
80443 cat conftest.err >&5
80444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80445 (exit $ac_status); } &&
80446 { ac_try='test -z "$ac_c_werror_flag"
80447 || test ! -s conftest.err'
80448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80449 (eval $ac_try) 2>&5
80450 ac_status=$?
80451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80452 (exit $ac_status); }; } &&
80453 { ac_try='test -s conftest$ac_exeext'
80454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80455 (eval $ac_try) 2>&5
80456 ac_status=$?
80457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80458 (exit $ac_status); }; }; then
80459 eval "$as_ac_var=yes"
80460 else
80461 echo "$as_me: failed program was:" >&5
80462 sed 's/^/| /' conftest.$ac_ext >&5
80464 eval "$as_ac_var=no"
80466 rm -f conftest.err conftest.$ac_objext \
80467 conftest$ac_exeext conftest.$ac_ext
80469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80471 if test `eval echo '${'$as_ac_var'}'` = yes; then
80472 cat >>confdefs.h <<_ACEOF
80473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80474 _ACEOF
80477 done
80487 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
80488 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
80489 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
80490 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
80491 echo $ECHO_N "(cached) $ECHO_C" >&6
80492 else
80496 ac_ext=cc
80497 ac_cpp='$CXXCPP $CPPFLAGS'
80498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80502 cat >conftest.$ac_ext <<_ACEOF
80503 /* confdefs.h. */
80504 _ACEOF
80505 cat confdefs.h >>conftest.$ac_ext
80506 cat >>conftest.$ac_ext <<_ACEOF
80507 /* end confdefs.h. */
80508 #include <math.h>
80510 main ()
80512 sincosl(0, 0, 0);
80514 return 0;
80516 _ACEOF
80517 rm -f conftest.$ac_objext
80518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80519 (eval $ac_compile) 2>conftest.er1
80520 ac_status=$?
80521 grep -v '^ *+' conftest.er1 >conftest.err
80522 rm -f conftest.er1
80523 cat conftest.err >&5
80524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80525 (exit $ac_status); } &&
80526 { ac_try='test -z "$ac_cxx_werror_flag"
80527 || test ! -s conftest.err'
80528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80529 (eval $ac_try) 2>&5
80530 ac_status=$?
80531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80532 (exit $ac_status); }; } &&
80533 { ac_try='test -s conftest.$ac_objext'
80534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80535 (eval $ac_try) 2>&5
80536 ac_status=$?
80537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80538 (exit $ac_status); }; }; then
80539 glibcxx_cv_func_sincosl_use=yes
80540 else
80541 echo "$as_me: failed program was:" >&5
80542 sed 's/^/| /' conftest.$ac_ext >&5
80544 glibcxx_cv_func_sincosl_use=no
80546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80547 ac_ext=c
80548 ac_cpp='$CPP $CPPFLAGS'
80549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80557 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
80558 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
80560 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
80562 for ac_func in sincosl
80564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80565 echo "$as_me:$LINENO: checking for $ac_func" >&5
80566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80567 if eval "test \"\${$as_ac_var+set}\" = set"; then
80568 echo $ECHO_N "(cached) $ECHO_C" >&6
80569 else
80570 if test x$gcc_no_link = xyes; then
80571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80573 { (exit 1); exit 1; }; }
80575 cat >conftest.$ac_ext <<_ACEOF
80576 /* confdefs.h. */
80577 _ACEOF
80578 cat confdefs.h >>conftest.$ac_ext
80579 cat >>conftest.$ac_ext <<_ACEOF
80580 /* end confdefs.h. */
80581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80583 #define $ac_func innocuous_$ac_func
80585 /* System header to define __stub macros and hopefully few prototypes,
80586 which can conflict with char $ac_func (); below.
80587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80588 <limits.h> exists even on freestanding compilers. */
80590 #ifdef __STDC__
80591 # include <limits.h>
80592 #else
80593 # include <assert.h>
80594 #endif
80596 #undef $ac_func
80598 /* Override any gcc2 internal prototype to avoid an error. */
80599 #ifdef __cplusplus
80600 extern "C"
80602 #endif
80603 /* We use char because int might match the return type of a gcc2
80604 builtin and then its argument prototype would still apply. */
80605 char $ac_func ();
80606 /* The GNU C library defines this for functions which it implements
80607 to always fail with ENOSYS. Some functions are actually named
80608 something starting with __ and the normal name is an alias. */
80609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80610 choke me
80611 #else
80612 char (*f) () = $ac_func;
80613 #endif
80614 #ifdef __cplusplus
80616 #endif
80619 main ()
80621 return f != $ac_func;
80623 return 0;
80625 _ACEOF
80626 rm -f conftest.$ac_objext conftest$ac_exeext
80627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80628 (eval $ac_link) 2>conftest.er1
80629 ac_status=$?
80630 grep -v '^ *+' conftest.er1 >conftest.err
80631 rm -f conftest.er1
80632 cat conftest.err >&5
80633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80634 (exit $ac_status); } &&
80635 { ac_try='test -z "$ac_c_werror_flag"
80636 || test ! -s conftest.err'
80637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80638 (eval $ac_try) 2>&5
80639 ac_status=$?
80640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80641 (exit $ac_status); }; } &&
80642 { ac_try='test -s conftest$ac_exeext'
80643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80644 (eval $ac_try) 2>&5
80645 ac_status=$?
80646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80647 (exit $ac_status); }; }; then
80648 eval "$as_ac_var=yes"
80649 else
80650 echo "$as_me: failed program was:" >&5
80651 sed 's/^/| /' conftest.$ac_ext >&5
80653 eval "$as_ac_var=no"
80655 rm -f conftest.err conftest.$ac_objext \
80656 conftest$ac_exeext conftest.$ac_ext
80658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80660 if test `eval echo '${'$as_ac_var'}'` = yes; then
80661 cat >>confdefs.h <<_ACEOF
80662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80663 _ACEOF
80666 done
80668 else
80670 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
80671 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
80672 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
80673 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
80674 echo $ECHO_N "(cached) $ECHO_C" >&6
80675 else
80679 ac_ext=cc
80680 ac_cpp='$CXXCPP $CPPFLAGS'
80681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80685 cat >conftest.$ac_ext <<_ACEOF
80686 /* confdefs.h. */
80687 _ACEOF
80688 cat confdefs.h >>conftest.$ac_ext
80689 cat >>conftest.$ac_ext <<_ACEOF
80690 /* end confdefs.h. */
80691 #include <math.h>
80693 main ()
80695 _sincosl(0, 0, 0);
80697 return 0;
80699 _ACEOF
80700 rm -f conftest.$ac_objext
80701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80702 (eval $ac_compile) 2>conftest.er1
80703 ac_status=$?
80704 grep -v '^ *+' conftest.er1 >conftest.err
80705 rm -f conftest.er1
80706 cat conftest.err >&5
80707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80708 (exit $ac_status); } &&
80709 { ac_try='test -z "$ac_cxx_werror_flag"
80710 || test ! -s conftest.err'
80711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80712 (eval $ac_try) 2>&5
80713 ac_status=$?
80714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80715 (exit $ac_status); }; } &&
80716 { ac_try='test -s conftest.$ac_objext'
80717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80718 (eval $ac_try) 2>&5
80719 ac_status=$?
80720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80721 (exit $ac_status); }; }; then
80722 glibcxx_cv_func__sincosl_use=yes
80723 else
80724 echo "$as_me: failed program was:" >&5
80725 sed 's/^/| /' conftest.$ac_ext >&5
80727 glibcxx_cv_func__sincosl_use=no
80729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80730 ac_ext=c
80731 ac_cpp='$CPP $CPPFLAGS'
80732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80740 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
80741 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
80743 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
80745 for ac_func in _sincosl
80747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80748 echo "$as_me:$LINENO: checking for $ac_func" >&5
80749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80750 if eval "test \"\${$as_ac_var+set}\" = set"; then
80751 echo $ECHO_N "(cached) $ECHO_C" >&6
80752 else
80753 if test x$gcc_no_link = xyes; then
80754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80756 { (exit 1); exit 1; }; }
80758 cat >conftest.$ac_ext <<_ACEOF
80759 /* confdefs.h. */
80760 _ACEOF
80761 cat confdefs.h >>conftest.$ac_ext
80762 cat >>conftest.$ac_ext <<_ACEOF
80763 /* end confdefs.h. */
80764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80766 #define $ac_func innocuous_$ac_func
80768 /* System header to define __stub macros and hopefully few prototypes,
80769 which can conflict with char $ac_func (); below.
80770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80771 <limits.h> exists even on freestanding compilers. */
80773 #ifdef __STDC__
80774 # include <limits.h>
80775 #else
80776 # include <assert.h>
80777 #endif
80779 #undef $ac_func
80781 /* Override any gcc2 internal prototype to avoid an error. */
80782 #ifdef __cplusplus
80783 extern "C"
80785 #endif
80786 /* We use char because int might match the return type of a gcc2
80787 builtin and then its argument prototype would still apply. */
80788 char $ac_func ();
80789 /* The GNU C library defines this for functions which it implements
80790 to always fail with ENOSYS. Some functions are actually named
80791 something starting with __ and the normal name is an alias. */
80792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80793 choke me
80794 #else
80795 char (*f) () = $ac_func;
80796 #endif
80797 #ifdef __cplusplus
80799 #endif
80802 main ()
80804 return f != $ac_func;
80806 return 0;
80808 _ACEOF
80809 rm -f conftest.$ac_objext conftest$ac_exeext
80810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80811 (eval $ac_link) 2>conftest.er1
80812 ac_status=$?
80813 grep -v '^ *+' conftest.er1 >conftest.err
80814 rm -f conftest.er1
80815 cat conftest.err >&5
80816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80817 (exit $ac_status); } &&
80818 { ac_try='test -z "$ac_c_werror_flag"
80819 || test ! -s conftest.err'
80820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80821 (eval $ac_try) 2>&5
80822 ac_status=$?
80823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80824 (exit $ac_status); }; } &&
80825 { ac_try='test -s conftest$ac_exeext'
80826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80827 (eval $ac_try) 2>&5
80828 ac_status=$?
80829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80830 (exit $ac_status); }; }; then
80831 eval "$as_ac_var=yes"
80832 else
80833 echo "$as_me: failed program was:" >&5
80834 sed 's/^/| /' conftest.$ac_ext >&5
80836 eval "$as_ac_var=no"
80838 rm -f conftest.err conftest.$ac_objext \
80839 conftest$ac_exeext conftest.$ac_ext
80841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80843 if test `eval echo '${'$as_ac_var'}'` = yes; then
80844 cat >>confdefs.h <<_ACEOF
80845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80846 _ACEOF
80849 done
80859 echo "$as_me:$LINENO: checking for finitel declaration" >&5
80860 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
80861 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
80862 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
80863 echo $ECHO_N "(cached) $ECHO_C" >&6
80864 else
80868 ac_ext=cc
80869 ac_cpp='$CXXCPP $CPPFLAGS'
80870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80874 cat >conftest.$ac_ext <<_ACEOF
80875 /* confdefs.h. */
80876 _ACEOF
80877 cat confdefs.h >>conftest.$ac_ext
80878 cat >>conftest.$ac_ext <<_ACEOF
80879 /* end confdefs.h. */
80880 #include <math.h>
80881 #ifdef HAVE_IEEEFP_H
80882 #include <ieeefp.h>
80883 #endif
80886 main ()
80888 finitel(0);
80890 return 0;
80892 _ACEOF
80893 rm -f conftest.$ac_objext
80894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80895 (eval $ac_compile) 2>conftest.er1
80896 ac_status=$?
80897 grep -v '^ *+' conftest.er1 >conftest.err
80898 rm -f conftest.er1
80899 cat conftest.err >&5
80900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80901 (exit $ac_status); } &&
80902 { ac_try='test -z "$ac_cxx_werror_flag"
80903 || test ! -s conftest.err'
80904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80905 (eval $ac_try) 2>&5
80906 ac_status=$?
80907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80908 (exit $ac_status); }; } &&
80909 { ac_try='test -s conftest.$ac_objext'
80910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80911 (eval $ac_try) 2>&5
80912 ac_status=$?
80913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80914 (exit $ac_status); }; }; then
80915 glibcxx_cv_func_finitel_use=yes
80916 else
80917 echo "$as_me: failed program was:" >&5
80918 sed 's/^/| /' conftest.$ac_ext >&5
80920 glibcxx_cv_func_finitel_use=no
80922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80923 ac_ext=c
80924 ac_cpp='$CPP $CPPFLAGS'
80925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80933 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
80934 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
80936 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
80938 for ac_func in finitel
80940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80941 echo "$as_me:$LINENO: checking for $ac_func" >&5
80942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80943 if eval "test \"\${$as_ac_var+set}\" = set"; then
80944 echo $ECHO_N "(cached) $ECHO_C" >&6
80945 else
80946 if test x$gcc_no_link = xyes; then
80947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80949 { (exit 1); exit 1; }; }
80951 cat >conftest.$ac_ext <<_ACEOF
80952 /* confdefs.h. */
80953 _ACEOF
80954 cat confdefs.h >>conftest.$ac_ext
80955 cat >>conftest.$ac_ext <<_ACEOF
80956 /* end confdefs.h. */
80957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80959 #define $ac_func innocuous_$ac_func
80961 /* System header to define __stub macros and hopefully few prototypes,
80962 which can conflict with char $ac_func (); below.
80963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80964 <limits.h> exists even on freestanding compilers. */
80966 #ifdef __STDC__
80967 # include <limits.h>
80968 #else
80969 # include <assert.h>
80970 #endif
80972 #undef $ac_func
80974 /* Override any gcc2 internal prototype to avoid an error. */
80975 #ifdef __cplusplus
80976 extern "C"
80978 #endif
80979 /* We use char because int might match the return type of a gcc2
80980 builtin and then its argument prototype would still apply. */
80981 char $ac_func ();
80982 /* The GNU C library defines this for functions which it implements
80983 to always fail with ENOSYS. Some functions are actually named
80984 something starting with __ and the normal name is an alias. */
80985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80986 choke me
80987 #else
80988 char (*f) () = $ac_func;
80989 #endif
80990 #ifdef __cplusplus
80992 #endif
80995 main ()
80997 return f != $ac_func;
80999 return 0;
81001 _ACEOF
81002 rm -f conftest.$ac_objext conftest$ac_exeext
81003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81004 (eval $ac_link) 2>conftest.er1
81005 ac_status=$?
81006 grep -v '^ *+' conftest.er1 >conftest.err
81007 rm -f conftest.er1
81008 cat conftest.err >&5
81009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81010 (exit $ac_status); } &&
81011 { ac_try='test -z "$ac_c_werror_flag"
81012 || test ! -s conftest.err'
81013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81014 (eval $ac_try) 2>&5
81015 ac_status=$?
81016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81017 (exit $ac_status); }; } &&
81018 { ac_try='test -s conftest$ac_exeext'
81019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81020 (eval $ac_try) 2>&5
81021 ac_status=$?
81022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81023 (exit $ac_status); }; }; then
81024 eval "$as_ac_var=yes"
81025 else
81026 echo "$as_me: failed program was:" >&5
81027 sed 's/^/| /' conftest.$ac_ext >&5
81029 eval "$as_ac_var=no"
81031 rm -f conftest.err conftest.$ac_objext \
81032 conftest$ac_exeext conftest.$ac_ext
81034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81036 if test `eval echo '${'$as_ac_var'}'` = yes; then
81037 cat >>confdefs.h <<_ACEOF
81038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81039 _ACEOF
81042 done
81044 else
81046 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
81047 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
81048 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
81049 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
81050 echo $ECHO_N "(cached) $ECHO_C" >&6
81051 else
81055 ac_ext=cc
81056 ac_cpp='$CXXCPP $CPPFLAGS'
81057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81061 cat >conftest.$ac_ext <<_ACEOF
81062 /* confdefs.h. */
81063 _ACEOF
81064 cat confdefs.h >>conftest.$ac_ext
81065 cat >>conftest.$ac_ext <<_ACEOF
81066 /* end confdefs.h. */
81067 #include <math.h>
81068 #ifdef HAVE_IEEEFP_H
81069 #include <ieeefp.h>
81070 #endif
81073 main ()
81075 _finitel(0);
81077 return 0;
81079 _ACEOF
81080 rm -f conftest.$ac_objext
81081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81082 (eval $ac_compile) 2>conftest.er1
81083 ac_status=$?
81084 grep -v '^ *+' conftest.er1 >conftest.err
81085 rm -f conftest.er1
81086 cat conftest.err >&5
81087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81088 (exit $ac_status); } &&
81089 { ac_try='test -z "$ac_cxx_werror_flag"
81090 || test ! -s conftest.err'
81091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81092 (eval $ac_try) 2>&5
81093 ac_status=$?
81094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81095 (exit $ac_status); }; } &&
81096 { ac_try='test -s conftest.$ac_objext'
81097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81098 (eval $ac_try) 2>&5
81099 ac_status=$?
81100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81101 (exit $ac_status); }; }; then
81102 glibcxx_cv_func__finitel_use=yes
81103 else
81104 echo "$as_me: failed program was:" >&5
81105 sed 's/^/| /' conftest.$ac_ext >&5
81107 glibcxx_cv_func__finitel_use=no
81109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81110 ac_ext=c
81111 ac_cpp='$CPP $CPPFLAGS'
81112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81120 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
81121 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
81123 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
81125 for ac_func in _finitel
81127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81128 echo "$as_me:$LINENO: checking for $ac_func" >&5
81129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81130 if eval "test \"\${$as_ac_var+set}\" = set"; then
81131 echo $ECHO_N "(cached) $ECHO_C" >&6
81132 else
81133 if test x$gcc_no_link = xyes; then
81134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81136 { (exit 1); exit 1; }; }
81138 cat >conftest.$ac_ext <<_ACEOF
81139 /* confdefs.h. */
81140 _ACEOF
81141 cat confdefs.h >>conftest.$ac_ext
81142 cat >>conftest.$ac_ext <<_ACEOF
81143 /* end confdefs.h. */
81144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81146 #define $ac_func innocuous_$ac_func
81148 /* System header to define __stub macros and hopefully few prototypes,
81149 which can conflict with char $ac_func (); below.
81150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81151 <limits.h> exists even on freestanding compilers. */
81153 #ifdef __STDC__
81154 # include <limits.h>
81155 #else
81156 # include <assert.h>
81157 #endif
81159 #undef $ac_func
81161 /* Override any gcc2 internal prototype to avoid an error. */
81162 #ifdef __cplusplus
81163 extern "C"
81165 #endif
81166 /* We use char because int might match the return type of a gcc2
81167 builtin and then its argument prototype would still apply. */
81168 char $ac_func ();
81169 /* The GNU C library defines this for functions which it implements
81170 to always fail with ENOSYS. Some functions are actually named
81171 something starting with __ and the normal name is an alias. */
81172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81173 choke me
81174 #else
81175 char (*f) () = $ac_func;
81176 #endif
81177 #ifdef __cplusplus
81179 #endif
81182 main ()
81184 return f != $ac_func;
81186 return 0;
81188 _ACEOF
81189 rm -f conftest.$ac_objext conftest$ac_exeext
81190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81191 (eval $ac_link) 2>conftest.er1
81192 ac_status=$?
81193 grep -v '^ *+' conftest.er1 >conftest.err
81194 rm -f conftest.er1
81195 cat conftest.err >&5
81196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81197 (exit $ac_status); } &&
81198 { ac_try='test -z "$ac_c_werror_flag"
81199 || test ! -s conftest.err'
81200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81201 (eval $ac_try) 2>&5
81202 ac_status=$?
81203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81204 (exit $ac_status); }; } &&
81205 { ac_try='test -s conftest$ac_exeext'
81206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81207 (eval $ac_try) 2>&5
81208 ac_status=$?
81209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81210 (exit $ac_status); }; }; then
81211 eval "$as_ac_var=yes"
81212 else
81213 echo "$as_me: failed program was:" >&5
81214 sed 's/^/| /' conftest.$ac_ext >&5
81216 eval "$as_ac_var=no"
81218 rm -f conftest.err conftest.$ac_objext \
81219 conftest$ac_exeext conftest.$ac_ext
81221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81223 if test `eval echo '${'$as_ac_var'}'` = yes; then
81224 cat >>confdefs.h <<_ACEOF
81225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81226 _ACEOF
81229 done
81238 LIBS="$ac_save_LIBS"
81239 CXXFLAGS="$ac_save_CXXFLAGS"
81243 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
81244 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
81245 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
81246 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
81247 echo $ECHO_N "(cached) $ECHO_C" >&6
81248 else
81252 ac_ext=cc
81253 ac_cpp='$CXXCPP $CPPFLAGS'
81254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81258 cat >conftest.$ac_ext <<_ACEOF
81259 /* confdefs.h. */
81260 _ACEOF
81261 cat confdefs.h >>conftest.$ac_ext
81262 cat >>conftest.$ac_ext <<_ACEOF
81263 /* end confdefs.h. */
81264 #include <math.h>
81266 main ()
81268 __builtin_abs(0);
81270 return 0;
81272 _ACEOF
81273 rm -f conftest.$ac_objext
81274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81275 (eval $ac_compile) 2>conftest.er1
81276 ac_status=$?
81277 grep -v '^ *+' conftest.er1 >conftest.err
81278 rm -f conftest.er1
81279 cat conftest.err >&5
81280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81281 (exit $ac_status); } &&
81282 { ac_try='test -z "$ac_cxx_werror_flag"
81283 || test ! -s conftest.err'
81284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81285 (eval $ac_try) 2>&5
81286 ac_status=$?
81287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81288 (exit $ac_status); }; } &&
81289 { ac_try='test -s conftest.$ac_objext'
81290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81291 (eval $ac_try) 2>&5
81292 ac_status=$?
81293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81294 (exit $ac_status); }; }; then
81295 glibcxx_cv_func___builtin_abs_use=yes
81296 else
81297 echo "$as_me: failed program was:" >&5
81298 sed 's/^/| /' conftest.$ac_ext >&5
81300 glibcxx_cv_func___builtin_abs_use=no
81302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81303 ac_ext=c
81304 ac_cpp='$CPP $CPPFLAGS'
81305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81313 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
81314 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
81315 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
81316 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
81317 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
81318 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
81319 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
81320 echo $ECHO_N "(cached) $ECHO_C" >&6
81321 else
81323 if test x$gcc_no_link = xyes; then
81324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81326 { (exit 1); exit 1; }; }
81328 cat >conftest.$ac_ext <<_ACEOF
81329 /* confdefs.h. */
81330 _ACEOF
81331 cat confdefs.h >>conftest.$ac_ext
81332 cat >>conftest.$ac_ext <<_ACEOF
81333 /* end confdefs.h. */
81334 #include <math.h>
81336 main ()
81338 __builtin_abs(0);
81340 return 0;
81342 _ACEOF
81343 rm -f conftest.$ac_objext conftest$ac_exeext
81344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81345 (eval $ac_link) 2>conftest.er1
81346 ac_status=$?
81347 grep -v '^ *+' conftest.er1 >conftest.err
81348 rm -f conftest.er1
81349 cat conftest.err >&5
81350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81351 (exit $ac_status); } &&
81352 { ac_try='test -z "$ac_c_werror_flag"
81353 || test ! -s conftest.err'
81354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81355 (eval $ac_try) 2>&5
81356 ac_status=$?
81357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81358 (exit $ac_status); }; } &&
81359 { ac_try='test -s conftest$ac_exeext'
81360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81361 (eval $ac_try) 2>&5
81362 ac_status=$?
81363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81364 (exit $ac_status); }; }; then
81365 glibcxx_cv_func___builtin_abs_link=yes
81366 else
81367 echo "$as_me: failed program was:" >&5
81368 sed 's/^/| /' conftest.$ac_ext >&5
81370 glibcxx_cv_func___builtin_abs_link=no
81372 rm -f conftest.err conftest.$ac_objext \
81373 conftest$ac_exeext conftest.$ac_ext
81378 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
81379 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
81381 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
81383 cat >>confdefs.h <<\_ACEOF
81384 #define HAVE___BUILTIN_ABS 1
81385 _ACEOF
81392 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
81393 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
81394 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
81395 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
81396 echo $ECHO_N "(cached) $ECHO_C" >&6
81397 else
81401 ac_ext=cc
81402 ac_cpp='$CXXCPP $CPPFLAGS'
81403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81407 cat >conftest.$ac_ext <<_ACEOF
81408 /* confdefs.h. */
81409 _ACEOF
81410 cat confdefs.h >>conftest.$ac_ext
81411 cat >>conftest.$ac_ext <<_ACEOF
81412 /* end confdefs.h. */
81413 #include <math.h>
81415 main ()
81417 __builtin_fabsf(0);
81419 return 0;
81421 _ACEOF
81422 rm -f conftest.$ac_objext
81423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81424 (eval $ac_compile) 2>conftest.er1
81425 ac_status=$?
81426 grep -v '^ *+' conftest.er1 >conftest.err
81427 rm -f conftest.er1
81428 cat conftest.err >&5
81429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81430 (exit $ac_status); } &&
81431 { ac_try='test -z "$ac_cxx_werror_flag"
81432 || test ! -s conftest.err'
81433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81434 (eval $ac_try) 2>&5
81435 ac_status=$?
81436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81437 (exit $ac_status); }; } &&
81438 { ac_try='test -s conftest.$ac_objext'
81439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81440 (eval $ac_try) 2>&5
81441 ac_status=$?
81442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81443 (exit $ac_status); }; }; then
81444 glibcxx_cv_func___builtin_fabsf_use=yes
81445 else
81446 echo "$as_me: failed program was:" >&5
81447 sed 's/^/| /' conftest.$ac_ext >&5
81449 glibcxx_cv_func___builtin_fabsf_use=no
81451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81452 ac_ext=c
81453 ac_cpp='$CPP $CPPFLAGS'
81454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81462 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
81463 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
81464 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
81465 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
81466 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
81467 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
81468 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
81469 echo $ECHO_N "(cached) $ECHO_C" >&6
81470 else
81472 if test x$gcc_no_link = xyes; then
81473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81475 { (exit 1); exit 1; }; }
81477 cat >conftest.$ac_ext <<_ACEOF
81478 /* confdefs.h. */
81479 _ACEOF
81480 cat confdefs.h >>conftest.$ac_ext
81481 cat >>conftest.$ac_ext <<_ACEOF
81482 /* end confdefs.h. */
81483 #include <math.h>
81485 main ()
81487 __builtin_fabsf(0);
81489 return 0;
81491 _ACEOF
81492 rm -f conftest.$ac_objext conftest$ac_exeext
81493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81494 (eval $ac_link) 2>conftest.er1
81495 ac_status=$?
81496 grep -v '^ *+' conftest.er1 >conftest.err
81497 rm -f conftest.er1
81498 cat conftest.err >&5
81499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81500 (exit $ac_status); } &&
81501 { ac_try='test -z "$ac_c_werror_flag"
81502 || test ! -s conftest.err'
81503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81504 (eval $ac_try) 2>&5
81505 ac_status=$?
81506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81507 (exit $ac_status); }; } &&
81508 { ac_try='test -s conftest$ac_exeext'
81509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81510 (eval $ac_try) 2>&5
81511 ac_status=$?
81512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81513 (exit $ac_status); }; }; then
81514 glibcxx_cv_func___builtin_fabsf_link=yes
81515 else
81516 echo "$as_me: failed program was:" >&5
81517 sed 's/^/| /' conftest.$ac_ext >&5
81519 glibcxx_cv_func___builtin_fabsf_link=no
81521 rm -f conftest.err conftest.$ac_objext \
81522 conftest$ac_exeext conftest.$ac_ext
81527 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
81528 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
81530 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
81532 cat >>confdefs.h <<\_ACEOF
81533 #define HAVE___BUILTIN_FABSF 1
81534 _ACEOF
81541 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
81542 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
81543 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
81544 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
81545 echo $ECHO_N "(cached) $ECHO_C" >&6
81546 else
81550 ac_ext=cc
81551 ac_cpp='$CXXCPP $CPPFLAGS'
81552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81556 cat >conftest.$ac_ext <<_ACEOF
81557 /* confdefs.h. */
81558 _ACEOF
81559 cat confdefs.h >>conftest.$ac_ext
81560 cat >>conftest.$ac_ext <<_ACEOF
81561 /* end confdefs.h. */
81562 #include <math.h>
81564 main ()
81566 __builtin_fabs(0);
81568 return 0;
81570 _ACEOF
81571 rm -f conftest.$ac_objext
81572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81573 (eval $ac_compile) 2>conftest.er1
81574 ac_status=$?
81575 grep -v '^ *+' conftest.er1 >conftest.err
81576 rm -f conftest.er1
81577 cat conftest.err >&5
81578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81579 (exit $ac_status); } &&
81580 { ac_try='test -z "$ac_cxx_werror_flag"
81581 || test ! -s conftest.err'
81582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81583 (eval $ac_try) 2>&5
81584 ac_status=$?
81585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81586 (exit $ac_status); }; } &&
81587 { ac_try='test -s conftest.$ac_objext'
81588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81589 (eval $ac_try) 2>&5
81590 ac_status=$?
81591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81592 (exit $ac_status); }; }; then
81593 glibcxx_cv_func___builtin_fabs_use=yes
81594 else
81595 echo "$as_me: failed program was:" >&5
81596 sed 's/^/| /' conftest.$ac_ext >&5
81598 glibcxx_cv_func___builtin_fabs_use=no
81600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81601 ac_ext=c
81602 ac_cpp='$CPP $CPPFLAGS'
81603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81611 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
81612 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
81613 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
81614 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
81615 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
81616 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
81617 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
81618 echo $ECHO_N "(cached) $ECHO_C" >&6
81619 else
81621 if test x$gcc_no_link = xyes; then
81622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81624 { (exit 1); exit 1; }; }
81626 cat >conftest.$ac_ext <<_ACEOF
81627 /* confdefs.h. */
81628 _ACEOF
81629 cat confdefs.h >>conftest.$ac_ext
81630 cat >>conftest.$ac_ext <<_ACEOF
81631 /* end confdefs.h. */
81632 #include <math.h>
81634 main ()
81636 __builtin_fabs(0);
81638 return 0;
81640 _ACEOF
81641 rm -f conftest.$ac_objext conftest$ac_exeext
81642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81643 (eval $ac_link) 2>conftest.er1
81644 ac_status=$?
81645 grep -v '^ *+' conftest.er1 >conftest.err
81646 rm -f conftest.er1
81647 cat conftest.err >&5
81648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81649 (exit $ac_status); } &&
81650 { ac_try='test -z "$ac_c_werror_flag"
81651 || test ! -s conftest.err'
81652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81653 (eval $ac_try) 2>&5
81654 ac_status=$?
81655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81656 (exit $ac_status); }; } &&
81657 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
81663 glibcxx_cv_func___builtin_fabs_link=yes
81664 else
81665 echo "$as_me: failed program was:" >&5
81666 sed 's/^/| /' conftest.$ac_ext >&5
81668 glibcxx_cv_func___builtin_fabs_link=no
81670 rm -f conftest.err conftest.$ac_objext \
81671 conftest$ac_exeext conftest.$ac_ext
81676 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
81677 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
81679 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
81681 cat >>confdefs.h <<\_ACEOF
81682 #define HAVE___BUILTIN_FABS 1
81683 _ACEOF
81690 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
81691 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
81692 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
81693 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
81694 echo $ECHO_N "(cached) $ECHO_C" >&6
81695 else
81699 ac_ext=cc
81700 ac_cpp='$CXXCPP $CPPFLAGS'
81701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81705 cat >conftest.$ac_ext <<_ACEOF
81706 /* confdefs.h. */
81707 _ACEOF
81708 cat confdefs.h >>conftest.$ac_ext
81709 cat >>conftest.$ac_ext <<_ACEOF
81710 /* end confdefs.h. */
81711 #include <math.h>
81713 main ()
81715 __builtin_fabsl(0);
81717 return 0;
81719 _ACEOF
81720 rm -f conftest.$ac_objext
81721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81722 (eval $ac_compile) 2>conftest.er1
81723 ac_status=$?
81724 grep -v '^ *+' conftest.er1 >conftest.err
81725 rm -f conftest.er1
81726 cat conftest.err >&5
81727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81728 (exit $ac_status); } &&
81729 { ac_try='test -z "$ac_cxx_werror_flag"
81730 || test ! -s conftest.err'
81731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81732 (eval $ac_try) 2>&5
81733 ac_status=$?
81734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81735 (exit $ac_status); }; } &&
81736 { ac_try='test -s conftest.$ac_objext'
81737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81738 (eval $ac_try) 2>&5
81739 ac_status=$?
81740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81741 (exit $ac_status); }; }; then
81742 glibcxx_cv_func___builtin_fabsl_use=yes
81743 else
81744 echo "$as_me: failed program was:" >&5
81745 sed 's/^/| /' conftest.$ac_ext >&5
81747 glibcxx_cv_func___builtin_fabsl_use=no
81749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81750 ac_ext=c
81751 ac_cpp='$CPP $CPPFLAGS'
81752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81760 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
81761 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
81762 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
81763 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
81764 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
81765 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
81766 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
81767 echo $ECHO_N "(cached) $ECHO_C" >&6
81768 else
81770 if test x$gcc_no_link = xyes; then
81771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81773 { (exit 1); exit 1; }; }
81775 cat >conftest.$ac_ext <<_ACEOF
81776 /* confdefs.h. */
81777 _ACEOF
81778 cat confdefs.h >>conftest.$ac_ext
81779 cat >>conftest.$ac_ext <<_ACEOF
81780 /* end confdefs.h. */
81781 #include <math.h>
81783 main ()
81785 __builtin_fabsl(0);
81787 return 0;
81789 _ACEOF
81790 rm -f conftest.$ac_objext conftest$ac_exeext
81791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81792 (eval $ac_link) 2>conftest.er1
81793 ac_status=$?
81794 grep -v '^ *+' conftest.er1 >conftest.err
81795 rm -f conftest.er1
81796 cat conftest.err >&5
81797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81798 (exit $ac_status); } &&
81799 { ac_try='test -z "$ac_c_werror_flag"
81800 || test ! -s conftest.err'
81801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81802 (eval $ac_try) 2>&5
81803 ac_status=$?
81804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81805 (exit $ac_status); }; } &&
81806 { ac_try='test -s conftest$ac_exeext'
81807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81808 (eval $ac_try) 2>&5
81809 ac_status=$?
81810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81811 (exit $ac_status); }; }; then
81812 glibcxx_cv_func___builtin_fabsl_link=yes
81813 else
81814 echo "$as_me: failed program was:" >&5
81815 sed 's/^/| /' conftest.$ac_ext >&5
81817 glibcxx_cv_func___builtin_fabsl_link=no
81819 rm -f conftest.err conftest.$ac_objext \
81820 conftest$ac_exeext conftest.$ac_ext
81825 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
81826 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
81828 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
81830 cat >>confdefs.h <<\_ACEOF
81831 #define HAVE___BUILTIN_FABSL 1
81832 _ACEOF
81839 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
81840 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
81841 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
81842 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
81843 echo $ECHO_N "(cached) $ECHO_C" >&6
81844 else
81848 ac_ext=cc
81849 ac_cpp='$CXXCPP $CPPFLAGS'
81850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81854 cat >conftest.$ac_ext <<_ACEOF
81855 /* confdefs.h. */
81856 _ACEOF
81857 cat confdefs.h >>conftest.$ac_ext
81858 cat >>conftest.$ac_ext <<_ACEOF
81859 /* end confdefs.h. */
81860 #include <math.h>
81862 main ()
81864 __builtin_labs(0);
81866 return 0;
81868 _ACEOF
81869 rm -f conftest.$ac_objext
81870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81871 (eval $ac_compile) 2>conftest.er1
81872 ac_status=$?
81873 grep -v '^ *+' conftest.er1 >conftest.err
81874 rm -f conftest.er1
81875 cat conftest.err >&5
81876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81877 (exit $ac_status); } &&
81878 { ac_try='test -z "$ac_cxx_werror_flag"
81879 || test ! -s conftest.err'
81880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81881 (eval $ac_try) 2>&5
81882 ac_status=$?
81883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81884 (exit $ac_status); }; } &&
81885 { ac_try='test -s conftest.$ac_objext'
81886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81887 (eval $ac_try) 2>&5
81888 ac_status=$?
81889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81890 (exit $ac_status); }; }; then
81891 glibcxx_cv_func___builtin_labs_use=yes
81892 else
81893 echo "$as_me: failed program was:" >&5
81894 sed 's/^/| /' conftest.$ac_ext >&5
81896 glibcxx_cv_func___builtin_labs_use=no
81898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81899 ac_ext=c
81900 ac_cpp='$CPP $CPPFLAGS'
81901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81909 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
81910 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
81911 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
81912 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
81913 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
81914 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
81915 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
81916 echo $ECHO_N "(cached) $ECHO_C" >&6
81917 else
81919 if test x$gcc_no_link = xyes; then
81920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81922 { (exit 1); exit 1; }; }
81924 cat >conftest.$ac_ext <<_ACEOF
81925 /* confdefs.h. */
81926 _ACEOF
81927 cat confdefs.h >>conftest.$ac_ext
81928 cat >>conftest.$ac_ext <<_ACEOF
81929 /* end confdefs.h. */
81930 #include <math.h>
81932 main ()
81934 __builtin_labs(0);
81936 return 0;
81938 _ACEOF
81939 rm -f conftest.$ac_objext conftest$ac_exeext
81940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81941 (eval $ac_link) 2>conftest.er1
81942 ac_status=$?
81943 grep -v '^ *+' conftest.er1 >conftest.err
81944 rm -f conftest.er1
81945 cat conftest.err >&5
81946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81947 (exit $ac_status); } &&
81948 { ac_try='test -z "$ac_c_werror_flag"
81949 || test ! -s conftest.err'
81950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81951 (eval $ac_try) 2>&5
81952 ac_status=$?
81953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81954 (exit $ac_status); }; } &&
81955 { ac_try='test -s conftest$ac_exeext'
81956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81957 (eval $ac_try) 2>&5
81958 ac_status=$?
81959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81960 (exit $ac_status); }; }; then
81961 glibcxx_cv_func___builtin_labs_link=yes
81962 else
81963 echo "$as_me: failed program was:" >&5
81964 sed 's/^/| /' conftest.$ac_ext >&5
81966 glibcxx_cv_func___builtin_labs_link=no
81968 rm -f conftest.err conftest.$ac_objext \
81969 conftest$ac_exeext conftest.$ac_ext
81974 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
81975 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
81977 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
81979 cat >>confdefs.h <<\_ACEOF
81980 #define HAVE___BUILTIN_LABS 1
81981 _ACEOF
81989 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
81990 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
81991 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
81992 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
81993 echo $ECHO_N "(cached) $ECHO_C" >&6
81994 else
81998 ac_ext=cc
81999 ac_cpp='$CXXCPP $CPPFLAGS'
82000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82004 cat >conftest.$ac_ext <<_ACEOF
82005 /* confdefs.h. */
82006 _ACEOF
82007 cat confdefs.h >>conftest.$ac_ext
82008 cat >>conftest.$ac_ext <<_ACEOF
82009 /* end confdefs.h. */
82010 #include <math.h>
82012 main ()
82014 __builtin_sqrtf(0);
82016 return 0;
82018 _ACEOF
82019 rm -f conftest.$ac_objext
82020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82021 (eval $ac_compile) 2>conftest.er1
82022 ac_status=$?
82023 grep -v '^ *+' conftest.er1 >conftest.err
82024 rm -f conftest.er1
82025 cat conftest.err >&5
82026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82027 (exit $ac_status); } &&
82028 { ac_try='test -z "$ac_cxx_werror_flag"
82029 || test ! -s conftest.err'
82030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82031 (eval $ac_try) 2>&5
82032 ac_status=$?
82033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82034 (exit $ac_status); }; } &&
82035 { ac_try='test -s conftest.$ac_objext'
82036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82037 (eval $ac_try) 2>&5
82038 ac_status=$?
82039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82040 (exit $ac_status); }; }; then
82041 glibcxx_cv_func___builtin_sqrtf_use=yes
82042 else
82043 echo "$as_me: failed program was:" >&5
82044 sed 's/^/| /' conftest.$ac_ext >&5
82046 glibcxx_cv_func___builtin_sqrtf_use=no
82048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82049 ac_ext=c
82050 ac_cpp='$CPP $CPPFLAGS'
82051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82059 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
82060 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
82061 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
82062 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
82063 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
82064 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
82065 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
82066 echo $ECHO_N "(cached) $ECHO_C" >&6
82067 else
82069 if test x$gcc_no_link = xyes; then
82070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82072 { (exit 1); exit 1; }; }
82074 cat >conftest.$ac_ext <<_ACEOF
82075 /* confdefs.h. */
82076 _ACEOF
82077 cat confdefs.h >>conftest.$ac_ext
82078 cat >>conftest.$ac_ext <<_ACEOF
82079 /* end confdefs.h. */
82080 #include <math.h>
82082 main ()
82084 __builtin_sqrtf(0);
82086 return 0;
82088 _ACEOF
82089 rm -f conftest.$ac_objext conftest$ac_exeext
82090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82091 (eval $ac_link) 2>conftest.er1
82092 ac_status=$?
82093 grep -v '^ *+' conftest.er1 >conftest.err
82094 rm -f conftest.er1
82095 cat conftest.err >&5
82096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82097 (exit $ac_status); } &&
82098 { ac_try='test -z "$ac_c_werror_flag"
82099 || test ! -s conftest.err'
82100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82101 (eval $ac_try) 2>&5
82102 ac_status=$?
82103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82104 (exit $ac_status); }; } &&
82105 { ac_try='test -s conftest$ac_exeext'
82106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82107 (eval $ac_try) 2>&5
82108 ac_status=$?
82109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82110 (exit $ac_status); }; }; then
82111 glibcxx_cv_func___builtin_sqrtf_link=yes
82112 else
82113 echo "$as_me: failed program was:" >&5
82114 sed 's/^/| /' conftest.$ac_ext >&5
82116 glibcxx_cv_func___builtin_sqrtf_link=no
82118 rm -f conftest.err conftest.$ac_objext \
82119 conftest$ac_exeext conftest.$ac_ext
82124 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
82125 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
82127 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
82129 cat >>confdefs.h <<\_ACEOF
82130 #define HAVE___BUILTIN_SQRTF 1
82131 _ACEOF
82138 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
82139 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
82140 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
82141 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
82142 echo $ECHO_N "(cached) $ECHO_C" >&6
82143 else
82147 ac_ext=cc
82148 ac_cpp='$CXXCPP $CPPFLAGS'
82149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82153 cat >conftest.$ac_ext <<_ACEOF
82154 /* confdefs.h. */
82155 _ACEOF
82156 cat confdefs.h >>conftest.$ac_ext
82157 cat >>conftest.$ac_ext <<_ACEOF
82158 /* end confdefs.h. */
82159 #include <math.h>
82161 main ()
82163 __builtin_sqrt(0);
82165 return 0;
82167 _ACEOF
82168 rm -f conftest.$ac_objext
82169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82170 (eval $ac_compile) 2>conftest.er1
82171 ac_status=$?
82172 grep -v '^ *+' conftest.er1 >conftest.err
82173 rm -f conftest.er1
82174 cat conftest.err >&5
82175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82176 (exit $ac_status); } &&
82177 { ac_try='test -z "$ac_cxx_werror_flag"
82178 || test ! -s conftest.err'
82179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82180 (eval $ac_try) 2>&5
82181 ac_status=$?
82182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82183 (exit $ac_status); }; } &&
82184 { ac_try='test -s conftest.$ac_objext'
82185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82186 (eval $ac_try) 2>&5
82187 ac_status=$?
82188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82189 (exit $ac_status); }; }; then
82190 glibcxx_cv_func___builtin_sqrt_use=yes
82191 else
82192 echo "$as_me: failed program was:" >&5
82193 sed 's/^/| /' conftest.$ac_ext >&5
82195 glibcxx_cv_func___builtin_sqrt_use=no
82197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82198 ac_ext=c
82199 ac_cpp='$CPP $CPPFLAGS'
82200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82208 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
82209 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
82210 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
82211 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
82212 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
82213 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
82214 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
82215 echo $ECHO_N "(cached) $ECHO_C" >&6
82216 else
82218 if test x$gcc_no_link = xyes; then
82219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82221 { (exit 1); exit 1; }; }
82223 cat >conftest.$ac_ext <<_ACEOF
82224 /* confdefs.h. */
82225 _ACEOF
82226 cat confdefs.h >>conftest.$ac_ext
82227 cat >>conftest.$ac_ext <<_ACEOF
82228 /* end confdefs.h. */
82229 #include <math.h>
82231 main ()
82233 __builtin_sqrt(0);
82235 return 0;
82237 _ACEOF
82238 rm -f conftest.$ac_objext conftest$ac_exeext
82239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82240 (eval $ac_link) 2>conftest.er1
82241 ac_status=$?
82242 grep -v '^ *+' conftest.er1 >conftest.err
82243 rm -f conftest.er1
82244 cat conftest.err >&5
82245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82246 (exit $ac_status); } &&
82247 { ac_try='test -z "$ac_c_werror_flag"
82248 || test ! -s conftest.err'
82249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82250 (eval $ac_try) 2>&5
82251 ac_status=$?
82252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82253 (exit $ac_status); }; } &&
82254 { ac_try='test -s conftest$ac_exeext'
82255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82256 (eval $ac_try) 2>&5
82257 ac_status=$?
82258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82259 (exit $ac_status); }; }; then
82260 glibcxx_cv_func___builtin_sqrt_link=yes
82261 else
82262 echo "$as_me: failed program was:" >&5
82263 sed 's/^/| /' conftest.$ac_ext >&5
82265 glibcxx_cv_func___builtin_sqrt_link=no
82267 rm -f conftest.err conftest.$ac_objext \
82268 conftest$ac_exeext conftest.$ac_ext
82273 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
82274 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
82276 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
82278 cat >>confdefs.h <<\_ACEOF
82279 #define HAVE___BUILTIN_SQRT 1
82280 _ACEOF
82287 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
82288 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
82289 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
82290 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
82291 echo $ECHO_N "(cached) $ECHO_C" >&6
82292 else
82296 ac_ext=cc
82297 ac_cpp='$CXXCPP $CPPFLAGS'
82298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82302 cat >conftest.$ac_ext <<_ACEOF
82303 /* confdefs.h. */
82304 _ACEOF
82305 cat confdefs.h >>conftest.$ac_ext
82306 cat >>conftest.$ac_ext <<_ACEOF
82307 /* end confdefs.h. */
82308 #include <math.h>
82310 main ()
82312 __builtin_sqrtl(0);
82314 return 0;
82316 _ACEOF
82317 rm -f conftest.$ac_objext
82318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82319 (eval $ac_compile) 2>conftest.er1
82320 ac_status=$?
82321 grep -v '^ *+' conftest.er1 >conftest.err
82322 rm -f conftest.er1
82323 cat conftest.err >&5
82324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82325 (exit $ac_status); } &&
82326 { ac_try='test -z "$ac_cxx_werror_flag"
82327 || test ! -s conftest.err'
82328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82329 (eval $ac_try) 2>&5
82330 ac_status=$?
82331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82332 (exit $ac_status); }; } &&
82333 { ac_try='test -s conftest.$ac_objext'
82334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82335 (eval $ac_try) 2>&5
82336 ac_status=$?
82337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82338 (exit $ac_status); }; }; then
82339 glibcxx_cv_func___builtin_sqrtl_use=yes
82340 else
82341 echo "$as_me: failed program was:" >&5
82342 sed 's/^/| /' conftest.$ac_ext >&5
82344 glibcxx_cv_func___builtin_sqrtl_use=no
82346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82347 ac_ext=c
82348 ac_cpp='$CPP $CPPFLAGS'
82349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82357 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
82358 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
82359 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
82360 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
82361 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
82362 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
82363 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
82364 echo $ECHO_N "(cached) $ECHO_C" >&6
82365 else
82367 if test x$gcc_no_link = xyes; then
82368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82370 { (exit 1); exit 1; }; }
82372 cat >conftest.$ac_ext <<_ACEOF
82373 /* confdefs.h. */
82374 _ACEOF
82375 cat confdefs.h >>conftest.$ac_ext
82376 cat >>conftest.$ac_ext <<_ACEOF
82377 /* end confdefs.h. */
82378 #include <math.h>
82380 main ()
82382 __builtin_sqrtl(0);
82384 return 0;
82386 _ACEOF
82387 rm -f conftest.$ac_objext conftest$ac_exeext
82388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82389 (eval $ac_link) 2>conftest.er1
82390 ac_status=$?
82391 grep -v '^ *+' conftest.er1 >conftest.err
82392 rm -f conftest.er1
82393 cat conftest.err >&5
82394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82395 (exit $ac_status); } &&
82396 { ac_try='test -z "$ac_c_werror_flag"
82397 || test ! -s conftest.err'
82398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82399 (eval $ac_try) 2>&5
82400 ac_status=$?
82401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82402 (exit $ac_status); }; } &&
82403 { ac_try='test -s conftest$ac_exeext'
82404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82405 (eval $ac_try) 2>&5
82406 ac_status=$?
82407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82408 (exit $ac_status); }; }; then
82409 glibcxx_cv_func___builtin_sqrtl_link=yes
82410 else
82411 echo "$as_me: failed program was:" >&5
82412 sed 's/^/| /' conftest.$ac_ext >&5
82414 glibcxx_cv_func___builtin_sqrtl_link=no
82416 rm -f conftest.err conftest.$ac_objext \
82417 conftest$ac_exeext conftest.$ac_ext
82422 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
82423 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
82425 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
82427 cat >>confdefs.h <<\_ACEOF
82428 #define HAVE___BUILTIN_SQRTL 1
82429 _ACEOF
82437 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
82438 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
82439 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
82440 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
82441 echo $ECHO_N "(cached) $ECHO_C" >&6
82442 else
82446 ac_ext=cc
82447 ac_cpp='$CXXCPP $CPPFLAGS'
82448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82452 cat >conftest.$ac_ext <<_ACEOF
82453 /* confdefs.h. */
82454 _ACEOF
82455 cat confdefs.h >>conftest.$ac_ext
82456 cat >>conftest.$ac_ext <<_ACEOF
82457 /* end confdefs.h. */
82458 #include <math.h>
82460 main ()
82462 __builtin_sinf(0);
82464 return 0;
82466 _ACEOF
82467 rm -f conftest.$ac_objext
82468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82469 (eval $ac_compile) 2>conftest.er1
82470 ac_status=$?
82471 grep -v '^ *+' conftest.er1 >conftest.err
82472 rm -f conftest.er1
82473 cat conftest.err >&5
82474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82475 (exit $ac_status); } &&
82476 { ac_try='test -z "$ac_cxx_werror_flag"
82477 || test ! -s conftest.err'
82478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82479 (eval $ac_try) 2>&5
82480 ac_status=$?
82481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82482 (exit $ac_status); }; } &&
82483 { ac_try='test -s conftest.$ac_objext'
82484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82485 (eval $ac_try) 2>&5
82486 ac_status=$?
82487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82488 (exit $ac_status); }; }; then
82489 glibcxx_cv_func___builtin_sinf_use=yes
82490 else
82491 echo "$as_me: failed program was:" >&5
82492 sed 's/^/| /' conftest.$ac_ext >&5
82494 glibcxx_cv_func___builtin_sinf_use=no
82496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82497 ac_ext=c
82498 ac_cpp='$CPP $CPPFLAGS'
82499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82507 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
82508 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
82509 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
82510 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
82511 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
82512 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
82513 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
82514 echo $ECHO_N "(cached) $ECHO_C" >&6
82515 else
82517 if test x$gcc_no_link = xyes; then
82518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82520 { (exit 1); exit 1; }; }
82522 cat >conftest.$ac_ext <<_ACEOF
82523 /* confdefs.h. */
82524 _ACEOF
82525 cat confdefs.h >>conftest.$ac_ext
82526 cat >>conftest.$ac_ext <<_ACEOF
82527 /* end confdefs.h. */
82528 #include <math.h>
82530 main ()
82532 __builtin_sinf(0);
82534 return 0;
82536 _ACEOF
82537 rm -f conftest.$ac_objext conftest$ac_exeext
82538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82539 (eval $ac_link) 2>conftest.er1
82540 ac_status=$?
82541 grep -v '^ *+' conftest.er1 >conftest.err
82542 rm -f conftest.er1
82543 cat conftest.err >&5
82544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82545 (exit $ac_status); } &&
82546 { ac_try='test -z "$ac_c_werror_flag"
82547 || test ! -s conftest.err'
82548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82549 (eval $ac_try) 2>&5
82550 ac_status=$?
82551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82552 (exit $ac_status); }; } &&
82553 { ac_try='test -s conftest$ac_exeext'
82554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82555 (eval $ac_try) 2>&5
82556 ac_status=$?
82557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82558 (exit $ac_status); }; }; then
82559 glibcxx_cv_func___builtin_sinf_link=yes
82560 else
82561 echo "$as_me: failed program was:" >&5
82562 sed 's/^/| /' conftest.$ac_ext >&5
82564 glibcxx_cv_func___builtin_sinf_link=no
82566 rm -f conftest.err conftest.$ac_objext \
82567 conftest$ac_exeext conftest.$ac_ext
82572 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
82573 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
82575 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
82577 cat >>confdefs.h <<\_ACEOF
82578 #define HAVE___BUILTIN_SINF 1
82579 _ACEOF
82586 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
82587 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
82588 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
82589 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
82590 echo $ECHO_N "(cached) $ECHO_C" >&6
82591 else
82595 ac_ext=cc
82596 ac_cpp='$CXXCPP $CPPFLAGS'
82597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82601 cat >conftest.$ac_ext <<_ACEOF
82602 /* confdefs.h. */
82603 _ACEOF
82604 cat confdefs.h >>conftest.$ac_ext
82605 cat >>conftest.$ac_ext <<_ACEOF
82606 /* end confdefs.h. */
82607 #include <math.h>
82609 main ()
82611 __builtin_sin(0);
82613 return 0;
82615 _ACEOF
82616 rm -f conftest.$ac_objext
82617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82618 (eval $ac_compile) 2>conftest.er1
82619 ac_status=$?
82620 grep -v '^ *+' conftest.er1 >conftest.err
82621 rm -f conftest.er1
82622 cat conftest.err >&5
82623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82624 (exit $ac_status); } &&
82625 { ac_try='test -z "$ac_cxx_werror_flag"
82626 || test ! -s conftest.err'
82627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82628 (eval $ac_try) 2>&5
82629 ac_status=$?
82630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82631 (exit $ac_status); }; } &&
82632 { ac_try='test -s conftest.$ac_objext'
82633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82634 (eval $ac_try) 2>&5
82635 ac_status=$?
82636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82637 (exit $ac_status); }; }; then
82638 glibcxx_cv_func___builtin_sin_use=yes
82639 else
82640 echo "$as_me: failed program was:" >&5
82641 sed 's/^/| /' conftest.$ac_ext >&5
82643 glibcxx_cv_func___builtin_sin_use=no
82645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82646 ac_ext=c
82647 ac_cpp='$CPP $CPPFLAGS'
82648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82656 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
82657 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
82658 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
82659 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
82660 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
82661 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
82662 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
82663 echo $ECHO_N "(cached) $ECHO_C" >&6
82664 else
82666 if test x$gcc_no_link = xyes; then
82667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82669 { (exit 1); exit 1; }; }
82671 cat >conftest.$ac_ext <<_ACEOF
82672 /* confdefs.h. */
82673 _ACEOF
82674 cat confdefs.h >>conftest.$ac_ext
82675 cat >>conftest.$ac_ext <<_ACEOF
82676 /* end confdefs.h. */
82677 #include <math.h>
82679 main ()
82681 __builtin_sin(0);
82683 return 0;
82685 _ACEOF
82686 rm -f conftest.$ac_objext conftest$ac_exeext
82687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82688 (eval $ac_link) 2>conftest.er1
82689 ac_status=$?
82690 grep -v '^ *+' conftest.er1 >conftest.err
82691 rm -f conftest.er1
82692 cat conftest.err >&5
82693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82694 (exit $ac_status); } &&
82695 { ac_try='test -z "$ac_c_werror_flag"
82696 || test ! -s conftest.err'
82697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82698 (eval $ac_try) 2>&5
82699 ac_status=$?
82700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82701 (exit $ac_status); }; } &&
82702 { ac_try='test -s conftest$ac_exeext'
82703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82704 (eval $ac_try) 2>&5
82705 ac_status=$?
82706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82707 (exit $ac_status); }; }; then
82708 glibcxx_cv_func___builtin_sin_link=yes
82709 else
82710 echo "$as_me: failed program was:" >&5
82711 sed 's/^/| /' conftest.$ac_ext >&5
82713 glibcxx_cv_func___builtin_sin_link=no
82715 rm -f conftest.err conftest.$ac_objext \
82716 conftest$ac_exeext conftest.$ac_ext
82721 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
82722 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
82724 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
82726 cat >>confdefs.h <<\_ACEOF
82727 #define HAVE___BUILTIN_SIN 1
82728 _ACEOF
82735 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
82736 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
82737 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
82738 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
82739 echo $ECHO_N "(cached) $ECHO_C" >&6
82740 else
82744 ac_ext=cc
82745 ac_cpp='$CXXCPP $CPPFLAGS'
82746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82750 cat >conftest.$ac_ext <<_ACEOF
82751 /* confdefs.h. */
82752 _ACEOF
82753 cat confdefs.h >>conftest.$ac_ext
82754 cat >>conftest.$ac_ext <<_ACEOF
82755 /* end confdefs.h. */
82756 #include <math.h>
82758 main ()
82760 __builtin_sinl(0);
82762 return 0;
82764 _ACEOF
82765 rm -f conftest.$ac_objext
82766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82767 (eval $ac_compile) 2>conftest.er1
82768 ac_status=$?
82769 grep -v '^ *+' conftest.er1 >conftest.err
82770 rm -f conftest.er1
82771 cat conftest.err >&5
82772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82773 (exit $ac_status); } &&
82774 { ac_try='test -z "$ac_cxx_werror_flag"
82775 || test ! -s conftest.err'
82776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82777 (eval $ac_try) 2>&5
82778 ac_status=$?
82779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82780 (exit $ac_status); }; } &&
82781 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
82787 glibcxx_cv_func___builtin_sinl_use=yes
82788 else
82789 echo "$as_me: failed program was:" >&5
82790 sed 's/^/| /' conftest.$ac_ext >&5
82792 glibcxx_cv_func___builtin_sinl_use=no
82794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82795 ac_ext=c
82796 ac_cpp='$CPP $CPPFLAGS'
82797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82805 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
82806 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
82807 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
82808 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
82809 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
82810 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
82811 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
82812 echo $ECHO_N "(cached) $ECHO_C" >&6
82813 else
82815 if test x$gcc_no_link = xyes; then
82816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82818 { (exit 1); exit 1; }; }
82820 cat >conftest.$ac_ext <<_ACEOF
82821 /* confdefs.h. */
82822 _ACEOF
82823 cat confdefs.h >>conftest.$ac_ext
82824 cat >>conftest.$ac_ext <<_ACEOF
82825 /* end confdefs.h. */
82826 #include <math.h>
82828 main ()
82830 __builtin_sinl(0);
82832 return 0;
82834 _ACEOF
82835 rm -f conftest.$ac_objext conftest$ac_exeext
82836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82837 (eval $ac_link) 2>conftest.er1
82838 ac_status=$?
82839 grep -v '^ *+' conftest.er1 >conftest.err
82840 rm -f conftest.er1
82841 cat conftest.err >&5
82842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82843 (exit $ac_status); } &&
82844 { ac_try='test -z "$ac_c_werror_flag"
82845 || test ! -s conftest.err'
82846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82847 (eval $ac_try) 2>&5
82848 ac_status=$?
82849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82850 (exit $ac_status); }; } &&
82851 { ac_try='test -s conftest$ac_exeext'
82852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82853 (eval $ac_try) 2>&5
82854 ac_status=$?
82855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82856 (exit $ac_status); }; }; then
82857 glibcxx_cv_func___builtin_sinl_link=yes
82858 else
82859 echo "$as_me: failed program was:" >&5
82860 sed 's/^/| /' conftest.$ac_ext >&5
82862 glibcxx_cv_func___builtin_sinl_link=no
82864 rm -f conftest.err conftest.$ac_objext \
82865 conftest$ac_exeext conftest.$ac_ext
82870 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
82871 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
82873 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
82875 cat >>confdefs.h <<\_ACEOF
82876 #define HAVE___BUILTIN_SINL 1
82877 _ACEOF
82885 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
82886 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
82887 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
82888 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
82889 echo $ECHO_N "(cached) $ECHO_C" >&6
82890 else
82894 ac_ext=cc
82895 ac_cpp='$CXXCPP $CPPFLAGS'
82896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82900 cat >conftest.$ac_ext <<_ACEOF
82901 /* confdefs.h. */
82902 _ACEOF
82903 cat confdefs.h >>conftest.$ac_ext
82904 cat >>conftest.$ac_ext <<_ACEOF
82905 /* end confdefs.h. */
82906 #include <math.h>
82908 main ()
82910 __builtin_cosf(0);
82912 return 0;
82914 _ACEOF
82915 rm -f conftest.$ac_objext
82916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82917 (eval $ac_compile) 2>conftest.er1
82918 ac_status=$?
82919 grep -v '^ *+' conftest.er1 >conftest.err
82920 rm -f conftest.er1
82921 cat conftest.err >&5
82922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82923 (exit $ac_status); } &&
82924 { ac_try='test -z "$ac_cxx_werror_flag"
82925 || test ! -s conftest.err'
82926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82927 (eval $ac_try) 2>&5
82928 ac_status=$?
82929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82930 (exit $ac_status); }; } &&
82931 { ac_try='test -s conftest.$ac_objext'
82932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82933 (eval $ac_try) 2>&5
82934 ac_status=$?
82935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82936 (exit $ac_status); }; }; then
82937 glibcxx_cv_func___builtin_cosf_use=yes
82938 else
82939 echo "$as_me: failed program was:" >&5
82940 sed 's/^/| /' conftest.$ac_ext >&5
82942 glibcxx_cv_func___builtin_cosf_use=no
82944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82945 ac_ext=c
82946 ac_cpp='$CPP $CPPFLAGS'
82947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82955 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
82956 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
82957 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
82958 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
82959 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
82960 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
82961 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
82962 echo $ECHO_N "(cached) $ECHO_C" >&6
82963 else
82965 if test x$gcc_no_link = xyes; then
82966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82968 { (exit 1); exit 1; }; }
82970 cat >conftest.$ac_ext <<_ACEOF
82971 /* confdefs.h. */
82972 _ACEOF
82973 cat confdefs.h >>conftest.$ac_ext
82974 cat >>conftest.$ac_ext <<_ACEOF
82975 /* end confdefs.h. */
82976 #include <math.h>
82978 main ()
82980 __builtin_cosf(0);
82982 return 0;
82984 _ACEOF
82985 rm -f conftest.$ac_objext conftest$ac_exeext
82986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82987 (eval $ac_link) 2>conftest.er1
82988 ac_status=$?
82989 grep -v '^ *+' conftest.er1 >conftest.err
82990 rm -f conftest.er1
82991 cat conftest.err >&5
82992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82993 (exit $ac_status); } &&
82994 { ac_try='test -z "$ac_c_werror_flag"
82995 || test ! -s conftest.err'
82996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82997 (eval $ac_try) 2>&5
82998 ac_status=$?
82999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83000 (exit $ac_status); }; } &&
83001 { ac_try='test -s conftest$ac_exeext'
83002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83003 (eval $ac_try) 2>&5
83004 ac_status=$?
83005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83006 (exit $ac_status); }; }; then
83007 glibcxx_cv_func___builtin_cosf_link=yes
83008 else
83009 echo "$as_me: failed program was:" >&5
83010 sed 's/^/| /' conftest.$ac_ext >&5
83012 glibcxx_cv_func___builtin_cosf_link=no
83014 rm -f conftest.err conftest.$ac_objext \
83015 conftest$ac_exeext conftest.$ac_ext
83020 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
83021 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
83023 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
83025 cat >>confdefs.h <<\_ACEOF
83026 #define HAVE___BUILTIN_COSF 1
83027 _ACEOF
83034 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
83035 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
83036 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
83037 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
83038 echo $ECHO_N "(cached) $ECHO_C" >&6
83039 else
83043 ac_ext=cc
83044 ac_cpp='$CXXCPP $CPPFLAGS'
83045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83049 cat >conftest.$ac_ext <<_ACEOF
83050 /* confdefs.h. */
83051 _ACEOF
83052 cat confdefs.h >>conftest.$ac_ext
83053 cat >>conftest.$ac_ext <<_ACEOF
83054 /* end confdefs.h. */
83055 #include <math.h>
83057 main ()
83059 __builtin_cos(0);
83061 return 0;
83063 _ACEOF
83064 rm -f conftest.$ac_objext
83065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83066 (eval $ac_compile) 2>conftest.er1
83067 ac_status=$?
83068 grep -v '^ *+' conftest.er1 >conftest.err
83069 rm -f conftest.er1
83070 cat conftest.err >&5
83071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83072 (exit $ac_status); } &&
83073 { ac_try='test -z "$ac_cxx_werror_flag"
83074 || test ! -s conftest.err'
83075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83076 (eval $ac_try) 2>&5
83077 ac_status=$?
83078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83079 (exit $ac_status); }; } &&
83080 { ac_try='test -s conftest.$ac_objext'
83081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83082 (eval $ac_try) 2>&5
83083 ac_status=$?
83084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83085 (exit $ac_status); }; }; then
83086 glibcxx_cv_func___builtin_cos_use=yes
83087 else
83088 echo "$as_me: failed program was:" >&5
83089 sed 's/^/| /' conftest.$ac_ext >&5
83091 glibcxx_cv_func___builtin_cos_use=no
83093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83094 ac_ext=c
83095 ac_cpp='$CPP $CPPFLAGS'
83096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83104 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
83105 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
83106 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
83107 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
83108 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
83109 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
83110 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
83111 echo $ECHO_N "(cached) $ECHO_C" >&6
83112 else
83114 if test x$gcc_no_link = xyes; then
83115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83117 { (exit 1); exit 1; }; }
83119 cat >conftest.$ac_ext <<_ACEOF
83120 /* confdefs.h. */
83121 _ACEOF
83122 cat confdefs.h >>conftest.$ac_ext
83123 cat >>conftest.$ac_ext <<_ACEOF
83124 /* end confdefs.h. */
83125 #include <math.h>
83127 main ()
83129 __builtin_cos(0);
83131 return 0;
83133 _ACEOF
83134 rm -f conftest.$ac_objext conftest$ac_exeext
83135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83136 (eval $ac_link) 2>conftest.er1
83137 ac_status=$?
83138 grep -v '^ *+' conftest.er1 >conftest.err
83139 rm -f conftest.er1
83140 cat conftest.err >&5
83141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83142 (exit $ac_status); } &&
83143 { ac_try='test -z "$ac_c_werror_flag"
83144 || test ! -s conftest.err'
83145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83146 (eval $ac_try) 2>&5
83147 ac_status=$?
83148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83149 (exit $ac_status); }; } &&
83150 { ac_try='test -s conftest$ac_exeext'
83151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83152 (eval $ac_try) 2>&5
83153 ac_status=$?
83154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83155 (exit $ac_status); }; }; then
83156 glibcxx_cv_func___builtin_cos_link=yes
83157 else
83158 echo "$as_me: failed program was:" >&5
83159 sed 's/^/| /' conftest.$ac_ext >&5
83161 glibcxx_cv_func___builtin_cos_link=no
83163 rm -f conftest.err conftest.$ac_objext \
83164 conftest$ac_exeext conftest.$ac_ext
83169 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
83170 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
83172 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
83174 cat >>confdefs.h <<\_ACEOF
83175 #define HAVE___BUILTIN_COS 1
83176 _ACEOF
83183 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
83184 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
83185 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
83186 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
83187 echo $ECHO_N "(cached) $ECHO_C" >&6
83188 else
83192 ac_ext=cc
83193 ac_cpp='$CXXCPP $CPPFLAGS'
83194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83198 cat >conftest.$ac_ext <<_ACEOF
83199 /* confdefs.h. */
83200 _ACEOF
83201 cat confdefs.h >>conftest.$ac_ext
83202 cat >>conftest.$ac_ext <<_ACEOF
83203 /* end confdefs.h. */
83204 #include <math.h>
83206 main ()
83208 __builtin_cosl(0);
83210 return 0;
83212 _ACEOF
83213 rm -f conftest.$ac_objext
83214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83215 (eval $ac_compile) 2>conftest.er1
83216 ac_status=$?
83217 grep -v '^ *+' conftest.er1 >conftest.err
83218 rm -f conftest.er1
83219 cat conftest.err >&5
83220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83221 (exit $ac_status); } &&
83222 { ac_try='test -z "$ac_cxx_werror_flag"
83223 || test ! -s conftest.err'
83224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83225 (eval $ac_try) 2>&5
83226 ac_status=$?
83227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83228 (exit $ac_status); }; } &&
83229 { ac_try='test -s conftest.$ac_objext'
83230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83231 (eval $ac_try) 2>&5
83232 ac_status=$?
83233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83234 (exit $ac_status); }; }; then
83235 glibcxx_cv_func___builtin_cosl_use=yes
83236 else
83237 echo "$as_me: failed program was:" >&5
83238 sed 's/^/| /' conftest.$ac_ext >&5
83240 glibcxx_cv_func___builtin_cosl_use=no
83242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83243 ac_ext=c
83244 ac_cpp='$CPP $CPPFLAGS'
83245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83253 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
83254 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
83255 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
83256 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
83257 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
83258 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
83259 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
83260 echo $ECHO_N "(cached) $ECHO_C" >&6
83261 else
83263 if test x$gcc_no_link = xyes; then
83264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83266 { (exit 1); exit 1; }; }
83268 cat >conftest.$ac_ext <<_ACEOF
83269 /* confdefs.h. */
83270 _ACEOF
83271 cat confdefs.h >>conftest.$ac_ext
83272 cat >>conftest.$ac_ext <<_ACEOF
83273 /* end confdefs.h. */
83274 #include <math.h>
83276 main ()
83278 __builtin_cosl(0);
83280 return 0;
83282 _ACEOF
83283 rm -f conftest.$ac_objext conftest$ac_exeext
83284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83285 (eval $ac_link) 2>conftest.er1
83286 ac_status=$?
83287 grep -v '^ *+' conftest.er1 >conftest.err
83288 rm -f conftest.er1
83289 cat conftest.err >&5
83290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83291 (exit $ac_status); } &&
83292 { ac_try='test -z "$ac_c_werror_flag"
83293 || test ! -s conftest.err'
83294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83295 (eval $ac_try) 2>&5
83296 ac_status=$?
83297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83298 (exit $ac_status); }; } &&
83299 { ac_try='test -s conftest$ac_exeext'
83300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83301 (eval $ac_try) 2>&5
83302 ac_status=$?
83303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83304 (exit $ac_status); }; }; then
83305 glibcxx_cv_func___builtin_cosl_link=yes
83306 else
83307 echo "$as_me: failed program was:" >&5
83308 sed 's/^/| /' conftest.$ac_ext >&5
83310 glibcxx_cv_func___builtin_cosl_link=no
83312 rm -f conftest.err conftest.$ac_objext \
83313 conftest$ac_exeext conftest.$ac_ext
83318 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
83319 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
83321 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
83323 cat >>confdefs.h <<\_ACEOF
83324 #define HAVE___BUILTIN_COSL 1
83325 _ACEOF
83334 echo "$as_me:$LINENO: checking for main in -lm" >&5
83335 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83336 if test "${ac_cv_lib_m_main+set}" = set; then
83337 echo $ECHO_N "(cached) $ECHO_C" >&6
83338 else
83339 ac_check_lib_save_LIBS=$LIBS
83340 LIBS="-lm $LIBS"
83341 if test x$gcc_no_link = xyes; then
83342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83344 { (exit 1); exit 1; }; }
83346 cat >conftest.$ac_ext <<_ACEOF
83347 /* confdefs.h. */
83348 _ACEOF
83349 cat confdefs.h >>conftest.$ac_ext
83350 cat >>conftest.$ac_ext <<_ACEOF
83351 /* end confdefs.h. */
83355 main ()
83357 main ();
83359 return 0;
83361 _ACEOF
83362 rm -f conftest.$ac_objext conftest$ac_exeext
83363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83364 (eval $ac_link) 2>conftest.er1
83365 ac_status=$?
83366 grep -v '^ *+' conftest.er1 >conftest.err
83367 rm -f conftest.er1
83368 cat conftest.err >&5
83369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83370 (exit $ac_status); } &&
83371 { ac_try='test -z "$ac_c_werror_flag"
83372 || test ! -s conftest.err'
83373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83374 (eval $ac_try) 2>&5
83375 ac_status=$?
83376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83377 (exit $ac_status); }; } &&
83378 { ac_try='test -s conftest$ac_exeext'
83379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83380 (eval $ac_try) 2>&5
83381 ac_status=$?
83382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83383 (exit $ac_status); }; }; then
83384 ac_cv_lib_m_main=yes
83385 else
83386 echo "$as_me: failed program was:" >&5
83387 sed 's/^/| /' conftest.$ac_ext >&5
83389 ac_cv_lib_m_main=no
83391 rm -f conftest.err conftest.$ac_objext \
83392 conftest$ac_exeext conftest.$ac_ext
83393 LIBS=$ac_check_lib_save_LIBS
83395 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83396 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83397 if test $ac_cv_lib_m_main = yes; then
83398 cat >>confdefs.h <<_ACEOF
83399 #define HAVE_LIBM 1
83400 _ACEOF
83402 LIBS="-lm $LIBS"
83407 for ac_func in copysignf
83409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83410 echo "$as_me:$LINENO: checking for $ac_func" >&5
83411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83412 if eval "test \"\${$as_ac_var+set}\" = set"; then
83413 echo $ECHO_N "(cached) $ECHO_C" >&6
83414 else
83415 if test x$gcc_no_link = xyes; then
83416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83418 { (exit 1); exit 1; }; }
83420 cat >conftest.$ac_ext <<_ACEOF
83421 /* confdefs.h. */
83422 _ACEOF
83423 cat confdefs.h >>conftest.$ac_ext
83424 cat >>conftest.$ac_ext <<_ACEOF
83425 /* end confdefs.h. */
83426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83428 #define $ac_func innocuous_$ac_func
83430 /* System header to define __stub macros and hopefully few prototypes,
83431 which can conflict with char $ac_func (); below.
83432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83433 <limits.h> exists even on freestanding compilers. */
83435 #ifdef __STDC__
83436 # include <limits.h>
83437 #else
83438 # include <assert.h>
83439 #endif
83441 #undef $ac_func
83443 /* Override any gcc2 internal prototype to avoid an error. */
83444 #ifdef __cplusplus
83445 extern "C"
83447 #endif
83448 /* We use char because int might match the return type of a gcc2
83449 builtin and then its argument prototype would still apply. */
83450 char $ac_func ();
83451 /* The GNU C library defines this for functions which it implements
83452 to always fail with ENOSYS. Some functions are actually named
83453 something starting with __ and the normal name is an alias. */
83454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83455 choke me
83456 #else
83457 char (*f) () = $ac_func;
83458 #endif
83459 #ifdef __cplusplus
83461 #endif
83464 main ()
83466 return f != $ac_func;
83468 return 0;
83470 _ACEOF
83471 rm -f conftest.$ac_objext conftest$ac_exeext
83472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83473 (eval $ac_link) 2>conftest.er1
83474 ac_status=$?
83475 grep -v '^ *+' conftest.er1 >conftest.err
83476 rm -f conftest.er1
83477 cat conftest.err >&5
83478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83479 (exit $ac_status); } &&
83480 { ac_try='test -z "$ac_c_werror_flag"
83481 || test ! -s conftest.err'
83482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83483 (eval $ac_try) 2>&5
83484 ac_status=$?
83485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83486 (exit $ac_status); }; } &&
83487 { ac_try='test -s conftest$ac_exeext'
83488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83489 (eval $ac_try) 2>&5
83490 ac_status=$?
83491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83492 (exit $ac_status); }; }; then
83493 eval "$as_ac_var=yes"
83494 else
83495 echo "$as_me: failed program was:" >&5
83496 sed 's/^/| /' conftest.$ac_ext >&5
83498 eval "$as_ac_var=no"
83500 rm -f conftest.err conftest.$ac_objext \
83501 conftest$ac_exeext conftest.$ac_ext
83503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83505 if test `eval echo '${'$as_ac_var'}'` = yes; then
83506 cat >>confdefs.h <<_ACEOF
83507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83508 _ACEOF
83510 else
83511 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83513 done
83517 for ac_func in __signbit
83519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83520 echo "$as_me:$LINENO: checking for $ac_func" >&5
83521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83522 if eval "test \"\${$as_ac_var+set}\" = set"; then
83523 echo $ECHO_N "(cached) $ECHO_C" >&6
83524 else
83525 if test x$gcc_no_link = xyes; then
83526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83528 { (exit 1); exit 1; }; }
83530 cat >conftest.$ac_ext <<_ACEOF
83531 /* confdefs.h. */
83532 _ACEOF
83533 cat confdefs.h >>conftest.$ac_ext
83534 cat >>conftest.$ac_ext <<_ACEOF
83535 /* end confdefs.h. */
83536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83538 #define $ac_func innocuous_$ac_func
83540 /* System header to define __stub macros and hopefully few prototypes,
83541 which can conflict with char $ac_func (); below.
83542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83543 <limits.h> exists even on freestanding compilers. */
83545 #ifdef __STDC__
83546 # include <limits.h>
83547 #else
83548 # include <assert.h>
83549 #endif
83551 #undef $ac_func
83553 /* Override any gcc2 internal prototype to avoid an error. */
83554 #ifdef __cplusplus
83555 extern "C"
83557 #endif
83558 /* We use char because int might match the return type of a gcc2
83559 builtin and then its argument prototype would still apply. */
83560 char $ac_func ();
83561 /* The GNU C library defines this for functions which it implements
83562 to always fail with ENOSYS. Some functions are actually named
83563 something starting with __ and the normal name is an alias. */
83564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83565 choke me
83566 #else
83567 char (*f) () = $ac_func;
83568 #endif
83569 #ifdef __cplusplus
83571 #endif
83574 main ()
83576 return f != $ac_func;
83578 return 0;
83580 _ACEOF
83581 rm -f conftest.$ac_objext conftest$ac_exeext
83582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83583 (eval $ac_link) 2>conftest.er1
83584 ac_status=$?
83585 grep -v '^ *+' conftest.er1 >conftest.err
83586 rm -f conftest.er1
83587 cat conftest.err >&5
83588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83589 (exit $ac_status); } &&
83590 { ac_try='test -z "$ac_c_werror_flag"
83591 || test ! -s conftest.err'
83592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83593 (eval $ac_try) 2>&5
83594 ac_status=$?
83595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83596 (exit $ac_status); }; } &&
83597 { ac_try='test -s conftest$ac_exeext'
83598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83599 (eval $ac_try) 2>&5
83600 ac_status=$?
83601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83602 (exit $ac_status); }; }; then
83603 eval "$as_ac_var=yes"
83604 else
83605 echo "$as_me: failed program was:" >&5
83606 sed 's/^/| /' conftest.$ac_ext >&5
83608 eval "$as_ac_var=no"
83610 rm -f conftest.err conftest.$ac_objext \
83611 conftest$ac_exeext conftest.$ac_ext
83613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83615 if test `eval echo '${'$as_ac_var'}'` = yes; then
83616 cat >>confdefs.h <<_ACEOF
83617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83618 _ACEOF
83620 else
83621 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83623 done
83627 for ac_func in __signbitf
83629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83630 echo "$as_me:$LINENO: checking for $ac_func" >&5
83631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83632 if eval "test \"\${$as_ac_var+set}\" = set"; then
83633 echo $ECHO_N "(cached) $ECHO_C" >&6
83634 else
83635 if test x$gcc_no_link = xyes; then
83636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83638 { (exit 1); exit 1; }; }
83640 cat >conftest.$ac_ext <<_ACEOF
83641 /* confdefs.h. */
83642 _ACEOF
83643 cat confdefs.h >>conftest.$ac_ext
83644 cat >>conftest.$ac_ext <<_ACEOF
83645 /* end confdefs.h. */
83646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83648 #define $ac_func innocuous_$ac_func
83650 /* System header to define __stub macros and hopefully few prototypes,
83651 which can conflict with char $ac_func (); below.
83652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83653 <limits.h> exists even on freestanding compilers. */
83655 #ifdef __STDC__
83656 # include <limits.h>
83657 #else
83658 # include <assert.h>
83659 #endif
83661 #undef $ac_func
83663 /* Override any gcc2 internal prototype to avoid an error. */
83664 #ifdef __cplusplus
83665 extern "C"
83667 #endif
83668 /* We use char because int might match the return type of a gcc2
83669 builtin and then its argument prototype would still apply. */
83670 char $ac_func ();
83671 /* The GNU C library defines this for functions which it implements
83672 to always fail with ENOSYS. Some functions are actually named
83673 something starting with __ and the normal name is an alias. */
83674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83675 choke me
83676 #else
83677 char (*f) () = $ac_func;
83678 #endif
83679 #ifdef __cplusplus
83681 #endif
83684 main ()
83686 return f != $ac_func;
83688 return 0;
83690 _ACEOF
83691 rm -f conftest.$ac_objext conftest$ac_exeext
83692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83693 (eval $ac_link) 2>conftest.er1
83694 ac_status=$?
83695 grep -v '^ *+' conftest.er1 >conftest.err
83696 rm -f conftest.er1
83697 cat conftest.err >&5
83698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83699 (exit $ac_status); } &&
83700 { ac_try='test -z "$ac_c_werror_flag"
83701 || test ! -s conftest.err'
83702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83703 (eval $ac_try) 2>&5
83704 ac_status=$?
83705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83706 (exit $ac_status); }; } &&
83707 { ac_try='test -s conftest$ac_exeext'
83708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83709 (eval $ac_try) 2>&5
83710 ac_status=$?
83711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83712 (exit $ac_status); }; }; then
83713 eval "$as_ac_var=yes"
83714 else
83715 echo "$as_me: failed program was:" >&5
83716 sed 's/^/| /' conftest.$ac_ext >&5
83718 eval "$as_ac_var=no"
83720 rm -f conftest.err conftest.$ac_objext \
83721 conftest$ac_exeext conftest.$ac_ext
83723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83725 if test `eval echo '${'$as_ac_var'}'` = yes; then
83726 cat >>confdefs.h <<_ACEOF
83727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83728 _ACEOF
83730 else
83731 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83733 done
83736 if test x$ac_cv_func_copysignl = x"yes"; then
83738 for ac_func in __signbitl
83740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83741 echo "$as_me:$LINENO: checking for $ac_func" >&5
83742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83743 if eval "test \"\${$as_ac_var+set}\" = set"; then
83744 echo $ECHO_N "(cached) $ECHO_C" >&6
83745 else
83746 if test x$gcc_no_link = xyes; then
83747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83749 { (exit 1); exit 1; }; }
83751 cat >conftest.$ac_ext <<_ACEOF
83752 /* confdefs.h. */
83753 _ACEOF
83754 cat confdefs.h >>conftest.$ac_ext
83755 cat >>conftest.$ac_ext <<_ACEOF
83756 /* end confdefs.h. */
83757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83759 #define $ac_func innocuous_$ac_func
83761 /* System header to define __stub macros and hopefully few prototypes,
83762 which can conflict with char $ac_func (); below.
83763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83764 <limits.h> exists even on freestanding compilers. */
83766 #ifdef __STDC__
83767 # include <limits.h>
83768 #else
83769 # include <assert.h>
83770 #endif
83772 #undef $ac_func
83774 /* Override any gcc2 internal prototype to avoid an error. */
83775 #ifdef __cplusplus
83776 extern "C"
83778 #endif
83779 /* We use char because int might match the return type of a gcc2
83780 builtin and then its argument prototype would still apply. */
83781 char $ac_func ();
83782 /* The GNU C library defines this for functions which it implements
83783 to always fail with ENOSYS. Some functions are actually named
83784 something starting with __ and the normal name is an alias. */
83785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83786 choke me
83787 #else
83788 char (*f) () = $ac_func;
83789 #endif
83790 #ifdef __cplusplus
83792 #endif
83795 main ()
83797 return f != $ac_func;
83799 return 0;
83801 _ACEOF
83802 rm -f conftest.$ac_objext conftest$ac_exeext
83803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83804 (eval $ac_link) 2>conftest.er1
83805 ac_status=$?
83806 grep -v '^ *+' conftest.er1 >conftest.err
83807 rm -f conftest.er1
83808 cat conftest.err >&5
83809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83810 (exit $ac_status); } &&
83811 { ac_try='test -z "$ac_c_werror_flag"
83812 || test ! -s conftest.err'
83813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83814 (eval $ac_try) 2>&5
83815 ac_status=$?
83816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83817 (exit $ac_status); }; } &&
83818 { ac_try='test -s conftest$ac_exeext'
83819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83820 (eval $ac_try) 2>&5
83821 ac_status=$?
83822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83823 (exit $ac_status); }; }; then
83824 eval "$as_ac_var=yes"
83825 else
83826 echo "$as_me: failed program was:" >&5
83827 sed 's/^/| /' conftest.$ac_ext >&5
83829 eval "$as_ac_var=no"
83831 rm -f conftest.err conftest.$ac_objext \
83832 conftest$ac_exeext conftest.$ac_ext
83834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83836 if test `eval echo '${'$as_ac_var'}'` = yes; then
83837 cat >>confdefs.h <<_ACEOF
83838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83839 _ACEOF
83841 else
83842 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83844 done
83848 # Used in libmath/Makefile.am.
83849 if test -n "$LIBMATHOBJS"; then
83850 need_libmath=yes
83855 ac_test_CXXFLAGS="${CXXFLAGS+set}"
83856 ac_save_CXXFLAGS="$CXXFLAGS"
83857 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
83860 echo "$as_me:$LINENO: checking for strtold declaration" >&5
83861 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
83862 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
83863 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
83864 echo $ECHO_N "(cached) $ECHO_C" >&6
83865 else
83869 ac_ext=cc
83870 ac_cpp='$CXXCPP $CPPFLAGS'
83871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83875 cat >conftest.$ac_ext <<_ACEOF
83876 /* confdefs.h. */
83877 _ACEOF
83878 cat confdefs.h >>conftest.$ac_ext
83879 cat >>conftest.$ac_ext <<_ACEOF
83880 /* end confdefs.h. */
83881 #include <stdlib.h>
83883 main ()
83885 strtold(0, 0);
83887 return 0;
83889 _ACEOF
83890 rm -f conftest.$ac_objext
83891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83892 (eval $ac_compile) 2>conftest.er1
83893 ac_status=$?
83894 grep -v '^ *+' conftest.er1 >conftest.err
83895 rm -f conftest.er1
83896 cat conftest.err >&5
83897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83898 (exit $ac_status); } &&
83899 { ac_try='test -z "$ac_cxx_werror_flag"
83900 || test ! -s conftest.err'
83901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83902 (eval $ac_try) 2>&5
83903 ac_status=$?
83904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83905 (exit $ac_status); }; } &&
83906 { ac_try='test -s conftest.$ac_objext'
83907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83908 (eval $ac_try) 2>&5
83909 ac_status=$?
83910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83911 (exit $ac_status); }; }; then
83912 glibcxx_cv_func_strtold_use=yes
83913 else
83914 echo "$as_me: failed program was:" >&5
83915 sed 's/^/| /' conftest.$ac_ext >&5
83917 glibcxx_cv_func_strtold_use=no
83919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83920 ac_ext=c
83921 ac_cpp='$CPP $CPPFLAGS'
83922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83930 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
83931 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
83932 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
83934 for ac_func in strtold
83936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83937 echo "$as_me:$LINENO: checking for $ac_func" >&5
83938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83939 if eval "test \"\${$as_ac_var+set}\" = set"; then
83940 echo $ECHO_N "(cached) $ECHO_C" >&6
83941 else
83942 if test x$gcc_no_link = xyes; then
83943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83945 { (exit 1); exit 1; }; }
83947 cat >conftest.$ac_ext <<_ACEOF
83948 /* confdefs.h. */
83949 _ACEOF
83950 cat confdefs.h >>conftest.$ac_ext
83951 cat >>conftest.$ac_ext <<_ACEOF
83952 /* end confdefs.h. */
83953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83955 #define $ac_func innocuous_$ac_func
83957 /* System header to define __stub macros and hopefully few prototypes,
83958 which can conflict with char $ac_func (); below.
83959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83960 <limits.h> exists even on freestanding compilers. */
83962 #ifdef __STDC__
83963 # include <limits.h>
83964 #else
83965 # include <assert.h>
83966 #endif
83968 #undef $ac_func
83970 /* Override any gcc2 internal prototype to avoid an error. */
83971 #ifdef __cplusplus
83972 extern "C"
83974 #endif
83975 /* We use char because int might match the return type of a gcc2
83976 builtin and then its argument prototype would still apply. */
83977 char $ac_func ();
83978 /* The GNU C library defines this for functions which it implements
83979 to always fail with ENOSYS. Some functions are actually named
83980 something starting with __ and the normal name is an alias. */
83981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83982 choke me
83983 #else
83984 char (*f) () = $ac_func;
83985 #endif
83986 #ifdef __cplusplus
83988 #endif
83991 main ()
83993 return f != $ac_func;
83995 return 0;
83997 _ACEOF
83998 rm -f conftest.$ac_objext conftest$ac_exeext
83999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84000 (eval $ac_link) 2>conftest.er1
84001 ac_status=$?
84002 grep -v '^ *+' conftest.er1 >conftest.err
84003 rm -f conftest.er1
84004 cat conftest.err >&5
84005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84006 (exit $ac_status); } &&
84007 { ac_try='test -z "$ac_c_werror_flag"
84008 || test ! -s conftest.err'
84009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84010 (eval $ac_try) 2>&5
84011 ac_status=$?
84012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84013 (exit $ac_status); }; } &&
84014 { ac_try='test -s conftest$ac_exeext'
84015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84016 (eval $ac_try) 2>&5
84017 ac_status=$?
84018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84019 (exit $ac_status); }; }; then
84020 eval "$as_ac_var=yes"
84021 else
84022 echo "$as_me: failed program was:" >&5
84023 sed 's/^/| /' conftest.$ac_ext >&5
84025 eval "$as_ac_var=no"
84027 rm -f conftest.err conftest.$ac_objext \
84028 conftest$ac_exeext conftest.$ac_ext
84030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84032 if test `eval echo '${'$as_ac_var'}'` = yes; then
84033 cat >>confdefs.h <<_ACEOF
84034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84035 _ACEOF
84038 done
84046 echo "$as_me:$LINENO: checking for strtof declaration" >&5
84047 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
84048 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
84049 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
84050 echo $ECHO_N "(cached) $ECHO_C" >&6
84051 else
84055 ac_ext=cc
84056 ac_cpp='$CXXCPP $CPPFLAGS'
84057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84061 cat >conftest.$ac_ext <<_ACEOF
84062 /* confdefs.h. */
84063 _ACEOF
84064 cat confdefs.h >>conftest.$ac_ext
84065 cat >>conftest.$ac_ext <<_ACEOF
84066 /* end confdefs.h. */
84067 #include <stdlib.h>
84069 main ()
84071 strtof(0, 0);
84073 return 0;
84075 _ACEOF
84076 rm -f conftest.$ac_objext
84077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84078 (eval $ac_compile) 2>conftest.er1
84079 ac_status=$?
84080 grep -v '^ *+' conftest.er1 >conftest.err
84081 rm -f conftest.er1
84082 cat conftest.err >&5
84083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84084 (exit $ac_status); } &&
84085 { ac_try='test -z "$ac_cxx_werror_flag"
84086 || test ! -s conftest.err'
84087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84088 (eval $ac_try) 2>&5
84089 ac_status=$?
84090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84091 (exit $ac_status); }; } &&
84092 { ac_try='test -s conftest.$ac_objext'
84093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84094 (eval $ac_try) 2>&5
84095 ac_status=$?
84096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84097 (exit $ac_status); }; }; then
84098 glibcxx_cv_func_strtof_use=yes
84099 else
84100 echo "$as_me: failed program was:" >&5
84101 sed 's/^/| /' conftest.$ac_ext >&5
84103 glibcxx_cv_func_strtof_use=no
84105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84106 ac_ext=c
84107 ac_cpp='$CPP $CPPFLAGS'
84108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84116 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
84117 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
84118 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
84120 for ac_func in strtof
84122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84123 echo "$as_me:$LINENO: checking for $ac_func" >&5
84124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84125 if eval "test \"\${$as_ac_var+set}\" = set"; then
84126 echo $ECHO_N "(cached) $ECHO_C" >&6
84127 else
84128 if test x$gcc_no_link = xyes; then
84129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84131 { (exit 1); exit 1; }; }
84133 cat >conftest.$ac_ext <<_ACEOF
84134 /* confdefs.h. */
84135 _ACEOF
84136 cat confdefs.h >>conftest.$ac_ext
84137 cat >>conftest.$ac_ext <<_ACEOF
84138 /* end confdefs.h. */
84139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84141 #define $ac_func innocuous_$ac_func
84143 /* System header to define __stub macros and hopefully few prototypes,
84144 which can conflict with char $ac_func (); below.
84145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84146 <limits.h> exists even on freestanding compilers. */
84148 #ifdef __STDC__
84149 # include <limits.h>
84150 #else
84151 # include <assert.h>
84152 #endif
84154 #undef $ac_func
84156 /* Override any gcc2 internal prototype to avoid an error. */
84157 #ifdef __cplusplus
84158 extern "C"
84160 #endif
84161 /* We use char because int might match the return type of a gcc2
84162 builtin and then its argument prototype would still apply. */
84163 char $ac_func ();
84164 /* The GNU C library defines this for functions which it implements
84165 to always fail with ENOSYS. Some functions are actually named
84166 something starting with __ and the normal name is an alias. */
84167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84168 choke me
84169 #else
84170 char (*f) () = $ac_func;
84171 #endif
84172 #ifdef __cplusplus
84174 #endif
84177 main ()
84179 return f != $ac_func;
84181 return 0;
84183 _ACEOF
84184 rm -f conftest.$ac_objext conftest$ac_exeext
84185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84186 (eval $ac_link) 2>conftest.er1
84187 ac_status=$?
84188 grep -v '^ *+' conftest.er1 >conftest.err
84189 rm -f conftest.er1
84190 cat conftest.err >&5
84191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84192 (exit $ac_status); } &&
84193 { ac_try='test -z "$ac_c_werror_flag"
84194 || test ! -s conftest.err'
84195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84196 (eval $ac_try) 2>&5
84197 ac_status=$?
84198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84199 (exit $ac_status); }; } &&
84200 { ac_try='test -s conftest$ac_exeext'
84201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84202 (eval $ac_try) 2>&5
84203 ac_status=$?
84204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84205 (exit $ac_status); }; }; then
84206 eval "$as_ac_var=yes"
84207 else
84208 echo "$as_me: failed program was:" >&5
84209 sed 's/^/| /' conftest.$ac_ext >&5
84211 eval "$as_ac_var=no"
84213 rm -f conftest.err conftest.$ac_objext \
84214 conftest$ac_exeext conftest.$ac_ext
84216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84218 if test `eval echo '${'$as_ac_var'}'` = yes; then
84219 cat >>confdefs.h <<_ACEOF
84220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84221 _ACEOF
84224 done
84232 CXXFLAGS="$ac_save_CXXFLAGS"
84235 # For showmanyc_helper().
84238 for ac_header in sys/ioctl.h sys/filio.h
84240 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84242 echo "$as_me:$LINENO: checking for $ac_header" >&5
84243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84245 echo $ECHO_N "(cached) $ECHO_C" >&6
84247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84249 else
84250 # Is the header compilable?
84251 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84252 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84253 cat >conftest.$ac_ext <<_ACEOF
84254 /* confdefs.h. */
84255 _ACEOF
84256 cat confdefs.h >>conftest.$ac_ext
84257 cat >>conftest.$ac_ext <<_ACEOF
84258 /* end confdefs.h. */
84259 $ac_includes_default
84260 #include <$ac_header>
84261 _ACEOF
84262 rm -f conftest.$ac_objext
84263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84264 (eval $ac_compile) 2>conftest.er1
84265 ac_status=$?
84266 grep -v '^ *+' conftest.er1 >conftest.err
84267 rm -f conftest.er1
84268 cat conftest.err >&5
84269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84270 (exit $ac_status); } &&
84271 { ac_try='test -z "$ac_c_werror_flag"
84272 || test ! -s conftest.err'
84273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84274 (eval $ac_try) 2>&5
84275 ac_status=$?
84276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84277 (exit $ac_status); }; } &&
84278 { ac_try='test -s conftest.$ac_objext'
84279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84280 (eval $ac_try) 2>&5
84281 ac_status=$?
84282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84283 (exit $ac_status); }; }; then
84284 ac_header_compiler=yes
84285 else
84286 echo "$as_me: failed program was:" >&5
84287 sed 's/^/| /' conftest.$ac_ext >&5
84289 ac_header_compiler=no
84291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84292 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84293 echo "${ECHO_T}$ac_header_compiler" >&6
84295 # Is the header present?
84296 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84297 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84298 cat >conftest.$ac_ext <<_ACEOF
84299 /* confdefs.h. */
84300 _ACEOF
84301 cat confdefs.h >>conftest.$ac_ext
84302 cat >>conftest.$ac_ext <<_ACEOF
84303 /* end confdefs.h. */
84304 #include <$ac_header>
84305 _ACEOF
84306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84307 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84308 ac_status=$?
84309 grep -v '^ *+' conftest.er1 >conftest.err
84310 rm -f conftest.er1
84311 cat conftest.err >&5
84312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84313 (exit $ac_status); } >/dev/null; then
84314 if test -s conftest.err; then
84315 ac_cpp_err=$ac_c_preproc_warn_flag
84316 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84317 else
84318 ac_cpp_err=
84320 else
84321 ac_cpp_err=yes
84323 if test -z "$ac_cpp_err"; then
84324 ac_header_preproc=yes
84325 else
84326 echo "$as_me: failed program was:" >&5
84327 sed 's/^/| /' conftest.$ac_ext >&5
84329 ac_header_preproc=no
84331 rm -f conftest.err conftest.$ac_ext
84332 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84333 echo "${ECHO_T}$ac_header_preproc" >&6
84335 # So? What about this header?
84336 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84337 yes:no: )
84338 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84339 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84341 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84342 ac_header_preproc=yes
84344 no:yes:* )
84345 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84346 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84347 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84348 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84349 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84350 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84351 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84352 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84354 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84355 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84356 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84358 cat <<\_ASBOX
84359 ## ----------------------------------------- ##
84360 ## Report this to the package-unused lists. ##
84361 ## ----------------------------------------- ##
84362 _ASBOX
84364 sed "s/^/$as_me: WARNING: /" >&2
84366 esac
84367 echo "$as_me:$LINENO: checking for $ac_header" >&5
84368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84370 echo $ECHO_N "(cached) $ECHO_C" >&6
84371 else
84372 eval "$as_ac_Header=\$ac_header_preproc"
84374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84378 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84379 cat >>confdefs.h <<_ACEOF
84380 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84381 _ACEOF
84385 done
84388 echo "$as_me:$LINENO: checking for poll" >&5
84389 echo $ECHO_N "checking for poll... $ECHO_C" >&6
84390 if test "${glibcxx_cv_POLL+set}" = set; then
84391 echo $ECHO_N "(cached) $ECHO_C" >&6
84392 else
84394 if test x$gcc_no_link = xyes; then
84395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84397 { (exit 1); exit 1; }; }
84399 cat >conftest.$ac_ext <<_ACEOF
84400 /* confdefs.h. */
84401 _ACEOF
84402 cat confdefs.h >>conftest.$ac_ext
84403 cat >>conftest.$ac_ext <<_ACEOF
84404 /* end confdefs.h. */
84405 #include <poll.h>
84407 main ()
84409 struct pollfd pfd[1];
84410 pfd[0].events = POLLIN;
84411 poll(pfd, 1, 0);
84413 return 0;
84415 _ACEOF
84416 rm -f conftest.$ac_objext conftest$ac_exeext
84417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84418 (eval $ac_link) 2>conftest.er1
84419 ac_status=$?
84420 grep -v '^ *+' conftest.er1 >conftest.err
84421 rm -f conftest.er1
84422 cat conftest.err >&5
84423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84424 (exit $ac_status); } &&
84425 { ac_try='test -z "$ac_c_werror_flag"
84426 || test ! -s conftest.err'
84427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84428 (eval $ac_try) 2>&5
84429 ac_status=$?
84430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84431 (exit $ac_status); }; } &&
84432 { ac_try='test -s conftest$ac_exeext'
84433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84434 (eval $ac_try) 2>&5
84435 ac_status=$?
84436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84437 (exit $ac_status); }; }; then
84438 glibcxx_cv_POLL=yes
84439 else
84440 echo "$as_me: failed program was:" >&5
84441 sed 's/^/| /' conftest.$ac_ext >&5
84443 glibcxx_cv_POLL=no
84445 rm -f conftest.err conftest.$ac_objext \
84446 conftest$ac_exeext conftest.$ac_ext
84450 if test $glibcxx_cv_POLL = yes; then
84452 cat >>confdefs.h <<\_ACEOF
84453 #define HAVE_POLL 1
84454 _ACEOF
84457 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
84458 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
84461 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
84462 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
84463 if test "${glibcxx_cv_S_ISREG+set}" = set; then
84464 echo $ECHO_N "(cached) $ECHO_C" >&6
84465 else
84467 if test x$gcc_no_link = xyes; then
84468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84470 { (exit 1); exit 1; }; }
84472 cat >conftest.$ac_ext <<_ACEOF
84473 /* confdefs.h. */
84474 _ACEOF
84475 cat confdefs.h >>conftest.$ac_ext
84476 cat >>conftest.$ac_ext <<_ACEOF
84477 /* end confdefs.h. */
84478 #include <sys/stat.h>
84480 main ()
84482 struct stat buffer;
84483 fstat(0, &buffer);
84484 S_ISREG(buffer.st_mode);
84486 return 0;
84488 _ACEOF
84489 rm -f conftest.$ac_objext conftest$ac_exeext
84490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84491 (eval $ac_link) 2>conftest.er1
84492 ac_status=$?
84493 grep -v '^ *+' conftest.er1 >conftest.err
84494 rm -f conftest.er1
84495 cat conftest.err >&5
84496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84497 (exit $ac_status); } &&
84498 { ac_try='test -z "$ac_c_werror_flag"
84499 || test ! -s conftest.err'
84500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84501 (eval $ac_try) 2>&5
84502 ac_status=$?
84503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84504 (exit $ac_status); }; } &&
84505 { ac_try='test -s conftest$ac_exeext'
84506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84507 (eval $ac_try) 2>&5
84508 ac_status=$?
84509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84510 (exit $ac_status); }; }; then
84511 glibcxx_cv_S_ISREG=yes
84512 else
84513 echo "$as_me: failed program was:" >&5
84514 sed 's/^/| /' conftest.$ac_ext >&5
84516 glibcxx_cv_S_ISREG=no
84518 rm -f conftest.err conftest.$ac_objext \
84519 conftest$ac_exeext conftest.$ac_ext
84523 if test "${glibcxx_cv_S_IFREG+set}" = set; then
84524 echo $ECHO_N "(cached) $ECHO_C" >&6
84525 else
84527 if test x$gcc_no_link = xyes; then
84528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84530 { (exit 1); exit 1; }; }
84532 cat >conftest.$ac_ext <<_ACEOF
84533 /* confdefs.h. */
84534 _ACEOF
84535 cat confdefs.h >>conftest.$ac_ext
84536 cat >>conftest.$ac_ext <<_ACEOF
84537 /* end confdefs.h. */
84538 #include <sys/stat.h>
84540 main ()
84542 struct stat buffer;
84543 fstat(0, &buffer);
84544 S_IFREG & buffer.st_mode;
84546 return 0;
84548 _ACEOF
84549 rm -f conftest.$ac_objext conftest$ac_exeext
84550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84551 (eval $ac_link) 2>conftest.er1
84552 ac_status=$?
84553 grep -v '^ *+' conftest.er1 >conftest.err
84554 rm -f conftest.er1
84555 cat conftest.err >&5
84556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84557 (exit $ac_status); } &&
84558 { ac_try='test -z "$ac_c_werror_flag"
84559 || test ! -s conftest.err'
84560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84561 (eval $ac_try) 2>&5
84562 ac_status=$?
84563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84564 (exit $ac_status); }; } &&
84565 { ac_try='test -s conftest$ac_exeext'
84566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84567 (eval $ac_try) 2>&5
84568 ac_status=$?
84569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84570 (exit $ac_status); }; }; then
84571 glibcxx_cv_S_IFREG=yes
84572 else
84573 echo "$as_me: failed program was:" >&5
84574 sed 's/^/| /' conftest.$ac_ext >&5
84576 glibcxx_cv_S_IFREG=no
84578 rm -f conftest.err conftest.$ac_objext \
84579 conftest$ac_exeext conftest.$ac_ext
84583 res=no
84584 if test $glibcxx_cv_S_ISREG = yes; then
84586 cat >>confdefs.h <<\_ACEOF
84587 #define HAVE_S_ISREG 1
84588 _ACEOF
84590 res=S_ISREG
84591 elif test $glibcxx_cv_S_IFREG = yes; then
84593 cat >>confdefs.h <<\_ACEOF
84594 #define HAVE_S_IFREG 1
84595 _ACEOF
84597 res=S_IFREG
84599 echo "$as_me:$LINENO: result: $res" >&5
84600 echo "${ECHO_T}$res" >&6
84603 # For xsputn_2().
84605 for ac_header in sys/uio.h
84607 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84609 echo "$as_me:$LINENO: checking for $ac_header" >&5
84610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84612 echo $ECHO_N "(cached) $ECHO_C" >&6
84614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84616 else
84617 # Is the header compilable?
84618 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84619 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84620 cat >conftest.$ac_ext <<_ACEOF
84621 /* confdefs.h. */
84622 _ACEOF
84623 cat confdefs.h >>conftest.$ac_ext
84624 cat >>conftest.$ac_ext <<_ACEOF
84625 /* end confdefs.h. */
84626 $ac_includes_default
84627 #include <$ac_header>
84628 _ACEOF
84629 rm -f conftest.$ac_objext
84630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84631 (eval $ac_compile) 2>conftest.er1
84632 ac_status=$?
84633 grep -v '^ *+' conftest.er1 >conftest.err
84634 rm -f conftest.er1
84635 cat conftest.err >&5
84636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84637 (exit $ac_status); } &&
84638 { ac_try='test -z "$ac_c_werror_flag"
84639 || test ! -s conftest.err'
84640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84641 (eval $ac_try) 2>&5
84642 ac_status=$?
84643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84644 (exit $ac_status); }; } &&
84645 { ac_try='test -s conftest.$ac_objext'
84646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84647 (eval $ac_try) 2>&5
84648 ac_status=$?
84649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84650 (exit $ac_status); }; }; then
84651 ac_header_compiler=yes
84652 else
84653 echo "$as_me: failed program was:" >&5
84654 sed 's/^/| /' conftest.$ac_ext >&5
84656 ac_header_compiler=no
84658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84659 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84660 echo "${ECHO_T}$ac_header_compiler" >&6
84662 # Is the header present?
84663 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84664 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84665 cat >conftest.$ac_ext <<_ACEOF
84666 /* confdefs.h. */
84667 _ACEOF
84668 cat confdefs.h >>conftest.$ac_ext
84669 cat >>conftest.$ac_ext <<_ACEOF
84670 /* end confdefs.h. */
84671 #include <$ac_header>
84672 _ACEOF
84673 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84674 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84675 ac_status=$?
84676 grep -v '^ *+' conftest.er1 >conftest.err
84677 rm -f conftest.er1
84678 cat conftest.err >&5
84679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84680 (exit $ac_status); } >/dev/null; then
84681 if test -s conftest.err; then
84682 ac_cpp_err=$ac_c_preproc_warn_flag
84683 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84684 else
84685 ac_cpp_err=
84687 else
84688 ac_cpp_err=yes
84690 if test -z "$ac_cpp_err"; then
84691 ac_header_preproc=yes
84692 else
84693 echo "$as_me: failed program was:" >&5
84694 sed 's/^/| /' conftest.$ac_ext >&5
84696 ac_header_preproc=no
84698 rm -f conftest.err conftest.$ac_ext
84699 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84700 echo "${ECHO_T}$ac_header_preproc" >&6
84702 # So? What about this header?
84703 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84704 yes:no: )
84705 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84706 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84707 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84708 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84709 ac_header_preproc=yes
84711 no:yes:* )
84712 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84713 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84714 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84715 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84716 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84717 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84718 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84719 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84722 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84723 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84725 cat <<\_ASBOX
84726 ## ----------------------------------------- ##
84727 ## Report this to the package-unused lists. ##
84728 ## ----------------------------------------- ##
84729 _ASBOX
84731 sed "s/^/$as_me: WARNING: /" >&2
84733 esac
84734 echo "$as_me:$LINENO: checking for $ac_header" >&5
84735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84737 echo $ECHO_N "(cached) $ECHO_C" >&6
84738 else
84739 eval "$as_ac_Header=\$ac_header_preproc"
84741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84745 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84746 cat >>confdefs.h <<_ACEOF
84747 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84748 _ACEOF
84752 done
84755 echo "$as_me:$LINENO: checking for writev" >&5
84756 echo $ECHO_N "checking for writev... $ECHO_C" >&6
84757 if test "${glibcxx_cv_WRITEV+set}" = set; then
84758 echo $ECHO_N "(cached) $ECHO_C" >&6
84759 else
84761 if test x$gcc_no_link = xyes; then
84762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84764 { (exit 1); exit 1; }; }
84766 cat >conftest.$ac_ext <<_ACEOF
84767 /* confdefs.h. */
84768 _ACEOF
84769 cat confdefs.h >>conftest.$ac_ext
84770 cat >>conftest.$ac_ext <<_ACEOF
84771 /* end confdefs.h. */
84772 #include <sys/uio.h>
84774 main ()
84776 struct iovec iov[2];
84777 writev(0, iov, 0);
84779 return 0;
84781 _ACEOF
84782 rm -f conftest.$ac_objext conftest$ac_exeext
84783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84784 (eval $ac_link) 2>conftest.er1
84785 ac_status=$?
84786 grep -v '^ *+' conftest.er1 >conftest.err
84787 rm -f conftest.er1
84788 cat conftest.err >&5
84789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84790 (exit $ac_status); } &&
84791 { ac_try='test -z "$ac_c_werror_flag"
84792 || test ! -s conftest.err'
84793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84794 (eval $ac_try) 2>&5
84795 ac_status=$?
84796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84797 (exit $ac_status); }; } &&
84798 { ac_try='test -s conftest$ac_exeext'
84799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84800 (eval $ac_try) 2>&5
84801 ac_status=$?
84802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84803 (exit $ac_status); }; }; then
84804 glibcxx_cv_WRITEV=yes
84805 else
84806 echo "$as_me: failed program was:" >&5
84807 sed 's/^/| /' conftest.$ac_ext >&5
84809 glibcxx_cv_WRITEV=no
84811 rm -f conftest.err conftest.$ac_objext \
84812 conftest$ac_exeext conftest.$ac_ext
84816 if test $glibcxx_cv_WRITEV = yes; then
84818 cat >>confdefs.h <<\_ACEOF
84819 #define HAVE_WRITEV 1
84820 _ACEOF
84823 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
84824 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
84827 cat >>confdefs.h <<\_ACEOF
84828 #define HAVE_LC_MESSAGES 1
84829 _ACEOF
84832 cat >conftest.$ac_ext <<_ACEOF
84833 /* confdefs.h. */
84834 _ACEOF
84835 cat confdefs.h >>conftest.$ac_ext
84836 cat >>conftest.$ac_ext <<_ACEOF
84837 /* end confdefs.h. */
84838 #include <setjmp.h>
84840 main ()
84842 sigjmp_buf env;
84843 while (! sigsetjmp (env, 1))
84844 siglongjmp (env, 1);
84847 return 0;
84849 _ACEOF
84850 rm -f conftest.$ac_objext
84851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84852 (eval $ac_compile) 2>conftest.er1
84853 ac_status=$?
84854 grep -v '^ *+' conftest.er1 >conftest.err
84855 rm -f conftest.er1
84856 cat conftest.err >&5
84857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84858 (exit $ac_status); } &&
84859 { ac_try='test -z "$ac_c_werror_flag"
84860 || test ! -s conftest.err'
84861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84862 (eval $ac_try) 2>&5
84863 ac_status=$?
84864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84865 (exit $ac_status); }; } &&
84866 { ac_try='test -s conftest.$ac_objext'
84867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84868 (eval $ac_try) 2>&5
84869 ac_status=$?
84870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84871 (exit $ac_status); }; }; then
84873 cat >>confdefs.h <<\_ACEOF
84874 #define HAVE_SIGSETJMP 1
84875 _ACEOF
84877 else
84878 echo "$as_me: failed program was:" >&5
84879 sed 's/^/| /' conftest.$ac_ext >&5
84882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84884 cat >>confdefs.h <<\_ACEOF
84885 #define HAVE_MMAP 1
84886 _ACEOF
84890 *djgpp)
84911 for ac_header in float.h ieeefp.h inttypes.h locale.h \
84912 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
84913 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
84914 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
84916 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84918 echo "$as_me:$LINENO: checking for $ac_header" >&5
84919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84921 echo $ECHO_N "(cached) $ECHO_C" >&6
84923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84925 else
84926 # Is the header compilable?
84927 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84928 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84929 cat >conftest.$ac_ext <<_ACEOF
84930 /* confdefs.h. */
84931 _ACEOF
84932 cat confdefs.h >>conftest.$ac_ext
84933 cat >>conftest.$ac_ext <<_ACEOF
84934 /* end confdefs.h. */
84935 $ac_includes_default
84936 #include <$ac_header>
84937 _ACEOF
84938 rm -f conftest.$ac_objext
84939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84940 (eval $ac_compile) 2>conftest.er1
84941 ac_status=$?
84942 grep -v '^ *+' conftest.er1 >conftest.err
84943 rm -f conftest.er1
84944 cat conftest.err >&5
84945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84946 (exit $ac_status); } &&
84947 { ac_try='test -z "$ac_c_werror_flag"
84948 || test ! -s conftest.err'
84949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84950 (eval $ac_try) 2>&5
84951 ac_status=$?
84952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84953 (exit $ac_status); }; } &&
84954 { ac_try='test -s conftest.$ac_objext'
84955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84956 (eval $ac_try) 2>&5
84957 ac_status=$?
84958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84959 (exit $ac_status); }; }; then
84960 ac_header_compiler=yes
84961 else
84962 echo "$as_me: failed program was:" >&5
84963 sed 's/^/| /' conftest.$ac_ext >&5
84965 ac_header_compiler=no
84967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84968 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84969 echo "${ECHO_T}$ac_header_compiler" >&6
84971 # Is the header present?
84972 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84973 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84974 cat >conftest.$ac_ext <<_ACEOF
84975 /* confdefs.h. */
84976 _ACEOF
84977 cat confdefs.h >>conftest.$ac_ext
84978 cat >>conftest.$ac_ext <<_ACEOF
84979 /* end confdefs.h. */
84980 #include <$ac_header>
84981 _ACEOF
84982 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84983 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84984 ac_status=$?
84985 grep -v '^ *+' conftest.er1 >conftest.err
84986 rm -f conftest.er1
84987 cat conftest.err >&5
84988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84989 (exit $ac_status); } >/dev/null; then
84990 if test -s conftest.err; then
84991 ac_cpp_err=$ac_c_preproc_warn_flag
84992 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84993 else
84994 ac_cpp_err=
84996 else
84997 ac_cpp_err=yes
84999 if test -z "$ac_cpp_err"; then
85000 ac_header_preproc=yes
85001 else
85002 echo "$as_me: failed program was:" >&5
85003 sed 's/^/| /' conftest.$ac_ext >&5
85005 ac_header_preproc=no
85007 rm -f conftest.err conftest.$ac_ext
85008 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85009 echo "${ECHO_T}$ac_header_preproc" >&6
85011 # So? What about this header?
85012 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85013 yes:no: )
85014 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85015 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85017 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85018 ac_header_preproc=yes
85020 no:yes:* )
85021 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85022 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85023 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85024 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85025 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85026 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85027 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85028 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85030 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85031 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85032 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85034 cat <<\_ASBOX
85035 ## ----------------------------------------- ##
85036 ## Report this to the package-unused lists. ##
85037 ## ----------------------------------------- ##
85038 _ASBOX
85040 sed "s/^/$as_me: WARNING: /" >&2
85042 esac
85043 echo "$as_me:$LINENO: checking for $ac_header" >&5
85044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85046 echo $ECHO_N "(cached) $ECHO_C" >&6
85047 else
85048 eval "$as_ac_Header=\$ac_header_preproc"
85050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85054 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85055 cat >>confdefs.h <<_ACEOF
85056 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85057 _ACEOF
85061 done
85063 # GLIBCXX_CHECK_MATH_SUPPORT
85064 cat >>confdefs.h <<\_ACEOF
85065 #define HAVE_LIBM 1
85066 _ACEOF
85068 cat >>confdefs.h <<\_ACEOF
85069 #define HAVE_ISINF 1
85070 _ACEOF
85072 cat >>confdefs.h <<\_ACEOF
85073 #define HAVE_ISNAN 1
85074 _ACEOF
85076 cat >>confdefs.h <<\_ACEOF
85077 #define HAVE_FINITE 1
85078 _ACEOF
85080 cat >>confdefs.h <<\_ACEOF
85081 #define HAVE_COPYSIGN 1
85082 _ACEOF
85084 cat >>confdefs.h <<\_ACEOF
85085 #define HAVE_SINCOS 1
85086 _ACEOF
85088 cat >>confdefs.h <<\_ACEOF
85089 #define HAVE_HYPOT 1
85090 _ACEOF
85092 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
85093 cat >>confdefs.h <<\_ACEOF
85094 #define HAVE___BUILTIN_ABS 1
85095 _ACEOF
85097 cat >>confdefs.h <<\_ACEOF
85098 #define HAVE___BUILTIN_FABSF 1
85099 _ACEOF
85101 cat >>confdefs.h <<\_ACEOF
85102 #define HAVE___BUILTIN_FABS 1
85103 _ACEOF
85105 cat >>confdefs.h <<\_ACEOF
85106 #define HAVE___BUILTIN_FABSL 1
85107 _ACEOF
85109 cat >>confdefs.h <<\_ACEOF
85110 #define HAVE___BUILTIN_LABS 1
85111 _ACEOF
85113 cat >>confdefs.h <<\_ACEOF
85114 #define HAVE___BUILTIN_SQRTF 1
85115 _ACEOF
85117 cat >>confdefs.h <<\_ACEOF
85118 #define HAVE___BUILTIN_SQRT 1
85119 _ACEOF
85121 cat >>confdefs.h <<\_ACEOF
85122 #define HAVE___BUILTIN_SQRTL 1
85123 _ACEOF
85125 cat >>confdefs.h <<\_ACEOF
85126 #define HAVE___BUILTIN_SINF 1
85127 _ACEOF
85129 cat >>confdefs.h <<\_ACEOF
85130 #define HAVE___BUILTIN_SIN 1
85131 _ACEOF
85133 cat >>confdefs.h <<\_ACEOF
85134 #define HAVE___BUILTIN_SINL 1
85135 _ACEOF
85137 cat >>confdefs.h <<\_ACEOF
85138 #define HAVE___BUILTIN_COSF 1
85139 _ACEOF
85141 cat >>confdefs.h <<\_ACEOF
85142 #define HAVE___BUILTIN_COS 1
85143 _ACEOF
85145 cat >>confdefs.h <<\_ACEOF
85146 #define HAVE___BUILTIN_COSL 1
85147 _ACEOF
85149 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
85150 # GLIBCXX_CHECK_STDLIB_SUPPORT
85151 cat >>confdefs.h <<\_ACEOF
85152 #define HAVE_COPYSIGN 1
85153 _ACEOF
85155 cat >>confdefs.h <<\_ACEOF
85156 #define HAVE_COPYSIGNF 1
85157 _ACEOF
85159 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
85160 cat >>confdefs.h <<\_ACEOF
85161 #define HAVE_S_ISREG 1
85162 _ACEOF
85164 cat >>confdefs.h <<\_ACEOF
85165 #define HAVE_S_IFREG 1
85166 _ACEOF
85168 cat >>confdefs.h <<\_ACEOF
85169 #define HAVE_WRITEV 1
85170 _ACEOF
85174 *-freebsd*)
85191 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
85192 machine/endian.h machine/param.h sys/machine.h sys/types.h \
85193 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
85194 sys/time.h unistd.h
85196 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85198 echo "$as_me:$LINENO: checking for $ac_header" >&5
85199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85201 echo $ECHO_N "(cached) $ECHO_C" >&6
85203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85204 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85205 else
85206 # Is the header compilable?
85207 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85208 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85209 cat >conftest.$ac_ext <<_ACEOF
85210 /* confdefs.h. */
85211 _ACEOF
85212 cat confdefs.h >>conftest.$ac_ext
85213 cat >>conftest.$ac_ext <<_ACEOF
85214 /* end confdefs.h. */
85215 $ac_includes_default
85216 #include <$ac_header>
85217 _ACEOF
85218 rm -f conftest.$ac_objext
85219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85220 (eval $ac_compile) 2>conftest.er1
85221 ac_status=$?
85222 grep -v '^ *+' conftest.er1 >conftest.err
85223 rm -f conftest.er1
85224 cat conftest.err >&5
85225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85226 (exit $ac_status); } &&
85227 { ac_try='test -z "$ac_c_werror_flag"
85228 || test ! -s conftest.err'
85229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85230 (eval $ac_try) 2>&5
85231 ac_status=$?
85232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85233 (exit $ac_status); }; } &&
85234 { ac_try='test -s conftest.$ac_objext'
85235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85236 (eval $ac_try) 2>&5
85237 ac_status=$?
85238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85239 (exit $ac_status); }; }; then
85240 ac_header_compiler=yes
85241 else
85242 echo "$as_me: failed program was:" >&5
85243 sed 's/^/| /' conftest.$ac_ext >&5
85245 ac_header_compiler=no
85247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85248 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85249 echo "${ECHO_T}$ac_header_compiler" >&6
85251 # Is the header present?
85252 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85253 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85254 cat >conftest.$ac_ext <<_ACEOF
85255 /* confdefs.h. */
85256 _ACEOF
85257 cat confdefs.h >>conftest.$ac_ext
85258 cat >>conftest.$ac_ext <<_ACEOF
85259 /* end confdefs.h. */
85260 #include <$ac_header>
85261 _ACEOF
85262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85263 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85264 ac_status=$?
85265 grep -v '^ *+' conftest.er1 >conftest.err
85266 rm -f conftest.er1
85267 cat conftest.err >&5
85268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85269 (exit $ac_status); } >/dev/null; then
85270 if test -s conftest.err; then
85271 ac_cpp_err=$ac_c_preproc_warn_flag
85272 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85273 else
85274 ac_cpp_err=
85276 else
85277 ac_cpp_err=yes
85279 if test -z "$ac_cpp_err"; then
85280 ac_header_preproc=yes
85281 else
85282 echo "$as_me: failed program was:" >&5
85283 sed 's/^/| /' conftest.$ac_ext >&5
85285 ac_header_preproc=no
85287 rm -f conftest.err conftest.$ac_ext
85288 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85289 echo "${ECHO_T}$ac_header_preproc" >&6
85291 # So? What about this header?
85292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85293 yes:no: )
85294 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85295 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85297 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85298 ac_header_preproc=yes
85300 no:yes:* )
85301 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85302 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85303 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85304 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85305 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85306 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85307 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85308 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85310 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85311 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85312 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85314 cat <<\_ASBOX
85315 ## ----------------------------------------- ##
85316 ## Report this to the package-unused lists. ##
85317 ## ----------------------------------------- ##
85318 _ASBOX
85320 sed "s/^/$as_me: WARNING: /" >&2
85322 esac
85323 echo "$as_me:$LINENO: checking for $ac_header" >&5
85324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85326 echo $ECHO_N "(cached) $ECHO_C" >&6
85327 else
85328 eval "$as_ac_Header=\$ac_header_preproc"
85330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85335 cat >>confdefs.h <<_ACEOF
85336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85337 _ACEOF
85341 done
85343 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85346 # If we're not using GNU ld, then there's no point in even trying these
85347 # tests. Check for that first. We should have already tested for gld
85348 # by now (in libtool), but require it now just to be safe...
85349 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85350 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85354 # The name set by libtool depends on the version of libtool. Shame on us
85355 # for depending on an impl detail, but c'est la vie. Older versions used
85356 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85357 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85358 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85359 # set (hence we're using an older libtool), then set it.
85360 if test x${with_gnu_ld+set} != xset; then
85361 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85362 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85363 with_gnu_ld=no
85364 else
85365 with_gnu_ld=$ac_cv_prog_gnu_ld
85369 # Start by getting the version number. I think the libtool test already
85370 # does some of this, but throws away the result.
85371 if test x"$with_gnu_ld" = x"yes"; then
85372 echo "$as_me:$LINENO: checking for ld version" >&5
85373 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
85375 ldver=`$LD --version 2>/dev/null | head -1 | \
85376 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
85378 glibcxx_gnu_ld_version=`echo $ldver | \
85379 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85380 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
85381 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
85384 # Set --gc-sections.
85385 glibcxx_gcsections_min_ld=21602
85386 if test x"$with_gnu_ld" = x"yes" &&
85387 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
85389 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
85390 # NB: This flag only works reliably after 2.16.1. Configure tests
85391 # for this are difficult, so hard wire a value that should work.
85393 ac_test_CFLAGS="${CFLAGS+set}"
85394 ac_save_CFLAGS="$CFLAGS"
85395 CFLAGS='-Wl,--gc-sections'
85397 # Check for -Wl,--gc-sections
85398 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85399 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85400 if test x$gcc_no_link = xyes; then
85401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85403 { (exit 1); exit 1; }; }
85405 cat >conftest.$ac_ext <<_ACEOF
85406 /* confdefs.h. */
85407 _ACEOF
85408 cat confdefs.h >>conftest.$ac_ext
85409 cat >>conftest.$ac_ext <<_ACEOF
85410 /* end confdefs.h. */
85411 int one(void) { return 1; }
85412 int two(void) { return 2; }
85415 main ()
85417 two();
85419 return 0;
85421 _ACEOF
85422 rm -f conftest.$ac_objext conftest$ac_exeext
85423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85424 (eval $ac_link) 2>conftest.er1
85425 ac_status=$?
85426 grep -v '^ *+' conftest.er1 >conftest.err
85427 rm -f conftest.er1
85428 cat conftest.err >&5
85429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85430 (exit $ac_status); } &&
85431 { ac_try='test -z "$ac_c_werror_flag"
85432 || test ! -s conftest.err'
85433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85434 (eval $ac_try) 2>&5
85435 ac_status=$?
85436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85437 (exit $ac_status); }; } &&
85438 { ac_try='test -s conftest$ac_exeext'
85439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85440 (eval $ac_try) 2>&5
85441 ac_status=$?
85442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85443 (exit $ac_status); }; }; then
85444 ac_gcsections=yes
85445 else
85446 echo "$as_me: failed program was:" >&5
85447 sed 's/^/| /' conftest.$ac_ext >&5
85449 ac_gcsections=no
85451 rm -f conftest.err conftest.$ac_objext \
85452 conftest$ac_exeext conftest.$ac_ext
85453 if test "$ac_gcsections" = "yes"; then
85454 rm -f conftest.c
85455 touch conftest.c
85456 if $CC -c conftest.c; then
85457 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
85458 grep "Warning: gc-sections option ignored" > /dev/null; then
85459 ac_gcsections=no
85462 rm -f conftest.c conftest.o conftest
85464 if test "$ac_gcsections" = "yes"; then
85465 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85467 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
85468 echo "${ECHO_T}$ac_gcsections" >&6
85470 if test "$ac_test_CFLAGS" = set; then
85471 CFLAGS="$ac_save_CFLAGS"
85472 else
85473 # this is the suspicious part
85474 CFLAGS=''
85478 # Set -z,relro.
85479 # Note this is only for shared objects.
85480 ac_ld_relro=no
85481 if test x"$with_gnu_ld" = x"yes"; then
85482 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
85483 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
85484 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
85485 if test -n "$cxx_z_relo"; then
85486 OPT_LDFLAGS="-Wl,-z,relro"
85487 ac_ld_relro=yes
85489 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
85490 echo "${ECHO_T}$ac_ld_relro" >&6
85493 # Set linker optimization flags.
85494 if test x"$with_gnu_ld" = x"yes"; then
85495 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85503 echo "$as_me:$LINENO: checking for main in -lm" >&5
85504 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85505 if test "${ac_cv_lib_m_main+set}" = set; then
85506 echo $ECHO_N "(cached) $ECHO_C" >&6
85507 else
85508 ac_check_lib_save_LIBS=$LIBS
85509 LIBS="-lm $LIBS"
85510 if test x$gcc_no_link = xyes; then
85511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85513 { (exit 1); exit 1; }; }
85515 cat >conftest.$ac_ext <<_ACEOF
85516 /* confdefs.h. */
85517 _ACEOF
85518 cat confdefs.h >>conftest.$ac_ext
85519 cat >>conftest.$ac_ext <<_ACEOF
85520 /* end confdefs.h. */
85524 main ()
85526 main ();
85528 return 0;
85530 _ACEOF
85531 rm -f conftest.$ac_objext conftest$ac_exeext
85532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85533 (eval $ac_link) 2>conftest.er1
85534 ac_status=$?
85535 grep -v '^ *+' conftest.er1 >conftest.err
85536 rm -f conftest.er1
85537 cat conftest.err >&5
85538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85539 (exit $ac_status); } &&
85540 { ac_try='test -z "$ac_c_werror_flag"
85541 || test ! -s conftest.err'
85542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85543 (eval $ac_try) 2>&5
85544 ac_status=$?
85545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85546 (exit $ac_status); }; } &&
85547 { ac_try='test -s conftest$ac_exeext'
85548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85549 (eval $ac_try) 2>&5
85550 ac_status=$?
85551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85552 (exit $ac_status); }; }; then
85553 ac_cv_lib_m_main=yes
85554 else
85555 echo "$as_me: failed program was:" >&5
85556 sed 's/^/| /' conftest.$ac_ext >&5
85558 ac_cv_lib_m_main=no
85560 rm -f conftest.err conftest.$ac_objext \
85561 conftest$ac_exeext conftest.$ac_ext
85562 LIBS=$ac_check_lib_save_LIBS
85564 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85565 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85566 if test $ac_cv_lib_m_main = yes; then
85567 cat >>confdefs.h <<_ACEOF
85568 #define HAVE_LIBM 1
85569 _ACEOF
85571 LIBS="-lm $LIBS"
85576 for ac_func in copysignf
85578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85579 echo "$as_me:$LINENO: checking for $ac_func" >&5
85580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85581 if eval "test \"\${$as_ac_var+set}\" = set"; then
85582 echo $ECHO_N "(cached) $ECHO_C" >&6
85583 else
85584 if test x$gcc_no_link = xyes; then
85585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85587 { (exit 1); exit 1; }; }
85589 cat >conftest.$ac_ext <<_ACEOF
85590 /* confdefs.h. */
85591 _ACEOF
85592 cat confdefs.h >>conftest.$ac_ext
85593 cat >>conftest.$ac_ext <<_ACEOF
85594 /* end confdefs.h. */
85595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85597 #define $ac_func innocuous_$ac_func
85599 /* System header to define __stub macros and hopefully few prototypes,
85600 which can conflict with char $ac_func (); below.
85601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85602 <limits.h> exists even on freestanding compilers. */
85604 #ifdef __STDC__
85605 # include <limits.h>
85606 #else
85607 # include <assert.h>
85608 #endif
85610 #undef $ac_func
85612 /* Override any gcc2 internal prototype to avoid an error. */
85613 #ifdef __cplusplus
85614 extern "C"
85616 #endif
85617 /* We use char because int might match the return type of a gcc2
85618 builtin and then its argument prototype would still apply. */
85619 char $ac_func ();
85620 /* The GNU C library defines this for functions which it implements
85621 to always fail with ENOSYS. Some functions are actually named
85622 something starting with __ and the normal name is an alias. */
85623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85624 choke me
85625 #else
85626 char (*f) () = $ac_func;
85627 #endif
85628 #ifdef __cplusplus
85630 #endif
85633 main ()
85635 return f != $ac_func;
85637 return 0;
85639 _ACEOF
85640 rm -f conftest.$ac_objext conftest$ac_exeext
85641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85642 (eval $ac_link) 2>conftest.er1
85643 ac_status=$?
85644 grep -v '^ *+' conftest.er1 >conftest.err
85645 rm -f conftest.er1
85646 cat conftest.err >&5
85647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85648 (exit $ac_status); } &&
85649 { ac_try='test -z "$ac_c_werror_flag"
85650 || test ! -s conftest.err'
85651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85652 (eval $ac_try) 2>&5
85653 ac_status=$?
85654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85655 (exit $ac_status); }; } &&
85656 { ac_try='test -s conftest$ac_exeext'
85657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85658 (eval $ac_try) 2>&5
85659 ac_status=$?
85660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85661 (exit $ac_status); }; }; then
85662 eval "$as_ac_var=yes"
85663 else
85664 echo "$as_me: failed program was:" >&5
85665 sed 's/^/| /' conftest.$ac_ext >&5
85667 eval "$as_ac_var=no"
85669 rm -f conftest.err conftest.$ac_objext \
85670 conftest$ac_exeext conftest.$ac_ext
85672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85674 if test `eval echo '${'$as_ac_var'}'` = yes; then
85675 cat >>confdefs.h <<_ACEOF
85676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85677 _ACEOF
85679 else
85680 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85682 done
85686 for ac_func in __signbit
85688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85689 echo "$as_me:$LINENO: checking for $ac_func" >&5
85690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85691 if eval "test \"\${$as_ac_var+set}\" = set"; then
85692 echo $ECHO_N "(cached) $ECHO_C" >&6
85693 else
85694 if test x$gcc_no_link = xyes; then
85695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85697 { (exit 1); exit 1; }; }
85699 cat >conftest.$ac_ext <<_ACEOF
85700 /* confdefs.h. */
85701 _ACEOF
85702 cat confdefs.h >>conftest.$ac_ext
85703 cat >>conftest.$ac_ext <<_ACEOF
85704 /* end confdefs.h. */
85705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85707 #define $ac_func innocuous_$ac_func
85709 /* System header to define __stub macros and hopefully few prototypes,
85710 which can conflict with char $ac_func (); below.
85711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85712 <limits.h> exists even on freestanding compilers. */
85714 #ifdef __STDC__
85715 # include <limits.h>
85716 #else
85717 # include <assert.h>
85718 #endif
85720 #undef $ac_func
85722 /* Override any gcc2 internal prototype to avoid an error. */
85723 #ifdef __cplusplus
85724 extern "C"
85726 #endif
85727 /* We use char because int might match the return type of a gcc2
85728 builtin and then its argument prototype would still apply. */
85729 char $ac_func ();
85730 /* The GNU C library defines this for functions which it implements
85731 to always fail with ENOSYS. Some functions are actually named
85732 something starting with __ and the normal name is an alias. */
85733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85734 choke me
85735 #else
85736 char (*f) () = $ac_func;
85737 #endif
85738 #ifdef __cplusplus
85740 #endif
85743 main ()
85745 return f != $ac_func;
85747 return 0;
85749 _ACEOF
85750 rm -f conftest.$ac_objext conftest$ac_exeext
85751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85752 (eval $ac_link) 2>conftest.er1
85753 ac_status=$?
85754 grep -v '^ *+' conftest.er1 >conftest.err
85755 rm -f conftest.er1
85756 cat conftest.err >&5
85757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85758 (exit $ac_status); } &&
85759 { ac_try='test -z "$ac_c_werror_flag"
85760 || test ! -s conftest.err'
85761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85762 (eval $ac_try) 2>&5
85763 ac_status=$?
85764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85765 (exit $ac_status); }; } &&
85766 { ac_try='test -s conftest$ac_exeext'
85767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85768 (eval $ac_try) 2>&5
85769 ac_status=$?
85770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85771 (exit $ac_status); }; }; then
85772 eval "$as_ac_var=yes"
85773 else
85774 echo "$as_me: failed program was:" >&5
85775 sed 's/^/| /' conftest.$ac_ext >&5
85777 eval "$as_ac_var=no"
85779 rm -f conftest.err conftest.$ac_objext \
85780 conftest$ac_exeext conftest.$ac_ext
85782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85784 if test `eval echo '${'$as_ac_var'}'` = yes; then
85785 cat >>confdefs.h <<_ACEOF
85786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85787 _ACEOF
85789 else
85790 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85792 done
85796 for ac_func in __signbitf
85798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85799 echo "$as_me:$LINENO: checking for $ac_func" >&5
85800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85801 if eval "test \"\${$as_ac_var+set}\" = set"; then
85802 echo $ECHO_N "(cached) $ECHO_C" >&6
85803 else
85804 if test x$gcc_no_link = xyes; then
85805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85807 { (exit 1); exit 1; }; }
85809 cat >conftest.$ac_ext <<_ACEOF
85810 /* confdefs.h. */
85811 _ACEOF
85812 cat confdefs.h >>conftest.$ac_ext
85813 cat >>conftest.$ac_ext <<_ACEOF
85814 /* end confdefs.h. */
85815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85817 #define $ac_func innocuous_$ac_func
85819 /* System header to define __stub macros and hopefully few prototypes,
85820 which can conflict with char $ac_func (); below.
85821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85822 <limits.h> exists even on freestanding compilers. */
85824 #ifdef __STDC__
85825 # include <limits.h>
85826 #else
85827 # include <assert.h>
85828 #endif
85830 #undef $ac_func
85832 /* Override any gcc2 internal prototype to avoid an error. */
85833 #ifdef __cplusplus
85834 extern "C"
85836 #endif
85837 /* We use char because int might match the return type of a gcc2
85838 builtin and then its argument prototype would still apply. */
85839 char $ac_func ();
85840 /* The GNU C library defines this for functions which it implements
85841 to always fail with ENOSYS. Some functions are actually named
85842 something starting with __ and the normal name is an alias. */
85843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85844 choke me
85845 #else
85846 char (*f) () = $ac_func;
85847 #endif
85848 #ifdef __cplusplus
85850 #endif
85853 main ()
85855 return f != $ac_func;
85857 return 0;
85859 _ACEOF
85860 rm -f conftest.$ac_objext conftest$ac_exeext
85861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85862 (eval $ac_link) 2>conftest.er1
85863 ac_status=$?
85864 grep -v '^ *+' conftest.er1 >conftest.err
85865 rm -f conftest.er1
85866 cat conftest.err >&5
85867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85868 (exit $ac_status); } &&
85869 { ac_try='test -z "$ac_c_werror_flag"
85870 || test ! -s conftest.err'
85871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85872 (eval $ac_try) 2>&5
85873 ac_status=$?
85874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85875 (exit $ac_status); }; } &&
85876 { ac_try='test -s conftest$ac_exeext'
85877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85878 (eval $ac_try) 2>&5
85879 ac_status=$?
85880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85881 (exit $ac_status); }; }; then
85882 eval "$as_ac_var=yes"
85883 else
85884 echo "$as_me: failed program was:" >&5
85885 sed 's/^/| /' conftest.$ac_ext >&5
85887 eval "$as_ac_var=no"
85889 rm -f conftest.err conftest.$ac_objext \
85890 conftest$ac_exeext conftest.$ac_ext
85892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85894 if test `eval echo '${'$as_ac_var'}'` = yes; then
85895 cat >>confdefs.h <<_ACEOF
85896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85897 _ACEOF
85899 else
85900 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85902 done
85905 if test x$ac_cv_func_copysignl = x"yes"; then
85907 for ac_func in __signbitl
85909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85910 echo "$as_me:$LINENO: checking for $ac_func" >&5
85911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85912 if eval "test \"\${$as_ac_var+set}\" = set"; then
85913 echo $ECHO_N "(cached) $ECHO_C" >&6
85914 else
85915 if test x$gcc_no_link = xyes; then
85916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85918 { (exit 1); exit 1; }; }
85920 cat >conftest.$ac_ext <<_ACEOF
85921 /* confdefs.h. */
85922 _ACEOF
85923 cat confdefs.h >>conftest.$ac_ext
85924 cat >>conftest.$ac_ext <<_ACEOF
85925 /* end confdefs.h. */
85926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85928 #define $ac_func innocuous_$ac_func
85930 /* System header to define __stub macros and hopefully few prototypes,
85931 which can conflict with char $ac_func (); below.
85932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85933 <limits.h> exists even on freestanding compilers. */
85935 #ifdef __STDC__
85936 # include <limits.h>
85937 #else
85938 # include <assert.h>
85939 #endif
85941 #undef $ac_func
85943 /* Override any gcc2 internal prototype to avoid an error. */
85944 #ifdef __cplusplus
85945 extern "C"
85947 #endif
85948 /* We use char because int might match the return type of a gcc2
85949 builtin and then its argument prototype would still apply. */
85950 char $ac_func ();
85951 /* The GNU C library defines this for functions which it implements
85952 to always fail with ENOSYS. Some functions are actually named
85953 something starting with __ and the normal name is an alias. */
85954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85955 choke me
85956 #else
85957 char (*f) () = $ac_func;
85958 #endif
85959 #ifdef __cplusplus
85961 #endif
85964 main ()
85966 return f != $ac_func;
85968 return 0;
85970 _ACEOF
85971 rm -f conftest.$ac_objext conftest$ac_exeext
85972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85973 (eval $ac_link) 2>conftest.er1
85974 ac_status=$?
85975 grep -v '^ *+' conftest.er1 >conftest.err
85976 rm -f conftest.er1
85977 cat conftest.err >&5
85978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85979 (exit $ac_status); } &&
85980 { ac_try='test -z "$ac_c_werror_flag"
85981 || test ! -s conftest.err'
85982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85983 (eval $ac_try) 2>&5
85984 ac_status=$?
85985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85986 (exit $ac_status); }; } &&
85987 { ac_try='test -s conftest$ac_exeext'
85988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85989 (eval $ac_try) 2>&5
85990 ac_status=$?
85991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85992 (exit $ac_status); }; }; then
85993 eval "$as_ac_var=yes"
85994 else
85995 echo "$as_me: failed program was:" >&5
85996 sed 's/^/| /' conftest.$ac_ext >&5
85998 eval "$as_ac_var=no"
86000 rm -f conftest.err conftest.$ac_objext \
86001 conftest$ac_exeext conftest.$ac_ext
86003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86005 if test `eval echo '${'$as_ac_var'}'` = yes; then
86006 cat >>confdefs.h <<_ACEOF
86007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86008 _ACEOF
86010 else
86011 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86013 done
86017 # Used in libmath/Makefile.am.
86018 if test -n "$LIBMATHOBJS"; then
86019 need_libmath=yes
86023 cat >>confdefs.h <<\_ACEOF
86024 #define HAVE_LC_MESSAGES 1
86025 _ACEOF
86027 cat >>confdefs.h <<\_ACEOF
86028 #define HAVE_GETPAGESIZE 1
86029 _ACEOF
86031 cat >>confdefs.h <<\_ACEOF
86032 #define HAVE_SETENV 1
86033 _ACEOF
86035 cat >>confdefs.h <<\_ACEOF
86036 #define HAVE_SIGSETJMP 1
86037 _ACEOF
86039 cat >>confdefs.h <<\_ACEOF
86040 #define HAVE_COPYSIGN 1
86041 _ACEOF
86043 cat >>confdefs.h <<\_ACEOF
86044 #define HAVE_COPYSIGNF 1
86045 _ACEOF
86047 cat >>confdefs.h <<\_ACEOF
86048 #define HAVE_FINITEF 1
86049 _ACEOF
86051 cat >>confdefs.h <<\_ACEOF
86052 #define HAVE_FINITE 1
86053 _ACEOF
86055 cat >>confdefs.h <<\_ACEOF
86056 #define HAVE_FREXPF 1
86057 _ACEOF
86059 cat >>confdefs.h <<\_ACEOF
86060 #define HAVE_HYPOT 1
86061 _ACEOF
86063 cat >>confdefs.h <<\_ACEOF
86064 #define HAVE_HYPOTF 1
86065 _ACEOF
86067 cat >>confdefs.h <<\_ACEOF
86068 #define HAVE_ISINF 1
86069 _ACEOF
86071 cat >>confdefs.h <<\_ACEOF
86072 #define HAVE_ISNAN 1
86073 _ACEOF
86075 cat >>confdefs.h <<\_ACEOF
86076 #define HAVE_ISNANF 1
86077 _ACEOF
86080 cat >>confdefs.h <<\_ACEOF
86081 #define HAVE_MMAP 1
86082 _ACEOF
86084 cat >>confdefs.h <<\_ACEOF
86085 #define HAVE_ACOSF 1
86086 _ACEOF
86088 cat >>confdefs.h <<\_ACEOF
86089 #define HAVE_ASINF 1
86090 _ACEOF
86092 cat >>confdefs.h <<\_ACEOF
86093 #define HAVE_ATAN2F 1
86094 _ACEOF
86096 cat >>confdefs.h <<\_ACEOF
86097 #define HAVE_ATANF 1
86098 _ACEOF
86100 cat >>confdefs.h <<\_ACEOF
86101 #define HAVE_CEILF 1
86102 _ACEOF
86104 cat >>confdefs.h <<\_ACEOF
86105 #define HAVE_COPYSIGN 1
86106 _ACEOF
86108 cat >>confdefs.h <<\_ACEOF
86109 #define HAVE_COPYSIGNF 1
86110 _ACEOF
86112 cat >>confdefs.h <<\_ACEOF
86113 #define HAVE_COSF 1
86114 _ACEOF
86116 cat >>confdefs.h <<\_ACEOF
86117 #define HAVE_COSHF 1
86118 _ACEOF
86120 cat >>confdefs.h <<\_ACEOF
86121 #define HAVE_EXPF 1
86122 _ACEOF
86124 cat >>confdefs.h <<\_ACEOF
86125 #define HAVE_FABSF 1
86126 _ACEOF
86128 cat >>confdefs.h <<\_ACEOF
86129 #define HAVE_FLOORF 1
86130 _ACEOF
86132 cat >>confdefs.h <<\_ACEOF
86133 #define HAVE_FMODF 1
86134 _ACEOF
86136 cat >>confdefs.h <<\_ACEOF
86137 #define HAVE_FREXPF 1
86138 _ACEOF
86140 cat >>confdefs.h <<\_ACEOF
86141 #define HAVE_LDEXPF 1
86142 _ACEOF
86144 cat >>confdefs.h <<\_ACEOF
86145 #define HAVE_LOG10F 1
86146 _ACEOF
86148 cat >>confdefs.h <<\_ACEOF
86149 #define HAVE_LOGF 1
86150 _ACEOF
86152 cat >>confdefs.h <<\_ACEOF
86153 #define HAVE_MODFF 1
86154 _ACEOF
86156 cat >>confdefs.h <<\_ACEOF
86157 #define HAVE_POWF 1
86158 _ACEOF
86160 cat >>confdefs.h <<\_ACEOF
86161 #define HAVE_SINF 1
86162 _ACEOF
86164 cat >>confdefs.h <<\_ACEOF
86165 #define HAVE_SINHF 1
86166 _ACEOF
86168 cat >>confdefs.h <<\_ACEOF
86169 #define HAVE_SQRTF 1
86170 _ACEOF
86172 cat >>confdefs.h <<\_ACEOF
86173 #define HAVE_TANF 1
86174 _ACEOF
86176 cat >>confdefs.h <<\_ACEOF
86177 #define HAVE_TANHF 1
86178 _ACEOF
86180 if test x"long_double_math_on_this_cpu" = x"yes"; then
86181 cat >>confdefs.h <<\_ACEOF
86182 #define HAVE_FINITEL 1
86183 _ACEOF
86185 cat >>confdefs.h <<\_ACEOF
86186 #define HAVE_ISINFL 1
86187 _ACEOF
86189 cat >>confdefs.h <<\_ACEOF
86190 #define HAVE_ISNANL 1
86191 _ACEOF
86195 *-hpux*)
86208 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86209 machine/endian.h machine/param.h sys/machine.h sys/types.h \
86210 fp.h locale.h float.h inttypes.h
86212 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86214 echo "$as_me:$LINENO: checking for $ac_header" >&5
86215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86217 echo $ECHO_N "(cached) $ECHO_C" >&6
86219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86221 else
86222 # Is the header compilable?
86223 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86224 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86225 cat >conftest.$ac_ext <<_ACEOF
86226 /* confdefs.h. */
86227 _ACEOF
86228 cat confdefs.h >>conftest.$ac_ext
86229 cat >>conftest.$ac_ext <<_ACEOF
86230 /* end confdefs.h. */
86231 $ac_includes_default
86232 #include <$ac_header>
86233 _ACEOF
86234 rm -f conftest.$ac_objext
86235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86236 (eval $ac_compile) 2>conftest.er1
86237 ac_status=$?
86238 grep -v '^ *+' conftest.er1 >conftest.err
86239 rm -f conftest.er1
86240 cat conftest.err >&5
86241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86242 (exit $ac_status); } &&
86243 { ac_try='test -z "$ac_c_werror_flag"
86244 || test ! -s conftest.err'
86245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86246 (eval $ac_try) 2>&5
86247 ac_status=$?
86248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86249 (exit $ac_status); }; } &&
86250 { ac_try='test -s conftest.$ac_objext'
86251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86252 (eval $ac_try) 2>&5
86253 ac_status=$?
86254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86255 (exit $ac_status); }; }; then
86256 ac_header_compiler=yes
86257 else
86258 echo "$as_me: failed program was:" >&5
86259 sed 's/^/| /' conftest.$ac_ext >&5
86261 ac_header_compiler=no
86263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86264 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86265 echo "${ECHO_T}$ac_header_compiler" >&6
86267 # Is the header present?
86268 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86269 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86270 cat >conftest.$ac_ext <<_ACEOF
86271 /* confdefs.h. */
86272 _ACEOF
86273 cat confdefs.h >>conftest.$ac_ext
86274 cat >>conftest.$ac_ext <<_ACEOF
86275 /* end confdefs.h. */
86276 #include <$ac_header>
86277 _ACEOF
86278 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86279 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86280 ac_status=$?
86281 grep -v '^ *+' conftest.er1 >conftest.err
86282 rm -f conftest.er1
86283 cat conftest.err >&5
86284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86285 (exit $ac_status); } >/dev/null; then
86286 if test -s conftest.err; then
86287 ac_cpp_err=$ac_c_preproc_warn_flag
86288 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86289 else
86290 ac_cpp_err=
86292 else
86293 ac_cpp_err=yes
86295 if test -z "$ac_cpp_err"; then
86296 ac_header_preproc=yes
86297 else
86298 echo "$as_me: failed program was:" >&5
86299 sed 's/^/| /' conftest.$ac_ext >&5
86301 ac_header_preproc=no
86303 rm -f conftest.err conftest.$ac_ext
86304 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86305 echo "${ECHO_T}$ac_header_preproc" >&6
86307 # So? What about this header?
86308 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86309 yes:no: )
86310 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86311 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86313 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86314 ac_header_preproc=yes
86316 no:yes:* )
86317 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86318 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86319 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86320 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86321 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86322 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86323 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86324 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86325 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86326 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86327 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86328 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86330 cat <<\_ASBOX
86331 ## ----------------------------------------- ##
86332 ## Report this to the package-unused lists. ##
86333 ## ----------------------------------------- ##
86334 _ASBOX
86336 sed "s/^/$as_me: WARNING: /" >&2
86338 esac
86339 echo "$as_me:$LINENO: checking for $ac_header" >&5
86340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86342 echo $ECHO_N "(cached) $ECHO_C" >&6
86343 else
86344 eval "$as_ac_Header=\$ac_header_preproc"
86346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86350 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86351 cat >>confdefs.h <<_ACEOF
86352 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86353 _ACEOF
86357 done
86359 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86362 # If we're not using GNU ld, then there's no point in even trying these
86363 # tests. Check for that first. We should have already tested for gld
86364 # by now (in libtool), but require it now just to be safe...
86365 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86366 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86370 # The name set by libtool depends on the version of libtool. Shame on us
86371 # for depending on an impl detail, but c'est la vie. Older versions used
86372 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86373 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86374 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86375 # set (hence we're using an older libtool), then set it.
86376 if test x${with_gnu_ld+set} != xset; then
86377 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86378 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86379 with_gnu_ld=no
86380 else
86381 with_gnu_ld=$ac_cv_prog_gnu_ld
86385 # Start by getting the version number. I think the libtool test already
86386 # does some of this, but throws away the result.
86387 if test x"$with_gnu_ld" = x"yes"; then
86388 echo "$as_me:$LINENO: checking for ld version" >&5
86389 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86391 ldver=`$LD --version 2>/dev/null | head -1 | \
86392 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
86394 glibcxx_gnu_ld_version=`echo $ldver | \
86395 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86396 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86397 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86400 # Set --gc-sections.
86401 glibcxx_gcsections_min_ld=21602
86402 if test x"$with_gnu_ld" = x"yes" &&
86403 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86405 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
86406 # NB: This flag only works reliably after 2.16.1. Configure tests
86407 # for this are difficult, so hard wire a value that should work.
86409 ac_test_CFLAGS="${CFLAGS+set}"
86410 ac_save_CFLAGS="$CFLAGS"
86411 CFLAGS='-Wl,--gc-sections'
86413 # Check for -Wl,--gc-sections
86414 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86415 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86416 if test x$gcc_no_link = xyes; then
86417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86419 { (exit 1); exit 1; }; }
86421 cat >conftest.$ac_ext <<_ACEOF
86422 /* confdefs.h. */
86423 _ACEOF
86424 cat confdefs.h >>conftest.$ac_ext
86425 cat >>conftest.$ac_ext <<_ACEOF
86426 /* end confdefs.h. */
86427 int one(void) { return 1; }
86428 int two(void) { return 2; }
86431 main ()
86433 two();
86435 return 0;
86437 _ACEOF
86438 rm -f conftest.$ac_objext conftest$ac_exeext
86439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86440 (eval $ac_link) 2>conftest.er1
86441 ac_status=$?
86442 grep -v '^ *+' conftest.er1 >conftest.err
86443 rm -f conftest.er1
86444 cat conftest.err >&5
86445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86446 (exit $ac_status); } &&
86447 { ac_try='test -z "$ac_c_werror_flag"
86448 || test ! -s conftest.err'
86449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86450 (eval $ac_try) 2>&5
86451 ac_status=$?
86452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86453 (exit $ac_status); }; } &&
86454 { ac_try='test -s conftest$ac_exeext'
86455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86456 (eval $ac_try) 2>&5
86457 ac_status=$?
86458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86459 (exit $ac_status); }; }; then
86460 ac_gcsections=yes
86461 else
86462 echo "$as_me: failed program was:" >&5
86463 sed 's/^/| /' conftest.$ac_ext >&5
86465 ac_gcsections=no
86467 rm -f conftest.err conftest.$ac_objext \
86468 conftest$ac_exeext conftest.$ac_ext
86469 if test "$ac_gcsections" = "yes"; then
86470 rm -f conftest.c
86471 touch conftest.c
86472 if $CC -c conftest.c; then
86473 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86474 grep "Warning: gc-sections option ignored" > /dev/null; then
86475 ac_gcsections=no
86478 rm -f conftest.c conftest.o conftest
86480 if test "$ac_gcsections" = "yes"; then
86481 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86483 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86484 echo "${ECHO_T}$ac_gcsections" >&6
86486 if test "$ac_test_CFLAGS" = set; then
86487 CFLAGS="$ac_save_CFLAGS"
86488 else
86489 # this is the suspicious part
86490 CFLAGS=''
86494 # Set -z,relro.
86495 # Note this is only for shared objects.
86496 ac_ld_relro=no
86497 if test x"$with_gnu_ld" = x"yes"; then
86498 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86499 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86500 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86501 if test -n "$cxx_z_relo"; then
86502 OPT_LDFLAGS="-Wl,-z,relro"
86503 ac_ld_relro=yes
86505 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86506 echo "${ECHO_T}$ac_ld_relro" >&6
86509 # Set linker optimization flags.
86510 if test x"$with_gnu_ld" = x"yes"; then
86511 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86519 echo "$as_me:$LINENO: checking for main in -lm" >&5
86520 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86521 if test "${ac_cv_lib_m_main+set}" = set; then
86522 echo $ECHO_N "(cached) $ECHO_C" >&6
86523 else
86524 ac_check_lib_save_LIBS=$LIBS
86525 LIBS="-lm $LIBS"
86526 if test x$gcc_no_link = xyes; then
86527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86529 { (exit 1); exit 1; }; }
86531 cat >conftest.$ac_ext <<_ACEOF
86532 /* confdefs.h. */
86533 _ACEOF
86534 cat confdefs.h >>conftest.$ac_ext
86535 cat >>conftest.$ac_ext <<_ACEOF
86536 /* end confdefs.h. */
86540 main ()
86542 main ();
86544 return 0;
86546 _ACEOF
86547 rm -f conftest.$ac_objext conftest$ac_exeext
86548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86549 (eval $ac_link) 2>conftest.er1
86550 ac_status=$?
86551 grep -v '^ *+' conftest.er1 >conftest.err
86552 rm -f conftest.er1
86553 cat conftest.err >&5
86554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86555 (exit $ac_status); } &&
86556 { ac_try='test -z "$ac_c_werror_flag"
86557 || test ! -s conftest.err'
86558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86559 (eval $ac_try) 2>&5
86560 ac_status=$?
86561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86562 (exit $ac_status); }; } &&
86563 { ac_try='test -s conftest$ac_exeext'
86564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86565 (eval $ac_try) 2>&5
86566 ac_status=$?
86567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86568 (exit $ac_status); }; }; then
86569 ac_cv_lib_m_main=yes
86570 else
86571 echo "$as_me: failed program was:" >&5
86572 sed 's/^/| /' conftest.$ac_ext >&5
86574 ac_cv_lib_m_main=no
86576 rm -f conftest.err conftest.$ac_objext \
86577 conftest$ac_exeext conftest.$ac_ext
86578 LIBS=$ac_check_lib_save_LIBS
86580 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86581 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86582 if test $ac_cv_lib_m_main = yes; then
86583 cat >>confdefs.h <<_ACEOF
86584 #define HAVE_LIBM 1
86585 _ACEOF
86587 LIBS="-lm $LIBS"
86592 for ac_func in copysignf
86594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86595 echo "$as_me:$LINENO: checking for $ac_func" >&5
86596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86597 if eval "test \"\${$as_ac_var+set}\" = set"; then
86598 echo $ECHO_N "(cached) $ECHO_C" >&6
86599 else
86600 if test x$gcc_no_link = xyes; then
86601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86603 { (exit 1); exit 1; }; }
86605 cat >conftest.$ac_ext <<_ACEOF
86606 /* confdefs.h. */
86607 _ACEOF
86608 cat confdefs.h >>conftest.$ac_ext
86609 cat >>conftest.$ac_ext <<_ACEOF
86610 /* end confdefs.h. */
86611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86613 #define $ac_func innocuous_$ac_func
86615 /* System header to define __stub macros and hopefully few prototypes,
86616 which can conflict with char $ac_func (); below.
86617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86618 <limits.h> exists even on freestanding compilers. */
86620 #ifdef __STDC__
86621 # include <limits.h>
86622 #else
86623 # include <assert.h>
86624 #endif
86626 #undef $ac_func
86628 /* Override any gcc2 internal prototype to avoid an error. */
86629 #ifdef __cplusplus
86630 extern "C"
86632 #endif
86633 /* We use char because int might match the return type of a gcc2
86634 builtin and then its argument prototype would still apply. */
86635 char $ac_func ();
86636 /* The GNU C library defines this for functions which it implements
86637 to always fail with ENOSYS. Some functions are actually named
86638 something starting with __ and the normal name is an alias. */
86639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86640 choke me
86641 #else
86642 char (*f) () = $ac_func;
86643 #endif
86644 #ifdef __cplusplus
86646 #endif
86649 main ()
86651 return f != $ac_func;
86653 return 0;
86655 _ACEOF
86656 rm -f conftest.$ac_objext conftest$ac_exeext
86657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86658 (eval $ac_link) 2>conftest.er1
86659 ac_status=$?
86660 grep -v '^ *+' conftest.er1 >conftest.err
86661 rm -f conftest.er1
86662 cat conftest.err >&5
86663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86664 (exit $ac_status); } &&
86665 { ac_try='test -z "$ac_c_werror_flag"
86666 || test ! -s conftest.err'
86667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86668 (eval $ac_try) 2>&5
86669 ac_status=$?
86670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86671 (exit $ac_status); }; } &&
86672 { ac_try='test -s conftest$ac_exeext'
86673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86674 (eval $ac_try) 2>&5
86675 ac_status=$?
86676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86677 (exit $ac_status); }; }; then
86678 eval "$as_ac_var=yes"
86679 else
86680 echo "$as_me: failed program was:" >&5
86681 sed 's/^/| /' conftest.$ac_ext >&5
86683 eval "$as_ac_var=no"
86685 rm -f conftest.err conftest.$ac_objext \
86686 conftest$ac_exeext conftest.$ac_ext
86688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86690 if test `eval echo '${'$as_ac_var'}'` = yes; then
86691 cat >>confdefs.h <<_ACEOF
86692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86693 _ACEOF
86695 else
86696 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86698 done
86702 for ac_func in __signbit
86704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86705 echo "$as_me:$LINENO: checking for $ac_func" >&5
86706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86707 if eval "test \"\${$as_ac_var+set}\" = set"; then
86708 echo $ECHO_N "(cached) $ECHO_C" >&6
86709 else
86710 if test x$gcc_no_link = xyes; then
86711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86713 { (exit 1); exit 1; }; }
86715 cat >conftest.$ac_ext <<_ACEOF
86716 /* confdefs.h. */
86717 _ACEOF
86718 cat confdefs.h >>conftest.$ac_ext
86719 cat >>conftest.$ac_ext <<_ACEOF
86720 /* end confdefs.h. */
86721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86723 #define $ac_func innocuous_$ac_func
86725 /* System header to define __stub macros and hopefully few prototypes,
86726 which can conflict with char $ac_func (); below.
86727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86728 <limits.h> exists even on freestanding compilers. */
86730 #ifdef __STDC__
86731 # include <limits.h>
86732 #else
86733 # include <assert.h>
86734 #endif
86736 #undef $ac_func
86738 /* Override any gcc2 internal prototype to avoid an error. */
86739 #ifdef __cplusplus
86740 extern "C"
86742 #endif
86743 /* We use char because int might match the return type of a gcc2
86744 builtin and then its argument prototype would still apply. */
86745 char $ac_func ();
86746 /* The GNU C library defines this for functions which it implements
86747 to always fail with ENOSYS. Some functions are actually named
86748 something starting with __ and the normal name is an alias. */
86749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86750 choke me
86751 #else
86752 char (*f) () = $ac_func;
86753 #endif
86754 #ifdef __cplusplus
86756 #endif
86759 main ()
86761 return f != $ac_func;
86763 return 0;
86765 _ACEOF
86766 rm -f conftest.$ac_objext conftest$ac_exeext
86767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86768 (eval $ac_link) 2>conftest.er1
86769 ac_status=$?
86770 grep -v '^ *+' conftest.er1 >conftest.err
86771 rm -f conftest.er1
86772 cat conftest.err >&5
86773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86774 (exit $ac_status); } &&
86775 { ac_try='test -z "$ac_c_werror_flag"
86776 || test ! -s conftest.err'
86777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86778 (eval $ac_try) 2>&5
86779 ac_status=$?
86780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86781 (exit $ac_status); }; } &&
86782 { ac_try='test -s conftest$ac_exeext'
86783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86784 (eval $ac_try) 2>&5
86785 ac_status=$?
86786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86787 (exit $ac_status); }; }; then
86788 eval "$as_ac_var=yes"
86789 else
86790 echo "$as_me: failed program was:" >&5
86791 sed 's/^/| /' conftest.$ac_ext >&5
86793 eval "$as_ac_var=no"
86795 rm -f conftest.err conftest.$ac_objext \
86796 conftest$ac_exeext conftest.$ac_ext
86798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86800 if test `eval echo '${'$as_ac_var'}'` = yes; then
86801 cat >>confdefs.h <<_ACEOF
86802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86803 _ACEOF
86805 else
86806 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86808 done
86812 for ac_func in __signbitf
86814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86815 echo "$as_me:$LINENO: checking for $ac_func" >&5
86816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86817 if eval "test \"\${$as_ac_var+set}\" = set"; then
86818 echo $ECHO_N "(cached) $ECHO_C" >&6
86819 else
86820 if test x$gcc_no_link = xyes; then
86821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86823 { (exit 1); exit 1; }; }
86825 cat >conftest.$ac_ext <<_ACEOF
86826 /* confdefs.h. */
86827 _ACEOF
86828 cat confdefs.h >>conftest.$ac_ext
86829 cat >>conftest.$ac_ext <<_ACEOF
86830 /* end confdefs.h. */
86831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86833 #define $ac_func innocuous_$ac_func
86835 /* System header to define __stub macros and hopefully few prototypes,
86836 which can conflict with char $ac_func (); below.
86837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86838 <limits.h> exists even on freestanding compilers. */
86840 #ifdef __STDC__
86841 # include <limits.h>
86842 #else
86843 # include <assert.h>
86844 #endif
86846 #undef $ac_func
86848 /* Override any gcc2 internal prototype to avoid an error. */
86849 #ifdef __cplusplus
86850 extern "C"
86852 #endif
86853 /* We use char because int might match the return type of a gcc2
86854 builtin and then its argument prototype would still apply. */
86855 char $ac_func ();
86856 /* The GNU C library defines this for functions which it implements
86857 to always fail with ENOSYS. Some functions are actually named
86858 something starting with __ and the normal name is an alias. */
86859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86860 choke me
86861 #else
86862 char (*f) () = $ac_func;
86863 #endif
86864 #ifdef __cplusplus
86866 #endif
86869 main ()
86871 return f != $ac_func;
86873 return 0;
86875 _ACEOF
86876 rm -f conftest.$ac_objext conftest$ac_exeext
86877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86878 (eval $ac_link) 2>conftest.er1
86879 ac_status=$?
86880 grep -v '^ *+' conftest.er1 >conftest.err
86881 rm -f conftest.er1
86882 cat conftest.err >&5
86883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86884 (exit $ac_status); } &&
86885 { ac_try='test -z "$ac_c_werror_flag"
86886 || test ! -s conftest.err'
86887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86888 (eval $ac_try) 2>&5
86889 ac_status=$?
86890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86891 (exit $ac_status); }; } &&
86892 { ac_try='test -s conftest$ac_exeext'
86893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86894 (eval $ac_try) 2>&5
86895 ac_status=$?
86896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86897 (exit $ac_status); }; }; then
86898 eval "$as_ac_var=yes"
86899 else
86900 echo "$as_me: failed program was:" >&5
86901 sed 's/^/| /' conftest.$ac_ext >&5
86903 eval "$as_ac_var=no"
86905 rm -f conftest.err conftest.$ac_objext \
86906 conftest$ac_exeext conftest.$ac_ext
86908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86910 if test `eval echo '${'$as_ac_var'}'` = yes; then
86911 cat >>confdefs.h <<_ACEOF
86912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86913 _ACEOF
86915 else
86916 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86918 done
86921 if test x$ac_cv_func_copysignl = x"yes"; then
86923 for ac_func in __signbitl
86925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86926 echo "$as_me:$LINENO: checking for $ac_func" >&5
86927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86928 if eval "test \"\${$as_ac_var+set}\" = set"; then
86929 echo $ECHO_N "(cached) $ECHO_C" >&6
86930 else
86931 if test x$gcc_no_link = xyes; then
86932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86934 { (exit 1); exit 1; }; }
86936 cat >conftest.$ac_ext <<_ACEOF
86937 /* confdefs.h. */
86938 _ACEOF
86939 cat confdefs.h >>conftest.$ac_ext
86940 cat >>conftest.$ac_ext <<_ACEOF
86941 /* end confdefs.h. */
86942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86944 #define $ac_func innocuous_$ac_func
86946 /* System header to define __stub macros and hopefully few prototypes,
86947 which can conflict with char $ac_func (); below.
86948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86949 <limits.h> exists even on freestanding compilers. */
86951 #ifdef __STDC__
86952 # include <limits.h>
86953 #else
86954 # include <assert.h>
86955 #endif
86957 #undef $ac_func
86959 /* Override any gcc2 internal prototype to avoid an error. */
86960 #ifdef __cplusplus
86961 extern "C"
86963 #endif
86964 /* We use char because int might match the return type of a gcc2
86965 builtin and then its argument prototype would still apply. */
86966 char $ac_func ();
86967 /* The GNU C library defines this for functions which it implements
86968 to always fail with ENOSYS. Some functions are actually named
86969 something starting with __ and the normal name is an alias. */
86970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86971 choke me
86972 #else
86973 char (*f) () = $ac_func;
86974 #endif
86975 #ifdef __cplusplus
86977 #endif
86980 main ()
86982 return f != $ac_func;
86984 return 0;
86986 _ACEOF
86987 rm -f conftest.$ac_objext conftest$ac_exeext
86988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86989 (eval $ac_link) 2>conftest.er1
86990 ac_status=$?
86991 grep -v '^ *+' conftest.er1 >conftest.err
86992 rm -f conftest.er1
86993 cat conftest.err >&5
86994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86995 (exit $ac_status); } &&
86996 { ac_try='test -z "$ac_c_werror_flag"
86997 || test ! -s conftest.err'
86998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86999 (eval $ac_try) 2>&5
87000 ac_status=$?
87001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87002 (exit $ac_status); }; } &&
87003 { ac_try='test -s conftest$ac_exeext'
87004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87005 (eval $ac_try) 2>&5
87006 ac_status=$?
87007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87008 (exit $ac_status); }; }; then
87009 eval "$as_ac_var=yes"
87010 else
87011 echo "$as_me: failed program was:" >&5
87012 sed 's/^/| /' conftest.$ac_ext >&5
87014 eval "$as_ac_var=no"
87016 rm -f conftest.err conftest.$ac_objext \
87017 conftest$ac_exeext conftest.$ac_ext
87019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87021 if test `eval echo '${'$as_ac_var'}'` = yes; then
87022 cat >>confdefs.h <<_ACEOF
87023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87024 _ACEOF
87026 else
87027 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87029 done
87033 # Used in libmath/Makefile.am.
87034 if test -n "$LIBMATHOBJS"; then
87035 need_libmath=yes
87039 cat >>confdefs.h <<\_ACEOF
87040 #define HAVE_COPYSIGN 1
87041 _ACEOF
87043 cat >>confdefs.h <<\_ACEOF
87044 #define HAVE_COPYSIGNF 1
87045 _ACEOF
87047 cat >>confdefs.h <<\_ACEOF
87048 #define HAVE_FREXPF 1
87049 _ACEOF
87051 cat >>confdefs.h <<\_ACEOF
87052 #define HAVE_HYPOT 1
87053 _ACEOF
87055 case "$target" in
87056 *-hpux10*)
87057 cat >>confdefs.h <<\_ACEOF
87058 #define HAVE_FINITE 1
87059 _ACEOF
87061 cat >>confdefs.h <<\_ACEOF
87062 #define HAVE_FINITEF 1
87063 _ACEOF
87065 cat >>confdefs.h <<\_ACEOF
87066 #define HAVE_ISINF 1
87067 _ACEOF
87069 cat >>confdefs.h <<\_ACEOF
87070 #define HAVE_ISINFF 1
87071 _ACEOF
87073 cat >>confdefs.h <<\_ACEOF
87074 #define HAVE_ISNAN 1
87075 _ACEOF
87077 cat >>confdefs.h <<\_ACEOF
87078 #define HAVE_ISNANF 1
87079 _ACEOF
87082 esac
87084 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
87100 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87101 machine/endian.h machine/param.h sys/machine.h sys/types.h \
87102 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
87104 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87106 echo "$as_me:$LINENO: checking for $ac_header" >&5
87107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87109 echo $ECHO_N "(cached) $ECHO_C" >&6
87111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87113 else
87114 # Is the header compilable?
87115 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87116 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87117 cat >conftest.$ac_ext <<_ACEOF
87118 /* confdefs.h. */
87119 _ACEOF
87120 cat confdefs.h >>conftest.$ac_ext
87121 cat >>conftest.$ac_ext <<_ACEOF
87122 /* end confdefs.h. */
87123 $ac_includes_default
87124 #include <$ac_header>
87125 _ACEOF
87126 rm -f conftest.$ac_objext
87127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87128 (eval $ac_compile) 2>conftest.er1
87129 ac_status=$?
87130 grep -v '^ *+' conftest.er1 >conftest.err
87131 rm -f conftest.er1
87132 cat conftest.err >&5
87133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87134 (exit $ac_status); } &&
87135 { ac_try='test -z "$ac_c_werror_flag"
87136 || test ! -s conftest.err'
87137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87138 (eval $ac_try) 2>&5
87139 ac_status=$?
87140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87141 (exit $ac_status); }; } &&
87142 { ac_try='test -s conftest.$ac_objext'
87143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87144 (eval $ac_try) 2>&5
87145 ac_status=$?
87146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87147 (exit $ac_status); }; }; then
87148 ac_header_compiler=yes
87149 else
87150 echo "$as_me: failed program was:" >&5
87151 sed 's/^/| /' conftest.$ac_ext >&5
87153 ac_header_compiler=no
87155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87156 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87157 echo "${ECHO_T}$ac_header_compiler" >&6
87159 # Is the header present?
87160 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87161 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87162 cat >conftest.$ac_ext <<_ACEOF
87163 /* confdefs.h. */
87164 _ACEOF
87165 cat confdefs.h >>conftest.$ac_ext
87166 cat >>conftest.$ac_ext <<_ACEOF
87167 /* end confdefs.h. */
87168 #include <$ac_header>
87169 _ACEOF
87170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87172 ac_status=$?
87173 grep -v '^ *+' conftest.er1 >conftest.err
87174 rm -f conftest.er1
87175 cat conftest.err >&5
87176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87177 (exit $ac_status); } >/dev/null; then
87178 if test -s conftest.err; then
87179 ac_cpp_err=$ac_c_preproc_warn_flag
87180 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87181 else
87182 ac_cpp_err=
87184 else
87185 ac_cpp_err=yes
87187 if test -z "$ac_cpp_err"; then
87188 ac_header_preproc=yes
87189 else
87190 echo "$as_me: failed program was:" >&5
87191 sed 's/^/| /' conftest.$ac_ext >&5
87193 ac_header_preproc=no
87195 rm -f conftest.err conftest.$ac_ext
87196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87197 echo "${ECHO_T}$ac_header_preproc" >&6
87199 # So? What about this header?
87200 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87201 yes:no: )
87202 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87203 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87205 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87206 ac_header_preproc=yes
87208 no:yes:* )
87209 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87210 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87211 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87212 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87213 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87214 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87215 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87216 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87217 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87218 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87219 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87220 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87222 cat <<\_ASBOX
87223 ## ----------------------------------------- ##
87224 ## Report this to the package-unused lists. ##
87225 ## ----------------------------------------- ##
87226 _ASBOX
87228 sed "s/^/$as_me: WARNING: /" >&2
87230 esac
87231 echo "$as_me:$LINENO: checking for $ac_header" >&5
87232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87234 echo $ECHO_N "(cached) $ECHO_C" >&6
87235 else
87236 eval "$as_ac_Header=\$ac_header_preproc"
87238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87242 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87243 cat >>confdefs.h <<_ACEOF
87244 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87245 _ACEOF
87249 done
87251 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87254 # All these tests are for C++; save the language and the compiler flags.
87255 # The CXXFLAGS thing is suspicious, but based on similar bits previously
87256 # found in GLIBCXX_CONFIGURE.
87259 ac_ext=cc
87260 ac_cpp='$CXXCPP $CPPFLAGS'
87261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87265 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87266 ac_save_CXXFLAGS="$CXXFLAGS"
87268 # Check for maintainer-mode bits.
87269 if test x"$USE_MAINTAINER_MODE" = xno; then
87270 WERROR=''
87271 else
87272 WERROR='-Werror'
87275 # Check for -ffunction-sections -fdata-sections
87276 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
87277 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
87278 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
87279 cat >conftest.$ac_ext <<_ACEOF
87280 /* confdefs.h. */
87281 _ACEOF
87282 cat confdefs.h >>conftest.$ac_ext
87283 cat >>conftest.$ac_ext <<_ACEOF
87284 /* end confdefs.h. */
87285 int foo; void bar() { };
87287 main ()
87291 return 0;
87293 _ACEOF
87294 rm -f conftest.$ac_objext
87295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87296 (eval $ac_compile) 2>conftest.er1
87297 ac_status=$?
87298 grep -v '^ *+' conftest.er1 >conftest.err
87299 rm -f conftest.er1
87300 cat conftest.err >&5
87301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87302 (exit $ac_status); } &&
87303 { ac_try='test -z "$ac_cxx_werror_flag"
87304 || test ! -s conftest.err'
87305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87306 (eval $ac_try) 2>&5
87307 ac_status=$?
87308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87309 (exit $ac_status); }; } &&
87310 { ac_try='test -s conftest.$ac_objext'
87311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87312 (eval $ac_try) 2>&5
87313 ac_status=$?
87314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87315 (exit $ac_status); }; }; then
87316 ac_fdsections=yes
87317 else
87318 echo "$as_me: failed program was:" >&5
87319 sed 's/^/| /' conftest.$ac_ext >&5
87321 ac_fdsections=no
87323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87324 if test "$ac_test_CXXFLAGS" = set; then
87325 CXXFLAGS="$ac_save_CXXFLAGS"
87326 else
87327 # this is the suspicious part
87328 CXXFLAGS=''
87330 if test x"$ac_fdsections" = x"yes"; then
87331 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87333 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
87334 echo "${ECHO_T}$ac_fdsections" >&6
87336 ac_ext=c
87337 ac_cpp='$CPP $CPPFLAGS'
87338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87346 # If we're not using GNU ld, then there's no point in even trying these
87347 # tests. Check for that first. We should have already tested for gld
87348 # by now (in libtool), but require it now just to be safe...
87349 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87350 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87354 # The name set by libtool depends on the version of libtool. Shame on us
87355 # for depending on an impl detail, but c'est la vie. Older versions used
87356 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87357 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87358 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87359 # set (hence we're using an older libtool), then set it.
87360 if test x${with_gnu_ld+set} != xset; then
87361 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87362 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87363 with_gnu_ld=no
87364 else
87365 with_gnu_ld=$ac_cv_prog_gnu_ld
87369 # Start by getting the version number. I think the libtool test already
87370 # does some of this, but throws away the result.
87371 if test x"$with_gnu_ld" = x"yes"; then
87372 echo "$as_me:$LINENO: checking for ld version" >&5
87373 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87375 ldver=`$LD --version 2>/dev/null | head -1 | \
87376 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
87378 glibcxx_gnu_ld_version=`echo $ldver | \
87379 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87380 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87381 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87384 # Set --gc-sections.
87385 glibcxx_gcsections_min_ld=21602
87386 if test x"$with_gnu_ld" = x"yes" &&
87387 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87389 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
87390 # NB: This flag only works reliably after 2.16.1. Configure tests
87391 # for this are difficult, so hard wire a value that should work.
87393 ac_test_CFLAGS="${CFLAGS+set}"
87394 ac_save_CFLAGS="$CFLAGS"
87395 CFLAGS='-Wl,--gc-sections'
87397 # Check for -Wl,--gc-sections
87398 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87399 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87400 if test x$gcc_no_link = xyes; then
87401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87403 { (exit 1); exit 1; }; }
87405 cat >conftest.$ac_ext <<_ACEOF
87406 /* confdefs.h. */
87407 _ACEOF
87408 cat confdefs.h >>conftest.$ac_ext
87409 cat >>conftest.$ac_ext <<_ACEOF
87410 /* end confdefs.h. */
87411 int one(void) { return 1; }
87412 int two(void) { return 2; }
87415 main ()
87417 two();
87419 return 0;
87421 _ACEOF
87422 rm -f conftest.$ac_objext conftest$ac_exeext
87423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87424 (eval $ac_link) 2>conftest.er1
87425 ac_status=$?
87426 grep -v '^ *+' conftest.er1 >conftest.err
87427 rm -f conftest.er1
87428 cat conftest.err >&5
87429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87430 (exit $ac_status); } &&
87431 { ac_try='test -z "$ac_c_werror_flag"
87432 || test ! -s conftest.err'
87433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87434 (eval $ac_try) 2>&5
87435 ac_status=$?
87436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87437 (exit $ac_status); }; } &&
87438 { ac_try='test -s conftest$ac_exeext'
87439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87440 (eval $ac_try) 2>&5
87441 ac_status=$?
87442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87443 (exit $ac_status); }; }; then
87444 ac_gcsections=yes
87445 else
87446 echo "$as_me: failed program was:" >&5
87447 sed 's/^/| /' conftest.$ac_ext >&5
87449 ac_gcsections=no
87451 rm -f conftest.err conftest.$ac_objext \
87452 conftest$ac_exeext conftest.$ac_ext
87453 if test "$ac_gcsections" = "yes"; then
87454 rm -f conftest.c
87455 touch conftest.c
87456 if $CC -c conftest.c; then
87457 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87458 grep "Warning: gc-sections option ignored" > /dev/null; then
87459 ac_gcsections=no
87462 rm -f conftest.c conftest.o conftest
87464 if test "$ac_gcsections" = "yes"; then
87465 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87467 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87468 echo "${ECHO_T}$ac_gcsections" >&6
87470 if test "$ac_test_CFLAGS" = set; then
87471 CFLAGS="$ac_save_CFLAGS"
87472 else
87473 # this is the suspicious part
87474 CFLAGS=''
87478 # Set -z,relro.
87479 # Note this is only for shared objects.
87480 ac_ld_relro=no
87481 if test x"$with_gnu_ld" = x"yes"; then
87482 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87483 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87484 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87485 if test -n "$cxx_z_relo"; then
87486 OPT_LDFLAGS="-Wl,-z,relro"
87487 ac_ld_relro=yes
87489 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87490 echo "${ECHO_T}$ac_ld_relro" >&6
87493 # Set linker optimization flags.
87494 if test x"$with_gnu_ld" = x"yes"; then
87495 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87502 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87503 ac_save_CXXFLAGS="$CXXFLAGS"
87504 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
87506 echo "$as_me:$LINENO: checking for sin in -lm" >&5
87507 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
87508 if test "${ac_cv_lib_m_sin+set}" = set; then
87509 echo $ECHO_N "(cached) $ECHO_C" >&6
87510 else
87511 ac_check_lib_save_LIBS=$LIBS
87512 LIBS="-lm $LIBS"
87513 if test x$gcc_no_link = xyes; then
87514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87516 { (exit 1); exit 1; }; }
87518 cat >conftest.$ac_ext <<_ACEOF
87519 /* confdefs.h. */
87520 _ACEOF
87521 cat confdefs.h >>conftest.$ac_ext
87522 cat >>conftest.$ac_ext <<_ACEOF
87523 /* end confdefs.h. */
87525 /* Override any gcc2 internal prototype to avoid an error. */
87526 #ifdef __cplusplus
87527 extern "C"
87528 #endif
87529 /* We use char because int might match the return type of a gcc2
87530 builtin and then its argument prototype would still apply. */
87531 char sin ();
87533 main ()
87535 sin ();
87537 return 0;
87539 _ACEOF
87540 rm -f conftest.$ac_objext conftest$ac_exeext
87541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87542 (eval $ac_link) 2>conftest.er1
87543 ac_status=$?
87544 grep -v '^ *+' conftest.er1 >conftest.err
87545 rm -f conftest.er1
87546 cat conftest.err >&5
87547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87548 (exit $ac_status); } &&
87549 { ac_try='test -z "$ac_c_werror_flag"
87550 || test ! -s conftest.err'
87551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87552 (eval $ac_try) 2>&5
87553 ac_status=$?
87554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87555 (exit $ac_status); }; } &&
87556 { ac_try='test -s conftest$ac_exeext'
87557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87558 (eval $ac_try) 2>&5
87559 ac_status=$?
87560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87561 (exit $ac_status); }; }; then
87562 ac_cv_lib_m_sin=yes
87563 else
87564 echo "$as_me: failed program was:" >&5
87565 sed 's/^/| /' conftest.$ac_ext >&5
87567 ac_cv_lib_m_sin=no
87569 rm -f conftest.err conftest.$ac_objext \
87570 conftest$ac_exeext conftest.$ac_ext
87571 LIBS=$ac_check_lib_save_LIBS
87573 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
87574 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
87575 if test $ac_cv_lib_m_sin = yes; then
87576 libm="-lm"
87579 ac_save_LIBS="$LIBS"
87580 LIBS="$LIBS $libm"
87584 echo "$as_me:$LINENO: checking for isinf declaration" >&5
87585 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
87586 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
87587 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
87588 echo $ECHO_N "(cached) $ECHO_C" >&6
87589 else
87593 ac_ext=cc
87594 ac_cpp='$CXXCPP $CPPFLAGS'
87595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87599 cat >conftest.$ac_ext <<_ACEOF
87600 /* confdefs.h. */
87601 _ACEOF
87602 cat confdefs.h >>conftest.$ac_ext
87603 cat >>conftest.$ac_ext <<_ACEOF
87604 /* end confdefs.h. */
87605 #include <math.h>
87606 #ifdef HAVE_IEEEFP_H
87607 #include <ieeefp.h>
87608 #endif
87611 main ()
87613 isinf(0);
87615 return 0;
87617 _ACEOF
87618 rm -f conftest.$ac_objext
87619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87620 (eval $ac_compile) 2>conftest.er1
87621 ac_status=$?
87622 grep -v '^ *+' conftest.er1 >conftest.err
87623 rm -f conftest.er1
87624 cat conftest.err >&5
87625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87626 (exit $ac_status); } &&
87627 { ac_try='test -z "$ac_cxx_werror_flag"
87628 || test ! -s conftest.err'
87629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87630 (eval $ac_try) 2>&5
87631 ac_status=$?
87632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87633 (exit $ac_status); }; } &&
87634 { ac_try='test -s conftest.$ac_objext'
87635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87636 (eval $ac_try) 2>&5
87637 ac_status=$?
87638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87639 (exit $ac_status); }; }; then
87640 glibcxx_cv_func_isinf_use=yes
87641 else
87642 echo "$as_me: failed program was:" >&5
87643 sed 's/^/| /' conftest.$ac_ext >&5
87645 glibcxx_cv_func_isinf_use=no
87647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87648 ac_ext=c
87649 ac_cpp='$CPP $CPPFLAGS'
87650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87658 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
87659 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
87661 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
87663 for ac_func in isinf
87665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87666 echo "$as_me:$LINENO: checking for $ac_func" >&5
87667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87668 if eval "test \"\${$as_ac_var+set}\" = set"; then
87669 echo $ECHO_N "(cached) $ECHO_C" >&6
87670 else
87671 if test x$gcc_no_link = xyes; then
87672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87674 { (exit 1); exit 1; }; }
87676 cat >conftest.$ac_ext <<_ACEOF
87677 /* confdefs.h. */
87678 _ACEOF
87679 cat confdefs.h >>conftest.$ac_ext
87680 cat >>conftest.$ac_ext <<_ACEOF
87681 /* end confdefs.h. */
87682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87684 #define $ac_func innocuous_$ac_func
87686 /* System header to define __stub macros and hopefully few prototypes,
87687 which can conflict with char $ac_func (); below.
87688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87689 <limits.h> exists even on freestanding compilers. */
87691 #ifdef __STDC__
87692 # include <limits.h>
87693 #else
87694 # include <assert.h>
87695 #endif
87697 #undef $ac_func
87699 /* Override any gcc2 internal prototype to avoid an error. */
87700 #ifdef __cplusplus
87701 extern "C"
87703 #endif
87704 /* We use char because int might match the return type of a gcc2
87705 builtin and then its argument prototype would still apply. */
87706 char $ac_func ();
87707 /* The GNU C library defines this for functions which it implements
87708 to always fail with ENOSYS. Some functions are actually named
87709 something starting with __ and the normal name is an alias. */
87710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87711 choke me
87712 #else
87713 char (*f) () = $ac_func;
87714 #endif
87715 #ifdef __cplusplus
87717 #endif
87720 main ()
87722 return f != $ac_func;
87724 return 0;
87726 _ACEOF
87727 rm -f conftest.$ac_objext conftest$ac_exeext
87728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87729 (eval $ac_link) 2>conftest.er1
87730 ac_status=$?
87731 grep -v '^ *+' conftest.er1 >conftest.err
87732 rm -f conftest.er1
87733 cat conftest.err >&5
87734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87735 (exit $ac_status); } &&
87736 { ac_try='test -z "$ac_c_werror_flag"
87737 || test ! -s conftest.err'
87738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87739 (eval $ac_try) 2>&5
87740 ac_status=$?
87741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87742 (exit $ac_status); }; } &&
87743 { ac_try='test -s conftest$ac_exeext'
87744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87745 (eval $ac_try) 2>&5
87746 ac_status=$?
87747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87748 (exit $ac_status); }; }; then
87749 eval "$as_ac_var=yes"
87750 else
87751 echo "$as_me: failed program was:" >&5
87752 sed 's/^/| /' conftest.$ac_ext >&5
87754 eval "$as_ac_var=no"
87756 rm -f conftest.err conftest.$ac_objext \
87757 conftest$ac_exeext conftest.$ac_ext
87759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87761 if test `eval echo '${'$as_ac_var'}'` = yes; then
87762 cat >>confdefs.h <<_ACEOF
87763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87764 _ACEOF
87767 done
87769 else
87771 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
87772 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
87773 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
87774 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
87775 echo $ECHO_N "(cached) $ECHO_C" >&6
87776 else
87780 ac_ext=cc
87781 ac_cpp='$CXXCPP $CPPFLAGS'
87782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87786 cat >conftest.$ac_ext <<_ACEOF
87787 /* confdefs.h. */
87788 _ACEOF
87789 cat confdefs.h >>conftest.$ac_ext
87790 cat >>conftest.$ac_ext <<_ACEOF
87791 /* end confdefs.h. */
87792 #include <math.h>
87793 #ifdef HAVE_IEEEFP_H
87794 #include <ieeefp.h>
87795 #endif
87798 main ()
87800 _isinf(0);
87802 return 0;
87804 _ACEOF
87805 rm -f conftest.$ac_objext
87806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87807 (eval $ac_compile) 2>conftest.er1
87808 ac_status=$?
87809 grep -v '^ *+' conftest.er1 >conftest.err
87810 rm -f conftest.er1
87811 cat conftest.err >&5
87812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87813 (exit $ac_status); } &&
87814 { ac_try='test -z "$ac_cxx_werror_flag"
87815 || test ! -s conftest.err'
87816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87817 (eval $ac_try) 2>&5
87818 ac_status=$?
87819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87820 (exit $ac_status); }; } &&
87821 { ac_try='test -s conftest.$ac_objext'
87822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87823 (eval $ac_try) 2>&5
87824 ac_status=$?
87825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87826 (exit $ac_status); }; }; then
87827 glibcxx_cv_func__isinf_use=yes
87828 else
87829 echo "$as_me: failed program was:" >&5
87830 sed 's/^/| /' conftest.$ac_ext >&5
87832 glibcxx_cv_func__isinf_use=no
87834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87835 ac_ext=c
87836 ac_cpp='$CPP $CPPFLAGS'
87837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87845 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
87846 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
87848 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
87850 for ac_func in _isinf
87852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87853 echo "$as_me:$LINENO: checking for $ac_func" >&5
87854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87855 if eval "test \"\${$as_ac_var+set}\" = set"; then
87856 echo $ECHO_N "(cached) $ECHO_C" >&6
87857 else
87858 if test x$gcc_no_link = xyes; then
87859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87861 { (exit 1); exit 1; }; }
87863 cat >conftest.$ac_ext <<_ACEOF
87864 /* confdefs.h. */
87865 _ACEOF
87866 cat confdefs.h >>conftest.$ac_ext
87867 cat >>conftest.$ac_ext <<_ACEOF
87868 /* end confdefs.h. */
87869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87871 #define $ac_func innocuous_$ac_func
87873 /* System header to define __stub macros and hopefully few prototypes,
87874 which can conflict with char $ac_func (); below.
87875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87876 <limits.h> exists even on freestanding compilers. */
87878 #ifdef __STDC__
87879 # include <limits.h>
87880 #else
87881 # include <assert.h>
87882 #endif
87884 #undef $ac_func
87886 /* Override any gcc2 internal prototype to avoid an error. */
87887 #ifdef __cplusplus
87888 extern "C"
87890 #endif
87891 /* We use char because int might match the return type of a gcc2
87892 builtin and then its argument prototype would still apply. */
87893 char $ac_func ();
87894 /* The GNU C library defines this for functions which it implements
87895 to always fail with ENOSYS. Some functions are actually named
87896 something starting with __ and the normal name is an alias. */
87897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87898 choke me
87899 #else
87900 char (*f) () = $ac_func;
87901 #endif
87902 #ifdef __cplusplus
87904 #endif
87907 main ()
87909 return f != $ac_func;
87911 return 0;
87913 _ACEOF
87914 rm -f conftest.$ac_objext conftest$ac_exeext
87915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87916 (eval $ac_link) 2>conftest.er1
87917 ac_status=$?
87918 grep -v '^ *+' conftest.er1 >conftest.err
87919 rm -f conftest.er1
87920 cat conftest.err >&5
87921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87922 (exit $ac_status); } &&
87923 { ac_try='test -z "$ac_c_werror_flag"
87924 || test ! -s conftest.err'
87925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87926 (eval $ac_try) 2>&5
87927 ac_status=$?
87928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87929 (exit $ac_status); }; } &&
87930 { ac_try='test -s conftest$ac_exeext'
87931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87932 (eval $ac_try) 2>&5
87933 ac_status=$?
87934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87935 (exit $ac_status); }; }; then
87936 eval "$as_ac_var=yes"
87937 else
87938 echo "$as_me: failed program was:" >&5
87939 sed 's/^/| /' conftest.$ac_ext >&5
87941 eval "$as_ac_var=no"
87943 rm -f conftest.err conftest.$ac_objext \
87944 conftest$ac_exeext conftest.$ac_ext
87946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87948 if test `eval echo '${'$as_ac_var'}'` = yes; then
87949 cat >>confdefs.h <<_ACEOF
87950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87951 _ACEOF
87954 done
87964 echo "$as_me:$LINENO: checking for isnan declaration" >&5
87965 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
87966 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
87967 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
87968 echo $ECHO_N "(cached) $ECHO_C" >&6
87969 else
87973 ac_ext=cc
87974 ac_cpp='$CXXCPP $CPPFLAGS'
87975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87979 cat >conftest.$ac_ext <<_ACEOF
87980 /* confdefs.h. */
87981 _ACEOF
87982 cat confdefs.h >>conftest.$ac_ext
87983 cat >>conftest.$ac_ext <<_ACEOF
87984 /* end confdefs.h. */
87985 #include <math.h>
87986 #ifdef HAVE_IEEEFP_H
87987 #include <ieeefp.h>
87988 #endif
87991 main ()
87993 isnan(0);
87995 return 0;
87997 _ACEOF
87998 rm -f conftest.$ac_objext
87999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88000 (eval $ac_compile) 2>conftest.er1
88001 ac_status=$?
88002 grep -v '^ *+' conftest.er1 >conftest.err
88003 rm -f conftest.er1
88004 cat conftest.err >&5
88005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88006 (exit $ac_status); } &&
88007 { ac_try='test -z "$ac_cxx_werror_flag"
88008 || test ! -s conftest.err'
88009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88010 (eval $ac_try) 2>&5
88011 ac_status=$?
88012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88013 (exit $ac_status); }; } &&
88014 { ac_try='test -s conftest.$ac_objext'
88015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88016 (eval $ac_try) 2>&5
88017 ac_status=$?
88018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88019 (exit $ac_status); }; }; then
88020 glibcxx_cv_func_isnan_use=yes
88021 else
88022 echo "$as_me: failed program was:" >&5
88023 sed 's/^/| /' conftest.$ac_ext >&5
88025 glibcxx_cv_func_isnan_use=no
88027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88028 ac_ext=c
88029 ac_cpp='$CPP $CPPFLAGS'
88030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88038 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
88039 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
88041 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
88043 for ac_func in isnan
88045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88046 echo "$as_me:$LINENO: checking for $ac_func" >&5
88047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88048 if eval "test \"\${$as_ac_var+set}\" = set"; then
88049 echo $ECHO_N "(cached) $ECHO_C" >&6
88050 else
88051 if test x$gcc_no_link = xyes; then
88052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88054 { (exit 1); exit 1; }; }
88056 cat >conftest.$ac_ext <<_ACEOF
88057 /* confdefs.h. */
88058 _ACEOF
88059 cat confdefs.h >>conftest.$ac_ext
88060 cat >>conftest.$ac_ext <<_ACEOF
88061 /* end confdefs.h. */
88062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88064 #define $ac_func innocuous_$ac_func
88066 /* System header to define __stub macros and hopefully few prototypes,
88067 which can conflict with char $ac_func (); below.
88068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88069 <limits.h> exists even on freestanding compilers. */
88071 #ifdef __STDC__
88072 # include <limits.h>
88073 #else
88074 # include <assert.h>
88075 #endif
88077 #undef $ac_func
88079 /* Override any gcc2 internal prototype to avoid an error. */
88080 #ifdef __cplusplus
88081 extern "C"
88083 #endif
88084 /* We use char because int might match the return type of a gcc2
88085 builtin and then its argument prototype would still apply. */
88086 char $ac_func ();
88087 /* The GNU C library defines this for functions which it implements
88088 to always fail with ENOSYS. Some functions are actually named
88089 something starting with __ and the normal name is an alias. */
88090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88091 choke me
88092 #else
88093 char (*f) () = $ac_func;
88094 #endif
88095 #ifdef __cplusplus
88097 #endif
88100 main ()
88102 return f != $ac_func;
88104 return 0;
88106 _ACEOF
88107 rm -f conftest.$ac_objext conftest$ac_exeext
88108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88109 (eval $ac_link) 2>conftest.er1
88110 ac_status=$?
88111 grep -v '^ *+' conftest.er1 >conftest.err
88112 rm -f conftest.er1
88113 cat conftest.err >&5
88114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88115 (exit $ac_status); } &&
88116 { ac_try='test -z "$ac_c_werror_flag"
88117 || test ! -s conftest.err'
88118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88119 (eval $ac_try) 2>&5
88120 ac_status=$?
88121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88122 (exit $ac_status); }; } &&
88123 { ac_try='test -s conftest$ac_exeext'
88124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88125 (eval $ac_try) 2>&5
88126 ac_status=$?
88127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88128 (exit $ac_status); }; }; then
88129 eval "$as_ac_var=yes"
88130 else
88131 echo "$as_me: failed program was:" >&5
88132 sed 's/^/| /' conftest.$ac_ext >&5
88134 eval "$as_ac_var=no"
88136 rm -f conftest.err conftest.$ac_objext \
88137 conftest$ac_exeext conftest.$ac_ext
88139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88141 if test `eval echo '${'$as_ac_var'}'` = yes; then
88142 cat >>confdefs.h <<_ACEOF
88143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88144 _ACEOF
88147 done
88149 else
88151 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
88152 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
88153 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
88154 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
88155 echo $ECHO_N "(cached) $ECHO_C" >&6
88156 else
88160 ac_ext=cc
88161 ac_cpp='$CXXCPP $CPPFLAGS'
88162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88166 cat >conftest.$ac_ext <<_ACEOF
88167 /* confdefs.h. */
88168 _ACEOF
88169 cat confdefs.h >>conftest.$ac_ext
88170 cat >>conftest.$ac_ext <<_ACEOF
88171 /* end confdefs.h. */
88172 #include <math.h>
88173 #ifdef HAVE_IEEEFP_H
88174 #include <ieeefp.h>
88175 #endif
88178 main ()
88180 _isnan(0);
88182 return 0;
88184 _ACEOF
88185 rm -f conftest.$ac_objext
88186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88187 (eval $ac_compile) 2>conftest.er1
88188 ac_status=$?
88189 grep -v '^ *+' conftest.er1 >conftest.err
88190 rm -f conftest.er1
88191 cat conftest.err >&5
88192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88193 (exit $ac_status); } &&
88194 { ac_try='test -z "$ac_cxx_werror_flag"
88195 || test ! -s conftest.err'
88196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88197 (eval $ac_try) 2>&5
88198 ac_status=$?
88199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88200 (exit $ac_status); }; } &&
88201 { ac_try='test -s conftest.$ac_objext'
88202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88203 (eval $ac_try) 2>&5
88204 ac_status=$?
88205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88206 (exit $ac_status); }; }; then
88207 glibcxx_cv_func__isnan_use=yes
88208 else
88209 echo "$as_me: failed program was:" >&5
88210 sed 's/^/| /' conftest.$ac_ext >&5
88212 glibcxx_cv_func__isnan_use=no
88214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88215 ac_ext=c
88216 ac_cpp='$CPP $CPPFLAGS'
88217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88225 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
88226 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
88228 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
88230 for ac_func in _isnan
88232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88233 echo "$as_me:$LINENO: checking for $ac_func" >&5
88234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88235 if eval "test \"\${$as_ac_var+set}\" = set"; then
88236 echo $ECHO_N "(cached) $ECHO_C" >&6
88237 else
88238 if test x$gcc_no_link = xyes; then
88239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88241 { (exit 1); exit 1; }; }
88243 cat >conftest.$ac_ext <<_ACEOF
88244 /* confdefs.h. */
88245 _ACEOF
88246 cat confdefs.h >>conftest.$ac_ext
88247 cat >>conftest.$ac_ext <<_ACEOF
88248 /* end confdefs.h. */
88249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88251 #define $ac_func innocuous_$ac_func
88253 /* System header to define __stub macros and hopefully few prototypes,
88254 which can conflict with char $ac_func (); below.
88255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88256 <limits.h> exists even on freestanding compilers. */
88258 #ifdef __STDC__
88259 # include <limits.h>
88260 #else
88261 # include <assert.h>
88262 #endif
88264 #undef $ac_func
88266 /* Override any gcc2 internal prototype to avoid an error. */
88267 #ifdef __cplusplus
88268 extern "C"
88270 #endif
88271 /* We use char because int might match the return type of a gcc2
88272 builtin and then its argument prototype would still apply. */
88273 char $ac_func ();
88274 /* The GNU C library defines this for functions which it implements
88275 to always fail with ENOSYS. Some functions are actually named
88276 something starting with __ and the normal name is an alias. */
88277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88278 choke me
88279 #else
88280 char (*f) () = $ac_func;
88281 #endif
88282 #ifdef __cplusplus
88284 #endif
88287 main ()
88289 return f != $ac_func;
88291 return 0;
88293 _ACEOF
88294 rm -f conftest.$ac_objext conftest$ac_exeext
88295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88296 (eval $ac_link) 2>conftest.er1
88297 ac_status=$?
88298 grep -v '^ *+' conftest.er1 >conftest.err
88299 rm -f conftest.er1
88300 cat conftest.err >&5
88301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88302 (exit $ac_status); } &&
88303 { ac_try='test -z "$ac_c_werror_flag"
88304 || test ! -s conftest.err'
88305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88306 (eval $ac_try) 2>&5
88307 ac_status=$?
88308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88309 (exit $ac_status); }; } &&
88310 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
88316 eval "$as_ac_var=yes"
88317 else
88318 echo "$as_me: failed program was:" >&5
88319 sed 's/^/| /' conftest.$ac_ext >&5
88321 eval "$as_ac_var=no"
88323 rm -f conftest.err conftest.$ac_objext \
88324 conftest$ac_exeext conftest.$ac_ext
88326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88328 if test `eval echo '${'$as_ac_var'}'` = yes; then
88329 cat >>confdefs.h <<_ACEOF
88330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88331 _ACEOF
88334 done
88344 echo "$as_me:$LINENO: checking for finite declaration" >&5
88345 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
88346 if test x${glibcxx_cv_func_finite_use+set} != xset; then
88347 if test "${glibcxx_cv_func_finite_use+set}" = set; then
88348 echo $ECHO_N "(cached) $ECHO_C" >&6
88349 else
88353 ac_ext=cc
88354 ac_cpp='$CXXCPP $CPPFLAGS'
88355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88359 cat >conftest.$ac_ext <<_ACEOF
88360 /* confdefs.h. */
88361 _ACEOF
88362 cat confdefs.h >>conftest.$ac_ext
88363 cat >>conftest.$ac_ext <<_ACEOF
88364 /* end confdefs.h. */
88365 #include <math.h>
88366 #ifdef HAVE_IEEEFP_H
88367 #include <ieeefp.h>
88368 #endif
88371 main ()
88373 finite(0);
88375 return 0;
88377 _ACEOF
88378 rm -f conftest.$ac_objext
88379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88380 (eval $ac_compile) 2>conftest.er1
88381 ac_status=$?
88382 grep -v '^ *+' conftest.er1 >conftest.err
88383 rm -f conftest.er1
88384 cat conftest.err >&5
88385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88386 (exit $ac_status); } &&
88387 { ac_try='test -z "$ac_cxx_werror_flag"
88388 || test ! -s conftest.err'
88389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88390 (eval $ac_try) 2>&5
88391 ac_status=$?
88392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88393 (exit $ac_status); }; } &&
88394 { ac_try='test -s conftest.$ac_objext'
88395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88396 (eval $ac_try) 2>&5
88397 ac_status=$?
88398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88399 (exit $ac_status); }; }; then
88400 glibcxx_cv_func_finite_use=yes
88401 else
88402 echo "$as_me: failed program was:" >&5
88403 sed 's/^/| /' conftest.$ac_ext >&5
88405 glibcxx_cv_func_finite_use=no
88407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88408 ac_ext=c
88409 ac_cpp='$CPP $CPPFLAGS'
88410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88418 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
88419 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
88421 if test x$glibcxx_cv_func_finite_use = x"yes"; then
88423 for ac_func in finite
88425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88426 echo "$as_me:$LINENO: checking for $ac_func" >&5
88427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88428 if eval "test \"\${$as_ac_var+set}\" = set"; then
88429 echo $ECHO_N "(cached) $ECHO_C" >&6
88430 else
88431 if test x$gcc_no_link = xyes; then
88432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88434 { (exit 1); exit 1; }; }
88436 cat >conftest.$ac_ext <<_ACEOF
88437 /* confdefs.h. */
88438 _ACEOF
88439 cat confdefs.h >>conftest.$ac_ext
88440 cat >>conftest.$ac_ext <<_ACEOF
88441 /* end confdefs.h. */
88442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88444 #define $ac_func innocuous_$ac_func
88446 /* System header to define __stub macros and hopefully few prototypes,
88447 which can conflict with char $ac_func (); below.
88448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88449 <limits.h> exists even on freestanding compilers. */
88451 #ifdef __STDC__
88452 # include <limits.h>
88453 #else
88454 # include <assert.h>
88455 #endif
88457 #undef $ac_func
88459 /* Override any gcc2 internal prototype to avoid an error. */
88460 #ifdef __cplusplus
88461 extern "C"
88463 #endif
88464 /* We use char because int might match the return type of a gcc2
88465 builtin and then its argument prototype would still apply. */
88466 char $ac_func ();
88467 /* The GNU C library defines this for functions which it implements
88468 to always fail with ENOSYS. Some functions are actually named
88469 something starting with __ and the normal name is an alias. */
88470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88471 choke me
88472 #else
88473 char (*f) () = $ac_func;
88474 #endif
88475 #ifdef __cplusplus
88477 #endif
88480 main ()
88482 return f != $ac_func;
88484 return 0;
88486 _ACEOF
88487 rm -f conftest.$ac_objext conftest$ac_exeext
88488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88489 (eval $ac_link) 2>conftest.er1
88490 ac_status=$?
88491 grep -v '^ *+' conftest.er1 >conftest.err
88492 rm -f conftest.er1
88493 cat conftest.err >&5
88494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88495 (exit $ac_status); } &&
88496 { ac_try='test -z "$ac_c_werror_flag"
88497 || test ! -s conftest.err'
88498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88499 (eval $ac_try) 2>&5
88500 ac_status=$?
88501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88502 (exit $ac_status); }; } &&
88503 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
88509 eval "$as_ac_var=yes"
88510 else
88511 echo "$as_me: failed program was:" >&5
88512 sed 's/^/| /' conftest.$ac_ext >&5
88514 eval "$as_ac_var=no"
88516 rm -f conftest.err conftest.$ac_objext \
88517 conftest$ac_exeext conftest.$ac_ext
88519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88521 if test `eval echo '${'$as_ac_var'}'` = yes; then
88522 cat >>confdefs.h <<_ACEOF
88523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88524 _ACEOF
88527 done
88529 else
88531 echo "$as_me:$LINENO: checking for _finite declaration" >&5
88532 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
88533 if test x${glibcxx_cv_func__finite_use+set} != xset; then
88534 if test "${glibcxx_cv_func__finite_use+set}" = set; then
88535 echo $ECHO_N "(cached) $ECHO_C" >&6
88536 else
88540 ac_ext=cc
88541 ac_cpp='$CXXCPP $CPPFLAGS'
88542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88546 cat >conftest.$ac_ext <<_ACEOF
88547 /* confdefs.h. */
88548 _ACEOF
88549 cat confdefs.h >>conftest.$ac_ext
88550 cat >>conftest.$ac_ext <<_ACEOF
88551 /* end confdefs.h. */
88552 #include <math.h>
88553 #ifdef HAVE_IEEEFP_H
88554 #include <ieeefp.h>
88555 #endif
88558 main ()
88560 _finite(0);
88562 return 0;
88564 _ACEOF
88565 rm -f conftest.$ac_objext
88566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88567 (eval $ac_compile) 2>conftest.er1
88568 ac_status=$?
88569 grep -v '^ *+' conftest.er1 >conftest.err
88570 rm -f conftest.er1
88571 cat conftest.err >&5
88572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88573 (exit $ac_status); } &&
88574 { ac_try='test -z "$ac_cxx_werror_flag"
88575 || test ! -s conftest.err'
88576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88577 (eval $ac_try) 2>&5
88578 ac_status=$?
88579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88580 (exit $ac_status); }; } &&
88581 { ac_try='test -s conftest.$ac_objext'
88582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88583 (eval $ac_try) 2>&5
88584 ac_status=$?
88585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88586 (exit $ac_status); }; }; then
88587 glibcxx_cv_func__finite_use=yes
88588 else
88589 echo "$as_me: failed program was:" >&5
88590 sed 's/^/| /' conftest.$ac_ext >&5
88592 glibcxx_cv_func__finite_use=no
88594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88595 ac_ext=c
88596 ac_cpp='$CPP $CPPFLAGS'
88597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88605 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
88606 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
88608 if test x$glibcxx_cv_func__finite_use = x"yes"; then
88610 for ac_func in _finite
88612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88613 echo "$as_me:$LINENO: checking for $ac_func" >&5
88614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88615 if eval "test \"\${$as_ac_var+set}\" = set"; then
88616 echo $ECHO_N "(cached) $ECHO_C" >&6
88617 else
88618 if test x$gcc_no_link = xyes; then
88619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88621 { (exit 1); exit 1; }; }
88623 cat >conftest.$ac_ext <<_ACEOF
88624 /* confdefs.h. */
88625 _ACEOF
88626 cat confdefs.h >>conftest.$ac_ext
88627 cat >>conftest.$ac_ext <<_ACEOF
88628 /* end confdefs.h. */
88629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88631 #define $ac_func innocuous_$ac_func
88633 /* System header to define __stub macros and hopefully few prototypes,
88634 which can conflict with char $ac_func (); below.
88635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88636 <limits.h> exists even on freestanding compilers. */
88638 #ifdef __STDC__
88639 # include <limits.h>
88640 #else
88641 # include <assert.h>
88642 #endif
88644 #undef $ac_func
88646 /* Override any gcc2 internal prototype to avoid an error. */
88647 #ifdef __cplusplus
88648 extern "C"
88650 #endif
88651 /* We use char because int might match the return type of a gcc2
88652 builtin and then its argument prototype would still apply. */
88653 char $ac_func ();
88654 /* The GNU C library defines this for functions which it implements
88655 to always fail with ENOSYS. Some functions are actually named
88656 something starting with __ and the normal name is an alias. */
88657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88658 choke me
88659 #else
88660 char (*f) () = $ac_func;
88661 #endif
88662 #ifdef __cplusplus
88664 #endif
88667 main ()
88669 return f != $ac_func;
88671 return 0;
88673 _ACEOF
88674 rm -f conftest.$ac_objext conftest$ac_exeext
88675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88676 (eval $ac_link) 2>conftest.er1
88677 ac_status=$?
88678 grep -v '^ *+' conftest.er1 >conftest.err
88679 rm -f conftest.er1
88680 cat conftest.err >&5
88681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88682 (exit $ac_status); } &&
88683 { ac_try='test -z "$ac_c_werror_flag"
88684 || test ! -s conftest.err'
88685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88686 (eval $ac_try) 2>&5
88687 ac_status=$?
88688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88689 (exit $ac_status); }; } &&
88690 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
88696 eval "$as_ac_var=yes"
88697 else
88698 echo "$as_me: failed program was:" >&5
88699 sed 's/^/| /' conftest.$ac_ext >&5
88701 eval "$as_ac_var=no"
88703 rm -f conftest.err conftest.$ac_objext \
88704 conftest$ac_exeext conftest.$ac_ext
88706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88708 if test `eval echo '${'$as_ac_var'}'` = yes; then
88709 cat >>confdefs.h <<_ACEOF
88710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88711 _ACEOF
88714 done
88724 echo "$as_me:$LINENO: checking for copysign declaration" >&5
88725 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
88726 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
88727 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
88728 echo $ECHO_N "(cached) $ECHO_C" >&6
88729 else
88733 ac_ext=cc
88734 ac_cpp='$CXXCPP $CPPFLAGS'
88735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88739 cat >conftest.$ac_ext <<_ACEOF
88740 /* confdefs.h. */
88741 _ACEOF
88742 cat confdefs.h >>conftest.$ac_ext
88743 cat >>conftest.$ac_ext <<_ACEOF
88744 /* end confdefs.h. */
88745 #include <math.h>
88747 main ()
88749 copysign(0, 0);
88751 return 0;
88753 _ACEOF
88754 rm -f conftest.$ac_objext
88755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88756 (eval $ac_compile) 2>conftest.er1
88757 ac_status=$?
88758 grep -v '^ *+' conftest.er1 >conftest.err
88759 rm -f conftest.er1
88760 cat conftest.err >&5
88761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88762 (exit $ac_status); } &&
88763 { ac_try='test -z "$ac_cxx_werror_flag"
88764 || test ! -s conftest.err'
88765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88766 (eval $ac_try) 2>&5
88767 ac_status=$?
88768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88769 (exit $ac_status); }; } &&
88770 { ac_try='test -s conftest.$ac_objext'
88771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88772 (eval $ac_try) 2>&5
88773 ac_status=$?
88774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88775 (exit $ac_status); }; }; then
88776 glibcxx_cv_func_copysign_use=yes
88777 else
88778 echo "$as_me: failed program was:" >&5
88779 sed 's/^/| /' conftest.$ac_ext >&5
88781 glibcxx_cv_func_copysign_use=no
88783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88784 ac_ext=c
88785 ac_cpp='$CPP $CPPFLAGS'
88786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88794 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
88795 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
88797 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
88799 for ac_func in copysign
88801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88802 echo "$as_me:$LINENO: checking for $ac_func" >&5
88803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88804 if eval "test \"\${$as_ac_var+set}\" = set"; then
88805 echo $ECHO_N "(cached) $ECHO_C" >&6
88806 else
88807 if test x$gcc_no_link = xyes; then
88808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88810 { (exit 1); exit 1; }; }
88812 cat >conftest.$ac_ext <<_ACEOF
88813 /* confdefs.h. */
88814 _ACEOF
88815 cat confdefs.h >>conftest.$ac_ext
88816 cat >>conftest.$ac_ext <<_ACEOF
88817 /* end confdefs.h. */
88818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88820 #define $ac_func innocuous_$ac_func
88822 /* System header to define __stub macros and hopefully few prototypes,
88823 which can conflict with char $ac_func (); below.
88824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88825 <limits.h> exists even on freestanding compilers. */
88827 #ifdef __STDC__
88828 # include <limits.h>
88829 #else
88830 # include <assert.h>
88831 #endif
88833 #undef $ac_func
88835 /* Override any gcc2 internal prototype to avoid an error. */
88836 #ifdef __cplusplus
88837 extern "C"
88839 #endif
88840 /* We use char because int might match the return type of a gcc2
88841 builtin and then its argument prototype would still apply. */
88842 char $ac_func ();
88843 /* The GNU C library defines this for functions which it implements
88844 to always fail with ENOSYS. Some functions are actually named
88845 something starting with __ and the normal name is an alias. */
88846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88847 choke me
88848 #else
88849 char (*f) () = $ac_func;
88850 #endif
88851 #ifdef __cplusplus
88853 #endif
88856 main ()
88858 return f != $ac_func;
88860 return 0;
88862 _ACEOF
88863 rm -f conftest.$ac_objext conftest$ac_exeext
88864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88865 (eval $ac_link) 2>conftest.er1
88866 ac_status=$?
88867 grep -v '^ *+' conftest.er1 >conftest.err
88868 rm -f conftest.er1
88869 cat conftest.err >&5
88870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88871 (exit $ac_status); } &&
88872 { ac_try='test -z "$ac_c_werror_flag"
88873 || test ! -s conftest.err'
88874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88875 (eval $ac_try) 2>&5
88876 ac_status=$?
88877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88878 (exit $ac_status); }; } &&
88879 { ac_try='test -s conftest$ac_exeext'
88880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88881 (eval $ac_try) 2>&5
88882 ac_status=$?
88883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88884 (exit $ac_status); }; }; then
88885 eval "$as_ac_var=yes"
88886 else
88887 echo "$as_me: failed program was:" >&5
88888 sed 's/^/| /' conftest.$ac_ext >&5
88890 eval "$as_ac_var=no"
88892 rm -f conftest.err conftest.$ac_objext \
88893 conftest$ac_exeext conftest.$ac_ext
88895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88897 if test `eval echo '${'$as_ac_var'}'` = yes; then
88898 cat >>confdefs.h <<_ACEOF
88899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88900 _ACEOF
88903 done
88905 else
88907 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
88908 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
88909 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
88910 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
88911 echo $ECHO_N "(cached) $ECHO_C" >&6
88912 else
88916 ac_ext=cc
88917 ac_cpp='$CXXCPP $CPPFLAGS'
88918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88922 cat >conftest.$ac_ext <<_ACEOF
88923 /* confdefs.h. */
88924 _ACEOF
88925 cat confdefs.h >>conftest.$ac_ext
88926 cat >>conftest.$ac_ext <<_ACEOF
88927 /* end confdefs.h. */
88928 #include <math.h>
88930 main ()
88932 _copysign(0, 0);
88934 return 0;
88936 _ACEOF
88937 rm -f conftest.$ac_objext
88938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88939 (eval $ac_compile) 2>conftest.er1
88940 ac_status=$?
88941 grep -v '^ *+' conftest.er1 >conftest.err
88942 rm -f conftest.er1
88943 cat conftest.err >&5
88944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88945 (exit $ac_status); } &&
88946 { ac_try='test -z "$ac_cxx_werror_flag"
88947 || test ! -s conftest.err'
88948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88949 (eval $ac_try) 2>&5
88950 ac_status=$?
88951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88952 (exit $ac_status); }; } &&
88953 { ac_try='test -s conftest.$ac_objext'
88954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88955 (eval $ac_try) 2>&5
88956 ac_status=$?
88957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88958 (exit $ac_status); }; }; then
88959 glibcxx_cv_func__copysign_use=yes
88960 else
88961 echo "$as_me: failed program was:" >&5
88962 sed 's/^/| /' conftest.$ac_ext >&5
88964 glibcxx_cv_func__copysign_use=no
88966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88967 ac_ext=c
88968 ac_cpp='$CPP $CPPFLAGS'
88969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88977 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
88978 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
88980 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
88982 for ac_func in _copysign
88984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88985 echo "$as_me:$LINENO: checking for $ac_func" >&5
88986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88987 if eval "test \"\${$as_ac_var+set}\" = set"; then
88988 echo $ECHO_N "(cached) $ECHO_C" >&6
88989 else
88990 if test x$gcc_no_link = xyes; then
88991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88993 { (exit 1); exit 1; }; }
88995 cat >conftest.$ac_ext <<_ACEOF
88996 /* confdefs.h. */
88997 _ACEOF
88998 cat confdefs.h >>conftest.$ac_ext
88999 cat >>conftest.$ac_ext <<_ACEOF
89000 /* end confdefs.h. */
89001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89003 #define $ac_func innocuous_$ac_func
89005 /* System header to define __stub macros and hopefully few prototypes,
89006 which can conflict with char $ac_func (); below.
89007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89008 <limits.h> exists even on freestanding compilers. */
89010 #ifdef __STDC__
89011 # include <limits.h>
89012 #else
89013 # include <assert.h>
89014 #endif
89016 #undef $ac_func
89018 /* Override any gcc2 internal prototype to avoid an error. */
89019 #ifdef __cplusplus
89020 extern "C"
89022 #endif
89023 /* We use char because int might match the return type of a gcc2
89024 builtin and then its argument prototype would still apply. */
89025 char $ac_func ();
89026 /* The GNU C library defines this for functions which it implements
89027 to always fail with ENOSYS. Some functions are actually named
89028 something starting with __ and the normal name is an alias. */
89029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89030 choke me
89031 #else
89032 char (*f) () = $ac_func;
89033 #endif
89034 #ifdef __cplusplus
89036 #endif
89039 main ()
89041 return f != $ac_func;
89043 return 0;
89045 _ACEOF
89046 rm -f conftest.$ac_objext conftest$ac_exeext
89047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89048 (eval $ac_link) 2>conftest.er1
89049 ac_status=$?
89050 grep -v '^ *+' conftest.er1 >conftest.err
89051 rm -f conftest.er1
89052 cat conftest.err >&5
89053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89054 (exit $ac_status); } &&
89055 { ac_try='test -z "$ac_c_werror_flag"
89056 || test ! -s conftest.err'
89057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89058 (eval $ac_try) 2>&5
89059 ac_status=$?
89060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89061 (exit $ac_status); }; } &&
89062 { ac_try='test -s conftest$ac_exeext'
89063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89064 (eval $ac_try) 2>&5
89065 ac_status=$?
89066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89067 (exit $ac_status); }; }; then
89068 eval "$as_ac_var=yes"
89069 else
89070 echo "$as_me: failed program was:" >&5
89071 sed 's/^/| /' conftest.$ac_ext >&5
89073 eval "$as_ac_var=no"
89075 rm -f conftest.err conftest.$ac_objext \
89076 conftest$ac_exeext conftest.$ac_ext
89078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89080 if test `eval echo '${'$as_ac_var'}'` = yes; then
89081 cat >>confdefs.h <<_ACEOF
89082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89083 _ACEOF
89086 done
89096 echo "$as_me:$LINENO: checking for sincos declaration" >&5
89097 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
89098 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
89099 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
89100 echo $ECHO_N "(cached) $ECHO_C" >&6
89101 else
89105 ac_ext=cc
89106 ac_cpp='$CXXCPP $CPPFLAGS'
89107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89111 cat >conftest.$ac_ext <<_ACEOF
89112 /* confdefs.h. */
89113 _ACEOF
89114 cat confdefs.h >>conftest.$ac_ext
89115 cat >>conftest.$ac_ext <<_ACEOF
89116 /* end confdefs.h. */
89117 #include <math.h>
89119 main ()
89121 sincos(0, 0, 0);
89123 return 0;
89125 _ACEOF
89126 rm -f conftest.$ac_objext
89127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89128 (eval $ac_compile) 2>conftest.er1
89129 ac_status=$?
89130 grep -v '^ *+' conftest.er1 >conftest.err
89131 rm -f conftest.er1
89132 cat conftest.err >&5
89133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89134 (exit $ac_status); } &&
89135 { ac_try='test -z "$ac_cxx_werror_flag"
89136 || test ! -s conftest.err'
89137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89138 (eval $ac_try) 2>&5
89139 ac_status=$?
89140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89141 (exit $ac_status); }; } &&
89142 { ac_try='test -s conftest.$ac_objext'
89143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89144 (eval $ac_try) 2>&5
89145 ac_status=$?
89146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89147 (exit $ac_status); }; }; then
89148 glibcxx_cv_func_sincos_use=yes
89149 else
89150 echo "$as_me: failed program was:" >&5
89151 sed 's/^/| /' conftest.$ac_ext >&5
89153 glibcxx_cv_func_sincos_use=no
89155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89156 ac_ext=c
89157 ac_cpp='$CPP $CPPFLAGS'
89158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89166 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
89167 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
89169 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
89171 for ac_func in sincos
89173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89174 echo "$as_me:$LINENO: checking for $ac_func" >&5
89175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89176 if eval "test \"\${$as_ac_var+set}\" = set"; then
89177 echo $ECHO_N "(cached) $ECHO_C" >&6
89178 else
89179 if test x$gcc_no_link = xyes; then
89180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89182 { (exit 1); exit 1; }; }
89184 cat >conftest.$ac_ext <<_ACEOF
89185 /* confdefs.h. */
89186 _ACEOF
89187 cat confdefs.h >>conftest.$ac_ext
89188 cat >>conftest.$ac_ext <<_ACEOF
89189 /* end confdefs.h. */
89190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89192 #define $ac_func innocuous_$ac_func
89194 /* System header to define __stub macros and hopefully few prototypes,
89195 which can conflict with char $ac_func (); below.
89196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89197 <limits.h> exists even on freestanding compilers. */
89199 #ifdef __STDC__
89200 # include <limits.h>
89201 #else
89202 # include <assert.h>
89203 #endif
89205 #undef $ac_func
89207 /* Override any gcc2 internal prototype to avoid an error. */
89208 #ifdef __cplusplus
89209 extern "C"
89211 #endif
89212 /* We use char because int might match the return type of a gcc2
89213 builtin and then its argument prototype would still apply. */
89214 char $ac_func ();
89215 /* The GNU C library defines this for functions which it implements
89216 to always fail with ENOSYS. Some functions are actually named
89217 something starting with __ and the normal name is an alias. */
89218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89219 choke me
89220 #else
89221 char (*f) () = $ac_func;
89222 #endif
89223 #ifdef __cplusplus
89225 #endif
89228 main ()
89230 return f != $ac_func;
89232 return 0;
89234 _ACEOF
89235 rm -f conftest.$ac_objext conftest$ac_exeext
89236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89237 (eval $ac_link) 2>conftest.er1
89238 ac_status=$?
89239 grep -v '^ *+' conftest.er1 >conftest.err
89240 rm -f conftest.er1
89241 cat conftest.err >&5
89242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89243 (exit $ac_status); } &&
89244 { ac_try='test -z "$ac_c_werror_flag"
89245 || test ! -s conftest.err'
89246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89247 (eval $ac_try) 2>&5
89248 ac_status=$?
89249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89250 (exit $ac_status); }; } &&
89251 { ac_try='test -s conftest$ac_exeext'
89252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89253 (eval $ac_try) 2>&5
89254 ac_status=$?
89255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89256 (exit $ac_status); }; }; then
89257 eval "$as_ac_var=yes"
89258 else
89259 echo "$as_me: failed program was:" >&5
89260 sed 's/^/| /' conftest.$ac_ext >&5
89262 eval "$as_ac_var=no"
89264 rm -f conftest.err conftest.$ac_objext \
89265 conftest$ac_exeext conftest.$ac_ext
89267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89269 if test `eval echo '${'$as_ac_var'}'` = yes; then
89270 cat >>confdefs.h <<_ACEOF
89271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89272 _ACEOF
89275 done
89277 else
89279 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
89280 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
89281 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
89282 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
89283 echo $ECHO_N "(cached) $ECHO_C" >&6
89284 else
89288 ac_ext=cc
89289 ac_cpp='$CXXCPP $CPPFLAGS'
89290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89294 cat >conftest.$ac_ext <<_ACEOF
89295 /* confdefs.h. */
89296 _ACEOF
89297 cat confdefs.h >>conftest.$ac_ext
89298 cat >>conftest.$ac_ext <<_ACEOF
89299 /* end confdefs.h. */
89300 #include <math.h>
89302 main ()
89304 _sincos(0, 0, 0);
89306 return 0;
89308 _ACEOF
89309 rm -f conftest.$ac_objext
89310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89311 (eval $ac_compile) 2>conftest.er1
89312 ac_status=$?
89313 grep -v '^ *+' conftest.er1 >conftest.err
89314 rm -f conftest.er1
89315 cat conftest.err >&5
89316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89317 (exit $ac_status); } &&
89318 { ac_try='test -z "$ac_cxx_werror_flag"
89319 || test ! -s conftest.err'
89320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89321 (eval $ac_try) 2>&5
89322 ac_status=$?
89323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89324 (exit $ac_status); }; } &&
89325 { ac_try='test -s conftest.$ac_objext'
89326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89327 (eval $ac_try) 2>&5
89328 ac_status=$?
89329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89330 (exit $ac_status); }; }; then
89331 glibcxx_cv_func__sincos_use=yes
89332 else
89333 echo "$as_me: failed program was:" >&5
89334 sed 's/^/| /' conftest.$ac_ext >&5
89336 glibcxx_cv_func__sincos_use=no
89338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89339 ac_ext=c
89340 ac_cpp='$CPP $CPPFLAGS'
89341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89349 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
89350 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
89352 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
89354 for ac_func in _sincos
89356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89357 echo "$as_me:$LINENO: checking for $ac_func" >&5
89358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89359 if eval "test \"\${$as_ac_var+set}\" = set"; then
89360 echo $ECHO_N "(cached) $ECHO_C" >&6
89361 else
89362 if test x$gcc_no_link = xyes; then
89363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89365 { (exit 1); exit 1; }; }
89367 cat >conftest.$ac_ext <<_ACEOF
89368 /* confdefs.h. */
89369 _ACEOF
89370 cat confdefs.h >>conftest.$ac_ext
89371 cat >>conftest.$ac_ext <<_ACEOF
89372 /* end confdefs.h. */
89373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89375 #define $ac_func innocuous_$ac_func
89377 /* System header to define __stub macros and hopefully few prototypes,
89378 which can conflict with char $ac_func (); below.
89379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89380 <limits.h> exists even on freestanding compilers. */
89382 #ifdef __STDC__
89383 # include <limits.h>
89384 #else
89385 # include <assert.h>
89386 #endif
89388 #undef $ac_func
89390 /* Override any gcc2 internal prototype to avoid an error. */
89391 #ifdef __cplusplus
89392 extern "C"
89394 #endif
89395 /* We use char because int might match the return type of a gcc2
89396 builtin and then its argument prototype would still apply. */
89397 char $ac_func ();
89398 /* The GNU C library defines this for functions which it implements
89399 to always fail with ENOSYS. Some functions are actually named
89400 something starting with __ and the normal name is an alias. */
89401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89402 choke me
89403 #else
89404 char (*f) () = $ac_func;
89405 #endif
89406 #ifdef __cplusplus
89408 #endif
89411 main ()
89413 return f != $ac_func;
89415 return 0;
89417 _ACEOF
89418 rm -f conftest.$ac_objext conftest$ac_exeext
89419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89420 (eval $ac_link) 2>conftest.er1
89421 ac_status=$?
89422 grep -v '^ *+' conftest.er1 >conftest.err
89423 rm -f conftest.er1
89424 cat conftest.err >&5
89425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89426 (exit $ac_status); } &&
89427 { ac_try='test -z "$ac_c_werror_flag"
89428 || test ! -s conftest.err'
89429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89430 (eval $ac_try) 2>&5
89431 ac_status=$?
89432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89433 (exit $ac_status); }; } &&
89434 { ac_try='test -s conftest$ac_exeext'
89435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89436 (eval $ac_try) 2>&5
89437 ac_status=$?
89438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89439 (exit $ac_status); }; }; then
89440 eval "$as_ac_var=yes"
89441 else
89442 echo "$as_me: failed program was:" >&5
89443 sed 's/^/| /' conftest.$ac_ext >&5
89445 eval "$as_ac_var=no"
89447 rm -f conftest.err conftest.$ac_objext \
89448 conftest$ac_exeext conftest.$ac_ext
89450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89452 if test `eval echo '${'$as_ac_var'}'` = yes; then
89453 cat >>confdefs.h <<_ACEOF
89454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89455 _ACEOF
89458 done
89468 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
89469 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
89470 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
89471 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
89472 echo $ECHO_N "(cached) $ECHO_C" >&6
89473 else
89477 ac_ext=cc
89478 ac_cpp='$CXXCPP $CPPFLAGS'
89479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89483 cat >conftest.$ac_ext <<_ACEOF
89484 /* confdefs.h. */
89485 _ACEOF
89486 cat confdefs.h >>conftest.$ac_ext
89487 cat >>conftest.$ac_ext <<_ACEOF
89488 /* end confdefs.h. */
89489 #include <math.h>
89490 #ifdef HAVE_IEEEFP_H
89491 #include <ieeefp.h>
89492 #endif
89495 main ()
89497 fpclass(0);
89499 return 0;
89501 _ACEOF
89502 rm -f conftest.$ac_objext
89503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89504 (eval $ac_compile) 2>conftest.er1
89505 ac_status=$?
89506 grep -v '^ *+' conftest.er1 >conftest.err
89507 rm -f conftest.er1
89508 cat conftest.err >&5
89509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89510 (exit $ac_status); } &&
89511 { ac_try='test -z "$ac_cxx_werror_flag"
89512 || test ! -s conftest.err'
89513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89514 (eval $ac_try) 2>&5
89515 ac_status=$?
89516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89517 (exit $ac_status); }; } &&
89518 { ac_try='test -s conftest.$ac_objext'
89519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89520 (eval $ac_try) 2>&5
89521 ac_status=$?
89522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89523 (exit $ac_status); }; }; then
89524 glibcxx_cv_func_fpclass_use=yes
89525 else
89526 echo "$as_me: failed program was:" >&5
89527 sed 's/^/| /' conftest.$ac_ext >&5
89529 glibcxx_cv_func_fpclass_use=no
89531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89532 ac_ext=c
89533 ac_cpp='$CPP $CPPFLAGS'
89534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89542 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
89543 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
89545 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
89547 for ac_func in fpclass
89549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89550 echo "$as_me:$LINENO: checking for $ac_func" >&5
89551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89552 if eval "test \"\${$as_ac_var+set}\" = set"; then
89553 echo $ECHO_N "(cached) $ECHO_C" >&6
89554 else
89555 if test x$gcc_no_link = xyes; then
89556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89558 { (exit 1); exit 1; }; }
89560 cat >conftest.$ac_ext <<_ACEOF
89561 /* confdefs.h. */
89562 _ACEOF
89563 cat confdefs.h >>conftest.$ac_ext
89564 cat >>conftest.$ac_ext <<_ACEOF
89565 /* end confdefs.h. */
89566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89568 #define $ac_func innocuous_$ac_func
89570 /* System header to define __stub macros and hopefully few prototypes,
89571 which can conflict with char $ac_func (); below.
89572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89573 <limits.h> exists even on freestanding compilers. */
89575 #ifdef __STDC__
89576 # include <limits.h>
89577 #else
89578 # include <assert.h>
89579 #endif
89581 #undef $ac_func
89583 /* Override any gcc2 internal prototype to avoid an error. */
89584 #ifdef __cplusplus
89585 extern "C"
89587 #endif
89588 /* We use char because int might match the return type of a gcc2
89589 builtin and then its argument prototype would still apply. */
89590 char $ac_func ();
89591 /* The GNU C library defines this for functions which it implements
89592 to always fail with ENOSYS. Some functions are actually named
89593 something starting with __ and the normal name is an alias. */
89594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89595 choke me
89596 #else
89597 char (*f) () = $ac_func;
89598 #endif
89599 #ifdef __cplusplus
89601 #endif
89604 main ()
89606 return f != $ac_func;
89608 return 0;
89610 _ACEOF
89611 rm -f conftest.$ac_objext conftest$ac_exeext
89612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89613 (eval $ac_link) 2>conftest.er1
89614 ac_status=$?
89615 grep -v '^ *+' conftest.er1 >conftest.err
89616 rm -f conftest.er1
89617 cat conftest.err >&5
89618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89619 (exit $ac_status); } &&
89620 { ac_try='test -z "$ac_c_werror_flag"
89621 || test ! -s conftest.err'
89622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89623 (eval $ac_try) 2>&5
89624 ac_status=$?
89625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89626 (exit $ac_status); }; } &&
89627 { ac_try='test -s conftest$ac_exeext'
89628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89629 (eval $ac_try) 2>&5
89630 ac_status=$?
89631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89632 (exit $ac_status); }; }; then
89633 eval "$as_ac_var=yes"
89634 else
89635 echo "$as_me: failed program was:" >&5
89636 sed 's/^/| /' conftest.$ac_ext >&5
89638 eval "$as_ac_var=no"
89640 rm -f conftest.err conftest.$ac_objext \
89641 conftest$ac_exeext conftest.$ac_ext
89643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89645 if test `eval echo '${'$as_ac_var'}'` = yes; then
89646 cat >>confdefs.h <<_ACEOF
89647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89648 _ACEOF
89651 done
89653 else
89655 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
89656 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
89657 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
89658 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
89659 echo $ECHO_N "(cached) $ECHO_C" >&6
89660 else
89664 ac_ext=cc
89665 ac_cpp='$CXXCPP $CPPFLAGS'
89666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89670 cat >conftest.$ac_ext <<_ACEOF
89671 /* confdefs.h. */
89672 _ACEOF
89673 cat confdefs.h >>conftest.$ac_ext
89674 cat >>conftest.$ac_ext <<_ACEOF
89675 /* end confdefs.h. */
89676 #include <math.h>
89677 #ifdef HAVE_IEEEFP_H
89678 #include <ieeefp.h>
89679 #endif
89682 main ()
89684 _fpclass(0);
89686 return 0;
89688 _ACEOF
89689 rm -f conftest.$ac_objext
89690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89691 (eval $ac_compile) 2>conftest.er1
89692 ac_status=$?
89693 grep -v '^ *+' conftest.er1 >conftest.err
89694 rm -f conftest.er1
89695 cat conftest.err >&5
89696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89697 (exit $ac_status); } &&
89698 { ac_try='test -z "$ac_cxx_werror_flag"
89699 || test ! -s conftest.err'
89700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89701 (eval $ac_try) 2>&5
89702 ac_status=$?
89703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89704 (exit $ac_status); }; } &&
89705 { ac_try='test -s conftest.$ac_objext'
89706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89707 (eval $ac_try) 2>&5
89708 ac_status=$?
89709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89710 (exit $ac_status); }; }; then
89711 glibcxx_cv_func__fpclass_use=yes
89712 else
89713 echo "$as_me: failed program was:" >&5
89714 sed 's/^/| /' conftest.$ac_ext >&5
89716 glibcxx_cv_func__fpclass_use=no
89718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89719 ac_ext=c
89720 ac_cpp='$CPP $CPPFLAGS'
89721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89729 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
89730 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
89732 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
89734 for ac_func in _fpclass
89736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89737 echo "$as_me:$LINENO: checking for $ac_func" >&5
89738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89739 if eval "test \"\${$as_ac_var+set}\" = set"; then
89740 echo $ECHO_N "(cached) $ECHO_C" >&6
89741 else
89742 if test x$gcc_no_link = xyes; then
89743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89745 { (exit 1); exit 1; }; }
89747 cat >conftest.$ac_ext <<_ACEOF
89748 /* confdefs.h. */
89749 _ACEOF
89750 cat confdefs.h >>conftest.$ac_ext
89751 cat >>conftest.$ac_ext <<_ACEOF
89752 /* end confdefs.h. */
89753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89755 #define $ac_func innocuous_$ac_func
89757 /* System header to define __stub macros and hopefully few prototypes,
89758 which can conflict with char $ac_func (); below.
89759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89760 <limits.h> exists even on freestanding compilers. */
89762 #ifdef __STDC__
89763 # include <limits.h>
89764 #else
89765 # include <assert.h>
89766 #endif
89768 #undef $ac_func
89770 /* Override any gcc2 internal prototype to avoid an error. */
89771 #ifdef __cplusplus
89772 extern "C"
89774 #endif
89775 /* We use char because int might match the return type of a gcc2
89776 builtin and then its argument prototype would still apply. */
89777 char $ac_func ();
89778 /* The GNU C library defines this for functions which it implements
89779 to always fail with ENOSYS. Some functions are actually named
89780 something starting with __ and the normal name is an alias. */
89781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89782 choke me
89783 #else
89784 char (*f) () = $ac_func;
89785 #endif
89786 #ifdef __cplusplus
89788 #endif
89791 main ()
89793 return f != $ac_func;
89795 return 0;
89797 _ACEOF
89798 rm -f conftest.$ac_objext conftest$ac_exeext
89799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89800 (eval $ac_link) 2>conftest.er1
89801 ac_status=$?
89802 grep -v '^ *+' conftest.er1 >conftest.err
89803 rm -f conftest.er1
89804 cat conftest.err >&5
89805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89806 (exit $ac_status); } &&
89807 { ac_try='test -z "$ac_c_werror_flag"
89808 || test ! -s conftest.err'
89809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89810 (eval $ac_try) 2>&5
89811 ac_status=$?
89812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89813 (exit $ac_status); }; } &&
89814 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
89820 eval "$as_ac_var=yes"
89821 else
89822 echo "$as_me: failed program was:" >&5
89823 sed 's/^/| /' conftest.$ac_ext >&5
89825 eval "$as_ac_var=no"
89827 rm -f conftest.err conftest.$ac_objext \
89828 conftest$ac_exeext conftest.$ac_ext
89830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89832 if test `eval echo '${'$as_ac_var'}'` = yes; then
89833 cat >>confdefs.h <<_ACEOF
89834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89835 _ACEOF
89838 done
89848 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
89849 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
89850 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
89851 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
89852 echo $ECHO_N "(cached) $ECHO_C" >&6
89853 else
89857 ac_ext=cc
89858 ac_cpp='$CXXCPP $CPPFLAGS'
89859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89863 cat >conftest.$ac_ext <<_ACEOF
89864 /* confdefs.h. */
89865 _ACEOF
89866 cat confdefs.h >>conftest.$ac_ext
89867 cat >>conftest.$ac_ext <<_ACEOF
89868 /* end confdefs.h. */
89869 #include <math.h>
89870 #ifdef HAVE_IEEEFP_H
89871 #include <ieeefp.h>
89872 #endif
89875 main ()
89877 qfpclass(0);
89879 return 0;
89881 _ACEOF
89882 rm -f conftest.$ac_objext
89883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89884 (eval $ac_compile) 2>conftest.er1
89885 ac_status=$?
89886 grep -v '^ *+' conftest.er1 >conftest.err
89887 rm -f conftest.er1
89888 cat conftest.err >&5
89889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89890 (exit $ac_status); } &&
89891 { ac_try='test -z "$ac_cxx_werror_flag"
89892 || test ! -s conftest.err'
89893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89894 (eval $ac_try) 2>&5
89895 ac_status=$?
89896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89897 (exit $ac_status); }; } &&
89898 { ac_try='test -s conftest.$ac_objext'
89899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89900 (eval $ac_try) 2>&5
89901 ac_status=$?
89902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89903 (exit $ac_status); }; }; then
89904 glibcxx_cv_func_qfpclass_use=yes
89905 else
89906 echo "$as_me: failed program was:" >&5
89907 sed 's/^/| /' conftest.$ac_ext >&5
89909 glibcxx_cv_func_qfpclass_use=no
89911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89912 ac_ext=c
89913 ac_cpp='$CPP $CPPFLAGS'
89914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89922 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
89923 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
89925 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
89927 for ac_func in qfpclass
89929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89930 echo "$as_me:$LINENO: checking for $ac_func" >&5
89931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89932 if eval "test \"\${$as_ac_var+set}\" = set"; then
89933 echo $ECHO_N "(cached) $ECHO_C" >&6
89934 else
89935 if test x$gcc_no_link = xyes; then
89936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89938 { (exit 1); exit 1; }; }
89940 cat >conftest.$ac_ext <<_ACEOF
89941 /* confdefs.h. */
89942 _ACEOF
89943 cat confdefs.h >>conftest.$ac_ext
89944 cat >>conftest.$ac_ext <<_ACEOF
89945 /* end confdefs.h. */
89946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89948 #define $ac_func innocuous_$ac_func
89950 /* System header to define __stub macros and hopefully few prototypes,
89951 which can conflict with char $ac_func (); below.
89952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89953 <limits.h> exists even on freestanding compilers. */
89955 #ifdef __STDC__
89956 # include <limits.h>
89957 #else
89958 # include <assert.h>
89959 #endif
89961 #undef $ac_func
89963 /* Override any gcc2 internal prototype to avoid an error. */
89964 #ifdef __cplusplus
89965 extern "C"
89967 #endif
89968 /* We use char because int might match the return type of a gcc2
89969 builtin and then its argument prototype would still apply. */
89970 char $ac_func ();
89971 /* The GNU C library defines this for functions which it implements
89972 to always fail with ENOSYS. Some functions are actually named
89973 something starting with __ and the normal name is an alias. */
89974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89975 choke me
89976 #else
89977 char (*f) () = $ac_func;
89978 #endif
89979 #ifdef __cplusplus
89981 #endif
89984 main ()
89986 return f != $ac_func;
89988 return 0;
89990 _ACEOF
89991 rm -f conftest.$ac_objext conftest$ac_exeext
89992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89993 (eval $ac_link) 2>conftest.er1
89994 ac_status=$?
89995 grep -v '^ *+' conftest.er1 >conftest.err
89996 rm -f conftest.er1
89997 cat conftest.err >&5
89998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89999 (exit $ac_status); } &&
90000 { ac_try='test -z "$ac_c_werror_flag"
90001 || test ! -s conftest.err'
90002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90003 (eval $ac_try) 2>&5
90004 ac_status=$?
90005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90006 (exit $ac_status); }; } &&
90007 { ac_try='test -s conftest$ac_exeext'
90008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90009 (eval $ac_try) 2>&5
90010 ac_status=$?
90011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90012 (exit $ac_status); }; }; then
90013 eval "$as_ac_var=yes"
90014 else
90015 echo "$as_me: failed program was:" >&5
90016 sed 's/^/| /' conftest.$ac_ext >&5
90018 eval "$as_ac_var=no"
90020 rm -f conftest.err conftest.$ac_objext \
90021 conftest$ac_exeext conftest.$ac_ext
90023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90025 if test `eval echo '${'$as_ac_var'}'` = yes; then
90026 cat >>confdefs.h <<_ACEOF
90027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90028 _ACEOF
90031 done
90033 else
90035 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
90036 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
90037 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
90038 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
90039 echo $ECHO_N "(cached) $ECHO_C" >&6
90040 else
90044 ac_ext=cc
90045 ac_cpp='$CXXCPP $CPPFLAGS'
90046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90050 cat >conftest.$ac_ext <<_ACEOF
90051 /* confdefs.h. */
90052 _ACEOF
90053 cat confdefs.h >>conftest.$ac_ext
90054 cat >>conftest.$ac_ext <<_ACEOF
90055 /* end confdefs.h. */
90056 #include <math.h>
90057 #ifdef HAVE_IEEEFP_H
90058 #include <ieeefp.h>
90059 #endif
90062 main ()
90064 _qfpclass(0);
90066 return 0;
90068 _ACEOF
90069 rm -f conftest.$ac_objext
90070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90071 (eval $ac_compile) 2>conftest.er1
90072 ac_status=$?
90073 grep -v '^ *+' conftest.er1 >conftest.err
90074 rm -f conftest.er1
90075 cat conftest.err >&5
90076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90077 (exit $ac_status); } &&
90078 { ac_try='test -z "$ac_cxx_werror_flag"
90079 || test ! -s conftest.err'
90080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90081 (eval $ac_try) 2>&5
90082 ac_status=$?
90083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90084 (exit $ac_status); }; } &&
90085 { ac_try='test -s conftest.$ac_objext'
90086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90087 (eval $ac_try) 2>&5
90088 ac_status=$?
90089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90090 (exit $ac_status); }; }; then
90091 glibcxx_cv_func__qfpclass_use=yes
90092 else
90093 echo "$as_me: failed program was:" >&5
90094 sed 's/^/| /' conftest.$ac_ext >&5
90096 glibcxx_cv_func__qfpclass_use=no
90098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90099 ac_ext=c
90100 ac_cpp='$CPP $CPPFLAGS'
90101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90109 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
90110 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
90112 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
90114 for ac_func in _qfpclass
90116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90117 echo "$as_me:$LINENO: checking for $ac_func" >&5
90118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90119 if eval "test \"\${$as_ac_var+set}\" = set"; then
90120 echo $ECHO_N "(cached) $ECHO_C" >&6
90121 else
90122 if test x$gcc_no_link = xyes; then
90123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90125 { (exit 1); exit 1; }; }
90127 cat >conftest.$ac_ext <<_ACEOF
90128 /* confdefs.h. */
90129 _ACEOF
90130 cat confdefs.h >>conftest.$ac_ext
90131 cat >>conftest.$ac_ext <<_ACEOF
90132 /* end confdefs.h. */
90133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90135 #define $ac_func innocuous_$ac_func
90137 /* System header to define __stub macros and hopefully few prototypes,
90138 which can conflict with char $ac_func (); below.
90139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90140 <limits.h> exists even on freestanding compilers. */
90142 #ifdef __STDC__
90143 # include <limits.h>
90144 #else
90145 # include <assert.h>
90146 #endif
90148 #undef $ac_func
90150 /* Override any gcc2 internal prototype to avoid an error. */
90151 #ifdef __cplusplus
90152 extern "C"
90154 #endif
90155 /* We use char because int might match the return type of a gcc2
90156 builtin and then its argument prototype would still apply. */
90157 char $ac_func ();
90158 /* The GNU C library defines this for functions which it implements
90159 to always fail with ENOSYS. Some functions are actually named
90160 something starting with __ and the normal name is an alias. */
90161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90162 choke me
90163 #else
90164 char (*f) () = $ac_func;
90165 #endif
90166 #ifdef __cplusplus
90168 #endif
90171 main ()
90173 return f != $ac_func;
90175 return 0;
90177 _ACEOF
90178 rm -f conftest.$ac_objext conftest$ac_exeext
90179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90180 (eval $ac_link) 2>conftest.er1
90181 ac_status=$?
90182 grep -v '^ *+' conftest.er1 >conftest.err
90183 rm -f conftest.er1
90184 cat conftest.err >&5
90185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90186 (exit $ac_status); } &&
90187 { ac_try='test -z "$ac_c_werror_flag"
90188 || test ! -s conftest.err'
90189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90190 (eval $ac_try) 2>&5
90191 ac_status=$?
90192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90193 (exit $ac_status); }; } &&
90194 { ac_try='test -s conftest$ac_exeext'
90195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90196 (eval $ac_try) 2>&5
90197 ac_status=$?
90198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90199 (exit $ac_status); }; }; then
90200 eval "$as_ac_var=yes"
90201 else
90202 echo "$as_me: failed program was:" >&5
90203 sed 's/^/| /' conftest.$ac_ext >&5
90205 eval "$as_ac_var=no"
90207 rm -f conftest.err conftest.$ac_objext \
90208 conftest$ac_exeext conftest.$ac_ext
90210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90212 if test `eval echo '${'$as_ac_var'}'` = yes; then
90213 cat >>confdefs.h <<_ACEOF
90214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90215 _ACEOF
90218 done
90228 echo "$as_me:$LINENO: checking for hypot declaration" >&5
90229 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
90230 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
90231 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
90232 echo $ECHO_N "(cached) $ECHO_C" >&6
90233 else
90237 ac_ext=cc
90238 ac_cpp='$CXXCPP $CPPFLAGS'
90239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90243 cat >conftest.$ac_ext <<_ACEOF
90244 /* confdefs.h. */
90245 _ACEOF
90246 cat confdefs.h >>conftest.$ac_ext
90247 cat >>conftest.$ac_ext <<_ACEOF
90248 /* end confdefs.h. */
90249 #include <math.h>
90251 main ()
90253 hypot(0, 0);
90255 return 0;
90257 _ACEOF
90258 rm -f conftest.$ac_objext
90259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90260 (eval $ac_compile) 2>conftest.er1
90261 ac_status=$?
90262 grep -v '^ *+' conftest.er1 >conftest.err
90263 rm -f conftest.er1
90264 cat conftest.err >&5
90265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90266 (exit $ac_status); } &&
90267 { ac_try='test -z "$ac_cxx_werror_flag"
90268 || test ! -s conftest.err'
90269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90270 (eval $ac_try) 2>&5
90271 ac_status=$?
90272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90273 (exit $ac_status); }; } &&
90274 { ac_try='test -s conftest.$ac_objext'
90275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90276 (eval $ac_try) 2>&5
90277 ac_status=$?
90278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90279 (exit $ac_status); }; }; then
90280 glibcxx_cv_func_hypot_use=yes
90281 else
90282 echo "$as_me: failed program was:" >&5
90283 sed 's/^/| /' conftest.$ac_ext >&5
90285 glibcxx_cv_func_hypot_use=no
90287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90288 ac_ext=c
90289 ac_cpp='$CPP $CPPFLAGS'
90290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90298 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
90299 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
90301 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
90303 for ac_func in hypot
90305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90306 echo "$as_me:$LINENO: checking for $ac_func" >&5
90307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90308 if eval "test \"\${$as_ac_var+set}\" = set"; then
90309 echo $ECHO_N "(cached) $ECHO_C" >&6
90310 else
90311 if test x$gcc_no_link = xyes; then
90312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90314 { (exit 1); exit 1; }; }
90316 cat >conftest.$ac_ext <<_ACEOF
90317 /* confdefs.h. */
90318 _ACEOF
90319 cat confdefs.h >>conftest.$ac_ext
90320 cat >>conftest.$ac_ext <<_ACEOF
90321 /* end confdefs.h. */
90322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90324 #define $ac_func innocuous_$ac_func
90326 /* System header to define __stub macros and hopefully few prototypes,
90327 which can conflict with char $ac_func (); below.
90328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90329 <limits.h> exists even on freestanding compilers. */
90331 #ifdef __STDC__
90332 # include <limits.h>
90333 #else
90334 # include <assert.h>
90335 #endif
90337 #undef $ac_func
90339 /* Override any gcc2 internal prototype to avoid an error. */
90340 #ifdef __cplusplus
90341 extern "C"
90343 #endif
90344 /* We use char because int might match the return type of a gcc2
90345 builtin and then its argument prototype would still apply. */
90346 char $ac_func ();
90347 /* The GNU C library defines this for functions which it implements
90348 to always fail with ENOSYS. Some functions are actually named
90349 something starting with __ and the normal name is an alias. */
90350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90351 choke me
90352 #else
90353 char (*f) () = $ac_func;
90354 #endif
90355 #ifdef __cplusplus
90357 #endif
90360 main ()
90362 return f != $ac_func;
90364 return 0;
90366 _ACEOF
90367 rm -f conftest.$ac_objext conftest$ac_exeext
90368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90369 (eval $ac_link) 2>conftest.er1
90370 ac_status=$?
90371 grep -v '^ *+' conftest.er1 >conftest.err
90372 rm -f conftest.er1
90373 cat conftest.err >&5
90374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90375 (exit $ac_status); } &&
90376 { ac_try='test -z "$ac_c_werror_flag"
90377 || test ! -s conftest.err'
90378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90379 (eval $ac_try) 2>&5
90380 ac_status=$?
90381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90382 (exit $ac_status); }; } &&
90383 { ac_try='test -s conftest$ac_exeext'
90384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90385 (eval $ac_try) 2>&5
90386 ac_status=$?
90387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90388 (exit $ac_status); }; }; then
90389 eval "$as_ac_var=yes"
90390 else
90391 echo "$as_me: failed program was:" >&5
90392 sed 's/^/| /' conftest.$ac_ext >&5
90394 eval "$as_ac_var=no"
90396 rm -f conftest.err conftest.$ac_objext \
90397 conftest$ac_exeext conftest.$ac_ext
90399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90401 if test `eval echo '${'$as_ac_var'}'` = yes; then
90402 cat >>confdefs.h <<_ACEOF
90403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90404 _ACEOF
90407 done
90409 else
90411 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
90412 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
90413 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
90414 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
90415 echo $ECHO_N "(cached) $ECHO_C" >&6
90416 else
90420 ac_ext=cc
90421 ac_cpp='$CXXCPP $CPPFLAGS'
90422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90426 cat >conftest.$ac_ext <<_ACEOF
90427 /* confdefs.h. */
90428 _ACEOF
90429 cat confdefs.h >>conftest.$ac_ext
90430 cat >>conftest.$ac_ext <<_ACEOF
90431 /* end confdefs.h. */
90432 #include <math.h>
90434 main ()
90436 _hypot(0, 0);
90438 return 0;
90440 _ACEOF
90441 rm -f conftest.$ac_objext
90442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90443 (eval $ac_compile) 2>conftest.er1
90444 ac_status=$?
90445 grep -v '^ *+' conftest.er1 >conftest.err
90446 rm -f conftest.er1
90447 cat conftest.err >&5
90448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90449 (exit $ac_status); } &&
90450 { ac_try='test -z "$ac_cxx_werror_flag"
90451 || test ! -s conftest.err'
90452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90453 (eval $ac_try) 2>&5
90454 ac_status=$?
90455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90456 (exit $ac_status); }; } &&
90457 { ac_try='test -s conftest.$ac_objext'
90458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90459 (eval $ac_try) 2>&5
90460 ac_status=$?
90461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90462 (exit $ac_status); }; }; then
90463 glibcxx_cv_func__hypot_use=yes
90464 else
90465 echo "$as_me: failed program was:" >&5
90466 sed 's/^/| /' conftest.$ac_ext >&5
90468 glibcxx_cv_func__hypot_use=no
90470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90471 ac_ext=c
90472 ac_cpp='$CPP $CPPFLAGS'
90473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90481 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
90482 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
90484 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
90486 for ac_func in _hypot
90488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90489 echo "$as_me:$LINENO: checking for $ac_func" >&5
90490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90491 if eval "test \"\${$as_ac_var+set}\" = set"; then
90492 echo $ECHO_N "(cached) $ECHO_C" >&6
90493 else
90494 if test x$gcc_no_link = xyes; then
90495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90497 { (exit 1); exit 1; }; }
90499 cat >conftest.$ac_ext <<_ACEOF
90500 /* confdefs.h. */
90501 _ACEOF
90502 cat confdefs.h >>conftest.$ac_ext
90503 cat >>conftest.$ac_ext <<_ACEOF
90504 /* end confdefs.h. */
90505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90507 #define $ac_func innocuous_$ac_func
90509 /* System header to define __stub macros and hopefully few prototypes,
90510 which can conflict with char $ac_func (); below.
90511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90512 <limits.h> exists even on freestanding compilers. */
90514 #ifdef __STDC__
90515 # include <limits.h>
90516 #else
90517 # include <assert.h>
90518 #endif
90520 #undef $ac_func
90522 /* Override any gcc2 internal prototype to avoid an error. */
90523 #ifdef __cplusplus
90524 extern "C"
90526 #endif
90527 /* We use char because int might match the return type of a gcc2
90528 builtin and then its argument prototype would still apply. */
90529 char $ac_func ();
90530 /* The GNU C library defines this for functions which it implements
90531 to always fail with ENOSYS. Some functions are actually named
90532 something starting with __ and the normal name is an alias. */
90533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90534 choke me
90535 #else
90536 char (*f) () = $ac_func;
90537 #endif
90538 #ifdef __cplusplus
90540 #endif
90543 main ()
90545 return f != $ac_func;
90547 return 0;
90549 _ACEOF
90550 rm -f conftest.$ac_objext conftest$ac_exeext
90551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90552 (eval $ac_link) 2>conftest.er1
90553 ac_status=$?
90554 grep -v '^ *+' conftest.er1 >conftest.err
90555 rm -f conftest.er1
90556 cat conftest.err >&5
90557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90558 (exit $ac_status); } &&
90559 { ac_try='test -z "$ac_c_werror_flag"
90560 || test ! -s conftest.err'
90561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90562 (eval $ac_try) 2>&5
90563 ac_status=$?
90564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90565 (exit $ac_status); }; } &&
90566 { ac_try='test -s conftest$ac_exeext'
90567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90568 (eval $ac_try) 2>&5
90569 ac_status=$?
90570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90571 (exit $ac_status); }; }; then
90572 eval "$as_ac_var=yes"
90573 else
90574 echo "$as_me: failed program was:" >&5
90575 sed 's/^/| /' conftest.$ac_ext >&5
90577 eval "$as_ac_var=no"
90579 rm -f conftest.err conftest.$ac_objext \
90580 conftest$ac_exeext conftest.$ac_ext
90582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90584 if test `eval echo '${'$as_ac_var'}'` = yes; then
90585 cat >>confdefs.h <<_ACEOF
90586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90587 _ACEOF
90590 done
90600 echo "$as_me:$LINENO: checking for float trig functions" >&5
90601 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
90602 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
90603 echo $ECHO_N "(cached) $ECHO_C" >&6
90604 else
90608 ac_ext=cc
90609 ac_cpp='$CXXCPP $CPPFLAGS'
90610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90614 cat >conftest.$ac_ext <<_ACEOF
90615 /* confdefs.h. */
90616 _ACEOF
90617 cat confdefs.h >>conftest.$ac_ext
90618 cat >>conftest.$ac_ext <<_ACEOF
90619 /* end confdefs.h. */
90620 #include <math.h>
90622 main ()
90624 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
90626 return 0;
90628 _ACEOF
90629 rm -f conftest.$ac_objext
90630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90631 (eval $ac_compile) 2>conftest.er1
90632 ac_status=$?
90633 grep -v '^ *+' conftest.er1 >conftest.err
90634 rm -f conftest.er1
90635 cat conftest.err >&5
90636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90637 (exit $ac_status); } &&
90638 { ac_try='test -z "$ac_cxx_werror_flag"
90639 || test ! -s conftest.err'
90640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90641 (eval $ac_try) 2>&5
90642 ac_status=$?
90643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90644 (exit $ac_status); }; } &&
90645 { ac_try='test -s conftest.$ac_objext'
90646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90647 (eval $ac_try) 2>&5
90648 ac_status=$?
90649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90650 (exit $ac_status); }; }; then
90651 glibcxx_cv_func_float_trig_use=yes
90652 else
90653 echo "$as_me: failed program was:" >&5
90654 sed 's/^/| /' conftest.$ac_ext >&5
90656 glibcxx_cv_func_float_trig_use=no
90658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90659 ac_ext=c
90660 ac_cpp='$CPP $CPPFLAGS'
90661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90667 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
90668 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
90669 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
90679 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
90681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90682 echo "$as_me:$LINENO: checking for $ac_func" >&5
90683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90684 if eval "test \"\${$as_ac_var+set}\" = set"; then
90685 echo $ECHO_N "(cached) $ECHO_C" >&6
90686 else
90687 if test x$gcc_no_link = xyes; then
90688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90690 { (exit 1); exit 1; }; }
90692 cat >conftest.$ac_ext <<_ACEOF
90693 /* confdefs.h. */
90694 _ACEOF
90695 cat confdefs.h >>conftest.$ac_ext
90696 cat >>conftest.$ac_ext <<_ACEOF
90697 /* end confdefs.h. */
90698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90700 #define $ac_func innocuous_$ac_func
90702 /* System header to define __stub macros and hopefully few prototypes,
90703 which can conflict with char $ac_func (); below.
90704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90705 <limits.h> exists even on freestanding compilers. */
90707 #ifdef __STDC__
90708 # include <limits.h>
90709 #else
90710 # include <assert.h>
90711 #endif
90713 #undef $ac_func
90715 /* Override any gcc2 internal prototype to avoid an error. */
90716 #ifdef __cplusplus
90717 extern "C"
90719 #endif
90720 /* We use char because int might match the return type of a gcc2
90721 builtin and then its argument prototype would still apply. */
90722 char $ac_func ();
90723 /* The GNU C library defines this for functions which it implements
90724 to always fail with ENOSYS. Some functions are actually named
90725 something starting with __ and the normal name is an alias. */
90726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90727 choke me
90728 #else
90729 char (*f) () = $ac_func;
90730 #endif
90731 #ifdef __cplusplus
90733 #endif
90736 main ()
90738 return f != $ac_func;
90740 return 0;
90742 _ACEOF
90743 rm -f conftest.$ac_objext conftest$ac_exeext
90744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90745 (eval $ac_link) 2>conftest.er1
90746 ac_status=$?
90747 grep -v '^ *+' conftest.er1 >conftest.err
90748 rm -f conftest.er1
90749 cat conftest.err >&5
90750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90751 (exit $ac_status); } &&
90752 { ac_try='test -z "$ac_c_werror_flag"
90753 || test ! -s conftest.err'
90754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90755 (eval $ac_try) 2>&5
90756 ac_status=$?
90757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90758 (exit $ac_status); }; } &&
90759 { ac_try='test -s conftest$ac_exeext'
90760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90761 (eval $ac_try) 2>&5
90762 ac_status=$?
90763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90764 (exit $ac_status); }; }; then
90765 eval "$as_ac_var=yes"
90766 else
90767 echo "$as_me: failed program was:" >&5
90768 sed 's/^/| /' conftest.$ac_ext >&5
90770 eval "$as_ac_var=no"
90772 rm -f conftest.err conftest.$ac_objext \
90773 conftest$ac_exeext conftest.$ac_ext
90775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90777 if test `eval echo '${'$as_ac_var'}'` = yes; then
90778 cat >>confdefs.h <<_ACEOF
90779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90780 _ACEOF
90783 done
90785 else
90786 echo "$as_me:$LINENO: checking for _float trig functions" >&5
90787 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
90788 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
90789 echo $ECHO_N "(cached) $ECHO_C" >&6
90790 else
90794 ac_ext=cc
90795 ac_cpp='$CXXCPP $CPPFLAGS'
90796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90800 cat >conftest.$ac_ext <<_ACEOF
90801 /* confdefs.h. */
90802 _ACEOF
90803 cat confdefs.h >>conftest.$ac_ext
90804 cat >>conftest.$ac_ext <<_ACEOF
90805 /* end confdefs.h. */
90806 #include <math.h>
90808 main ()
90810 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
90812 return 0;
90814 _ACEOF
90815 rm -f conftest.$ac_objext
90816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90817 (eval $ac_compile) 2>conftest.er1
90818 ac_status=$?
90819 grep -v '^ *+' conftest.er1 >conftest.err
90820 rm -f conftest.er1
90821 cat conftest.err >&5
90822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90823 (exit $ac_status); } &&
90824 { ac_try='test -z "$ac_cxx_werror_flag"
90825 || test ! -s conftest.err'
90826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90827 (eval $ac_try) 2>&5
90828 ac_status=$?
90829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90830 (exit $ac_status); }; } &&
90831 { ac_try='test -s conftest.$ac_objext'
90832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90833 (eval $ac_try) 2>&5
90834 ac_status=$?
90835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90836 (exit $ac_status); }; }; then
90837 glibcxx_cv_func__float_trig_use=yes
90838 else
90839 echo "$as_me: failed program was:" >&5
90840 sed 's/^/| /' conftest.$ac_ext >&5
90842 glibcxx_cv_func__float_trig_use=no
90844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90845 ac_ext=c
90846 ac_cpp='$CPP $CPPFLAGS'
90847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90853 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
90854 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
90855 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
90865 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
90867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90868 echo "$as_me:$LINENO: checking for $ac_func" >&5
90869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90870 if eval "test \"\${$as_ac_var+set}\" = set"; then
90871 echo $ECHO_N "(cached) $ECHO_C" >&6
90872 else
90873 if test x$gcc_no_link = xyes; then
90874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90876 { (exit 1); exit 1; }; }
90878 cat >conftest.$ac_ext <<_ACEOF
90879 /* confdefs.h. */
90880 _ACEOF
90881 cat confdefs.h >>conftest.$ac_ext
90882 cat >>conftest.$ac_ext <<_ACEOF
90883 /* end confdefs.h. */
90884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90886 #define $ac_func innocuous_$ac_func
90888 /* System header to define __stub macros and hopefully few prototypes,
90889 which can conflict with char $ac_func (); below.
90890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90891 <limits.h> exists even on freestanding compilers. */
90893 #ifdef __STDC__
90894 # include <limits.h>
90895 #else
90896 # include <assert.h>
90897 #endif
90899 #undef $ac_func
90901 /* Override any gcc2 internal prototype to avoid an error. */
90902 #ifdef __cplusplus
90903 extern "C"
90905 #endif
90906 /* We use char because int might match the return type of a gcc2
90907 builtin and then its argument prototype would still apply. */
90908 char $ac_func ();
90909 /* The GNU C library defines this for functions which it implements
90910 to always fail with ENOSYS. Some functions are actually named
90911 something starting with __ and the normal name is an alias. */
90912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90913 choke me
90914 #else
90915 char (*f) () = $ac_func;
90916 #endif
90917 #ifdef __cplusplus
90919 #endif
90922 main ()
90924 return f != $ac_func;
90926 return 0;
90928 _ACEOF
90929 rm -f conftest.$ac_objext conftest$ac_exeext
90930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90931 (eval $ac_link) 2>conftest.er1
90932 ac_status=$?
90933 grep -v '^ *+' conftest.er1 >conftest.err
90934 rm -f conftest.er1
90935 cat conftest.err >&5
90936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90937 (exit $ac_status); } &&
90938 { ac_try='test -z "$ac_c_werror_flag"
90939 || test ! -s conftest.err'
90940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90941 (eval $ac_try) 2>&5
90942 ac_status=$?
90943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90944 (exit $ac_status); }; } &&
90945 { ac_try='test -s conftest$ac_exeext'
90946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90947 (eval $ac_try) 2>&5
90948 ac_status=$?
90949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90950 (exit $ac_status); }; }; then
90951 eval "$as_ac_var=yes"
90952 else
90953 echo "$as_me: failed program was:" >&5
90954 sed 's/^/| /' conftest.$ac_ext >&5
90956 eval "$as_ac_var=no"
90958 rm -f conftest.err conftest.$ac_objext \
90959 conftest$ac_exeext conftest.$ac_ext
90961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90963 if test `eval echo '${'$as_ac_var'}'` = yes; then
90964 cat >>confdefs.h <<_ACEOF
90965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90966 _ACEOF
90969 done
90987 echo "$as_me:$LINENO: checking for float round functions" >&5
90988 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
90989 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
90990 echo $ECHO_N "(cached) $ECHO_C" >&6
90991 else
90995 ac_ext=cc
90996 ac_cpp='$CXXCPP $CPPFLAGS'
90997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91001 cat >conftest.$ac_ext <<_ACEOF
91002 /* confdefs.h. */
91003 _ACEOF
91004 cat confdefs.h >>conftest.$ac_ext
91005 cat >>conftest.$ac_ext <<_ACEOF
91006 /* end confdefs.h. */
91007 #include <math.h>
91009 main ()
91011 ceilf (0); floorf (0);
91013 return 0;
91015 _ACEOF
91016 rm -f conftest.$ac_objext
91017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91018 (eval $ac_compile) 2>conftest.er1
91019 ac_status=$?
91020 grep -v '^ *+' conftest.er1 >conftest.err
91021 rm -f conftest.er1
91022 cat conftest.err >&5
91023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91024 (exit $ac_status); } &&
91025 { ac_try='test -z "$ac_cxx_werror_flag"
91026 || test ! -s conftest.err'
91027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91028 (eval $ac_try) 2>&5
91029 ac_status=$?
91030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91031 (exit $ac_status); }; } &&
91032 { ac_try='test -s conftest.$ac_objext'
91033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91034 (eval $ac_try) 2>&5
91035 ac_status=$?
91036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91037 (exit $ac_status); }; }; then
91038 glibcxx_cv_func_float_round_use=yes
91039 else
91040 echo "$as_me: failed program was:" >&5
91041 sed 's/^/| /' conftest.$ac_ext >&5
91043 glibcxx_cv_func_float_round_use=no
91045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91046 ac_ext=c
91047 ac_cpp='$CPP $CPPFLAGS'
91048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91054 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
91055 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
91056 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
91059 for ac_func in ceilf floorf
91061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91062 echo "$as_me:$LINENO: checking for $ac_func" >&5
91063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91064 if eval "test \"\${$as_ac_var+set}\" = set"; then
91065 echo $ECHO_N "(cached) $ECHO_C" >&6
91066 else
91067 if test x$gcc_no_link = xyes; then
91068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91070 { (exit 1); exit 1; }; }
91072 cat >conftest.$ac_ext <<_ACEOF
91073 /* confdefs.h. */
91074 _ACEOF
91075 cat confdefs.h >>conftest.$ac_ext
91076 cat >>conftest.$ac_ext <<_ACEOF
91077 /* end confdefs.h. */
91078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91080 #define $ac_func innocuous_$ac_func
91082 /* System header to define __stub macros and hopefully few prototypes,
91083 which can conflict with char $ac_func (); below.
91084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91085 <limits.h> exists even on freestanding compilers. */
91087 #ifdef __STDC__
91088 # include <limits.h>
91089 #else
91090 # include <assert.h>
91091 #endif
91093 #undef $ac_func
91095 /* Override any gcc2 internal prototype to avoid an error. */
91096 #ifdef __cplusplus
91097 extern "C"
91099 #endif
91100 /* We use char because int might match the return type of a gcc2
91101 builtin and then its argument prototype would still apply. */
91102 char $ac_func ();
91103 /* The GNU C library defines this for functions which it implements
91104 to always fail with ENOSYS. Some functions are actually named
91105 something starting with __ and the normal name is an alias. */
91106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91107 choke me
91108 #else
91109 char (*f) () = $ac_func;
91110 #endif
91111 #ifdef __cplusplus
91113 #endif
91116 main ()
91118 return f != $ac_func;
91120 return 0;
91122 _ACEOF
91123 rm -f conftest.$ac_objext conftest$ac_exeext
91124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91125 (eval $ac_link) 2>conftest.er1
91126 ac_status=$?
91127 grep -v '^ *+' conftest.er1 >conftest.err
91128 rm -f conftest.er1
91129 cat conftest.err >&5
91130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91131 (exit $ac_status); } &&
91132 { ac_try='test -z "$ac_c_werror_flag"
91133 || test ! -s conftest.err'
91134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91135 (eval $ac_try) 2>&5
91136 ac_status=$?
91137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91138 (exit $ac_status); }; } &&
91139 { ac_try='test -s conftest$ac_exeext'
91140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91141 (eval $ac_try) 2>&5
91142 ac_status=$?
91143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91144 (exit $ac_status); }; }; then
91145 eval "$as_ac_var=yes"
91146 else
91147 echo "$as_me: failed program was:" >&5
91148 sed 's/^/| /' conftest.$ac_ext >&5
91150 eval "$as_ac_var=no"
91152 rm -f conftest.err conftest.$ac_objext \
91153 conftest$ac_exeext conftest.$ac_ext
91155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91157 if test `eval echo '${'$as_ac_var'}'` = yes; then
91158 cat >>confdefs.h <<_ACEOF
91159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91160 _ACEOF
91163 done
91165 else
91166 echo "$as_me:$LINENO: checking for _float round functions" >&5
91167 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
91168 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
91169 echo $ECHO_N "(cached) $ECHO_C" >&6
91170 else
91174 ac_ext=cc
91175 ac_cpp='$CXXCPP $CPPFLAGS'
91176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91180 cat >conftest.$ac_ext <<_ACEOF
91181 /* confdefs.h. */
91182 _ACEOF
91183 cat confdefs.h >>conftest.$ac_ext
91184 cat >>conftest.$ac_ext <<_ACEOF
91185 /* end confdefs.h. */
91186 #include <math.h>
91188 main ()
91190 _ceilf (0); _floorf (0);
91192 return 0;
91194 _ACEOF
91195 rm -f conftest.$ac_objext
91196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91197 (eval $ac_compile) 2>conftest.er1
91198 ac_status=$?
91199 grep -v '^ *+' conftest.er1 >conftest.err
91200 rm -f conftest.er1
91201 cat conftest.err >&5
91202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91203 (exit $ac_status); } &&
91204 { ac_try='test -z "$ac_cxx_werror_flag"
91205 || test ! -s conftest.err'
91206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91207 (eval $ac_try) 2>&5
91208 ac_status=$?
91209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91210 (exit $ac_status); }; } &&
91211 { ac_try='test -s conftest.$ac_objext'
91212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91213 (eval $ac_try) 2>&5
91214 ac_status=$?
91215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91216 (exit $ac_status); }; }; then
91217 glibcxx_cv_func__float_round_use=yes
91218 else
91219 echo "$as_me: failed program was:" >&5
91220 sed 's/^/| /' conftest.$ac_ext >&5
91222 glibcxx_cv_func__float_round_use=no
91224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91225 ac_ext=c
91226 ac_cpp='$CPP $CPPFLAGS'
91227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91233 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
91234 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
91235 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
91238 for ac_func in _ceilf _floorf
91240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91241 echo "$as_me:$LINENO: checking for $ac_func" >&5
91242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91243 if eval "test \"\${$as_ac_var+set}\" = set"; then
91244 echo $ECHO_N "(cached) $ECHO_C" >&6
91245 else
91246 if test x$gcc_no_link = xyes; then
91247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91249 { (exit 1); exit 1; }; }
91251 cat >conftest.$ac_ext <<_ACEOF
91252 /* confdefs.h. */
91253 _ACEOF
91254 cat confdefs.h >>conftest.$ac_ext
91255 cat >>conftest.$ac_ext <<_ACEOF
91256 /* end confdefs.h. */
91257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91259 #define $ac_func innocuous_$ac_func
91261 /* System header to define __stub macros and hopefully few prototypes,
91262 which can conflict with char $ac_func (); below.
91263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91264 <limits.h> exists even on freestanding compilers. */
91266 #ifdef __STDC__
91267 # include <limits.h>
91268 #else
91269 # include <assert.h>
91270 #endif
91272 #undef $ac_func
91274 /* Override any gcc2 internal prototype to avoid an error. */
91275 #ifdef __cplusplus
91276 extern "C"
91278 #endif
91279 /* We use char because int might match the return type of a gcc2
91280 builtin and then its argument prototype would still apply. */
91281 char $ac_func ();
91282 /* The GNU C library defines this for functions which it implements
91283 to always fail with ENOSYS. Some functions are actually named
91284 something starting with __ and the normal name is an alias. */
91285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91286 choke me
91287 #else
91288 char (*f) () = $ac_func;
91289 #endif
91290 #ifdef __cplusplus
91292 #endif
91295 main ()
91297 return f != $ac_func;
91299 return 0;
91301 _ACEOF
91302 rm -f conftest.$ac_objext conftest$ac_exeext
91303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91304 (eval $ac_link) 2>conftest.er1
91305 ac_status=$?
91306 grep -v '^ *+' conftest.er1 >conftest.err
91307 rm -f conftest.er1
91308 cat conftest.err >&5
91309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91310 (exit $ac_status); } &&
91311 { ac_try='test -z "$ac_c_werror_flag"
91312 || test ! -s conftest.err'
91313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91314 (eval $ac_try) 2>&5
91315 ac_status=$?
91316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91317 (exit $ac_status); }; } &&
91318 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
91324 eval "$as_ac_var=yes"
91325 else
91326 echo "$as_me: failed program was:" >&5
91327 sed 's/^/| /' conftest.$ac_ext >&5
91329 eval "$as_ac_var=no"
91331 rm -f conftest.err conftest.$ac_objext \
91332 conftest$ac_exeext conftest.$ac_ext
91334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91336 if test `eval echo '${'$as_ac_var'}'` = yes; then
91337 cat >>confdefs.h <<_ACEOF
91338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91339 _ACEOF
91342 done
91354 echo "$as_me:$LINENO: checking for expf declaration" >&5
91355 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
91356 if test x${glibcxx_cv_func_expf_use+set} != xset; then
91357 if test "${glibcxx_cv_func_expf_use+set}" = set; then
91358 echo $ECHO_N "(cached) $ECHO_C" >&6
91359 else
91363 ac_ext=cc
91364 ac_cpp='$CXXCPP $CPPFLAGS'
91365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91369 cat >conftest.$ac_ext <<_ACEOF
91370 /* confdefs.h. */
91371 _ACEOF
91372 cat confdefs.h >>conftest.$ac_ext
91373 cat >>conftest.$ac_ext <<_ACEOF
91374 /* end confdefs.h. */
91375 #include <math.h>
91376 #ifdef HAVE_IEEEFP_H
91377 #include <ieeefp.h>
91378 #endif
91381 main ()
91383 expf(0);
91385 return 0;
91387 _ACEOF
91388 rm -f conftest.$ac_objext
91389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91390 (eval $ac_compile) 2>conftest.er1
91391 ac_status=$?
91392 grep -v '^ *+' conftest.er1 >conftest.err
91393 rm -f conftest.er1
91394 cat conftest.err >&5
91395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91396 (exit $ac_status); } &&
91397 { ac_try='test -z "$ac_cxx_werror_flag"
91398 || test ! -s conftest.err'
91399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91400 (eval $ac_try) 2>&5
91401 ac_status=$?
91402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91403 (exit $ac_status); }; } &&
91404 { ac_try='test -s conftest.$ac_objext'
91405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91406 (eval $ac_try) 2>&5
91407 ac_status=$?
91408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91409 (exit $ac_status); }; }; then
91410 glibcxx_cv_func_expf_use=yes
91411 else
91412 echo "$as_me: failed program was:" >&5
91413 sed 's/^/| /' conftest.$ac_ext >&5
91415 glibcxx_cv_func_expf_use=no
91417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91418 ac_ext=c
91419 ac_cpp='$CPP $CPPFLAGS'
91420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91428 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
91429 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
91431 if test x$glibcxx_cv_func_expf_use = x"yes"; then
91433 for ac_func in expf
91435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91436 echo "$as_me:$LINENO: checking for $ac_func" >&5
91437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91438 if eval "test \"\${$as_ac_var+set}\" = set"; then
91439 echo $ECHO_N "(cached) $ECHO_C" >&6
91440 else
91441 if test x$gcc_no_link = xyes; then
91442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91444 { (exit 1); exit 1; }; }
91446 cat >conftest.$ac_ext <<_ACEOF
91447 /* confdefs.h. */
91448 _ACEOF
91449 cat confdefs.h >>conftest.$ac_ext
91450 cat >>conftest.$ac_ext <<_ACEOF
91451 /* end confdefs.h. */
91452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91454 #define $ac_func innocuous_$ac_func
91456 /* System header to define __stub macros and hopefully few prototypes,
91457 which can conflict with char $ac_func (); below.
91458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91459 <limits.h> exists even on freestanding compilers. */
91461 #ifdef __STDC__
91462 # include <limits.h>
91463 #else
91464 # include <assert.h>
91465 #endif
91467 #undef $ac_func
91469 /* Override any gcc2 internal prototype to avoid an error. */
91470 #ifdef __cplusplus
91471 extern "C"
91473 #endif
91474 /* We use char because int might match the return type of a gcc2
91475 builtin and then its argument prototype would still apply. */
91476 char $ac_func ();
91477 /* The GNU C library defines this for functions which it implements
91478 to always fail with ENOSYS. Some functions are actually named
91479 something starting with __ and the normal name is an alias. */
91480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91481 choke me
91482 #else
91483 char (*f) () = $ac_func;
91484 #endif
91485 #ifdef __cplusplus
91487 #endif
91490 main ()
91492 return f != $ac_func;
91494 return 0;
91496 _ACEOF
91497 rm -f conftest.$ac_objext conftest$ac_exeext
91498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91499 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
91520 else
91521 echo "$as_me: failed program was:" >&5
91522 sed 's/^/| /' conftest.$ac_ext >&5
91524 eval "$as_ac_var=no"
91526 rm -f conftest.err conftest.$ac_objext \
91527 conftest$ac_exeext conftest.$ac_ext
91529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91531 if test `eval echo '${'$as_ac_var'}'` = yes; then
91532 cat >>confdefs.h <<_ACEOF
91533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91534 _ACEOF
91537 done
91539 else
91541 echo "$as_me:$LINENO: checking for _expf declaration" >&5
91542 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
91543 if test x${glibcxx_cv_func__expf_use+set} != xset; then
91544 if test "${glibcxx_cv_func__expf_use+set}" = set; then
91545 echo $ECHO_N "(cached) $ECHO_C" >&6
91546 else
91550 ac_ext=cc
91551 ac_cpp='$CXXCPP $CPPFLAGS'
91552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91556 cat >conftest.$ac_ext <<_ACEOF
91557 /* confdefs.h. */
91558 _ACEOF
91559 cat confdefs.h >>conftest.$ac_ext
91560 cat >>conftest.$ac_ext <<_ACEOF
91561 /* end confdefs.h. */
91562 #include <math.h>
91563 #ifdef HAVE_IEEEFP_H
91564 #include <ieeefp.h>
91565 #endif
91568 main ()
91570 _expf(0);
91572 return 0;
91574 _ACEOF
91575 rm -f conftest.$ac_objext
91576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91577 (eval $ac_compile) 2>conftest.er1
91578 ac_status=$?
91579 grep -v '^ *+' conftest.er1 >conftest.err
91580 rm -f conftest.er1
91581 cat conftest.err >&5
91582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91583 (exit $ac_status); } &&
91584 { ac_try='test -z "$ac_cxx_werror_flag"
91585 || test ! -s conftest.err'
91586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91587 (eval $ac_try) 2>&5
91588 ac_status=$?
91589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91590 (exit $ac_status); }; } &&
91591 { ac_try='test -s conftest.$ac_objext'
91592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91593 (eval $ac_try) 2>&5
91594 ac_status=$?
91595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91596 (exit $ac_status); }; }; then
91597 glibcxx_cv_func__expf_use=yes
91598 else
91599 echo "$as_me: failed program was:" >&5
91600 sed 's/^/| /' conftest.$ac_ext >&5
91602 glibcxx_cv_func__expf_use=no
91604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91605 ac_ext=c
91606 ac_cpp='$CPP $CPPFLAGS'
91607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91615 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
91616 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
91618 if test x$glibcxx_cv_func__expf_use = x"yes"; then
91620 for ac_func in _expf
91622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91623 echo "$as_me:$LINENO: checking for $ac_func" >&5
91624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91625 if eval "test \"\${$as_ac_var+set}\" = set"; then
91626 echo $ECHO_N "(cached) $ECHO_C" >&6
91627 else
91628 if test x$gcc_no_link = xyes; then
91629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91631 { (exit 1); exit 1; }; }
91633 cat >conftest.$ac_ext <<_ACEOF
91634 /* confdefs.h. */
91635 _ACEOF
91636 cat confdefs.h >>conftest.$ac_ext
91637 cat >>conftest.$ac_ext <<_ACEOF
91638 /* end confdefs.h. */
91639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91641 #define $ac_func innocuous_$ac_func
91643 /* System header to define __stub macros and hopefully few prototypes,
91644 which can conflict with char $ac_func (); below.
91645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91646 <limits.h> exists even on freestanding compilers. */
91648 #ifdef __STDC__
91649 # include <limits.h>
91650 #else
91651 # include <assert.h>
91652 #endif
91654 #undef $ac_func
91656 /* Override any gcc2 internal prototype to avoid an error. */
91657 #ifdef __cplusplus
91658 extern "C"
91660 #endif
91661 /* We use char because int might match the return type of a gcc2
91662 builtin and then its argument prototype would still apply. */
91663 char $ac_func ();
91664 /* The GNU C library defines this for functions which it implements
91665 to always fail with ENOSYS. Some functions are actually named
91666 something starting with __ and the normal name is an alias. */
91667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91668 choke me
91669 #else
91670 char (*f) () = $ac_func;
91671 #endif
91672 #ifdef __cplusplus
91674 #endif
91677 main ()
91679 return f != $ac_func;
91681 return 0;
91683 _ACEOF
91684 rm -f conftest.$ac_objext conftest$ac_exeext
91685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91686 (eval $ac_link) 2>conftest.er1
91687 ac_status=$?
91688 grep -v '^ *+' conftest.er1 >conftest.err
91689 rm -f conftest.er1
91690 cat conftest.err >&5
91691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91692 (exit $ac_status); } &&
91693 { ac_try='test -z "$ac_c_werror_flag"
91694 || test ! -s conftest.err'
91695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91696 (eval $ac_try) 2>&5
91697 ac_status=$?
91698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91699 (exit $ac_status); }; } &&
91700 { ac_try='test -s conftest$ac_exeext'
91701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91702 (eval $ac_try) 2>&5
91703 ac_status=$?
91704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91705 (exit $ac_status); }; }; then
91706 eval "$as_ac_var=yes"
91707 else
91708 echo "$as_me: failed program was:" >&5
91709 sed 's/^/| /' conftest.$ac_ext >&5
91711 eval "$as_ac_var=no"
91713 rm -f conftest.err conftest.$ac_objext \
91714 conftest$ac_exeext conftest.$ac_ext
91716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91718 if test `eval echo '${'$as_ac_var'}'` = yes; then
91719 cat >>confdefs.h <<_ACEOF
91720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91721 _ACEOF
91724 done
91734 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
91735 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
91736 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
91737 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
91738 echo $ECHO_N "(cached) $ECHO_C" >&6
91739 else
91743 ac_ext=cc
91744 ac_cpp='$CXXCPP $CPPFLAGS'
91745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91749 cat >conftest.$ac_ext <<_ACEOF
91750 /* confdefs.h. */
91751 _ACEOF
91752 cat confdefs.h >>conftest.$ac_ext
91753 cat >>conftest.$ac_ext <<_ACEOF
91754 /* end confdefs.h. */
91755 #include <math.h>
91756 #ifdef HAVE_IEEEFP_H
91757 #include <ieeefp.h>
91758 #endif
91761 main ()
91763 isnanf(0);
91765 return 0;
91767 _ACEOF
91768 rm -f conftest.$ac_objext
91769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91770 (eval $ac_compile) 2>conftest.er1
91771 ac_status=$?
91772 grep -v '^ *+' conftest.er1 >conftest.err
91773 rm -f conftest.er1
91774 cat conftest.err >&5
91775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91776 (exit $ac_status); } &&
91777 { ac_try='test -z "$ac_cxx_werror_flag"
91778 || test ! -s conftest.err'
91779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91780 (eval $ac_try) 2>&5
91781 ac_status=$?
91782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91783 (exit $ac_status); }; } &&
91784 { ac_try='test -s conftest.$ac_objext'
91785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91786 (eval $ac_try) 2>&5
91787 ac_status=$?
91788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91789 (exit $ac_status); }; }; then
91790 glibcxx_cv_func_isnanf_use=yes
91791 else
91792 echo "$as_me: failed program was:" >&5
91793 sed 's/^/| /' conftest.$ac_ext >&5
91795 glibcxx_cv_func_isnanf_use=no
91797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91798 ac_ext=c
91799 ac_cpp='$CPP $CPPFLAGS'
91800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91808 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
91809 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
91811 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
91813 for ac_func in isnanf
91815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91816 echo "$as_me:$LINENO: checking for $ac_func" >&5
91817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91818 if eval "test \"\${$as_ac_var+set}\" = set"; then
91819 echo $ECHO_N "(cached) $ECHO_C" >&6
91820 else
91821 if test x$gcc_no_link = xyes; then
91822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91824 { (exit 1); exit 1; }; }
91826 cat >conftest.$ac_ext <<_ACEOF
91827 /* confdefs.h. */
91828 _ACEOF
91829 cat confdefs.h >>conftest.$ac_ext
91830 cat >>conftest.$ac_ext <<_ACEOF
91831 /* end confdefs.h. */
91832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91834 #define $ac_func innocuous_$ac_func
91836 /* System header to define __stub macros and hopefully few prototypes,
91837 which can conflict with char $ac_func (); below.
91838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91839 <limits.h> exists even on freestanding compilers. */
91841 #ifdef __STDC__
91842 # include <limits.h>
91843 #else
91844 # include <assert.h>
91845 #endif
91847 #undef $ac_func
91849 /* Override any gcc2 internal prototype to avoid an error. */
91850 #ifdef __cplusplus
91851 extern "C"
91853 #endif
91854 /* We use char because int might match the return type of a gcc2
91855 builtin and then its argument prototype would still apply. */
91856 char $ac_func ();
91857 /* The GNU C library defines this for functions which it implements
91858 to always fail with ENOSYS. Some functions are actually named
91859 something starting with __ and the normal name is an alias. */
91860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91861 choke me
91862 #else
91863 char (*f) () = $ac_func;
91864 #endif
91865 #ifdef __cplusplus
91867 #endif
91870 main ()
91872 return f != $ac_func;
91874 return 0;
91876 _ACEOF
91877 rm -f conftest.$ac_objext conftest$ac_exeext
91878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91879 (eval $ac_link) 2>conftest.er1
91880 ac_status=$?
91881 grep -v '^ *+' conftest.er1 >conftest.err
91882 rm -f conftest.er1
91883 cat conftest.err >&5
91884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91885 (exit $ac_status); } &&
91886 { ac_try='test -z "$ac_c_werror_flag"
91887 || test ! -s conftest.err'
91888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91889 (eval $ac_try) 2>&5
91890 ac_status=$?
91891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91892 (exit $ac_status); }; } &&
91893 { ac_try='test -s conftest$ac_exeext'
91894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91895 (eval $ac_try) 2>&5
91896 ac_status=$?
91897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91898 (exit $ac_status); }; }; then
91899 eval "$as_ac_var=yes"
91900 else
91901 echo "$as_me: failed program was:" >&5
91902 sed 's/^/| /' conftest.$ac_ext >&5
91904 eval "$as_ac_var=no"
91906 rm -f conftest.err conftest.$ac_objext \
91907 conftest$ac_exeext conftest.$ac_ext
91909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91911 if test `eval echo '${'$as_ac_var'}'` = yes; then
91912 cat >>confdefs.h <<_ACEOF
91913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91914 _ACEOF
91917 done
91919 else
91921 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
91922 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
91923 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
91924 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
91925 echo $ECHO_N "(cached) $ECHO_C" >&6
91926 else
91930 ac_ext=cc
91931 ac_cpp='$CXXCPP $CPPFLAGS'
91932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91936 cat >conftest.$ac_ext <<_ACEOF
91937 /* confdefs.h. */
91938 _ACEOF
91939 cat confdefs.h >>conftest.$ac_ext
91940 cat >>conftest.$ac_ext <<_ACEOF
91941 /* end confdefs.h. */
91942 #include <math.h>
91943 #ifdef HAVE_IEEEFP_H
91944 #include <ieeefp.h>
91945 #endif
91948 main ()
91950 _isnanf(0);
91952 return 0;
91954 _ACEOF
91955 rm -f conftest.$ac_objext
91956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91957 (eval $ac_compile) 2>conftest.er1
91958 ac_status=$?
91959 grep -v '^ *+' conftest.er1 >conftest.err
91960 rm -f conftest.er1
91961 cat conftest.err >&5
91962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91963 (exit $ac_status); } &&
91964 { ac_try='test -z "$ac_cxx_werror_flag"
91965 || test ! -s conftest.err'
91966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91967 (eval $ac_try) 2>&5
91968 ac_status=$?
91969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91970 (exit $ac_status); }; } &&
91971 { ac_try='test -s conftest.$ac_objext'
91972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91973 (eval $ac_try) 2>&5
91974 ac_status=$?
91975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91976 (exit $ac_status); }; }; then
91977 glibcxx_cv_func__isnanf_use=yes
91978 else
91979 echo "$as_me: failed program was:" >&5
91980 sed 's/^/| /' conftest.$ac_ext >&5
91982 glibcxx_cv_func__isnanf_use=no
91984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91985 ac_ext=c
91986 ac_cpp='$CPP $CPPFLAGS'
91987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91995 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
91996 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
91998 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
92000 for ac_func in _isnanf
92002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92003 echo "$as_me:$LINENO: checking for $ac_func" >&5
92004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92005 if eval "test \"\${$as_ac_var+set}\" = set"; then
92006 echo $ECHO_N "(cached) $ECHO_C" >&6
92007 else
92008 if test x$gcc_no_link = xyes; then
92009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92011 { (exit 1); exit 1; }; }
92013 cat >conftest.$ac_ext <<_ACEOF
92014 /* confdefs.h. */
92015 _ACEOF
92016 cat confdefs.h >>conftest.$ac_ext
92017 cat >>conftest.$ac_ext <<_ACEOF
92018 /* end confdefs.h. */
92019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92021 #define $ac_func innocuous_$ac_func
92023 /* System header to define __stub macros and hopefully few prototypes,
92024 which can conflict with char $ac_func (); below.
92025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92026 <limits.h> exists even on freestanding compilers. */
92028 #ifdef __STDC__
92029 # include <limits.h>
92030 #else
92031 # include <assert.h>
92032 #endif
92034 #undef $ac_func
92036 /* Override any gcc2 internal prototype to avoid an error. */
92037 #ifdef __cplusplus
92038 extern "C"
92040 #endif
92041 /* We use char because int might match the return type of a gcc2
92042 builtin and then its argument prototype would still apply. */
92043 char $ac_func ();
92044 /* The GNU C library defines this for functions which it implements
92045 to always fail with ENOSYS. Some functions are actually named
92046 something starting with __ and the normal name is an alias. */
92047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92048 choke me
92049 #else
92050 char (*f) () = $ac_func;
92051 #endif
92052 #ifdef __cplusplus
92054 #endif
92057 main ()
92059 return f != $ac_func;
92061 return 0;
92063 _ACEOF
92064 rm -f conftest.$ac_objext conftest$ac_exeext
92065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92066 (eval $ac_link) 2>conftest.er1
92067 ac_status=$?
92068 grep -v '^ *+' conftest.er1 >conftest.err
92069 rm -f conftest.er1
92070 cat conftest.err >&5
92071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92072 (exit $ac_status); } &&
92073 { ac_try='test -z "$ac_c_werror_flag"
92074 || test ! -s conftest.err'
92075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92076 (eval $ac_try) 2>&5
92077 ac_status=$?
92078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92079 (exit $ac_status); }; } &&
92080 { ac_try='test -s conftest$ac_exeext'
92081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92082 (eval $ac_try) 2>&5
92083 ac_status=$?
92084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92085 (exit $ac_status); }; }; then
92086 eval "$as_ac_var=yes"
92087 else
92088 echo "$as_me: failed program was:" >&5
92089 sed 's/^/| /' conftest.$ac_ext >&5
92091 eval "$as_ac_var=no"
92093 rm -f conftest.err conftest.$ac_objext \
92094 conftest$ac_exeext conftest.$ac_ext
92096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92098 if test `eval echo '${'$as_ac_var'}'` = yes; then
92099 cat >>confdefs.h <<_ACEOF
92100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92101 _ACEOF
92104 done
92114 echo "$as_me:$LINENO: checking for isinff declaration" >&5
92115 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
92116 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
92117 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
92118 echo $ECHO_N "(cached) $ECHO_C" >&6
92119 else
92123 ac_ext=cc
92124 ac_cpp='$CXXCPP $CPPFLAGS'
92125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92129 cat >conftest.$ac_ext <<_ACEOF
92130 /* confdefs.h. */
92131 _ACEOF
92132 cat confdefs.h >>conftest.$ac_ext
92133 cat >>conftest.$ac_ext <<_ACEOF
92134 /* end confdefs.h. */
92135 #include <math.h>
92136 #ifdef HAVE_IEEEFP_H
92137 #include <ieeefp.h>
92138 #endif
92141 main ()
92143 isinff(0);
92145 return 0;
92147 _ACEOF
92148 rm -f conftest.$ac_objext
92149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92150 (eval $ac_compile) 2>conftest.er1
92151 ac_status=$?
92152 grep -v '^ *+' conftest.er1 >conftest.err
92153 rm -f conftest.er1
92154 cat conftest.err >&5
92155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92156 (exit $ac_status); } &&
92157 { ac_try='test -z "$ac_cxx_werror_flag"
92158 || test ! -s conftest.err'
92159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92160 (eval $ac_try) 2>&5
92161 ac_status=$?
92162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92163 (exit $ac_status); }; } &&
92164 { ac_try='test -s conftest.$ac_objext'
92165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92166 (eval $ac_try) 2>&5
92167 ac_status=$?
92168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92169 (exit $ac_status); }; }; then
92170 glibcxx_cv_func_isinff_use=yes
92171 else
92172 echo "$as_me: failed program was:" >&5
92173 sed 's/^/| /' conftest.$ac_ext >&5
92175 glibcxx_cv_func_isinff_use=no
92177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92178 ac_ext=c
92179 ac_cpp='$CPP $CPPFLAGS'
92180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92188 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
92189 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
92191 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
92193 for ac_func in isinff
92195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92196 echo "$as_me:$LINENO: checking for $ac_func" >&5
92197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92198 if eval "test \"\${$as_ac_var+set}\" = set"; then
92199 echo $ECHO_N "(cached) $ECHO_C" >&6
92200 else
92201 if test x$gcc_no_link = xyes; then
92202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92204 { (exit 1); exit 1; }; }
92206 cat >conftest.$ac_ext <<_ACEOF
92207 /* confdefs.h. */
92208 _ACEOF
92209 cat confdefs.h >>conftest.$ac_ext
92210 cat >>conftest.$ac_ext <<_ACEOF
92211 /* end confdefs.h. */
92212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92214 #define $ac_func innocuous_$ac_func
92216 /* System header to define __stub macros and hopefully few prototypes,
92217 which can conflict with char $ac_func (); below.
92218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92219 <limits.h> exists even on freestanding compilers. */
92221 #ifdef __STDC__
92222 # include <limits.h>
92223 #else
92224 # include <assert.h>
92225 #endif
92227 #undef $ac_func
92229 /* Override any gcc2 internal prototype to avoid an error. */
92230 #ifdef __cplusplus
92231 extern "C"
92233 #endif
92234 /* We use char because int might match the return type of a gcc2
92235 builtin and then its argument prototype would still apply. */
92236 char $ac_func ();
92237 /* The GNU C library defines this for functions which it implements
92238 to always fail with ENOSYS. Some functions are actually named
92239 something starting with __ and the normal name is an alias. */
92240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92241 choke me
92242 #else
92243 char (*f) () = $ac_func;
92244 #endif
92245 #ifdef __cplusplus
92247 #endif
92250 main ()
92252 return f != $ac_func;
92254 return 0;
92256 _ACEOF
92257 rm -f conftest.$ac_objext conftest$ac_exeext
92258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92259 (eval $ac_link) 2>conftest.er1
92260 ac_status=$?
92261 grep -v '^ *+' conftest.er1 >conftest.err
92262 rm -f conftest.er1
92263 cat conftest.err >&5
92264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92265 (exit $ac_status); } &&
92266 { ac_try='test -z "$ac_c_werror_flag"
92267 || test ! -s conftest.err'
92268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92269 (eval $ac_try) 2>&5
92270 ac_status=$?
92271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92272 (exit $ac_status); }; } &&
92273 { ac_try='test -s conftest$ac_exeext'
92274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92275 (eval $ac_try) 2>&5
92276 ac_status=$?
92277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92278 (exit $ac_status); }; }; then
92279 eval "$as_ac_var=yes"
92280 else
92281 echo "$as_me: failed program was:" >&5
92282 sed 's/^/| /' conftest.$ac_ext >&5
92284 eval "$as_ac_var=no"
92286 rm -f conftest.err conftest.$ac_objext \
92287 conftest$ac_exeext conftest.$ac_ext
92289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92291 if test `eval echo '${'$as_ac_var'}'` = yes; then
92292 cat >>confdefs.h <<_ACEOF
92293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92294 _ACEOF
92297 done
92299 else
92301 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
92302 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
92303 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
92304 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
92305 echo $ECHO_N "(cached) $ECHO_C" >&6
92306 else
92310 ac_ext=cc
92311 ac_cpp='$CXXCPP $CPPFLAGS'
92312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92316 cat >conftest.$ac_ext <<_ACEOF
92317 /* confdefs.h. */
92318 _ACEOF
92319 cat confdefs.h >>conftest.$ac_ext
92320 cat >>conftest.$ac_ext <<_ACEOF
92321 /* end confdefs.h. */
92322 #include <math.h>
92323 #ifdef HAVE_IEEEFP_H
92324 #include <ieeefp.h>
92325 #endif
92328 main ()
92330 _isinff(0);
92332 return 0;
92334 _ACEOF
92335 rm -f conftest.$ac_objext
92336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92337 (eval $ac_compile) 2>conftest.er1
92338 ac_status=$?
92339 grep -v '^ *+' conftest.er1 >conftest.err
92340 rm -f conftest.er1
92341 cat conftest.err >&5
92342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92343 (exit $ac_status); } &&
92344 { ac_try='test -z "$ac_cxx_werror_flag"
92345 || test ! -s conftest.err'
92346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92347 (eval $ac_try) 2>&5
92348 ac_status=$?
92349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92350 (exit $ac_status); }; } &&
92351 { ac_try='test -s conftest.$ac_objext'
92352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92353 (eval $ac_try) 2>&5
92354 ac_status=$?
92355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92356 (exit $ac_status); }; }; then
92357 glibcxx_cv_func__isinff_use=yes
92358 else
92359 echo "$as_me: failed program was:" >&5
92360 sed 's/^/| /' conftest.$ac_ext >&5
92362 glibcxx_cv_func__isinff_use=no
92364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92365 ac_ext=c
92366 ac_cpp='$CPP $CPPFLAGS'
92367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92375 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
92376 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
92378 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
92380 for ac_func in _isinff
92382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92383 echo "$as_me:$LINENO: checking for $ac_func" >&5
92384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92385 if eval "test \"\${$as_ac_var+set}\" = set"; then
92386 echo $ECHO_N "(cached) $ECHO_C" >&6
92387 else
92388 if test x$gcc_no_link = xyes; then
92389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92391 { (exit 1); exit 1; }; }
92393 cat >conftest.$ac_ext <<_ACEOF
92394 /* confdefs.h. */
92395 _ACEOF
92396 cat confdefs.h >>conftest.$ac_ext
92397 cat >>conftest.$ac_ext <<_ACEOF
92398 /* end confdefs.h. */
92399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92401 #define $ac_func innocuous_$ac_func
92403 /* System header to define __stub macros and hopefully few prototypes,
92404 which can conflict with char $ac_func (); below.
92405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92406 <limits.h> exists even on freestanding compilers. */
92408 #ifdef __STDC__
92409 # include <limits.h>
92410 #else
92411 # include <assert.h>
92412 #endif
92414 #undef $ac_func
92416 /* Override any gcc2 internal prototype to avoid an error. */
92417 #ifdef __cplusplus
92418 extern "C"
92420 #endif
92421 /* We use char because int might match the return type of a gcc2
92422 builtin and then its argument prototype would still apply. */
92423 char $ac_func ();
92424 /* The GNU C library defines this for functions which it implements
92425 to always fail with ENOSYS. Some functions are actually named
92426 something starting with __ and the normal name is an alias. */
92427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92428 choke me
92429 #else
92430 char (*f) () = $ac_func;
92431 #endif
92432 #ifdef __cplusplus
92434 #endif
92437 main ()
92439 return f != $ac_func;
92441 return 0;
92443 _ACEOF
92444 rm -f conftest.$ac_objext conftest$ac_exeext
92445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92446 (eval $ac_link) 2>conftest.er1
92447 ac_status=$?
92448 grep -v '^ *+' conftest.er1 >conftest.err
92449 rm -f conftest.er1
92450 cat conftest.err >&5
92451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92452 (exit $ac_status); } &&
92453 { ac_try='test -z "$ac_c_werror_flag"
92454 || test ! -s conftest.err'
92455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92456 (eval $ac_try) 2>&5
92457 ac_status=$?
92458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92459 (exit $ac_status); }; } &&
92460 { ac_try='test -s conftest$ac_exeext'
92461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92462 (eval $ac_try) 2>&5
92463 ac_status=$?
92464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92465 (exit $ac_status); }; }; then
92466 eval "$as_ac_var=yes"
92467 else
92468 echo "$as_me: failed program was:" >&5
92469 sed 's/^/| /' conftest.$ac_ext >&5
92471 eval "$as_ac_var=no"
92473 rm -f conftest.err conftest.$ac_objext \
92474 conftest$ac_exeext conftest.$ac_ext
92476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92478 if test `eval echo '${'$as_ac_var'}'` = yes; then
92479 cat >>confdefs.h <<_ACEOF
92480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92481 _ACEOF
92484 done
92494 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
92495 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
92496 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
92497 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
92498 echo $ECHO_N "(cached) $ECHO_C" >&6
92499 else
92503 ac_ext=cc
92504 ac_cpp='$CXXCPP $CPPFLAGS'
92505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92509 cat >conftest.$ac_ext <<_ACEOF
92510 /* confdefs.h. */
92511 _ACEOF
92512 cat confdefs.h >>conftest.$ac_ext
92513 cat >>conftest.$ac_ext <<_ACEOF
92514 /* end confdefs.h. */
92515 #include <math.h>
92517 main ()
92519 atan2f(0, 0);
92521 return 0;
92523 _ACEOF
92524 rm -f conftest.$ac_objext
92525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92526 (eval $ac_compile) 2>conftest.er1
92527 ac_status=$?
92528 grep -v '^ *+' conftest.er1 >conftest.err
92529 rm -f conftest.er1
92530 cat conftest.err >&5
92531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92532 (exit $ac_status); } &&
92533 { ac_try='test -z "$ac_cxx_werror_flag"
92534 || test ! -s conftest.err'
92535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92536 (eval $ac_try) 2>&5
92537 ac_status=$?
92538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92539 (exit $ac_status); }; } &&
92540 { ac_try='test -s conftest.$ac_objext'
92541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92542 (eval $ac_try) 2>&5
92543 ac_status=$?
92544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92545 (exit $ac_status); }; }; then
92546 glibcxx_cv_func_atan2f_use=yes
92547 else
92548 echo "$as_me: failed program was:" >&5
92549 sed 's/^/| /' conftest.$ac_ext >&5
92551 glibcxx_cv_func_atan2f_use=no
92553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92554 ac_ext=c
92555 ac_cpp='$CPP $CPPFLAGS'
92556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92564 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
92565 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
92567 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
92569 for ac_func in atan2f
92571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92572 echo "$as_me:$LINENO: checking for $ac_func" >&5
92573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92574 if eval "test \"\${$as_ac_var+set}\" = set"; then
92575 echo $ECHO_N "(cached) $ECHO_C" >&6
92576 else
92577 if test x$gcc_no_link = xyes; then
92578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92580 { (exit 1); exit 1; }; }
92582 cat >conftest.$ac_ext <<_ACEOF
92583 /* confdefs.h. */
92584 _ACEOF
92585 cat confdefs.h >>conftest.$ac_ext
92586 cat >>conftest.$ac_ext <<_ACEOF
92587 /* end confdefs.h. */
92588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92590 #define $ac_func innocuous_$ac_func
92592 /* System header to define __stub macros and hopefully few prototypes,
92593 which can conflict with char $ac_func (); below.
92594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92595 <limits.h> exists even on freestanding compilers. */
92597 #ifdef __STDC__
92598 # include <limits.h>
92599 #else
92600 # include <assert.h>
92601 #endif
92603 #undef $ac_func
92605 /* Override any gcc2 internal prototype to avoid an error. */
92606 #ifdef __cplusplus
92607 extern "C"
92609 #endif
92610 /* We use char because int might match the return type of a gcc2
92611 builtin and then its argument prototype would still apply. */
92612 char $ac_func ();
92613 /* The GNU C library defines this for functions which it implements
92614 to always fail with ENOSYS. Some functions are actually named
92615 something starting with __ and the normal name is an alias. */
92616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92617 choke me
92618 #else
92619 char (*f) () = $ac_func;
92620 #endif
92621 #ifdef __cplusplus
92623 #endif
92626 main ()
92628 return f != $ac_func;
92630 return 0;
92632 _ACEOF
92633 rm -f conftest.$ac_objext conftest$ac_exeext
92634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92635 (eval $ac_link) 2>conftest.er1
92636 ac_status=$?
92637 grep -v '^ *+' conftest.er1 >conftest.err
92638 rm -f conftest.er1
92639 cat conftest.err >&5
92640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92641 (exit $ac_status); } &&
92642 { ac_try='test -z "$ac_c_werror_flag"
92643 || test ! -s conftest.err'
92644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92645 (eval $ac_try) 2>&5
92646 ac_status=$?
92647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92648 (exit $ac_status); }; } &&
92649 { ac_try='test -s conftest$ac_exeext'
92650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92651 (eval $ac_try) 2>&5
92652 ac_status=$?
92653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92654 (exit $ac_status); }; }; then
92655 eval "$as_ac_var=yes"
92656 else
92657 echo "$as_me: failed program was:" >&5
92658 sed 's/^/| /' conftest.$ac_ext >&5
92660 eval "$as_ac_var=no"
92662 rm -f conftest.err conftest.$ac_objext \
92663 conftest$ac_exeext conftest.$ac_ext
92665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92667 if test `eval echo '${'$as_ac_var'}'` = yes; then
92668 cat >>confdefs.h <<_ACEOF
92669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92670 _ACEOF
92673 done
92675 else
92677 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
92678 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
92679 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
92680 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
92681 echo $ECHO_N "(cached) $ECHO_C" >&6
92682 else
92686 ac_ext=cc
92687 ac_cpp='$CXXCPP $CPPFLAGS'
92688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92692 cat >conftest.$ac_ext <<_ACEOF
92693 /* confdefs.h. */
92694 _ACEOF
92695 cat confdefs.h >>conftest.$ac_ext
92696 cat >>conftest.$ac_ext <<_ACEOF
92697 /* end confdefs.h. */
92698 #include <math.h>
92700 main ()
92702 _atan2f(0, 0);
92704 return 0;
92706 _ACEOF
92707 rm -f conftest.$ac_objext
92708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92709 (eval $ac_compile) 2>conftest.er1
92710 ac_status=$?
92711 grep -v '^ *+' conftest.er1 >conftest.err
92712 rm -f conftest.er1
92713 cat conftest.err >&5
92714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92715 (exit $ac_status); } &&
92716 { ac_try='test -z "$ac_cxx_werror_flag"
92717 || test ! -s conftest.err'
92718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92719 (eval $ac_try) 2>&5
92720 ac_status=$?
92721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92722 (exit $ac_status); }; } &&
92723 { ac_try='test -s conftest.$ac_objext'
92724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92725 (eval $ac_try) 2>&5
92726 ac_status=$?
92727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92728 (exit $ac_status); }; }; then
92729 glibcxx_cv_func__atan2f_use=yes
92730 else
92731 echo "$as_me: failed program was:" >&5
92732 sed 's/^/| /' conftest.$ac_ext >&5
92734 glibcxx_cv_func__atan2f_use=no
92736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92737 ac_ext=c
92738 ac_cpp='$CPP $CPPFLAGS'
92739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92747 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
92748 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
92750 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
92752 for ac_func in _atan2f
92754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92755 echo "$as_me:$LINENO: checking for $ac_func" >&5
92756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92757 if eval "test \"\${$as_ac_var+set}\" = set"; then
92758 echo $ECHO_N "(cached) $ECHO_C" >&6
92759 else
92760 if test x$gcc_no_link = xyes; then
92761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92763 { (exit 1); exit 1; }; }
92765 cat >conftest.$ac_ext <<_ACEOF
92766 /* confdefs.h. */
92767 _ACEOF
92768 cat confdefs.h >>conftest.$ac_ext
92769 cat >>conftest.$ac_ext <<_ACEOF
92770 /* end confdefs.h. */
92771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92773 #define $ac_func innocuous_$ac_func
92775 /* System header to define __stub macros and hopefully few prototypes,
92776 which can conflict with char $ac_func (); below.
92777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92778 <limits.h> exists even on freestanding compilers. */
92780 #ifdef __STDC__
92781 # include <limits.h>
92782 #else
92783 # include <assert.h>
92784 #endif
92786 #undef $ac_func
92788 /* Override any gcc2 internal prototype to avoid an error. */
92789 #ifdef __cplusplus
92790 extern "C"
92792 #endif
92793 /* We use char because int might match the return type of a gcc2
92794 builtin and then its argument prototype would still apply. */
92795 char $ac_func ();
92796 /* The GNU C library defines this for functions which it implements
92797 to always fail with ENOSYS. Some functions are actually named
92798 something starting with __ and the normal name is an alias. */
92799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92800 choke me
92801 #else
92802 char (*f) () = $ac_func;
92803 #endif
92804 #ifdef __cplusplus
92806 #endif
92809 main ()
92811 return f != $ac_func;
92813 return 0;
92815 _ACEOF
92816 rm -f conftest.$ac_objext conftest$ac_exeext
92817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92818 (eval $ac_link) 2>conftest.er1
92819 ac_status=$?
92820 grep -v '^ *+' conftest.er1 >conftest.err
92821 rm -f conftest.er1
92822 cat conftest.err >&5
92823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92824 (exit $ac_status); } &&
92825 { ac_try='test -z "$ac_c_werror_flag"
92826 || test ! -s conftest.err'
92827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92828 (eval $ac_try) 2>&5
92829 ac_status=$?
92830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92831 (exit $ac_status); }; } &&
92832 { ac_try='test -s conftest$ac_exeext'
92833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92834 (eval $ac_try) 2>&5
92835 ac_status=$?
92836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92837 (exit $ac_status); }; }; then
92838 eval "$as_ac_var=yes"
92839 else
92840 echo "$as_me: failed program was:" >&5
92841 sed 's/^/| /' conftest.$ac_ext >&5
92843 eval "$as_ac_var=no"
92845 rm -f conftest.err conftest.$ac_objext \
92846 conftest$ac_exeext conftest.$ac_ext
92848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92850 if test `eval echo '${'$as_ac_var'}'` = yes; then
92851 cat >>confdefs.h <<_ACEOF
92852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92853 _ACEOF
92856 done
92866 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
92867 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
92868 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
92869 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
92870 echo $ECHO_N "(cached) $ECHO_C" >&6
92871 else
92875 ac_ext=cc
92876 ac_cpp='$CXXCPP $CPPFLAGS'
92877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92881 cat >conftest.$ac_ext <<_ACEOF
92882 /* confdefs.h. */
92883 _ACEOF
92884 cat confdefs.h >>conftest.$ac_ext
92885 cat >>conftest.$ac_ext <<_ACEOF
92886 /* end confdefs.h. */
92887 #include <math.h>
92888 #ifdef HAVE_IEEEFP_H
92889 #include <ieeefp.h>
92890 #endif
92893 main ()
92895 fabsf(0);
92897 return 0;
92899 _ACEOF
92900 rm -f conftest.$ac_objext
92901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92902 (eval $ac_compile) 2>conftest.er1
92903 ac_status=$?
92904 grep -v '^ *+' conftest.er1 >conftest.err
92905 rm -f conftest.er1
92906 cat conftest.err >&5
92907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92908 (exit $ac_status); } &&
92909 { ac_try='test -z "$ac_cxx_werror_flag"
92910 || test ! -s conftest.err'
92911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92912 (eval $ac_try) 2>&5
92913 ac_status=$?
92914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92915 (exit $ac_status); }; } &&
92916 { ac_try='test -s conftest.$ac_objext'
92917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92918 (eval $ac_try) 2>&5
92919 ac_status=$?
92920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92921 (exit $ac_status); }; }; then
92922 glibcxx_cv_func_fabsf_use=yes
92923 else
92924 echo "$as_me: failed program was:" >&5
92925 sed 's/^/| /' conftest.$ac_ext >&5
92927 glibcxx_cv_func_fabsf_use=no
92929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92930 ac_ext=c
92931 ac_cpp='$CPP $CPPFLAGS'
92932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92940 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
92941 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
92943 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
92945 for ac_func in fabsf
92947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92948 echo "$as_me:$LINENO: checking for $ac_func" >&5
92949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92950 if eval "test \"\${$as_ac_var+set}\" = set"; then
92951 echo $ECHO_N "(cached) $ECHO_C" >&6
92952 else
92953 if test x$gcc_no_link = xyes; then
92954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92956 { (exit 1); exit 1; }; }
92958 cat >conftest.$ac_ext <<_ACEOF
92959 /* confdefs.h. */
92960 _ACEOF
92961 cat confdefs.h >>conftest.$ac_ext
92962 cat >>conftest.$ac_ext <<_ACEOF
92963 /* end confdefs.h. */
92964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92966 #define $ac_func innocuous_$ac_func
92968 /* System header to define __stub macros and hopefully few prototypes,
92969 which can conflict with char $ac_func (); below.
92970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92971 <limits.h> exists even on freestanding compilers. */
92973 #ifdef __STDC__
92974 # include <limits.h>
92975 #else
92976 # include <assert.h>
92977 #endif
92979 #undef $ac_func
92981 /* Override any gcc2 internal prototype to avoid an error. */
92982 #ifdef __cplusplus
92983 extern "C"
92985 #endif
92986 /* We use char because int might match the return type of a gcc2
92987 builtin and then its argument prototype would still apply. */
92988 char $ac_func ();
92989 /* The GNU C library defines this for functions which it implements
92990 to always fail with ENOSYS. Some functions are actually named
92991 something starting with __ and the normal name is an alias. */
92992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92993 choke me
92994 #else
92995 char (*f) () = $ac_func;
92996 #endif
92997 #ifdef __cplusplus
92999 #endif
93002 main ()
93004 return f != $ac_func;
93006 return 0;
93008 _ACEOF
93009 rm -f conftest.$ac_objext conftest$ac_exeext
93010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93011 (eval $ac_link) 2>conftest.er1
93012 ac_status=$?
93013 grep -v '^ *+' conftest.er1 >conftest.err
93014 rm -f conftest.er1
93015 cat conftest.err >&5
93016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93017 (exit $ac_status); } &&
93018 { ac_try='test -z "$ac_c_werror_flag"
93019 || test ! -s conftest.err'
93020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93021 (eval $ac_try) 2>&5
93022 ac_status=$?
93023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93024 (exit $ac_status); }; } &&
93025 { ac_try='test -s conftest$ac_exeext'
93026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93027 (eval $ac_try) 2>&5
93028 ac_status=$?
93029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93030 (exit $ac_status); }; }; then
93031 eval "$as_ac_var=yes"
93032 else
93033 echo "$as_me: failed program was:" >&5
93034 sed 's/^/| /' conftest.$ac_ext >&5
93036 eval "$as_ac_var=no"
93038 rm -f conftest.err conftest.$ac_objext \
93039 conftest$ac_exeext conftest.$ac_ext
93041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93043 if test `eval echo '${'$as_ac_var'}'` = yes; then
93044 cat >>confdefs.h <<_ACEOF
93045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93046 _ACEOF
93049 done
93051 else
93053 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
93054 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
93055 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
93056 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
93057 echo $ECHO_N "(cached) $ECHO_C" >&6
93058 else
93062 ac_ext=cc
93063 ac_cpp='$CXXCPP $CPPFLAGS'
93064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93068 cat >conftest.$ac_ext <<_ACEOF
93069 /* confdefs.h. */
93070 _ACEOF
93071 cat confdefs.h >>conftest.$ac_ext
93072 cat >>conftest.$ac_ext <<_ACEOF
93073 /* end confdefs.h. */
93074 #include <math.h>
93075 #ifdef HAVE_IEEEFP_H
93076 #include <ieeefp.h>
93077 #endif
93080 main ()
93082 _fabsf(0);
93084 return 0;
93086 _ACEOF
93087 rm -f conftest.$ac_objext
93088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93089 (eval $ac_compile) 2>conftest.er1
93090 ac_status=$?
93091 grep -v '^ *+' conftest.er1 >conftest.err
93092 rm -f conftest.er1
93093 cat conftest.err >&5
93094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93095 (exit $ac_status); } &&
93096 { ac_try='test -z "$ac_cxx_werror_flag"
93097 || test ! -s conftest.err'
93098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93099 (eval $ac_try) 2>&5
93100 ac_status=$?
93101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93102 (exit $ac_status); }; } &&
93103 { ac_try='test -s conftest.$ac_objext'
93104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93105 (eval $ac_try) 2>&5
93106 ac_status=$?
93107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93108 (exit $ac_status); }; }; then
93109 glibcxx_cv_func__fabsf_use=yes
93110 else
93111 echo "$as_me: failed program was:" >&5
93112 sed 's/^/| /' conftest.$ac_ext >&5
93114 glibcxx_cv_func__fabsf_use=no
93116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93117 ac_ext=c
93118 ac_cpp='$CPP $CPPFLAGS'
93119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93127 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
93128 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
93130 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
93132 for ac_func in _fabsf
93134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93135 echo "$as_me:$LINENO: checking for $ac_func" >&5
93136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93137 if eval "test \"\${$as_ac_var+set}\" = set"; then
93138 echo $ECHO_N "(cached) $ECHO_C" >&6
93139 else
93140 if test x$gcc_no_link = xyes; then
93141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93143 { (exit 1); exit 1; }; }
93145 cat >conftest.$ac_ext <<_ACEOF
93146 /* confdefs.h. */
93147 _ACEOF
93148 cat confdefs.h >>conftest.$ac_ext
93149 cat >>conftest.$ac_ext <<_ACEOF
93150 /* end confdefs.h. */
93151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93153 #define $ac_func innocuous_$ac_func
93155 /* System header to define __stub macros and hopefully few prototypes,
93156 which can conflict with char $ac_func (); below.
93157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93158 <limits.h> exists even on freestanding compilers. */
93160 #ifdef __STDC__
93161 # include <limits.h>
93162 #else
93163 # include <assert.h>
93164 #endif
93166 #undef $ac_func
93168 /* Override any gcc2 internal prototype to avoid an error. */
93169 #ifdef __cplusplus
93170 extern "C"
93172 #endif
93173 /* We use char because int might match the return type of a gcc2
93174 builtin and then its argument prototype would still apply. */
93175 char $ac_func ();
93176 /* The GNU C library defines this for functions which it implements
93177 to always fail with ENOSYS. Some functions are actually named
93178 something starting with __ and the normal name is an alias. */
93179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93180 choke me
93181 #else
93182 char (*f) () = $ac_func;
93183 #endif
93184 #ifdef __cplusplus
93186 #endif
93189 main ()
93191 return f != $ac_func;
93193 return 0;
93195 _ACEOF
93196 rm -f conftest.$ac_objext conftest$ac_exeext
93197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93198 (eval $ac_link) 2>conftest.er1
93199 ac_status=$?
93200 grep -v '^ *+' conftest.er1 >conftest.err
93201 rm -f conftest.er1
93202 cat conftest.err >&5
93203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93204 (exit $ac_status); } &&
93205 { ac_try='test -z "$ac_c_werror_flag"
93206 || test ! -s conftest.err'
93207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93208 (eval $ac_try) 2>&5
93209 ac_status=$?
93210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93211 (exit $ac_status); }; } &&
93212 { ac_try='test -s conftest$ac_exeext'
93213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93214 (eval $ac_try) 2>&5
93215 ac_status=$?
93216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93217 (exit $ac_status); }; }; then
93218 eval "$as_ac_var=yes"
93219 else
93220 echo "$as_me: failed program was:" >&5
93221 sed 's/^/| /' conftest.$ac_ext >&5
93223 eval "$as_ac_var=no"
93225 rm -f conftest.err conftest.$ac_objext \
93226 conftest$ac_exeext conftest.$ac_ext
93228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93230 if test `eval echo '${'$as_ac_var'}'` = yes; then
93231 cat >>confdefs.h <<_ACEOF
93232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93233 _ACEOF
93236 done
93246 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
93247 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
93248 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
93249 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
93250 echo $ECHO_N "(cached) $ECHO_C" >&6
93251 else
93255 ac_ext=cc
93256 ac_cpp='$CXXCPP $CPPFLAGS'
93257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93261 cat >conftest.$ac_ext <<_ACEOF
93262 /* confdefs.h. */
93263 _ACEOF
93264 cat confdefs.h >>conftest.$ac_ext
93265 cat >>conftest.$ac_ext <<_ACEOF
93266 /* end confdefs.h. */
93267 #include <math.h>
93269 main ()
93271 fmodf(0, 0);
93273 return 0;
93275 _ACEOF
93276 rm -f conftest.$ac_objext
93277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93278 (eval $ac_compile) 2>conftest.er1
93279 ac_status=$?
93280 grep -v '^ *+' conftest.er1 >conftest.err
93281 rm -f conftest.er1
93282 cat conftest.err >&5
93283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93284 (exit $ac_status); } &&
93285 { ac_try='test -z "$ac_cxx_werror_flag"
93286 || test ! -s conftest.err'
93287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93288 (eval $ac_try) 2>&5
93289 ac_status=$?
93290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93291 (exit $ac_status); }; } &&
93292 { ac_try='test -s conftest.$ac_objext'
93293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93294 (eval $ac_try) 2>&5
93295 ac_status=$?
93296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93297 (exit $ac_status); }; }; then
93298 glibcxx_cv_func_fmodf_use=yes
93299 else
93300 echo "$as_me: failed program was:" >&5
93301 sed 's/^/| /' conftest.$ac_ext >&5
93303 glibcxx_cv_func_fmodf_use=no
93305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93306 ac_ext=c
93307 ac_cpp='$CPP $CPPFLAGS'
93308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93316 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
93317 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
93319 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
93321 for ac_func in fmodf
93323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93324 echo "$as_me:$LINENO: checking for $ac_func" >&5
93325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93326 if eval "test \"\${$as_ac_var+set}\" = set"; then
93327 echo $ECHO_N "(cached) $ECHO_C" >&6
93328 else
93329 if test x$gcc_no_link = xyes; then
93330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93332 { (exit 1); exit 1; }; }
93334 cat >conftest.$ac_ext <<_ACEOF
93335 /* confdefs.h. */
93336 _ACEOF
93337 cat confdefs.h >>conftest.$ac_ext
93338 cat >>conftest.$ac_ext <<_ACEOF
93339 /* end confdefs.h. */
93340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93342 #define $ac_func innocuous_$ac_func
93344 /* System header to define __stub macros and hopefully few prototypes,
93345 which can conflict with char $ac_func (); below.
93346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93347 <limits.h> exists even on freestanding compilers. */
93349 #ifdef __STDC__
93350 # include <limits.h>
93351 #else
93352 # include <assert.h>
93353 #endif
93355 #undef $ac_func
93357 /* Override any gcc2 internal prototype to avoid an error. */
93358 #ifdef __cplusplus
93359 extern "C"
93361 #endif
93362 /* We use char because int might match the return type of a gcc2
93363 builtin and then its argument prototype would still apply. */
93364 char $ac_func ();
93365 /* The GNU C library defines this for functions which it implements
93366 to always fail with ENOSYS. Some functions are actually named
93367 something starting with __ and the normal name is an alias. */
93368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93369 choke me
93370 #else
93371 char (*f) () = $ac_func;
93372 #endif
93373 #ifdef __cplusplus
93375 #endif
93378 main ()
93380 return f != $ac_func;
93382 return 0;
93384 _ACEOF
93385 rm -f conftest.$ac_objext conftest$ac_exeext
93386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93387 (eval $ac_link) 2>conftest.er1
93388 ac_status=$?
93389 grep -v '^ *+' conftest.er1 >conftest.err
93390 rm -f conftest.er1
93391 cat conftest.err >&5
93392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93393 (exit $ac_status); } &&
93394 { ac_try='test -z "$ac_c_werror_flag"
93395 || test ! -s conftest.err'
93396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93397 (eval $ac_try) 2>&5
93398 ac_status=$?
93399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93400 (exit $ac_status); }; } &&
93401 { ac_try='test -s conftest$ac_exeext'
93402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93403 (eval $ac_try) 2>&5
93404 ac_status=$?
93405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93406 (exit $ac_status); }; }; then
93407 eval "$as_ac_var=yes"
93408 else
93409 echo "$as_me: failed program was:" >&5
93410 sed 's/^/| /' conftest.$ac_ext >&5
93412 eval "$as_ac_var=no"
93414 rm -f conftest.err conftest.$ac_objext \
93415 conftest$ac_exeext conftest.$ac_ext
93417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93419 if test `eval echo '${'$as_ac_var'}'` = yes; then
93420 cat >>confdefs.h <<_ACEOF
93421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93422 _ACEOF
93425 done
93427 else
93429 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
93430 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
93431 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
93432 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
93433 echo $ECHO_N "(cached) $ECHO_C" >&6
93434 else
93438 ac_ext=cc
93439 ac_cpp='$CXXCPP $CPPFLAGS'
93440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93444 cat >conftest.$ac_ext <<_ACEOF
93445 /* confdefs.h. */
93446 _ACEOF
93447 cat confdefs.h >>conftest.$ac_ext
93448 cat >>conftest.$ac_ext <<_ACEOF
93449 /* end confdefs.h. */
93450 #include <math.h>
93452 main ()
93454 _fmodf(0, 0);
93456 return 0;
93458 _ACEOF
93459 rm -f conftest.$ac_objext
93460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93461 (eval $ac_compile) 2>conftest.er1
93462 ac_status=$?
93463 grep -v '^ *+' conftest.er1 >conftest.err
93464 rm -f conftest.er1
93465 cat conftest.err >&5
93466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93467 (exit $ac_status); } &&
93468 { ac_try='test -z "$ac_cxx_werror_flag"
93469 || test ! -s conftest.err'
93470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93471 (eval $ac_try) 2>&5
93472 ac_status=$?
93473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93474 (exit $ac_status); }; } &&
93475 { ac_try='test -s conftest.$ac_objext'
93476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93477 (eval $ac_try) 2>&5
93478 ac_status=$?
93479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93480 (exit $ac_status); }; }; then
93481 glibcxx_cv_func__fmodf_use=yes
93482 else
93483 echo "$as_me: failed program was:" >&5
93484 sed 's/^/| /' conftest.$ac_ext >&5
93486 glibcxx_cv_func__fmodf_use=no
93488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93489 ac_ext=c
93490 ac_cpp='$CPP $CPPFLAGS'
93491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93499 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
93500 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
93502 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
93504 for ac_func in _fmodf
93506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93507 echo "$as_me:$LINENO: checking for $ac_func" >&5
93508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93509 if eval "test \"\${$as_ac_var+set}\" = set"; then
93510 echo $ECHO_N "(cached) $ECHO_C" >&6
93511 else
93512 if test x$gcc_no_link = xyes; then
93513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93515 { (exit 1); exit 1; }; }
93517 cat >conftest.$ac_ext <<_ACEOF
93518 /* confdefs.h. */
93519 _ACEOF
93520 cat confdefs.h >>conftest.$ac_ext
93521 cat >>conftest.$ac_ext <<_ACEOF
93522 /* end confdefs.h. */
93523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93525 #define $ac_func innocuous_$ac_func
93527 /* System header to define __stub macros and hopefully few prototypes,
93528 which can conflict with char $ac_func (); below.
93529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93530 <limits.h> exists even on freestanding compilers. */
93532 #ifdef __STDC__
93533 # include <limits.h>
93534 #else
93535 # include <assert.h>
93536 #endif
93538 #undef $ac_func
93540 /* Override any gcc2 internal prototype to avoid an error. */
93541 #ifdef __cplusplus
93542 extern "C"
93544 #endif
93545 /* We use char because int might match the return type of a gcc2
93546 builtin and then its argument prototype would still apply. */
93547 char $ac_func ();
93548 /* The GNU C library defines this for functions which it implements
93549 to always fail with ENOSYS. Some functions are actually named
93550 something starting with __ and the normal name is an alias. */
93551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93552 choke me
93553 #else
93554 char (*f) () = $ac_func;
93555 #endif
93556 #ifdef __cplusplus
93558 #endif
93561 main ()
93563 return f != $ac_func;
93565 return 0;
93567 _ACEOF
93568 rm -f conftest.$ac_objext conftest$ac_exeext
93569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93570 (eval $ac_link) 2>conftest.er1
93571 ac_status=$?
93572 grep -v '^ *+' conftest.er1 >conftest.err
93573 rm -f conftest.er1
93574 cat conftest.err >&5
93575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93576 (exit $ac_status); } &&
93577 { ac_try='test -z "$ac_c_werror_flag"
93578 || test ! -s conftest.err'
93579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93580 (eval $ac_try) 2>&5
93581 ac_status=$?
93582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93583 (exit $ac_status); }; } &&
93584 { ac_try='test -s conftest$ac_exeext'
93585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93586 (eval $ac_try) 2>&5
93587 ac_status=$?
93588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93589 (exit $ac_status); }; }; then
93590 eval "$as_ac_var=yes"
93591 else
93592 echo "$as_me: failed program was:" >&5
93593 sed 's/^/| /' conftest.$ac_ext >&5
93595 eval "$as_ac_var=no"
93597 rm -f conftest.err conftest.$ac_objext \
93598 conftest$ac_exeext conftest.$ac_ext
93600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93602 if test `eval echo '${'$as_ac_var'}'` = yes; then
93603 cat >>confdefs.h <<_ACEOF
93604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93605 _ACEOF
93608 done
93618 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
93619 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
93620 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
93621 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
93622 echo $ECHO_N "(cached) $ECHO_C" >&6
93623 else
93627 ac_ext=cc
93628 ac_cpp='$CXXCPP $CPPFLAGS'
93629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93633 cat >conftest.$ac_ext <<_ACEOF
93634 /* confdefs.h. */
93635 _ACEOF
93636 cat confdefs.h >>conftest.$ac_ext
93637 cat >>conftest.$ac_ext <<_ACEOF
93638 /* end confdefs.h. */
93639 #include <math.h>
93641 main ()
93643 frexpf(0, 0);
93645 return 0;
93647 _ACEOF
93648 rm -f conftest.$ac_objext
93649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93650 (eval $ac_compile) 2>conftest.er1
93651 ac_status=$?
93652 grep -v '^ *+' conftest.er1 >conftest.err
93653 rm -f conftest.er1
93654 cat conftest.err >&5
93655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93656 (exit $ac_status); } &&
93657 { ac_try='test -z "$ac_cxx_werror_flag"
93658 || test ! -s conftest.err'
93659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93660 (eval $ac_try) 2>&5
93661 ac_status=$?
93662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93663 (exit $ac_status); }; } &&
93664 { ac_try='test -s conftest.$ac_objext'
93665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93666 (eval $ac_try) 2>&5
93667 ac_status=$?
93668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93669 (exit $ac_status); }; }; then
93670 glibcxx_cv_func_frexpf_use=yes
93671 else
93672 echo "$as_me: failed program was:" >&5
93673 sed 's/^/| /' conftest.$ac_ext >&5
93675 glibcxx_cv_func_frexpf_use=no
93677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93678 ac_ext=c
93679 ac_cpp='$CPP $CPPFLAGS'
93680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93688 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
93689 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
93691 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
93693 for ac_func in frexpf
93695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93696 echo "$as_me:$LINENO: checking for $ac_func" >&5
93697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93698 if eval "test \"\${$as_ac_var+set}\" = set"; then
93699 echo $ECHO_N "(cached) $ECHO_C" >&6
93700 else
93701 if test x$gcc_no_link = xyes; then
93702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93704 { (exit 1); exit 1; }; }
93706 cat >conftest.$ac_ext <<_ACEOF
93707 /* confdefs.h. */
93708 _ACEOF
93709 cat confdefs.h >>conftest.$ac_ext
93710 cat >>conftest.$ac_ext <<_ACEOF
93711 /* end confdefs.h. */
93712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93714 #define $ac_func innocuous_$ac_func
93716 /* System header to define __stub macros and hopefully few prototypes,
93717 which can conflict with char $ac_func (); below.
93718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93719 <limits.h> exists even on freestanding compilers. */
93721 #ifdef __STDC__
93722 # include <limits.h>
93723 #else
93724 # include <assert.h>
93725 #endif
93727 #undef $ac_func
93729 /* Override any gcc2 internal prototype to avoid an error. */
93730 #ifdef __cplusplus
93731 extern "C"
93733 #endif
93734 /* We use char because int might match the return type of a gcc2
93735 builtin and then its argument prototype would still apply. */
93736 char $ac_func ();
93737 /* The GNU C library defines this for functions which it implements
93738 to always fail with ENOSYS. Some functions are actually named
93739 something starting with __ and the normal name is an alias. */
93740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93741 choke me
93742 #else
93743 char (*f) () = $ac_func;
93744 #endif
93745 #ifdef __cplusplus
93747 #endif
93750 main ()
93752 return f != $ac_func;
93754 return 0;
93756 _ACEOF
93757 rm -f conftest.$ac_objext conftest$ac_exeext
93758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93759 (eval $ac_link) 2>conftest.er1
93760 ac_status=$?
93761 grep -v '^ *+' conftest.er1 >conftest.err
93762 rm -f conftest.er1
93763 cat conftest.err >&5
93764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93765 (exit $ac_status); } &&
93766 { ac_try='test -z "$ac_c_werror_flag"
93767 || test ! -s conftest.err'
93768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93769 (eval $ac_try) 2>&5
93770 ac_status=$?
93771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93772 (exit $ac_status); }; } &&
93773 { ac_try='test -s conftest$ac_exeext'
93774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93775 (eval $ac_try) 2>&5
93776 ac_status=$?
93777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93778 (exit $ac_status); }; }; then
93779 eval "$as_ac_var=yes"
93780 else
93781 echo "$as_me: failed program was:" >&5
93782 sed 's/^/| /' conftest.$ac_ext >&5
93784 eval "$as_ac_var=no"
93786 rm -f conftest.err conftest.$ac_objext \
93787 conftest$ac_exeext conftest.$ac_ext
93789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93791 if test `eval echo '${'$as_ac_var'}'` = yes; then
93792 cat >>confdefs.h <<_ACEOF
93793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93794 _ACEOF
93797 done
93799 else
93801 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
93802 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
93803 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
93804 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
93805 echo $ECHO_N "(cached) $ECHO_C" >&6
93806 else
93810 ac_ext=cc
93811 ac_cpp='$CXXCPP $CPPFLAGS'
93812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93816 cat >conftest.$ac_ext <<_ACEOF
93817 /* confdefs.h. */
93818 _ACEOF
93819 cat confdefs.h >>conftest.$ac_ext
93820 cat >>conftest.$ac_ext <<_ACEOF
93821 /* end confdefs.h. */
93822 #include <math.h>
93824 main ()
93826 _frexpf(0, 0);
93828 return 0;
93830 _ACEOF
93831 rm -f conftest.$ac_objext
93832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93833 (eval $ac_compile) 2>conftest.er1
93834 ac_status=$?
93835 grep -v '^ *+' conftest.er1 >conftest.err
93836 rm -f conftest.er1
93837 cat conftest.err >&5
93838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93839 (exit $ac_status); } &&
93840 { ac_try='test -z "$ac_cxx_werror_flag"
93841 || test ! -s conftest.err'
93842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93843 (eval $ac_try) 2>&5
93844 ac_status=$?
93845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93846 (exit $ac_status); }; } &&
93847 { ac_try='test -s conftest.$ac_objext'
93848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93849 (eval $ac_try) 2>&5
93850 ac_status=$?
93851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93852 (exit $ac_status); }; }; then
93853 glibcxx_cv_func__frexpf_use=yes
93854 else
93855 echo "$as_me: failed program was:" >&5
93856 sed 's/^/| /' conftest.$ac_ext >&5
93858 glibcxx_cv_func__frexpf_use=no
93860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93861 ac_ext=c
93862 ac_cpp='$CPP $CPPFLAGS'
93863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93871 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
93872 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
93874 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
93876 for ac_func in _frexpf
93878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93879 echo "$as_me:$LINENO: checking for $ac_func" >&5
93880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93881 if eval "test \"\${$as_ac_var+set}\" = set"; then
93882 echo $ECHO_N "(cached) $ECHO_C" >&6
93883 else
93884 if test x$gcc_no_link = xyes; then
93885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93887 { (exit 1); exit 1; }; }
93889 cat >conftest.$ac_ext <<_ACEOF
93890 /* confdefs.h. */
93891 _ACEOF
93892 cat confdefs.h >>conftest.$ac_ext
93893 cat >>conftest.$ac_ext <<_ACEOF
93894 /* end confdefs.h. */
93895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93897 #define $ac_func innocuous_$ac_func
93899 /* System header to define __stub macros and hopefully few prototypes,
93900 which can conflict with char $ac_func (); below.
93901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93902 <limits.h> exists even on freestanding compilers. */
93904 #ifdef __STDC__
93905 # include <limits.h>
93906 #else
93907 # include <assert.h>
93908 #endif
93910 #undef $ac_func
93912 /* Override any gcc2 internal prototype to avoid an error. */
93913 #ifdef __cplusplus
93914 extern "C"
93916 #endif
93917 /* We use char because int might match the return type of a gcc2
93918 builtin and then its argument prototype would still apply. */
93919 char $ac_func ();
93920 /* The GNU C library defines this for functions which it implements
93921 to always fail with ENOSYS. Some functions are actually named
93922 something starting with __ and the normal name is an alias. */
93923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93924 choke me
93925 #else
93926 char (*f) () = $ac_func;
93927 #endif
93928 #ifdef __cplusplus
93930 #endif
93933 main ()
93935 return f != $ac_func;
93937 return 0;
93939 _ACEOF
93940 rm -f conftest.$ac_objext conftest$ac_exeext
93941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93942 (eval $ac_link) 2>conftest.er1
93943 ac_status=$?
93944 grep -v '^ *+' conftest.er1 >conftest.err
93945 rm -f conftest.er1
93946 cat conftest.err >&5
93947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93948 (exit $ac_status); } &&
93949 { ac_try='test -z "$ac_c_werror_flag"
93950 || test ! -s conftest.err'
93951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93952 (eval $ac_try) 2>&5
93953 ac_status=$?
93954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93955 (exit $ac_status); }; } &&
93956 { ac_try='test -s conftest$ac_exeext'
93957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93958 (eval $ac_try) 2>&5
93959 ac_status=$?
93960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93961 (exit $ac_status); }; }; then
93962 eval "$as_ac_var=yes"
93963 else
93964 echo "$as_me: failed program was:" >&5
93965 sed 's/^/| /' conftest.$ac_ext >&5
93967 eval "$as_ac_var=no"
93969 rm -f conftest.err conftest.$ac_objext \
93970 conftest$ac_exeext conftest.$ac_ext
93972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93974 if test `eval echo '${'$as_ac_var'}'` = yes; then
93975 cat >>confdefs.h <<_ACEOF
93976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93977 _ACEOF
93980 done
93990 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
93991 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
93992 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
93993 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
93994 echo $ECHO_N "(cached) $ECHO_C" >&6
93995 else
93999 ac_ext=cc
94000 ac_cpp='$CXXCPP $CPPFLAGS'
94001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94005 cat >conftest.$ac_ext <<_ACEOF
94006 /* confdefs.h. */
94007 _ACEOF
94008 cat confdefs.h >>conftest.$ac_ext
94009 cat >>conftest.$ac_ext <<_ACEOF
94010 /* end confdefs.h. */
94011 #include <math.h>
94013 main ()
94015 hypotf(0, 0);
94017 return 0;
94019 _ACEOF
94020 rm -f conftest.$ac_objext
94021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94022 (eval $ac_compile) 2>conftest.er1
94023 ac_status=$?
94024 grep -v '^ *+' conftest.er1 >conftest.err
94025 rm -f conftest.er1
94026 cat conftest.err >&5
94027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94028 (exit $ac_status); } &&
94029 { ac_try='test -z "$ac_cxx_werror_flag"
94030 || test ! -s conftest.err'
94031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94032 (eval $ac_try) 2>&5
94033 ac_status=$?
94034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94035 (exit $ac_status); }; } &&
94036 { ac_try='test -s conftest.$ac_objext'
94037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94038 (eval $ac_try) 2>&5
94039 ac_status=$?
94040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94041 (exit $ac_status); }; }; then
94042 glibcxx_cv_func_hypotf_use=yes
94043 else
94044 echo "$as_me: failed program was:" >&5
94045 sed 's/^/| /' conftest.$ac_ext >&5
94047 glibcxx_cv_func_hypotf_use=no
94049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94050 ac_ext=c
94051 ac_cpp='$CPP $CPPFLAGS'
94052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94060 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
94061 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
94063 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
94065 for ac_func in hypotf
94067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94068 echo "$as_me:$LINENO: checking for $ac_func" >&5
94069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94070 if eval "test \"\${$as_ac_var+set}\" = set"; then
94071 echo $ECHO_N "(cached) $ECHO_C" >&6
94072 else
94073 if test x$gcc_no_link = xyes; then
94074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94076 { (exit 1); exit 1; }; }
94078 cat >conftest.$ac_ext <<_ACEOF
94079 /* confdefs.h. */
94080 _ACEOF
94081 cat confdefs.h >>conftest.$ac_ext
94082 cat >>conftest.$ac_ext <<_ACEOF
94083 /* end confdefs.h. */
94084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94086 #define $ac_func innocuous_$ac_func
94088 /* System header to define __stub macros and hopefully few prototypes,
94089 which can conflict with char $ac_func (); below.
94090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94091 <limits.h> exists even on freestanding compilers. */
94093 #ifdef __STDC__
94094 # include <limits.h>
94095 #else
94096 # include <assert.h>
94097 #endif
94099 #undef $ac_func
94101 /* Override any gcc2 internal prototype to avoid an error. */
94102 #ifdef __cplusplus
94103 extern "C"
94105 #endif
94106 /* We use char because int might match the return type of a gcc2
94107 builtin and then its argument prototype would still apply. */
94108 char $ac_func ();
94109 /* The GNU C library defines this for functions which it implements
94110 to always fail with ENOSYS. Some functions are actually named
94111 something starting with __ and the normal name is an alias. */
94112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94113 choke me
94114 #else
94115 char (*f) () = $ac_func;
94116 #endif
94117 #ifdef __cplusplus
94119 #endif
94122 main ()
94124 return f != $ac_func;
94126 return 0;
94128 _ACEOF
94129 rm -f conftest.$ac_objext conftest$ac_exeext
94130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94131 (eval $ac_link) 2>conftest.er1
94132 ac_status=$?
94133 grep -v '^ *+' conftest.er1 >conftest.err
94134 rm -f conftest.er1
94135 cat conftest.err >&5
94136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94137 (exit $ac_status); } &&
94138 { ac_try='test -z "$ac_c_werror_flag"
94139 || test ! -s conftest.err'
94140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94141 (eval $ac_try) 2>&5
94142 ac_status=$?
94143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94144 (exit $ac_status); }; } &&
94145 { ac_try='test -s conftest$ac_exeext'
94146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94147 (eval $ac_try) 2>&5
94148 ac_status=$?
94149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94150 (exit $ac_status); }; }; then
94151 eval "$as_ac_var=yes"
94152 else
94153 echo "$as_me: failed program was:" >&5
94154 sed 's/^/| /' conftest.$ac_ext >&5
94156 eval "$as_ac_var=no"
94158 rm -f conftest.err conftest.$ac_objext \
94159 conftest$ac_exeext conftest.$ac_ext
94161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94163 if test `eval echo '${'$as_ac_var'}'` = yes; then
94164 cat >>confdefs.h <<_ACEOF
94165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94166 _ACEOF
94169 done
94171 else
94173 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
94174 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
94175 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
94176 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
94177 echo $ECHO_N "(cached) $ECHO_C" >&6
94178 else
94182 ac_ext=cc
94183 ac_cpp='$CXXCPP $CPPFLAGS'
94184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94188 cat >conftest.$ac_ext <<_ACEOF
94189 /* confdefs.h. */
94190 _ACEOF
94191 cat confdefs.h >>conftest.$ac_ext
94192 cat >>conftest.$ac_ext <<_ACEOF
94193 /* end confdefs.h. */
94194 #include <math.h>
94196 main ()
94198 _hypotf(0, 0);
94200 return 0;
94202 _ACEOF
94203 rm -f conftest.$ac_objext
94204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94205 (eval $ac_compile) 2>conftest.er1
94206 ac_status=$?
94207 grep -v '^ *+' conftest.er1 >conftest.err
94208 rm -f conftest.er1
94209 cat conftest.err >&5
94210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94211 (exit $ac_status); } &&
94212 { ac_try='test -z "$ac_cxx_werror_flag"
94213 || test ! -s conftest.err'
94214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94215 (eval $ac_try) 2>&5
94216 ac_status=$?
94217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94218 (exit $ac_status); }; } &&
94219 { ac_try='test -s conftest.$ac_objext'
94220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94221 (eval $ac_try) 2>&5
94222 ac_status=$?
94223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94224 (exit $ac_status); }; }; then
94225 glibcxx_cv_func__hypotf_use=yes
94226 else
94227 echo "$as_me: failed program was:" >&5
94228 sed 's/^/| /' conftest.$ac_ext >&5
94230 glibcxx_cv_func__hypotf_use=no
94232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94233 ac_ext=c
94234 ac_cpp='$CPP $CPPFLAGS'
94235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94243 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
94244 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
94246 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
94248 for ac_func in _hypotf
94250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94251 echo "$as_me:$LINENO: checking for $ac_func" >&5
94252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94253 if eval "test \"\${$as_ac_var+set}\" = set"; then
94254 echo $ECHO_N "(cached) $ECHO_C" >&6
94255 else
94256 if test x$gcc_no_link = xyes; then
94257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94259 { (exit 1); exit 1; }; }
94261 cat >conftest.$ac_ext <<_ACEOF
94262 /* confdefs.h. */
94263 _ACEOF
94264 cat confdefs.h >>conftest.$ac_ext
94265 cat >>conftest.$ac_ext <<_ACEOF
94266 /* end confdefs.h. */
94267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94269 #define $ac_func innocuous_$ac_func
94271 /* System header to define __stub macros and hopefully few prototypes,
94272 which can conflict with char $ac_func (); below.
94273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94274 <limits.h> exists even on freestanding compilers. */
94276 #ifdef __STDC__
94277 # include <limits.h>
94278 #else
94279 # include <assert.h>
94280 #endif
94282 #undef $ac_func
94284 /* Override any gcc2 internal prototype to avoid an error. */
94285 #ifdef __cplusplus
94286 extern "C"
94288 #endif
94289 /* We use char because int might match the return type of a gcc2
94290 builtin and then its argument prototype would still apply. */
94291 char $ac_func ();
94292 /* The GNU C library defines this for functions which it implements
94293 to always fail with ENOSYS. Some functions are actually named
94294 something starting with __ and the normal name is an alias. */
94295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94296 choke me
94297 #else
94298 char (*f) () = $ac_func;
94299 #endif
94300 #ifdef __cplusplus
94302 #endif
94305 main ()
94307 return f != $ac_func;
94309 return 0;
94311 _ACEOF
94312 rm -f conftest.$ac_objext conftest$ac_exeext
94313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94314 (eval $ac_link) 2>conftest.er1
94315 ac_status=$?
94316 grep -v '^ *+' conftest.er1 >conftest.err
94317 rm -f conftest.er1
94318 cat conftest.err >&5
94319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94320 (exit $ac_status); } &&
94321 { ac_try='test -z "$ac_c_werror_flag"
94322 || test ! -s conftest.err'
94323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94324 (eval $ac_try) 2>&5
94325 ac_status=$?
94326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94327 (exit $ac_status); }; } &&
94328 { ac_try='test -s conftest$ac_exeext'
94329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94330 (eval $ac_try) 2>&5
94331 ac_status=$?
94332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94333 (exit $ac_status); }; }; then
94334 eval "$as_ac_var=yes"
94335 else
94336 echo "$as_me: failed program was:" >&5
94337 sed 's/^/| /' conftest.$ac_ext >&5
94339 eval "$as_ac_var=no"
94341 rm -f conftest.err conftest.$ac_objext \
94342 conftest$ac_exeext conftest.$ac_ext
94344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94346 if test `eval echo '${'$as_ac_var'}'` = yes; then
94347 cat >>confdefs.h <<_ACEOF
94348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94349 _ACEOF
94352 done
94362 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
94363 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
94364 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
94365 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
94366 echo $ECHO_N "(cached) $ECHO_C" >&6
94367 else
94371 ac_ext=cc
94372 ac_cpp='$CXXCPP $CPPFLAGS'
94373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94377 cat >conftest.$ac_ext <<_ACEOF
94378 /* confdefs.h. */
94379 _ACEOF
94380 cat confdefs.h >>conftest.$ac_ext
94381 cat >>conftest.$ac_ext <<_ACEOF
94382 /* end confdefs.h. */
94383 #include <math.h>
94385 main ()
94387 ldexpf(0, 0);
94389 return 0;
94391 _ACEOF
94392 rm -f conftest.$ac_objext
94393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94394 (eval $ac_compile) 2>conftest.er1
94395 ac_status=$?
94396 grep -v '^ *+' conftest.er1 >conftest.err
94397 rm -f conftest.er1
94398 cat conftest.err >&5
94399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94400 (exit $ac_status); } &&
94401 { ac_try='test -z "$ac_cxx_werror_flag"
94402 || test ! -s conftest.err'
94403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94404 (eval $ac_try) 2>&5
94405 ac_status=$?
94406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94407 (exit $ac_status); }; } &&
94408 { ac_try='test -s conftest.$ac_objext'
94409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94410 (eval $ac_try) 2>&5
94411 ac_status=$?
94412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94413 (exit $ac_status); }; }; then
94414 glibcxx_cv_func_ldexpf_use=yes
94415 else
94416 echo "$as_me: failed program was:" >&5
94417 sed 's/^/| /' conftest.$ac_ext >&5
94419 glibcxx_cv_func_ldexpf_use=no
94421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94422 ac_ext=c
94423 ac_cpp='$CPP $CPPFLAGS'
94424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94432 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
94433 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
94435 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
94437 for ac_func in ldexpf
94439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94440 echo "$as_me:$LINENO: checking for $ac_func" >&5
94441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94442 if eval "test \"\${$as_ac_var+set}\" = set"; then
94443 echo $ECHO_N "(cached) $ECHO_C" >&6
94444 else
94445 if test x$gcc_no_link = xyes; then
94446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94448 { (exit 1); exit 1; }; }
94450 cat >conftest.$ac_ext <<_ACEOF
94451 /* confdefs.h. */
94452 _ACEOF
94453 cat confdefs.h >>conftest.$ac_ext
94454 cat >>conftest.$ac_ext <<_ACEOF
94455 /* end confdefs.h. */
94456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94458 #define $ac_func innocuous_$ac_func
94460 /* System header to define __stub macros and hopefully few prototypes,
94461 which can conflict with char $ac_func (); below.
94462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94463 <limits.h> exists even on freestanding compilers. */
94465 #ifdef __STDC__
94466 # include <limits.h>
94467 #else
94468 # include <assert.h>
94469 #endif
94471 #undef $ac_func
94473 /* Override any gcc2 internal prototype to avoid an error. */
94474 #ifdef __cplusplus
94475 extern "C"
94477 #endif
94478 /* We use char because int might match the return type of a gcc2
94479 builtin and then its argument prototype would still apply. */
94480 char $ac_func ();
94481 /* The GNU C library defines this for functions which it implements
94482 to always fail with ENOSYS. Some functions are actually named
94483 something starting with __ and the normal name is an alias. */
94484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94485 choke me
94486 #else
94487 char (*f) () = $ac_func;
94488 #endif
94489 #ifdef __cplusplus
94491 #endif
94494 main ()
94496 return f != $ac_func;
94498 return 0;
94500 _ACEOF
94501 rm -f conftest.$ac_objext conftest$ac_exeext
94502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94503 (eval $ac_link) 2>conftest.er1
94504 ac_status=$?
94505 grep -v '^ *+' conftest.er1 >conftest.err
94506 rm -f conftest.er1
94507 cat conftest.err >&5
94508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94509 (exit $ac_status); } &&
94510 { ac_try='test -z "$ac_c_werror_flag"
94511 || test ! -s conftest.err'
94512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94513 (eval $ac_try) 2>&5
94514 ac_status=$?
94515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94516 (exit $ac_status); }; } &&
94517 { ac_try='test -s conftest$ac_exeext'
94518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94519 (eval $ac_try) 2>&5
94520 ac_status=$?
94521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94522 (exit $ac_status); }; }; then
94523 eval "$as_ac_var=yes"
94524 else
94525 echo "$as_me: failed program was:" >&5
94526 sed 's/^/| /' conftest.$ac_ext >&5
94528 eval "$as_ac_var=no"
94530 rm -f conftest.err conftest.$ac_objext \
94531 conftest$ac_exeext conftest.$ac_ext
94533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94535 if test `eval echo '${'$as_ac_var'}'` = yes; then
94536 cat >>confdefs.h <<_ACEOF
94537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94538 _ACEOF
94541 done
94543 else
94545 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
94546 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
94547 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
94548 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
94549 echo $ECHO_N "(cached) $ECHO_C" >&6
94550 else
94554 ac_ext=cc
94555 ac_cpp='$CXXCPP $CPPFLAGS'
94556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94560 cat >conftest.$ac_ext <<_ACEOF
94561 /* confdefs.h. */
94562 _ACEOF
94563 cat confdefs.h >>conftest.$ac_ext
94564 cat >>conftest.$ac_ext <<_ACEOF
94565 /* end confdefs.h. */
94566 #include <math.h>
94568 main ()
94570 _ldexpf(0, 0);
94572 return 0;
94574 _ACEOF
94575 rm -f conftest.$ac_objext
94576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94577 (eval $ac_compile) 2>conftest.er1
94578 ac_status=$?
94579 grep -v '^ *+' conftest.er1 >conftest.err
94580 rm -f conftest.er1
94581 cat conftest.err >&5
94582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94583 (exit $ac_status); } &&
94584 { ac_try='test -z "$ac_cxx_werror_flag"
94585 || test ! -s conftest.err'
94586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94587 (eval $ac_try) 2>&5
94588 ac_status=$?
94589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94590 (exit $ac_status); }; } &&
94591 { ac_try='test -s conftest.$ac_objext'
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 glibcxx_cv_func__ldexpf_use=yes
94598 else
94599 echo "$as_me: failed program was:" >&5
94600 sed 's/^/| /' conftest.$ac_ext >&5
94602 glibcxx_cv_func__ldexpf_use=no
94604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94605 ac_ext=c
94606 ac_cpp='$CPP $CPPFLAGS'
94607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94615 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
94616 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
94618 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
94620 for ac_func in _ldexpf
94622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94623 echo "$as_me:$LINENO: checking for $ac_func" >&5
94624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94625 if eval "test \"\${$as_ac_var+set}\" = set"; then
94626 echo $ECHO_N "(cached) $ECHO_C" >&6
94627 else
94628 if test x$gcc_no_link = xyes; then
94629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94631 { (exit 1); exit 1; }; }
94633 cat >conftest.$ac_ext <<_ACEOF
94634 /* confdefs.h. */
94635 _ACEOF
94636 cat confdefs.h >>conftest.$ac_ext
94637 cat >>conftest.$ac_ext <<_ACEOF
94638 /* end confdefs.h. */
94639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94641 #define $ac_func innocuous_$ac_func
94643 /* System header to define __stub macros and hopefully few prototypes,
94644 which can conflict with char $ac_func (); below.
94645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94646 <limits.h> exists even on freestanding compilers. */
94648 #ifdef __STDC__
94649 # include <limits.h>
94650 #else
94651 # include <assert.h>
94652 #endif
94654 #undef $ac_func
94656 /* Override any gcc2 internal prototype to avoid an error. */
94657 #ifdef __cplusplus
94658 extern "C"
94660 #endif
94661 /* We use char because int might match the return type of a gcc2
94662 builtin and then its argument prototype would still apply. */
94663 char $ac_func ();
94664 /* The GNU C library defines this for functions which it implements
94665 to always fail with ENOSYS. Some functions are actually named
94666 something starting with __ and the normal name is an alias. */
94667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94668 choke me
94669 #else
94670 char (*f) () = $ac_func;
94671 #endif
94672 #ifdef __cplusplus
94674 #endif
94677 main ()
94679 return f != $ac_func;
94681 return 0;
94683 _ACEOF
94684 rm -f conftest.$ac_objext conftest$ac_exeext
94685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94686 (eval $ac_link) 2>conftest.er1
94687 ac_status=$?
94688 grep -v '^ *+' conftest.er1 >conftest.err
94689 rm -f conftest.er1
94690 cat conftest.err >&5
94691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94692 (exit $ac_status); } &&
94693 { ac_try='test -z "$ac_c_werror_flag"
94694 || test ! -s conftest.err'
94695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94696 (eval $ac_try) 2>&5
94697 ac_status=$?
94698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94699 (exit $ac_status); }; } &&
94700 { ac_try='test -s conftest$ac_exeext'
94701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94702 (eval $ac_try) 2>&5
94703 ac_status=$?
94704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94705 (exit $ac_status); }; }; then
94706 eval "$as_ac_var=yes"
94707 else
94708 echo "$as_me: failed program was:" >&5
94709 sed 's/^/| /' conftest.$ac_ext >&5
94711 eval "$as_ac_var=no"
94713 rm -f conftest.err conftest.$ac_objext \
94714 conftest$ac_exeext conftest.$ac_ext
94716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94718 if test `eval echo '${'$as_ac_var'}'` = yes; then
94719 cat >>confdefs.h <<_ACEOF
94720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94721 _ACEOF
94724 done
94734 echo "$as_me:$LINENO: checking for logf declaration" >&5
94735 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
94736 if test x${glibcxx_cv_func_logf_use+set} != xset; then
94737 if test "${glibcxx_cv_func_logf_use+set}" = set; then
94738 echo $ECHO_N "(cached) $ECHO_C" >&6
94739 else
94743 ac_ext=cc
94744 ac_cpp='$CXXCPP $CPPFLAGS'
94745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94749 cat >conftest.$ac_ext <<_ACEOF
94750 /* confdefs.h. */
94751 _ACEOF
94752 cat confdefs.h >>conftest.$ac_ext
94753 cat >>conftest.$ac_ext <<_ACEOF
94754 /* end confdefs.h. */
94755 #include <math.h>
94756 #ifdef HAVE_IEEEFP_H
94757 #include <ieeefp.h>
94758 #endif
94761 main ()
94763 logf(0);
94765 return 0;
94767 _ACEOF
94768 rm -f conftest.$ac_objext
94769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94770 (eval $ac_compile) 2>conftest.er1
94771 ac_status=$?
94772 grep -v '^ *+' conftest.er1 >conftest.err
94773 rm -f conftest.er1
94774 cat conftest.err >&5
94775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94776 (exit $ac_status); } &&
94777 { ac_try='test -z "$ac_cxx_werror_flag"
94778 || test ! -s conftest.err'
94779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94780 (eval $ac_try) 2>&5
94781 ac_status=$?
94782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94783 (exit $ac_status); }; } &&
94784 { ac_try='test -s conftest.$ac_objext'
94785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94786 (eval $ac_try) 2>&5
94787 ac_status=$?
94788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94789 (exit $ac_status); }; }; then
94790 glibcxx_cv_func_logf_use=yes
94791 else
94792 echo "$as_me: failed program was:" >&5
94793 sed 's/^/| /' conftest.$ac_ext >&5
94795 glibcxx_cv_func_logf_use=no
94797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94798 ac_ext=c
94799 ac_cpp='$CPP $CPPFLAGS'
94800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94808 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
94809 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
94811 if test x$glibcxx_cv_func_logf_use = x"yes"; then
94813 for ac_func in logf
94815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94816 echo "$as_me:$LINENO: checking for $ac_func" >&5
94817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94818 if eval "test \"\${$as_ac_var+set}\" = set"; then
94819 echo $ECHO_N "(cached) $ECHO_C" >&6
94820 else
94821 if test x$gcc_no_link = xyes; then
94822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94824 { (exit 1); exit 1; }; }
94826 cat >conftest.$ac_ext <<_ACEOF
94827 /* confdefs.h. */
94828 _ACEOF
94829 cat confdefs.h >>conftest.$ac_ext
94830 cat >>conftest.$ac_ext <<_ACEOF
94831 /* end confdefs.h. */
94832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94834 #define $ac_func innocuous_$ac_func
94836 /* System header to define __stub macros and hopefully few prototypes,
94837 which can conflict with char $ac_func (); below.
94838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94839 <limits.h> exists even on freestanding compilers. */
94841 #ifdef __STDC__
94842 # include <limits.h>
94843 #else
94844 # include <assert.h>
94845 #endif
94847 #undef $ac_func
94849 /* Override any gcc2 internal prototype to avoid an error. */
94850 #ifdef __cplusplus
94851 extern "C"
94853 #endif
94854 /* We use char because int might match the return type of a gcc2
94855 builtin and then its argument prototype would still apply. */
94856 char $ac_func ();
94857 /* The GNU C library defines this for functions which it implements
94858 to always fail with ENOSYS. Some functions are actually named
94859 something starting with __ and the normal name is an alias. */
94860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94861 choke me
94862 #else
94863 char (*f) () = $ac_func;
94864 #endif
94865 #ifdef __cplusplus
94867 #endif
94870 main ()
94872 return f != $ac_func;
94874 return 0;
94876 _ACEOF
94877 rm -f conftest.$ac_objext conftest$ac_exeext
94878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94879 (eval $ac_link) 2>conftest.er1
94880 ac_status=$?
94881 grep -v '^ *+' conftest.er1 >conftest.err
94882 rm -f conftest.er1
94883 cat conftest.err >&5
94884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94885 (exit $ac_status); } &&
94886 { ac_try='test -z "$ac_c_werror_flag"
94887 || test ! -s conftest.err'
94888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94889 (eval $ac_try) 2>&5
94890 ac_status=$?
94891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94892 (exit $ac_status); }; } &&
94893 { ac_try='test -s conftest$ac_exeext'
94894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94895 (eval $ac_try) 2>&5
94896 ac_status=$?
94897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94898 (exit $ac_status); }; }; then
94899 eval "$as_ac_var=yes"
94900 else
94901 echo "$as_me: failed program was:" >&5
94902 sed 's/^/| /' conftest.$ac_ext >&5
94904 eval "$as_ac_var=no"
94906 rm -f conftest.err conftest.$ac_objext \
94907 conftest$ac_exeext conftest.$ac_ext
94909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94911 if test `eval echo '${'$as_ac_var'}'` = yes; then
94912 cat >>confdefs.h <<_ACEOF
94913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94914 _ACEOF
94917 done
94919 else
94921 echo "$as_me:$LINENO: checking for _logf declaration" >&5
94922 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
94923 if test x${glibcxx_cv_func__logf_use+set} != xset; then
94924 if test "${glibcxx_cv_func__logf_use+set}" = set; then
94925 echo $ECHO_N "(cached) $ECHO_C" >&6
94926 else
94930 ac_ext=cc
94931 ac_cpp='$CXXCPP $CPPFLAGS'
94932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94936 cat >conftest.$ac_ext <<_ACEOF
94937 /* confdefs.h. */
94938 _ACEOF
94939 cat confdefs.h >>conftest.$ac_ext
94940 cat >>conftest.$ac_ext <<_ACEOF
94941 /* end confdefs.h. */
94942 #include <math.h>
94943 #ifdef HAVE_IEEEFP_H
94944 #include <ieeefp.h>
94945 #endif
94948 main ()
94950 _logf(0);
94952 return 0;
94954 _ACEOF
94955 rm -f conftest.$ac_objext
94956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94957 (eval $ac_compile) 2>conftest.er1
94958 ac_status=$?
94959 grep -v '^ *+' conftest.er1 >conftest.err
94960 rm -f conftest.er1
94961 cat conftest.err >&5
94962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94963 (exit $ac_status); } &&
94964 { ac_try='test -z "$ac_cxx_werror_flag"
94965 || test ! -s conftest.err'
94966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94967 (eval $ac_try) 2>&5
94968 ac_status=$?
94969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94970 (exit $ac_status); }; } &&
94971 { ac_try='test -s conftest.$ac_objext'
94972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94973 (eval $ac_try) 2>&5
94974 ac_status=$?
94975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94976 (exit $ac_status); }; }; then
94977 glibcxx_cv_func__logf_use=yes
94978 else
94979 echo "$as_me: failed program was:" >&5
94980 sed 's/^/| /' conftest.$ac_ext >&5
94982 glibcxx_cv_func__logf_use=no
94984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94985 ac_ext=c
94986 ac_cpp='$CPP $CPPFLAGS'
94987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94995 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
94996 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
94998 if test x$glibcxx_cv_func__logf_use = x"yes"; then
95000 for ac_func in _logf
95002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95003 echo "$as_me:$LINENO: checking for $ac_func" >&5
95004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95005 if eval "test \"\${$as_ac_var+set}\" = set"; then
95006 echo $ECHO_N "(cached) $ECHO_C" >&6
95007 else
95008 if test x$gcc_no_link = xyes; then
95009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95011 { (exit 1); exit 1; }; }
95013 cat >conftest.$ac_ext <<_ACEOF
95014 /* confdefs.h. */
95015 _ACEOF
95016 cat confdefs.h >>conftest.$ac_ext
95017 cat >>conftest.$ac_ext <<_ACEOF
95018 /* end confdefs.h. */
95019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95021 #define $ac_func innocuous_$ac_func
95023 /* System header to define __stub macros and hopefully few prototypes,
95024 which can conflict with char $ac_func (); below.
95025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95026 <limits.h> exists even on freestanding compilers. */
95028 #ifdef __STDC__
95029 # include <limits.h>
95030 #else
95031 # include <assert.h>
95032 #endif
95034 #undef $ac_func
95036 /* Override any gcc2 internal prototype to avoid an error. */
95037 #ifdef __cplusplus
95038 extern "C"
95040 #endif
95041 /* We use char because int might match the return type of a gcc2
95042 builtin and then its argument prototype would still apply. */
95043 char $ac_func ();
95044 /* The GNU C library defines this for functions which it implements
95045 to always fail with ENOSYS. Some functions are actually named
95046 something starting with __ and the normal name is an alias. */
95047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95048 choke me
95049 #else
95050 char (*f) () = $ac_func;
95051 #endif
95052 #ifdef __cplusplus
95054 #endif
95057 main ()
95059 return f != $ac_func;
95061 return 0;
95063 _ACEOF
95064 rm -f conftest.$ac_objext conftest$ac_exeext
95065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95066 (eval $ac_link) 2>conftest.er1
95067 ac_status=$?
95068 grep -v '^ *+' conftest.er1 >conftest.err
95069 rm -f conftest.er1
95070 cat conftest.err >&5
95071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95072 (exit $ac_status); } &&
95073 { ac_try='test -z "$ac_c_werror_flag"
95074 || test ! -s conftest.err'
95075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95076 (eval $ac_try) 2>&5
95077 ac_status=$?
95078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95079 (exit $ac_status); }; } &&
95080 { ac_try='test -s conftest$ac_exeext'
95081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95082 (eval $ac_try) 2>&5
95083 ac_status=$?
95084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95085 (exit $ac_status); }; }; then
95086 eval "$as_ac_var=yes"
95087 else
95088 echo "$as_me: failed program was:" >&5
95089 sed 's/^/| /' conftest.$ac_ext >&5
95091 eval "$as_ac_var=no"
95093 rm -f conftest.err conftest.$ac_objext \
95094 conftest$ac_exeext conftest.$ac_ext
95096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95098 if test `eval echo '${'$as_ac_var'}'` = yes; then
95099 cat >>confdefs.h <<_ACEOF
95100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95101 _ACEOF
95104 done
95114 echo "$as_me:$LINENO: checking for log10f declaration" >&5
95115 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
95116 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
95117 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
95118 echo $ECHO_N "(cached) $ECHO_C" >&6
95119 else
95123 ac_ext=cc
95124 ac_cpp='$CXXCPP $CPPFLAGS'
95125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95129 cat >conftest.$ac_ext <<_ACEOF
95130 /* confdefs.h. */
95131 _ACEOF
95132 cat confdefs.h >>conftest.$ac_ext
95133 cat >>conftest.$ac_ext <<_ACEOF
95134 /* end confdefs.h. */
95135 #include <math.h>
95136 #ifdef HAVE_IEEEFP_H
95137 #include <ieeefp.h>
95138 #endif
95141 main ()
95143 log10f(0);
95145 return 0;
95147 _ACEOF
95148 rm -f conftest.$ac_objext
95149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95150 (eval $ac_compile) 2>conftest.er1
95151 ac_status=$?
95152 grep -v '^ *+' conftest.er1 >conftest.err
95153 rm -f conftest.er1
95154 cat conftest.err >&5
95155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95156 (exit $ac_status); } &&
95157 { ac_try='test -z "$ac_cxx_werror_flag"
95158 || test ! -s conftest.err'
95159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95160 (eval $ac_try) 2>&5
95161 ac_status=$?
95162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95163 (exit $ac_status); }; } &&
95164 { ac_try='test -s conftest.$ac_objext'
95165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95166 (eval $ac_try) 2>&5
95167 ac_status=$?
95168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95169 (exit $ac_status); }; }; then
95170 glibcxx_cv_func_log10f_use=yes
95171 else
95172 echo "$as_me: failed program was:" >&5
95173 sed 's/^/| /' conftest.$ac_ext >&5
95175 glibcxx_cv_func_log10f_use=no
95177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95178 ac_ext=c
95179 ac_cpp='$CPP $CPPFLAGS'
95180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95188 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
95189 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
95191 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
95193 for ac_func in log10f
95195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95196 echo "$as_me:$LINENO: checking for $ac_func" >&5
95197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95198 if eval "test \"\${$as_ac_var+set}\" = set"; then
95199 echo $ECHO_N "(cached) $ECHO_C" >&6
95200 else
95201 if test x$gcc_no_link = xyes; then
95202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95204 { (exit 1); exit 1; }; }
95206 cat >conftest.$ac_ext <<_ACEOF
95207 /* confdefs.h. */
95208 _ACEOF
95209 cat confdefs.h >>conftest.$ac_ext
95210 cat >>conftest.$ac_ext <<_ACEOF
95211 /* end confdefs.h. */
95212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95214 #define $ac_func innocuous_$ac_func
95216 /* System header to define __stub macros and hopefully few prototypes,
95217 which can conflict with char $ac_func (); below.
95218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95219 <limits.h> exists even on freestanding compilers. */
95221 #ifdef __STDC__
95222 # include <limits.h>
95223 #else
95224 # include <assert.h>
95225 #endif
95227 #undef $ac_func
95229 /* Override any gcc2 internal prototype to avoid an error. */
95230 #ifdef __cplusplus
95231 extern "C"
95233 #endif
95234 /* We use char because int might match the return type of a gcc2
95235 builtin and then its argument prototype would still apply. */
95236 char $ac_func ();
95237 /* The GNU C library defines this for functions which it implements
95238 to always fail with ENOSYS. Some functions are actually named
95239 something starting with __ and the normal name is an alias. */
95240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95241 choke me
95242 #else
95243 char (*f) () = $ac_func;
95244 #endif
95245 #ifdef __cplusplus
95247 #endif
95250 main ()
95252 return f != $ac_func;
95254 return 0;
95256 _ACEOF
95257 rm -f conftest.$ac_objext conftest$ac_exeext
95258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95259 (eval $ac_link) 2>conftest.er1
95260 ac_status=$?
95261 grep -v '^ *+' conftest.er1 >conftest.err
95262 rm -f conftest.er1
95263 cat conftest.err >&5
95264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95265 (exit $ac_status); } &&
95266 { ac_try='test -z "$ac_c_werror_flag"
95267 || test ! -s conftest.err'
95268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95269 (eval $ac_try) 2>&5
95270 ac_status=$?
95271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95272 (exit $ac_status); }; } &&
95273 { ac_try='test -s conftest$ac_exeext'
95274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95275 (eval $ac_try) 2>&5
95276 ac_status=$?
95277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95278 (exit $ac_status); }; }; then
95279 eval "$as_ac_var=yes"
95280 else
95281 echo "$as_me: failed program was:" >&5
95282 sed 's/^/| /' conftest.$ac_ext >&5
95284 eval "$as_ac_var=no"
95286 rm -f conftest.err conftest.$ac_objext \
95287 conftest$ac_exeext conftest.$ac_ext
95289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95291 if test `eval echo '${'$as_ac_var'}'` = yes; then
95292 cat >>confdefs.h <<_ACEOF
95293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95294 _ACEOF
95297 done
95299 else
95301 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
95302 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
95303 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
95304 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
95305 echo $ECHO_N "(cached) $ECHO_C" >&6
95306 else
95310 ac_ext=cc
95311 ac_cpp='$CXXCPP $CPPFLAGS'
95312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95316 cat >conftest.$ac_ext <<_ACEOF
95317 /* confdefs.h. */
95318 _ACEOF
95319 cat confdefs.h >>conftest.$ac_ext
95320 cat >>conftest.$ac_ext <<_ACEOF
95321 /* end confdefs.h. */
95322 #include <math.h>
95323 #ifdef HAVE_IEEEFP_H
95324 #include <ieeefp.h>
95325 #endif
95328 main ()
95330 _log10f(0);
95332 return 0;
95334 _ACEOF
95335 rm -f conftest.$ac_objext
95336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95337 (eval $ac_compile) 2>conftest.er1
95338 ac_status=$?
95339 grep -v '^ *+' conftest.er1 >conftest.err
95340 rm -f conftest.er1
95341 cat conftest.err >&5
95342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95343 (exit $ac_status); } &&
95344 { ac_try='test -z "$ac_cxx_werror_flag"
95345 || test ! -s conftest.err'
95346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95347 (eval $ac_try) 2>&5
95348 ac_status=$?
95349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95350 (exit $ac_status); }; } &&
95351 { ac_try='test -s conftest.$ac_objext'
95352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95353 (eval $ac_try) 2>&5
95354 ac_status=$?
95355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95356 (exit $ac_status); }; }; then
95357 glibcxx_cv_func__log10f_use=yes
95358 else
95359 echo "$as_me: failed program was:" >&5
95360 sed 's/^/| /' conftest.$ac_ext >&5
95362 glibcxx_cv_func__log10f_use=no
95364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95365 ac_ext=c
95366 ac_cpp='$CPP $CPPFLAGS'
95367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95375 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
95376 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
95378 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
95380 for ac_func in _log10f
95382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95383 echo "$as_me:$LINENO: checking for $ac_func" >&5
95384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95385 if eval "test \"\${$as_ac_var+set}\" = set"; then
95386 echo $ECHO_N "(cached) $ECHO_C" >&6
95387 else
95388 if test x$gcc_no_link = xyes; then
95389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95391 { (exit 1); exit 1; }; }
95393 cat >conftest.$ac_ext <<_ACEOF
95394 /* confdefs.h. */
95395 _ACEOF
95396 cat confdefs.h >>conftest.$ac_ext
95397 cat >>conftest.$ac_ext <<_ACEOF
95398 /* end confdefs.h. */
95399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95401 #define $ac_func innocuous_$ac_func
95403 /* System header to define __stub macros and hopefully few prototypes,
95404 which can conflict with char $ac_func (); below.
95405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95406 <limits.h> exists even on freestanding compilers. */
95408 #ifdef __STDC__
95409 # include <limits.h>
95410 #else
95411 # include <assert.h>
95412 #endif
95414 #undef $ac_func
95416 /* Override any gcc2 internal prototype to avoid an error. */
95417 #ifdef __cplusplus
95418 extern "C"
95420 #endif
95421 /* We use char because int might match the return type of a gcc2
95422 builtin and then its argument prototype would still apply. */
95423 char $ac_func ();
95424 /* The GNU C library defines this for functions which it implements
95425 to always fail with ENOSYS. Some functions are actually named
95426 something starting with __ and the normal name is an alias. */
95427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95428 choke me
95429 #else
95430 char (*f) () = $ac_func;
95431 #endif
95432 #ifdef __cplusplus
95434 #endif
95437 main ()
95439 return f != $ac_func;
95441 return 0;
95443 _ACEOF
95444 rm -f conftest.$ac_objext conftest$ac_exeext
95445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95446 (eval $ac_link) 2>conftest.er1
95447 ac_status=$?
95448 grep -v '^ *+' conftest.er1 >conftest.err
95449 rm -f conftest.er1
95450 cat conftest.err >&5
95451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95452 (exit $ac_status); } &&
95453 { ac_try='test -z "$ac_c_werror_flag"
95454 || test ! -s conftest.err'
95455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95456 (eval $ac_try) 2>&5
95457 ac_status=$?
95458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95459 (exit $ac_status); }; } &&
95460 { ac_try='test -s conftest$ac_exeext'
95461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95462 (eval $ac_try) 2>&5
95463 ac_status=$?
95464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95465 (exit $ac_status); }; }; then
95466 eval "$as_ac_var=yes"
95467 else
95468 echo "$as_me: failed program was:" >&5
95469 sed 's/^/| /' conftest.$ac_ext >&5
95471 eval "$as_ac_var=no"
95473 rm -f conftest.err conftest.$ac_objext \
95474 conftest$ac_exeext conftest.$ac_ext
95476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95478 if test `eval echo '${'$as_ac_var'}'` = yes; then
95479 cat >>confdefs.h <<_ACEOF
95480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95481 _ACEOF
95484 done
95494 echo "$as_me:$LINENO: checking for modff declaration" >&5
95495 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
95496 if test x${glibcxx_cv_func_modff_use+set} != xset; then
95497 if test "${glibcxx_cv_func_modff_use+set}" = set; then
95498 echo $ECHO_N "(cached) $ECHO_C" >&6
95499 else
95503 ac_ext=cc
95504 ac_cpp='$CXXCPP $CPPFLAGS'
95505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95509 cat >conftest.$ac_ext <<_ACEOF
95510 /* confdefs.h. */
95511 _ACEOF
95512 cat confdefs.h >>conftest.$ac_ext
95513 cat >>conftest.$ac_ext <<_ACEOF
95514 /* end confdefs.h. */
95515 #include <math.h>
95517 main ()
95519 modff(0, 0);
95521 return 0;
95523 _ACEOF
95524 rm -f conftest.$ac_objext
95525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95526 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_modff_use=yes
95547 else
95548 echo "$as_me: failed program was:" >&5
95549 sed 's/^/| /' conftest.$ac_ext >&5
95551 glibcxx_cv_func_modff_use=no
95553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95554 ac_ext=c
95555 ac_cpp='$CPP $CPPFLAGS'
95556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95564 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
95565 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
95567 if test x$glibcxx_cv_func_modff_use = x"yes"; then
95569 for ac_func in modff
95571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95572 echo "$as_me:$LINENO: checking for $ac_func" >&5
95573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95574 if eval "test \"\${$as_ac_var+set}\" = set"; then
95575 echo $ECHO_N "(cached) $ECHO_C" >&6
95576 else
95577 if test x$gcc_no_link = xyes; then
95578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95580 { (exit 1); exit 1; }; }
95582 cat >conftest.$ac_ext <<_ACEOF
95583 /* confdefs.h. */
95584 _ACEOF
95585 cat confdefs.h >>conftest.$ac_ext
95586 cat >>conftest.$ac_ext <<_ACEOF
95587 /* end confdefs.h. */
95588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95590 #define $ac_func innocuous_$ac_func
95592 /* System header to define __stub macros and hopefully few prototypes,
95593 which can conflict with char $ac_func (); below.
95594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95595 <limits.h> exists even on freestanding compilers. */
95597 #ifdef __STDC__
95598 # include <limits.h>
95599 #else
95600 # include <assert.h>
95601 #endif
95603 #undef $ac_func
95605 /* Override any gcc2 internal prototype to avoid an error. */
95606 #ifdef __cplusplus
95607 extern "C"
95609 #endif
95610 /* We use char because int might match the return type of a gcc2
95611 builtin and then its argument prototype would still apply. */
95612 char $ac_func ();
95613 /* The GNU C library defines this for functions which it implements
95614 to always fail with ENOSYS. Some functions are actually named
95615 something starting with __ and the normal name is an alias. */
95616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95617 choke me
95618 #else
95619 char (*f) () = $ac_func;
95620 #endif
95621 #ifdef __cplusplus
95623 #endif
95626 main ()
95628 return f != $ac_func;
95630 return 0;
95632 _ACEOF
95633 rm -f conftest.$ac_objext conftest$ac_exeext
95634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95635 (eval $ac_link) 2>conftest.er1
95636 ac_status=$?
95637 grep -v '^ *+' conftest.er1 >conftest.err
95638 rm -f conftest.er1
95639 cat conftest.err >&5
95640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95641 (exit $ac_status); } &&
95642 { ac_try='test -z "$ac_c_werror_flag"
95643 || test ! -s conftest.err'
95644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95645 (eval $ac_try) 2>&5
95646 ac_status=$?
95647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95648 (exit $ac_status); }; } &&
95649 { ac_try='test -s conftest$ac_exeext'
95650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95651 (eval $ac_try) 2>&5
95652 ac_status=$?
95653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95654 (exit $ac_status); }; }; then
95655 eval "$as_ac_var=yes"
95656 else
95657 echo "$as_me: failed program was:" >&5
95658 sed 's/^/| /' conftest.$ac_ext >&5
95660 eval "$as_ac_var=no"
95662 rm -f conftest.err conftest.$ac_objext \
95663 conftest$ac_exeext conftest.$ac_ext
95665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95667 if test `eval echo '${'$as_ac_var'}'` = yes; then
95668 cat >>confdefs.h <<_ACEOF
95669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95670 _ACEOF
95673 done
95675 else
95677 echo "$as_me:$LINENO: checking for _modff declaration" >&5
95678 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
95679 if test x${glibcxx_cv_func__modff_use+set} != xset; then
95680 if test "${glibcxx_cv_func__modff_use+set}" = set; then
95681 echo $ECHO_N "(cached) $ECHO_C" >&6
95682 else
95686 ac_ext=cc
95687 ac_cpp='$CXXCPP $CPPFLAGS'
95688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95692 cat >conftest.$ac_ext <<_ACEOF
95693 /* confdefs.h. */
95694 _ACEOF
95695 cat confdefs.h >>conftest.$ac_ext
95696 cat >>conftest.$ac_ext <<_ACEOF
95697 /* end confdefs.h. */
95698 #include <math.h>
95700 main ()
95702 _modff(0, 0);
95704 return 0;
95706 _ACEOF
95707 rm -f conftest.$ac_objext
95708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95709 (eval $ac_compile) 2>conftest.er1
95710 ac_status=$?
95711 grep -v '^ *+' conftest.er1 >conftest.err
95712 rm -f conftest.er1
95713 cat conftest.err >&5
95714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95715 (exit $ac_status); } &&
95716 { ac_try='test -z "$ac_cxx_werror_flag"
95717 || test ! -s conftest.err'
95718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95719 (eval $ac_try) 2>&5
95720 ac_status=$?
95721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95722 (exit $ac_status); }; } &&
95723 { ac_try='test -s conftest.$ac_objext'
95724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95725 (eval $ac_try) 2>&5
95726 ac_status=$?
95727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95728 (exit $ac_status); }; }; then
95729 glibcxx_cv_func__modff_use=yes
95730 else
95731 echo "$as_me: failed program was:" >&5
95732 sed 's/^/| /' conftest.$ac_ext >&5
95734 glibcxx_cv_func__modff_use=no
95736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95737 ac_ext=c
95738 ac_cpp='$CPP $CPPFLAGS'
95739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95747 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
95748 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
95750 if test x$glibcxx_cv_func__modff_use = x"yes"; then
95752 for ac_func in _modff
95754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95755 echo "$as_me:$LINENO: checking for $ac_func" >&5
95756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95757 if eval "test \"\${$as_ac_var+set}\" = set"; then
95758 echo $ECHO_N "(cached) $ECHO_C" >&6
95759 else
95760 if test x$gcc_no_link = xyes; then
95761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95763 { (exit 1); exit 1; }; }
95765 cat >conftest.$ac_ext <<_ACEOF
95766 /* confdefs.h. */
95767 _ACEOF
95768 cat confdefs.h >>conftest.$ac_ext
95769 cat >>conftest.$ac_ext <<_ACEOF
95770 /* end confdefs.h. */
95771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95773 #define $ac_func innocuous_$ac_func
95775 /* System header to define __stub macros and hopefully few prototypes,
95776 which can conflict with char $ac_func (); below.
95777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95778 <limits.h> exists even on freestanding compilers. */
95780 #ifdef __STDC__
95781 # include <limits.h>
95782 #else
95783 # include <assert.h>
95784 #endif
95786 #undef $ac_func
95788 /* Override any gcc2 internal prototype to avoid an error. */
95789 #ifdef __cplusplus
95790 extern "C"
95792 #endif
95793 /* We use char because int might match the return type of a gcc2
95794 builtin and then its argument prototype would still apply. */
95795 char $ac_func ();
95796 /* The GNU C library defines this for functions which it implements
95797 to always fail with ENOSYS. Some functions are actually named
95798 something starting with __ and the normal name is an alias. */
95799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95800 choke me
95801 #else
95802 char (*f) () = $ac_func;
95803 #endif
95804 #ifdef __cplusplus
95806 #endif
95809 main ()
95811 return f != $ac_func;
95813 return 0;
95815 _ACEOF
95816 rm -f conftest.$ac_objext conftest$ac_exeext
95817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95818 (eval $ac_link) 2>conftest.er1
95819 ac_status=$?
95820 grep -v '^ *+' conftest.er1 >conftest.err
95821 rm -f conftest.er1
95822 cat conftest.err >&5
95823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95824 (exit $ac_status); } &&
95825 { ac_try='test -z "$ac_c_werror_flag"
95826 || test ! -s conftest.err'
95827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95828 (eval $ac_try) 2>&5
95829 ac_status=$?
95830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95831 (exit $ac_status); }; } &&
95832 { ac_try='test -s conftest$ac_exeext'
95833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95834 (eval $ac_try) 2>&5
95835 ac_status=$?
95836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95837 (exit $ac_status); }; }; then
95838 eval "$as_ac_var=yes"
95839 else
95840 echo "$as_me: failed program was:" >&5
95841 sed 's/^/| /' conftest.$ac_ext >&5
95843 eval "$as_ac_var=no"
95845 rm -f conftest.err conftest.$ac_objext \
95846 conftest$ac_exeext conftest.$ac_ext
95848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95850 if test `eval echo '${'$as_ac_var'}'` = yes; then
95851 cat >>confdefs.h <<_ACEOF
95852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95853 _ACEOF
95856 done
95866 echo "$as_me:$LINENO: checking for modf declaration" >&5
95867 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
95868 if test x${glibcxx_cv_func_modf_use+set} != xset; then
95869 if test "${glibcxx_cv_func_modf_use+set}" = set; then
95870 echo $ECHO_N "(cached) $ECHO_C" >&6
95871 else
95875 ac_ext=cc
95876 ac_cpp='$CXXCPP $CPPFLAGS'
95877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95881 cat >conftest.$ac_ext <<_ACEOF
95882 /* confdefs.h. */
95883 _ACEOF
95884 cat confdefs.h >>conftest.$ac_ext
95885 cat >>conftest.$ac_ext <<_ACEOF
95886 /* end confdefs.h. */
95887 #include <math.h>
95889 main ()
95891 modf(0, 0);
95893 return 0;
95895 _ACEOF
95896 rm -f conftest.$ac_objext
95897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95898 (eval $ac_compile) 2>conftest.er1
95899 ac_status=$?
95900 grep -v '^ *+' conftest.er1 >conftest.err
95901 rm -f conftest.er1
95902 cat conftest.err >&5
95903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95904 (exit $ac_status); } &&
95905 { ac_try='test -z "$ac_cxx_werror_flag"
95906 || test ! -s conftest.err'
95907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95908 (eval $ac_try) 2>&5
95909 ac_status=$?
95910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95911 (exit $ac_status); }; } &&
95912 { ac_try='test -s conftest.$ac_objext'
95913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95914 (eval $ac_try) 2>&5
95915 ac_status=$?
95916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95917 (exit $ac_status); }; }; then
95918 glibcxx_cv_func_modf_use=yes
95919 else
95920 echo "$as_me: failed program was:" >&5
95921 sed 's/^/| /' conftest.$ac_ext >&5
95923 glibcxx_cv_func_modf_use=no
95925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95926 ac_ext=c
95927 ac_cpp='$CPP $CPPFLAGS'
95928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95936 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
95937 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
95939 if test x$glibcxx_cv_func_modf_use = x"yes"; then
95941 for ac_func in modf
95943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95944 echo "$as_me:$LINENO: checking for $ac_func" >&5
95945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95946 if eval "test \"\${$as_ac_var+set}\" = set"; then
95947 echo $ECHO_N "(cached) $ECHO_C" >&6
95948 else
95949 if test x$gcc_no_link = xyes; then
95950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95952 { (exit 1); exit 1; }; }
95954 cat >conftest.$ac_ext <<_ACEOF
95955 /* confdefs.h. */
95956 _ACEOF
95957 cat confdefs.h >>conftest.$ac_ext
95958 cat >>conftest.$ac_ext <<_ACEOF
95959 /* end confdefs.h. */
95960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95962 #define $ac_func innocuous_$ac_func
95964 /* System header to define __stub macros and hopefully few prototypes,
95965 which can conflict with char $ac_func (); below.
95966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95967 <limits.h> exists even on freestanding compilers. */
95969 #ifdef __STDC__
95970 # include <limits.h>
95971 #else
95972 # include <assert.h>
95973 #endif
95975 #undef $ac_func
95977 /* Override any gcc2 internal prototype to avoid an error. */
95978 #ifdef __cplusplus
95979 extern "C"
95981 #endif
95982 /* We use char because int might match the return type of a gcc2
95983 builtin and then its argument prototype would still apply. */
95984 char $ac_func ();
95985 /* The GNU C library defines this for functions which it implements
95986 to always fail with ENOSYS. Some functions are actually named
95987 something starting with __ and the normal name is an alias. */
95988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95989 choke me
95990 #else
95991 char (*f) () = $ac_func;
95992 #endif
95993 #ifdef __cplusplus
95995 #endif
95998 main ()
96000 return f != $ac_func;
96002 return 0;
96004 _ACEOF
96005 rm -f conftest.$ac_objext conftest$ac_exeext
96006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96007 (eval $ac_link) 2>conftest.er1
96008 ac_status=$?
96009 grep -v '^ *+' conftest.er1 >conftest.err
96010 rm -f conftest.er1
96011 cat conftest.err >&5
96012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96013 (exit $ac_status); } &&
96014 { ac_try='test -z "$ac_c_werror_flag"
96015 || test ! -s conftest.err'
96016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96017 (eval $ac_try) 2>&5
96018 ac_status=$?
96019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96020 (exit $ac_status); }; } &&
96021 { ac_try='test -s conftest$ac_exeext'
96022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96023 (eval $ac_try) 2>&5
96024 ac_status=$?
96025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96026 (exit $ac_status); }; }; then
96027 eval "$as_ac_var=yes"
96028 else
96029 echo "$as_me: failed program was:" >&5
96030 sed 's/^/| /' conftest.$ac_ext >&5
96032 eval "$as_ac_var=no"
96034 rm -f conftest.err conftest.$ac_objext \
96035 conftest$ac_exeext conftest.$ac_ext
96037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96039 if test `eval echo '${'$as_ac_var'}'` = yes; then
96040 cat >>confdefs.h <<_ACEOF
96041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96042 _ACEOF
96045 done
96047 else
96049 echo "$as_me:$LINENO: checking for _modf declaration" >&5
96050 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
96051 if test x${glibcxx_cv_func__modf_use+set} != xset; then
96052 if test "${glibcxx_cv_func__modf_use+set}" = set; then
96053 echo $ECHO_N "(cached) $ECHO_C" >&6
96054 else
96058 ac_ext=cc
96059 ac_cpp='$CXXCPP $CPPFLAGS'
96060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96064 cat >conftest.$ac_ext <<_ACEOF
96065 /* confdefs.h. */
96066 _ACEOF
96067 cat confdefs.h >>conftest.$ac_ext
96068 cat >>conftest.$ac_ext <<_ACEOF
96069 /* end confdefs.h. */
96070 #include <math.h>
96072 main ()
96074 _modf(0, 0);
96076 return 0;
96078 _ACEOF
96079 rm -f conftest.$ac_objext
96080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96081 (eval $ac_compile) 2>conftest.er1
96082 ac_status=$?
96083 grep -v '^ *+' conftest.er1 >conftest.err
96084 rm -f conftest.er1
96085 cat conftest.err >&5
96086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96087 (exit $ac_status); } &&
96088 { ac_try='test -z "$ac_cxx_werror_flag"
96089 || test ! -s conftest.err'
96090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96091 (eval $ac_try) 2>&5
96092 ac_status=$?
96093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96094 (exit $ac_status); }; } &&
96095 { ac_try='test -s conftest.$ac_objext'
96096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96097 (eval $ac_try) 2>&5
96098 ac_status=$?
96099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96100 (exit $ac_status); }; }; then
96101 glibcxx_cv_func__modf_use=yes
96102 else
96103 echo "$as_me: failed program was:" >&5
96104 sed 's/^/| /' conftest.$ac_ext >&5
96106 glibcxx_cv_func__modf_use=no
96108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96109 ac_ext=c
96110 ac_cpp='$CPP $CPPFLAGS'
96111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96119 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
96120 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
96122 if test x$glibcxx_cv_func__modf_use = x"yes"; then
96124 for ac_func in _modf
96126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96127 echo "$as_me:$LINENO: checking for $ac_func" >&5
96128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96129 if eval "test \"\${$as_ac_var+set}\" = set"; then
96130 echo $ECHO_N "(cached) $ECHO_C" >&6
96131 else
96132 if test x$gcc_no_link = xyes; then
96133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96135 { (exit 1); exit 1; }; }
96137 cat >conftest.$ac_ext <<_ACEOF
96138 /* confdefs.h. */
96139 _ACEOF
96140 cat confdefs.h >>conftest.$ac_ext
96141 cat >>conftest.$ac_ext <<_ACEOF
96142 /* end confdefs.h. */
96143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96145 #define $ac_func innocuous_$ac_func
96147 /* System header to define __stub macros and hopefully few prototypes,
96148 which can conflict with char $ac_func (); below.
96149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96150 <limits.h> exists even on freestanding compilers. */
96152 #ifdef __STDC__
96153 # include <limits.h>
96154 #else
96155 # include <assert.h>
96156 #endif
96158 #undef $ac_func
96160 /* Override any gcc2 internal prototype to avoid an error. */
96161 #ifdef __cplusplus
96162 extern "C"
96164 #endif
96165 /* We use char because int might match the return type of a gcc2
96166 builtin and then its argument prototype would still apply. */
96167 char $ac_func ();
96168 /* The GNU C library defines this for functions which it implements
96169 to always fail with ENOSYS. Some functions are actually named
96170 something starting with __ and the normal name is an alias. */
96171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96172 choke me
96173 #else
96174 char (*f) () = $ac_func;
96175 #endif
96176 #ifdef __cplusplus
96178 #endif
96181 main ()
96183 return f != $ac_func;
96185 return 0;
96187 _ACEOF
96188 rm -f conftest.$ac_objext conftest$ac_exeext
96189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96190 (eval $ac_link) 2>conftest.er1
96191 ac_status=$?
96192 grep -v '^ *+' conftest.er1 >conftest.err
96193 rm -f conftest.er1
96194 cat conftest.err >&5
96195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96196 (exit $ac_status); } &&
96197 { ac_try='test -z "$ac_c_werror_flag"
96198 || test ! -s conftest.err'
96199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96200 (eval $ac_try) 2>&5
96201 ac_status=$?
96202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96203 (exit $ac_status); }; } &&
96204 { ac_try='test -s conftest$ac_exeext'
96205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96206 (eval $ac_try) 2>&5
96207 ac_status=$?
96208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96209 (exit $ac_status); }; }; then
96210 eval "$as_ac_var=yes"
96211 else
96212 echo "$as_me: failed program was:" >&5
96213 sed 's/^/| /' conftest.$ac_ext >&5
96215 eval "$as_ac_var=no"
96217 rm -f conftest.err conftest.$ac_objext \
96218 conftest$ac_exeext conftest.$ac_ext
96220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96222 if test `eval echo '${'$as_ac_var'}'` = yes; then
96223 cat >>confdefs.h <<_ACEOF
96224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96225 _ACEOF
96228 done
96238 echo "$as_me:$LINENO: checking for powf declaration" >&5
96239 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
96240 if test x${glibcxx_cv_func_powf_use+set} != xset; then
96241 if test "${glibcxx_cv_func_powf_use+set}" = set; then
96242 echo $ECHO_N "(cached) $ECHO_C" >&6
96243 else
96247 ac_ext=cc
96248 ac_cpp='$CXXCPP $CPPFLAGS'
96249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96253 cat >conftest.$ac_ext <<_ACEOF
96254 /* confdefs.h. */
96255 _ACEOF
96256 cat confdefs.h >>conftest.$ac_ext
96257 cat >>conftest.$ac_ext <<_ACEOF
96258 /* end confdefs.h. */
96259 #include <math.h>
96261 main ()
96263 powf(0, 0);
96265 return 0;
96267 _ACEOF
96268 rm -f conftest.$ac_objext
96269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96270 (eval $ac_compile) 2>conftest.er1
96271 ac_status=$?
96272 grep -v '^ *+' conftest.er1 >conftest.err
96273 rm -f conftest.er1
96274 cat conftest.err >&5
96275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96276 (exit $ac_status); } &&
96277 { ac_try='test -z "$ac_cxx_werror_flag"
96278 || test ! -s conftest.err'
96279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96280 (eval $ac_try) 2>&5
96281 ac_status=$?
96282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96283 (exit $ac_status); }; } &&
96284 { ac_try='test -s conftest.$ac_objext'
96285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96286 (eval $ac_try) 2>&5
96287 ac_status=$?
96288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96289 (exit $ac_status); }; }; then
96290 glibcxx_cv_func_powf_use=yes
96291 else
96292 echo "$as_me: failed program was:" >&5
96293 sed 's/^/| /' conftest.$ac_ext >&5
96295 glibcxx_cv_func_powf_use=no
96297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96298 ac_ext=c
96299 ac_cpp='$CPP $CPPFLAGS'
96300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96308 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
96309 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
96311 if test x$glibcxx_cv_func_powf_use = x"yes"; then
96313 for ac_func in powf
96315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96316 echo "$as_me:$LINENO: checking for $ac_func" >&5
96317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96318 if eval "test \"\${$as_ac_var+set}\" = set"; then
96319 echo $ECHO_N "(cached) $ECHO_C" >&6
96320 else
96321 if test x$gcc_no_link = xyes; then
96322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96324 { (exit 1); exit 1; }; }
96326 cat >conftest.$ac_ext <<_ACEOF
96327 /* confdefs.h. */
96328 _ACEOF
96329 cat confdefs.h >>conftest.$ac_ext
96330 cat >>conftest.$ac_ext <<_ACEOF
96331 /* end confdefs.h. */
96332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96334 #define $ac_func innocuous_$ac_func
96336 /* System header to define __stub macros and hopefully few prototypes,
96337 which can conflict with char $ac_func (); below.
96338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96339 <limits.h> exists even on freestanding compilers. */
96341 #ifdef __STDC__
96342 # include <limits.h>
96343 #else
96344 # include <assert.h>
96345 #endif
96347 #undef $ac_func
96349 /* Override any gcc2 internal prototype to avoid an error. */
96350 #ifdef __cplusplus
96351 extern "C"
96353 #endif
96354 /* We use char because int might match the return type of a gcc2
96355 builtin and then its argument prototype would still apply. */
96356 char $ac_func ();
96357 /* The GNU C library defines this for functions which it implements
96358 to always fail with ENOSYS. Some functions are actually named
96359 something starting with __ and the normal name is an alias. */
96360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96361 choke me
96362 #else
96363 char (*f) () = $ac_func;
96364 #endif
96365 #ifdef __cplusplus
96367 #endif
96370 main ()
96372 return f != $ac_func;
96374 return 0;
96376 _ACEOF
96377 rm -f conftest.$ac_objext conftest$ac_exeext
96378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96379 (eval $ac_link) 2>conftest.er1
96380 ac_status=$?
96381 grep -v '^ *+' conftest.er1 >conftest.err
96382 rm -f conftest.er1
96383 cat conftest.err >&5
96384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96385 (exit $ac_status); } &&
96386 { ac_try='test -z "$ac_c_werror_flag"
96387 || test ! -s conftest.err'
96388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96389 (eval $ac_try) 2>&5
96390 ac_status=$?
96391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96392 (exit $ac_status); }; } &&
96393 { ac_try='test -s conftest$ac_exeext'
96394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96395 (eval $ac_try) 2>&5
96396 ac_status=$?
96397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96398 (exit $ac_status); }; }; then
96399 eval "$as_ac_var=yes"
96400 else
96401 echo "$as_me: failed program was:" >&5
96402 sed 's/^/| /' conftest.$ac_ext >&5
96404 eval "$as_ac_var=no"
96406 rm -f conftest.err conftest.$ac_objext \
96407 conftest$ac_exeext conftest.$ac_ext
96409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96411 if test `eval echo '${'$as_ac_var'}'` = yes; then
96412 cat >>confdefs.h <<_ACEOF
96413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96414 _ACEOF
96417 done
96419 else
96421 echo "$as_me:$LINENO: checking for _powf declaration" >&5
96422 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
96423 if test x${glibcxx_cv_func__powf_use+set} != xset; then
96424 if test "${glibcxx_cv_func__powf_use+set}" = set; then
96425 echo $ECHO_N "(cached) $ECHO_C" >&6
96426 else
96430 ac_ext=cc
96431 ac_cpp='$CXXCPP $CPPFLAGS'
96432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96436 cat >conftest.$ac_ext <<_ACEOF
96437 /* confdefs.h. */
96438 _ACEOF
96439 cat confdefs.h >>conftest.$ac_ext
96440 cat >>conftest.$ac_ext <<_ACEOF
96441 /* end confdefs.h. */
96442 #include <math.h>
96444 main ()
96446 _powf(0, 0);
96448 return 0;
96450 _ACEOF
96451 rm -f conftest.$ac_objext
96452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96453 (eval $ac_compile) 2>conftest.er1
96454 ac_status=$?
96455 grep -v '^ *+' conftest.er1 >conftest.err
96456 rm -f conftest.er1
96457 cat conftest.err >&5
96458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96459 (exit $ac_status); } &&
96460 { ac_try='test -z "$ac_cxx_werror_flag"
96461 || test ! -s conftest.err'
96462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96463 (eval $ac_try) 2>&5
96464 ac_status=$?
96465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96466 (exit $ac_status); }; } &&
96467 { ac_try='test -s conftest.$ac_objext'
96468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96469 (eval $ac_try) 2>&5
96470 ac_status=$?
96471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96472 (exit $ac_status); }; }; then
96473 glibcxx_cv_func__powf_use=yes
96474 else
96475 echo "$as_me: failed program was:" >&5
96476 sed 's/^/| /' conftest.$ac_ext >&5
96478 glibcxx_cv_func__powf_use=no
96480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96481 ac_ext=c
96482 ac_cpp='$CPP $CPPFLAGS'
96483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96491 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
96492 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
96494 if test x$glibcxx_cv_func__powf_use = x"yes"; then
96496 for ac_func in _powf
96498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96499 echo "$as_me:$LINENO: checking for $ac_func" >&5
96500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96501 if eval "test \"\${$as_ac_var+set}\" = set"; then
96502 echo $ECHO_N "(cached) $ECHO_C" >&6
96503 else
96504 if test x$gcc_no_link = xyes; then
96505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96507 { (exit 1); exit 1; }; }
96509 cat >conftest.$ac_ext <<_ACEOF
96510 /* confdefs.h. */
96511 _ACEOF
96512 cat confdefs.h >>conftest.$ac_ext
96513 cat >>conftest.$ac_ext <<_ACEOF
96514 /* end confdefs.h. */
96515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96517 #define $ac_func innocuous_$ac_func
96519 /* System header to define __stub macros and hopefully few prototypes,
96520 which can conflict with char $ac_func (); below.
96521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96522 <limits.h> exists even on freestanding compilers. */
96524 #ifdef __STDC__
96525 # include <limits.h>
96526 #else
96527 # include <assert.h>
96528 #endif
96530 #undef $ac_func
96532 /* Override any gcc2 internal prototype to avoid an error. */
96533 #ifdef __cplusplus
96534 extern "C"
96536 #endif
96537 /* We use char because int might match the return type of a gcc2
96538 builtin and then its argument prototype would still apply. */
96539 char $ac_func ();
96540 /* The GNU C library defines this for functions which it implements
96541 to always fail with ENOSYS. Some functions are actually named
96542 something starting with __ and the normal name is an alias. */
96543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96544 choke me
96545 #else
96546 char (*f) () = $ac_func;
96547 #endif
96548 #ifdef __cplusplus
96550 #endif
96553 main ()
96555 return f != $ac_func;
96557 return 0;
96559 _ACEOF
96560 rm -f conftest.$ac_objext conftest$ac_exeext
96561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96562 (eval $ac_link) 2>conftest.er1
96563 ac_status=$?
96564 grep -v '^ *+' conftest.er1 >conftest.err
96565 rm -f conftest.er1
96566 cat conftest.err >&5
96567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96568 (exit $ac_status); } &&
96569 { ac_try='test -z "$ac_c_werror_flag"
96570 || test ! -s conftest.err'
96571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96572 (eval $ac_try) 2>&5
96573 ac_status=$?
96574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96575 (exit $ac_status); }; } &&
96576 { ac_try='test -s conftest$ac_exeext'
96577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96578 (eval $ac_try) 2>&5
96579 ac_status=$?
96580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96581 (exit $ac_status); }; }; then
96582 eval "$as_ac_var=yes"
96583 else
96584 echo "$as_me: failed program was:" >&5
96585 sed 's/^/| /' conftest.$ac_ext >&5
96587 eval "$as_ac_var=no"
96589 rm -f conftest.err conftest.$ac_objext \
96590 conftest$ac_exeext conftest.$ac_ext
96592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96594 if test `eval echo '${'$as_ac_var'}'` = yes; then
96595 cat >>confdefs.h <<_ACEOF
96596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96597 _ACEOF
96600 done
96610 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
96611 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
96612 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
96613 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
96614 echo $ECHO_N "(cached) $ECHO_C" >&6
96615 else
96619 ac_ext=cc
96620 ac_cpp='$CXXCPP $CPPFLAGS'
96621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96625 cat >conftest.$ac_ext <<_ACEOF
96626 /* confdefs.h. */
96627 _ACEOF
96628 cat confdefs.h >>conftest.$ac_ext
96629 cat >>conftest.$ac_ext <<_ACEOF
96630 /* end confdefs.h. */
96631 #include <math.h>
96632 #ifdef HAVE_IEEEFP_H
96633 #include <ieeefp.h>
96634 #endif
96637 main ()
96639 sqrtf(0);
96641 return 0;
96643 _ACEOF
96644 rm -f conftest.$ac_objext
96645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96646 (eval $ac_compile) 2>conftest.er1
96647 ac_status=$?
96648 grep -v '^ *+' conftest.er1 >conftest.err
96649 rm -f conftest.er1
96650 cat conftest.err >&5
96651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96652 (exit $ac_status); } &&
96653 { ac_try='test -z "$ac_cxx_werror_flag"
96654 || test ! -s conftest.err'
96655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96656 (eval $ac_try) 2>&5
96657 ac_status=$?
96658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96659 (exit $ac_status); }; } &&
96660 { ac_try='test -s conftest.$ac_objext'
96661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96662 (eval $ac_try) 2>&5
96663 ac_status=$?
96664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96665 (exit $ac_status); }; }; then
96666 glibcxx_cv_func_sqrtf_use=yes
96667 else
96668 echo "$as_me: failed program was:" >&5
96669 sed 's/^/| /' conftest.$ac_ext >&5
96671 glibcxx_cv_func_sqrtf_use=no
96673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96674 ac_ext=c
96675 ac_cpp='$CPP $CPPFLAGS'
96676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96684 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
96685 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
96687 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
96689 for ac_func in sqrtf
96691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96692 echo "$as_me:$LINENO: checking for $ac_func" >&5
96693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96694 if eval "test \"\${$as_ac_var+set}\" = set"; then
96695 echo $ECHO_N "(cached) $ECHO_C" >&6
96696 else
96697 if test x$gcc_no_link = xyes; then
96698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96700 { (exit 1); exit 1; }; }
96702 cat >conftest.$ac_ext <<_ACEOF
96703 /* confdefs.h. */
96704 _ACEOF
96705 cat confdefs.h >>conftest.$ac_ext
96706 cat >>conftest.$ac_ext <<_ACEOF
96707 /* end confdefs.h. */
96708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96710 #define $ac_func innocuous_$ac_func
96712 /* System header to define __stub macros and hopefully few prototypes,
96713 which can conflict with char $ac_func (); below.
96714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96715 <limits.h> exists even on freestanding compilers. */
96717 #ifdef __STDC__
96718 # include <limits.h>
96719 #else
96720 # include <assert.h>
96721 #endif
96723 #undef $ac_func
96725 /* Override any gcc2 internal prototype to avoid an error. */
96726 #ifdef __cplusplus
96727 extern "C"
96729 #endif
96730 /* We use char because int might match the return type of a gcc2
96731 builtin and then its argument prototype would still apply. */
96732 char $ac_func ();
96733 /* The GNU C library defines this for functions which it implements
96734 to always fail with ENOSYS. Some functions are actually named
96735 something starting with __ and the normal name is an alias. */
96736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96737 choke me
96738 #else
96739 char (*f) () = $ac_func;
96740 #endif
96741 #ifdef __cplusplus
96743 #endif
96746 main ()
96748 return f != $ac_func;
96750 return 0;
96752 _ACEOF
96753 rm -f conftest.$ac_objext conftest$ac_exeext
96754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96755 (eval $ac_link) 2>conftest.er1
96756 ac_status=$?
96757 grep -v '^ *+' conftest.er1 >conftest.err
96758 rm -f conftest.er1
96759 cat conftest.err >&5
96760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96761 (exit $ac_status); } &&
96762 { ac_try='test -z "$ac_c_werror_flag"
96763 || test ! -s conftest.err'
96764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96765 (eval $ac_try) 2>&5
96766 ac_status=$?
96767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96768 (exit $ac_status); }; } &&
96769 { ac_try='test -s conftest$ac_exeext'
96770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96771 (eval $ac_try) 2>&5
96772 ac_status=$?
96773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96774 (exit $ac_status); }; }; then
96775 eval "$as_ac_var=yes"
96776 else
96777 echo "$as_me: failed program was:" >&5
96778 sed 's/^/| /' conftest.$ac_ext >&5
96780 eval "$as_ac_var=no"
96782 rm -f conftest.err conftest.$ac_objext \
96783 conftest$ac_exeext conftest.$ac_ext
96785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96787 if test `eval echo '${'$as_ac_var'}'` = yes; then
96788 cat >>confdefs.h <<_ACEOF
96789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96790 _ACEOF
96793 done
96795 else
96797 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
96798 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
96799 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
96800 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
96801 echo $ECHO_N "(cached) $ECHO_C" >&6
96802 else
96806 ac_ext=cc
96807 ac_cpp='$CXXCPP $CPPFLAGS'
96808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96812 cat >conftest.$ac_ext <<_ACEOF
96813 /* confdefs.h. */
96814 _ACEOF
96815 cat confdefs.h >>conftest.$ac_ext
96816 cat >>conftest.$ac_ext <<_ACEOF
96817 /* end confdefs.h. */
96818 #include <math.h>
96819 #ifdef HAVE_IEEEFP_H
96820 #include <ieeefp.h>
96821 #endif
96824 main ()
96826 _sqrtf(0);
96828 return 0;
96830 _ACEOF
96831 rm -f conftest.$ac_objext
96832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96833 (eval $ac_compile) 2>conftest.er1
96834 ac_status=$?
96835 grep -v '^ *+' conftest.er1 >conftest.err
96836 rm -f conftest.er1
96837 cat conftest.err >&5
96838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96839 (exit $ac_status); } &&
96840 { ac_try='test -z "$ac_cxx_werror_flag"
96841 || test ! -s conftest.err'
96842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96843 (eval $ac_try) 2>&5
96844 ac_status=$?
96845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96846 (exit $ac_status); }; } &&
96847 { ac_try='test -s conftest.$ac_objext'
96848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96849 (eval $ac_try) 2>&5
96850 ac_status=$?
96851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96852 (exit $ac_status); }; }; then
96853 glibcxx_cv_func__sqrtf_use=yes
96854 else
96855 echo "$as_me: failed program was:" >&5
96856 sed 's/^/| /' conftest.$ac_ext >&5
96858 glibcxx_cv_func__sqrtf_use=no
96860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96861 ac_ext=c
96862 ac_cpp='$CPP $CPPFLAGS'
96863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96871 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
96872 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
96874 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
96876 for ac_func in _sqrtf
96878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96879 echo "$as_me:$LINENO: checking for $ac_func" >&5
96880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96881 if eval "test \"\${$as_ac_var+set}\" = set"; then
96882 echo $ECHO_N "(cached) $ECHO_C" >&6
96883 else
96884 if test x$gcc_no_link = xyes; then
96885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96887 { (exit 1); exit 1; }; }
96889 cat >conftest.$ac_ext <<_ACEOF
96890 /* confdefs.h. */
96891 _ACEOF
96892 cat confdefs.h >>conftest.$ac_ext
96893 cat >>conftest.$ac_ext <<_ACEOF
96894 /* end confdefs.h. */
96895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96897 #define $ac_func innocuous_$ac_func
96899 /* System header to define __stub macros and hopefully few prototypes,
96900 which can conflict with char $ac_func (); below.
96901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96902 <limits.h> exists even on freestanding compilers. */
96904 #ifdef __STDC__
96905 # include <limits.h>
96906 #else
96907 # include <assert.h>
96908 #endif
96910 #undef $ac_func
96912 /* Override any gcc2 internal prototype to avoid an error. */
96913 #ifdef __cplusplus
96914 extern "C"
96916 #endif
96917 /* We use char because int might match the return type of a gcc2
96918 builtin and then its argument prototype would still apply. */
96919 char $ac_func ();
96920 /* The GNU C library defines this for functions which it implements
96921 to always fail with ENOSYS. Some functions are actually named
96922 something starting with __ and the normal name is an alias. */
96923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96924 choke me
96925 #else
96926 char (*f) () = $ac_func;
96927 #endif
96928 #ifdef __cplusplus
96930 #endif
96933 main ()
96935 return f != $ac_func;
96937 return 0;
96939 _ACEOF
96940 rm -f conftest.$ac_objext conftest$ac_exeext
96941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96942 (eval $ac_link) 2>conftest.er1
96943 ac_status=$?
96944 grep -v '^ *+' conftest.er1 >conftest.err
96945 rm -f conftest.er1
96946 cat conftest.err >&5
96947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96948 (exit $ac_status); } &&
96949 { ac_try='test -z "$ac_c_werror_flag"
96950 || test ! -s conftest.err'
96951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96952 (eval $ac_try) 2>&5
96953 ac_status=$?
96954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96955 (exit $ac_status); }; } &&
96956 { ac_try='test -s conftest$ac_exeext'
96957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96958 (eval $ac_try) 2>&5
96959 ac_status=$?
96960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96961 (exit $ac_status); }; }; then
96962 eval "$as_ac_var=yes"
96963 else
96964 echo "$as_me: failed program was:" >&5
96965 sed 's/^/| /' conftest.$ac_ext >&5
96967 eval "$as_ac_var=no"
96969 rm -f conftest.err conftest.$ac_objext \
96970 conftest$ac_exeext conftest.$ac_ext
96972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96974 if test `eval echo '${'$as_ac_var'}'` = yes; then
96975 cat >>confdefs.h <<_ACEOF
96976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96977 _ACEOF
96980 done
96990 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
96991 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
96992 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
96993 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
96994 echo $ECHO_N "(cached) $ECHO_C" >&6
96995 else
96999 ac_ext=cc
97000 ac_cpp='$CXXCPP $CPPFLAGS'
97001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97005 cat >conftest.$ac_ext <<_ACEOF
97006 /* confdefs.h. */
97007 _ACEOF
97008 cat confdefs.h >>conftest.$ac_ext
97009 cat >>conftest.$ac_ext <<_ACEOF
97010 /* end confdefs.h. */
97011 #include <math.h>
97013 main ()
97015 sincosf(0, 0, 0);
97017 return 0;
97019 _ACEOF
97020 rm -f conftest.$ac_objext
97021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97022 (eval $ac_compile) 2>conftest.er1
97023 ac_status=$?
97024 grep -v '^ *+' conftest.er1 >conftest.err
97025 rm -f conftest.er1
97026 cat conftest.err >&5
97027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97028 (exit $ac_status); } &&
97029 { ac_try='test -z "$ac_cxx_werror_flag"
97030 || test ! -s conftest.err'
97031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97032 (eval $ac_try) 2>&5
97033 ac_status=$?
97034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97035 (exit $ac_status); }; } &&
97036 { ac_try='test -s conftest.$ac_objext'
97037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97038 (eval $ac_try) 2>&5
97039 ac_status=$?
97040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97041 (exit $ac_status); }; }; then
97042 glibcxx_cv_func_sincosf_use=yes
97043 else
97044 echo "$as_me: failed program was:" >&5
97045 sed 's/^/| /' conftest.$ac_ext >&5
97047 glibcxx_cv_func_sincosf_use=no
97049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97050 ac_ext=c
97051 ac_cpp='$CPP $CPPFLAGS'
97052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97060 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
97061 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
97063 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
97065 for ac_func in sincosf
97067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97068 echo "$as_me:$LINENO: checking for $ac_func" >&5
97069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97070 if eval "test \"\${$as_ac_var+set}\" = set"; then
97071 echo $ECHO_N "(cached) $ECHO_C" >&6
97072 else
97073 if test x$gcc_no_link = xyes; then
97074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97076 { (exit 1); exit 1; }; }
97078 cat >conftest.$ac_ext <<_ACEOF
97079 /* confdefs.h. */
97080 _ACEOF
97081 cat confdefs.h >>conftest.$ac_ext
97082 cat >>conftest.$ac_ext <<_ACEOF
97083 /* end confdefs.h. */
97084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97086 #define $ac_func innocuous_$ac_func
97088 /* System header to define __stub macros and hopefully few prototypes,
97089 which can conflict with char $ac_func (); below.
97090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97091 <limits.h> exists even on freestanding compilers. */
97093 #ifdef __STDC__
97094 # include <limits.h>
97095 #else
97096 # include <assert.h>
97097 #endif
97099 #undef $ac_func
97101 /* Override any gcc2 internal prototype to avoid an error. */
97102 #ifdef __cplusplus
97103 extern "C"
97105 #endif
97106 /* We use char because int might match the return type of a gcc2
97107 builtin and then its argument prototype would still apply. */
97108 char $ac_func ();
97109 /* The GNU C library defines this for functions which it implements
97110 to always fail with ENOSYS. Some functions are actually named
97111 something starting with __ and the normal name is an alias. */
97112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97113 choke me
97114 #else
97115 char (*f) () = $ac_func;
97116 #endif
97117 #ifdef __cplusplus
97119 #endif
97122 main ()
97124 return f != $ac_func;
97126 return 0;
97128 _ACEOF
97129 rm -f conftest.$ac_objext conftest$ac_exeext
97130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97131 (eval $ac_link) 2>conftest.er1
97132 ac_status=$?
97133 grep -v '^ *+' conftest.er1 >conftest.err
97134 rm -f conftest.er1
97135 cat conftest.err >&5
97136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97137 (exit $ac_status); } &&
97138 { ac_try='test -z "$ac_c_werror_flag"
97139 || test ! -s conftest.err'
97140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97141 (eval $ac_try) 2>&5
97142 ac_status=$?
97143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97144 (exit $ac_status); }; } &&
97145 { ac_try='test -s conftest$ac_exeext'
97146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97147 (eval $ac_try) 2>&5
97148 ac_status=$?
97149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97150 (exit $ac_status); }; }; then
97151 eval "$as_ac_var=yes"
97152 else
97153 echo "$as_me: failed program was:" >&5
97154 sed 's/^/| /' conftest.$ac_ext >&5
97156 eval "$as_ac_var=no"
97158 rm -f conftest.err conftest.$ac_objext \
97159 conftest$ac_exeext conftest.$ac_ext
97161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97163 if test `eval echo '${'$as_ac_var'}'` = yes; then
97164 cat >>confdefs.h <<_ACEOF
97165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97166 _ACEOF
97169 done
97171 else
97173 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
97174 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
97175 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
97176 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
97177 echo $ECHO_N "(cached) $ECHO_C" >&6
97178 else
97182 ac_ext=cc
97183 ac_cpp='$CXXCPP $CPPFLAGS'
97184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97188 cat >conftest.$ac_ext <<_ACEOF
97189 /* confdefs.h. */
97190 _ACEOF
97191 cat confdefs.h >>conftest.$ac_ext
97192 cat >>conftest.$ac_ext <<_ACEOF
97193 /* end confdefs.h. */
97194 #include <math.h>
97196 main ()
97198 _sincosf(0, 0, 0);
97200 return 0;
97202 _ACEOF
97203 rm -f conftest.$ac_objext
97204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97205 (eval $ac_compile) 2>conftest.er1
97206 ac_status=$?
97207 grep -v '^ *+' conftest.er1 >conftest.err
97208 rm -f conftest.er1
97209 cat conftest.err >&5
97210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97211 (exit $ac_status); } &&
97212 { ac_try='test -z "$ac_cxx_werror_flag"
97213 || test ! -s conftest.err'
97214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97215 (eval $ac_try) 2>&5
97216 ac_status=$?
97217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97218 (exit $ac_status); }; } &&
97219 { ac_try='test -s conftest.$ac_objext'
97220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97221 (eval $ac_try) 2>&5
97222 ac_status=$?
97223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97224 (exit $ac_status); }; }; then
97225 glibcxx_cv_func__sincosf_use=yes
97226 else
97227 echo "$as_me: failed program was:" >&5
97228 sed 's/^/| /' conftest.$ac_ext >&5
97230 glibcxx_cv_func__sincosf_use=no
97232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97233 ac_ext=c
97234 ac_cpp='$CPP $CPPFLAGS'
97235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97243 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
97244 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
97246 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
97248 for ac_func in _sincosf
97250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97251 echo "$as_me:$LINENO: checking for $ac_func" >&5
97252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97253 if eval "test \"\${$as_ac_var+set}\" = set"; then
97254 echo $ECHO_N "(cached) $ECHO_C" >&6
97255 else
97256 if test x$gcc_no_link = xyes; then
97257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97259 { (exit 1); exit 1; }; }
97261 cat >conftest.$ac_ext <<_ACEOF
97262 /* confdefs.h. */
97263 _ACEOF
97264 cat confdefs.h >>conftest.$ac_ext
97265 cat >>conftest.$ac_ext <<_ACEOF
97266 /* end confdefs.h. */
97267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97269 #define $ac_func innocuous_$ac_func
97271 /* System header to define __stub macros and hopefully few prototypes,
97272 which can conflict with char $ac_func (); below.
97273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97274 <limits.h> exists even on freestanding compilers. */
97276 #ifdef __STDC__
97277 # include <limits.h>
97278 #else
97279 # include <assert.h>
97280 #endif
97282 #undef $ac_func
97284 /* Override any gcc2 internal prototype to avoid an error. */
97285 #ifdef __cplusplus
97286 extern "C"
97288 #endif
97289 /* We use char because int might match the return type of a gcc2
97290 builtin and then its argument prototype would still apply. */
97291 char $ac_func ();
97292 /* The GNU C library defines this for functions which it implements
97293 to always fail with ENOSYS. Some functions are actually named
97294 something starting with __ and the normal name is an alias. */
97295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97296 choke me
97297 #else
97298 char (*f) () = $ac_func;
97299 #endif
97300 #ifdef __cplusplus
97302 #endif
97305 main ()
97307 return f != $ac_func;
97309 return 0;
97311 _ACEOF
97312 rm -f conftest.$ac_objext conftest$ac_exeext
97313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97314 (eval $ac_link) 2>conftest.er1
97315 ac_status=$?
97316 grep -v '^ *+' conftest.er1 >conftest.err
97317 rm -f conftest.er1
97318 cat conftest.err >&5
97319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97320 (exit $ac_status); } &&
97321 { ac_try='test -z "$ac_c_werror_flag"
97322 || test ! -s conftest.err'
97323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97324 (eval $ac_try) 2>&5
97325 ac_status=$?
97326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97327 (exit $ac_status); }; } &&
97328 { ac_try='test -s conftest$ac_exeext'
97329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97330 (eval $ac_try) 2>&5
97331 ac_status=$?
97332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97333 (exit $ac_status); }; }; then
97334 eval "$as_ac_var=yes"
97335 else
97336 echo "$as_me: failed program was:" >&5
97337 sed 's/^/| /' conftest.$ac_ext >&5
97339 eval "$as_ac_var=no"
97341 rm -f conftest.err conftest.$ac_objext \
97342 conftest$ac_exeext conftest.$ac_ext
97344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97346 if test `eval echo '${'$as_ac_var'}'` = yes; then
97347 cat >>confdefs.h <<_ACEOF
97348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97349 _ACEOF
97352 done
97362 echo "$as_me:$LINENO: checking for finitef declaration" >&5
97363 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
97364 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
97365 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
97366 echo $ECHO_N "(cached) $ECHO_C" >&6
97367 else
97371 ac_ext=cc
97372 ac_cpp='$CXXCPP $CPPFLAGS'
97373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97377 cat >conftest.$ac_ext <<_ACEOF
97378 /* confdefs.h. */
97379 _ACEOF
97380 cat confdefs.h >>conftest.$ac_ext
97381 cat >>conftest.$ac_ext <<_ACEOF
97382 /* end confdefs.h. */
97383 #include <math.h>
97384 #ifdef HAVE_IEEEFP_H
97385 #include <ieeefp.h>
97386 #endif
97389 main ()
97391 finitef(0);
97393 return 0;
97395 _ACEOF
97396 rm -f conftest.$ac_objext
97397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97398 (eval $ac_compile) 2>conftest.er1
97399 ac_status=$?
97400 grep -v '^ *+' conftest.er1 >conftest.err
97401 rm -f conftest.er1
97402 cat conftest.err >&5
97403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97404 (exit $ac_status); } &&
97405 { ac_try='test -z "$ac_cxx_werror_flag"
97406 || test ! -s conftest.err'
97407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97408 (eval $ac_try) 2>&5
97409 ac_status=$?
97410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97411 (exit $ac_status); }; } &&
97412 { ac_try='test -s conftest.$ac_objext'
97413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97414 (eval $ac_try) 2>&5
97415 ac_status=$?
97416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97417 (exit $ac_status); }; }; then
97418 glibcxx_cv_func_finitef_use=yes
97419 else
97420 echo "$as_me: failed program was:" >&5
97421 sed 's/^/| /' conftest.$ac_ext >&5
97423 glibcxx_cv_func_finitef_use=no
97425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97426 ac_ext=c
97427 ac_cpp='$CPP $CPPFLAGS'
97428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97436 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
97437 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
97439 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
97441 for ac_func in finitef
97443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97444 echo "$as_me:$LINENO: checking for $ac_func" >&5
97445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97446 if eval "test \"\${$as_ac_var+set}\" = set"; then
97447 echo $ECHO_N "(cached) $ECHO_C" >&6
97448 else
97449 if test x$gcc_no_link = xyes; then
97450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97452 { (exit 1); exit 1; }; }
97454 cat >conftest.$ac_ext <<_ACEOF
97455 /* confdefs.h. */
97456 _ACEOF
97457 cat confdefs.h >>conftest.$ac_ext
97458 cat >>conftest.$ac_ext <<_ACEOF
97459 /* end confdefs.h. */
97460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97462 #define $ac_func innocuous_$ac_func
97464 /* System header to define __stub macros and hopefully few prototypes,
97465 which can conflict with char $ac_func (); below.
97466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97467 <limits.h> exists even on freestanding compilers. */
97469 #ifdef __STDC__
97470 # include <limits.h>
97471 #else
97472 # include <assert.h>
97473 #endif
97475 #undef $ac_func
97477 /* Override any gcc2 internal prototype to avoid an error. */
97478 #ifdef __cplusplus
97479 extern "C"
97481 #endif
97482 /* We use char because int might match the return type of a gcc2
97483 builtin and then its argument prototype would still apply. */
97484 char $ac_func ();
97485 /* The GNU C library defines this for functions which it implements
97486 to always fail with ENOSYS. Some functions are actually named
97487 something starting with __ and the normal name is an alias. */
97488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97489 choke me
97490 #else
97491 char (*f) () = $ac_func;
97492 #endif
97493 #ifdef __cplusplus
97495 #endif
97498 main ()
97500 return f != $ac_func;
97502 return 0;
97504 _ACEOF
97505 rm -f conftest.$ac_objext conftest$ac_exeext
97506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97507 (eval $ac_link) 2>conftest.er1
97508 ac_status=$?
97509 grep -v '^ *+' conftest.er1 >conftest.err
97510 rm -f conftest.er1
97511 cat conftest.err >&5
97512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97513 (exit $ac_status); } &&
97514 { ac_try='test -z "$ac_c_werror_flag"
97515 || test ! -s conftest.err'
97516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97517 (eval $ac_try) 2>&5
97518 ac_status=$?
97519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97520 (exit $ac_status); }; } &&
97521 { ac_try='test -s conftest$ac_exeext'
97522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97523 (eval $ac_try) 2>&5
97524 ac_status=$?
97525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97526 (exit $ac_status); }; }; then
97527 eval "$as_ac_var=yes"
97528 else
97529 echo "$as_me: failed program was:" >&5
97530 sed 's/^/| /' conftest.$ac_ext >&5
97532 eval "$as_ac_var=no"
97534 rm -f conftest.err conftest.$ac_objext \
97535 conftest$ac_exeext conftest.$ac_ext
97537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97539 if test `eval echo '${'$as_ac_var'}'` = yes; then
97540 cat >>confdefs.h <<_ACEOF
97541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97542 _ACEOF
97545 done
97547 else
97549 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
97550 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
97551 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
97552 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
97553 echo $ECHO_N "(cached) $ECHO_C" >&6
97554 else
97558 ac_ext=cc
97559 ac_cpp='$CXXCPP $CPPFLAGS'
97560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97564 cat >conftest.$ac_ext <<_ACEOF
97565 /* confdefs.h. */
97566 _ACEOF
97567 cat confdefs.h >>conftest.$ac_ext
97568 cat >>conftest.$ac_ext <<_ACEOF
97569 /* end confdefs.h. */
97570 #include <math.h>
97571 #ifdef HAVE_IEEEFP_H
97572 #include <ieeefp.h>
97573 #endif
97576 main ()
97578 _finitef(0);
97580 return 0;
97582 _ACEOF
97583 rm -f conftest.$ac_objext
97584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97585 (eval $ac_compile) 2>conftest.er1
97586 ac_status=$?
97587 grep -v '^ *+' conftest.er1 >conftest.err
97588 rm -f conftest.er1
97589 cat conftest.err >&5
97590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97591 (exit $ac_status); } &&
97592 { ac_try='test -z "$ac_cxx_werror_flag"
97593 || test ! -s conftest.err'
97594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97595 (eval $ac_try) 2>&5
97596 ac_status=$?
97597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97598 (exit $ac_status); }; } &&
97599 { ac_try='test -s conftest.$ac_objext'
97600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97601 (eval $ac_try) 2>&5
97602 ac_status=$?
97603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97604 (exit $ac_status); }; }; then
97605 glibcxx_cv_func__finitef_use=yes
97606 else
97607 echo "$as_me: failed program was:" >&5
97608 sed 's/^/| /' conftest.$ac_ext >&5
97610 glibcxx_cv_func__finitef_use=no
97612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97613 ac_ext=c
97614 ac_cpp='$CPP $CPPFLAGS'
97615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97623 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
97624 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
97626 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
97628 for ac_func in _finitef
97630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97631 echo "$as_me:$LINENO: checking for $ac_func" >&5
97632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97633 if eval "test \"\${$as_ac_var+set}\" = set"; then
97634 echo $ECHO_N "(cached) $ECHO_C" >&6
97635 else
97636 if test x$gcc_no_link = xyes; then
97637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97639 { (exit 1); exit 1; }; }
97641 cat >conftest.$ac_ext <<_ACEOF
97642 /* confdefs.h. */
97643 _ACEOF
97644 cat confdefs.h >>conftest.$ac_ext
97645 cat >>conftest.$ac_ext <<_ACEOF
97646 /* end confdefs.h. */
97647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97649 #define $ac_func innocuous_$ac_func
97651 /* System header to define __stub macros and hopefully few prototypes,
97652 which can conflict with char $ac_func (); below.
97653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97654 <limits.h> exists even on freestanding compilers. */
97656 #ifdef __STDC__
97657 # include <limits.h>
97658 #else
97659 # include <assert.h>
97660 #endif
97662 #undef $ac_func
97664 /* Override any gcc2 internal prototype to avoid an error. */
97665 #ifdef __cplusplus
97666 extern "C"
97668 #endif
97669 /* We use char because int might match the return type of a gcc2
97670 builtin and then its argument prototype would still apply. */
97671 char $ac_func ();
97672 /* The GNU C library defines this for functions which it implements
97673 to always fail with ENOSYS. Some functions are actually named
97674 something starting with __ and the normal name is an alias. */
97675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97676 choke me
97677 #else
97678 char (*f) () = $ac_func;
97679 #endif
97680 #ifdef __cplusplus
97682 #endif
97685 main ()
97687 return f != $ac_func;
97689 return 0;
97691 _ACEOF
97692 rm -f conftest.$ac_objext conftest$ac_exeext
97693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97694 (eval $ac_link) 2>conftest.er1
97695 ac_status=$?
97696 grep -v '^ *+' conftest.er1 >conftest.err
97697 rm -f conftest.er1
97698 cat conftest.err >&5
97699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97700 (exit $ac_status); } &&
97701 { ac_try='test -z "$ac_c_werror_flag"
97702 || test ! -s conftest.err'
97703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97704 (eval $ac_try) 2>&5
97705 ac_status=$?
97706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97707 (exit $ac_status); }; } &&
97708 { ac_try='test -s conftest$ac_exeext'
97709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97710 (eval $ac_try) 2>&5
97711 ac_status=$?
97712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97713 (exit $ac_status); }; }; then
97714 eval "$as_ac_var=yes"
97715 else
97716 echo "$as_me: failed program was:" >&5
97717 sed 's/^/| /' conftest.$ac_ext >&5
97719 eval "$as_ac_var=no"
97721 rm -f conftest.err conftest.$ac_objext \
97722 conftest$ac_exeext conftest.$ac_ext
97724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97726 if test `eval echo '${'$as_ac_var'}'` = yes; then
97727 cat >>confdefs.h <<_ACEOF
97728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97729 _ACEOF
97732 done
97742 echo "$as_me:$LINENO: checking for long double trig functions" >&5
97743 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
97744 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
97745 echo $ECHO_N "(cached) $ECHO_C" >&6
97746 else
97750 ac_ext=cc
97751 ac_cpp='$CXXCPP $CPPFLAGS'
97752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97756 cat >conftest.$ac_ext <<_ACEOF
97757 /* confdefs.h. */
97758 _ACEOF
97759 cat confdefs.h >>conftest.$ac_ext
97760 cat >>conftest.$ac_ext <<_ACEOF
97761 /* end confdefs.h. */
97762 #include <math.h>
97764 main ()
97766 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
97768 return 0;
97770 _ACEOF
97771 rm -f conftest.$ac_objext
97772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97773 (eval $ac_compile) 2>conftest.er1
97774 ac_status=$?
97775 grep -v '^ *+' conftest.er1 >conftest.err
97776 rm -f conftest.er1
97777 cat conftest.err >&5
97778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97779 (exit $ac_status); } &&
97780 { ac_try='test -z "$ac_cxx_werror_flag"
97781 || test ! -s conftest.err'
97782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97783 (eval $ac_try) 2>&5
97784 ac_status=$?
97785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97786 (exit $ac_status); }; } &&
97787 { ac_try='test -s conftest.$ac_objext'
97788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97789 (eval $ac_try) 2>&5
97790 ac_status=$?
97791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97792 (exit $ac_status); }; }; then
97793 glibcxx_cv_func_long_double_trig_use=yes
97794 else
97795 echo "$as_me: failed program was:" >&5
97796 sed 's/^/| /' conftest.$ac_ext >&5
97798 glibcxx_cv_func_long_double_trig_use=no
97800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97801 ac_ext=c
97802 ac_cpp='$CPP $CPPFLAGS'
97803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97809 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
97810 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
97811 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
97821 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
97823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97824 echo "$as_me:$LINENO: checking for $ac_func" >&5
97825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97826 if eval "test \"\${$as_ac_var+set}\" = set"; then
97827 echo $ECHO_N "(cached) $ECHO_C" >&6
97828 else
97829 if test x$gcc_no_link = xyes; then
97830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97832 { (exit 1); exit 1; }; }
97834 cat >conftest.$ac_ext <<_ACEOF
97835 /* confdefs.h. */
97836 _ACEOF
97837 cat confdefs.h >>conftest.$ac_ext
97838 cat >>conftest.$ac_ext <<_ACEOF
97839 /* end confdefs.h. */
97840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97842 #define $ac_func innocuous_$ac_func
97844 /* System header to define __stub macros and hopefully few prototypes,
97845 which can conflict with char $ac_func (); below.
97846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97847 <limits.h> exists even on freestanding compilers. */
97849 #ifdef __STDC__
97850 # include <limits.h>
97851 #else
97852 # include <assert.h>
97853 #endif
97855 #undef $ac_func
97857 /* Override any gcc2 internal prototype to avoid an error. */
97858 #ifdef __cplusplus
97859 extern "C"
97861 #endif
97862 /* We use char because int might match the return type of a gcc2
97863 builtin and then its argument prototype would still apply. */
97864 char $ac_func ();
97865 /* The GNU C library defines this for functions which it implements
97866 to always fail with ENOSYS. Some functions are actually named
97867 something starting with __ and the normal name is an alias. */
97868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97869 choke me
97870 #else
97871 char (*f) () = $ac_func;
97872 #endif
97873 #ifdef __cplusplus
97875 #endif
97878 main ()
97880 return f != $ac_func;
97882 return 0;
97884 _ACEOF
97885 rm -f conftest.$ac_objext conftest$ac_exeext
97886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97887 (eval $ac_link) 2>conftest.er1
97888 ac_status=$?
97889 grep -v '^ *+' conftest.er1 >conftest.err
97890 rm -f conftest.er1
97891 cat conftest.err >&5
97892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97893 (exit $ac_status); } &&
97894 { ac_try='test -z "$ac_c_werror_flag"
97895 || test ! -s conftest.err'
97896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97897 (eval $ac_try) 2>&5
97898 ac_status=$?
97899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97900 (exit $ac_status); }; } &&
97901 { ac_try='test -s conftest$ac_exeext'
97902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97903 (eval $ac_try) 2>&5
97904 ac_status=$?
97905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97906 (exit $ac_status); }; }; then
97907 eval "$as_ac_var=yes"
97908 else
97909 echo "$as_me: failed program was:" >&5
97910 sed 's/^/| /' conftest.$ac_ext >&5
97912 eval "$as_ac_var=no"
97914 rm -f conftest.err conftest.$ac_objext \
97915 conftest$ac_exeext conftest.$ac_ext
97917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97919 if test `eval echo '${'$as_ac_var'}'` = yes; then
97920 cat >>confdefs.h <<_ACEOF
97921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97922 _ACEOF
97925 done
97927 else
97928 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
97929 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
97930 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
97931 echo $ECHO_N "(cached) $ECHO_C" >&6
97932 else
97936 ac_ext=cc
97937 ac_cpp='$CXXCPP $CPPFLAGS'
97938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97942 cat >conftest.$ac_ext <<_ACEOF
97943 /* confdefs.h. */
97944 _ACEOF
97945 cat confdefs.h >>conftest.$ac_ext
97946 cat >>conftest.$ac_ext <<_ACEOF
97947 /* end confdefs.h. */
97948 #include <math.h>
97950 main ()
97952 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
97954 return 0;
97956 _ACEOF
97957 rm -f conftest.$ac_objext
97958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97959 (eval $ac_compile) 2>conftest.er1
97960 ac_status=$?
97961 grep -v '^ *+' conftest.er1 >conftest.err
97962 rm -f conftest.er1
97963 cat conftest.err >&5
97964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97965 (exit $ac_status); } &&
97966 { ac_try='test -z "$ac_cxx_werror_flag"
97967 || test ! -s conftest.err'
97968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97969 (eval $ac_try) 2>&5
97970 ac_status=$?
97971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97972 (exit $ac_status); }; } &&
97973 { ac_try='test -s conftest.$ac_objext'
97974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97975 (eval $ac_try) 2>&5
97976 ac_status=$?
97977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97978 (exit $ac_status); }; }; then
97979 glibcxx_cv_func__long_double_trig_use=yes
97980 else
97981 echo "$as_me: failed program was:" >&5
97982 sed 's/^/| /' conftest.$ac_ext >&5
97984 glibcxx_cv_func__long_double_trig_use=no
97986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97987 ac_ext=c
97988 ac_cpp='$CPP $CPPFLAGS'
97989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97995 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
97996 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
97997 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
98007 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
98009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98010 echo "$as_me:$LINENO: checking for $ac_func" >&5
98011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98012 if eval "test \"\${$as_ac_var+set}\" = set"; then
98013 echo $ECHO_N "(cached) $ECHO_C" >&6
98014 else
98015 if test x$gcc_no_link = xyes; then
98016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98018 { (exit 1); exit 1; }; }
98020 cat >conftest.$ac_ext <<_ACEOF
98021 /* confdefs.h. */
98022 _ACEOF
98023 cat confdefs.h >>conftest.$ac_ext
98024 cat >>conftest.$ac_ext <<_ACEOF
98025 /* end confdefs.h. */
98026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98028 #define $ac_func innocuous_$ac_func
98030 /* System header to define __stub macros and hopefully few prototypes,
98031 which can conflict with char $ac_func (); below.
98032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98033 <limits.h> exists even on freestanding compilers. */
98035 #ifdef __STDC__
98036 # include <limits.h>
98037 #else
98038 # include <assert.h>
98039 #endif
98041 #undef $ac_func
98043 /* Override any gcc2 internal prototype to avoid an error. */
98044 #ifdef __cplusplus
98045 extern "C"
98047 #endif
98048 /* We use char because int might match the return type of a gcc2
98049 builtin and then its argument prototype would still apply. */
98050 char $ac_func ();
98051 /* The GNU C library defines this for functions which it implements
98052 to always fail with ENOSYS. Some functions are actually named
98053 something starting with __ and the normal name is an alias. */
98054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98055 choke me
98056 #else
98057 char (*f) () = $ac_func;
98058 #endif
98059 #ifdef __cplusplus
98061 #endif
98064 main ()
98066 return f != $ac_func;
98068 return 0;
98070 _ACEOF
98071 rm -f conftest.$ac_objext conftest$ac_exeext
98072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98073 (eval $ac_link) 2>conftest.er1
98074 ac_status=$?
98075 grep -v '^ *+' conftest.er1 >conftest.err
98076 rm -f conftest.er1
98077 cat conftest.err >&5
98078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98079 (exit $ac_status); } &&
98080 { ac_try='test -z "$ac_c_werror_flag"
98081 || test ! -s conftest.err'
98082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98083 (eval $ac_try) 2>&5
98084 ac_status=$?
98085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98086 (exit $ac_status); }; } &&
98087 { ac_try='test -s conftest$ac_exeext'
98088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98089 (eval $ac_try) 2>&5
98090 ac_status=$?
98091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98092 (exit $ac_status); }; }; then
98093 eval "$as_ac_var=yes"
98094 else
98095 echo "$as_me: failed program was:" >&5
98096 sed 's/^/| /' conftest.$ac_ext >&5
98098 eval "$as_ac_var=no"
98100 rm -f conftest.err conftest.$ac_objext \
98101 conftest$ac_exeext conftest.$ac_ext
98103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98105 if test `eval echo '${'$as_ac_var'}'` = yes; then
98106 cat >>confdefs.h <<_ACEOF
98107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98108 _ACEOF
98111 done
98129 echo "$as_me:$LINENO: checking for long double round functions" >&5
98130 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
98131 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
98132 echo $ECHO_N "(cached) $ECHO_C" >&6
98133 else
98137 ac_ext=cc
98138 ac_cpp='$CXXCPP $CPPFLAGS'
98139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98143 cat >conftest.$ac_ext <<_ACEOF
98144 /* confdefs.h. */
98145 _ACEOF
98146 cat confdefs.h >>conftest.$ac_ext
98147 cat >>conftest.$ac_ext <<_ACEOF
98148 /* end confdefs.h. */
98149 #include <math.h>
98151 main ()
98153 ceill (0); floorl (0);
98155 return 0;
98157 _ACEOF
98158 rm -f conftest.$ac_objext
98159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98160 (eval $ac_compile) 2>conftest.er1
98161 ac_status=$?
98162 grep -v '^ *+' conftest.er1 >conftest.err
98163 rm -f conftest.er1
98164 cat conftest.err >&5
98165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98166 (exit $ac_status); } &&
98167 { ac_try='test -z "$ac_cxx_werror_flag"
98168 || test ! -s conftest.err'
98169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98170 (eval $ac_try) 2>&5
98171 ac_status=$?
98172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98173 (exit $ac_status); }; } &&
98174 { ac_try='test -s conftest.$ac_objext'
98175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98176 (eval $ac_try) 2>&5
98177 ac_status=$?
98178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98179 (exit $ac_status); }; }; then
98180 glibcxx_cv_func_long_double_round_use=yes
98181 else
98182 echo "$as_me: failed program was:" >&5
98183 sed 's/^/| /' conftest.$ac_ext >&5
98185 glibcxx_cv_func_long_double_round_use=no
98187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98188 ac_ext=c
98189 ac_cpp='$CPP $CPPFLAGS'
98190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98196 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
98197 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
98198 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
98201 for ac_func in ceill floorl
98203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98204 echo "$as_me:$LINENO: checking for $ac_func" >&5
98205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98206 if eval "test \"\${$as_ac_var+set}\" = set"; then
98207 echo $ECHO_N "(cached) $ECHO_C" >&6
98208 else
98209 if test x$gcc_no_link = xyes; then
98210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98212 { (exit 1); exit 1; }; }
98214 cat >conftest.$ac_ext <<_ACEOF
98215 /* confdefs.h. */
98216 _ACEOF
98217 cat confdefs.h >>conftest.$ac_ext
98218 cat >>conftest.$ac_ext <<_ACEOF
98219 /* end confdefs.h. */
98220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98222 #define $ac_func innocuous_$ac_func
98224 /* System header to define __stub macros and hopefully few prototypes,
98225 which can conflict with char $ac_func (); below.
98226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98227 <limits.h> exists even on freestanding compilers. */
98229 #ifdef __STDC__
98230 # include <limits.h>
98231 #else
98232 # include <assert.h>
98233 #endif
98235 #undef $ac_func
98237 /* Override any gcc2 internal prototype to avoid an error. */
98238 #ifdef __cplusplus
98239 extern "C"
98241 #endif
98242 /* We use char because int might match the return type of a gcc2
98243 builtin and then its argument prototype would still apply. */
98244 char $ac_func ();
98245 /* The GNU C library defines this for functions which it implements
98246 to always fail with ENOSYS. Some functions are actually named
98247 something starting with __ and the normal name is an alias. */
98248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98249 choke me
98250 #else
98251 char (*f) () = $ac_func;
98252 #endif
98253 #ifdef __cplusplus
98255 #endif
98258 main ()
98260 return f != $ac_func;
98262 return 0;
98264 _ACEOF
98265 rm -f conftest.$ac_objext conftest$ac_exeext
98266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98267 (eval $ac_link) 2>conftest.er1
98268 ac_status=$?
98269 grep -v '^ *+' conftest.er1 >conftest.err
98270 rm -f conftest.er1
98271 cat conftest.err >&5
98272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98273 (exit $ac_status); } &&
98274 { ac_try='test -z "$ac_c_werror_flag"
98275 || test ! -s conftest.err'
98276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98277 (eval $ac_try) 2>&5
98278 ac_status=$?
98279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98280 (exit $ac_status); }; } &&
98281 { ac_try='test -s conftest$ac_exeext'
98282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98283 (eval $ac_try) 2>&5
98284 ac_status=$?
98285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98286 (exit $ac_status); }; }; then
98287 eval "$as_ac_var=yes"
98288 else
98289 echo "$as_me: failed program was:" >&5
98290 sed 's/^/| /' conftest.$ac_ext >&5
98292 eval "$as_ac_var=no"
98294 rm -f conftest.err conftest.$ac_objext \
98295 conftest$ac_exeext conftest.$ac_ext
98297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98299 if test `eval echo '${'$as_ac_var'}'` = yes; then
98300 cat >>confdefs.h <<_ACEOF
98301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98302 _ACEOF
98305 done
98307 else
98308 echo "$as_me:$LINENO: checking for _long double round functions" >&5
98309 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
98310 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
98311 echo $ECHO_N "(cached) $ECHO_C" >&6
98312 else
98316 ac_ext=cc
98317 ac_cpp='$CXXCPP $CPPFLAGS'
98318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98322 cat >conftest.$ac_ext <<_ACEOF
98323 /* confdefs.h. */
98324 _ACEOF
98325 cat confdefs.h >>conftest.$ac_ext
98326 cat >>conftest.$ac_ext <<_ACEOF
98327 /* end confdefs.h. */
98328 #include <math.h>
98330 main ()
98332 _ceill (0); _floorl (0);
98334 return 0;
98336 _ACEOF
98337 rm -f conftest.$ac_objext
98338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98339 (eval $ac_compile) 2>conftest.er1
98340 ac_status=$?
98341 grep -v '^ *+' conftest.er1 >conftest.err
98342 rm -f conftest.er1
98343 cat conftest.err >&5
98344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98345 (exit $ac_status); } &&
98346 { ac_try='test -z "$ac_cxx_werror_flag"
98347 || test ! -s conftest.err'
98348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98349 (eval $ac_try) 2>&5
98350 ac_status=$?
98351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98352 (exit $ac_status); }; } &&
98353 { ac_try='test -s conftest.$ac_objext'
98354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98355 (eval $ac_try) 2>&5
98356 ac_status=$?
98357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98358 (exit $ac_status); }; }; then
98359 glibcxx_cv_func__long_double_round_use=yes
98360 else
98361 echo "$as_me: failed program was:" >&5
98362 sed 's/^/| /' conftest.$ac_ext >&5
98364 glibcxx_cv_func__long_double_round_use=no
98366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98367 ac_ext=c
98368 ac_cpp='$CPP $CPPFLAGS'
98369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98375 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
98376 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
98377 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
98380 for ac_func in _ceill _floorl
98382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98383 echo "$as_me:$LINENO: checking for $ac_func" >&5
98384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98385 if eval "test \"\${$as_ac_var+set}\" = set"; then
98386 echo $ECHO_N "(cached) $ECHO_C" >&6
98387 else
98388 if test x$gcc_no_link = xyes; then
98389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98391 { (exit 1); exit 1; }; }
98393 cat >conftest.$ac_ext <<_ACEOF
98394 /* confdefs.h. */
98395 _ACEOF
98396 cat confdefs.h >>conftest.$ac_ext
98397 cat >>conftest.$ac_ext <<_ACEOF
98398 /* end confdefs.h. */
98399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98401 #define $ac_func innocuous_$ac_func
98403 /* System header to define __stub macros and hopefully few prototypes,
98404 which can conflict with char $ac_func (); below.
98405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98406 <limits.h> exists even on freestanding compilers. */
98408 #ifdef __STDC__
98409 # include <limits.h>
98410 #else
98411 # include <assert.h>
98412 #endif
98414 #undef $ac_func
98416 /* Override any gcc2 internal prototype to avoid an error. */
98417 #ifdef __cplusplus
98418 extern "C"
98420 #endif
98421 /* We use char because int might match the return type of a gcc2
98422 builtin and then its argument prototype would still apply. */
98423 char $ac_func ();
98424 /* The GNU C library defines this for functions which it implements
98425 to always fail with ENOSYS. Some functions are actually named
98426 something starting with __ and the normal name is an alias. */
98427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98428 choke me
98429 #else
98430 char (*f) () = $ac_func;
98431 #endif
98432 #ifdef __cplusplus
98434 #endif
98437 main ()
98439 return f != $ac_func;
98441 return 0;
98443 _ACEOF
98444 rm -f conftest.$ac_objext conftest$ac_exeext
98445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98446 (eval $ac_link) 2>conftest.er1
98447 ac_status=$?
98448 grep -v '^ *+' conftest.er1 >conftest.err
98449 rm -f conftest.er1
98450 cat conftest.err >&5
98451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98452 (exit $ac_status); } &&
98453 { ac_try='test -z "$ac_c_werror_flag"
98454 || test ! -s conftest.err'
98455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98456 (eval $ac_try) 2>&5
98457 ac_status=$?
98458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98459 (exit $ac_status); }; } &&
98460 { ac_try='test -s conftest$ac_exeext'
98461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98462 (eval $ac_try) 2>&5
98463 ac_status=$?
98464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98465 (exit $ac_status); }; }; then
98466 eval "$as_ac_var=yes"
98467 else
98468 echo "$as_me: failed program was:" >&5
98469 sed 's/^/| /' conftest.$ac_ext >&5
98471 eval "$as_ac_var=no"
98473 rm -f conftest.err conftest.$ac_objext \
98474 conftest$ac_exeext conftest.$ac_ext
98476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98478 if test `eval echo '${'$as_ac_var'}'` = yes; then
98479 cat >>confdefs.h <<_ACEOF
98480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98481 _ACEOF
98484 done
98496 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
98497 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
98498 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
98499 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
98500 echo $ECHO_N "(cached) $ECHO_C" >&6
98501 else
98505 ac_ext=cc
98506 ac_cpp='$CXXCPP $CPPFLAGS'
98507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98511 cat >conftest.$ac_ext <<_ACEOF
98512 /* confdefs.h. */
98513 _ACEOF
98514 cat confdefs.h >>conftest.$ac_ext
98515 cat >>conftest.$ac_ext <<_ACEOF
98516 /* end confdefs.h. */
98517 #include <math.h>
98518 #ifdef HAVE_IEEEFP_H
98519 #include <ieeefp.h>
98520 #endif
98523 main ()
98525 isnanl(0);
98527 return 0;
98529 _ACEOF
98530 rm -f conftest.$ac_objext
98531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98532 (eval $ac_compile) 2>conftest.er1
98533 ac_status=$?
98534 grep -v '^ *+' conftest.er1 >conftest.err
98535 rm -f conftest.er1
98536 cat conftest.err >&5
98537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98538 (exit $ac_status); } &&
98539 { ac_try='test -z "$ac_cxx_werror_flag"
98540 || test ! -s conftest.err'
98541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98542 (eval $ac_try) 2>&5
98543 ac_status=$?
98544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98545 (exit $ac_status); }; } &&
98546 { ac_try='test -s conftest.$ac_objext'
98547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98548 (eval $ac_try) 2>&5
98549 ac_status=$?
98550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98551 (exit $ac_status); }; }; then
98552 glibcxx_cv_func_isnanl_use=yes
98553 else
98554 echo "$as_me: failed program was:" >&5
98555 sed 's/^/| /' conftest.$ac_ext >&5
98557 glibcxx_cv_func_isnanl_use=no
98559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98560 ac_ext=c
98561 ac_cpp='$CPP $CPPFLAGS'
98562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98570 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
98571 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
98573 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
98575 for ac_func in isnanl
98577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98578 echo "$as_me:$LINENO: checking for $ac_func" >&5
98579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98580 if eval "test \"\${$as_ac_var+set}\" = set"; then
98581 echo $ECHO_N "(cached) $ECHO_C" >&6
98582 else
98583 if test x$gcc_no_link = xyes; then
98584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98586 { (exit 1); exit 1; }; }
98588 cat >conftest.$ac_ext <<_ACEOF
98589 /* confdefs.h. */
98590 _ACEOF
98591 cat confdefs.h >>conftest.$ac_ext
98592 cat >>conftest.$ac_ext <<_ACEOF
98593 /* end confdefs.h. */
98594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98596 #define $ac_func innocuous_$ac_func
98598 /* System header to define __stub macros and hopefully few prototypes,
98599 which can conflict with char $ac_func (); below.
98600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98601 <limits.h> exists even on freestanding compilers. */
98603 #ifdef __STDC__
98604 # include <limits.h>
98605 #else
98606 # include <assert.h>
98607 #endif
98609 #undef $ac_func
98611 /* Override any gcc2 internal prototype to avoid an error. */
98612 #ifdef __cplusplus
98613 extern "C"
98615 #endif
98616 /* We use char because int might match the return type of a gcc2
98617 builtin and then its argument prototype would still apply. */
98618 char $ac_func ();
98619 /* The GNU C library defines this for functions which it implements
98620 to always fail with ENOSYS. Some functions are actually named
98621 something starting with __ and the normal name is an alias. */
98622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98623 choke me
98624 #else
98625 char (*f) () = $ac_func;
98626 #endif
98627 #ifdef __cplusplus
98629 #endif
98632 main ()
98634 return f != $ac_func;
98636 return 0;
98638 _ACEOF
98639 rm -f conftest.$ac_objext conftest$ac_exeext
98640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98641 (eval $ac_link) 2>conftest.er1
98642 ac_status=$?
98643 grep -v '^ *+' conftest.er1 >conftest.err
98644 rm -f conftest.er1
98645 cat conftest.err >&5
98646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98647 (exit $ac_status); } &&
98648 { ac_try='test -z "$ac_c_werror_flag"
98649 || test ! -s conftest.err'
98650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98651 (eval $ac_try) 2>&5
98652 ac_status=$?
98653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98654 (exit $ac_status); }; } &&
98655 { ac_try='test -s conftest$ac_exeext'
98656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98657 (eval $ac_try) 2>&5
98658 ac_status=$?
98659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98660 (exit $ac_status); }; }; then
98661 eval "$as_ac_var=yes"
98662 else
98663 echo "$as_me: failed program was:" >&5
98664 sed 's/^/| /' conftest.$ac_ext >&5
98666 eval "$as_ac_var=no"
98668 rm -f conftest.err conftest.$ac_objext \
98669 conftest$ac_exeext conftest.$ac_ext
98671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98673 if test `eval echo '${'$as_ac_var'}'` = yes; then
98674 cat >>confdefs.h <<_ACEOF
98675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98676 _ACEOF
98679 done
98681 else
98683 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
98684 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
98685 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
98686 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
98687 echo $ECHO_N "(cached) $ECHO_C" >&6
98688 else
98692 ac_ext=cc
98693 ac_cpp='$CXXCPP $CPPFLAGS'
98694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98698 cat >conftest.$ac_ext <<_ACEOF
98699 /* confdefs.h. */
98700 _ACEOF
98701 cat confdefs.h >>conftest.$ac_ext
98702 cat >>conftest.$ac_ext <<_ACEOF
98703 /* end confdefs.h. */
98704 #include <math.h>
98705 #ifdef HAVE_IEEEFP_H
98706 #include <ieeefp.h>
98707 #endif
98710 main ()
98712 _isnanl(0);
98714 return 0;
98716 _ACEOF
98717 rm -f conftest.$ac_objext
98718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98719 (eval $ac_compile) 2>conftest.er1
98720 ac_status=$?
98721 grep -v '^ *+' conftest.er1 >conftest.err
98722 rm -f conftest.er1
98723 cat conftest.err >&5
98724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98725 (exit $ac_status); } &&
98726 { ac_try='test -z "$ac_cxx_werror_flag"
98727 || test ! -s conftest.err'
98728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98729 (eval $ac_try) 2>&5
98730 ac_status=$?
98731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98732 (exit $ac_status); }; } &&
98733 { ac_try='test -s conftest.$ac_objext'
98734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98735 (eval $ac_try) 2>&5
98736 ac_status=$?
98737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98738 (exit $ac_status); }; }; then
98739 glibcxx_cv_func__isnanl_use=yes
98740 else
98741 echo "$as_me: failed program was:" >&5
98742 sed 's/^/| /' conftest.$ac_ext >&5
98744 glibcxx_cv_func__isnanl_use=no
98746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98747 ac_ext=c
98748 ac_cpp='$CPP $CPPFLAGS'
98749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98757 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
98758 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
98760 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
98762 for ac_func in _isnanl
98764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98765 echo "$as_me:$LINENO: checking for $ac_func" >&5
98766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98767 if eval "test \"\${$as_ac_var+set}\" = set"; then
98768 echo $ECHO_N "(cached) $ECHO_C" >&6
98769 else
98770 if test x$gcc_no_link = xyes; then
98771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98773 { (exit 1); exit 1; }; }
98775 cat >conftest.$ac_ext <<_ACEOF
98776 /* confdefs.h. */
98777 _ACEOF
98778 cat confdefs.h >>conftest.$ac_ext
98779 cat >>conftest.$ac_ext <<_ACEOF
98780 /* end confdefs.h. */
98781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98783 #define $ac_func innocuous_$ac_func
98785 /* System header to define __stub macros and hopefully few prototypes,
98786 which can conflict with char $ac_func (); below.
98787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98788 <limits.h> exists even on freestanding compilers. */
98790 #ifdef __STDC__
98791 # include <limits.h>
98792 #else
98793 # include <assert.h>
98794 #endif
98796 #undef $ac_func
98798 /* Override any gcc2 internal prototype to avoid an error. */
98799 #ifdef __cplusplus
98800 extern "C"
98802 #endif
98803 /* We use char because int might match the return type of a gcc2
98804 builtin and then its argument prototype would still apply. */
98805 char $ac_func ();
98806 /* The GNU C library defines this for functions which it implements
98807 to always fail with ENOSYS. Some functions are actually named
98808 something starting with __ and the normal name is an alias. */
98809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98810 choke me
98811 #else
98812 char (*f) () = $ac_func;
98813 #endif
98814 #ifdef __cplusplus
98816 #endif
98819 main ()
98821 return f != $ac_func;
98823 return 0;
98825 _ACEOF
98826 rm -f conftest.$ac_objext conftest$ac_exeext
98827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98828 (eval $ac_link) 2>conftest.er1
98829 ac_status=$?
98830 grep -v '^ *+' conftest.er1 >conftest.err
98831 rm -f conftest.er1
98832 cat conftest.err >&5
98833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98834 (exit $ac_status); } &&
98835 { ac_try='test -z "$ac_c_werror_flag"
98836 || test ! -s conftest.err'
98837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98838 (eval $ac_try) 2>&5
98839 ac_status=$?
98840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98841 (exit $ac_status); }; } &&
98842 { ac_try='test -s conftest$ac_exeext'
98843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98844 (eval $ac_try) 2>&5
98845 ac_status=$?
98846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98847 (exit $ac_status); }; }; then
98848 eval "$as_ac_var=yes"
98849 else
98850 echo "$as_me: failed program was:" >&5
98851 sed 's/^/| /' conftest.$ac_ext >&5
98853 eval "$as_ac_var=no"
98855 rm -f conftest.err conftest.$ac_objext \
98856 conftest$ac_exeext conftest.$ac_ext
98858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98860 if test `eval echo '${'$as_ac_var'}'` = yes; then
98861 cat >>confdefs.h <<_ACEOF
98862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98863 _ACEOF
98866 done
98876 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
98877 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
98878 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
98879 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
98880 echo $ECHO_N "(cached) $ECHO_C" >&6
98881 else
98885 ac_ext=cc
98886 ac_cpp='$CXXCPP $CPPFLAGS'
98887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98891 cat >conftest.$ac_ext <<_ACEOF
98892 /* confdefs.h. */
98893 _ACEOF
98894 cat confdefs.h >>conftest.$ac_ext
98895 cat >>conftest.$ac_ext <<_ACEOF
98896 /* end confdefs.h. */
98897 #include <math.h>
98898 #ifdef HAVE_IEEEFP_H
98899 #include <ieeefp.h>
98900 #endif
98903 main ()
98905 isinfl(0);
98907 return 0;
98909 _ACEOF
98910 rm -f conftest.$ac_objext
98911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98912 (eval $ac_compile) 2>conftest.er1
98913 ac_status=$?
98914 grep -v '^ *+' conftest.er1 >conftest.err
98915 rm -f conftest.er1
98916 cat conftest.err >&5
98917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98918 (exit $ac_status); } &&
98919 { ac_try='test -z "$ac_cxx_werror_flag"
98920 || test ! -s conftest.err'
98921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98922 (eval $ac_try) 2>&5
98923 ac_status=$?
98924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98925 (exit $ac_status); }; } &&
98926 { ac_try='test -s conftest.$ac_objext'
98927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98928 (eval $ac_try) 2>&5
98929 ac_status=$?
98930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98931 (exit $ac_status); }; }; then
98932 glibcxx_cv_func_isinfl_use=yes
98933 else
98934 echo "$as_me: failed program was:" >&5
98935 sed 's/^/| /' conftest.$ac_ext >&5
98937 glibcxx_cv_func_isinfl_use=no
98939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98940 ac_ext=c
98941 ac_cpp='$CPP $CPPFLAGS'
98942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98950 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
98951 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
98953 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
98955 for ac_func in isinfl
98957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98958 echo "$as_me:$LINENO: checking for $ac_func" >&5
98959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98960 if eval "test \"\${$as_ac_var+set}\" = set"; then
98961 echo $ECHO_N "(cached) $ECHO_C" >&6
98962 else
98963 if test x$gcc_no_link = xyes; then
98964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98966 { (exit 1); exit 1; }; }
98968 cat >conftest.$ac_ext <<_ACEOF
98969 /* confdefs.h. */
98970 _ACEOF
98971 cat confdefs.h >>conftest.$ac_ext
98972 cat >>conftest.$ac_ext <<_ACEOF
98973 /* end confdefs.h. */
98974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98976 #define $ac_func innocuous_$ac_func
98978 /* System header to define __stub macros and hopefully few prototypes,
98979 which can conflict with char $ac_func (); below.
98980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98981 <limits.h> exists even on freestanding compilers. */
98983 #ifdef __STDC__
98984 # include <limits.h>
98985 #else
98986 # include <assert.h>
98987 #endif
98989 #undef $ac_func
98991 /* Override any gcc2 internal prototype to avoid an error. */
98992 #ifdef __cplusplus
98993 extern "C"
98995 #endif
98996 /* We use char because int might match the return type of a gcc2
98997 builtin and then its argument prototype would still apply. */
98998 char $ac_func ();
98999 /* The GNU C library defines this for functions which it implements
99000 to always fail with ENOSYS. Some functions are actually named
99001 something starting with __ and the normal name is an alias. */
99002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99003 choke me
99004 #else
99005 char (*f) () = $ac_func;
99006 #endif
99007 #ifdef __cplusplus
99009 #endif
99012 main ()
99014 return f != $ac_func;
99016 return 0;
99018 _ACEOF
99019 rm -f conftest.$ac_objext conftest$ac_exeext
99020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99021 (eval $ac_link) 2>conftest.er1
99022 ac_status=$?
99023 grep -v '^ *+' conftest.er1 >conftest.err
99024 rm -f conftest.er1
99025 cat conftest.err >&5
99026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99027 (exit $ac_status); } &&
99028 { ac_try='test -z "$ac_c_werror_flag"
99029 || test ! -s conftest.err'
99030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99031 (eval $ac_try) 2>&5
99032 ac_status=$?
99033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99034 (exit $ac_status); }; } &&
99035 { ac_try='test -s conftest$ac_exeext'
99036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99037 (eval $ac_try) 2>&5
99038 ac_status=$?
99039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99040 (exit $ac_status); }; }; then
99041 eval "$as_ac_var=yes"
99042 else
99043 echo "$as_me: failed program was:" >&5
99044 sed 's/^/| /' conftest.$ac_ext >&5
99046 eval "$as_ac_var=no"
99048 rm -f conftest.err conftest.$ac_objext \
99049 conftest$ac_exeext conftest.$ac_ext
99051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99053 if test `eval echo '${'$as_ac_var'}'` = yes; then
99054 cat >>confdefs.h <<_ACEOF
99055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99056 _ACEOF
99059 done
99061 else
99063 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
99064 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
99065 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
99066 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
99067 echo $ECHO_N "(cached) $ECHO_C" >&6
99068 else
99072 ac_ext=cc
99073 ac_cpp='$CXXCPP $CPPFLAGS'
99074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99078 cat >conftest.$ac_ext <<_ACEOF
99079 /* confdefs.h. */
99080 _ACEOF
99081 cat confdefs.h >>conftest.$ac_ext
99082 cat >>conftest.$ac_ext <<_ACEOF
99083 /* end confdefs.h. */
99084 #include <math.h>
99085 #ifdef HAVE_IEEEFP_H
99086 #include <ieeefp.h>
99087 #endif
99090 main ()
99092 _isinfl(0);
99094 return 0;
99096 _ACEOF
99097 rm -f conftest.$ac_objext
99098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99099 (eval $ac_compile) 2>conftest.er1
99100 ac_status=$?
99101 grep -v '^ *+' conftest.er1 >conftest.err
99102 rm -f conftest.er1
99103 cat conftest.err >&5
99104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99105 (exit $ac_status); } &&
99106 { ac_try='test -z "$ac_cxx_werror_flag"
99107 || test ! -s conftest.err'
99108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99109 (eval $ac_try) 2>&5
99110 ac_status=$?
99111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99112 (exit $ac_status); }; } &&
99113 { ac_try='test -s conftest.$ac_objext'
99114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99115 (eval $ac_try) 2>&5
99116 ac_status=$?
99117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99118 (exit $ac_status); }; }; then
99119 glibcxx_cv_func__isinfl_use=yes
99120 else
99121 echo "$as_me: failed program was:" >&5
99122 sed 's/^/| /' conftest.$ac_ext >&5
99124 glibcxx_cv_func__isinfl_use=no
99126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99127 ac_ext=c
99128 ac_cpp='$CPP $CPPFLAGS'
99129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99137 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
99138 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
99140 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
99142 for ac_func in _isinfl
99144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99145 echo "$as_me:$LINENO: checking for $ac_func" >&5
99146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99147 if eval "test \"\${$as_ac_var+set}\" = set"; then
99148 echo $ECHO_N "(cached) $ECHO_C" >&6
99149 else
99150 if test x$gcc_no_link = xyes; then
99151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99153 { (exit 1); exit 1; }; }
99155 cat >conftest.$ac_ext <<_ACEOF
99156 /* confdefs.h. */
99157 _ACEOF
99158 cat confdefs.h >>conftest.$ac_ext
99159 cat >>conftest.$ac_ext <<_ACEOF
99160 /* end confdefs.h. */
99161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99163 #define $ac_func innocuous_$ac_func
99165 /* System header to define __stub macros and hopefully few prototypes,
99166 which can conflict with char $ac_func (); below.
99167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99168 <limits.h> exists even on freestanding compilers. */
99170 #ifdef __STDC__
99171 # include <limits.h>
99172 #else
99173 # include <assert.h>
99174 #endif
99176 #undef $ac_func
99178 /* Override any gcc2 internal prototype to avoid an error. */
99179 #ifdef __cplusplus
99180 extern "C"
99182 #endif
99183 /* We use char because int might match the return type of a gcc2
99184 builtin and then its argument prototype would still apply. */
99185 char $ac_func ();
99186 /* The GNU C library defines this for functions which it implements
99187 to always fail with ENOSYS. Some functions are actually named
99188 something starting with __ and the normal name is an alias. */
99189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99190 choke me
99191 #else
99192 char (*f) () = $ac_func;
99193 #endif
99194 #ifdef __cplusplus
99196 #endif
99199 main ()
99201 return f != $ac_func;
99203 return 0;
99205 _ACEOF
99206 rm -f conftest.$ac_objext conftest$ac_exeext
99207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99208 (eval $ac_link) 2>conftest.er1
99209 ac_status=$?
99210 grep -v '^ *+' conftest.er1 >conftest.err
99211 rm -f conftest.er1
99212 cat conftest.err >&5
99213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99214 (exit $ac_status); } &&
99215 { ac_try='test -z "$ac_c_werror_flag"
99216 || test ! -s conftest.err'
99217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99218 (eval $ac_try) 2>&5
99219 ac_status=$?
99220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99221 (exit $ac_status); }; } &&
99222 { ac_try='test -s conftest$ac_exeext'
99223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99224 (eval $ac_try) 2>&5
99225 ac_status=$?
99226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99227 (exit $ac_status); }; }; then
99228 eval "$as_ac_var=yes"
99229 else
99230 echo "$as_me: failed program was:" >&5
99231 sed 's/^/| /' conftest.$ac_ext >&5
99233 eval "$as_ac_var=no"
99235 rm -f conftest.err conftest.$ac_objext \
99236 conftest$ac_exeext conftest.$ac_ext
99238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99240 if test `eval echo '${'$as_ac_var'}'` = yes; then
99241 cat >>confdefs.h <<_ACEOF
99242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99243 _ACEOF
99246 done
99256 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
99257 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
99258 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
99259 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
99260 echo $ECHO_N "(cached) $ECHO_C" >&6
99261 else
99265 ac_ext=cc
99266 ac_cpp='$CXXCPP $CPPFLAGS'
99267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99271 cat >conftest.$ac_ext <<_ACEOF
99272 /* confdefs.h. */
99273 _ACEOF
99274 cat confdefs.h >>conftest.$ac_ext
99275 cat >>conftest.$ac_ext <<_ACEOF
99276 /* end confdefs.h. */
99277 #include <math.h>
99279 main ()
99281 copysignl(0, 0);
99283 return 0;
99285 _ACEOF
99286 rm -f conftest.$ac_objext
99287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99288 (eval $ac_compile) 2>conftest.er1
99289 ac_status=$?
99290 grep -v '^ *+' conftest.er1 >conftest.err
99291 rm -f conftest.er1
99292 cat conftest.err >&5
99293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99294 (exit $ac_status); } &&
99295 { ac_try='test -z "$ac_cxx_werror_flag"
99296 || test ! -s conftest.err'
99297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99298 (eval $ac_try) 2>&5
99299 ac_status=$?
99300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99301 (exit $ac_status); }; } &&
99302 { ac_try='test -s conftest.$ac_objext'
99303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99304 (eval $ac_try) 2>&5
99305 ac_status=$?
99306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99307 (exit $ac_status); }; }; then
99308 glibcxx_cv_func_copysignl_use=yes
99309 else
99310 echo "$as_me: failed program was:" >&5
99311 sed 's/^/| /' conftest.$ac_ext >&5
99313 glibcxx_cv_func_copysignl_use=no
99315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99316 ac_ext=c
99317 ac_cpp='$CPP $CPPFLAGS'
99318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99326 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
99327 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
99329 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
99331 for ac_func in copysignl
99333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99334 echo "$as_me:$LINENO: checking for $ac_func" >&5
99335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99336 if eval "test \"\${$as_ac_var+set}\" = set"; then
99337 echo $ECHO_N "(cached) $ECHO_C" >&6
99338 else
99339 if test x$gcc_no_link = xyes; then
99340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99342 { (exit 1); exit 1; }; }
99344 cat >conftest.$ac_ext <<_ACEOF
99345 /* confdefs.h. */
99346 _ACEOF
99347 cat confdefs.h >>conftest.$ac_ext
99348 cat >>conftest.$ac_ext <<_ACEOF
99349 /* end confdefs.h. */
99350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99352 #define $ac_func innocuous_$ac_func
99354 /* System header to define __stub macros and hopefully few prototypes,
99355 which can conflict with char $ac_func (); below.
99356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99357 <limits.h> exists even on freestanding compilers. */
99359 #ifdef __STDC__
99360 # include <limits.h>
99361 #else
99362 # include <assert.h>
99363 #endif
99365 #undef $ac_func
99367 /* Override any gcc2 internal prototype to avoid an error. */
99368 #ifdef __cplusplus
99369 extern "C"
99371 #endif
99372 /* We use char because int might match the return type of a gcc2
99373 builtin and then its argument prototype would still apply. */
99374 char $ac_func ();
99375 /* The GNU C library defines this for functions which it implements
99376 to always fail with ENOSYS. Some functions are actually named
99377 something starting with __ and the normal name is an alias. */
99378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99379 choke me
99380 #else
99381 char (*f) () = $ac_func;
99382 #endif
99383 #ifdef __cplusplus
99385 #endif
99388 main ()
99390 return f != $ac_func;
99392 return 0;
99394 _ACEOF
99395 rm -f conftest.$ac_objext conftest$ac_exeext
99396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99397 (eval $ac_link) 2>conftest.er1
99398 ac_status=$?
99399 grep -v '^ *+' conftest.er1 >conftest.err
99400 rm -f conftest.er1
99401 cat conftest.err >&5
99402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99403 (exit $ac_status); } &&
99404 { ac_try='test -z "$ac_c_werror_flag"
99405 || test ! -s conftest.err'
99406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99407 (eval $ac_try) 2>&5
99408 ac_status=$?
99409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99410 (exit $ac_status); }; } &&
99411 { ac_try='test -s conftest$ac_exeext'
99412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99413 (eval $ac_try) 2>&5
99414 ac_status=$?
99415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99416 (exit $ac_status); }; }; then
99417 eval "$as_ac_var=yes"
99418 else
99419 echo "$as_me: failed program was:" >&5
99420 sed 's/^/| /' conftest.$ac_ext >&5
99422 eval "$as_ac_var=no"
99424 rm -f conftest.err conftest.$ac_objext \
99425 conftest$ac_exeext conftest.$ac_ext
99427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99429 if test `eval echo '${'$as_ac_var'}'` = yes; then
99430 cat >>confdefs.h <<_ACEOF
99431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99432 _ACEOF
99435 done
99437 else
99439 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
99440 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
99441 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
99442 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
99443 echo $ECHO_N "(cached) $ECHO_C" >&6
99444 else
99448 ac_ext=cc
99449 ac_cpp='$CXXCPP $CPPFLAGS'
99450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99454 cat >conftest.$ac_ext <<_ACEOF
99455 /* confdefs.h. */
99456 _ACEOF
99457 cat confdefs.h >>conftest.$ac_ext
99458 cat >>conftest.$ac_ext <<_ACEOF
99459 /* end confdefs.h. */
99460 #include <math.h>
99462 main ()
99464 _copysignl(0, 0);
99466 return 0;
99468 _ACEOF
99469 rm -f conftest.$ac_objext
99470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99471 (eval $ac_compile) 2>conftest.er1
99472 ac_status=$?
99473 grep -v '^ *+' conftest.er1 >conftest.err
99474 rm -f conftest.er1
99475 cat conftest.err >&5
99476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99477 (exit $ac_status); } &&
99478 { ac_try='test -z "$ac_cxx_werror_flag"
99479 || test ! -s conftest.err'
99480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99481 (eval $ac_try) 2>&5
99482 ac_status=$?
99483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99484 (exit $ac_status); }; } &&
99485 { ac_try='test -s conftest.$ac_objext'
99486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99487 (eval $ac_try) 2>&5
99488 ac_status=$?
99489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99490 (exit $ac_status); }; }; then
99491 glibcxx_cv_func__copysignl_use=yes
99492 else
99493 echo "$as_me: failed program was:" >&5
99494 sed 's/^/| /' conftest.$ac_ext >&5
99496 glibcxx_cv_func__copysignl_use=no
99498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99499 ac_ext=c
99500 ac_cpp='$CPP $CPPFLAGS'
99501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99509 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
99510 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
99512 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
99514 for ac_func in _copysignl
99516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99517 echo "$as_me:$LINENO: checking for $ac_func" >&5
99518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99519 if eval "test \"\${$as_ac_var+set}\" = set"; then
99520 echo $ECHO_N "(cached) $ECHO_C" >&6
99521 else
99522 if test x$gcc_no_link = xyes; then
99523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99525 { (exit 1); exit 1; }; }
99527 cat >conftest.$ac_ext <<_ACEOF
99528 /* confdefs.h. */
99529 _ACEOF
99530 cat confdefs.h >>conftest.$ac_ext
99531 cat >>conftest.$ac_ext <<_ACEOF
99532 /* end confdefs.h. */
99533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99535 #define $ac_func innocuous_$ac_func
99537 /* System header to define __stub macros and hopefully few prototypes,
99538 which can conflict with char $ac_func (); below.
99539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99540 <limits.h> exists even on freestanding compilers. */
99542 #ifdef __STDC__
99543 # include <limits.h>
99544 #else
99545 # include <assert.h>
99546 #endif
99548 #undef $ac_func
99550 /* Override any gcc2 internal prototype to avoid an error. */
99551 #ifdef __cplusplus
99552 extern "C"
99554 #endif
99555 /* We use char because int might match the return type of a gcc2
99556 builtin and then its argument prototype would still apply. */
99557 char $ac_func ();
99558 /* The GNU C library defines this for functions which it implements
99559 to always fail with ENOSYS. Some functions are actually named
99560 something starting with __ and the normal name is an alias. */
99561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99562 choke me
99563 #else
99564 char (*f) () = $ac_func;
99565 #endif
99566 #ifdef __cplusplus
99568 #endif
99571 main ()
99573 return f != $ac_func;
99575 return 0;
99577 _ACEOF
99578 rm -f conftest.$ac_objext conftest$ac_exeext
99579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99580 (eval $ac_link) 2>conftest.er1
99581 ac_status=$?
99582 grep -v '^ *+' conftest.er1 >conftest.err
99583 rm -f conftest.er1
99584 cat conftest.err >&5
99585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99586 (exit $ac_status); } &&
99587 { ac_try='test -z "$ac_c_werror_flag"
99588 || test ! -s conftest.err'
99589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99590 (eval $ac_try) 2>&5
99591 ac_status=$?
99592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99593 (exit $ac_status); }; } &&
99594 { ac_try='test -s conftest$ac_exeext'
99595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99596 (eval $ac_try) 2>&5
99597 ac_status=$?
99598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99599 (exit $ac_status); }; }; then
99600 eval "$as_ac_var=yes"
99601 else
99602 echo "$as_me: failed program was:" >&5
99603 sed 's/^/| /' conftest.$ac_ext >&5
99605 eval "$as_ac_var=no"
99607 rm -f conftest.err conftest.$ac_objext \
99608 conftest$ac_exeext conftest.$ac_ext
99610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99612 if test `eval echo '${'$as_ac_var'}'` = yes; then
99613 cat >>confdefs.h <<_ACEOF
99614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99615 _ACEOF
99618 done
99628 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
99629 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
99630 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
99631 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
99632 echo $ECHO_N "(cached) $ECHO_C" >&6
99633 else
99637 ac_ext=cc
99638 ac_cpp='$CXXCPP $CPPFLAGS'
99639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99643 cat >conftest.$ac_ext <<_ACEOF
99644 /* confdefs.h. */
99645 _ACEOF
99646 cat confdefs.h >>conftest.$ac_ext
99647 cat >>conftest.$ac_ext <<_ACEOF
99648 /* end confdefs.h. */
99649 #include <math.h>
99651 main ()
99653 atan2l(0, 0);
99655 return 0;
99657 _ACEOF
99658 rm -f conftest.$ac_objext
99659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99660 (eval $ac_compile) 2>conftest.er1
99661 ac_status=$?
99662 grep -v '^ *+' conftest.er1 >conftest.err
99663 rm -f conftest.er1
99664 cat conftest.err >&5
99665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99666 (exit $ac_status); } &&
99667 { ac_try='test -z "$ac_cxx_werror_flag"
99668 || test ! -s conftest.err'
99669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99670 (eval $ac_try) 2>&5
99671 ac_status=$?
99672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99673 (exit $ac_status); }; } &&
99674 { ac_try='test -s conftest.$ac_objext'
99675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99676 (eval $ac_try) 2>&5
99677 ac_status=$?
99678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99679 (exit $ac_status); }; }; then
99680 glibcxx_cv_func_atan2l_use=yes
99681 else
99682 echo "$as_me: failed program was:" >&5
99683 sed 's/^/| /' conftest.$ac_ext >&5
99685 glibcxx_cv_func_atan2l_use=no
99687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99688 ac_ext=c
99689 ac_cpp='$CPP $CPPFLAGS'
99690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99698 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
99699 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
99701 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
99703 for ac_func in atan2l
99705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99706 echo "$as_me:$LINENO: checking for $ac_func" >&5
99707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99708 if eval "test \"\${$as_ac_var+set}\" = set"; then
99709 echo $ECHO_N "(cached) $ECHO_C" >&6
99710 else
99711 if test x$gcc_no_link = xyes; then
99712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99714 { (exit 1); exit 1; }; }
99716 cat >conftest.$ac_ext <<_ACEOF
99717 /* confdefs.h. */
99718 _ACEOF
99719 cat confdefs.h >>conftest.$ac_ext
99720 cat >>conftest.$ac_ext <<_ACEOF
99721 /* end confdefs.h. */
99722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99724 #define $ac_func innocuous_$ac_func
99726 /* System header to define __stub macros and hopefully few prototypes,
99727 which can conflict with char $ac_func (); below.
99728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99729 <limits.h> exists even on freestanding compilers. */
99731 #ifdef __STDC__
99732 # include <limits.h>
99733 #else
99734 # include <assert.h>
99735 #endif
99737 #undef $ac_func
99739 /* Override any gcc2 internal prototype to avoid an error. */
99740 #ifdef __cplusplus
99741 extern "C"
99743 #endif
99744 /* We use char because int might match the return type of a gcc2
99745 builtin and then its argument prototype would still apply. */
99746 char $ac_func ();
99747 /* The GNU C library defines this for functions which it implements
99748 to always fail with ENOSYS. Some functions are actually named
99749 something starting with __ and the normal name is an alias. */
99750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99751 choke me
99752 #else
99753 char (*f) () = $ac_func;
99754 #endif
99755 #ifdef __cplusplus
99757 #endif
99760 main ()
99762 return f != $ac_func;
99764 return 0;
99766 _ACEOF
99767 rm -f conftest.$ac_objext conftest$ac_exeext
99768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99769 (eval $ac_link) 2>conftest.er1
99770 ac_status=$?
99771 grep -v '^ *+' conftest.er1 >conftest.err
99772 rm -f conftest.er1
99773 cat conftest.err >&5
99774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99775 (exit $ac_status); } &&
99776 { ac_try='test -z "$ac_c_werror_flag"
99777 || test ! -s conftest.err'
99778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99779 (eval $ac_try) 2>&5
99780 ac_status=$?
99781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99782 (exit $ac_status); }; } &&
99783 { ac_try='test -s conftest$ac_exeext'
99784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99785 (eval $ac_try) 2>&5
99786 ac_status=$?
99787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99788 (exit $ac_status); }; }; then
99789 eval "$as_ac_var=yes"
99790 else
99791 echo "$as_me: failed program was:" >&5
99792 sed 's/^/| /' conftest.$ac_ext >&5
99794 eval "$as_ac_var=no"
99796 rm -f conftest.err conftest.$ac_objext \
99797 conftest$ac_exeext conftest.$ac_ext
99799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99801 if test `eval echo '${'$as_ac_var'}'` = yes; then
99802 cat >>confdefs.h <<_ACEOF
99803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99804 _ACEOF
99807 done
99809 else
99811 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
99812 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
99813 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
99814 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
99815 echo $ECHO_N "(cached) $ECHO_C" >&6
99816 else
99820 ac_ext=cc
99821 ac_cpp='$CXXCPP $CPPFLAGS'
99822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99826 cat >conftest.$ac_ext <<_ACEOF
99827 /* confdefs.h. */
99828 _ACEOF
99829 cat confdefs.h >>conftest.$ac_ext
99830 cat >>conftest.$ac_ext <<_ACEOF
99831 /* end confdefs.h. */
99832 #include <math.h>
99834 main ()
99836 _atan2l(0, 0);
99838 return 0;
99840 _ACEOF
99841 rm -f conftest.$ac_objext
99842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99843 (eval $ac_compile) 2>conftest.er1
99844 ac_status=$?
99845 grep -v '^ *+' conftest.er1 >conftest.err
99846 rm -f conftest.er1
99847 cat conftest.err >&5
99848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99849 (exit $ac_status); } &&
99850 { ac_try='test -z "$ac_cxx_werror_flag"
99851 || test ! -s conftest.err'
99852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99853 (eval $ac_try) 2>&5
99854 ac_status=$?
99855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99856 (exit $ac_status); }; } &&
99857 { ac_try='test -s conftest.$ac_objext'
99858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99859 (eval $ac_try) 2>&5
99860 ac_status=$?
99861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99862 (exit $ac_status); }; }; then
99863 glibcxx_cv_func__atan2l_use=yes
99864 else
99865 echo "$as_me: failed program was:" >&5
99866 sed 's/^/| /' conftest.$ac_ext >&5
99868 glibcxx_cv_func__atan2l_use=no
99870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99871 ac_ext=c
99872 ac_cpp='$CPP $CPPFLAGS'
99873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99881 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
99882 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
99884 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
99886 for ac_func in _atan2l
99888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99889 echo "$as_me:$LINENO: checking for $ac_func" >&5
99890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99891 if eval "test \"\${$as_ac_var+set}\" = set"; then
99892 echo $ECHO_N "(cached) $ECHO_C" >&6
99893 else
99894 if test x$gcc_no_link = xyes; then
99895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99897 { (exit 1); exit 1; }; }
99899 cat >conftest.$ac_ext <<_ACEOF
99900 /* confdefs.h. */
99901 _ACEOF
99902 cat confdefs.h >>conftest.$ac_ext
99903 cat >>conftest.$ac_ext <<_ACEOF
99904 /* end confdefs.h. */
99905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99907 #define $ac_func innocuous_$ac_func
99909 /* System header to define __stub macros and hopefully few prototypes,
99910 which can conflict with char $ac_func (); below.
99911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99912 <limits.h> exists even on freestanding compilers. */
99914 #ifdef __STDC__
99915 # include <limits.h>
99916 #else
99917 # include <assert.h>
99918 #endif
99920 #undef $ac_func
99922 /* Override any gcc2 internal prototype to avoid an error. */
99923 #ifdef __cplusplus
99924 extern "C"
99926 #endif
99927 /* We use char because int might match the return type of a gcc2
99928 builtin and then its argument prototype would still apply. */
99929 char $ac_func ();
99930 /* The GNU C library defines this for functions which it implements
99931 to always fail with ENOSYS. Some functions are actually named
99932 something starting with __ and the normal name is an alias. */
99933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99934 choke me
99935 #else
99936 char (*f) () = $ac_func;
99937 #endif
99938 #ifdef __cplusplus
99940 #endif
99943 main ()
99945 return f != $ac_func;
99947 return 0;
99949 _ACEOF
99950 rm -f conftest.$ac_objext conftest$ac_exeext
99951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99952 (eval $ac_link) 2>conftest.er1
99953 ac_status=$?
99954 grep -v '^ *+' conftest.er1 >conftest.err
99955 rm -f conftest.er1
99956 cat conftest.err >&5
99957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99958 (exit $ac_status); } &&
99959 { ac_try='test -z "$ac_c_werror_flag"
99960 || test ! -s conftest.err'
99961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99962 (eval $ac_try) 2>&5
99963 ac_status=$?
99964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99965 (exit $ac_status); }; } &&
99966 { ac_try='test -s conftest$ac_exeext'
99967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99968 (eval $ac_try) 2>&5
99969 ac_status=$?
99970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99971 (exit $ac_status); }; }; then
99972 eval "$as_ac_var=yes"
99973 else
99974 echo "$as_me: failed program was:" >&5
99975 sed 's/^/| /' conftest.$ac_ext >&5
99977 eval "$as_ac_var=no"
99979 rm -f conftest.err conftest.$ac_objext \
99980 conftest$ac_exeext conftest.$ac_ext
99982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99984 if test `eval echo '${'$as_ac_var'}'` = yes; then
99985 cat >>confdefs.h <<_ACEOF
99986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99987 _ACEOF
99990 done
100000 echo "$as_me:$LINENO: checking for expl declaration" >&5
100001 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
100002 if test x${glibcxx_cv_func_expl_use+set} != xset; then
100003 if test "${glibcxx_cv_func_expl_use+set}" = set; then
100004 echo $ECHO_N "(cached) $ECHO_C" >&6
100009 ac_ext=cc
100010 ac_cpp='$CXXCPP $CPPFLAGS'
100011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100015 cat >conftest.$ac_ext <<_ACEOF
100016 /* confdefs.h. */
100017 _ACEOF
100018 cat confdefs.h >>conftest.$ac_ext
100019 cat >>conftest.$ac_ext <<_ACEOF
100020 /* end confdefs.h. */
100021 #include <math.h>
100022 #ifdef HAVE_IEEEFP_H
100023 #include <ieeefp.h>
100024 #endif
100027 main ()
100029 expl(0);
100031 return 0;
100033 _ACEOF
100034 rm -f conftest.$ac_objext
100035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100036 (eval $ac_compile) 2>conftest.er1
100037 ac_status=$?
100038 grep -v '^ *+' conftest.er1 >conftest.err
100039 rm -f conftest.er1
100040 cat conftest.err >&5
100041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100042 (exit $ac_status); } &&
100043 { ac_try='test -z "$ac_cxx_werror_flag"
100044 || test ! -s conftest.err'
100045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100046 (eval $ac_try) 2>&5
100047 ac_status=$?
100048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100049 (exit $ac_status); }; } &&
100050 { ac_try='test -s conftest.$ac_objext'
100051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100052 (eval $ac_try) 2>&5
100053 ac_status=$?
100054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100055 (exit $ac_status); }; }; then
100056 glibcxx_cv_func_expl_use=yes
100058 echo "$as_me: failed program was:" >&5
100059 sed 's/^/| /' conftest.$ac_ext >&5
100061 glibcxx_cv_func_expl_use=no
100063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100064 ac_ext=c
100065 ac_cpp='$CPP $CPPFLAGS'
100066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100074 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
100075 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
100077 if test x$glibcxx_cv_func_expl_use = x"yes"; then
100079 for ac_func in expl
100081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100082 echo "$as_me:$LINENO: checking for $ac_func" >&5
100083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100084 if eval "test \"\${$as_ac_var+set}\" = set"; then
100085 echo $ECHO_N "(cached) $ECHO_C" >&6
100087 if test x$gcc_no_link = xyes; then
100088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100090 { (exit 1); exit 1; }; }
100092 cat >conftest.$ac_ext <<_ACEOF
100093 /* confdefs.h. */
100094 _ACEOF
100095 cat confdefs.h >>conftest.$ac_ext
100096 cat >>conftest.$ac_ext <<_ACEOF
100097 /* end confdefs.h. */
100098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100100 #define $ac_func innocuous_$ac_func
100102 /* System header to define __stub macros and hopefully few prototypes,
100103 which can conflict with char $ac_func (); below.
100104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100105 <limits.h> exists even on freestanding compilers. */
100107 #ifdef __STDC__
100108 # include <limits.h>
100109 #else
100110 # include <assert.h>
100111 #endif
100113 #undef $ac_func
100115 /* Override any gcc2 internal prototype to avoid an error. */
100116 #ifdef __cplusplus
100117 extern "C"
100119 #endif
100120 /* We use char because int might match the return type of a gcc2
100121 builtin and then its argument prototype would still apply. */
100122 char $ac_func ();
100123 /* The GNU C library defines this for functions which it implements
100124 to always fail with ENOSYS. Some functions are actually named
100125 something starting with __ and the normal name is an alias. */
100126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100127 choke me
100128 #else
100129 char (*f) () = $ac_func;
100130 #endif
100131 #ifdef __cplusplus
100133 #endif
100136 main ()
100138 return f != $ac_func;
100140 return 0;
100142 _ACEOF
100143 rm -f conftest.$ac_objext conftest$ac_exeext
100144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100145 (eval $ac_link) 2>conftest.er1
100146 ac_status=$?
100147 grep -v '^ *+' conftest.er1 >conftest.err
100148 rm -f conftest.er1
100149 cat conftest.err >&5
100150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100151 (exit $ac_status); } &&
100152 { ac_try='test -z "$ac_c_werror_flag"
100153 || test ! -s conftest.err'
100154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100155 (eval $ac_try) 2>&5
100156 ac_status=$?
100157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100158 (exit $ac_status); }; } &&
100159 { ac_try='test -s conftest$ac_exeext'
100160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100161 (eval $ac_try) 2>&5
100162 ac_status=$?
100163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100164 (exit $ac_status); }; }; then
100165 eval "$as_ac_var=yes"
100167 echo "$as_me: failed program was:" >&5
100168 sed 's/^/| /' conftest.$ac_ext >&5
100170 eval "$as_ac_var=no"
100172 rm -f conftest.err conftest.$ac_objext \
100173 conftest$ac_exeext conftest.$ac_ext
100175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100177 if test `eval echo '${'$as_ac_var'}'` = yes; then
100178 cat >>confdefs.h <<_ACEOF
100179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100180 _ACEOF
100187 echo "$as_me:$LINENO: checking for _expl declaration" >&5
100188 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
100189 if test x${glibcxx_cv_func__expl_use+set} != xset; then
100190 if test "${glibcxx_cv_func__expl_use+set}" = set; then
100191 echo $ECHO_N "(cached) $ECHO_C" >&6
100196 ac_ext=cc
100197 ac_cpp='$CXXCPP $CPPFLAGS'
100198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100202 cat >conftest.$ac_ext <<_ACEOF
100203 /* confdefs.h. */
100204 _ACEOF
100205 cat confdefs.h >>conftest.$ac_ext
100206 cat >>conftest.$ac_ext <<_ACEOF
100207 /* end confdefs.h. */
100208 #include <math.h>
100209 #ifdef HAVE_IEEEFP_H
100210 #include <ieeefp.h>
100211 #endif
100214 main ()
100216 _expl(0);
100218 return 0;
100220 _ACEOF
100221 rm -f conftest.$ac_objext
100222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100223 (eval $ac_compile) 2>conftest.er1
100224 ac_status=$?
100225 grep -v '^ *+' conftest.er1 >conftest.err
100226 rm -f conftest.er1
100227 cat conftest.err >&5
100228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100229 (exit $ac_status); } &&
100230 { ac_try='test -z "$ac_cxx_werror_flag"
100231 || test ! -s conftest.err'
100232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100233 (eval $ac_try) 2>&5
100234 ac_status=$?
100235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100236 (exit $ac_status); }; } &&
100237 { ac_try='test -s conftest.$ac_objext'
100238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100239 (eval $ac_try) 2>&5
100240 ac_status=$?
100241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100242 (exit $ac_status); }; }; then
100243 glibcxx_cv_func__expl_use=yes
100245 echo "$as_me: failed program was:" >&5
100246 sed 's/^/| /' conftest.$ac_ext >&5
100248 glibcxx_cv_func__expl_use=no
100250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100251 ac_ext=c
100252 ac_cpp='$CPP $CPPFLAGS'
100253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100261 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
100262 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
100264 if test x$glibcxx_cv_func__expl_use = x"yes"; then
100266 for ac_func in _expl
100268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100269 echo "$as_me:$LINENO: checking for $ac_func" >&5
100270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100271 if eval "test \"\${$as_ac_var+set}\" = set"; then
100272 echo $ECHO_N "(cached) $ECHO_C" >&6
100274 if test x$gcc_no_link = xyes; then
100275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100277 { (exit 1); exit 1; }; }
100279 cat >conftest.$ac_ext <<_ACEOF
100280 /* confdefs.h. */
100281 _ACEOF
100282 cat confdefs.h >>conftest.$ac_ext
100283 cat >>conftest.$ac_ext <<_ACEOF
100284 /* end confdefs.h. */
100285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100287 #define $ac_func innocuous_$ac_func
100289 /* System header to define __stub macros and hopefully few prototypes,
100290 which can conflict with char $ac_func (); below.
100291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100292 <limits.h> exists even on freestanding compilers. */
100294 #ifdef __STDC__
100295 # include <limits.h>
100296 #else
100297 # include <assert.h>
100298 #endif
100300 #undef $ac_func
100302 /* Override any gcc2 internal prototype to avoid an error. */
100303 #ifdef __cplusplus
100304 extern "C"
100306 #endif
100307 /* We use char because int might match the return type of a gcc2
100308 builtin and then its argument prototype would still apply. */
100309 char $ac_func ();
100310 /* The GNU C library defines this for functions which it implements
100311 to always fail with ENOSYS. Some functions are actually named
100312 something starting with __ and the normal name is an alias. */
100313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100314 choke me
100315 #else
100316 char (*f) () = $ac_func;
100317 #endif
100318 #ifdef __cplusplus
100320 #endif
100323 main ()
100325 return f != $ac_func;
100327 return 0;
100329 _ACEOF
100330 rm -f conftest.$ac_objext conftest$ac_exeext
100331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100332 (eval $ac_link) 2>conftest.er1
100333 ac_status=$?
100334 grep -v '^ *+' conftest.er1 >conftest.err
100335 rm -f conftest.er1
100336 cat conftest.err >&5
100337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100338 (exit $ac_status); } &&
100339 { ac_try='test -z "$ac_c_werror_flag"
100340 || test ! -s conftest.err'
100341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100342 (eval $ac_try) 2>&5
100343 ac_status=$?
100344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100345 (exit $ac_status); }; } &&
100346 { ac_try='test -s conftest$ac_exeext'
100347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100348 (eval $ac_try) 2>&5
100349 ac_status=$?
100350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100351 (exit $ac_status); }; }; then
100352 eval "$as_ac_var=yes"
100354 echo "$as_me: failed program was:" >&5
100355 sed 's/^/| /' conftest.$ac_ext >&5
100357 eval "$as_ac_var=no"
100359 rm -f conftest.err conftest.$ac_objext \
100360 conftest$ac_exeext conftest.$ac_ext
100362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100364 if test `eval echo '${'$as_ac_var'}'` = yes; then
100365 cat >>confdefs.h <<_ACEOF
100366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100367 _ACEOF
100380 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
100381 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
100382 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
100383 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
100384 echo $ECHO_N "(cached) $ECHO_C" >&6
100389 ac_ext=cc
100390 ac_cpp='$CXXCPP $CPPFLAGS'
100391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100395 cat >conftest.$ac_ext <<_ACEOF
100396 /* confdefs.h. */
100397 _ACEOF
100398 cat confdefs.h >>conftest.$ac_ext
100399 cat >>conftest.$ac_ext <<_ACEOF
100400 /* end confdefs.h. */
100401 #include <math.h>
100402 #ifdef HAVE_IEEEFP_H
100403 #include <ieeefp.h>
100404 #endif
100407 main ()
100409 fabsl(0);
100411 return 0;
100413 _ACEOF
100414 rm -f conftest.$ac_objext
100415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100416 (eval $ac_compile) 2>conftest.er1
100417 ac_status=$?
100418 grep -v '^ *+' conftest.er1 >conftest.err
100419 rm -f conftest.er1
100420 cat conftest.err >&5
100421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100422 (exit $ac_status); } &&
100423 { ac_try='test -z "$ac_cxx_werror_flag"
100424 || test ! -s conftest.err'
100425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100426 (eval $ac_try) 2>&5
100427 ac_status=$?
100428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100429 (exit $ac_status); }; } &&
100430 { ac_try='test -s conftest.$ac_objext'
100431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100432 (eval $ac_try) 2>&5
100433 ac_status=$?
100434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100435 (exit $ac_status); }; }; then
100436 glibcxx_cv_func_fabsl_use=yes
100438 echo "$as_me: failed program was:" >&5
100439 sed 's/^/| /' conftest.$ac_ext >&5
100441 glibcxx_cv_func_fabsl_use=no
100443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100444 ac_ext=c
100445 ac_cpp='$CPP $CPPFLAGS'
100446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100454 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
100455 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
100457 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
100459 for ac_func in fabsl
100461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100462 echo "$as_me:$LINENO: checking for $ac_func" >&5
100463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100464 if eval "test \"\${$as_ac_var+set}\" = set"; then
100465 echo $ECHO_N "(cached) $ECHO_C" >&6
100467 if test x$gcc_no_link = xyes; then
100468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100470 { (exit 1); exit 1; }; }
100472 cat >conftest.$ac_ext <<_ACEOF
100473 /* confdefs.h. */
100474 _ACEOF
100475 cat confdefs.h >>conftest.$ac_ext
100476 cat >>conftest.$ac_ext <<_ACEOF
100477 /* end confdefs.h. */
100478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100480 #define $ac_func innocuous_$ac_func
100482 /* System header to define __stub macros and hopefully few prototypes,
100483 which can conflict with char $ac_func (); below.
100484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100485 <limits.h> exists even on freestanding compilers. */
100487 #ifdef __STDC__
100488 # include <limits.h>
100489 #else
100490 # include <assert.h>
100491 #endif
100493 #undef $ac_func
100495 /* Override any gcc2 internal prototype to avoid an error. */
100496 #ifdef __cplusplus
100497 extern "C"
100499 #endif
100500 /* We use char because int might match the return type of a gcc2
100501 builtin and then its argument prototype would still apply. */
100502 char $ac_func ();
100503 /* The GNU C library defines this for functions which it implements
100504 to always fail with ENOSYS. Some functions are actually named
100505 something starting with __ and the normal name is an alias. */
100506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100507 choke me
100508 #else
100509 char (*f) () = $ac_func;
100510 #endif
100511 #ifdef __cplusplus
100513 #endif
100516 main ()
100518 return f != $ac_func;
100520 return 0;
100522 _ACEOF
100523 rm -f conftest.$ac_objext conftest$ac_exeext
100524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100525 (eval $ac_link) 2>conftest.er1
100526 ac_status=$?
100527 grep -v '^ *+' conftest.er1 >conftest.err
100528 rm -f conftest.er1
100529 cat conftest.err >&5
100530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100531 (exit $ac_status); } &&
100532 { ac_try='test -z "$ac_c_werror_flag"
100533 || test ! -s conftest.err'
100534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100535 (eval $ac_try) 2>&5
100536 ac_status=$?
100537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100538 (exit $ac_status); }; } &&
100539 { ac_try='test -s conftest$ac_exeext'
100540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100541 (eval $ac_try) 2>&5
100542 ac_status=$?
100543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100544 (exit $ac_status); }; }; then
100545 eval "$as_ac_var=yes"
100547 echo "$as_me: failed program was:" >&5
100548 sed 's/^/| /' conftest.$ac_ext >&5
100550 eval "$as_ac_var=no"
100552 rm -f conftest.err conftest.$ac_objext \
100553 conftest$ac_exeext conftest.$ac_ext
100555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100557 if test `eval echo '${'$as_ac_var'}'` = yes; then
100558 cat >>confdefs.h <<_ACEOF
100559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100560 _ACEOF
100567 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
100568 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
100569 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
100570 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
100571 echo $ECHO_N "(cached) $ECHO_C" >&6
100576 ac_ext=cc
100577 ac_cpp='$CXXCPP $CPPFLAGS'
100578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100582 cat >conftest.$ac_ext <<_ACEOF
100583 /* confdefs.h. */
100584 _ACEOF
100585 cat confdefs.h >>conftest.$ac_ext
100586 cat >>conftest.$ac_ext <<_ACEOF
100587 /* end confdefs.h. */
100588 #include <math.h>
100589 #ifdef HAVE_IEEEFP_H
100590 #include <ieeefp.h>
100591 #endif
100594 main ()
100596 _fabsl(0);
100598 return 0;
100600 _ACEOF
100601 rm -f conftest.$ac_objext
100602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100603 (eval $ac_compile) 2>conftest.er1
100604 ac_status=$?
100605 grep -v '^ *+' conftest.er1 >conftest.err
100606 rm -f conftest.er1
100607 cat conftest.err >&5
100608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100609 (exit $ac_status); } &&
100610 { ac_try='test -z "$ac_cxx_werror_flag"
100611 || test ! -s conftest.err'
100612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100613 (eval $ac_try) 2>&5
100614 ac_status=$?
100615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100616 (exit $ac_status); }; } &&
100617 { ac_try='test -s conftest.$ac_objext'
100618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100619 (eval $ac_try) 2>&5
100620 ac_status=$?
100621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100622 (exit $ac_status); }; }; then
100623 glibcxx_cv_func__fabsl_use=yes
100625 echo "$as_me: failed program was:" >&5
100626 sed 's/^/| /' conftest.$ac_ext >&5
100628 glibcxx_cv_func__fabsl_use=no
100630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100631 ac_ext=c
100632 ac_cpp='$CPP $CPPFLAGS'
100633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100641 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
100642 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
100644 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
100646 for ac_func in _fabsl
100648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100649 echo "$as_me:$LINENO: checking for $ac_func" >&5
100650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100651 if eval "test \"\${$as_ac_var+set}\" = set"; then
100652 echo $ECHO_N "(cached) $ECHO_C" >&6
100654 if test x$gcc_no_link = xyes; then
100655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100657 { (exit 1); exit 1; }; }
100659 cat >conftest.$ac_ext <<_ACEOF
100660 /* confdefs.h. */
100661 _ACEOF
100662 cat confdefs.h >>conftest.$ac_ext
100663 cat >>conftest.$ac_ext <<_ACEOF
100664 /* end confdefs.h. */
100665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100667 #define $ac_func innocuous_$ac_func
100669 /* System header to define __stub macros and hopefully few prototypes,
100670 which can conflict with char $ac_func (); below.
100671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100672 <limits.h> exists even on freestanding compilers. */
100674 #ifdef __STDC__
100675 # include <limits.h>
100676 #else
100677 # include <assert.h>
100678 #endif
100680 #undef $ac_func
100682 /* Override any gcc2 internal prototype to avoid an error. */
100683 #ifdef __cplusplus
100684 extern "C"
100686 #endif
100687 /* We use char because int might match the return type of a gcc2
100688 builtin and then its argument prototype would still apply. */
100689 char $ac_func ();
100690 /* The GNU C library defines this for functions which it implements
100691 to always fail with ENOSYS. Some functions are actually named
100692 something starting with __ and the normal name is an alias. */
100693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100694 choke me
100695 #else
100696 char (*f) () = $ac_func;
100697 #endif
100698 #ifdef __cplusplus
100700 #endif
100703 main ()
100705 return f != $ac_func;
100707 return 0;
100709 _ACEOF
100710 rm -f conftest.$ac_objext conftest$ac_exeext
100711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100712 (eval $ac_link) 2>conftest.er1
100713 ac_status=$?
100714 grep -v '^ *+' conftest.er1 >conftest.err
100715 rm -f conftest.er1
100716 cat conftest.err >&5
100717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100718 (exit $ac_status); } &&
100719 { ac_try='test -z "$ac_c_werror_flag"
100720 || test ! -s conftest.err'
100721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100722 (eval $ac_try) 2>&5
100723 ac_status=$?
100724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100725 (exit $ac_status); }; } &&
100726 { ac_try='test -s conftest$ac_exeext'
100727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100728 (eval $ac_try) 2>&5
100729 ac_status=$?
100730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100731 (exit $ac_status); }; }; then
100732 eval "$as_ac_var=yes"
100734 echo "$as_me: failed program was:" >&5
100735 sed 's/^/| /' conftest.$ac_ext >&5
100737 eval "$as_ac_var=no"
100739 rm -f conftest.err conftest.$ac_objext \
100740 conftest$ac_exeext conftest.$ac_ext
100742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100744 if test `eval echo '${'$as_ac_var'}'` = yes; then
100745 cat >>confdefs.h <<_ACEOF
100746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100747 _ACEOF
100760 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
100761 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
100762 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
100763 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
100764 echo $ECHO_N "(cached) $ECHO_C" >&6
100769 ac_ext=cc
100770 ac_cpp='$CXXCPP $CPPFLAGS'
100771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100775 cat >conftest.$ac_ext <<_ACEOF
100776 /* confdefs.h. */
100777 _ACEOF
100778 cat confdefs.h >>conftest.$ac_ext
100779 cat >>conftest.$ac_ext <<_ACEOF
100780 /* end confdefs.h. */
100781 #include <math.h>
100783 main ()
100785 fmodl(0, 0);
100787 return 0;
100789 _ACEOF
100790 rm -f conftest.$ac_objext
100791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100792 (eval $ac_compile) 2>conftest.er1
100793 ac_status=$?
100794 grep -v '^ *+' conftest.er1 >conftest.err
100795 rm -f conftest.er1
100796 cat conftest.err >&5
100797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100798 (exit $ac_status); } &&
100799 { ac_try='test -z "$ac_cxx_werror_flag"
100800 || test ! -s conftest.err'
100801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100802 (eval $ac_try) 2>&5
100803 ac_status=$?
100804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100805 (exit $ac_status); }; } &&
100806 { ac_try='test -s conftest.$ac_objext'
100807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100808 (eval $ac_try) 2>&5
100809 ac_status=$?
100810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100811 (exit $ac_status); }; }; then
100812 glibcxx_cv_func_fmodl_use=yes
100814 echo "$as_me: failed program was:" >&5
100815 sed 's/^/| /' conftest.$ac_ext >&5
100817 glibcxx_cv_func_fmodl_use=no
100819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100820 ac_ext=c
100821 ac_cpp='$CPP $CPPFLAGS'
100822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100830 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
100831 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
100833 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
100835 for ac_func in fmodl
100837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100838 echo "$as_me:$LINENO: checking for $ac_func" >&5
100839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100840 if eval "test \"\${$as_ac_var+set}\" = set"; then
100841 echo $ECHO_N "(cached) $ECHO_C" >&6
100843 if test x$gcc_no_link = xyes; then
100844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100846 { (exit 1); exit 1; }; }
100848 cat >conftest.$ac_ext <<_ACEOF
100849 /* confdefs.h. */
100850 _ACEOF
100851 cat confdefs.h >>conftest.$ac_ext
100852 cat >>conftest.$ac_ext <<_ACEOF
100853 /* end confdefs.h. */
100854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100856 #define $ac_func innocuous_$ac_func
100858 /* System header to define __stub macros and hopefully few prototypes,
100859 which can conflict with char $ac_func (); below.
100860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100861 <limits.h> exists even on freestanding compilers. */
100863 #ifdef __STDC__
100864 # include <limits.h>
100865 #else
100866 # include <assert.h>
100867 #endif
100869 #undef $ac_func
100871 /* Override any gcc2 internal prototype to avoid an error. */
100872 #ifdef __cplusplus
100873 extern "C"
100875 #endif
100876 /* We use char because int might match the return type of a gcc2
100877 builtin and then its argument prototype would still apply. */
100878 char $ac_func ();
100879 /* The GNU C library defines this for functions which it implements
100880 to always fail with ENOSYS. Some functions are actually named
100881 something starting with __ and the normal name is an alias. */
100882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100883 choke me
100884 #else
100885 char (*f) () = $ac_func;
100886 #endif
100887 #ifdef __cplusplus
100889 #endif
100892 main ()
100894 return f != $ac_func;
100896 return 0;
100898 _ACEOF
100899 rm -f conftest.$ac_objext conftest$ac_exeext
100900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100901 (eval $ac_link) 2>conftest.er1
100902 ac_status=$?
100903 grep -v '^ *+' conftest.er1 >conftest.err
100904 rm -f conftest.er1
100905 cat conftest.err >&5
100906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100907 (exit $ac_status); } &&
100908 { ac_try='test -z "$ac_c_werror_flag"
100909 || test ! -s conftest.err'
100910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100911 (eval $ac_try) 2>&5
100912 ac_status=$?
100913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100914 (exit $ac_status); }; } &&
100915 { ac_try='test -s conftest$ac_exeext'
100916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100917 (eval $ac_try) 2>&5
100918 ac_status=$?
100919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100920 (exit $ac_status); }; }; then
100921 eval "$as_ac_var=yes"
100923 echo "$as_me: failed program was:" >&5
100924 sed 's/^/| /' conftest.$ac_ext >&5
100926 eval "$as_ac_var=no"
100928 rm -f conftest.err conftest.$ac_objext \
100929 conftest$ac_exeext conftest.$ac_ext
100931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100933 if test `eval echo '${'$as_ac_var'}'` = yes; then
100934 cat >>confdefs.h <<_ACEOF
100935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100936 _ACEOF
100943 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
100944 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
100945 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
100946 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
100947 echo $ECHO_N "(cached) $ECHO_C" >&6
100952 ac_ext=cc
100953 ac_cpp='$CXXCPP $CPPFLAGS'
100954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100958 cat >conftest.$ac_ext <<_ACEOF
100959 /* confdefs.h. */
100960 _ACEOF
100961 cat confdefs.h >>conftest.$ac_ext
100962 cat >>conftest.$ac_ext <<_ACEOF
100963 /* end confdefs.h. */
100964 #include <math.h>
100966 main ()
100968 _fmodl(0, 0);
100970 return 0;
100972 _ACEOF
100973 rm -f conftest.$ac_objext
100974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100975 (eval $ac_compile) 2>conftest.er1
100976 ac_status=$?
100977 grep -v '^ *+' conftest.er1 >conftest.err
100978 rm -f conftest.er1
100979 cat conftest.err >&5
100980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100981 (exit $ac_status); } &&
100982 { ac_try='test -z "$ac_cxx_werror_flag"
100983 || test ! -s conftest.err'
100984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100985 (eval $ac_try) 2>&5
100986 ac_status=$?
100987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100988 (exit $ac_status); }; } &&
100989 { ac_try='test -s conftest.$ac_objext'
100990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100991 (eval $ac_try) 2>&5
100992 ac_status=$?
100993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100994 (exit $ac_status); }; }; then
100995 glibcxx_cv_func__fmodl_use=yes
100997 echo "$as_me: failed program was:" >&5
100998 sed 's/^/| /' conftest.$ac_ext >&5
101000 glibcxx_cv_func__fmodl_use=no
101002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101003 ac_ext=c
101004 ac_cpp='$CPP $CPPFLAGS'
101005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101013 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
101014 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
101016 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
101018 for ac_func in _fmodl
101020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101021 echo "$as_me:$LINENO: checking for $ac_func" >&5
101022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101023 if eval "test \"\${$as_ac_var+set}\" = set"; then
101024 echo $ECHO_N "(cached) $ECHO_C" >&6
101026 if test x$gcc_no_link = xyes; then
101027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101029 { (exit 1); exit 1; }; }
101031 cat >conftest.$ac_ext <<_ACEOF
101032 /* confdefs.h. */
101033 _ACEOF
101034 cat confdefs.h >>conftest.$ac_ext
101035 cat >>conftest.$ac_ext <<_ACEOF
101036 /* end confdefs.h. */
101037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101039 #define $ac_func innocuous_$ac_func
101041 /* System header to define __stub macros and hopefully few prototypes,
101042 which can conflict with char $ac_func (); below.
101043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101044 <limits.h> exists even on freestanding compilers. */
101046 #ifdef __STDC__
101047 # include <limits.h>
101048 #else
101049 # include <assert.h>
101050 #endif
101052 #undef $ac_func
101054 /* Override any gcc2 internal prototype to avoid an error. */
101055 #ifdef __cplusplus
101056 extern "C"
101058 #endif
101059 /* We use char because int might match the return type of a gcc2
101060 builtin and then its argument prototype would still apply. */
101061 char $ac_func ();
101062 /* The GNU C library defines this for functions which it implements
101063 to always fail with ENOSYS. Some functions are actually named
101064 something starting with __ and the normal name is an alias. */
101065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101066 choke me
101067 #else
101068 char (*f) () = $ac_func;
101069 #endif
101070 #ifdef __cplusplus
101072 #endif
101075 main ()
101077 return f != $ac_func;
101079 return 0;
101081 _ACEOF
101082 rm -f conftest.$ac_objext conftest$ac_exeext
101083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101084 (eval $ac_link) 2>conftest.er1
101085 ac_status=$?
101086 grep -v '^ *+' conftest.er1 >conftest.err
101087 rm -f conftest.er1
101088 cat conftest.err >&5
101089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101090 (exit $ac_status); } &&
101091 { ac_try='test -z "$ac_c_werror_flag"
101092 || test ! -s conftest.err'
101093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101094 (eval $ac_try) 2>&5
101095 ac_status=$?
101096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101097 (exit $ac_status); }; } &&
101098 { ac_try='test -s conftest$ac_exeext'
101099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101100 (eval $ac_try) 2>&5
101101 ac_status=$?
101102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101103 (exit $ac_status); }; }; then
101104 eval "$as_ac_var=yes"
101106 echo "$as_me: failed program was:" >&5
101107 sed 's/^/| /' conftest.$ac_ext >&5
101109 eval "$as_ac_var=no"
101111 rm -f conftest.err conftest.$ac_objext \
101112 conftest$ac_exeext conftest.$ac_ext
101114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101116 if test `eval echo '${'$as_ac_var'}'` = yes; then
101117 cat >>confdefs.h <<_ACEOF
101118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101119 _ACEOF
101132 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
101133 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
101134 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
101135 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
101136 echo $ECHO_N "(cached) $ECHO_C" >&6
101141 ac_ext=cc
101142 ac_cpp='$CXXCPP $CPPFLAGS'
101143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101147 cat >conftest.$ac_ext <<_ACEOF
101148 /* confdefs.h. */
101149 _ACEOF
101150 cat confdefs.h >>conftest.$ac_ext
101151 cat >>conftest.$ac_ext <<_ACEOF
101152 /* end confdefs.h. */
101153 #include <math.h>
101155 main ()
101157 frexpl(0, 0);
101159 return 0;
101161 _ACEOF
101162 rm -f conftest.$ac_objext
101163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101164 (eval $ac_compile) 2>conftest.er1
101165 ac_status=$?
101166 grep -v '^ *+' conftest.er1 >conftest.err
101167 rm -f conftest.er1
101168 cat conftest.err >&5
101169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101170 (exit $ac_status); } &&
101171 { ac_try='test -z "$ac_cxx_werror_flag"
101172 || test ! -s conftest.err'
101173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101174 (eval $ac_try) 2>&5
101175 ac_status=$?
101176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101177 (exit $ac_status); }; } &&
101178 { ac_try='test -s conftest.$ac_objext'
101179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101180 (eval $ac_try) 2>&5
101181 ac_status=$?
101182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101183 (exit $ac_status); }; }; then
101184 glibcxx_cv_func_frexpl_use=yes
101186 echo "$as_me: failed program was:" >&5
101187 sed 's/^/| /' conftest.$ac_ext >&5
101189 glibcxx_cv_func_frexpl_use=no
101191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101192 ac_ext=c
101193 ac_cpp='$CPP $CPPFLAGS'
101194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101202 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
101203 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
101205 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
101207 for ac_func in frexpl
101209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101210 echo "$as_me:$LINENO: checking for $ac_func" >&5
101211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101212 if eval "test \"\${$as_ac_var+set}\" = set"; then
101213 echo $ECHO_N "(cached) $ECHO_C" >&6
101215 if test x$gcc_no_link = xyes; then
101216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101218 { (exit 1); exit 1; }; }
101220 cat >conftest.$ac_ext <<_ACEOF
101221 /* confdefs.h. */
101222 _ACEOF
101223 cat confdefs.h >>conftest.$ac_ext
101224 cat >>conftest.$ac_ext <<_ACEOF
101225 /* end confdefs.h. */
101226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101228 #define $ac_func innocuous_$ac_func
101230 /* System header to define __stub macros and hopefully few prototypes,
101231 which can conflict with char $ac_func (); below.
101232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101233 <limits.h> exists even on freestanding compilers. */
101235 #ifdef __STDC__
101236 # include <limits.h>
101237 #else
101238 # include <assert.h>
101239 #endif
101241 #undef $ac_func
101243 /* Override any gcc2 internal prototype to avoid an error. */
101244 #ifdef __cplusplus
101245 extern "C"
101247 #endif
101248 /* We use char because int might match the return type of a gcc2
101249 builtin and then its argument prototype would still apply. */
101250 char $ac_func ();
101251 /* The GNU C library defines this for functions which it implements
101252 to always fail with ENOSYS. Some functions are actually named
101253 something starting with __ and the normal name is an alias. */
101254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101255 choke me
101256 #else
101257 char (*f) () = $ac_func;
101258 #endif
101259 #ifdef __cplusplus
101261 #endif
101264 main ()
101266 return f != $ac_func;
101268 return 0;
101270 _ACEOF
101271 rm -f conftest.$ac_objext conftest$ac_exeext
101272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101273 (eval $ac_link) 2>conftest.er1
101274 ac_status=$?
101275 grep -v '^ *+' conftest.er1 >conftest.err
101276 rm -f conftest.er1
101277 cat conftest.err >&5
101278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101279 (exit $ac_status); } &&
101280 { ac_try='test -z "$ac_c_werror_flag"
101281 || test ! -s conftest.err'
101282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101283 (eval $ac_try) 2>&5
101284 ac_status=$?
101285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101286 (exit $ac_status); }; } &&
101287 { ac_try='test -s conftest$ac_exeext'
101288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101289 (eval $ac_try) 2>&5
101290 ac_status=$?
101291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101292 (exit $ac_status); }; }; then
101293 eval "$as_ac_var=yes"
101295 echo "$as_me: failed program was:" >&5
101296 sed 's/^/| /' conftest.$ac_ext >&5
101298 eval "$as_ac_var=no"
101300 rm -f conftest.err conftest.$ac_objext \
101301 conftest$ac_exeext conftest.$ac_ext
101303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101305 if test `eval echo '${'$as_ac_var'}'` = yes; then
101306 cat >>confdefs.h <<_ACEOF
101307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101308 _ACEOF
101315 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
101316 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
101317 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
101318 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
101319 echo $ECHO_N "(cached) $ECHO_C" >&6
101324 ac_ext=cc
101325 ac_cpp='$CXXCPP $CPPFLAGS'
101326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101330 cat >conftest.$ac_ext <<_ACEOF
101331 /* confdefs.h. */
101332 _ACEOF
101333 cat confdefs.h >>conftest.$ac_ext
101334 cat >>conftest.$ac_ext <<_ACEOF
101335 /* end confdefs.h. */
101336 #include <math.h>
101338 main ()
101340 _frexpl(0, 0);
101342 return 0;
101344 _ACEOF
101345 rm -f conftest.$ac_objext
101346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101347 (eval $ac_compile) 2>conftest.er1
101348 ac_status=$?
101349 grep -v '^ *+' conftest.er1 >conftest.err
101350 rm -f conftest.er1
101351 cat conftest.err >&5
101352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101353 (exit $ac_status); } &&
101354 { ac_try='test -z "$ac_cxx_werror_flag"
101355 || test ! -s conftest.err'
101356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101357 (eval $ac_try) 2>&5
101358 ac_status=$?
101359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101360 (exit $ac_status); }; } &&
101361 { ac_try='test -s conftest.$ac_objext'
101362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101363 (eval $ac_try) 2>&5
101364 ac_status=$?
101365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101366 (exit $ac_status); }; }; then
101367 glibcxx_cv_func__frexpl_use=yes
101369 echo "$as_me: failed program was:" >&5
101370 sed 's/^/| /' conftest.$ac_ext >&5
101372 glibcxx_cv_func__frexpl_use=no
101374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101375 ac_ext=c
101376 ac_cpp='$CPP $CPPFLAGS'
101377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101385 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
101386 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
101388 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
101390 for ac_func in _frexpl
101392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101393 echo "$as_me:$LINENO: checking for $ac_func" >&5
101394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101395 if eval "test \"\${$as_ac_var+set}\" = set"; then
101396 echo $ECHO_N "(cached) $ECHO_C" >&6
101398 if test x$gcc_no_link = xyes; then
101399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101401 { (exit 1); exit 1; }; }
101403 cat >conftest.$ac_ext <<_ACEOF
101404 /* confdefs.h. */
101405 _ACEOF
101406 cat confdefs.h >>conftest.$ac_ext
101407 cat >>conftest.$ac_ext <<_ACEOF
101408 /* end confdefs.h. */
101409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101411 #define $ac_func innocuous_$ac_func
101413 /* System header to define __stub macros and hopefully few prototypes,
101414 which can conflict with char $ac_func (); below.
101415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101416 <limits.h> exists even on freestanding compilers. */
101418 #ifdef __STDC__
101419 # include <limits.h>
101420 #else
101421 # include <assert.h>
101422 #endif
101424 #undef $ac_func
101426 /* Override any gcc2 internal prototype to avoid an error. */
101427 #ifdef __cplusplus
101428 extern "C"
101430 #endif
101431 /* We use char because int might match the return type of a gcc2
101432 builtin and then its argument prototype would still apply. */
101433 char $ac_func ();
101434 /* The GNU C library defines this for functions which it implements
101435 to always fail with ENOSYS. Some functions are actually named
101436 something starting with __ and the normal name is an alias. */
101437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101438 choke me
101439 #else
101440 char (*f) () = $ac_func;
101441 #endif
101442 #ifdef __cplusplus
101444 #endif
101447 main ()
101449 return f != $ac_func;
101451 return 0;
101453 _ACEOF
101454 rm -f conftest.$ac_objext conftest$ac_exeext
101455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101456 (eval $ac_link) 2>conftest.er1
101457 ac_status=$?
101458 grep -v '^ *+' conftest.er1 >conftest.err
101459 rm -f conftest.er1
101460 cat conftest.err >&5
101461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101462 (exit $ac_status); } &&
101463 { ac_try='test -z "$ac_c_werror_flag"
101464 || test ! -s conftest.err'
101465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101466 (eval $ac_try) 2>&5
101467 ac_status=$?
101468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101469 (exit $ac_status); }; } &&
101470 { ac_try='test -s conftest$ac_exeext'
101471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101472 (eval $ac_try) 2>&5
101473 ac_status=$?
101474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101475 (exit $ac_status); }; }; then
101476 eval "$as_ac_var=yes"
101478 echo "$as_me: failed program was:" >&5
101479 sed 's/^/| /' conftest.$ac_ext >&5
101481 eval "$as_ac_var=no"
101483 rm -f conftest.err conftest.$ac_objext \
101484 conftest$ac_exeext conftest.$ac_ext
101486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101488 if test `eval echo '${'$as_ac_var'}'` = yes; then
101489 cat >>confdefs.h <<_ACEOF
101490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101491 _ACEOF
101504 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
101505 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
101506 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
101507 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
101508 echo $ECHO_N "(cached) $ECHO_C" >&6
101513 ac_ext=cc
101514 ac_cpp='$CXXCPP $CPPFLAGS'
101515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101519 cat >conftest.$ac_ext <<_ACEOF
101520 /* confdefs.h. */
101521 _ACEOF
101522 cat confdefs.h >>conftest.$ac_ext
101523 cat >>conftest.$ac_ext <<_ACEOF
101524 /* end confdefs.h. */
101525 #include <math.h>
101527 main ()
101529 hypotl(0, 0);
101531 return 0;
101533 _ACEOF
101534 rm -f conftest.$ac_objext
101535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101536 (eval $ac_compile) 2>conftest.er1
101537 ac_status=$?
101538 grep -v '^ *+' conftest.er1 >conftest.err
101539 rm -f conftest.er1
101540 cat conftest.err >&5
101541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101542 (exit $ac_status); } &&
101543 { ac_try='test -z "$ac_cxx_werror_flag"
101544 || test ! -s conftest.err'
101545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101546 (eval $ac_try) 2>&5
101547 ac_status=$?
101548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101549 (exit $ac_status); }; } &&
101550 { ac_try='test -s conftest.$ac_objext'
101551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101552 (eval $ac_try) 2>&5
101553 ac_status=$?
101554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101555 (exit $ac_status); }; }; then
101556 glibcxx_cv_func_hypotl_use=yes
101558 echo "$as_me: failed program was:" >&5
101559 sed 's/^/| /' conftest.$ac_ext >&5
101561 glibcxx_cv_func_hypotl_use=no
101563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101564 ac_ext=c
101565 ac_cpp='$CPP $CPPFLAGS'
101566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101574 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
101575 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
101577 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
101579 for ac_func in hypotl
101581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101582 echo "$as_me:$LINENO: checking for $ac_func" >&5
101583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101584 if eval "test \"\${$as_ac_var+set}\" = set"; then
101585 echo $ECHO_N "(cached) $ECHO_C" >&6
101587 if test x$gcc_no_link = xyes; then
101588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101590 { (exit 1); exit 1; }; }
101592 cat >conftest.$ac_ext <<_ACEOF
101593 /* confdefs.h. */
101594 _ACEOF
101595 cat confdefs.h >>conftest.$ac_ext
101596 cat >>conftest.$ac_ext <<_ACEOF
101597 /* end confdefs.h. */
101598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101600 #define $ac_func innocuous_$ac_func
101602 /* System header to define __stub macros and hopefully few prototypes,
101603 which can conflict with char $ac_func (); below.
101604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101605 <limits.h> exists even on freestanding compilers. */
101607 #ifdef __STDC__
101608 # include <limits.h>
101609 #else
101610 # include <assert.h>
101611 #endif
101613 #undef $ac_func
101615 /* Override any gcc2 internal prototype to avoid an error. */
101616 #ifdef __cplusplus
101617 extern "C"
101619 #endif
101620 /* We use char because int might match the return type of a gcc2
101621 builtin and then its argument prototype would still apply. */
101622 char $ac_func ();
101623 /* The GNU C library defines this for functions which it implements
101624 to always fail with ENOSYS. Some functions are actually named
101625 something starting with __ and the normal name is an alias. */
101626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101627 choke me
101628 #else
101629 char (*f) () = $ac_func;
101630 #endif
101631 #ifdef __cplusplus
101633 #endif
101636 main ()
101638 return f != $ac_func;
101640 return 0;
101642 _ACEOF
101643 rm -f conftest.$ac_objext conftest$ac_exeext
101644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101645 (eval $ac_link) 2>conftest.er1
101646 ac_status=$?
101647 grep -v '^ *+' conftest.er1 >conftest.err
101648 rm -f conftest.er1
101649 cat conftest.err >&5
101650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101651 (exit $ac_status); } &&
101652 { ac_try='test -z "$ac_c_werror_flag"
101653 || test ! -s conftest.err'
101654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101655 (eval $ac_try) 2>&5
101656 ac_status=$?
101657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101658 (exit $ac_status); }; } &&
101659 { ac_try='test -s conftest$ac_exeext'
101660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101661 (eval $ac_try) 2>&5
101662 ac_status=$?
101663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101664 (exit $ac_status); }; }; then
101665 eval "$as_ac_var=yes"
101667 echo "$as_me: failed program was:" >&5
101668 sed 's/^/| /' conftest.$ac_ext >&5
101670 eval "$as_ac_var=no"
101672 rm -f conftest.err conftest.$ac_objext \
101673 conftest$ac_exeext conftest.$ac_ext
101675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101677 if test `eval echo '${'$as_ac_var'}'` = yes; then
101678 cat >>confdefs.h <<_ACEOF
101679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101680 _ACEOF
101687 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
101688 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
101689 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
101690 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
101691 echo $ECHO_N "(cached) $ECHO_C" >&6
101696 ac_ext=cc
101697 ac_cpp='$CXXCPP $CPPFLAGS'
101698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101702 cat >conftest.$ac_ext <<_ACEOF
101703 /* confdefs.h. */
101704 _ACEOF
101705 cat confdefs.h >>conftest.$ac_ext
101706 cat >>conftest.$ac_ext <<_ACEOF
101707 /* end confdefs.h. */
101708 #include <math.h>
101710 main ()
101712 _hypotl(0, 0);
101714 return 0;
101716 _ACEOF
101717 rm -f conftest.$ac_objext
101718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101719 (eval $ac_compile) 2>conftest.er1
101720 ac_status=$?
101721 grep -v '^ *+' conftest.er1 >conftest.err
101722 rm -f conftest.er1
101723 cat conftest.err >&5
101724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101725 (exit $ac_status); } &&
101726 { ac_try='test -z "$ac_cxx_werror_flag"
101727 || test ! -s conftest.err'
101728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101729 (eval $ac_try) 2>&5
101730 ac_status=$?
101731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101732 (exit $ac_status); }; } &&
101733 { ac_try='test -s conftest.$ac_objext'
101734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101735 (eval $ac_try) 2>&5
101736 ac_status=$?
101737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101738 (exit $ac_status); }; }; then
101739 glibcxx_cv_func__hypotl_use=yes
101741 echo "$as_me: failed program was:" >&5
101742 sed 's/^/| /' conftest.$ac_ext >&5
101744 glibcxx_cv_func__hypotl_use=no
101746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101747 ac_ext=c
101748 ac_cpp='$CPP $CPPFLAGS'
101749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101757 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
101758 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
101760 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
101762 for ac_func in _hypotl
101764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101765 echo "$as_me:$LINENO: checking for $ac_func" >&5
101766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101767 if eval "test \"\${$as_ac_var+set}\" = set"; then
101768 echo $ECHO_N "(cached) $ECHO_C" >&6
101770 if test x$gcc_no_link = xyes; then
101771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101773 { (exit 1); exit 1; }; }
101775 cat >conftest.$ac_ext <<_ACEOF
101776 /* confdefs.h. */
101777 _ACEOF
101778 cat confdefs.h >>conftest.$ac_ext
101779 cat >>conftest.$ac_ext <<_ACEOF
101780 /* end confdefs.h. */
101781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101783 #define $ac_func innocuous_$ac_func
101785 /* System header to define __stub macros and hopefully few prototypes,
101786 which can conflict with char $ac_func (); below.
101787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101788 <limits.h> exists even on freestanding compilers. */
101790 #ifdef __STDC__
101791 # include <limits.h>
101792 #else
101793 # include <assert.h>
101794 #endif
101796 #undef $ac_func
101798 /* Override any gcc2 internal prototype to avoid an error. */
101799 #ifdef __cplusplus
101800 extern "C"
101802 #endif
101803 /* We use char because int might match the return type of a gcc2
101804 builtin and then its argument prototype would still apply. */
101805 char $ac_func ();
101806 /* The GNU C library defines this for functions which it implements
101807 to always fail with ENOSYS. Some functions are actually named
101808 something starting with __ and the normal name is an alias. */
101809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101810 choke me
101811 #else
101812 char (*f) () = $ac_func;
101813 #endif
101814 #ifdef __cplusplus
101816 #endif
101819 main ()
101821 return f != $ac_func;
101823 return 0;
101825 _ACEOF
101826 rm -f conftest.$ac_objext conftest$ac_exeext
101827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101828 (eval $ac_link) 2>conftest.er1
101829 ac_status=$?
101830 grep -v '^ *+' conftest.er1 >conftest.err
101831 rm -f conftest.er1
101832 cat conftest.err >&5
101833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101834 (exit $ac_status); } &&
101835 { ac_try='test -z "$ac_c_werror_flag"
101836 || test ! -s conftest.err'
101837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101838 (eval $ac_try) 2>&5
101839 ac_status=$?
101840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101841 (exit $ac_status); }; } &&
101842 { ac_try='test -s conftest$ac_exeext'
101843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101844 (eval $ac_try) 2>&5
101845 ac_status=$?
101846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101847 (exit $ac_status); }; }; then
101848 eval "$as_ac_var=yes"
101850 echo "$as_me: failed program was:" >&5
101851 sed 's/^/| /' conftest.$ac_ext >&5
101853 eval "$as_ac_var=no"
101855 rm -f conftest.err conftest.$ac_objext \
101856 conftest$ac_exeext conftest.$ac_ext
101858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101860 if test `eval echo '${'$as_ac_var'}'` = yes; then
101861 cat >>confdefs.h <<_ACEOF
101862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101863 _ACEOF
101876 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
101877 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
101878 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
101879 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
101880 echo $ECHO_N "(cached) $ECHO_C" >&6
101885 ac_ext=cc
101886 ac_cpp='$CXXCPP $CPPFLAGS'
101887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101891 cat >conftest.$ac_ext <<_ACEOF
101892 /* confdefs.h. */
101893 _ACEOF
101894 cat confdefs.h >>conftest.$ac_ext
101895 cat >>conftest.$ac_ext <<_ACEOF
101896 /* end confdefs.h. */
101897 #include <math.h>
101899 main ()
101901 ldexpl(0, 0);
101903 return 0;
101905 _ACEOF
101906 rm -f conftest.$ac_objext
101907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101908 (eval $ac_compile) 2>conftest.er1
101909 ac_status=$?
101910 grep -v '^ *+' conftest.er1 >conftest.err
101911 rm -f conftest.er1
101912 cat conftest.err >&5
101913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101914 (exit $ac_status); } &&
101915 { ac_try='test -z "$ac_cxx_werror_flag"
101916 || test ! -s conftest.err'
101917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101918 (eval $ac_try) 2>&5
101919 ac_status=$?
101920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101921 (exit $ac_status); }; } &&
101922 { ac_try='test -s conftest.$ac_objext'
101923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101924 (eval $ac_try) 2>&5
101925 ac_status=$?
101926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101927 (exit $ac_status); }; }; then
101928 glibcxx_cv_func_ldexpl_use=yes
101930 echo "$as_me: failed program was:" >&5
101931 sed 's/^/| /' conftest.$ac_ext >&5
101933 glibcxx_cv_func_ldexpl_use=no
101935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101936 ac_ext=c
101937 ac_cpp='$CPP $CPPFLAGS'
101938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101946 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
101947 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
101949 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
101951 for ac_func in ldexpl
101953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101954 echo "$as_me:$LINENO: checking for $ac_func" >&5
101955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101956 if eval "test \"\${$as_ac_var+set}\" = set"; then
101957 echo $ECHO_N "(cached) $ECHO_C" >&6
101959 if test x$gcc_no_link = xyes; then
101960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101962 { (exit 1); exit 1; }; }
101964 cat >conftest.$ac_ext <<_ACEOF
101965 /* confdefs.h. */
101966 _ACEOF
101967 cat confdefs.h >>conftest.$ac_ext
101968 cat >>conftest.$ac_ext <<_ACEOF
101969 /* end confdefs.h. */
101970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101972 #define $ac_func innocuous_$ac_func
101974 /* System header to define __stub macros and hopefully few prototypes,
101975 which can conflict with char $ac_func (); below.
101976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101977 <limits.h> exists even on freestanding compilers. */
101979 #ifdef __STDC__
101980 # include <limits.h>
101981 #else
101982 # include <assert.h>
101983 #endif
101985 #undef $ac_func
101987 /* Override any gcc2 internal prototype to avoid an error. */
101988 #ifdef __cplusplus
101989 extern "C"
101991 #endif
101992 /* We use char because int might match the return type of a gcc2
101993 builtin and then its argument prototype would still apply. */
101994 char $ac_func ();
101995 /* The GNU C library defines this for functions which it implements
101996 to always fail with ENOSYS. Some functions are actually named
101997 something starting with __ and the normal name is an alias. */
101998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101999 choke me
102000 #else
102001 char (*f) () = $ac_func;
102002 #endif
102003 #ifdef __cplusplus
102005 #endif
102008 main ()
102010 return f != $ac_func;
102012 return 0;
102014 _ACEOF
102015 rm -f conftest.$ac_objext conftest$ac_exeext
102016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102017 (eval $ac_link) 2>conftest.er1
102018 ac_status=$?
102019 grep -v '^ *+' conftest.er1 >conftest.err
102020 rm -f conftest.er1
102021 cat conftest.err >&5
102022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102023 (exit $ac_status); } &&
102024 { ac_try='test -z "$ac_c_werror_flag"
102025 || test ! -s conftest.err'
102026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102027 (eval $ac_try) 2>&5
102028 ac_status=$?
102029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102030 (exit $ac_status); }; } &&
102031 { ac_try='test -s conftest$ac_exeext'
102032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102033 (eval $ac_try) 2>&5
102034 ac_status=$?
102035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102036 (exit $ac_status); }; }; then
102037 eval "$as_ac_var=yes"
102039 echo "$as_me: failed program was:" >&5
102040 sed 's/^/| /' conftest.$ac_ext >&5
102042 eval "$as_ac_var=no"
102044 rm -f conftest.err conftest.$ac_objext \
102045 conftest$ac_exeext conftest.$ac_ext
102047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102049 if test `eval echo '${'$as_ac_var'}'` = yes; then
102050 cat >>confdefs.h <<_ACEOF
102051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102052 _ACEOF
102059 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
102060 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
102061 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
102062 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
102063 echo $ECHO_N "(cached) $ECHO_C" >&6
102068 ac_ext=cc
102069 ac_cpp='$CXXCPP $CPPFLAGS'
102070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102074 cat >conftest.$ac_ext <<_ACEOF
102075 /* confdefs.h. */
102076 _ACEOF
102077 cat confdefs.h >>conftest.$ac_ext
102078 cat >>conftest.$ac_ext <<_ACEOF
102079 /* end confdefs.h. */
102080 #include <math.h>
102082 main ()
102084 _ldexpl(0, 0);
102086 return 0;
102088 _ACEOF
102089 rm -f conftest.$ac_objext
102090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102091 (eval $ac_compile) 2>conftest.er1
102092 ac_status=$?
102093 grep -v '^ *+' conftest.er1 >conftest.err
102094 rm -f conftest.er1
102095 cat conftest.err >&5
102096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102097 (exit $ac_status); } &&
102098 { ac_try='test -z "$ac_cxx_werror_flag"
102099 || test ! -s conftest.err'
102100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102101 (eval $ac_try) 2>&5
102102 ac_status=$?
102103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102104 (exit $ac_status); }; } &&
102105 { ac_try='test -s conftest.$ac_objext'
102106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102107 (eval $ac_try) 2>&5
102108 ac_status=$?
102109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102110 (exit $ac_status); }; }; then
102111 glibcxx_cv_func__ldexpl_use=yes
102113 echo "$as_me: failed program was:" >&5
102114 sed 's/^/| /' conftest.$ac_ext >&5
102116 glibcxx_cv_func__ldexpl_use=no
102118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102119 ac_ext=c
102120 ac_cpp='$CPP $CPPFLAGS'
102121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102129 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
102130 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
102132 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
102134 for ac_func in _ldexpl
102136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102137 echo "$as_me:$LINENO: checking for $ac_func" >&5
102138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102139 if eval "test \"\${$as_ac_var+set}\" = set"; then
102140 echo $ECHO_N "(cached) $ECHO_C" >&6
102142 if test x$gcc_no_link = xyes; then
102143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102145 { (exit 1); exit 1; }; }
102147 cat >conftest.$ac_ext <<_ACEOF
102148 /* confdefs.h. */
102149 _ACEOF
102150 cat confdefs.h >>conftest.$ac_ext
102151 cat >>conftest.$ac_ext <<_ACEOF
102152 /* end confdefs.h. */
102153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102155 #define $ac_func innocuous_$ac_func
102157 /* System header to define __stub macros and hopefully few prototypes,
102158 which can conflict with char $ac_func (); below.
102159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102160 <limits.h> exists even on freestanding compilers. */
102162 #ifdef __STDC__
102163 # include <limits.h>
102164 #else
102165 # include <assert.h>
102166 #endif
102168 #undef $ac_func
102170 /* Override any gcc2 internal prototype to avoid an error. */
102171 #ifdef __cplusplus
102172 extern "C"
102174 #endif
102175 /* We use char because int might match the return type of a gcc2
102176 builtin and then its argument prototype would still apply. */
102177 char $ac_func ();
102178 /* The GNU C library defines this for functions which it implements
102179 to always fail with ENOSYS. Some functions are actually named
102180 something starting with __ and the normal name is an alias. */
102181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102182 choke me
102183 #else
102184 char (*f) () = $ac_func;
102185 #endif
102186 #ifdef __cplusplus
102188 #endif
102191 main ()
102193 return f != $ac_func;
102195 return 0;
102197 _ACEOF
102198 rm -f conftest.$ac_objext conftest$ac_exeext
102199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102200 (eval $ac_link) 2>conftest.er1
102201 ac_status=$?
102202 grep -v '^ *+' conftest.er1 >conftest.err
102203 rm -f conftest.er1
102204 cat conftest.err >&5
102205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102206 (exit $ac_status); } &&
102207 { ac_try='test -z "$ac_c_werror_flag"
102208 || test ! -s conftest.err'
102209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102210 (eval $ac_try) 2>&5
102211 ac_status=$?
102212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102213 (exit $ac_status); }; } &&
102214 { ac_try='test -s conftest$ac_exeext'
102215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102216 (eval $ac_try) 2>&5
102217 ac_status=$?
102218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102219 (exit $ac_status); }; }; then
102220 eval "$as_ac_var=yes"
102222 echo "$as_me: failed program was:" >&5
102223 sed 's/^/| /' conftest.$ac_ext >&5
102225 eval "$as_ac_var=no"
102227 rm -f conftest.err conftest.$ac_objext \
102228 conftest$ac_exeext conftest.$ac_ext
102230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102232 if test `eval echo '${'$as_ac_var'}'` = yes; then
102233 cat >>confdefs.h <<_ACEOF
102234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102235 _ACEOF
102248 echo "$as_me:$LINENO: checking for logl declaration" >&5
102249 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
102250 if test x${glibcxx_cv_func_logl_use+set} != xset; then
102251 if test "${glibcxx_cv_func_logl_use+set}" = set; then
102252 echo $ECHO_N "(cached) $ECHO_C" >&6
102257 ac_ext=cc
102258 ac_cpp='$CXXCPP $CPPFLAGS'
102259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102263 cat >conftest.$ac_ext <<_ACEOF
102264 /* confdefs.h. */
102265 _ACEOF
102266 cat confdefs.h >>conftest.$ac_ext
102267 cat >>conftest.$ac_ext <<_ACEOF
102268 /* end confdefs.h. */
102269 #include <math.h>
102270 #ifdef HAVE_IEEEFP_H
102271 #include <ieeefp.h>
102272 #endif
102275 main ()
102277 logl(0);
102279 return 0;
102281 _ACEOF
102282 rm -f conftest.$ac_objext
102283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102284 (eval $ac_compile) 2>conftest.er1
102285 ac_status=$?
102286 grep -v '^ *+' conftest.er1 >conftest.err
102287 rm -f conftest.er1
102288 cat conftest.err >&5
102289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102290 (exit $ac_status); } &&
102291 { ac_try='test -z "$ac_cxx_werror_flag"
102292 || test ! -s conftest.err'
102293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102294 (eval $ac_try) 2>&5
102295 ac_status=$?
102296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102297 (exit $ac_status); }; } &&
102298 { ac_try='test -s conftest.$ac_objext'
102299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102300 (eval $ac_try) 2>&5
102301 ac_status=$?
102302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102303 (exit $ac_status); }; }; then
102304 glibcxx_cv_func_logl_use=yes
102306 echo "$as_me: failed program was:" >&5
102307 sed 's/^/| /' conftest.$ac_ext >&5
102309 glibcxx_cv_func_logl_use=no
102311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102312 ac_ext=c
102313 ac_cpp='$CPP $CPPFLAGS'
102314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102322 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
102323 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
102325 if test x$glibcxx_cv_func_logl_use = x"yes"; then
102327 for ac_func in logl
102329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102330 echo "$as_me:$LINENO: checking for $ac_func" >&5
102331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102332 if eval "test \"\${$as_ac_var+set}\" = set"; then
102333 echo $ECHO_N "(cached) $ECHO_C" >&6
102335 if test x$gcc_no_link = xyes; then
102336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102338 { (exit 1); exit 1; }; }
102340 cat >conftest.$ac_ext <<_ACEOF
102341 /* confdefs.h. */
102342 _ACEOF
102343 cat confdefs.h >>conftest.$ac_ext
102344 cat >>conftest.$ac_ext <<_ACEOF
102345 /* end confdefs.h. */
102346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102348 #define $ac_func innocuous_$ac_func
102350 /* System header to define __stub macros and hopefully few prototypes,
102351 which can conflict with char $ac_func (); below.
102352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102353 <limits.h> exists even on freestanding compilers. */
102355 #ifdef __STDC__
102356 # include <limits.h>
102357 #else
102358 # include <assert.h>
102359 #endif
102361 #undef $ac_func
102363 /* Override any gcc2 internal prototype to avoid an error. */
102364 #ifdef __cplusplus
102365 extern "C"
102367 #endif
102368 /* We use char because int might match the return type of a gcc2
102369 builtin and then its argument prototype would still apply. */
102370 char $ac_func ();
102371 /* The GNU C library defines this for functions which it implements
102372 to always fail with ENOSYS. Some functions are actually named
102373 something starting with __ and the normal name is an alias. */
102374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102375 choke me
102376 #else
102377 char (*f) () = $ac_func;
102378 #endif
102379 #ifdef __cplusplus
102381 #endif
102384 main ()
102386 return f != $ac_func;
102388 return 0;
102390 _ACEOF
102391 rm -f conftest.$ac_objext conftest$ac_exeext
102392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102393 (eval $ac_link) 2>conftest.er1
102394 ac_status=$?
102395 grep -v '^ *+' conftest.er1 >conftest.err
102396 rm -f conftest.er1
102397 cat conftest.err >&5
102398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102399 (exit $ac_status); } &&
102400 { ac_try='test -z "$ac_c_werror_flag"
102401 || test ! -s conftest.err'
102402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102403 (eval $ac_try) 2>&5
102404 ac_status=$?
102405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102406 (exit $ac_status); }; } &&
102407 { ac_try='test -s conftest$ac_exeext'
102408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102409 (eval $ac_try) 2>&5
102410 ac_status=$?
102411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102412 (exit $ac_status); }; }; then
102413 eval "$as_ac_var=yes"
102415 echo "$as_me: failed program was:" >&5
102416 sed 's/^/| /' conftest.$ac_ext >&5
102418 eval "$as_ac_var=no"
102420 rm -f conftest.err conftest.$ac_objext \
102421 conftest$ac_exeext conftest.$ac_ext
102423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102425 if test `eval echo '${'$as_ac_var'}'` = yes; then
102426 cat >>confdefs.h <<_ACEOF
102427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102428 _ACEOF
102435 echo "$as_me:$LINENO: checking for _logl declaration" >&5
102436 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
102437 if test x${glibcxx_cv_func__logl_use+set} != xset; then
102438 if test "${glibcxx_cv_func__logl_use+set}" = set; then
102439 echo $ECHO_N "(cached) $ECHO_C" >&6
102444 ac_ext=cc
102445 ac_cpp='$CXXCPP $CPPFLAGS'
102446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102450 cat >conftest.$ac_ext <<_ACEOF
102451 /* confdefs.h. */
102452 _ACEOF
102453 cat confdefs.h >>conftest.$ac_ext
102454 cat >>conftest.$ac_ext <<_ACEOF
102455 /* end confdefs.h. */
102456 #include <math.h>
102457 #ifdef HAVE_IEEEFP_H
102458 #include <ieeefp.h>
102459 #endif
102462 main ()
102464 _logl(0);
102466 return 0;
102468 _ACEOF
102469 rm -f conftest.$ac_objext
102470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102471 (eval $ac_compile) 2>conftest.er1
102472 ac_status=$?
102473 grep -v '^ *+' conftest.er1 >conftest.err
102474 rm -f conftest.er1
102475 cat conftest.err >&5
102476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102477 (exit $ac_status); } &&
102478 { ac_try='test -z "$ac_cxx_werror_flag"
102479 || test ! -s conftest.err'
102480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102481 (eval $ac_try) 2>&5
102482 ac_status=$?
102483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102484 (exit $ac_status); }; } &&
102485 { ac_try='test -s conftest.$ac_objext'
102486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102487 (eval $ac_try) 2>&5
102488 ac_status=$?
102489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102490 (exit $ac_status); }; }; then
102491 glibcxx_cv_func__logl_use=yes
102493 echo "$as_me: failed program was:" >&5
102494 sed 's/^/| /' conftest.$ac_ext >&5
102496 glibcxx_cv_func__logl_use=no
102498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102499 ac_ext=c
102500 ac_cpp='$CPP $CPPFLAGS'
102501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102509 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
102510 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
102512 if test x$glibcxx_cv_func__logl_use = x"yes"; then
102514 for ac_func in _logl
102516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102517 echo "$as_me:$LINENO: checking for $ac_func" >&5
102518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102519 if eval "test \"\${$as_ac_var+set}\" = set"; then
102520 echo $ECHO_N "(cached) $ECHO_C" >&6
102522 if test x$gcc_no_link = xyes; then
102523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102525 { (exit 1); exit 1; }; }
102527 cat >conftest.$ac_ext <<_ACEOF
102528 /* confdefs.h. */
102529 _ACEOF
102530 cat confdefs.h >>conftest.$ac_ext
102531 cat >>conftest.$ac_ext <<_ACEOF
102532 /* end confdefs.h. */
102533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102535 #define $ac_func innocuous_$ac_func
102537 /* System header to define __stub macros and hopefully few prototypes,
102538 which can conflict with char $ac_func (); below.
102539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102540 <limits.h> exists even on freestanding compilers. */
102542 #ifdef __STDC__
102543 # include <limits.h>
102544 #else
102545 # include <assert.h>
102546 #endif
102548 #undef $ac_func
102550 /* Override any gcc2 internal prototype to avoid an error. */
102551 #ifdef __cplusplus
102552 extern "C"
102554 #endif
102555 /* We use char because int might match the return type of a gcc2
102556 builtin and then its argument prototype would still apply. */
102557 char $ac_func ();
102558 /* The GNU C library defines this for functions which it implements
102559 to always fail with ENOSYS. Some functions are actually named
102560 something starting with __ and the normal name is an alias. */
102561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102562 choke me
102563 #else
102564 char (*f) () = $ac_func;
102565 #endif
102566 #ifdef __cplusplus
102568 #endif
102571 main ()
102573 return f != $ac_func;
102575 return 0;
102577 _ACEOF
102578 rm -f conftest.$ac_objext conftest$ac_exeext
102579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102580 (eval $ac_link) 2>conftest.er1
102581 ac_status=$?
102582 grep -v '^ *+' conftest.er1 >conftest.err
102583 rm -f conftest.er1
102584 cat conftest.err >&5
102585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102586 (exit $ac_status); } &&
102587 { ac_try='test -z "$ac_c_werror_flag"
102588 || test ! -s conftest.err'
102589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102590 (eval $ac_try) 2>&5
102591 ac_status=$?
102592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102593 (exit $ac_status); }; } &&
102594 { ac_try='test -s conftest$ac_exeext'
102595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102596 (eval $ac_try) 2>&5
102597 ac_status=$?
102598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102599 (exit $ac_status); }; }; then
102600 eval "$as_ac_var=yes"
102602 echo "$as_me: failed program was:" >&5
102603 sed 's/^/| /' conftest.$ac_ext >&5
102605 eval "$as_ac_var=no"
102607 rm -f conftest.err conftest.$ac_objext \
102608 conftest$ac_exeext conftest.$ac_ext
102610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102612 if test `eval echo '${'$as_ac_var'}'` = yes; then
102613 cat >>confdefs.h <<_ACEOF
102614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102615 _ACEOF
102628 echo "$as_me:$LINENO: checking for log10l declaration" >&5
102629 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
102630 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
102631 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
102632 echo $ECHO_N "(cached) $ECHO_C" >&6
102637 ac_ext=cc
102638 ac_cpp='$CXXCPP $CPPFLAGS'
102639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102643 cat >conftest.$ac_ext <<_ACEOF
102644 /* confdefs.h. */
102645 _ACEOF
102646 cat confdefs.h >>conftest.$ac_ext
102647 cat >>conftest.$ac_ext <<_ACEOF
102648 /* end confdefs.h. */
102649 #include <math.h>
102650 #ifdef HAVE_IEEEFP_H
102651 #include <ieeefp.h>
102652 #endif
102655 main ()
102657 log10l(0);
102659 return 0;
102661 _ACEOF
102662 rm -f conftest.$ac_objext
102663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102664 (eval $ac_compile) 2>conftest.er1
102665 ac_status=$?
102666 grep -v '^ *+' conftest.er1 >conftest.err
102667 rm -f conftest.er1
102668 cat conftest.err >&5
102669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102670 (exit $ac_status); } &&
102671 { ac_try='test -z "$ac_cxx_werror_flag"
102672 || test ! -s conftest.err'
102673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102674 (eval $ac_try) 2>&5
102675 ac_status=$?
102676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102677 (exit $ac_status); }; } &&
102678 { ac_try='test -s conftest.$ac_objext'
102679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102680 (eval $ac_try) 2>&5
102681 ac_status=$?
102682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102683 (exit $ac_status); }; }; then
102684 glibcxx_cv_func_log10l_use=yes
102686 echo "$as_me: failed program was:" >&5
102687 sed 's/^/| /' conftest.$ac_ext >&5
102689 glibcxx_cv_func_log10l_use=no
102691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102692 ac_ext=c
102693 ac_cpp='$CPP $CPPFLAGS'
102694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102702 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
102703 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
102705 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
102707 for ac_func in log10l
102709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102710 echo "$as_me:$LINENO: checking for $ac_func" >&5
102711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102712 if eval "test \"\${$as_ac_var+set}\" = set"; then
102713 echo $ECHO_N "(cached) $ECHO_C" >&6
102715 if test x$gcc_no_link = xyes; then
102716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102718 { (exit 1); exit 1; }; }
102720 cat >conftest.$ac_ext <<_ACEOF
102721 /* confdefs.h. */
102722 _ACEOF
102723 cat confdefs.h >>conftest.$ac_ext
102724 cat >>conftest.$ac_ext <<_ACEOF
102725 /* end confdefs.h. */
102726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102728 #define $ac_func innocuous_$ac_func
102730 /* System header to define __stub macros and hopefully few prototypes,
102731 which can conflict with char $ac_func (); below.
102732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102733 <limits.h> exists even on freestanding compilers. */
102735 #ifdef __STDC__
102736 # include <limits.h>
102737 #else
102738 # include <assert.h>
102739 #endif
102741 #undef $ac_func
102743 /* Override any gcc2 internal prototype to avoid an error. */
102744 #ifdef __cplusplus
102745 extern "C"
102747 #endif
102748 /* We use char because int might match the return type of a gcc2
102749 builtin and then its argument prototype would still apply. */
102750 char $ac_func ();
102751 /* The GNU C library defines this for functions which it implements
102752 to always fail with ENOSYS. Some functions are actually named
102753 something starting with __ and the normal name is an alias. */
102754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102755 choke me
102756 #else
102757 char (*f) () = $ac_func;
102758 #endif
102759 #ifdef __cplusplus
102761 #endif
102764 main ()
102766 return f != $ac_func;
102768 return 0;
102770 _ACEOF
102771 rm -f conftest.$ac_objext conftest$ac_exeext
102772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102773 (eval $ac_link) 2>conftest.er1
102774 ac_status=$?
102775 grep -v '^ *+' conftest.er1 >conftest.err
102776 rm -f conftest.er1
102777 cat conftest.err >&5
102778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102779 (exit $ac_status); } &&
102780 { ac_try='test -z "$ac_c_werror_flag"
102781 || test ! -s conftest.err'
102782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102783 (eval $ac_try) 2>&5
102784 ac_status=$?
102785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102786 (exit $ac_status); }; } &&
102787 { ac_try='test -s conftest$ac_exeext'
102788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102789 (eval $ac_try) 2>&5
102790 ac_status=$?
102791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102792 (exit $ac_status); }; }; then
102793 eval "$as_ac_var=yes"
102795 echo "$as_me: failed program was:" >&5
102796 sed 's/^/| /' conftest.$ac_ext >&5
102798 eval "$as_ac_var=no"
102800 rm -f conftest.err conftest.$ac_objext \
102801 conftest$ac_exeext conftest.$ac_ext
102803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102805 if test `eval echo '${'$as_ac_var'}'` = yes; then
102806 cat >>confdefs.h <<_ACEOF
102807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102808 _ACEOF
102815 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
102816 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
102817 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
102818 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
102819 echo $ECHO_N "(cached) $ECHO_C" >&6
102824 ac_ext=cc
102825 ac_cpp='$CXXCPP $CPPFLAGS'
102826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102830 cat >conftest.$ac_ext <<_ACEOF
102831 /* confdefs.h. */
102832 _ACEOF
102833 cat confdefs.h >>conftest.$ac_ext
102834 cat >>conftest.$ac_ext <<_ACEOF
102835 /* end confdefs.h. */
102836 #include <math.h>
102837 #ifdef HAVE_IEEEFP_H
102838 #include <ieeefp.h>
102839 #endif
102842 main ()
102844 _log10l(0);
102846 return 0;
102848 _ACEOF
102849 rm -f conftest.$ac_objext
102850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102851 (eval $ac_compile) 2>conftest.er1
102852 ac_status=$?
102853 grep -v '^ *+' conftest.er1 >conftest.err
102854 rm -f conftest.er1
102855 cat conftest.err >&5
102856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102857 (exit $ac_status); } &&
102858 { ac_try='test -z "$ac_cxx_werror_flag"
102859 || test ! -s conftest.err'
102860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102861 (eval $ac_try) 2>&5
102862 ac_status=$?
102863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102864 (exit $ac_status); }; } &&
102865 { ac_try='test -s conftest.$ac_objext'
102866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102867 (eval $ac_try) 2>&5
102868 ac_status=$?
102869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102870 (exit $ac_status); }; }; then
102871 glibcxx_cv_func__log10l_use=yes
102873 echo "$as_me: failed program was:" >&5
102874 sed 's/^/| /' conftest.$ac_ext >&5
102876 glibcxx_cv_func__log10l_use=no
102878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102879 ac_ext=c
102880 ac_cpp='$CPP $CPPFLAGS'
102881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102889 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
102890 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
102892 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
102894 for ac_func in _log10l
102896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102897 echo "$as_me:$LINENO: checking for $ac_func" >&5
102898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102899 if eval "test \"\${$as_ac_var+set}\" = set"; then
102900 echo $ECHO_N "(cached) $ECHO_C" >&6
102902 if test x$gcc_no_link = xyes; then
102903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102905 { (exit 1); exit 1; }; }
102907 cat >conftest.$ac_ext <<_ACEOF
102908 /* confdefs.h. */
102909 _ACEOF
102910 cat confdefs.h >>conftest.$ac_ext
102911 cat >>conftest.$ac_ext <<_ACEOF
102912 /* end confdefs.h. */
102913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102915 #define $ac_func innocuous_$ac_func
102917 /* System header to define __stub macros and hopefully few prototypes,
102918 which can conflict with char $ac_func (); below.
102919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102920 <limits.h> exists even on freestanding compilers. */
102922 #ifdef __STDC__
102923 # include <limits.h>
102924 #else
102925 # include <assert.h>
102926 #endif
102928 #undef $ac_func
102930 /* Override any gcc2 internal prototype to avoid an error. */
102931 #ifdef __cplusplus
102932 extern "C"
102934 #endif
102935 /* We use char because int might match the return type of a gcc2
102936 builtin and then its argument prototype would still apply. */
102937 char $ac_func ();
102938 /* The GNU C library defines this for functions which it implements
102939 to always fail with ENOSYS. Some functions are actually named
102940 something starting with __ and the normal name is an alias. */
102941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102942 choke me
102943 #else
102944 char (*f) () = $ac_func;
102945 #endif
102946 #ifdef __cplusplus
102948 #endif
102951 main ()
102953 return f != $ac_func;
102955 return 0;
102957 _ACEOF
102958 rm -f conftest.$ac_objext conftest$ac_exeext
102959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102960 (eval $ac_link) 2>conftest.er1
102961 ac_status=$?
102962 grep -v '^ *+' conftest.er1 >conftest.err
102963 rm -f conftest.er1
102964 cat conftest.err >&5
102965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102966 (exit $ac_status); } &&
102967 { ac_try='test -z "$ac_c_werror_flag"
102968 || test ! -s conftest.err'
102969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102970 (eval $ac_try) 2>&5
102971 ac_status=$?
102972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102973 (exit $ac_status); }; } &&
102974 { ac_try='test -s conftest$ac_exeext'
102975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102976 (eval $ac_try) 2>&5
102977 ac_status=$?
102978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102979 (exit $ac_status); }; }; then
102980 eval "$as_ac_var=yes"
102982 echo "$as_me: failed program was:" >&5
102983 sed 's/^/| /' conftest.$ac_ext >&5
102985 eval "$as_ac_var=no"
102987 rm -f conftest.err conftest.$ac_objext \
102988 conftest$ac_exeext conftest.$ac_ext
102990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102992 if test `eval echo '${'$as_ac_var'}'` = yes; then
102993 cat >>confdefs.h <<_ACEOF
102994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102995 _ACEOF
103008 echo "$as_me:$LINENO: checking for modfl declaration" >&5
103009 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
103010 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
103011 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
103012 echo $ECHO_N "(cached) $ECHO_C" >&6
103017 ac_ext=cc
103018 ac_cpp='$CXXCPP $CPPFLAGS'
103019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103023 cat >conftest.$ac_ext <<_ACEOF
103024 /* confdefs.h. */
103025 _ACEOF
103026 cat confdefs.h >>conftest.$ac_ext
103027 cat >>conftest.$ac_ext <<_ACEOF
103028 /* end confdefs.h. */
103029 #include <math.h>
103031 main ()
103033 modfl(0, 0);
103035 return 0;
103037 _ACEOF
103038 rm -f conftest.$ac_objext
103039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103040 (eval $ac_compile) 2>conftest.er1
103041 ac_status=$?
103042 grep -v '^ *+' conftest.er1 >conftest.err
103043 rm -f conftest.er1
103044 cat conftest.err >&5
103045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103046 (exit $ac_status); } &&
103047 { ac_try='test -z "$ac_cxx_werror_flag"
103048 || test ! -s conftest.err'
103049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103050 (eval $ac_try) 2>&5
103051 ac_status=$?
103052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103053 (exit $ac_status); }; } &&
103054 { ac_try='test -s conftest.$ac_objext'
103055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103056 (eval $ac_try) 2>&5
103057 ac_status=$?
103058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103059 (exit $ac_status); }; }; then
103060 glibcxx_cv_func_modfl_use=yes
103062 echo "$as_me: failed program was:" >&5
103063 sed 's/^/| /' conftest.$ac_ext >&5
103065 glibcxx_cv_func_modfl_use=no
103067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103068 ac_ext=c
103069 ac_cpp='$CPP $CPPFLAGS'
103070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103078 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
103079 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
103081 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
103083 for ac_func in modfl
103085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103086 echo "$as_me:$LINENO: checking for $ac_func" >&5
103087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103088 if eval "test \"\${$as_ac_var+set}\" = set"; then
103089 echo $ECHO_N "(cached) $ECHO_C" >&6
103091 if test x$gcc_no_link = xyes; then
103092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103094 { (exit 1); exit 1; }; }
103096 cat >conftest.$ac_ext <<_ACEOF
103097 /* confdefs.h. */
103098 _ACEOF
103099 cat confdefs.h >>conftest.$ac_ext
103100 cat >>conftest.$ac_ext <<_ACEOF
103101 /* end confdefs.h. */
103102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103104 #define $ac_func innocuous_$ac_func
103106 /* System header to define __stub macros and hopefully few prototypes,
103107 which can conflict with char $ac_func (); below.
103108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103109 <limits.h> exists even on freestanding compilers. */
103111 #ifdef __STDC__
103112 # include <limits.h>
103113 #else
103114 # include <assert.h>
103115 #endif
103117 #undef $ac_func
103119 /* Override any gcc2 internal prototype to avoid an error. */
103120 #ifdef __cplusplus
103121 extern "C"
103123 #endif
103124 /* We use char because int might match the return type of a gcc2
103125 builtin and then its argument prototype would still apply. */
103126 char $ac_func ();
103127 /* The GNU C library defines this for functions which it implements
103128 to always fail with ENOSYS. Some functions are actually named
103129 something starting with __ and the normal name is an alias. */
103130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103131 choke me
103132 #else
103133 char (*f) () = $ac_func;
103134 #endif
103135 #ifdef __cplusplus
103137 #endif
103140 main ()
103142 return f != $ac_func;
103144 return 0;
103146 _ACEOF
103147 rm -f conftest.$ac_objext conftest$ac_exeext
103148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103149 (eval $ac_link) 2>conftest.er1
103150 ac_status=$?
103151 grep -v '^ *+' conftest.er1 >conftest.err
103152 rm -f conftest.er1
103153 cat conftest.err >&5
103154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103155 (exit $ac_status); } &&
103156 { ac_try='test -z "$ac_c_werror_flag"
103157 || test ! -s conftest.err'
103158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103159 (eval $ac_try) 2>&5
103160 ac_status=$?
103161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103162 (exit $ac_status); }; } &&
103163 { ac_try='test -s conftest$ac_exeext'
103164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103165 (eval $ac_try) 2>&5
103166 ac_status=$?
103167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103168 (exit $ac_status); }; }; then
103169 eval "$as_ac_var=yes"
103171 echo "$as_me: failed program was:" >&5
103172 sed 's/^/| /' conftest.$ac_ext >&5
103174 eval "$as_ac_var=no"
103176 rm -f conftest.err conftest.$ac_objext \
103177 conftest$ac_exeext conftest.$ac_ext
103179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103181 if test `eval echo '${'$as_ac_var'}'` = yes; then
103182 cat >>confdefs.h <<_ACEOF
103183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103184 _ACEOF
103191 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
103192 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
103193 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
103194 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
103195 echo $ECHO_N "(cached) $ECHO_C" >&6
103200 ac_ext=cc
103201 ac_cpp='$CXXCPP $CPPFLAGS'
103202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103206 cat >conftest.$ac_ext <<_ACEOF
103207 /* confdefs.h. */
103208 _ACEOF
103209 cat confdefs.h >>conftest.$ac_ext
103210 cat >>conftest.$ac_ext <<_ACEOF
103211 /* end confdefs.h. */
103212 #include <math.h>
103214 main ()
103216 _modfl(0, 0);
103218 return 0;
103220 _ACEOF
103221 rm -f conftest.$ac_objext
103222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103223 (eval $ac_compile) 2>conftest.er1
103224 ac_status=$?
103225 grep -v '^ *+' conftest.er1 >conftest.err
103226 rm -f conftest.er1
103227 cat conftest.err >&5
103228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103229 (exit $ac_status); } &&
103230 { ac_try='test -z "$ac_cxx_werror_flag"
103231 || test ! -s conftest.err'
103232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103233 (eval $ac_try) 2>&5
103234 ac_status=$?
103235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103236 (exit $ac_status); }; } &&
103237 { ac_try='test -s conftest.$ac_objext'
103238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103239 (eval $ac_try) 2>&5
103240 ac_status=$?
103241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103242 (exit $ac_status); }; }; then
103243 glibcxx_cv_func__modfl_use=yes
103245 echo "$as_me: failed program was:" >&5
103246 sed 's/^/| /' conftest.$ac_ext >&5
103248 glibcxx_cv_func__modfl_use=no
103250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103251 ac_ext=c
103252 ac_cpp='$CPP $CPPFLAGS'
103253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103261 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
103262 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
103264 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
103266 for ac_func in _modfl
103268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103269 echo "$as_me:$LINENO: checking for $ac_func" >&5
103270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103271 if eval "test \"\${$as_ac_var+set}\" = set"; then
103272 echo $ECHO_N "(cached) $ECHO_C" >&6
103274 if test x$gcc_no_link = xyes; then
103275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103277 { (exit 1); exit 1; }; }
103279 cat >conftest.$ac_ext <<_ACEOF
103280 /* confdefs.h. */
103281 _ACEOF
103282 cat confdefs.h >>conftest.$ac_ext
103283 cat >>conftest.$ac_ext <<_ACEOF
103284 /* end confdefs.h. */
103285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103287 #define $ac_func innocuous_$ac_func
103289 /* System header to define __stub macros and hopefully few prototypes,
103290 which can conflict with char $ac_func (); below.
103291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103292 <limits.h> exists even on freestanding compilers. */
103294 #ifdef __STDC__
103295 # include <limits.h>
103296 #else
103297 # include <assert.h>
103298 #endif
103300 #undef $ac_func
103302 /* Override any gcc2 internal prototype to avoid an error. */
103303 #ifdef __cplusplus
103304 extern "C"
103306 #endif
103307 /* We use char because int might match the return type of a gcc2
103308 builtin and then its argument prototype would still apply. */
103309 char $ac_func ();
103310 /* The GNU C library defines this for functions which it implements
103311 to always fail with ENOSYS. Some functions are actually named
103312 something starting with __ and the normal name is an alias. */
103313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103314 choke me
103315 #else
103316 char (*f) () = $ac_func;
103317 #endif
103318 #ifdef __cplusplus
103320 #endif
103323 main ()
103325 return f != $ac_func;
103327 return 0;
103329 _ACEOF
103330 rm -f conftest.$ac_objext conftest$ac_exeext
103331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103332 (eval $ac_link) 2>conftest.er1
103333 ac_status=$?
103334 grep -v '^ *+' conftest.er1 >conftest.err
103335 rm -f conftest.er1
103336 cat conftest.err >&5
103337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103338 (exit $ac_status); } &&
103339 { ac_try='test -z "$ac_c_werror_flag"
103340 || test ! -s conftest.err'
103341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103342 (eval $ac_try) 2>&5
103343 ac_status=$?
103344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103345 (exit $ac_status); }; } &&
103346 { ac_try='test -s conftest$ac_exeext'
103347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103348 (eval $ac_try) 2>&5
103349 ac_status=$?
103350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103351 (exit $ac_status); }; }; then
103352 eval "$as_ac_var=yes"
103354 echo "$as_me: failed program was:" >&5
103355 sed 's/^/| /' conftest.$ac_ext >&5
103357 eval "$as_ac_var=no"
103359 rm -f conftest.err conftest.$ac_objext \
103360 conftest$ac_exeext conftest.$ac_ext
103362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103364 if test `eval echo '${'$as_ac_var'}'` = yes; then
103365 cat >>confdefs.h <<_ACEOF
103366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103367 _ACEOF
103380 echo "$as_me:$LINENO: checking for powl declaration" >&5
103381 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
103382 if test x${glibcxx_cv_func_powl_use+set} != xset; then
103383 if test "${glibcxx_cv_func_powl_use+set}" = set; then
103384 echo $ECHO_N "(cached) $ECHO_C" >&6
103389 ac_ext=cc
103390 ac_cpp='$CXXCPP $CPPFLAGS'
103391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103395 cat >conftest.$ac_ext <<_ACEOF
103396 /* confdefs.h. */
103397 _ACEOF
103398 cat confdefs.h >>conftest.$ac_ext
103399 cat >>conftest.$ac_ext <<_ACEOF
103400 /* end confdefs.h. */
103401 #include <math.h>
103403 main ()
103405 powl(0, 0);
103407 return 0;
103409 _ACEOF
103410 rm -f conftest.$ac_objext
103411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103412 (eval $ac_compile) 2>conftest.er1
103413 ac_status=$?
103414 grep -v '^ *+' conftest.er1 >conftest.err
103415 rm -f conftest.er1
103416 cat conftest.err >&5
103417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103418 (exit $ac_status); } &&
103419 { ac_try='test -z "$ac_cxx_werror_flag"
103420 || test ! -s conftest.err'
103421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103422 (eval $ac_try) 2>&5
103423 ac_status=$?
103424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103425 (exit $ac_status); }; } &&
103426 { ac_try='test -s conftest.$ac_objext'
103427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103428 (eval $ac_try) 2>&5
103429 ac_status=$?
103430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103431 (exit $ac_status); }; }; then
103432 glibcxx_cv_func_powl_use=yes
103434 echo "$as_me: failed program was:" >&5
103435 sed 's/^/| /' conftest.$ac_ext >&5
103437 glibcxx_cv_func_powl_use=no
103439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103440 ac_ext=c
103441 ac_cpp='$CPP $CPPFLAGS'
103442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103450 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
103451 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
103453 if test x$glibcxx_cv_func_powl_use = x"yes"; then
103455 for ac_func in powl
103457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103458 echo "$as_me:$LINENO: checking for $ac_func" >&5
103459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103460 if eval "test \"\${$as_ac_var+set}\" = set"; then
103461 echo $ECHO_N "(cached) $ECHO_C" >&6
103463 if test x$gcc_no_link = xyes; then
103464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103466 { (exit 1); exit 1; }; }
103468 cat >conftest.$ac_ext <<_ACEOF
103469 /* confdefs.h. */
103470 _ACEOF
103471 cat confdefs.h >>conftest.$ac_ext
103472 cat >>conftest.$ac_ext <<_ACEOF
103473 /* end confdefs.h. */
103474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103476 #define $ac_func innocuous_$ac_func
103478 /* System header to define __stub macros and hopefully few prototypes,
103479 which can conflict with char $ac_func (); below.
103480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103481 <limits.h> exists even on freestanding compilers. */
103483 #ifdef __STDC__
103484 # include <limits.h>
103485 #else
103486 # include <assert.h>
103487 #endif
103489 #undef $ac_func
103491 /* Override any gcc2 internal prototype to avoid an error. */
103492 #ifdef __cplusplus
103493 extern "C"
103495 #endif
103496 /* We use char because int might match the return type of a gcc2
103497 builtin and then its argument prototype would still apply. */
103498 char $ac_func ();
103499 /* The GNU C library defines this for functions which it implements
103500 to always fail with ENOSYS. Some functions are actually named
103501 something starting with __ and the normal name is an alias. */
103502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103503 choke me
103504 #else
103505 char (*f) () = $ac_func;
103506 #endif
103507 #ifdef __cplusplus
103509 #endif
103512 main ()
103514 return f != $ac_func;
103516 return 0;
103518 _ACEOF
103519 rm -f conftest.$ac_objext conftest$ac_exeext
103520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103521 (eval $ac_link) 2>conftest.er1
103522 ac_status=$?
103523 grep -v '^ *+' conftest.er1 >conftest.err
103524 rm -f conftest.er1
103525 cat conftest.err >&5
103526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103527 (exit $ac_status); } &&
103528 { ac_try='test -z "$ac_c_werror_flag"
103529 || test ! -s conftest.err'
103530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103531 (eval $ac_try) 2>&5
103532 ac_status=$?
103533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103534 (exit $ac_status); }; } &&
103535 { ac_try='test -s conftest$ac_exeext'
103536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103537 (eval $ac_try) 2>&5
103538 ac_status=$?
103539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103540 (exit $ac_status); }; }; then
103541 eval "$as_ac_var=yes"
103543 echo "$as_me: failed program was:" >&5
103544 sed 's/^/| /' conftest.$ac_ext >&5
103546 eval "$as_ac_var=no"
103548 rm -f conftest.err conftest.$ac_objext \
103549 conftest$ac_exeext conftest.$ac_ext
103551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103553 if test `eval echo '${'$as_ac_var'}'` = yes; then
103554 cat >>confdefs.h <<_ACEOF
103555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103556 _ACEOF
103563 echo "$as_me:$LINENO: checking for _powl declaration" >&5
103564 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
103565 if test x${glibcxx_cv_func__powl_use+set} != xset; then
103566 if test "${glibcxx_cv_func__powl_use+set}" = set; then
103567 echo $ECHO_N "(cached) $ECHO_C" >&6
103572 ac_ext=cc
103573 ac_cpp='$CXXCPP $CPPFLAGS'
103574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103578 cat >conftest.$ac_ext <<_ACEOF
103579 /* confdefs.h. */
103580 _ACEOF
103581 cat confdefs.h >>conftest.$ac_ext
103582 cat >>conftest.$ac_ext <<_ACEOF
103583 /* end confdefs.h. */
103584 #include <math.h>
103586 main ()
103588 _powl(0, 0);
103590 return 0;
103592 _ACEOF
103593 rm -f conftest.$ac_objext
103594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103595 (eval $ac_compile) 2>conftest.er1
103596 ac_status=$?
103597 grep -v '^ *+' conftest.er1 >conftest.err
103598 rm -f conftest.er1
103599 cat conftest.err >&5
103600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103601 (exit $ac_status); } &&
103602 { ac_try='test -z "$ac_cxx_werror_flag"
103603 || test ! -s conftest.err'
103604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103605 (eval $ac_try) 2>&5
103606 ac_status=$?
103607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103608 (exit $ac_status); }; } &&
103609 { ac_try='test -s conftest.$ac_objext'
103610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103611 (eval $ac_try) 2>&5
103612 ac_status=$?
103613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103614 (exit $ac_status); }; }; then
103615 glibcxx_cv_func__powl_use=yes
103617 echo "$as_me: failed program was:" >&5
103618 sed 's/^/| /' conftest.$ac_ext >&5
103620 glibcxx_cv_func__powl_use=no
103622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103623 ac_ext=c
103624 ac_cpp='$CPP $CPPFLAGS'
103625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103633 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
103634 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
103636 if test x$glibcxx_cv_func__powl_use = x"yes"; then
103638 for ac_func in _powl
103640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103641 echo "$as_me:$LINENO: checking for $ac_func" >&5
103642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103643 if eval "test \"\${$as_ac_var+set}\" = set"; then
103644 echo $ECHO_N "(cached) $ECHO_C" >&6
103646 if test x$gcc_no_link = xyes; then
103647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103649 { (exit 1); exit 1; }; }
103651 cat >conftest.$ac_ext <<_ACEOF
103652 /* confdefs.h. */
103653 _ACEOF
103654 cat confdefs.h >>conftest.$ac_ext
103655 cat >>conftest.$ac_ext <<_ACEOF
103656 /* end confdefs.h. */
103657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103659 #define $ac_func innocuous_$ac_func
103661 /* System header to define __stub macros and hopefully few prototypes,
103662 which can conflict with char $ac_func (); below.
103663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103664 <limits.h> exists even on freestanding compilers. */
103666 #ifdef __STDC__
103667 # include <limits.h>
103668 #else
103669 # include <assert.h>
103670 #endif
103672 #undef $ac_func
103674 /* Override any gcc2 internal prototype to avoid an error. */
103675 #ifdef __cplusplus
103676 extern "C"
103678 #endif
103679 /* We use char because int might match the return type of a gcc2
103680 builtin and then its argument prototype would still apply. */
103681 char $ac_func ();
103682 /* The GNU C library defines this for functions which it implements
103683 to always fail with ENOSYS. Some functions are actually named
103684 something starting with __ and the normal name is an alias. */
103685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103686 choke me
103687 #else
103688 char (*f) () = $ac_func;
103689 #endif
103690 #ifdef __cplusplus
103692 #endif
103695 main ()
103697 return f != $ac_func;
103699 return 0;
103701 _ACEOF
103702 rm -f conftest.$ac_objext conftest$ac_exeext
103703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103704 (eval $ac_link) 2>conftest.er1
103705 ac_status=$?
103706 grep -v '^ *+' conftest.er1 >conftest.err
103707 rm -f conftest.er1
103708 cat conftest.err >&5
103709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103710 (exit $ac_status); } &&
103711 { ac_try='test -z "$ac_c_werror_flag"
103712 || test ! -s conftest.err'
103713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103714 (eval $ac_try) 2>&5
103715 ac_status=$?
103716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103717 (exit $ac_status); }; } &&
103718 { ac_try='test -s conftest$ac_exeext'
103719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103720 (eval $ac_try) 2>&5
103721 ac_status=$?
103722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103723 (exit $ac_status); }; }; then
103724 eval "$as_ac_var=yes"
103726 echo "$as_me: failed program was:" >&5
103727 sed 's/^/| /' conftest.$ac_ext >&5
103729 eval "$as_ac_var=no"
103731 rm -f conftest.err conftest.$ac_objext \
103732 conftest$ac_exeext conftest.$ac_ext
103734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103736 if test `eval echo '${'$as_ac_var'}'` = yes; then
103737 cat >>confdefs.h <<_ACEOF
103738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103739 _ACEOF
103752 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
103753 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
103754 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
103755 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
103756 echo $ECHO_N "(cached) $ECHO_C" >&6
103761 ac_ext=cc
103762 ac_cpp='$CXXCPP $CPPFLAGS'
103763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103767 cat >conftest.$ac_ext <<_ACEOF
103768 /* confdefs.h. */
103769 _ACEOF
103770 cat confdefs.h >>conftest.$ac_ext
103771 cat >>conftest.$ac_ext <<_ACEOF
103772 /* end confdefs.h. */
103773 #include <math.h>
103774 #ifdef HAVE_IEEEFP_H
103775 #include <ieeefp.h>
103776 #endif
103779 main ()
103781 sqrtl(0);
103783 return 0;
103785 _ACEOF
103786 rm -f conftest.$ac_objext
103787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103788 (eval $ac_compile) 2>conftest.er1
103789 ac_status=$?
103790 grep -v '^ *+' conftest.er1 >conftest.err
103791 rm -f conftest.er1
103792 cat conftest.err >&5
103793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103794 (exit $ac_status); } &&
103795 { ac_try='test -z "$ac_cxx_werror_flag"
103796 || test ! -s conftest.err'
103797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103798 (eval $ac_try) 2>&5
103799 ac_status=$?
103800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103801 (exit $ac_status); }; } &&
103802 { ac_try='test -s conftest.$ac_objext'
103803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103804 (eval $ac_try) 2>&5
103805 ac_status=$?
103806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103807 (exit $ac_status); }; }; then
103808 glibcxx_cv_func_sqrtl_use=yes
103810 echo "$as_me: failed program was:" >&5
103811 sed 's/^/| /' conftest.$ac_ext >&5
103813 glibcxx_cv_func_sqrtl_use=no
103815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103816 ac_ext=c
103817 ac_cpp='$CPP $CPPFLAGS'
103818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103826 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
103827 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
103829 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
103831 for ac_func in sqrtl
103833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103834 echo "$as_me:$LINENO: checking for $ac_func" >&5
103835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103836 if eval "test \"\${$as_ac_var+set}\" = set"; then
103837 echo $ECHO_N "(cached) $ECHO_C" >&6
103839 if test x$gcc_no_link = xyes; then
103840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103842 { (exit 1); exit 1; }; }
103844 cat >conftest.$ac_ext <<_ACEOF
103845 /* confdefs.h. */
103846 _ACEOF
103847 cat confdefs.h >>conftest.$ac_ext
103848 cat >>conftest.$ac_ext <<_ACEOF
103849 /* end confdefs.h. */
103850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103852 #define $ac_func innocuous_$ac_func
103854 /* System header to define __stub macros and hopefully few prototypes,
103855 which can conflict with char $ac_func (); below.
103856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103857 <limits.h> exists even on freestanding compilers. */
103859 #ifdef __STDC__
103860 # include <limits.h>
103861 #else
103862 # include <assert.h>
103863 #endif
103865 #undef $ac_func
103867 /* Override any gcc2 internal prototype to avoid an error. */
103868 #ifdef __cplusplus
103869 extern "C"
103871 #endif
103872 /* We use char because int might match the return type of a gcc2
103873 builtin and then its argument prototype would still apply. */
103874 char $ac_func ();
103875 /* The GNU C library defines this for functions which it implements
103876 to always fail with ENOSYS. Some functions are actually named
103877 something starting with __ and the normal name is an alias. */
103878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103879 choke me
103880 #else
103881 char (*f) () = $ac_func;
103882 #endif
103883 #ifdef __cplusplus
103885 #endif
103888 main ()
103890 return f != $ac_func;
103892 return 0;
103894 _ACEOF
103895 rm -f conftest.$ac_objext conftest$ac_exeext
103896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103897 (eval $ac_link) 2>conftest.er1
103898 ac_status=$?
103899 grep -v '^ *+' conftest.er1 >conftest.err
103900 rm -f conftest.er1
103901 cat conftest.err >&5
103902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103903 (exit $ac_status); } &&
103904 { ac_try='test -z "$ac_c_werror_flag"
103905 || test ! -s conftest.err'
103906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103907 (eval $ac_try) 2>&5
103908 ac_status=$?
103909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103910 (exit $ac_status); }; } &&
103911 { ac_try='test -s conftest$ac_exeext'
103912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103913 (eval $ac_try) 2>&5
103914 ac_status=$?
103915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103916 (exit $ac_status); }; }; then
103917 eval "$as_ac_var=yes"
103919 echo "$as_me: failed program was:" >&5
103920 sed 's/^/| /' conftest.$ac_ext >&5
103922 eval "$as_ac_var=no"
103924 rm -f conftest.err conftest.$ac_objext \
103925 conftest$ac_exeext conftest.$ac_ext
103927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103929 if test `eval echo '${'$as_ac_var'}'` = yes; then
103930 cat >>confdefs.h <<_ACEOF
103931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103932 _ACEOF
103939 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
103940 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
103941 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
103942 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
103943 echo $ECHO_N "(cached) $ECHO_C" >&6
103948 ac_ext=cc
103949 ac_cpp='$CXXCPP $CPPFLAGS'
103950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103954 cat >conftest.$ac_ext <<_ACEOF
103955 /* confdefs.h. */
103956 _ACEOF
103957 cat confdefs.h >>conftest.$ac_ext
103958 cat >>conftest.$ac_ext <<_ACEOF
103959 /* end confdefs.h. */
103960 #include <math.h>
103961 #ifdef HAVE_IEEEFP_H
103962 #include <ieeefp.h>
103963 #endif
103966 main ()
103968 _sqrtl(0);
103970 return 0;
103972 _ACEOF
103973 rm -f conftest.$ac_objext
103974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103975 (eval $ac_compile) 2>conftest.er1
103976 ac_status=$?
103977 grep -v '^ *+' conftest.er1 >conftest.err
103978 rm -f conftest.er1
103979 cat conftest.err >&5
103980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103981 (exit $ac_status); } &&
103982 { ac_try='test -z "$ac_cxx_werror_flag"
103983 || test ! -s conftest.err'
103984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103985 (eval $ac_try) 2>&5
103986 ac_status=$?
103987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103988 (exit $ac_status); }; } &&
103989 { ac_try='test -s conftest.$ac_objext'
103990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103991 (eval $ac_try) 2>&5
103992 ac_status=$?
103993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103994 (exit $ac_status); }; }; then
103995 glibcxx_cv_func__sqrtl_use=yes
103997 echo "$as_me: failed program was:" >&5
103998 sed 's/^/| /' conftest.$ac_ext >&5
104000 glibcxx_cv_func__sqrtl_use=no
104002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104003 ac_ext=c
104004 ac_cpp='$CPP $CPPFLAGS'
104005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104013 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
104014 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
104016 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
104018 for ac_func in _sqrtl
104020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104021 echo "$as_me:$LINENO: checking for $ac_func" >&5
104022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104023 if eval "test \"\${$as_ac_var+set}\" = set"; then
104024 echo $ECHO_N "(cached) $ECHO_C" >&6
104026 if test x$gcc_no_link = xyes; then
104027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104029 { (exit 1); exit 1; }; }
104031 cat >conftest.$ac_ext <<_ACEOF
104032 /* confdefs.h. */
104033 _ACEOF
104034 cat confdefs.h >>conftest.$ac_ext
104035 cat >>conftest.$ac_ext <<_ACEOF
104036 /* end confdefs.h. */
104037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104039 #define $ac_func innocuous_$ac_func
104041 /* System header to define __stub macros and hopefully few prototypes,
104042 which can conflict with char $ac_func (); below.
104043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104044 <limits.h> exists even on freestanding compilers. */
104046 #ifdef __STDC__
104047 # include <limits.h>
104048 #else
104049 # include <assert.h>
104050 #endif
104052 #undef $ac_func
104054 /* Override any gcc2 internal prototype to avoid an error. */
104055 #ifdef __cplusplus
104056 extern "C"
104058 #endif
104059 /* We use char because int might match the return type of a gcc2
104060 builtin and then its argument prototype would still apply. */
104061 char $ac_func ();
104062 /* The GNU C library defines this for functions which it implements
104063 to always fail with ENOSYS. Some functions are actually named
104064 something starting with __ and the normal name is an alias. */
104065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104066 choke me
104067 #else
104068 char (*f) () = $ac_func;
104069 #endif
104070 #ifdef __cplusplus
104072 #endif
104075 main ()
104077 return f != $ac_func;
104079 return 0;
104081 _ACEOF
104082 rm -f conftest.$ac_objext conftest$ac_exeext
104083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104084 (eval $ac_link) 2>conftest.er1
104085 ac_status=$?
104086 grep -v '^ *+' conftest.er1 >conftest.err
104087 rm -f conftest.er1
104088 cat conftest.err >&5
104089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104090 (exit $ac_status); } &&
104091 { ac_try='test -z "$ac_c_werror_flag"
104092 || test ! -s conftest.err'
104093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104094 (eval $ac_try) 2>&5
104095 ac_status=$?
104096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104097 (exit $ac_status); }; } &&
104098 { ac_try='test -s conftest$ac_exeext'
104099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104100 (eval $ac_try) 2>&5
104101 ac_status=$?
104102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104103 (exit $ac_status); }; }; then
104104 eval "$as_ac_var=yes"
104106 echo "$as_me: failed program was:" >&5
104107 sed 's/^/| /' conftest.$ac_ext >&5
104109 eval "$as_ac_var=no"
104111 rm -f conftest.err conftest.$ac_objext \
104112 conftest$ac_exeext conftest.$ac_ext
104114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104116 if test `eval echo '${'$as_ac_var'}'` = yes; then
104117 cat >>confdefs.h <<_ACEOF
104118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104119 _ACEOF
104132 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
104133 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
104134 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
104135 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
104136 echo $ECHO_N "(cached) $ECHO_C" >&6
104141 ac_ext=cc
104142 ac_cpp='$CXXCPP $CPPFLAGS'
104143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104147 cat >conftest.$ac_ext <<_ACEOF
104148 /* confdefs.h. */
104149 _ACEOF
104150 cat confdefs.h >>conftest.$ac_ext
104151 cat >>conftest.$ac_ext <<_ACEOF
104152 /* end confdefs.h. */
104153 #include <math.h>
104155 main ()
104157 sincosl(0, 0, 0);
104159 return 0;
104161 _ACEOF
104162 rm -f conftest.$ac_objext
104163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104164 (eval $ac_compile) 2>conftest.er1
104165 ac_status=$?
104166 grep -v '^ *+' conftest.er1 >conftest.err
104167 rm -f conftest.er1
104168 cat conftest.err >&5
104169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104170 (exit $ac_status); } &&
104171 { ac_try='test -z "$ac_cxx_werror_flag"
104172 || test ! -s conftest.err'
104173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104174 (eval $ac_try) 2>&5
104175 ac_status=$?
104176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104177 (exit $ac_status); }; } &&
104178 { ac_try='test -s conftest.$ac_objext'
104179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104180 (eval $ac_try) 2>&5
104181 ac_status=$?
104182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104183 (exit $ac_status); }; }; then
104184 glibcxx_cv_func_sincosl_use=yes
104186 echo "$as_me: failed program was:" >&5
104187 sed 's/^/| /' conftest.$ac_ext >&5
104189 glibcxx_cv_func_sincosl_use=no
104191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104192 ac_ext=c
104193 ac_cpp='$CPP $CPPFLAGS'
104194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104202 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
104203 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
104205 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
104207 for ac_func in sincosl
104209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104210 echo "$as_me:$LINENO: checking for $ac_func" >&5
104211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104212 if eval "test \"\${$as_ac_var+set}\" = set"; then
104213 echo $ECHO_N "(cached) $ECHO_C" >&6
104215 if test x$gcc_no_link = xyes; then
104216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104218 { (exit 1); exit 1; }; }
104220 cat >conftest.$ac_ext <<_ACEOF
104221 /* confdefs.h. */
104222 _ACEOF
104223 cat confdefs.h >>conftest.$ac_ext
104224 cat >>conftest.$ac_ext <<_ACEOF
104225 /* end confdefs.h. */
104226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104228 #define $ac_func innocuous_$ac_func
104230 /* System header to define __stub macros and hopefully few prototypes,
104231 which can conflict with char $ac_func (); below.
104232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104233 <limits.h> exists even on freestanding compilers. */
104235 #ifdef __STDC__
104236 # include <limits.h>
104237 #else
104238 # include <assert.h>
104239 #endif
104241 #undef $ac_func
104243 /* Override any gcc2 internal prototype to avoid an error. */
104244 #ifdef __cplusplus
104245 extern "C"
104247 #endif
104248 /* We use char because int might match the return type of a gcc2
104249 builtin and then its argument prototype would still apply. */
104250 char $ac_func ();
104251 /* The GNU C library defines this for functions which it implements
104252 to always fail with ENOSYS. Some functions are actually named
104253 something starting with __ and the normal name is an alias. */
104254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104255 choke me
104256 #else
104257 char (*f) () = $ac_func;
104258 #endif
104259 #ifdef __cplusplus
104261 #endif
104264 main ()
104266 return f != $ac_func;
104268 return 0;
104270 _ACEOF
104271 rm -f conftest.$ac_objext conftest$ac_exeext
104272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104273 (eval $ac_link) 2>conftest.er1
104274 ac_status=$?
104275 grep -v '^ *+' conftest.er1 >conftest.err
104276 rm -f conftest.er1
104277 cat conftest.err >&5
104278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104279 (exit $ac_status); } &&
104280 { ac_try='test -z "$ac_c_werror_flag"
104281 || test ! -s conftest.err'
104282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104283 (eval $ac_try) 2>&5
104284 ac_status=$?
104285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104286 (exit $ac_status); }; } &&
104287 { ac_try='test -s conftest$ac_exeext'
104288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104289 (eval $ac_try) 2>&5
104290 ac_status=$?
104291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104292 (exit $ac_status); }; }; then
104293 eval "$as_ac_var=yes"
104295 echo "$as_me: failed program was:" >&5
104296 sed 's/^/| /' conftest.$ac_ext >&5
104298 eval "$as_ac_var=no"
104300 rm -f conftest.err conftest.$ac_objext \
104301 conftest$ac_exeext conftest.$ac_ext
104303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104305 if test `eval echo '${'$as_ac_var'}'` = yes; then
104306 cat >>confdefs.h <<_ACEOF
104307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104308 _ACEOF
104315 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
104316 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
104317 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
104318 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
104319 echo $ECHO_N "(cached) $ECHO_C" >&6
104324 ac_ext=cc
104325 ac_cpp='$CXXCPP $CPPFLAGS'
104326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104330 cat >conftest.$ac_ext <<_ACEOF
104331 /* confdefs.h. */
104332 _ACEOF
104333 cat confdefs.h >>conftest.$ac_ext
104334 cat >>conftest.$ac_ext <<_ACEOF
104335 /* end confdefs.h. */
104336 #include <math.h>
104338 main ()
104340 _sincosl(0, 0, 0);
104342 return 0;
104344 _ACEOF
104345 rm -f conftest.$ac_objext
104346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104347 (eval $ac_compile) 2>conftest.er1
104348 ac_status=$?
104349 grep -v '^ *+' conftest.er1 >conftest.err
104350 rm -f conftest.er1
104351 cat conftest.err >&5
104352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104353 (exit $ac_status); } &&
104354 { ac_try='test -z "$ac_cxx_werror_flag"
104355 || test ! -s conftest.err'
104356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104357 (eval $ac_try) 2>&5
104358 ac_status=$?
104359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104360 (exit $ac_status); }; } &&
104361 { ac_try='test -s conftest.$ac_objext'
104362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104363 (eval $ac_try) 2>&5
104364 ac_status=$?
104365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104366 (exit $ac_status); }; }; then
104367 glibcxx_cv_func__sincosl_use=yes
104369 echo "$as_me: failed program was:" >&5
104370 sed 's/^/| /' conftest.$ac_ext >&5
104372 glibcxx_cv_func__sincosl_use=no
104374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104375 ac_ext=c
104376 ac_cpp='$CPP $CPPFLAGS'
104377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104385 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
104386 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
104388 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
104390 for ac_func in _sincosl
104392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104393 echo "$as_me:$LINENO: checking for $ac_func" >&5
104394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104395 if eval "test \"\${$as_ac_var+set}\" = set"; then
104396 echo $ECHO_N "(cached) $ECHO_C" >&6
104398 if test x$gcc_no_link = xyes; then
104399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104401 { (exit 1); exit 1; }; }
104403 cat >conftest.$ac_ext <<_ACEOF
104404 /* confdefs.h. */
104405 _ACEOF
104406 cat confdefs.h >>conftest.$ac_ext
104407 cat >>conftest.$ac_ext <<_ACEOF
104408 /* end confdefs.h. */
104409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104411 #define $ac_func innocuous_$ac_func
104413 /* System header to define __stub macros and hopefully few prototypes,
104414 which can conflict with char $ac_func (); below.
104415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104416 <limits.h> exists even on freestanding compilers. */
104418 #ifdef __STDC__
104419 # include <limits.h>
104420 #else
104421 # include <assert.h>
104422 #endif
104424 #undef $ac_func
104426 /* Override any gcc2 internal prototype to avoid an error. */
104427 #ifdef __cplusplus
104428 extern "C"
104430 #endif
104431 /* We use char because int might match the return type of a gcc2
104432 builtin and then its argument prototype would still apply. */
104433 char $ac_func ();
104434 /* The GNU C library defines this for functions which it implements
104435 to always fail with ENOSYS. Some functions are actually named
104436 something starting with __ and the normal name is an alias. */
104437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104438 choke me
104439 #else
104440 char (*f) () = $ac_func;
104441 #endif
104442 #ifdef __cplusplus
104444 #endif
104447 main ()
104449 return f != $ac_func;
104451 return 0;
104453 _ACEOF
104454 rm -f conftest.$ac_objext conftest$ac_exeext
104455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104456 (eval $ac_link) 2>conftest.er1
104457 ac_status=$?
104458 grep -v '^ *+' conftest.er1 >conftest.err
104459 rm -f conftest.er1
104460 cat conftest.err >&5
104461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104462 (exit $ac_status); } &&
104463 { ac_try='test -z "$ac_c_werror_flag"
104464 || test ! -s conftest.err'
104465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104466 (eval $ac_try) 2>&5
104467 ac_status=$?
104468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104469 (exit $ac_status); }; } &&
104470 { ac_try='test -s conftest$ac_exeext'
104471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104472 (eval $ac_try) 2>&5
104473 ac_status=$?
104474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104475 (exit $ac_status); }; }; then
104476 eval "$as_ac_var=yes"
104478 echo "$as_me: failed program was:" >&5
104479 sed 's/^/| /' conftest.$ac_ext >&5
104481 eval "$as_ac_var=no"
104483 rm -f conftest.err conftest.$ac_objext \
104484 conftest$ac_exeext conftest.$ac_ext
104486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104488 if test `eval echo '${'$as_ac_var'}'` = yes; then
104489 cat >>confdefs.h <<_ACEOF
104490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104491 _ACEOF
104504 echo "$as_me:$LINENO: checking for finitel declaration" >&5
104505 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
104506 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
104507 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
104508 echo $ECHO_N "(cached) $ECHO_C" >&6
104513 ac_ext=cc
104514 ac_cpp='$CXXCPP $CPPFLAGS'
104515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104519 cat >conftest.$ac_ext <<_ACEOF
104520 /* confdefs.h. */
104521 _ACEOF
104522 cat confdefs.h >>conftest.$ac_ext
104523 cat >>conftest.$ac_ext <<_ACEOF
104524 /* end confdefs.h. */
104525 #include <math.h>
104526 #ifdef HAVE_IEEEFP_H
104527 #include <ieeefp.h>
104528 #endif
104531 main ()
104533 finitel(0);
104535 return 0;
104537 _ACEOF
104538 rm -f conftest.$ac_objext
104539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104540 (eval $ac_compile) 2>conftest.er1
104541 ac_status=$?
104542 grep -v '^ *+' conftest.er1 >conftest.err
104543 rm -f conftest.er1
104544 cat conftest.err >&5
104545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104546 (exit $ac_status); } &&
104547 { ac_try='test -z "$ac_cxx_werror_flag"
104548 || test ! -s conftest.err'
104549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104550 (eval $ac_try) 2>&5
104551 ac_status=$?
104552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104553 (exit $ac_status); }; } &&
104554 { ac_try='test -s conftest.$ac_objext'
104555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104556 (eval $ac_try) 2>&5
104557 ac_status=$?
104558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104559 (exit $ac_status); }; }; then
104560 glibcxx_cv_func_finitel_use=yes
104562 echo "$as_me: failed program was:" >&5
104563 sed 's/^/| /' conftest.$ac_ext >&5
104565 glibcxx_cv_func_finitel_use=no
104567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104568 ac_ext=c
104569 ac_cpp='$CPP $CPPFLAGS'
104570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104578 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
104579 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
104581 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
104583 for ac_func in finitel
104585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104586 echo "$as_me:$LINENO: checking for $ac_func" >&5
104587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104588 if eval "test \"\${$as_ac_var+set}\" = set"; then
104589 echo $ECHO_N "(cached) $ECHO_C" >&6
104591 if test x$gcc_no_link = xyes; then
104592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104594 { (exit 1); exit 1; }; }
104596 cat >conftest.$ac_ext <<_ACEOF
104597 /* confdefs.h. */
104598 _ACEOF
104599 cat confdefs.h >>conftest.$ac_ext
104600 cat >>conftest.$ac_ext <<_ACEOF
104601 /* end confdefs.h. */
104602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104604 #define $ac_func innocuous_$ac_func
104606 /* System header to define __stub macros and hopefully few prototypes,
104607 which can conflict with char $ac_func (); below.
104608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104609 <limits.h> exists even on freestanding compilers. */
104611 #ifdef __STDC__
104612 # include <limits.h>
104613 #else
104614 # include <assert.h>
104615 #endif
104617 #undef $ac_func
104619 /* Override any gcc2 internal prototype to avoid an error. */
104620 #ifdef __cplusplus
104621 extern "C"
104623 #endif
104624 /* We use char because int might match the return type of a gcc2
104625 builtin and then its argument prototype would still apply. */
104626 char $ac_func ();
104627 /* The GNU C library defines this for functions which it implements
104628 to always fail with ENOSYS. Some functions are actually named
104629 something starting with __ and the normal name is an alias. */
104630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104631 choke me
104632 #else
104633 char (*f) () = $ac_func;
104634 #endif
104635 #ifdef __cplusplus
104637 #endif
104640 main ()
104642 return f != $ac_func;
104644 return 0;
104646 _ACEOF
104647 rm -f conftest.$ac_objext conftest$ac_exeext
104648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104649 (eval $ac_link) 2>conftest.er1
104650 ac_status=$?
104651 grep -v '^ *+' conftest.er1 >conftest.err
104652 rm -f conftest.er1
104653 cat conftest.err >&5
104654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104655 (exit $ac_status); } &&
104656 { ac_try='test -z "$ac_c_werror_flag"
104657 || test ! -s conftest.err'
104658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104659 (eval $ac_try) 2>&5
104660 ac_status=$?
104661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104662 (exit $ac_status); }; } &&
104663 { ac_try='test -s conftest$ac_exeext'
104664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104665 (eval $ac_try) 2>&5
104666 ac_status=$?
104667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104668 (exit $ac_status); }; }; then
104669 eval "$as_ac_var=yes"
104671 echo "$as_me: failed program was:" >&5
104672 sed 's/^/| /' conftest.$ac_ext >&5
104674 eval "$as_ac_var=no"
104676 rm -f conftest.err conftest.$ac_objext \
104677 conftest$ac_exeext conftest.$ac_ext
104679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104681 if test `eval echo '${'$as_ac_var'}'` = yes; then
104682 cat >>confdefs.h <<_ACEOF
104683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104684 _ACEOF
104691 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
104692 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
104693 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
104694 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
104695 echo $ECHO_N "(cached) $ECHO_C" >&6
104700 ac_ext=cc
104701 ac_cpp='$CXXCPP $CPPFLAGS'
104702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104706 cat >conftest.$ac_ext <<_ACEOF
104707 /* confdefs.h. */
104708 _ACEOF
104709 cat confdefs.h >>conftest.$ac_ext
104710 cat >>conftest.$ac_ext <<_ACEOF
104711 /* end confdefs.h. */
104712 #include <math.h>
104713 #ifdef HAVE_IEEEFP_H
104714 #include <ieeefp.h>
104715 #endif
104718 main ()
104720 _finitel(0);
104722 return 0;
104724 _ACEOF
104725 rm -f conftest.$ac_objext
104726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104727 (eval $ac_compile) 2>conftest.er1
104728 ac_status=$?
104729 grep -v '^ *+' conftest.er1 >conftest.err
104730 rm -f conftest.er1
104731 cat conftest.err >&5
104732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104733 (exit $ac_status); } &&
104734 { ac_try='test -z "$ac_cxx_werror_flag"
104735 || test ! -s conftest.err'
104736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104737 (eval $ac_try) 2>&5
104738 ac_status=$?
104739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104740 (exit $ac_status); }; } &&
104741 { ac_try='test -s conftest.$ac_objext'
104742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104743 (eval $ac_try) 2>&5
104744 ac_status=$?
104745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104746 (exit $ac_status); }; }; then
104747 glibcxx_cv_func__finitel_use=yes
104749 echo "$as_me: failed program was:" >&5
104750 sed 's/^/| /' conftest.$ac_ext >&5
104752 glibcxx_cv_func__finitel_use=no
104754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104755 ac_ext=c
104756 ac_cpp='$CPP $CPPFLAGS'
104757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104765 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
104766 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
104768 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
104770 for ac_func in _finitel
104772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104773 echo "$as_me:$LINENO: checking for $ac_func" >&5
104774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104775 if eval "test \"\${$as_ac_var+set}\" = set"; then
104776 echo $ECHO_N "(cached) $ECHO_C" >&6
104778 if test x$gcc_no_link = xyes; then
104779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104781 { (exit 1); exit 1; }; }
104783 cat >conftest.$ac_ext <<_ACEOF
104784 /* confdefs.h. */
104785 _ACEOF
104786 cat confdefs.h >>conftest.$ac_ext
104787 cat >>conftest.$ac_ext <<_ACEOF
104788 /* end confdefs.h. */
104789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104791 #define $ac_func innocuous_$ac_func
104793 /* System header to define __stub macros and hopefully few prototypes,
104794 which can conflict with char $ac_func (); below.
104795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104796 <limits.h> exists even on freestanding compilers. */
104798 #ifdef __STDC__
104799 # include <limits.h>
104800 #else
104801 # include <assert.h>
104802 #endif
104804 #undef $ac_func
104806 /* Override any gcc2 internal prototype to avoid an error. */
104807 #ifdef __cplusplus
104808 extern "C"
104810 #endif
104811 /* We use char because int might match the return type of a gcc2
104812 builtin and then its argument prototype would still apply. */
104813 char $ac_func ();
104814 /* The GNU C library defines this for functions which it implements
104815 to always fail with ENOSYS. Some functions are actually named
104816 something starting with __ and the normal name is an alias. */
104817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104818 choke me
104819 #else
104820 char (*f) () = $ac_func;
104821 #endif
104822 #ifdef __cplusplus
104824 #endif
104827 main ()
104829 return f != $ac_func;
104831 return 0;
104833 _ACEOF
104834 rm -f conftest.$ac_objext conftest$ac_exeext
104835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104836 (eval $ac_link) 2>conftest.er1
104837 ac_status=$?
104838 grep -v '^ *+' conftest.er1 >conftest.err
104839 rm -f conftest.er1
104840 cat conftest.err >&5
104841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104842 (exit $ac_status); } &&
104843 { ac_try='test -z "$ac_c_werror_flag"
104844 || test ! -s conftest.err'
104845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104846 (eval $ac_try) 2>&5
104847 ac_status=$?
104848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104849 (exit $ac_status); }; } &&
104850 { ac_try='test -s conftest$ac_exeext'
104851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104852 (eval $ac_try) 2>&5
104853 ac_status=$?
104854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104855 (exit $ac_status); }; }; then
104856 eval "$as_ac_var=yes"
104858 echo "$as_me: failed program was:" >&5
104859 sed 's/^/| /' conftest.$ac_ext >&5
104861 eval "$as_ac_var=no"
104863 rm -f conftest.err conftest.$ac_objext \
104864 conftest$ac_exeext conftest.$ac_ext
104866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104868 if test `eval echo '${'$as_ac_var'}'` = yes; then
104869 cat >>confdefs.h <<_ACEOF
104870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104871 _ACEOF
104883 LIBS="$ac_save_LIBS"
104884 CXXFLAGS="$ac_save_CXXFLAGS"
104888 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
104889 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
104890 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
104891 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
104892 echo $ECHO_N "(cached) $ECHO_C" >&6
104897 ac_ext=cc
104898 ac_cpp='$CXXCPP $CPPFLAGS'
104899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104903 cat >conftest.$ac_ext <<_ACEOF
104904 /* confdefs.h. */
104905 _ACEOF
104906 cat confdefs.h >>conftest.$ac_ext
104907 cat >>conftest.$ac_ext <<_ACEOF
104908 /* end confdefs.h. */
104909 #include <math.h>
104911 main ()
104913 __builtin_abs(0);
104915 return 0;
104917 _ACEOF
104918 rm -f conftest.$ac_objext
104919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104920 (eval $ac_compile) 2>conftest.er1
104921 ac_status=$?
104922 grep -v '^ *+' conftest.er1 >conftest.err
104923 rm -f conftest.er1
104924 cat conftest.err >&5
104925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104926 (exit $ac_status); } &&
104927 { ac_try='test -z "$ac_cxx_werror_flag"
104928 || test ! -s conftest.err'
104929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104930 (eval $ac_try) 2>&5
104931 ac_status=$?
104932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104933 (exit $ac_status); }; } &&
104934 { ac_try='test -s conftest.$ac_objext'
104935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104936 (eval $ac_try) 2>&5
104937 ac_status=$?
104938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104939 (exit $ac_status); }; }; then
104940 glibcxx_cv_func___builtin_abs_use=yes
104942 echo "$as_me: failed program was:" >&5
104943 sed 's/^/| /' conftest.$ac_ext >&5
104945 glibcxx_cv_func___builtin_abs_use=no
104947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104948 ac_ext=c
104949 ac_cpp='$CPP $CPPFLAGS'
104950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104958 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
104959 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
104960 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
104961 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
104962 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
104963 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
104964 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
104965 echo $ECHO_N "(cached) $ECHO_C" >&6
104968 if test x$gcc_no_link = xyes; then
104969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104971 { (exit 1); exit 1; }; }
104973 cat >conftest.$ac_ext <<_ACEOF
104974 /* confdefs.h. */
104975 _ACEOF
104976 cat confdefs.h >>conftest.$ac_ext
104977 cat >>conftest.$ac_ext <<_ACEOF
104978 /* end confdefs.h. */
104979 #include <math.h>
104981 main ()
104983 __builtin_abs(0);
104985 return 0;
104987 _ACEOF
104988 rm -f conftest.$ac_objext conftest$ac_exeext
104989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104990 (eval $ac_link) 2>conftest.er1
104991 ac_status=$?
104992 grep -v '^ *+' conftest.er1 >conftest.err
104993 rm -f conftest.er1
104994 cat conftest.err >&5
104995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104996 (exit $ac_status); } &&
104997 { ac_try='test -z "$ac_c_werror_flag"
104998 || test ! -s conftest.err'
104999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105000 (eval $ac_try) 2>&5
105001 ac_status=$?
105002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105003 (exit $ac_status); }; } &&
105004 { ac_try='test -s conftest$ac_exeext'
105005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105006 (eval $ac_try) 2>&5
105007 ac_status=$?
105008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105009 (exit $ac_status); }; }; then
105010 glibcxx_cv_func___builtin_abs_link=yes
105012 echo "$as_me: failed program was:" >&5
105013 sed 's/^/| /' conftest.$ac_ext >&5
105015 glibcxx_cv_func___builtin_abs_link=no
105017 rm -f conftest.err conftest.$ac_objext \
105018 conftest$ac_exeext conftest.$ac_ext
105023 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
105024 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
105026 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
105028 cat >>confdefs.h <<\_ACEOF
105029 #define HAVE___BUILTIN_ABS 1
105030 _ACEOF
105037 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
105038 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
105039 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
105040 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
105041 echo $ECHO_N "(cached) $ECHO_C" >&6
105046 ac_ext=cc
105047 ac_cpp='$CXXCPP $CPPFLAGS'
105048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105052 cat >conftest.$ac_ext <<_ACEOF
105053 /* confdefs.h. */
105054 _ACEOF
105055 cat confdefs.h >>conftest.$ac_ext
105056 cat >>conftest.$ac_ext <<_ACEOF
105057 /* end confdefs.h. */
105058 #include <math.h>
105060 main ()
105062 __builtin_fabsf(0);
105064 return 0;
105066 _ACEOF
105067 rm -f conftest.$ac_objext
105068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105069 (eval $ac_compile) 2>conftest.er1
105070 ac_status=$?
105071 grep -v '^ *+' conftest.er1 >conftest.err
105072 rm -f conftest.er1
105073 cat conftest.err >&5
105074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105075 (exit $ac_status); } &&
105076 { ac_try='test -z "$ac_cxx_werror_flag"
105077 || test ! -s conftest.err'
105078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105079 (eval $ac_try) 2>&5
105080 ac_status=$?
105081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105082 (exit $ac_status); }; } &&
105083 { ac_try='test -s conftest.$ac_objext'
105084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105085 (eval $ac_try) 2>&5
105086 ac_status=$?
105087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105088 (exit $ac_status); }; }; then
105089 glibcxx_cv_func___builtin_fabsf_use=yes
105091 echo "$as_me: failed program was:" >&5
105092 sed 's/^/| /' conftest.$ac_ext >&5
105094 glibcxx_cv_func___builtin_fabsf_use=no
105096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105097 ac_ext=c
105098 ac_cpp='$CPP $CPPFLAGS'
105099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105107 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
105108 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
105109 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
105110 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
105111 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
105112 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
105113 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
105114 echo $ECHO_N "(cached) $ECHO_C" >&6
105117 if test x$gcc_no_link = xyes; then
105118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105120 { (exit 1); exit 1; }; }
105122 cat >conftest.$ac_ext <<_ACEOF
105123 /* confdefs.h. */
105124 _ACEOF
105125 cat confdefs.h >>conftest.$ac_ext
105126 cat >>conftest.$ac_ext <<_ACEOF
105127 /* end confdefs.h. */
105128 #include <math.h>
105130 main ()
105132 __builtin_fabsf(0);
105134 return 0;
105136 _ACEOF
105137 rm -f conftest.$ac_objext conftest$ac_exeext
105138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105139 (eval $ac_link) 2>conftest.er1
105140 ac_status=$?
105141 grep -v '^ *+' conftest.er1 >conftest.err
105142 rm -f conftest.er1
105143 cat conftest.err >&5
105144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105145 (exit $ac_status); } &&
105146 { ac_try='test -z "$ac_c_werror_flag"
105147 || test ! -s conftest.err'
105148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105149 (eval $ac_try) 2>&5
105150 ac_status=$?
105151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105152 (exit $ac_status); }; } &&
105153 { ac_try='test -s conftest$ac_exeext'
105154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105155 (eval $ac_try) 2>&5
105156 ac_status=$?
105157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105158 (exit $ac_status); }; }; then
105159 glibcxx_cv_func___builtin_fabsf_link=yes
105161 echo "$as_me: failed program was:" >&5
105162 sed 's/^/| /' conftest.$ac_ext >&5
105164 glibcxx_cv_func___builtin_fabsf_link=no
105166 rm -f conftest.err conftest.$ac_objext \
105167 conftest$ac_exeext conftest.$ac_ext
105172 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
105173 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
105175 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
105177 cat >>confdefs.h <<\_ACEOF
105178 #define HAVE___BUILTIN_FABSF 1
105179 _ACEOF
105186 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
105187 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
105188 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
105189 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
105190 echo $ECHO_N "(cached) $ECHO_C" >&6
105195 ac_ext=cc
105196 ac_cpp='$CXXCPP $CPPFLAGS'
105197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105201 cat >conftest.$ac_ext <<_ACEOF
105202 /* confdefs.h. */
105203 _ACEOF
105204 cat confdefs.h >>conftest.$ac_ext
105205 cat >>conftest.$ac_ext <<_ACEOF
105206 /* end confdefs.h. */
105207 #include <math.h>
105209 main ()
105211 __builtin_fabs(0);
105213 return 0;
105215 _ACEOF
105216 rm -f conftest.$ac_objext
105217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105218 (eval $ac_compile) 2>conftest.er1
105219 ac_status=$?
105220 grep -v '^ *+' conftest.er1 >conftest.err
105221 rm -f conftest.er1
105222 cat conftest.err >&5
105223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105224 (exit $ac_status); } &&
105225 { ac_try='test -z "$ac_cxx_werror_flag"
105226 || test ! -s conftest.err'
105227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105228 (eval $ac_try) 2>&5
105229 ac_status=$?
105230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105231 (exit $ac_status); }; } &&
105232 { ac_try='test -s conftest.$ac_objext'
105233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105234 (eval $ac_try) 2>&5
105235 ac_status=$?
105236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105237 (exit $ac_status); }; }; then
105238 glibcxx_cv_func___builtin_fabs_use=yes
105240 echo "$as_me: failed program was:" >&5
105241 sed 's/^/| /' conftest.$ac_ext >&5
105243 glibcxx_cv_func___builtin_fabs_use=no
105245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105246 ac_ext=c
105247 ac_cpp='$CPP $CPPFLAGS'
105248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105256 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
105257 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
105258 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
105259 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
105260 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
105261 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
105262 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
105263 echo $ECHO_N "(cached) $ECHO_C" >&6
105266 if test x$gcc_no_link = xyes; then
105267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105269 { (exit 1); exit 1; }; }
105271 cat >conftest.$ac_ext <<_ACEOF
105272 /* confdefs.h. */
105273 _ACEOF
105274 cat confdefs.h >>conftest.$ac_ext
105275 cat >>conftest.$ac_ext <<_ACEOF
105276 /* end confdefs.h. */
105277 #include <math.h>
105279 main ()
105281 __builtin_fabs(0);
105283 return 0;
105285 _ACEOF
105286 rm -f conftest.$ac_objext conftest$ac_exeext
105287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105288 (eval $ac_link) 2>conftest.er1
105289 ac_status=$?
105290 grep -v '^ *+' conftest.er1 >conftest.err
105291 rm -f conftest.er1
105292 cat conftest.err >&5
105293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105294 (exit $ac_status); } &&
105295 { ac_try='test -z "$ac_c_werror_flag"
105296 || test ! -s conftest.err'
105297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105298 (eval $ac_try) 2>&5
105299 ac_status=$?
105300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105301 (exit $ac_status); }; } &&
105302 { ac_try='test -s conftest$ac_exeext'
105303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105304 (eval $ac_try) 2>&5
105305 ac_status=$?
105306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105307 (exit $ac_status); }; }; then
105308 glibcxx_cv_func___builtin_fabs_link=yes
105310 echo "$as_me: failed program was:" >&5
105311 sed 's/^/| /' conftest.$ac_ext >&5
105313 glibcxx_cv_func___builtin_fabs_link=no
105315 rm -f conftest.err conftest.$ac_objext \
105316 conftest$ac_exeext conftest.$ac_ext
105321 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
105322 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
105324 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
105326 cat >>confdefs.h <<\_ACEOF
105327 #define HAVE___BUILTIN_FABS 1
105328 _ACEOF
105335 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
105336 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
105337 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
105338 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
105339 echo $ECHO_N "(cached) $ECHO_C" >&6
105344 ac_ext=cc
105345 ac_cpp='$CXXCPP $CPPFLAGS'
105346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105350 cat >conftest.$ac_ext <<_ACEOF
105351 /* confdefs.h. */
105352 _ACEOF
105353 cat confdefs.h >>conftest.$ac_ext
105354 cat >>conftest.$ac_ext <<_ACEOF
105355 /* end confdefs.h. */
105356 #include <math.h>
105358 main ()
105360 __builtin_fabsl(0);
105362 return 0;
105364 _ACEOF
105365 rm -f conftest.$ac_objext
105366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105367 (eval $ac_compile) 2>conftest.er1
105368 ac_status=$?
105369 grep -v '^ *+' conftest.er1 >conftest.err
105370 rm -f conftest.er1
105371 cat conftest.err >&5
105372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105373 (exit $ac_status); } &&
105374 { ac_try='test -z "$ac_cxx_werror_flag"
105375 || test ! -s conftest.err'
105376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105377 (eval $ac_try) 2>&5
105378 ac_status=$?
105379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105380 (exit $ac_status); }; } &&
105381 { ac_try='test -s conftest.$ac_objext'
105382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105383 (eval $ac_try) 2>&5
105384 ac_status=$?
105385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105386 (exit $ac_status); }; }; then
105387 glibcxx_cv_func___builtin_fabsl_use=yes
105389 echo "$as_me: failed program was:" >&5
105390 sed 's/^/| /' conftest.$ac_ext >&5
105392 glibcxx_cv_func___builtin_fabsl_use=no
105394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105395 ac_ext=c
105396 ac_cpp='$CPP $CPPFLAGS'
105397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105405 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
105406 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
105407 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
105408 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
105409 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
105410 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
105411 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
105412 echo $ECHO_N "(cached) $ECHO_C" >&6
105415 if test x$gcc_no_link = xyes; then
105416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105418 { (exit 1); exit 1; }; }
105420 cat >conftest.$ac_ext <<_ACEOF
105421 /* confdefs.h. */
105422 _ACEOF
105423 cat confdefs.h >>conftest.$ac_ext
105424 cat >>conftest.$ac_ext <<_ACEOF
105425 /* end confdefs.h. */
105426 #include <math.h>
105428 main ()
105430 __builtin_fabsl(0);
105432 return 0;
105434 _ACEOF
105435 rm -f conftest.$ac_objext conftest$ac_exeext
105436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105437 (eval $ac_link) 2>conftest.er1
105438 ac_status=$?
105439 grep -v '^ *+' conftest.er1 >conftest.err
105440 rm -f conftest.er1
105441 cat conftest.err >&5
105442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105443 (exit $ac_status); } &&
105444 { ac_try='test -z "$ac_c_werror_flag"
105445 || test ! -s conftest.err'
105446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105447 (eval $ac_try) 2>&5
105448 ac_status=$?
105449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105450 (exit $ac_status); }; } &&
105451 { ac_try='test -s conftest$ac_exeext'
105452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105453 (eval $ac_try) 2>&5
105454 ac_status=$?
105455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105456 (exit $ac_status); }; }; then
105457 glibcxx_cv_func___builtin_fabsl_link=yes
105459 echo "$as_me: failed program was:" >&5
105460 sed 's/^/| /' conftest.$ac_ext >&5
105462 glibcxx_cv_func___builtin_fabsl_link=no
105464 rm -f conftest.err conftest.$ac_objext \
105465 conftest$ac_exeext conftest.$ac_ext
105470 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
105471 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
105473 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
105475 cat >>confdefs.h <<\_ACEOF
105476 #define HAVE___BUILTIN_FABSL 1
105477 _ACEOF
105484 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
105485 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
105486 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
105487 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
105488 echo $ECHO_N "(cached) $ECHO_C" >&6
105493 ac_ext=cc
105494 ac_cpp='$CXXCPP $CPPFLAGS'
105495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105499 cat >conftest.$ac_ext <<_ACEOF
105500 /* confdefs.h. */
105501 _ACEOF
105502 cat confdefs.h >>conftest.$ac_ext
105503 cat >>conftest.$ac_ext <<_ACEOF
105504 /* end confdefs.h. */
105505 #include <math.h>
105507 main ()
105509 __builtin_labs(0);
105511 return 0;
105513 _ACEOF
105514 rm -f conftest.$ac_objext
105515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105516 (eval $ac_compile) 2>conftest.er1
105517 ac_status=$?
105518 grep -v '^ *+' conftest.er1 >conftest.err
105519 rm -f conftest.er1
105520 cat conftest.err >&5
105521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105522 (exit $ac_status); } &&
105523 { ac_try='test -z "$ac_cxx_werror_flag"
105524 || test ! -s conftest.err'
105525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105526 (eval $ac_try) 2>&5
105527 ac_status=$?
105528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105529 (exit $ac_status); }; } &&
105530 { ac_try='test -s conftest.$ac_objext'
105531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105532 (eval $ac_try) 2>&5
105533 ac_status=$?
105534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105535 (exit $ac_status); }; }; then
105536 glibcxx_cv_func___builtin_labs_use=yes
105538 echo "$as_me: failed program was:" >&5
105539 sed 's/^/| /' conftest.$ac_ext >&5
105541 glibcxx_cv_func___builtin_labs_use=no
105543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105544 ac_ext=c
105545 ac_cpp='$CPP $CPPFLAGS'
105546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105554 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
105555 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
105556 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
105557 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
105558 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
105559 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
105560 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
105561 echo $ECHO_N "(cached) $ECHO_C" >&6
105564 if test x$gcc_no_link = xyes; then
105565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105567 { (exit 1); exit 1; }; }
105569 cat >conftest.$ac_ext <<_ACEOF
105570 /* confdefs.h. */
105571 _ACEOF
105572 cat confdefs.h >>conftest.$ac_ext
105573 cat >>conftest.$ac_ext <<_ACEOF
105574 /* end confdefs.h. */
105575 #include <math.h>
105577 main ()
105579 __builtin_labs(0);
105581 return 0;
105583 _ACEOF
105584 rm -f conftest.$ac_objext conftest$ac_exeext
105585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105586 (eval $ac_link) 2>conftest.er1
105587 ac_status=$?
105588 grep -v '^ *+' conftest.er1 >conftest.err
105589 rm -f conftest.er1
105590 cat conftest.err >&5
105591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105592 (exit $ac_status); } &&
105593 { ac_try='test -z "$ac_c_werror_flag"
105594 || test ! -s conftest.err'
105595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105596 (eval $ac_try) 2>&5
105597 ac_status=$?
105598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105599 (exit $ac_status); }; } &&
105600 { ac_try='test -s conftest$ac_exeext'
105601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105602 (eval $ac_try) 2>&5
105603 ac_status=$?
105604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105605 (exit $ac_status); }; }; then
105606 glibcxx_cv_func___builtin_labs_link=yes
105608 echo "$as_me: failed program was:" >&5
105609 sed 's/^/| /' conftest.$ac_ext >&5
105611 glibcxx_cv_func___builtin_labs_link=no
105613 rm -f conftest.err conftest.$ac_objext \
105614 conftest$ac_exeext conftest.$ac_ext
105619 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
105620 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
105622 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
105624 cat >>confdefs.h <<\_ACEOF
105625 #define HAVE___BUILTIN_LABS 1
105626 _ACEOF
105634 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
105635 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
105636 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
105637 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
105638 echo $ECHO_N "(cached) $ECHO_C" >&6
105643 ac_ext=cc
105644 ac_cpp='$CXXCPP $CPPFLAGS'
105645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105649 cat >conftest.$ac_ext <<_ACEOF
105650 /* confdefs.h. */
105651 _ACEOF
105652 cat confdefs.h >>conftest.$ac_ext
105653 cat >>conftest.$ac_ext <<_ACEOF
105654 /* end confdefs.h. */
105655 #include <math.h>
105657 main ()
105659 __builtin_sqrtf(0);
105661 return 0;
105663 _ACEOF
105664 rm -f conftest.$ac_objext
105665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105666 (eval $ac_compile) 2>conftest.er1
105667 ac_status=$?
105668 grep -v '^ *+' conftest.er1 >conftest.err
105669 rm -f conftest.er1
105670 cat conftest.err >&5
105671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105672 (exit $ac_status); } &&
105673 { ac_try='test -z "$ac_cxx_werror_flag"
105674 || test ! -s conftest.err'
105675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105676 (eval $ac_try) 2>&5
105677 ac_status=$?
105678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105679 (exit $ac_status); }; } &&
105680 { ac_try='test -s conftest.$ac_objext'
105681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105682 (eval $ac_try) 2>&5
105683 ac_status=$?
105684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105685 (exit $ac_status); }; }; then
105686 glibcxx_cv_func___builtin_sqrtf_use=yes
105688 echo "$as_me: failed program was:" >&5
105689 sed 's/^/| /' conftest.$ac_ext >&5
105691 glibcxx_cv_func___builtin_sqrtf_use=no
105693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105694 ac_ext=c
105695 ac_cpp='$CPP $CPPFLAGS'
105696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105704 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
105705 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
105706 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
105707 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
105708 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
105709 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
105710 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
105711 echo $ECHO_N "(cached) $ECHO_C" >&6
105714 if test x$gcc_no_link = xyes; then
105715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105717 { (exit 1); exit 1; }; }
105719 cat >conftest.$ac_ext <<_ACEOF
105720 /* confdefs.h. */
105721 _ACEOF
105722 cat confdefs.h >>conftest.$ac_ext
105723 cat >>conftest.$ac_ext <<_ACEOF
105724 /* end confdefs.h. */
105725 #include <math.h>
105727 main ()
105729 __builtin_sqrtf(0);
105731 return 0;
105733 _ACEOF
105734 rm -f conftest.$ac_objext conftest$ac_exeext
105735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105736 (eval $ac_link) 2>conftest.er1
105737 ac_status=$?
105738 grep -v '^ *+' conftest.er1 >conftest.err
105739 rm -f conftest.er1
105740 cat conftest.err >&5
105741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105742 (exit $ac_status); } &&
105743 { ac_try='test -z "$ac_c_werror_flag"
105744 || test ! -s conftest.err'
105745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105746 (eval $ac_try) 2>&5
105747 ac_status=$?
105748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105749 (exit $ac_status); }; } &&
105750 { ac_try='test -s conftest$ac_exeext'
105751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105752 (eval $ac_try) 2>&5
105753 ac_status=$?
105754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105755 (exit $ac_status); }; }; then
105756 glibcxx_cv_func___builtin_sqrtf_link=yes
105758 echo "$as_me: failed program was:" >&5
105759 sed 's/^/| /' conftest.$ac_ext >&5
105761 glibcxx_cv_func___builtin_sqrtf_link=no
105763 rm -f conftest.err conftest.$ac_objext \
105764 conftest$ac_exeext conftest.$ac_ext
105769 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
105770 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
105772 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
105774 cat >>confdefs.h <<\_ACEOF
105775 #define HAVE___BUILTIN_SQRTF 1
105776 _ACEOF
105783 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
105784 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
105785 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
105786 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
105787 echo $ECHO_N "(cached) $ECHO_C" >&6
105792 ac_ext=cc
105793 ac_cpp='$CXXCPP $CPPFLAGS'
105794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105798 cat >conftest.$ac_ext <<_ACEOF
105799 /* confdefs.h. */
105800 _ACEOF
105801 cat confdefs.h >>conftest.$ac_ext
105802 cat >>conftest.$ac_ext <<_ACEOF
105803 /* end confdefs.h. */
105804 #include <math.h>
105806 main ()
105808 __builtin_sqrt(0);
105810 return 0;
105812 _ACEOF
105813 rm -f conftest.$ac_objext
105814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105815 (eval $ac_compile) 2>conftest.er1
105816 ac_status=$?
105817 grep -v '^ *+' conftest.er1 >conftest.err
105818 rm -f conftest.er1
105819 cat conftest.err >&5
105820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105821 (exit $ac_status); } &&
105822 { ac_try='test -z "$ac_cxx_werror_flag"
105823 || test ! -s conftest.err'
105824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105825 (eval $ac_try) 2>&5
105826 ac_status=$?
105827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105828 (exit $ac_status); }; } &&
105829 { ac_try='test -s conftest.$ac_objext'
105830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105831 (eval $ac_try) 2>&5
105832 ac_status=$?
105833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105834 (exit $ac_status); }; }; then
105835 glibcxx_cv_func___builtin_sqrt_use=yes
105837 echo "$as_me: failed program was:" >&5
105838 sed 's/^/| /' conftest.$ac_ext >&5
105840 glibcxx_cv_func___builtin_sqrt_use=no
105842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105843 ac_ext=c
105844 ac_cpp='$CPP $CPPFLAGS'
105845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105853 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
105854 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
105855 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
105856 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
105857 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
105858 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
105859 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
105860 echo $ECHO_N "(cached) $ECHO_C" >&6
105863 if test x$gcc_no_link = xyes; then
105864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105866 { (exit 1); exit 1; }; }
105868 cat >conftest.$ac_ext <<_ACEOF
105869 /* confdefs.h. */
105870 _ACEOF
105871 cat confdefs.h >>conftest.$ac_ext
105872 cat >>conftest.$ac_ext <<_ACEOF
105873 /* end confdefs.h. */
105874 #include <math.h>
105876 main ()
105878 __builtin_sqrt(0);
105880 return 0;
105882 _ACEOF
105883 rm -f conftest.$ac_objext conftest$ac_exeext
105884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105885 (eval $ac_link) 2>conftest.er1
105886 ac_status=$?
105887 grep -v '^ *+' conftest.er1 >conftest.err
105888 rm -f conftest.er1
105889 cat conftest.err >&5
105890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105891 (exit $ac_status); } &&
105892 { ac_try='test -z "$ac_c_werror_flag"
105893 || test ! -s conftest.err'
105894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105895 (eval $ac_try) 2>&5
105896 ac_status=$?
105897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105898 (exit $ac_status); }; } &&
105899 { ac_try='test -s conftest$ac_exeext'
105900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105901 (eval $ac_try) 2>&5
105902 ac_status=$?
105903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105904 (exit $ac_status); }; }; then
105905 glibcxx_cv_func___builtin_sqrt_link=yes
105907 echo "$as_me: failed program was:" >&5
105908 sed 's/^/| /' conftest.$ac_ext >&5
105910 glibcxx_cv_func___builtin_sqrt_link=no
105912 rm -f conftest.err conftest.$ac_objext \
105913 conftest$ac_exeext conftest.$ac_ext
105918 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
105919 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
105921 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
105923 cat >>confdefs.h <<\_ACEOF
105924 #define HAVE___BUILTIN_SQRT 1
105925 _ACEOF
105932 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
105933 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
105934 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
105935 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
105936 echo $ECHO_N "(cached) $ECHO_C" >&6
105941 ac_ext=cc
105942 ac_cpp='$CXXCPP $CPPFLAGS'
105943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105947 cat >conftest.$ac_ext <<_ACEOF
105948 /* confdefs.h. */
105949 _ACEOF
105950 cat confdefs.h >>conftest.$ac_ext
105951 cat >>conftest.$ac_ext <<_ACEOF
105952 /* end confdefs.h. */
105953 #include <math.h>
105955 main ()
105957 __builtin_sqrtl(0);
105959 return 0;
105961 _ACEOF
105962 rm -f conftest.$ac_objext
105963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105964 (eval $ac_compile) 2>conftest.er1
105965 ac_status=$?
105966 grep -v '^ *+' conftest.er1 >conftest.err
105967 rm -f conftest.er1
105968 cat conftest.err >&5
105969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105970 (exit $ac_status); } &&
105971 { ac_try='test -z "$ac_cxx_werror_flag"
105972 || test ! -s conftest.err'
105973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105974 (eval $ac_try) 2>&5
105975 ac_status=$?
105976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105977 (exit $ac_status); }; } &&
105978 { ac_try='test -s conftest.$ac_objext'
105979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105980 (eval $ac_try) 2>&5
105981 ac_status=$?
105982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105983 (exit $ac_status); }; }; then
105984 glibcxx_cv_func___builtin_sqrtl_use=yes
105986 echo "$as_me: failed program was:" >&5
105987 sed 's/^/| /' conftest.$ac_ext >&5
105989 glibcxx_cv_func___builtin_sqrtl_use=no
105991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105992 ac_ext=c
105993 ac_cpp='$CPP $CPPFLAGS'
105994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106002 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
106003 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
106004 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
106005 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
106006 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
106007 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
106008 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
106009 echo $ECHO_N "(cached) $ECHO_C" >&6
106012 if test x$gcc_no_link = xyes; then
106013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106015 { (exit 1); exit 1; }; }
106017 cat >conftest.$ac_ext <<_ACEOF
106018 /* confdefs.h. */
106019 _ACEOF
106020 cat confdefs.h >>conftest.$ac_ext
106021 cat >>conftest.$ac_ext <<_ACEOF
106022 /* end confdefs.h. */
106023 #include <math.h>
106025 main ()
106027 __builtin_sqrtl(0);
106029 return 0;
106031 _ACEOF
106032 rm -f conftest.$ac_objext conftest$ac_exeext
106033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106034 (eval $ac_link) 2>conftest.er1
106035 ac_status=$?
106036 grep -v '^ *+' conftest.er1 >conftest.err
106037 rm -f conftest.er1
106038 cat conftest.err >&5
106039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106040 (exit $ac_status); } &&
106041 { ac_try='test -z "$ac_c_werror_flag"
106042 || test ! -s conftest.err'
106043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106044 (eval $ac_try) 2>&5
106045 ac_status=$?
106046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106047 (exit $ac_status); }; } &&
106048 { ac_try='test -s conftest$ac_exeext'
106049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106050 (eval $ac_try) 2>&5
106051 ac_status=$?
106052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106053 (exit $ac_status); }; }; then
106054 glibcxx_cv_func___builtin_sqrtl_link=yes
106056 echo "$as_me: failed program was:" >&5
106057 sed 's/^/| /' conftest.$ac_ext >&5
106059 glibcxx_cv_func___builtin_sqrtl_link=no
106061 rm -f conftest.err conftest.$ac_objext \
106062 conftest$ac_exeext conftest.$ac_ext
106067 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
106068 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
106070 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
106072 cat >>confdefs.h <<\_ACEOF
106073 #define HAVE___BUILTIN_SQRTL 1
106074 _ACEOF
106082 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
106083 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
106084 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
106085 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
106086 echo $ECHO_N "(cached) $ECHO_C" >&6
106091 ac_ext=cc
106092 ac_cpp='$CXXCPP $CPPFLAGS'
106093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106097 cat >conftest.$ac_ext <<_ACEOF
106098 /* confdefs.h. */
106099 _ACEOF
106100 cat confdefs.h >>conftest.$ac_ext
106101 cat >>conftest.$ac_ext <<_ACEOF
106102 /* end confdefs.h. */
106103 #include <math.h>
106105 main ()
106107 __builtin_sinf(0);
106109 return 0;
106111 _ACEOF
106112 rm -f conftest.$ac_objext
106113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106114 (eval $ac_compile) 2>conftest.er1
106115 ac_status=$?
106116 grep -v '^ *+' conftest.er1 >conftest.err
106117 rm -f conftest.er1
106118 cat conftest.err >&5
106119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106120 (exit $ac_status); } &&
106121 { ac_try='test -z "$ac_cxx_werror_flag"
106122 || test ! -s conftest.err'
106123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106124 (eval $ac_try) 2>&5
106125 ac_status=$?
106126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106127 (exit $ac_status); }; } &&
106128 { ac_try='test -s conftest.$ac_objext'
106129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106130 (eval $ac_try) 2>&5
106131 ac_status=$?
106132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106133 (exit $ac_status); }; }; then
106134 glibcxx_cv_func___builtin_sinf_use=yes
106136 echo "$as_me: failed program was:" >&5
106137 sed 's/^/| /' conftest.$ac_ext >&5
106139 glibcxx_cv_func___builtin_sinf_use=no
106141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106142 ac_ext=c
106143 ac_cpp='$CPP $CPPFLAGS'
106144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106152 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
106153 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
106154 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
106155 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
106156 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
106157 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
106158 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
106159 echo $ECHO_N "(cached) $ECHO_C" >&6
106162 if test x$gcc_no_link = xyes; then
106163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106165 { (exit 1); exit 1; }; }
106167 cat >conftest.$ac_ext <<_ACEOF
106168 /* confdefs.h. */
106169 _ACEOF
106170 cat confdefs.h >>conftest.$ac_ext
106171 cat >>conftest.$ac_ext <<_ACEOF
106172 /* end confdefs.h. */
106173 #include <math.h>
106175 main ()
106177 __builtin_sinf(0);
106179 return 0;
106181 _ACEOF
106182 rm -f conftest.$ac_objext conftest$ac_exeext
106183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106184 (eval $ac_link) 2>conftest.er1
106185 ac_status=$?
106186 grep -v '^ *+' conftest.er1 >conftest.err
106187 rm -f conftest.er1
106188 cat conftest.err >&5
106189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106190 (exit $ac_status); } &&
106191 { ac_try='test -z "$ac_c_werror_flag"
106192 || test ! -s conftest.err'
106193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106194 (eval $ac_try) 2>&5
106195 ac_status=$?
106196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106197 (exit $ac_status); }; } &&
106198 { ac_try='test -s conftest$ac_exeext'
106199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106200 (eval $ac_try) 2>&5
106201 ac_status=$?
106202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106203 (exit $ac_status); }; }; then
106204 glibcxx_cv_func___builtin_sinf_link=yes
106206 echo "$as_me: failed program was:" >&5
106207 sed 's/^/| /' conftest.$ac_ext >&5
106209 glibcxx_cv_func___builtin_sinf_link=no
106211 rm -f conftest.err conftest.$ac_objext \
106212 conftest$ac_exeext conftest.$ac_ext
106217 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
106218 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
106220 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
106222 cat >>confdefs.h <<\_ACEOF
106223 #define HAVE___BUILTIN_SINF 1
106224 _ACEOF
106231 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
106232 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
106233 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
106234 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
106235 echo $ECHO_N "(cached) $ECHO_C" >&6
106240 ac_ext=cc
106241 ac_cpp='$CXXCPP $CPPFLAGS'
106242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106246 cat >conftest.$ac_ext <<_ACEOF
106247 /* confdefs.h. */
106248 _ACEOF
106249 cat confdefs.h >>conftest.$ac_ext
106250 cat >>conftest.$ac_ext <<_ACEOF
106251 /* end confdefs.h. */
106252 #include <math.h>
106254 main ()
106256 __builtin_sin(0);
106258 return 0;
106260 _ACEOF
106261 rm -f conftest.$ac_objext
106262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106263 (eval $ac_compile) 2>conftest.er1
106264 ac_status=$?
106265 grep -v '^ *+' conftest.er1 >conftest.err
106266 rm -f conftest.er1
106267 cat conftest.err >&5
106268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106269 (exit $ac_status); } &&
106270 { ac_try='test -z "$ac_cxx_werror_flag"
106271 || test ! -s conftest.err'
106272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106273 (eval $ac_try) 2>&5
106274 ac_status=$?
106275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106276 (exit $ac_status); }; } &&
106277 { ac_try='test -s conftest.$ac_objext'
106278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106279 (eval $ac_try) 2>&5
106280 ac_status=$?
106281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106282 (exit $ac_status); }; }; then
106283 glibcxx_cv_func___builtin_sin_use=yes
106285 echo "$as_me: failed program was:" >&5
106286 sed 's/^/| /' conftest.$ac_ext >&5
106288 glibcxx_cv_func___builtin_sin_use=no
106290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106291 ac_ext=c
106292 ac_cpp='$CPP $CPPFLAGS'
106293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106301 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
106302 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
106303 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
106304 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
106305 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
106306 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
106307 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
106308 echo $ECHO_N "(cached) $ECHO_C" >&6
106311 if test x$gcc_no_link = xyes; then
106312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106314 { (exit 1); exit 1; }; }
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 __builtin_sin(0);
106328 return 0;
106330 _ACEOF
106331 rm -f conftest.$ac_objext conftest$ac_exeext
106332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106333 (eval $ac_link) 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_c_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_exeext'
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___builtin_sin_link=yes
106355 echo "$as_me: failed program was:" >&5
106356 sed 's/^/| /' conftest.$ac_ext >&5
106358 glibcxx_cv_func___builtin_sin_link=no
106360 rm -f conftest.err conftest.$ac_objext \
106361 conftest$ac_exeext conftest.$ac_ext
106366 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
106367 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
106369 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
106371 cat >>confdefs.h <<\_ACEOF
106372 #define HAVE___BUILTIN_SIN 1
106373 _ACEOF
106380 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
106381 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
106382 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
106383 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
106384 echo $ECHO_N "(cached) $ECHO_C" >&6
106389 ac_ext=cc
106390 ac_cpp='$CXXCPP $CPPFLAGS'
106391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106395 cat >conftest.$ac_ext <<_ACEOF
106396 /* confdefs.h. */
106397 _ACEOF
106398 cat confdefs.h >>conftest.$ac_ext
106399 cat >>conftest.$ac_ext <<_ACEOF
106400 /* end confdefs.h. */
106401 #include <math.h>
106403 main ()
106405 __builtin_sinl(0);
106407 return 0;
106409 _ACEOF
106410 rm -f conftest.$ac_objext
106411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106412 (eval $ac_compile) 2>conftest.er1
106413 ac_status=$?
106414 grep -v '^ *+' conftest.er1 >conftest.err
106415 rm -f conftest.er1
106416 cat conftest.err >&5
106417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106418 (exit $ac_status); } &&
106419 { ac_try='test -z "$ac_cxx_werror_flag"
106420 || test ! -s conftest.err'
106421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106422 (eval $ac_try) 2>&5
106423 ac_status=$?
106424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106425 (exit $ac_status); }; } &&
106426 { ac_try='test -s conftest.$ac_objext'
106427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106428 (eval $ac_try) 2>&5
106429 ac_status=$?
106430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106431 (exit $ac_status); }; }; then
106432 glibcxx_cv_func___builtin_sinl_use=yes
106434 echo "$as_me: failed program was:" >&5
106435 sed 's/^/| /' conftest.$ac_ext >&5
106437 glibcxx_cv_func___builtin_sinl_use=no
106439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106440 ac_ext=c
106441 ac_cpp='$CPP $CPPFLAGS'
106442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106450 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
106451 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
106452 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
106453 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
106454 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
106455 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
106456 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
106457 echo $ECHO_N "(cached) $ECHO_C" >&6
106460 if test x$gcc_no_link = xyes; then
106461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106463 { (exit 1); exit 1; }; }
106465 cat >conftest.$ac_ext <<_ACEOF
106466 /* confdefs.h. */
106467 _ACEOF
106468 cat confdefs.h >>conftest.$ac_ext
106469 cat >>conftest.$ac_ext <<_ACEOF
106470 /* end confdefs.h. */
106471 #include <math.h>
106473 main ()
106475 __builtin_sinl(0);
106477 return 0;
106479 _ACEOF
106480 rm -f conftest.$ac_objext conftest$ac_exeext
106481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106482 (eval $ac_link) 2>conftest.er1
106483 ac_status=$?
106484 grep -v '^ *+' conftest.er1 >conftest.err
106485 rm -f conftest.er1
106486 cat conftest.err >&5
106487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106488 (exit $ac_status); } &&
106489 { ac_try='test -z "$ac_c_werror_flag"
106490 || test ! -s conftest.err'
106491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106492 (eval $ac_try) 2>&5
106493 ac_status=$?
106494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106495 (exit $ac_status); }; } &&
106496 { ac_try='test -s conftest$ac_exeext'
106497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106498 (eval $ac_try) 2>&5
106499 ac_status=$?
106500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106501 (exit $ac_status); }; }; then
106502 glibcxx_cv_func___builtin_sinl_link=yes
106504 echo "$as_me: failed program was:" >&5
106505 sed 's/^/| /' conftest.$ac_ext >&5
106507 glibcxx_cv_func___builtin_sinl_link=no
106509 rm -f conftest.err conftest.$ac_objext \
106510 conftest$ac_exeext conftest.$ac_ext
106515 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
106516 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
106518 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
106520 cat >>confdefs.h <<\_ACEOF
106521 #define HAVE___BUILTIN_SINL 1
106522 _ACEOF
106530 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
106531 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
106532 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
106533 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
106534 echo $ECHO_N "(cached) $ECHO_C" >&6
106539 ac_ext=cc
106540 ac_cpp='$CXXCPP $CPPFLAGS'
106541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106545 cat >conftest.$ac_ext <<_ACEOF
106546 /* confdefs.h. */
106547 _ACEOF
106548 cat confdefs.h >>conftest.$ac_ext
106549 cat >>conftest.$ac_ext <<_ACEOF
106550 /* end confdefs.h. */
106551 #include <math.h>
106553 main ()
106555 __builtin_cosf(0);
106557 return 0;
106559 _ACEOF
106560 rm -f conftest.$ac_objext
106561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106562 (eval $ac_compile) 2>conftest.er1
106563 ac_status=$?
106564 grep -v '^ *+' conftest.er1 >conftest.err
106565 rm -f conftest.er1
106566 cat conftest.err >&5
106567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106568 (exit $ac_status); } &&
106569 { ac_try='test -z "$ac_cxx_werror_flag"
106570 || test ! -s conftest.err'
106571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106572 (eval $ac_try) 2>&5
106573 ac_status=$?
106574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106575 (exit $ac_status); }; } &&
106576 { ac_try='test -s conftest.$ac_objext'
106577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106578 (eval $ac_try) 2>&5
106579 ac_status=$?
106580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106581 (exit $ac_status); }; }; then
106582 glibcxx_cv_func___builtin_cosf_use=yes
106584 echo "$as_me: failed program was:" >&5
106585 sed 's/^/| /' conftest.$ac_ext >&5
106587 glibcxx_cv_func___builtin_cosf_use=no
106589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106590 ac_ext=c
106591 ac_cpp='$CPP $CPPFLAGS'
106592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106600 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
106601 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
106602 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
106603 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
106604 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
106605 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
106606 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
106607 echo $ECHO_N "(cached) $ECHO_C" >&6
106610 if test x$gcc_no_link = xyes; then
106611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106613 { (exit 1); exit 1; }; }
106615 cat >conftest.$ac_ext <<_ACEOF
106616 /* confdefs.h. */
106617 _ACEOF
106618 cat confdefs.h >>conftest.$ac_ext
106619 cat >>conftest.$ac_ext <<_ACEOF
106620 /* end confdefs.h. */
106621 #include <math.h>
106623 main ()
106625 __builtin_cosf(0);
106627 return 0;
106629 _ACEOF
106630 rm -f conftest.$ac_objext conftest$ac_exeext
106631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106632 (eval $ac_link) 2>conftest.er1
106633 ac_status=$?
106634 grep -v '^ *+' conftest.er1 >conftest.err
106635 rm -f conftest.er1
106636 cat conftest.err >&5
106637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106638 (exit $ac_status); } &&
106639 { ac_try='test -z "$ac_c_werror_flag"
106640 || test ! -s conftest.err'
106641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106642 (eval $ac_try) 2>&5
106643 ac_status=$?
106644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106645 (exit $ac_status); }; } &&
106646 { ac_try='test -s conftest$ac_exeext'
106647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106648 (eval $ac_try) 2>&5
106649 ac_status=$?
106650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106651 (exit $ac_status); }; }; then
106652 glibcxx_cv_func___builtin_cosf_link=yes
106654 echo "$as_me: failed program was:" >&5
106655 sed 's/^/| /' conftest.$ac_ext >&5
106657 glibcxx_cv_func___builtin_cosf_link=no
106659 rm -f conftest.err conftest.$ac_objext \
106660 conftest$ac_exeext conftest.$ac_ext
106665 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
106666 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
106668 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
106670 cat >>confdefs.h <<\_ACEOF
106671 #define HAVE___BUILTIN_COSF 1
106672 _ACEOF
106679 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
106680 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
106681 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
106682 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
106683 echo $ECHO_N "(cached) $ECHO_C" >&6
106688 ac_ext=cc
106689 ac_cpp='$CXXCPP $CPPFLAGS'
106690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106694 cat >conftest.$ac_ext <<_ACEOF
106695 /* confdefs.h. */
106696 _ACEOF
106697 cat confdefs.h >>conftest.$ac_ext
106698 cat >>conftest.$ac_ext <<_ACEOF
106699 /* end confdefs.h. */
106700 #include <math.h>
106702 main ()
106704 __builtin_cos(0);
106706 return 0;
106708 _ACEOF
106709 rm -f conftest.$ac_objext
106710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106711 (eval $ac_compile) 2>conftest.er1
106712 ac_status=$?
106713 grep -v '^ *+' conftest.er1 >conftest.err
106714 rm -f conftest.er1
106715 cat conftest.err >&5
106716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106717 (exit $ac_status); } &&
106718 { ac_try='test -z "$ac_cxx_werror_flag"
106719 || test ! -s conftest.err'
106720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106721 (eval $ac_try) 2>&5
106722 ac_status=$?
106723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106724 (exit $ac_status); }; } &&
106725 { ac_try='test -s conftest.$ac_objext'
106726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106727 (eval $ac_try) 2>&5
106728 ac_status=$?
106729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106730 (exit $ac_status); }; }; then
106731 glibcxx_cv_func___builtin_cos_use=yes
106733 echo "$as_me: failed program was:" >&5
106734 sed 's/^/| /' conftest.$ac_ext >&5
106736 glibcxx_cv_func___builtin_cos_use=no
106738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106739 ac_ext=c
106740 ac_cpp='$CPP $CPPFLAGS'
106741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106749 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
106750 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
106751 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
106752 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
106753 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
106754 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
106755 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
106756 echo $ECHO_N "(cached) $ECHO_C" >&6
106759 if test x$gcc_no_link = xyes; then
106760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106762 { (exit 1); exit 1; }; }
106764 cat >conftest.$ac_ext <<_ACEOF
106765 /* confdefs.h. */
106766 _ACEOF
106767 cat confdefs.h >>conftest.$ac_ext
106768 cat >>conftest.$ac_ext <<_ACEOF
106769 /* end confdefs.h. */
106770 #include <math.h>
106772 main ()
106774 __builtin_cos(0);
106776 return 0;
106778 _ACEOF
106779 rm -f conftest.$ac_objext conftest$ac_exeext
106780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106781 (eval $ac_link) 2>conftest.er1
106782 ac_status=$?
106783 grep -v '^ *+' conftest.er1 >conftest.err
106784 rm -f conftest.er1
106785 cat conftest.err >&5
106786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106787 (exit $ac_status); } &&
106788 { ac_try='test -z "$ac_c_werror_flag"
106789 || test ! -s conftest.err'
106790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106791 (eval $ac_try) 2>&5
106792 ac_status=$?
106793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106794 (exit $ac_status); }; } &&
106795 { ac_try='test -s conftest$ac_exeext'
106796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106797 (eval $ac_try) 2>&5
106798 ac_status=$?
106799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106800 (exit $ac_status); }; }; then
106801 glibcxx_cv_func___builtin_cos_link=yes
106803 echo "$as_me: failed program was:" >&5
106804 sed 's/^/| /' conftest.$ac_ext >&5
106806 glibcxx_cv_func___builtin_cos_link=no
106808 rm -f conftest.err conftest.$ac_objext \
106809 conftest$ac_exeext conftest.$ac_ext
106814 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
106815 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
106817 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
106819 cat >>confdefs.h <<\_ACEOF
106820 #define HAVE___BUILTIN_COS 1
106821 _ACEOF
106828 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
106829 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
106830 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
106831 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
106832 echo $ECHO_N "(cached) $ECHO_C" >&6
106837 ac_ext=cc
106838 ac_cpp='$CXXCPP $CPPFLAGS'
106839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106843 cat >conftest.$ac_ext <<_ACEOF
106844 /* confdefs.h. */
106845 _ACEOF
106846 cat confdefs.h >>conftest.$ac_ext
106847 cat >>conftest.$ac_ext <<_ACEOF
106848 /* end confdefs.h. */
106849 #include <math.h>
106851 main ()
106853 __builtin_cosl(0);
106855 return 0;
106857 _ACEOF
106858 rm -f conftest.$ac_objext
106859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106860 (eval $ac_compile) 2>conftest.er1
106861 ac_status=$?
106862 grep -v '^ *+' conftest.er1 >conftest.err
106863 rm -f conftest.er1
106864 cat conftest.err >&5
106865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106866 (exit $ac_status); } &&
106867 { ac_try='test -z "$ac_cxx_werror_flag"
106868 || test ! -s conftest.err'
106869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106870 (eval $ac_try) 2>&5
106871 ac_status=$?
106872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106873 (exit $ac_status); }; } &&
106874 { ac_try='test -s conftest.$ac_objext'
106875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106876 (eval $ac_try) 2>&5
106877 ac_status=$?
106878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106879 (exit $ac_status); }; }; then
106880 glibcxx_cv_func___builtin_cosl_use=yes
106882 echo "$as_me: failed program was:" >&5
106883 sed 's/^/| /' conftest.$ac_ext >&5
106885 glibcxx_cv_func___builtin_cosl_use=no
106887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106888 ac_ext=c
106889 ac_cpp='$CPP $CPPFLAGS'
106890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106898 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
106899 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
106900 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
106901 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
106902 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
106903 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
106904 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
106905 echo $ECHO_N "(cached) $ECHO_C" >&6
106908 if test x$gcc_no_link = xyes; then
106909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106911 { (exit 1); exit 1; }; }
106913 cat >conftest.$ac_ext <<_ACEOF
106914 /* confdefs.h. */
106915 _ACEOF
106916 cat confdefs.h >>conftest.$ac_ext
106917 cat >>conftest.$ac_ext <<_ACEOF
106918 /* end confdefs.h. */
106919 #include <math.h>
106921 main ()
106923 __builtin_cosl(0);
106925 return 0;
106927 _ACEOF
106928 rm -f conftest.$ac_objext conftest$ac_exeext
106929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106930 (eval $ac_link) 2>conftest.er1
106931 ac_status=$?
106932 grep -v '^ *+' conftest.er1 >conftest.err
106933 rm -f conftest.er1
106934 cat conftest.err >&5
106935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106936 (exit $ac_status); } &&
106937 { ac_try='test -z "$ac_c_werror_flag"
106938 || test ! -s conftest.err'
106939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106940 (eval $ac_try) 2>&5
106941 ac_status=$?
106942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106943 (exit $ac_status); }; } &&
106944 { ac_try='test -s conftest$ac_exeext'
106945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106946 (eval $ac_try) 2>&5
106947 ac_status=$?
106948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106949 (exit $ac_status); }; }; then
106950 glibcxx_cv_func___builtin_cosl_link=yes
106952 echo "$as_me: failed program was:" >&5
106953 sed 's/^/| /' conftest.$ac_ext >&5
106955 glibcxx_cv_func___builtin_cosl_link=no
106957 rm -f conftest.err conftest.$ac_objext \
106958 conftest$ac_exeext conftest.$ac_ext
106963 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
106964 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
106966 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
106968 cat >>confdefs.h <<\_ACEOF
106969 #define HAVE___BUILTIN_COSL 1
106970 _ACEOF
106979 echo "$as_me:$LINENO: checking for main in -lm" >&5
106980 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
106981 if test "${ac_cv_lib_m_main+set}" = set; then
106982 echo $ECHO_N "(cached) $ECHO_C" >&6
106984 ac_check_lib_save_LIBS=$LIBS
106985 LIBS="-lm $LIBS"
106986 if test x$gcc_no_link = xyes; then
106987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106989 { (exit 1); exit 1; }; }
106991 cat >conftest.$ac_ext <<_ACEOF
106992 /* confdefs.h. */
106993 _ACEOF
106994 cat confdefs.h >>conftest.$ac_ext
106995 cat >>conftest.$ac_ext <<_ACEOF
106996 /* end confdefs.h. */
107000 main ()
107002 main ();
107004 return 0;
107006 _ACEOF
107007 rm -f conftest.$ac_objext conftest$ac_exeext
107008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107009 (eval $ac_link) 2>conftest.er1
107010 ac_status=$?
107011 grep -v '^ *+' conftest.er1 >conftest.err
107012 rm -f conftest.er1
107013 cat conftest.err >&5
107014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107015 (exit $ac_status); } &&
107016 { ac_try='test -z "$ac_c_werror_flag"
107017 || test ! -s conftest.err'
107018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107019 (eval $ac_try) 2>&5
107020 ac_status=$?
107021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107022 (exit $ac_status); }; } &&
107023 { ac_try='test -s conftest$ac_exeext'
107024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107025 (eval $ac_try) 2>&5
107026 ac_status=$?
107027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107028 (exit $ac_status); }; }; then
107029 ac_cv_lib_m_main=yes
107031 echo "$as_me: failed program was:" >&5
107032 sed 's/^/| /' conftest.$ac_ext >&5
107034 ac_cv_lib_m_main=no
107036 rm -f conftest.err conftest.$ac_objext \
107037 conftest$ac_exeext conftest.$ac_ext
107038 LIBS=$ac_check_lib_save_LIBS
107040 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107041 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107042 if test $ac_cv_lib_m_main = yes; then
107043 cat >>confdefs.h <<_ACEOF
107044 #define HAVE_LIBM 1
107045 _ACEOF
107047 LIBS="-lm $LIBS"
107052 for ac_func in copysignf
107054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107055 echo "$as_me:$LINENO: checking for $ac_func" >&5
107056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107057 if eval "test \"\${$as_ac_var+set}\" = set"; then
107058 echo $ECHO_N "(cached) $ECHO_C" >&6
107060 if test x$gcc_no_link = xyes; then
107061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107063 { (exit 1); exit 1; }; }
107065 cat >conftest.$ac_ext <<_ACEOF
107066 /* confdefs.h. */
107067 _ACEOF
107068 cat confdefs.h >>conftest.$ac_ext
107069 cat >>conftest.$ac_ext <<_ACEOF
107070 /* end confdefs.h. */
107071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107073 #define $ac_func innocuous_$ac_func
107075 /* System header to define __stub macros and hopefully few prototypes,
107076 which can conflict with char $ac_func (); below.
107077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107078 <limits.h> exists even on freestanding compilers. */
107080 #ifdef __STDC__
107081 # include <limits.h>
107082 #else
107083 # include <assert.h>
107084 #endif
107086 #undef $ac_func
107088 /* Override any gcc2 internal prototype to avoid an error. */
107089 #ifdef __cplusplus
107090 extern "C"
107092 #endif
107093 /* We use char because int might match the return type of a gcc2
107094 builtin and then its argument prototype would still apply. */
107095 char $ac_func ();
107096 /* The GNU C library defines this for functions which it implements
107097 to always fail with ENOSYS. Some functions are actually named
107098 something starting with __ and the normal name is an alias. */
107099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107100 choke me
107101 #else
107102 char (*f) () = $ac_func;
107103 #endif
107104 #ifdef __cplusplus
107106 #endif
107109 main ()
107111 return f != $ac_func;
107113 return 0;
107115 _ACEOF
107116 rm -f conftest.$ac_objext conftest$ac_exeext
107117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107118 (eval $ac_link) 2>conftest.er1
107119 ac_status=$?
107120 grep -v '^ *+' conftest.er1 >conftest.err
107121 rm -f conftest.er1
107122 cat conftest.err >&5
107123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107124 (exit $ac_status); } &&
107125 { ac_try='test -z "$ac_c_werror_flag"
107126 || test ! -s conftest.err'
107127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107128 (eval $ac_try) 2>&5
107129 ac_status=$?
107130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107131 (exit $ac_status); }; } &&
107132 { ac_try='test -s conftest$ac_exeext'
107133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107134 (eval $ac_try) 2>&5
107135 ac_status=$?
107136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107137 (exit $ac_status); }; }; then
107138 eval "$as_ac_var=yes"
107140 echo "$as_me: failed program was:" >&5
107141 sed 's/^/| /' conftest.$ac_ext >&5
107143 eval "$as_ac_var=no"
107145 rm -f conftest.err conftest.$ac_objext \
107146 conftest$ac_exeext conftest.$ac_ext
107148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107150 if test `eval echo '${'$as_ac_var'}'` = yes; then
107151 cat >>confdefs.h <<_ACEOF
107152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107153 _ACEOF
107156 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107162 for ac_func in __signbit
107164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107165 echo "$as_me:$LINENO: checking for $ac_func" >&5
107166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107167 if eval "test \"\${$as_ac_var+set}\" = set"; then
107168 echo $ECHO_N "(cached) $ECHO_C" >&6
107170 if test x$gcc_no_link = xyes; then
107171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107173 { (exit 1); exit 1; }; }
107175 cat >conftest.$ac_ext <<_ACEOF
107176 /* confdefs.h. */
107177 _ACEOF
107178 cat confdefs.h >>conftest.$ac_ext
107179 cat >>conftest.$ac_ext <<_ACEOF
107180 /* end confdefs.h. */
107181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107183 #define $ac_func innocuous_$ac_func
107185 /* System header to define __stub macros and hopefully few prototypes,
107186 which can conflict with char $ac_func (); below.
107187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107188 <limits.h> exists even on freestanding compilers. */
107190 #ifdef __STDC__
107191 # include <limits.h>
107192 #else
107193 # include <assert.h>
107194 #endif
107196 #undef $ac_func
107198 /* Override any gcc2 internal prototype to avoid an error. */
107199 #ifdef __cplusplus
107200 extern "C"
107202 #endif
107203 /* We use char because int might match the return type of a gcc2
107204 builtin and then its argument prototype would still apply. */
107205 char $ac_func ();
107206 /* The GNU C library defines this for functions which it implements
107207 to always fail with ENOSYS. Some functions are actually named
107208 something starting with __ and the normal name is an alias. */
107209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107210 choke me
107211 #else
107212 char (*f) () = $ac_func;
107213 #endif
107214 #ifdef __cplusplus
107216 #endif
107219 main ()
107221 return f != $ac_func;
107223 return 0;
107225 _ACEOF
107226 rm -f conftest.$ac_objext conftest$ac_exeext
107227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107228 (eval $ac_link) 2>conftest.er1
107229 ac_status=$?
107230 grep -v '^ *+' conftest.er1 >conftest.err
107231 rm -f conftest.er1
107232 cat conftest.err >&5
107233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107234 (exit $ac_status); } &&
107235 { ac_try='test -z "$ac_c_werror_flag"
107236 || test ! -s conftest.err'
107237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107238 (eval $ac_try) 2>&5
107239 ac_status=$?
107240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107241 (exit $ac_status); }; } &&
107242 { ac_try='test -s conftest$ac_exeext'
107243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107244 (eval $ac_try) 2>&5
107245 ac_status=$?
107246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107247 (exit $ac_status); }; }; then
107248 eval "$as_ac_var=yes"
107250 echo "$as_me: failed program was:" >&5
107251 sed 's/^/| /' conftest.$ac_ext >&5
107253 eval "$as_ac_var=no"
107255 rm -f conftest.err conftest.$ac_objext \
107256 conftest$ac_exeext conftest.$ac_ext
107258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107260 if test `eval echo '${'$as_ac_var'}'` = yes; then
107261 cat >>confdefs.h <<_ACEOF
107262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107263 _ACEOF
107266 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107272 for ac_func in __signbitf
107274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107275 echo "$as_me:$LINENO: checking for $ac_func" >&5
107276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107277 if eval "test \"\${$as_ac_var+set}\" = set"; then
107278 echo $ECHO_N "(cached) $ECHO_C" >&6
107280 if test x$gcc_no_link = xyes; then
107281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107283 { (exit 1); exit 1; }; }
107285 cat >conftest.$ac_ext <<_ACEOF
107286 /* confdefs.h. */
107287 _ACEOF
107288 cat confdefs.h >>conftest.$ac_ext
107289 cat >>conftest.$ac_ext <<_ACEOF
107290 /* end confdefs.h. */
107291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107293 #define $ac_func innocuous_$ac_func
107295 /* System header to define __stub macros and hopefully few prototypes,
107296 which can conflict with char $ac_func (); below.
107297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107298 <limits.h> exists even on freestanding compilers. */
107300 #ifdef __STDC__
107301 # include <limits.h>
107302 #else
107303 # include <assert.h>
107304 #endif
107306 #undef $ac_func
107308 /* Override any gcc2 internal prototype to avoid an error. */
107309 #ifdef __cplusplus
107310 extern "C"
107312 #endif
107313 /* We use char because int might match the return type of a gcc2
107314 builtin and then its argument prototype would still apply. */
107315 char $ac_func ();
107316 /* The GNU C library defines this for functions which it implements
107317 to always fail with ENOSYS. Some functions are actually named
107318 something starting with __ and the normal name is an alias. */
107319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107320 choke me
107321 #else
107322 char (*f) () = $ac_func;
107323 #endif
107324 #ifdef __cplusplus
107326 #endif
107329 main ()
107331 return f != $ac_func;
107333 return 0;
107335 _ACEOF
107336 rm -f conftest.$ac_objext conftest$ac_exeext
107337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107338 (eval $ac_link) 2>conftest.er1
107339 ac_status=$?
107340 grep -v '^ *+' conftest.er1 >conftest.err
107341 rm -f conftest.er1
107342 cat conftest.err >&5
107343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107344 (exit $ac_status); } &&
107345 { ac_try='test -z "$ac_c_werror_flag"
107346 || test ! -s conftest.err'
107347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107348 (eval $ac_try) 2>&5
107349 ac_status=$?
107350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107351 (exit $ac_status); }; } &&
107352 { ac_try='test -s conftest$ac_exeext'
107353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107354 (eval $ac_try) 2>&5
107355 ac_status=$?
107356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107357 (exit $ac_status); }; }; then
107358 eval "$as_ac_var=yes"
107360 echo "$as_me: failed program was:" >&5
107361 sed 's/^/| /' conftest.$ac_ext >&5
107363 eval "$as_ac_var=no"
107365 rm -f conftest.err conftest.$ac_objext \
107366 conftest$ac_exeext conftest.$ac_ext
107368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107370 if test `eval echo '${'$as_ac_var'}'` = yes; then
107371 cat >>confdefs.h <<_ACEOF
107372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107373 _ACEOF
107376 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107381 if test x$ac_cv_func_copysignl = x"yes"; then
107383 for ac_func in __signbitl
107385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107386 echo "$as_me:$LINENO: checking for $ac_func" >&5
107387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107388 if eval "test \"\${$as_ac_var+set}\" = set"; then
107389 echo $ECHO_N "(cached) $ECHO_C" >&6
107391 if test x$gcc_no_link = xyes; then
107392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107394 { (exit 1); exit 1; }; }
107396 cat >conftest.$ac_ext <<_ACEOF
107397 /* confdefs.h. */
107398 _ACEOF
107399 cat confdefs.h >>conftest.$ac_ext
107400 cat >>conftest.$ac_ext <<_ACEOF
107401 /* end confdefs.h. */
107402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107404 #define $ac_func innocuous_$ac_func
107406 /* System header to define __stub macros and hopefully few prototypes,
107407 which can conflict with char $ac_func (); below.
107408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107409 <limits.h> exists even on freestanding compilers. */
107411 #ifdef __STDC__
107412 # include <limits.h>
107413 #else
107414 # include <assert.h>
107415 #endif
107417 #undef $ac_func
107419 /* Override any gcc2 internal prototype to avoid an error. */
107420 #ifdef __cplusplus
107421 extern "C"
107423 #endif
107424 /* We use char because int might match the return type of a gcc2
107425 builtin and then its argument prototype would still apply. */
107426 char $ac_func ();
107427 /* The GNU C library defines this for functions which it implements
107428 to always fail with ENOSYS. Some functions are actually named
107429 something starting with __ and the normal name is an alias. */
107430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107431 choke me
107432 #else
107433 char (*f) () = $ac_func;
107434 #endif
107435 #ifdef __cplusplus
107437 #endif
107440 main ()
107442 return f != $ac_func;
107444 return 0;
107446 _ACEOF
107447 rm -f conftest.$ac_objext conftest$ac_exeext
107448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107449 (eval $ac_link) 2>conftest.er1
107450 ac_status=$?
107451 grep -v '^ *+' conftest.er1 >conftest.err
107452 rm -f conftest.er1
107453 cat conftest.err >&5
107454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107455 (exit $ac_status); } &&
107456 { ac_try='test -z "$ac_c_werror_flag"
107457 || test ! -s conftest.err'
107458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107459 (eval $ac_try) 2>&5
107460 ac_status=$?
107461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107462 (exit $ac_status); }; } &&
107463 { ac_try='test -s conftest$ac_exeext'
107464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107465 (eval $ac_try) 2>&5
107466 ac_status=$?
107467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107468 (exit $ac_status); }; }; then
107469 eval "$as_ac_var=yes"
107471 echo "$as_me: failed program was:" >&5
107472 sed 's/^/| /' conftest.$ac_ext >&5
107474 eval "$as_ac_var=no"
107476 rm -f conftest.err conftest.$ac_objext \
107477 conftest$ac_exeext conftest.$ac_ext
107479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107481 if test `eval echo '${'$as_ac_var'}'` = yes; then
107482 cat >>confdefs.h <<_ACEOF
107483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107484 _ACEOF
107487 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107493 # Used in libmath/Makefile.am.
107494 if test -n "$LIBMATHOBJS"; then
107495 need_libmath=yes
107500 ac_test_CXXFLAGS="${CXXFLAGS+set}"
107501 ac_save_CXXFLAGS="$CXXFLAGS"
107502 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
107505 echo "$as_me:$LINENO: checking for strtold declaration" >&5
107506 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
107507 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
107508 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
107509 echo $ECHO_N "(cached) $ECHO_C" >&6
107514 ac_ext=cc
107515 ac_cpp='$CXXCPP $CPPFLAGS'
107516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107520 cat >conftest.$ac_ext <<_ACEOF
107521 /* confdefs.h. */
107522 _ACEOF
107523 cat confdefs.h >>conftest.$ac_ext
107524 cat >>conftest.$ac_ext <<_ACEOF
107525 /* end confdefs.h. */
107526 #include <stdlib.h>
107528 main ()
107530 strtold(0, 0);
107532 return 0;
107534 _ACEOF
107535 rm -f conftest.$ac_objext
107536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107537 (eval $ac_compile) 2>conftest.er1
107538 ac_status=$?
107539 grep -v '^ *+' conftest.er1 >conftest.err
107540 rm -f conftest.er1
107541 cat conftest.err >&5
107542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107543 (exit $ac_status); } &&
107544 { ac_try='test -z "$ac_cxx_werror_flag"
107545 || test ! -s conftest.err'
107546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107547 (eval $ac_try) 2>&5
107548 ac_status=$?
107549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107550 (exit $ac_status); }; } &&
107551 { ac_try='test -s conftest.$ac_objext'
107552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107553 (eval $ac_try) 2>&5
107554 ac_status=$?
107555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107556 (exit $ac_status); }; }; then
107557 glibcxx_cv_func_strtold_use=yes
107559 echo "$as_me: failed program was:" >&5
107560 sed 's/^/| /' conftest.$ac_ext >&5
107562 glibcxx_cv_func_strtold_use=no
107564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107565 ac_ext=c
107566 ac_cpp='$CPP $CPPFLAGS'
107567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107575 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
107576 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
107577 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
107579 for ac_func in strtold
107581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107582 echo "$as_me:$LINENO: checking for $ac_func" >&5
107583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107584 if eval "test \"\${$as_ac_var+set}\" = set"; then
107585 echo $ECHO_N "(cached) $ECHO_C" >&6
107587 if test x$gcc_no_link = xyes; then
107588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107590 { (exit 1); exit 1; }; }
107592 cat >conftest.$ac_ext <<_ACEOF
107593 /* confdefs.h. */
107594 _ACEOF
107595 cat confdefs.h >>conftest.$ac_ext
107596 cat >>conftest.$ac_ext <<_ACEOF
107597 /* end confdefs.h. */
107598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107600 #define $ac_func innocuous_$ac_func
107602 /* System header to define __stub macros and hopefully few prototypes,
107603 which can conflict with char $ac_func (); below.
107604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107605 <limits.h> exists even on freestanding compilers. */
107607 #ifdef __STDC__
107608 # include <limits.h>
107609 #else
107610 # include <assert.h>
107611 #endif
107613 #undef $ac_func
107615 /* Override any gcc2 internal prototype to avoid an error. */
107616 #ifdef __cplusplus
107617 extern "C"
107619 #endif
107620 /* We use char because int might match the return type of a gcc2
107621 builtin and then its argument prototype would still apply. */
107622 char $ac_func ();
107623 /* The GNU C library defines this for functions which it implements
107624 to always fail with ENOSYS. Some functions are actually named
107625 something starting with __ and the normal name is an alias. */
107626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107627 choke me
107628 #else
107629 char (*f) () = $ac_func;
107630 #endif
107631 #ifdef __cplusplus
107633 #endif
107636 main ()
107638 return f != $ac_func;
107640 return 0;
107642 _ACEOF
107643 rm -f conftest.$ac_objext conftest$ac_exeext
107644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107645 (eval $ac_link) 2>conftest.er1
107646 ac_status=$?
107647 grep -v '^ *+' conftest.er1 >conftest.err
107648 rm -f conftest.er1
107649 cat conftest.err >&5
107650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107651 (exit $ac_status); } &&
107652 { ac_try='test -z "$ac_c_werror_flag"
107653 || test ! -s conftest.err'
107654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107655 (eval $ac_try) 2>&5
107656 ac_status=$?
107657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107658 (exit $ac_status); }; } &&
107659 { ac_try='test -s conftest$ac_exeext'
107660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107661 (eval $ac_try) 2>&5
107662 ac_status=$?
107663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107664 (exit $ac_status); }; }; then
107665 eval "$as_ac_var=yes"
107667 echo "$as_me: failed program was:" >&5
107668 sed 's/^/| /' conftest.$ac_ext >&5
107670 eval "$as_ac_var=no"
107672 rm -f conftest.err conftest.$ac_objext \
107673 conftest$ac_exeext conftest.$ac_ext
107675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107677 if test `eval echo '${'$as_ac_var'}'` = yes; then
107678 cat >>confdefs.h <<_ACEOF
107679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107680 _ACEOF
107691 echo "$as_me:$LINENO: checking for strtof declaration" >&5
107692 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
107693 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
107694 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
107695 echo $ECHO_N "(cached) $ECHO_C" >&6
107700 ac_ext=cc
107701 ac_cpp='$CXXCPP $CPPFLAGS'
107702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107706 cat >conftest.$ac_ext <<_ACEOF
107707 /* confdefs.h. */
107708 _ACEOF
107709 cat confdefs.h >>conftest.$ac_ext
107710 cat >>conftest.$ac_ext <<_ACEOF
107711 /* end confdefs.h. */
107712 #include <stdlib.h>
107714 main ()
107716 strtof(0, 0);
107718 return 0;
107720 _ACEOF
107721 rm -f conftest.$ac_objext
107722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107723 (eval $ac_compile) 2>conftest.er1
107724 ac_status=$?
107725 grep -v '^ *+' conftest.er1 >conftest.err
107726 rm -f conftest.er1
107727 cat conftest.err >&5
107728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107729 (exit $ac_status); } &&
107730 { ac_try='test -z "$ac_cxx_werror_flag"
107731 || test ! -s conftest.err'
107732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107733 (eval $ac_try) 2>&5
107734 ac_status=$?
107735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107736 (exit $ac_status); }; } &&
107737 { ac_try='test -s conftest.$ac_objext'
107738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107739 (eval $ac_try) 2>&5
107740 ac_status=$?
107741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107742 (exit $ac_status); }; }; then
107743 glibcxx_cv_func_strtof_use=yes
107745 echo "$as_me: failed program was:" >&5
107746 sed 's/^/| /' conftest.$ac_ext >&5
107748 glibcxx_cv_func_strtof_use=no
107750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107751 ac_ext=c
107752 ac_cpp='$CPP $CPPFLAGS'
107753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107761 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
107762 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
107763 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
107765 for ac_func in strtof
107767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107768 echo "$as_me:$LINENO: checking for $ac_func" >&5
107769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107770 if eval "test \"\${$as_ac_var+set}\" = set"; then
107771 echo $ECHO_N "(cached) $ECHO_C" >&6
107773 if test x$gcc_no_link = xyes; then
107774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107776 { (exit 1); exit 1; }; }
107778 cat >conftest.$ac_ext <<_ACEOF
107779 /* confdefs.h. */
107780 _ACEOF
107781 cat confdefs.h >>conftest.$ac_ext
107782 cat >>conftest.$ac_ext <<_ACEOF
107783 /* end confdefs.h. */
107784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107786 #define $ac_func innocuous_$ac_func
107788 /* System header to define __stub macros and hopefully few prototypes,
107789 which can conflict with char $ac_func (); below.
107790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107791 <limits.h> exists even on freestanding compilers. */
107793 #ifdef __STDC__
107794 # include <limits.h>
107795 #else
107796 # include <assert.h>
107797 #endif
107799 #undef $ac_func
107801 /* Override any gcc2 internal prototype to avoid an error. */
107802 #ifdef __cplusplus
107803 extern "C"
107805 #endif
107806 /* We use char because int might match the return type of a gcc2
107807 builtin and then its argument prototype would still apply. */
107808 char $ac_func ();
107809 /* The GNU C library defines this for functions which it implements
107810 to always fail with ENOSYS. Some functions are actually named
107811 something starting with __ and the normal name is an alias. */
107812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107813 choke me
107814 #else
107815 char (*f) () = $ac_func;
107816 #endif
107817 #ifdef __cplusplus
107819 #endif
107822 main ()
107824 return f != $ac_func;
107826 return 0;
107828 _ACEOF
107829 rm -f conftest.$ac_objext conftest$ac_exeext
107830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107831 (eval $ac_link) 2>conftest.er1
107832 ac_status=$?
107833 grep -v '^ *+' conftest.er1 >conftest.err
107834 rm -f conftest.er1
107835 cat conftest.err >&5
107836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107837 (exit $ac_status); } &&
107838 { ac_try='test -z "$ac_c_werror_flag"
107839 || test ! -s conftest.err'
107840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107841 (eval $ac_try) 2>&5
107842 ac_status=$?
107843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107844 (exit $ac_status); }; } &&
107845 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
107851 eval "$as_ac_var=yes"
107853 echo "$as_me: failed program was:" >&5
107854 sed 's/^/| /' conftest.$ac_ext >&5
107856 eval "$as_ac_var=no"
107858 rm -f conftest.err conftest.$ac_objext \
107859 conftest$ac_exeext conftest.$ac_ext
107861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107863 if test `eval echo '${'$as_ac_var'}'` = yes; then
107864 cat >>confdefs.h <<_ACEOF
107865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107866 _ACEOF
107877 CXXFLAGS="$ac_save_CXXFLAGS"
107880 # For LFS.
107881 cat >>confdefs.h <<\_ACEOF
107882 #define HAVE_INT64_T 1
107883 _ACEOF
107888 ac_ext=cc
107889 ac_cpp='$CXXCPP $CPPFLAGS'
107890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107894 ac_save_CXXFLAGS="$CXXFLAGS"
107895 CXXFLAGS="$CXXFLAGS -fno-exceptions"
107896 echo "$as_me:$LINENO: checking for LFS support" >&5
107897 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
107898 if test "${glibcxx_cv_LFS+set}" = set; then
107899 echo $ECHO_N "(cached) $ECHO_C" >&6
107902 if test x$gcc_no_link = xyes; then
107903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107905 { (exit 1); exit 1; }; }
107907 cat >conftest.$ac_ext <<_ACEOF
107908 /* confdefs.h. */
107909 _ACEOF
107910 cat confdefs.h >>conftest.$ac_ext
107911 cat >>conftest.$ac_ext <<_ACEOF
107912 /* end confdefs.h. */
107913 #include <unistd.h>
107914 #include <stdio.h>
107915 #include <sys/stat.h>
107918 main ()
107920 FILE* fp;
107921 fopen64("t", "w");
107922 fseeko64(fp, 0, SEEK_CUR);
107923 ftello64(fp);
107924 lseek64(1, 0, SEEK_CUR);
107925 struct stat64 buf;
107926 fstat64(1, &buf);
107928 return 0;
107930 _ACEOF
107931 rm -f conftest.$ac_objext conftest$ac_exeext
107932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107933 (eval $ac_link) 2>conftest.er1
107934 ac_status=$?
107935 grep -v '^ *+' conftest.er1 >conftest.err
107936 rm -f conftest.er1
107937 cat conftest.err >&5
107938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107939 (exit $ac_status); } &&
107940 { ac_try='test -z "$ac_cxx_werror_flag"
107941 || test ! -s conftest.err'
107942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107943 (eval $ac_try) 2>&5
107944 ac_status=$?
107945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107946 (exit $ac_status); }; } &&
107947 { ac_try='test -s conftest$ac_exeext'
107948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107949 (eval $ac_try) 2>&5
107950 ac_status=$?
107951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107952 (exit $ac_status); }; }; then
107953 glibcxx_cv_LFS=yes
107955 echo "$as_me: failed program was:" >&5
107956 sed 's/^/| /' conftest.$ac_ext >&5
107958 glibcxx_cv_LFS=no
107960 rm -f conftest.err conftest.$ac_objext \
107961 conftest$ac_exeext conftest.$ac_ext
107965 if test $glibcxx_cv_LFS = yes; then
107967 cat >>confdefs.h <<\_ACEOF
107968 #define _GLIBCXX_USE_LFS 1
107969 _ACEOF
107972 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
107973 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
107974 CXXFLAGS="$ac_save_CXXFLAGS"
107975 ac_ext=c
107976 ac_cpp='$CPP $CPPFLAGS'
107977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107983 # For showmanyc_helper().
107986 for ac_header in sys/ioctl.h sys/filio.h
107988 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
107989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107990 echo "$as_me:$LINENO: checking for $ac_header" >&5
107991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107993 echo $ECHO_N "(cached) $ECHO_C" >&6
107995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107998 # Is the header compilable?
107999 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108000 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108001 cat >conftest.$ac_ext <<_ACEOF
108002 /* confdefs.h. */
108003 _ACEOF
108004 cat confdefs.h >>conftest.$ac_ext
108005 cat >>conftest.$ac_ext <<_ACEOF
108006 /* end confdefs.h. */
108007 $ac_includes_default
108008 #include <$ac_header>
108009 _ACEOF
108010 rm -f conftest.$ac_objext
108011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108012 (eval $ac_compile) 2>conftest.er1
108013 ac_status=$?
108014 grep -v '^ *+' conftest.er1 >conftest.err
108015 rm -f conftest.er1
108016 cat conftest.err >&5
108017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108018 (exit $ac_status); } &&
108019 { ac_try='test -z "$ac_c_werror_flag"
108020 || test ! -s conftest.err'
108021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108022 (eval $ac_try) 2>&5
108023 ac_status=$?
108024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108025 (exit $ac_status); }; } &&
108026 { ac_try='test -s conftest.$ac_objext'
108027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108028 (eval $ac_try) 2>&5
108029 ac_status=$?
108030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108031 (exit $ac_status); }; }; then
108032 ac_header_compiler=yes
108034 echo "$as_me: failed program was:" >&5
108035 sed 's/^/| /' conftest.$ac_ext >&5
108037 ac_header_compiler=no
108039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108040 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108041 echo "${ECHO_T}$ac_header_compiler" >&6
108043 # Is the header present?
108044 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108045 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108046 cat >conftest.$ac_ext <<_ACEOF
108047 /* confdefs.h. */
108048 _ACEOF
108049 cat confdefs.h >>conftest.$ac_ext
108050 cat >>conftest.$ac_ext <<_ACEOF
108051 /* end confdefs.h. */
108052 #include <$ac_header>
108053 _ACEOF
108054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108055 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108056 ac_status=$?
108057 grep -v '^ *+' conftest.er1 >conftest.err
108058 rm -f conftest.er1
108059 cat conftest.err >&5
108060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108061 (exit $ac_status); } >/dev/null; then
108062 if test -s conftest.err; then
108063 ac_cpp_err=$ac_c_preproc_warn_flag
108064 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108066 ac_cpp_err=
108069 ac_cpp_err=yes
108071 if test -z "$ac_cpp_err"; then
108072 ac_header_preproc=yes
108074 echo "$as_me: failed program was:" >&5
108075 sed 's/^/| /' conftest.$ac_ext >&5
108077 ac_header_preproc=no
108079 rm -f conftest.err conftest.$ac_ext
108080 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108081 echo "${ECHO_T}$ac_header_preproc" >&6
108083 # So? What about this header?
108084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108085 yes:no: )
108086 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108087 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108089 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108090 ac_header_preproc=yes
108092 no:yes:* )
108093 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108094 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108095 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108096 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108097 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108098 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108099 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108100 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108102 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108103 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108104 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108106 cat <<\_ASBOX
108107 ## ----------------------------------------- ##
108108 ## Report this to the package-unused lists. ##
108109 ## ----------------------------------------- ##
108110 _ASBOX
108112 sed "s/^/$as_me: WARNING: /" >&2
108115 echo "$as_me:$LINENO: checking for $ac_header" >&5
108116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108118 echo $ECHO_N "(cached) $ECHO_C" >&6
108120 eval "$as_ac_Header=\$ac_header_preproc"
108122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108126 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108127 cat >>confdefs.h <<_ACEOF
108128 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108129 _ACEOF
108136 echo "$as_me:$LINENO: checking for poll" >&5
108137 echo $ECHO_N "checking for poll... $ECHO_C" >&6
108138 if test "${glibcxx_cv_POLL+set}" = set; then
108139 echo $ECHO_N "(cached) $ECHO_C" >&6
108142 if test x$gcc_no_link = xyes; then
108143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108145 { (exit 1); exit 1; }; }
108147 cat >conftest.$ac_ext <<_ACEOF
108148 /* confdefs.h. */
108149 _ACEOF
108150 cat confdefs.h >>conftest.$ac_ext
108151 cat >>conftest.$ac_ext <<_ACEOF
108152 /* end confdefs.h. */
108153 #include <poll.h>
108155 main ()
108157 struct pollfd pfd[1];
108158 pfd[0].events = POLLIN;
108159 poll(pfd, 1, 0);
108161 return 0;
108163 _ACEOF
108164 rm -f conftest.$ac_objext conftest$ac_exeext
108165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108166 (eval $ac_link) 2>conftest.er1
108167 ac_status=$?
108168 grep -v '^ *+' conftest.er1 >conftest.err
108169 rm -f conftest.er1
108170 cat conftest.err >&5
108171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108172 (exit $ac_status); } &&
108173 { ac_try='test -z "$ac_c_werror_flag"
108174 || test ! -s conftest.err'
108175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108176 (eval $ac_try) 2>&5
108177 ac_status=$?
108178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108179 (exit $ac_status); }; } &&
108180 { ac_try='test -s conftest$ac_exeext'
108181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108182 (eval $ac_try) 2>&5
108183 ac_status=$?
108184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108185 (exit $ac_status); }; }; then
108186 glibcxx_cv_POLL=yes
108188 echo "$as_me: failed program was:" >&5
108189 sed 's/^/| /' conftest.$ac_ext >&5
108191 glibcxx_cv_POLL=no
108193 rm -f conftest.err conftest.$ac_objext \
108194 conftest$ac_exeext conftest.$ac_ext
108198 if test $glibcxx_cv_POLL = yes; then
108200 cat >>confdefs.h <<\_ACEOF
108201 #define HAVE_POLL 1
108202 _ACEOF
108205 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
108206 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
108209 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
108210 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
108211 if test "${glibcxx_cv_S_ISREG+set}" = set; then
108212 echo $ECHO_N "(cached) $ECHO_C" >&6
108215 if test x$gcc_no_link = xyes; then
108216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108218 { (exit 1); exit 1; }; }
108220 cat >conftest.$ac_ext <<_ACEOF
108221 /* confdefs.h. */
108222 _ACEOF
108223 cat confdefs.h >>conftest.$ac_ext
108224 cat >>conftest.$ac_ext <<_ACEOF
108225 /* end confdefs.h. */
108226 #include <sys/stat.h>
108228 main ()
108230 struct stat buffer;
108231 fstat(0, &buffer);
108232 S_ISREG(buffer.st_mode);
108234 return 0;
108236 _ACEOF
108237 rm -f conftest.$ac_objext conftest$ac_exeext
108238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108239 (eval $ac_link) 2>conftest.er1
108240 ac_status=$?
108241 grep -v '^ *+' conftest.er1 >conftest.err
108242 rm -f conftest.er1
108243 cat conftest.err >&5
108244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108245 (exit $ac_status); } &&
108246 { ac_try='test -z "$ac_c_werror_flag"
108247 || test ! -s conftest.err'
108248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108249 (eval $ac_try) 2>&5
108250 ac_status=$?
108251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108252 (exit $ac_status); }; } &&
108253 { ac_try='test -s conftest$ac_exeext'
108254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108255 (eval $ac_try) 2>&5
108256 ac_status=$?
108257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108258 (exit $ac_status); }; }; then
108259 glibcxx_cv_S_ISREG=yes
108261 echo "$as_me: failed program was:" >&5
108262 sed 's/^/| /' conftest.$ac_ext >&5
108264 glibcxx_cv_S_ISREG=no
108266 rm -f conftest.err conftest.$ac_objext \
108267 conftest$ac_exeext conftest.$ac_ext
108271 if test "${glibcxx_cv_S_IFREG+set}" = set; then
108272 echo $ECHO_N "(cached) $ECHO_C" >&6
108275 if test x$gcc_no_link = xyes; then
108276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108278 { (exit 1); exit 1; }; }
108280 cat >conftest.$ac_ext <<_ACEOF
108281 /* confdefs.h. */
108282 _ACEOF
108283 cat confdefs.h >>conftest.$ac_ext
108284 cat >>conftest.$ac_ext <<_ACEOF
108285 /* end confdefs.h. */
108286 #include <sys/stat.h>
108288 main ()
108290 struct stat buffer;
108291 fstat(0, &buffer);
108292 S_IFREG & buffer.st_mode;
108294 return 0;
108296 _ACEOF
108297 rm -f conftest.$ac_objext conftest$ac_exeext
108298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108299 (eval $ac_link) 2>conftest.er1
108300 ac_status=$?
108301 grep -v '^ *+' conftest.er1 >conftest.err
108302 rm -f conftest.er1
108303 cat conftest.err >&5
108304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108305 (exit $ac_status); } &&
108306 { ac_try='test -z "$ac_c_werror_flag"
108307 || test ! -s conftest.err'
108308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108309 (eval $ac_try) 2>&5
108310 ac_status=$?
108311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108312 (exit $ac_status); }; } &&
108313 { ac_try='test -s conftest$ac_exeext'
108314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108315 (eval $ac_try) 2>&5
108316 ac_status=$?
108317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108318 (exit $ac_status); }; }; then
108319 glibcxx_cv_S_IFREG=yes
108321 echo "$as_me: failed program was:" >&5
108322 sed 's/^/| /' conftest.$ac_ext >&5
108324 glibcxx_cv_S_IFREG=no
108326 rm -f conftest.err conftest.$ac_objext \
108327 conftest$ac_exeext conftest.$ac_ext
108331 res=no
108332 if test $glibcxx_cv_S_ISREG = yes; then
108334 cat >>confdefs.h <<\_ACEOF
108335 #define HAVE_S_ISREG 1
108336 _ACEOF
108338 res=S_ISREG
108339 elif test $glibcxx_cv_S_IFREG = yes; then
108341 cat >>confdefs.h <<\_ACEOF
108342 #define HAVE_S_IFREG 1
108343 _ACEOF
108345 res=S_IFREG
108347 echo "$as_me:$LINENO: result: $res" >&5
108348 echo "${ECHO_T}$res" >&6
108351 # For xsputn_2().
108353 for ac_header in sys/uio.h
108355 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108357 echo "$as_me:$LINENO: checking for $ac_header" >&5
108358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108360 echo $ECHO_N "(cached) $ECHO_C" >&6
108362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108365 # Is the header compilable?
108366 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108367 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108368 cat >conftest.$ac_ext <<_ACEOF
108369 /* confdefs.h. */
108370 _ACEOF
108371 cat confdefs.h >>conftest.$ac_ext
108372 cat >>conftest.$ac_ext <<_ACEOF
108373 /* end confdefs.h. */
108374 $ac_includes_default
108375 #include <$ac_header>
108376 _ACEOF
108377 rm -f conftest.$ac_objext
108378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108379 (eval $ac_compile) 2>conftest.er1
108380 ac_status=$?
108381 grep -v '^ *+' conftest.er1 >conftest.err
108382 rm -f conftest.er1
108383 cat conftest.err >&5
108384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108385 (exit $ac_status); } &&
108386 { ac_try='test -z "$ac_c_werror_flag"
108387 || test ! -s conftest.err'
108388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108389 (eval $ac_try) 2>&5
108390 ac_status=$?
108391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108392 (exit $ac_status); }; } &&
108393 { ac_try='test -s conftest.$ac_objext'
108394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108395 (eval $ac_try) 2>&5
108396 ac_status=$?
108397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108398 (exit $ac_status); }; }; then
108399 ac_header_compiler=yes
108401 echo "$as_me: failed program was:" >&5
108402 sed 's/^/| /' conftest.$ac_ext >&5
108404 ac_header_compiler=no
108406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108407 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108408 echo "${ECHO_T}$ac_header_compiler" >&6
108410 # Is the header present?
108411 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108412 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108413 cat >conftest.$ac_ext <<_ACEOF
108414 /* confdefs.h. */
108415 _ACEOF
108416 cat confdefs.h >>conftest.$ac_ext
108417 cat >>conftest.$ac_ext <<_ACEOF
108418 /* end confdefs.h. */
108419 #include <$ac_header>
108420 _ACEOF
108421 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108422 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108423 ac_status=$?
108424 grep -v '^ *+' conftest.er1 >conftest.err
108425 rm -f conftest.er1
108426 cat conftest.err >&5
108427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108428 (exit $ac_status); } >/dev/null; then
108429 if test -s conftest.err; then
108430 ac_cpp_err=$ac_c_preproc_warn_flag
108431 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108433 ac_cpp_err=
108436 ac_cpp_err=yes
108438 if test -z "$ac_cpp_err"; then
108439 ac_header_preproc=yes
108441 echo "$as_me: failed program was:" >&5
108442 sed 's/^/| /' conftest.$ac_ext >&5
108444 ac_header_preproc=no
108446 rm -f conftest.err conftest.$ac_ext
108447 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108448 echo "${ECHO_T}$ac_header_preproc" >&6
108450 # So? What about this header?
108451 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108452 yes:no: )
108453 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108454 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108456 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108457 ac_header_preproc=yes
108459 no:yes:* )
108460 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108461 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108462 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108463 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108464 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108465 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108466 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108467 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108469 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108470 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108471 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108473 cat <<\_ASBOX
108474 ## ----------------------------------------- ##
108475 ## Report this to the package-unused lists. ##
108476 ## ----------------------------------------- ##
108477 _ASBOX
108479 sed "s/^/$as_me: WARNING: /" >&2
108482 echo "$as_me:$LINENO: checking for $ac_header" >&5
108483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108485 echo $ECHO_N "(cached) $ECHO_C" >&6
108487 eval "$as_ac_Header=\$ac_header_preproc"
108489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108494 cat >>confdefs.h <<_ACEOF
108495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108496 _ACEOF
108503 echo "$as_me:$LINENO: checking for writev" >&5
108504 echo $ECHO_N "checking for writev... $ECHO_C" >&6
108505 if test "${glibcxx_cv_WRITEV+set}" = set; then
108506 echo $ECHO_N "(cached) $ECHO_C" >&6
108509 if test x$gcc_no_link = xyes; then
108510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108512 { (exit 1); exit 1; }; }
108514 cat >conftest.$ac_ext <<_ACEOF
108515 /* confdefs.h. */
108516 _ACEOF
108517 cat confdefs.h >>conftest.$ac_ext
108518 cat >>conftest.$ac_ext <<_ACEOF
108519 /* end confdefs.h. */
108520 #include <sys/uio.h>
108522 main ()
108524 struct iovec iov[2];
108525 writev(0, iov, 0);
108527 return 0;
108529 _ACEOF
108530 rm -f conftest.$ac_objext conftest$ac_exeext
108531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108532 (eval $ac_link) 2>conftest.er1
108533 ac_status=$?
108534 grep -v '^ *+' conftest.er1 >conftest.err
108535 rm -f conftest.er1
108536 cat conftest.err >&5
108537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108538 (exit $ac_status); } &&
108539 { ac_try='test -z "$ac_c_werror_flag"
108540 || test ! -s conftest.err'
108541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108542 (eval $ac_try) 2>&5
108543 ac_status=$?
108544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108545 (exit $ac_status); }; } &&
108546 { ac_try='test -s conftest$ac_exeext'
108547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108548 (eval $ac_try) 2>&5
108549 ac_status=$?
108550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108551 (exit $ac_status); }; }; then
108552 glibcxx_cv_WRITEV=yes
108554 echo "$as_me: failed program was:" >&5
108555 sed 's/^/| /' conftest.$ac_ext >&5
108557 glibcxx_cv_WRITEV=no
108559 rm -f conftest.err conftest.$ac_objext \
108560 conftest$ac_exeext conftest.$ac_ext
108564 if test $glibcxx_cv_WRITEV = yes; then
108566 cat >>confdefs.h <<\_ACEOF
108567 #define HAVE_WRITEV 1
108568 _ACEOF
108571 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
108572 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
108575 *-mingw32*)
108579 for ac_header in sys/types.h locale.h float.h
108581 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108583 echo "$as_me:$LINENO: checking for $ac_header" >&5
108584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108586 echo $ECHO_N "(cached) $ECHO_C" >&6
108588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108591 # Is the header compilable?
108592 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108593 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108594 cat >conftest.$ac_ext <<_ACEOF
108595 /* confdefs.h. */
108596 _ACEOF
108597 cat confdefs.h >>conftest.$ac_ext
108598 cat >>conftest.$ac_ext <<_ACEOF
108599 /* end confdefs.h. */
108600 $ac_includes_default
108601 #include <$ac_header>
108602 _ACEOF
108603 rm -f conftest.$ac_objext
108604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108605 (eval $ac_compile) 2>conftest.er1
108606 ac_status=$?
108607 grep -v '^ *+' conftest.er1 >conftest.err
108608 rm -f conftest.er1
108609 cat conftest.err >&5
108610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108611 (exit $ac_status); } &&
108612 { ac_try='test -z "$ac_c_werror_flag"
108613 || test ! -s conftest.err'
108614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108615 (eval $ac_try) 2>&5
108616 ac_status=$?
108617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108618 (exit $ac_status); }; } &&
108619 { ac_try='test -s conftest.$ac_objext'
108620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108621 (eval $ac_try) 2>&5
108622 ac_status=$?
108623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108624 (exit $ac_status); }; }; then
108625 ac_header_compiler=yes
108627 echo "$as_me: failed program was:" >&5
108628 sed 's/^/| /' conftest.$ac_ext >&5
108630 ac_header_compiler=no
108632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108633 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108634 echo "${ECHO_T}$ac_header_compiler" >&6
108636 # Is the header present?
108637 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108638 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108639 cat >conftest.$ac_ext <<_ACEOF
108640 /* confdefs.h. */
108641 _ACEOF
108642 cat confdefs.h >>conftest.$ac_ext
108643 cat >>conftest.$ac_ext <<_ACEOF
108644 /* end confdefs.h. */
108645 #include <$ac_header>
108646 _ACEOF
108647 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108648 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108649 ac_status=$?
108650 grep -v '^ *+' conftest.er1 >conftest.err
108651 rm -f conftest.er1
108652 cat conftest.err >&5
108653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108654 (exit $ac_status); } >/dev/null; then
108655 if test -s conftest.err; then
108656 ac_cpp_err=$ac_c_preproc_warn_flag
108657 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108659 ac_cpp_err=
108662 ac_cpp_err=yes
108664 if test -z "$ac_cpp_err"; then
108665 ac_header_preproc=yes
108667 echo "$as_me: failed program was:" >&5
108668 sed 's/^/| /' conftest.$ac_ext >&5
108670 ac_header_preproc=no
108672 rm -f conftest.err conftest.$ac_ext
108673 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108674 echo "${ECHO_T}$ac_header_preproc" >&6
108676 # So? What about this header?
108677 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108678 yes:no: )
108679 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108680 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108682 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108683 ac_header_preproc=yes
108685 no:yes:* )
108686 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108687 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108688 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108689 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108690 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108691 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108692 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108693 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108694 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108695 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108696 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108697 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108699 cat <<\_ASBOX
108700 ## ----------------------------------------- ##
108701 ## Report this to the package-unused lists. ##
108702 ## ----------------------------------------- ##
108703 _ASBOX
108705 sed "s/^/$as_me: WARNING: /" >&2
108708 echo "$as_me:$LINENO: checking for $ac_header" >&5
108709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108711 echo $ECHO_N "(cached) $ECHO_C" >&6
108713 eval "$as_ac_Header=\$ac_header_preproc"
108715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108716 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108720 cat >>confdefs.h <<_ACEOF
108721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108722 _ACEOF
108729 # If we're not using GNU ld, then there's no point in even trying these
108730 # tests. Check for that first. We should have already tested for gld
108731 # by now (in libtool), but require it now just to be safe...
108732 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
108733 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
108737 # The name set by libtool depends on the version of libtool. Shame on us
108738 # for depending on an impl detail, but c'est la vie. Older versions used
108739 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
108740 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
108741 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
108742 # set (hence we're using an older libtool), then set it.
108743 if test x${with_gnu_ld+set} != xset; then
108744 if test x${ac_cv_prog_gnu_ld+set} != xset; then
108745 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
108746 with_gnu_ld=no
108748 with_gnu_ld=$ac_cv_prog_gnu_ld
108752 # Start by getting the version number. I think the libtool test already
108753 # does some of this, but throws away the result.
108754 if test x"$with_gnu_ld" = x"yes"; then
108755 echo "$as_me:$LINENO: checking for ld version" >&5
108756 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
108758 ldver=`$LD --version 2>/dev/null | head -1 | \
108759 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
108761 glibcxx_gnu_ld_version=`echo $ldver | \
108762 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
108763 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
108764 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
108767 # Set --gc-sections.
108768 glibcxx_gcsections_min_ld=21602
108769 if test x"$with_gnu_ld" = x"yes" &&
108770 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
108772 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
108773 # NB: This flag only works reliably after 2.16.1. Configure tests
108774 # for this are difficult, so hard wire a value that should work.
108776 ac_test_CFLAGS="${CFLAGS+set}"
108777 ac_save_CFLAGS="$CFLAGS"
108778 CFLAGS='-Wl,--gc-sections'
108780 # Check for -Wl,--gc-sections
108781 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
108782 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
108783 if test x$gcc_no_link = xyes; then
108784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108786 { (exit 1); exit 1; }; }
108788 cat >conftest.$ac_ext <<_ACEOF
108789 /* confdefs.h. */
108790 _ACEOF
108791 cat confdefs.h >>conftest.$ac_ext
108792 cat >>conftest.$ac_ext <<_ACEOF
108793 /* end confdefs.h. */
108794 int one(void) { return 1; }
108795 int two(void) { return 2; }
108798 main ()
108800 two();
108802 return 0;
108804 _ACEOF
108805 rm -f conftest.$ac_objext conftest$ac_exeext
108806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108807 (eval $ac_link) 2>conftest.er1
108808 ac_status=$?
108809 grep -v '^ *+' conftest.er1 >conftest.err
108810 rm -f conftest.er1
108811 cat conftest.err >&5
108812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108813 (exit $ac_status); } &&
108814 { ac_try='test -z "$ac_c_werror_flag"
108815 || test ! -s conftest.err'
108816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108817 (eval $ac_try) 2>&5
108818 ac_status=$?
108819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108820 (exit $ac_status); }; } &&
108821 { ac_try='test -s conftest$ac_exeext'
108822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108823 (eval $ac_try) 2>&5
108824 ac_status=$?
108825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108826 (exit $ac_status); }; }; then
108827 ac_gcsections=yes
108829 echo "$as_me: failed program was:" >&5
108830 sed 's/^/| /' conftest.$ac_ext >&5
108832 ac_gcsections=no
108834 rm -f conftest.err conftest.$ac_objext \
108835 conftest$ac_exeext conftest.$ac_ext
108836 if test "$ac_gcsections" = "yes"; then
108837 rm -f conftest.c
108838 touch conftest.c
108839 if $CC -c conftest.c; then
108840 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
108841 grep "Warning: gc-sections option ignored" > /dev/null; then
108842 ac_gcsections=no
108845 rm -f conftest.c conftest.o conftest
108847 if test "$ac_gcsections" = "yes"; then
108848 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
108850 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
108851 echo "${ECHO_T}$ac_gcsections" >&6
108853 if test "$ac_test_CFLAGS" = set; then
108854 CFLAGS="$ac_save_CFLAGS"
108856 # this is the suspicious part
108857 CFLAGS=''
108861 # Set -z,relro.
108862 # Note this is only for shared objects.
108863 ac_ld_relro=no
108864 if test x"$with_gnu_ld" = x"yes"; then
108865 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
108866 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
108867 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
108868 if test -n "$cxx_z_relo"; then
108869 OPT_LDFLAGS="-Wl,-z,relro"
108870 ac_ld_relro=yes
108872 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
108873 echo "${ECHO_T}$ac_ld_relro" >&6
108876 # Set linker optimization flags.
108877 if test x"$with_gnu_ld" = x"yes"; then
108878 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
108886 echo "$as_me:$LINENO: checking for main in -lm" >&5
108887 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
108888 if test "${ac_cv_lib_m_main+set}" = set; then
108889 echo $ECHO_N "(cached) $ECHO_C" >&6
108891 ac_check_lib_save_LIBS=$LIBS
108892 LIBS="-lm $LIBS"
108893 if test x$gcc_no_link = xyes; then
108894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108896 { (exit 1); exit 1; }; }
108898 cat >conftest.$ac_ext <<_ACEOF
108899 /* confdefs.h. */
108900 _ACEOF
108901 cat confdefs.h >>conftest.$ac_ext
108902 cat >>conftest.$ac_ext <<_ACEOF
108903 /* end confdefs.h. */
108907 main ()
108909 main ();
108911 return 0;
108913 _ACEOF
108914 rm -f conftest.$ac_objext conftest$ac_exeext
108915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108916 (eval $ac_link) 2>conftest.er1
108917 ac_status=$?
108918 grep -v '^ *+' conftest.er1 >conftest.err
108919 rm -f conftest.er1
108920 cat conftest.err >&5
108921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108922 (exit $ac_status); } &&
108923 { ac_try='test -z "$ac_c_werror_flag"
108924 || test ! -s conftest.err'
108925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108926 (eval $ac_try) 2>&5
108927 ac_status=$?
108928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108929 (exit $ac_status); }; } &&
108930 { ac_try='test -s conftest$ac_exeext'
108931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108932 (eval $ac_try) 2>&5
108933 ac_status=$?
108934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108935 (exit $ac_status); }; }; then
108936 ac_cv_lib_m_main=yes
108938 echo "$as_me: failed program was:" >&5
108939 sed 's/^/| /' conftest.$ac_ext >&5
108941 ac_cv_lib_m_main=no
108943 rm -f conftest.err conftest.$ac_objext \
108944 conftest$ac_exeext conftest.$ac_ext
108945 LIBS=$ac_check_lib_save_LIBS
108947 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
108948 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
108949 if test $ac_cv_lib_m_main = yes; then
108950 cat >>confdefs.h <<_ACEOF
108951 #define HAVE_LIBM 1
108952 _ACEOF
108954 LIBS="-lm $LIBS"
108959 for ac_func in copysignf
108961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108962 echo "$as_me:$LINENO: checking for $ac_func" >&5
108963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108964 if eval "test \"\${$as_ac_var+set}\" = set"; then
108965 echo $ECHO_N "(cached) $ECHO_C" >&6
108967 if test x$gcc_no_link = xyes; then
108968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108970 { (exit 1); exit 1; }; }
108972 cat >conftest.$ac_ext <<_ACEOF
108973 /* confdefs.h. */
108974 _ACEOF
108975 cat confdefs.h >>conftest.$ac_ext
108976 cat >>conftest.$ac_ext <<_ACEOF
108977 /* end confdefs.h. */
108978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108980 #define $ac_func innocuous_$ac_func
108982 /* System header to define __stub macros and hopefully few prototypes,
108983 which can conflict with char $ac_func (); below.
108984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108985 <limits.h> exists even on freestanding compilers. */
108987 #ifdef __STDC__
108988 # include <limits.h>
108989 #else
108990 # include <assert.h>
108991 #endif
108993 #undef $ac_func
108995 /* Override any gcc2 internal prototype to avoid an error. */
108996 #ifdef __cplusplus
108997 extern "C"
108999 #endif
109000 /* We use char because int might match the return type of a gcc2
109001 builtin and then its argument prototype would still apply. */
109002 char $ac_func ();
109003 /* The GNU C library defines this for functions which it implements
109004 to always fail with ENOSYS. Some functions are actually named
109005 something starting with __ and the normal name is an alias. */
109006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109007 choke me
109008 #else
109009 char (*f) () = $ac_func;
109010 #endif
109011 #ifdef __cplusplus
109013 #endif
109016 main ()
109018 return f != $ac_func;
109020 return 0;
109022 _ACEOF
109023 rm -f conftest.$ac_objext conftest$ac_exeext
109024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109025 (eval $ac_link) 2>conftest.er1
109026 ac_status=$?
109027 grep -v '^ *+' conftest.er1 >conftest.err
109028 rm -f conftest.er1
109029 cat conftest.err >&5
109030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109031 (exit $ac_status); } &&
109032 { ac_try='test -z "$ac_c_werror_flag"
109033 || test ! -s conftest.err'
109034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109035 (eval $ac_try) 2>&5
109036 ac_status=$?
109037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109038 (exit $ac_status); }; } &&
109039 { ac_try='test -s conftest$ac_exeext'
109040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109041 (eval $ac_try) 2>&5
109042 ac_status=$?
109043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109044 (exit $ac_status); }; }; then
109045 eval "$as_ac_var=yes"
109047 echo "$as_me: failed program was:" >&5
109048 sed 's/^/| /' conftest.$ac_ext >&5
109050 eval "$as_ac_var=no"
109052 rm -f conftest.err conftest.$ac_objext \
109053 conftest$ac_exeext conftest.$ac_ext
109055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109057 if test `eval echo '${'$as_ac_var'}'` = yes; then
109058 cat >>confdefs.h <<_ACEOF
109059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109060 _ACEOF
109063 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
109069 for ac_func in __signbit
109071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109072 echo "$as_me:$LINENO: checking for $ac_func" >&5
109073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109074 if eval "test \"\${$as_ac_var+set}\" = set"; then
109075 echo $ECHO_N "(cached) $ECHO_C" >&6
109077 if test x$gcc_no_link = xyes; then
109078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109080 { (exit 1); exit 1; }; }
109082 cat >conftest.$ac_ext <<_ACEOF
109083 /* confdefs.h. */
109084 _ACEOF
109085 cat confdefs.h >>conftest.$ac_ext
109086 cat >>conftest.$ac_ext <<_ACEOF
109087 /* end confdefs.h. */
109088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109090 #define $ac_func innocuous_$ac_func
109092 /* System header to define __stub macros and hopefully few prototypes,
109093 which can conflict with char $ac_func (); below.
109094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109095 <limits.h> exists even on freestanding compilers. */
109097 #ifdef __STDC__
109098 # include <limits.h>
109099 #else
109100 # include <assert.h>
109101 #endif
109103 #undef $ac_func
109105 /* Override any gcc2 internal prototype to avoid an error. */
109106 #ifdef __cplusplus
109107 extern "C"
109109 #endif
109110 /* We use char because int might match the return type of a gcc2
109111 builtin and then its argument prototype would still apply. */
109112 char $ac_func ();
109113 /* The GNU C library defines this for functions which it implements
109114 to always fail with ENOSYS. Some functions are actually named
109115 something starting with __ and the normal name is an alias. */
109116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109117 choke me
109118 #else
109119 char (*f) () = $ac_func;
109120 #endif
109121 #ifdef __cplusplus
109123 #endif
109126 main ()
109128 return f != $ac_func;
109130 return 0;
109132 _ACEOF
109133 rm -f conftest.$ac_objext conftest$ac_exeext
109134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109135 (eval $ac_link) 2>conftest.er1
109136 ac_status=$?
109137 grep -v '^ *+' conftest.er1 >conftest.err
109138 rm -f conftest.er1
109139 cat conftest.err >&5
109140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109141 (exit $ac_status); } &&
109142 { ac_try='test -z "$ac_c_werror_flag"
109143 || test ! -s conftest.err'
109144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109145 (eval $ac_try) 2>&5
109146 ac_status=$?
109147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109148 (exit $ac_status); }; } &&
109149 { ac_try='test -s conftest$ac_exeext'
109150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109151 (eval $ac_try) 2>&5
109152 ac_status=$?
109153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109154 (exit $ac_status); }; }; then
109155 eval "$as_ac_var=yes"
109157 echo "$as_me: failed program was:" >&5
109158 sed 's/^/| /' conftest.$ac_ext >&5
109160 eval "$as_ac_var=no"
109162 rm -f conftest.err conftest.$ac_objext \
109163 conftest$ac_exeext conftest.$ac_ext
109165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109167 if test `eval echo '${'$as_ac_var'}'` = yes; then
109168 cat >>confdefs.h <<_ACEOF
109169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109170 _ACEOF
109173 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
109179 for ac_func in __signbitf
109181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109182 echo "$as_me:$LINENO: checking for $ac_func" >&5
109183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109184 if eval "test \"\${$as_ac_var+set}\" = set"; then
109185 echo $ECHO_N "(cached) $ECHO_C" >&6
109187 if test x$gcc_no_link = xyes; then
109188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109190 { (exit 1); exit 1; }; }
109192 cat >conftest.$ac_ext <<_ACEOF
109193 /* confdefs.h. */
109194 _ACEOF
109195 cat confdefs.h >>conftest.$ac_ext
109196 cat >>conftest.$ac_ext <<_ACEOF
109197 /* end confdefs.h. */
109198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109200 #define $ac_func innocuous_$ac_func
109202 /* System header to define __stub macros and hopefully few prototypes,
109203 which can conflict with char $ac_func (); below.
109204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109205 <limits.h> exists even on freestanding compilers. */
109207 #ifdef __STDC__
109208 # include <limits.h>
109209 #else
109210 # include <assert.h>
109211 #endif
109213 #undef $ac_func
109215 /* Override any gcc2 internal prototype to avoid an error. */
109216 #ifdef __cplusplus
109217 extern "C"
109219 #endif
109220 /* We use char because int might match the return type of a gcc2
109221 builtin and then its argument prototype would still apply. */
109222 char $ac_func ();
109223 /* The GNU C library defines this for functions which it implements
109224 to always fail with ENOSYS. Some functions are actually named
109225 something starting with __ and the normal name is an alias. */
109226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109227 choke me
109228 #else
109229 char (*f) () = $ac_func;
109230 #endif
109231 #ifdef __cplusplus
109233 #endif
109236 main ()
109238 return f != $ac_func;
109240 return 0;
109242 _ACEOF
109243 rm -f conftest.$ac_objext conftest$ac_exeext
109244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109245 (eval $ac_link) 2>conftest.er1
109246 ac_status=$?
109247 grep -v '^ *+' conftest.er1 >conftest.err
109248 rm -f conftest.er1
109249 cat conftest.err >&5
109250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109251 (exit $ac_status); } &&
109252 { ac_try='test -z "$ac_c_werror_flag"
109253 || test ! -s conftest.err'
109254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109255 (eval $ac_try) 2>&5
109256 ac_status=$?
109257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109258 (exit $ac_status); }; } &&
109259 { ac_try='test -s conftest$ac_exeext'
109260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109261 (eval $ac_try) 2>&5
109262 ac_status=$?
109263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109264 (exit $ac_status); }; }; then
109265 eval "$as_ac_var=yes"
109267 echo "$as_me: failed program was:" >&5
109268 sed 's/^/| /' conftest.$ac_ext >&5
109270 eval "$as_ac_var=no"
109272 rm -f conftest.err conftest.$ac_objext \
109273 conftest$ac_exeext conftest.$ac_ext
109275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109277 if test `eval echo '${'$as_ac_var'}'` = yes; then
109278 cat >>confdefs.h <<_ACEOF
109279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109280 _ACEOF
109283 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
109288 if test x$ac_cv_func_copysignl = x"yes"; then
109290 for ac_func in __signbitl
109292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109293 echo "$as_me:$LINENO: checking for $ac_func" >&5
109294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109295 if eval "test \"\${$as_ac_var+set}\" = set"; then
109296 echo $ECHO_N "(cached) $ECHO_C" >&6
109298 if test x$gcc_no_link = xyes; then
109299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109301 { (exit 1); exit 1; }; }
109303 cat >conftest.$ac_ext <<_ACEOF
109304 /* confdefs.h. */
109305 _ACEOF
109306 cat confdefs.h >>conftest.$ac_ext
109307 cat >>conftest.$ac_ext <<_ACEOF
109308 /* end confdefs.h. */
109309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109311 #define $ac_func innocuous_$ac_func
109313 /* System header to define __stub macros and hopefully few prototypes,
109314 which can conflict with char $ac_func (); below.
109315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109316 <limits.h> exists even on freestanding compilers. */
109318 #ifdef __STDC__
109319 # include <limits.h>
109320 #else
109321 # include <assert.h>
109322 #endif
109324 #undef $ac_func
109326 /* Override any gcc2 internal prototype to avoid an error. */
109327 #ifdef __cplusplus
109328 extern "C"
109330 #endif
109331 /* We use char because int might match the return type of a gcc2
109332 builtin and then its argument prototype would still apply. */
109333 char $ac_func ();
109334 /* The GNU C library defines this for functions which it implements
109335 to always fail with ENOSYS. Some functions are actually named
109336 something starting with __ and the normal name is an alias. */
109337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109338 choke me
109339 #else
109340 char (*f) () = $ac_func;
109341 #endif
109342 #ifdef __cplusplus
109344 #endif
109347 main ()
109349 return f != $ac_func;
109351 return 0;
109353 _ACEOF
109354 rm -f conftest.$ac_objext conftest$ac_exeext
109355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109356 (eval $ac_link) 2>conftest.er1
109357 ac_status=$?
109358 grep -v '^ *+' conftest.er1 >conftest.err
109359 rm -f conftest.er1
109360 cat conftest.err >&5
109361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109362 (exit $ac_status); } &&
109363 { ac_try='test -z "$ac_c_werror_flag"
109364 || test ! -s conftest.err'
109365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109366 (eval $ac_try) 2>&5
109367 ac_status=$?
109368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109369 (exit $ac_status); }; } &&
109370 { ac_try='test -s conftest$ac_exeext'
109371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109372 (eval $ac_try) 2>&5
109373 ac_status=$?
109374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109375 (exit $ac_status); }; }; then
109376 eval "$as_ac_var=yes"
109378 echo "$as_me: failed program was:" >&5
109379 sed 's/^/| /' conftest.$ac_ext >&5
109381 eval "$as_ac_var=no"
109383 rm -f conftest.err conftest.$ac_objext \
109384 conftest$ac_exeext conftest.$ac_ext
109386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109388 if test `eval echo '${'$as_ac_var'}'` = yes; then
109389 cat >>confdefs.h <<_ACEOF
109390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109391 _ACEOF
109394 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
109400 # Used in libmath/Makefile.am.
109401 if test -n "$LIBMATHOBJS"; then
109402 need_libmath=yes
109407 *-netbsd*)
109420 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
109421 machine/endian.h machine/param.h sys/machine.h sys/types.h \
109422 fp.h locale.h float.h inttypes.h
109424 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109426 echo "$as_me:$LINENO: checking for $ac_header" >&5
109427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109429 echo $ECHO_N "(cached) $ECHO_C" >&6
109431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109432 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109434 # Is the header compilable?
109435 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109436 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109437 cat >conftest.$ac_ext <<_ACEOF
109438 /* confdefs.h. */
109439 _ACEOF
109440 cat confdefs.h >>conftest.$ac_ext
109441 cat >>conftest.$ac_ext <<_ACEOF
109442 /* end confdefs.h. */
109443 $ac_includes_default
109444 #include <$ac_header>
109445 _ACEOF
109446 rm -f conftest.$ac_objext
109447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109448 (eval $ac_compile) 2>conftest.er1
109449 ac_status=$?
109450 grep -v '^ *+' conftest.er1 >conftest.err
109451 rm -f conftest.er1
109452 cat conftest.err >&5
109453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109454 (exit $ac_status); } &&
109455 { ac_try='test -z "$ac_c_werror_flag"
109456 || test ! -s conftest.err'
109457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109458 (eval $ac_try) 2>&5
109459 ac_status=$?
109460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109461 (exit $ac_status); }; } &&
109462 { ac_try='test -s conftest.$ac_objext'
109463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109464 (eval $ac_try) 2>&5
109465 ac_status=$?
109466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109467 (exit $ac_status); }; }; then
109468 ac_header_compiler=yes
109470 echo "$as_me: failed program was:" >&5
109471 sed 's/^/| /' conftest.$ac_ext >&5
109473 ac_header_compiler=no
109475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109476 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109477 echo "${ECHO_T}$ac_header_compiler" >&6
109479 # Is the header present?
109480 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109481 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109482 cat >conftest.$ac_ext <<_ACEOF
109483 /* confdefs.h. */
109484 _ACEOF
109485 cat confdefs.h >>conftest.$ac_ext
109486 cat >>conftest.$ac_ext <<_ACEOF
109487 /* end confdefs.h. */
109488 #include <$ac_header>
109489 _ACEOF
109490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109491 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109492 ac_status=$?
109493 grep -v '^ *+' conftest.er1 >conftest.err
109494 rm -f conftest.er1
109495 cat conftest.err >&5
109496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109497 (exit $ac_status); } >/dev/null; then
109498 if test -s conftest.err; then
109499 ac_cpp_err=$ac_c_preproc_warn_flag
109500 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109502 ac_cpp_err=
109505 ac_cpp_err=yes
109507 if test -z "$ac_cpp_err"; then
109508 ac_header_preproc=yes
109510 echo "$as_me: failed program was:" >&5
109511 sed 's/^/| /' conftest.$ac_ext >&5
109513 ac_header_preproc=no
109515 rm -f conftest.err conftest.$ac_ext
109516 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109517 echo "${ECHO_T}$ac_header_preproc" >&6
109519 # So? What about this header?
109520 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109521 yes:no: )
109522 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109523 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109525 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109526 ac_header_preproc=yes
109528 no:yes:* )
109529 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109530 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109531 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109532 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109533 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109534 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109535 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109536 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109537 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109538 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109539 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109540 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109542 cat <<\_ASBOX
109543 ## ----------------------------------------- ##
109544 ## Report this to the package-unused lists. ##
109545 ## ----------------------------------------- ##
109546 _ASBOX
109548 sed "s/^/$as_me: WARNING: /" >&2
109551 echo "$as_me:$LINENO: checking for $ac_header" >&5
109552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109554 echo $ECHO_N "(cached) $ECHO_C" >&6
109556 eval "$as_ac_Header=\$ac_header_preproc"
109558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109559 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109562 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109563 cat >>confdefs.h <<_ACEOF
109564 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109565 _ACEOF
109571 SECTION_FLAGS='-ffunction-sections -fdata-sections'
109574 # If we're not using GNU ld, then there's no point in even trying these
109575 # tests. Check for that first. We should have already tested for gld
109576 # by now (in libtool), but require it now just to be safe...
109577 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
109578 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
109582 # The name set by libtool depends on the version of libtool. Shame on us
109583 # for depending on an impl detail, but c'est la vie. Older versions used
109584 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
109585 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
109586 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
109587 # set (hence we're using an older libtool), then set it.
109588 if test x${with_gnu_ld+set} != xset; then
109589 if test x${ac_cv_prog_gnu_ld+set} != xset; then
109590 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
109591 with_gnu_ld=no
109593 with_gnu_ld=$ac_cv_prog_gnu_ld
109597 # Start by getting the version number. I think the libtool test already
109598 # does some of this, but throws away the result.
109599 if test x"$with_gnu_ld" = x"yes"; then
109600 echo "$as_me:$LINENO: checking for ld version" >&5
109601 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
109603 ldver=`$LD --version 2>/dev/null | head -1 | \
109604 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
109606 glibcxx_gnu_ld_version=`echo $ldver | \
109607 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
109608 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
109609 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
109612 # Set --gc-sections.
109613 glibcxx_gcsections_min_ld=21602
109614 if test x"$with_gnu_ld" = x"yes" &&
109615 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
109617 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
109618 # NB: This flag only works reliably after 2.16.1. Configure tests
109619 # for this are difficult, so hard wire a value that should work.
109621 ac_test_CFLAGS="${CFLAGS+set}"
109622 ac_save_CFLAGS="$CFLAGS"
109623 CFLAGS='-Wl,--gc-sections'
109625 # Check for -Wl,--gc-sections
109626 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
109627 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
109628 if test x$gcc_no_link = xyes; then
109629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109631 { (exit 1); exit 1; }; }
109633 cat >conftest.$ac_ext <<_ACEOF
109634 /* confdefs.h. */
109635 _ACEOF
109636 cat confdefs.h >>conftest.$ac_ext
109637 cat >>conftest.$ac_ext <<_ACEOF
109638 /* end confdefs.h. */
109639 int one(void) { return 1; }
109640 int two(void) { return 2; }
109643 main ()
109645 two();
109647 return 0;
109649 _ACEOF
109650 rm -f conftest.$ac_objext conftest$ac_exeext
109651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109652 (eval $ac_link) 2>conftest.er1
109653 ac_status=$?
109654 grep -v '^ *+' conftest.er1 >conftest.err
109655 rm -f conftest.er1
109656 cat conftest.err >&5
109657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109658 (exit $ac_status); } &&
109659 { ac_try='test -z "$ac_c_werror_flag"
109660 || test ! -s conftest.err'
109661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109662 (eval $ac_try) 2>&5
109663 ac_status=$?
109664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109665 (exit $ac_status); }; } &&
109666 { ac_try='test -s conftest$ac_exeext'
109667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109668 (eval $ac_try) 2>&5
109669 ac_status=$?
109670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109671 (exit $ac_status); }; }; then
109672 ac_gcsections=yes
109674 echo "$as_me: failed program was:" >&5
109675 sed 's/^/| /' conftest.$ac_ext >&5
109677 ac_gcsections=no
109679 rm -f conftest.err conftest.$ac_objext \
109680 conftest$ac_exeext conftest.$ac_ext
109681 if test "$ac_gcsections" = "yes"; then
109682 rm -f conftest.c
109683 touch conftest.c
109684 if $CC -c conftest.c; then
109685 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
109686 grep "Warning: gc-sections option ignored" > /dev/null; then
109687 ac_gcsections=no
109690 rm -f conftest.c conftest.o conftest
109692 if test "$ac_gcsections" = "yes"; then
109693 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
109695 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
109696 echo "${ECHO_T}$ac_gcsections" >&6
109698 if test "$ac_test_CFLAGS" = set; then
109699 CFLAGS="$ac_save_CFLAGS"
109701 # this is the suspicious part
109702 CFLAGS=''
109706 # Set -z,relro.
109707 # Note this is only for shared objects.
109708 ac_ld_relro=no
109709 if test x"$with_gnu_ld" = x"yes"; then
109710 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
109711 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
109712 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
109713 if test -n "$cxx_z_relo"; then
109714 OPT_LDFLAGS="-Wl,-z,relro"
109715 ac_ld_relro=yes
109717 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
109718 echo "${ECHO_T}$ac_ld_relro" >&6
109721 # Set linker optimization flags.
109722 if test x"$with_gnu_ld" = x"yes"; then
109723 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
109731 echo "$as_me:$LINENO: checking for main in -lm" >&5
109732 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
109733 if test "${ac_cv_lib_m_main+set}" = set; then
109734 echo $ECHO_N "(cached) $ECHO_C" >&6
109736 ac_check_lib_save_LIBS=$LIBS
109737 LIBS="-lm $LIBS"
109738 if test x$gcc_no_link = xyes; then
109739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109741 { (exit 1); exit 1; }; }
109743 cat >conftest.$ac_ext <<_ACEOF
109744 /* confdefs.h. */
109745 _ACEOF
109746 cat confdefs.h >>conftest.$ac_ext
109747 cat >>conftest.$ac_ext <<_ACEOF
109748 /* end confdefs.h. */
109752 main ()
109754 main ();
109756 return 0;
109758 _ACEOF
109759 rm -f conftest.$ac_objext conftest$ac_exeext
109760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109761 (eval $ac_link) 2>conftest.er1
109762 ac_status=$?
109763 grep -v '^ *+' conftest.er1 >conftest.err
109764 rm -f conftest.er1
109765 cat conftest.err >&5
109766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109767 (exit $ac_status); } &&
109768 { ac_try='test -z "$ac_c_werror_flag"
109769 || test ! -s conftest.err'
109770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109771 (eval $ac_try) 2>&5
109772 ac_status=$?
109773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109774 (exit $ac_status); }; } &&
109775 { ac_try='test -s conftest$ac_exeext'
109776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109777 (eval $ac_try) 2>&5
109778 ac_status=$?
109779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109780 (exit $ac_status); }; }; then
109781 ac_cv_lib_m_main=yes
109783 echo "$as_me: failed program was:" >&5
109784 sed 's/^/| /' conftest.$ac_ext >&5
109786 ac_cv_lib_m_main=no
109788 rm -f conftest.err conftest.$ac_objext \
109789 conftest$ac_exeext conftest.$ac_ext
109790 LIBS=$ac_check_lib_save_LIBS
109792 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
109793 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
109794 if test $ac_cv_lib_m_main = yes; then
109795 cat >>confdefs.h <<_ACEOF
109796 #define HAVE_LIBM 1
109797 _ACEOF
109799 LIBS="-lm $LIBS"
109804 for ac_func in copysignf
109806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109807 echo "$as_me:$LINENO: checking for $ac_func" >&5
109808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109809 if eval "test \"\${$as_ac_var+set}\" = set"; then
109810 echo $ECHO_N "(cached) $ECHO_C" >&6
109812 if test x$gcc_no_link = xyes; then
109813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109815 { (exit 1); exit 1; }; }
109817 cat >conftest.$ac_ext <<_ACEOF
109818 /* confdefs.h. */
109819 _ACEOF
109820 cat confdefs.h >>conftest.$ac_ext
109821 cat >>conftest.$ac_ext <<_ACEOF
109822 /* end confdefs.h. */
109823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109825 #define $ac_func innocuous_$ac_func
109827 /* System header to define __stub macros and hopefully few prototypes,
109828 which can conflict with char $ac_func (); below.
109829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109830 <limits.h> exists even on freestanding compilers. */
109832 #ifdef __STDC__
109833 # include <limits.h>
109834 #else
109835 # include <assert.h>
109836 #endif
109838 #undef $ac_func
109840 /* Override any gcc2 internal prototype to avoid an error. */
109841 #ifdef __cplusplus
109842 extern "C"
109844 #endif
109845 /* We use char because int might match the return type of a gcc2
109846 builtin and then its argument prototype would still apply. */
109847 char $ac_func ();
109848 /* The GNU C library defines this for functions which it implements
109849 to always fail with ENOSYS. Some functions are actually named
109850 something starting with __ and the normal name is an alias. */
109851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109852 choke me
109853 #else
109854 char (*f) () = $ac_func;
109855 #endif
109856 #ifdef __cplusplus
109858 #endif
109861 main ()
109863 return f != $ac_func;
109865 return 0;
109867 _ACEOF
109868 rm -f conftest.$ac_objext conftest$ac_exeext
109869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109870 (eval $ac_link) 2>conftest.er1
109871 ac_status=$?
109872 grep -v '^ *+' conftest.er1 >conftest.err
109873 rm -f conftest.er1
109874 cat conftest.err >&5
109875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109876 (exit $ac_status); } &&
109877 { ac_try='test -z "$ac_c_werror_flag"
109878 || test ! -s conftest.err'
109879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109880 (eval $ac_try) 2>&5
109881 ac_status=$?
109882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109883 (exit $ac_status); }; } &&
109884 { ac_try='test -s conftest$ac_exeext'
109885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109886 (eval $ac_try) 2>&5
109887 ac_status=$?
109888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109889 (exit $ac_status); }; }; then
109890 eval "$as_ac_var=yes"
109892 echo "$as_me: failed program was:" >&5
109893 sed 's/^/| /' conftest.$ac_ext >&5
109895 eval "$as_ac_var=no"
109897 rm -f conftest.err conftest.$ac_objext \
109898 conftest$ac_exeext conftest.$ac_ext
109900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109902 if test `eval echo '${'$as_ac_var'}'` = yes; then
109903 cat >>confdefs.h <<_ACEOF
109904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109905 _ACEOF
109908 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
109914 for ac_func in __signbit
109916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109917 echo "$as_me:$LINENO: checking for $ac_func" >&5
109918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109919 if eval "test \"\${$as_ac_var+set}\" = set"; then
109920 echo $ECHO_N "(cached) $ECHO_C" >&6
109922 if test x$gcc_no_link = xyes; then
109923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109925 { (exit 1); exit 1; }; }
109927 cat >conftest.$ac_ext <<_ACEOF
109928 /* confdefs.h. */
109929 _ACEOF
109930 cat confdefs.h >>conftest.$ac_ext
109931 cat >>conftest.$ac_ext <<_ACEOF
109932 /* end confdefs.h. */
109933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109935 #define $ac_func innocuous_$ac_func
109937 /* System header to define __stub macros and hopefully few prototypes,
109938 which can conflict with char $ac_func (); below.
109939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109940 <limits.h> exists even on freestanding compilers. */
109942 #ifdef __STDC__
109943 # include <limits.h>
109944 #else
109945 # include <assert.h>
109946 #endif
109948 #undef $ac_func
109950 /* Override any gcc2 internal prototype to avoid an error. */
109951 #ifdef __cplusplus
109952 extern "C"
109954 #endif
109955 /* We use char because int might match the return type of a gcc2
109956 builtin and then its argument prototype would still apply. */
109957 char $ac_func ();
109958 /* The GNU C library defines this for functions which it implements
109959 to always fail with ENOSYS. Some functions are actually named
109960 something starting with __ and the normal name is an alias. */
109961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109962 choke me
109963 #else
109964 char (*f) () = $ac_func;
109965 #endif
109966 #ifdef __cplusplus
109968 #endif
109971 main ()
109973 return f != $ac_func;
109975 return 0;
109977 _ACEOF
109978 rm -f conftest.$ac_objext conftest$ac_exeext
109979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109980 (eval $ac_link) 2>conftest.er1
109981 ac_status=$?
109982 grep -v '^ *+' conftest.er1 >conftest.err
109983 rm -f conftest.er1
109984 cat conftest.err >&5
109985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109986 (exit $ac_status); } &&
109987 { ac_try='test -z "$ac_c_werror_flag"
109988 || test ! -s conftest.err'
109989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109990 (eval $ac_try) 2>&5
109991 ac_status=$?
109992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109993 (exit $ac_status); }; } &&
109994 { ac_try='test -s conftest$ac_exeext'
109995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109996 (eval $ac_try) 2>&5
109997 ac_status=$?
109998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109999 (exit $ac_status); }; }; then
110000 eval "$as_ac_var=yes"
110002 echo "$as_me: failed program was:" >&5
110003 sed 's/^/| /' conftest.$ac_ext >&5
110005 eval "$as_ac_var=no"
110007 rm -f conftest.err conftest.$ac_objext \
110008 conftest$ac_exeext conftest.$ac_ext
110010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110012 if test `eval echo '${'$as_ac_var'}'` = yes; then
110013 cat >>confdefs.h <<_ACEOF
110014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110015 _ACEOF
110018 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
110024 for ac_func in __signbitf
110026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110027 echo "$as_me:$LINENO: checking for $ac_func" >&5
110028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110029 if eval "test \"\${$as_ac_var+set}\" = set"; then
110030 echo $ECHO_N "(cached) $ECHO_C" >&6
110032 if test x$gcc_no_link = xyes; then
110033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110035 { (exit 1); exit 1; }; }
110037 cat >conftest.$ac_ext <<_ACEOF
110038 /* confdefs.h. */
110039 _ACEOF
110040 cat confdefs.h >>conftest.$ac_ext
110041 cat >>conftest.$ac_ext <<_ACEOF
110042 /* end confdefs.h. */
110043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110045 #define $ac_func innocuous_$ac_func
110047 /* System header to define __stub macros and hopefully few prototypes,
110048 which can conflict with char $ac_func (); below.
110049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110050 <limits.h> exists even on freestanding compilers. */
110052 #ifdef __STDC__
110053 # include <limits.h>
110054 #else
110055 # include <assert.h>
110056 #endif
110058 #undef $ac_func
110060 /* Override any gcc2 internal prototype to avoid an error. */
110061 #ifdef __cplusplus
110062 extern "C"
110064 #endif
110065 /* We use char because int might match the return type of a gcc2
110066 builtin and then its argument prototype would still apply. */
110067 char $ac_func ();
110068 /* The GNU C library defines this for functions which it implements
110069 to always fail with ENOSYS. Some functions are actually named
110070 something starting with __ and the normal name is an alias. */
110071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110072 choke me
110073 #else
110074 char (*f) () = $ac_func;
110075 #endif
110076 #ifdef __cplusplus
110078 #endif
110081 main ()
110083 return f != $ac_func;
110085 return 0;
110087 _ACEOF
110088 rm -f conftest.$ac_objext conftest$ac_exeext
110089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110090 (eval $ac_link) 2>conftest.er1
110091 ac_status=$?
110092 grep -v '^ *+' conftest.er1 >conftest.err
110093 rm -f conftest.er1
110094 cat conftest.err >&5
110095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110096 (exit $ac_status); } &&
110097 { ac_try='test -z "$ac_c_werror_flag"
110098 || test ! -s conftest.err'
110099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110100 (eval $ac_try) 2>&5
110101 ac_status=$?
110102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110103 (exit $ac_status); }; } &&
110104 { ac_try='test -s conftest$ac_exeext'
110105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110106 (eval $ac_try) 2>&5
110107 ac_status=$?
110108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110109 (exit $ac_status); }; }; then
110110 eval "$as_ac_var=yes"
110112 echo "$as_me: failed program was:" >&5
110113 sed 's/^/| /' conftest.$ac_ext >&5
110115 eval "$as_ac_var=no"
110117 rm -f conftest.err conftest.$ac_objext \
110118 conftest$ac_exeext conftest.$ac_ext
110120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110122 if test `eval echo '${'$as_ac_var'}'` = yes; then
110123 cat >>confdefs.h <<_ACEOF
110124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110125 _ACEOF
110128 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
110133 if test x$ac_cv_func_copysignl = x"yes"; then
110135 for ac_func in __signbitl
110137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110138 echo "$as_me:$LINENO: checking for $ac_func" >&5
110139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110140 if eval "test \"\${$as_ac_var+set}\" = set"; then
110141 echo $ECHO_N "(cached) $ECHO_C" >&6
110143 if test x$gcc_no_link = xyes; then
110144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110146 { (exit 1); exit 1; }; }
110148 cat >conftest.$ac_ext <<_ACEOF
110149 /* confdefs.h. */
110150 _ACEOF
110151 cat confdefs.h >>conftest.$ac_ext
110152 cat >>conftest.$ac_ext <<_ACEOF
110153 /* end confdefs.h. */
110154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110156 #define $ac_func innocuous_$ac_func
110158 /* System header to define __stub macros and hopefully few prototypes,
110159 which can conflict with char $ac_func (); below.
110160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110161 <limits.h> exists even on freestanding compilers. */
110163 #ifdef __STDC__
110164 # include <limits.h>
110165 #else
110166 # include <assert.h>
110167 #endif
110169 #undef $ac_func
110171 /* Override any gcc2 internal prototype to avoid an error. */
110172 #ifdef __cplusplus
110173 extern "C"
110175 #endif
110176 /* We use char because int might match the return type of a gcc2
110177 builtin and then its argument prototype would still apply. */
110178 char $ac_func ();
110179 /* The GNU C library defines this for functions which it implements
110180 to always fail with ENOSYS. Some functions are actually named
110181 something starting with __ and the normal name is an alias. */
110182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110183 choke me
110184 #else
110185 char (*f) () = $ac_func;
110186 #endif
110187 #ifdef __cplusplus
110189 #endif
110192 main ()
110194 return f != $ac_func;
110196 return 0;
110198 _ACEOF
110199 rm -f conftest.$ac_objext conftest$ac_exeext
110200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110201 (eval $ac_link) 2>conftest.er1
110202 ac_status=$?
110203 grep -v '^ *+' conftest.er1 >conftest.err
110204 rm -f conftest.er1
110205 cat conftest.err >&5
110206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110207 (exit $ac_status); } &&
110208 { ac_try='test -z "$ac_c_werror_flag"
110209 || test ! -s conftest.err'
110210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110211 (eval $ac_try) 2>&5
110212 ac_status=$?
110213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110214 (exit $ac_status); }; } &&
110215 { ac_try='test -s conftest$ac_exeext'
110216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110217 (eval $ac_try) 2>&5
110218 ac_status=$?
110219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110220 (exit $ac_status); }; }; then
110221 eval "$as_ac_var=yes"
110223 echo "$as_me: failed program was:" >&5
110224 sed 's/^/| /' conftest.$ac_ext >&5
110226 eval "$as_ac_var=no"
110228 rm -f conftest.err conftest.$ac_objext \
110229 conftest$ac_exeext conftest.$ac_ext
110231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110233 if test `eval echo '${'$as_ac_var'}'` = yes; then
110234 cat >>confdefs.h <<_ACEOF
110235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110236 _ACEOF
110239 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
110245 # Used in libmath/Makefile.am.
110246 if test -n "$LIBMATHOBJS"; then
110247 need_libmath=yes
110251 cat >>confdefs.h <<\_ACEOF
110252 #define HAVE_COPYSIGN 1
110253 _ACEOF
110255 cat >>confdefs.h <<\_ACEOF
110256 #define HAVE_COPYSIGNF 1
110257 _ACEOF
110259 cat >>confdefs.h <<\_ACEOF
110260 #define HAVE_FINITEF 1
110261 _ACEOF
110263 cat >>confdefs.h <<\_ACEOF
110264 #define HAVE_FINITE 1
110265 _ACEOF
110267 cat >>confdefs.h <<\_ACEOF
110268 #define HAVE_FREXPF 1
110269 _ACEOF
110271 cat >>confdefs.h <<\_ACEOF
110272 #define HAVE_HYPOTF 1
110273 _ACEOF
110275 cat >>confdefs.h <<\_ACEOF
110276 #define HAVE_ISINF 1
110277 _ACEOF
110279 cat >>confdefs.h <<\_ACEOF
110280 #define HAVE_ISINFF 1
110281 _ACEOF
110283 cat >>confdefs.h <<\_ACEOF
110284 #define HAVE_ISNAN 1
110285 _ACEOF
110287 cat >>confdefs.h <<\_ACEOF
110288 #define HAVE_ISNANF 1
110289 _ACEOF
110291 if test x"long_double_math_on_this_cpu" = x"yes"; then
110292 cat >>confdefs.h <<\_ACEOF
110293 #define HAVE_FINITEL 1
110294 _ACEOF
110296 cat >>confdefs.h <<\_ACEOF
110297 #define HAVE_ISINFL 1
110298 _ACEOF
110300 cat >>confdefs.h <<\_ACEOF
110301 #define HAVE_ISNANL 1
110302 _ACEOF
110306 *-netware)
110315 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
110316 sys/types.h locale.h float.h inttypes.h
110318 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110320 echo "$as_me:$LINENO: checking for $ac_header" >&5
110321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110323 echo $ECHO_N "(cached) $ECHO_C" >&6
110325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110328 # Is the header compilable?
110329 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110330 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110331 cat >conftest.$ac_ext <<_ACEOF
110332 /* confdefs.h. */
110333 _ACEOF
110334 cat confdefs.h >>conftest.$ac_ext
110335 cat >>conftest.$ac_ext <<_ACEOF
110336 /* end confdefs.h. */
110337 $ac_includes_default
110338 #include <$ac_header>
110339 _ACEOF
110340 rm -f conftest.$ac_objext
110341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110342 (eval $ac_compile) 2>conftest.er1
110343 ac_status=$?
110344 grep -v '^ *+' conftest.er1 >conftest.err
110345 rm -f conftest.er1
110346 cat conftest.err >&5
110347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110348 (exit $ac_status); } &&
110349 { ac_try='test -z "$ac_c_werror_flag"
110350 || test ! -s conftest.err'
110351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110352 (eval $ac_try) 2>&5
110353 ac_status=$?
110354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110355 (exit $ac_status); }; } &&
110356 { ac_try='test -s conftest.$ac_objext'
110357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110358 (eval $ac_try) 2>&5
110359 ac_status=$?
110360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110361 (exit $ac_status); }; }; then
110362 ac_header_compiler=yes
110364 echo "$as_me: failed program was:" >&5
110365 sed 's/^/| /' conftest.$ac_ext >&5
110367 ac_header_compiler=no
110369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110370 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110371 echo "${ECHO_T}$ac_header_compiler" >&6
110373 # Is the header present?
110374 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110375 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110376 cat >conftest.$ac_ext <<_ACEOF
110377 /* confdefs.h. */
110378 _ACEOF
110379 cat confdefs.h >>conftest.$ac_ext
110380 cat >>conftest.$ac_ext <<_ACEOF
110381 /* end confdefs.h. */
110382 #include <$ac_header>
110383 _ACEOF
110384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110386 ac_status=$?
110387 grep -v '^ *+' conftest.er1 >conftest.err
110388 rm -f conftest.er1
110389 cat conftest.err >&5
110390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110391 (exit $ac_status); } >/dev/null; then
110392 if test -s conftest.err; then
110393 ac_cpp_err=$ac_c_preproc_warn_flag
110394 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110396 ac_cpp_err=
110399 ac_cpp_err=yes
110401 if test -z "$ac_cpp_err"; then
110402 ac_header_preproc=yes
110404 echo "$as_me: failed program was:" >&5
110405 sed 's/^/| /' conftest.$ac_ext >&5
110407 ac_header_preproc=no
110409 rm -f conftest.err conftest.$ac_ext
110410 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110411 echo "${ECHO_T}$ac_header_preproc" >&6
110413 # So? What about this header?
110414 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110415 yes:no: )
110416 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110417 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110419 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110420 ac_header_preproc=yes
110422 no:yes:* )
110423 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110424 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110425 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
110426 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
110427 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110428 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110429 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
110430 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
110431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110432 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110433 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110434 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110436 cat <<\_ASBOX
110437 ## ----------------------------------------- ##
110438 ## Report this to the package-unused lists. ##
110439 ## ----------------------------------------- ##
110440 _ASBOX
110442 sed "s/^/$as_me: WARNING: /" >&2
110445 echo "$as_me:$LINENO: checking for $ac_header" >&5
110446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110448 echo $ECHO_N "(cached) $ECHO_C" >&6
110450 eval "$as_ac_Header=\$ac_header_preproc"
110452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110453 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110457 cat >>confdefs.h <<_ACEOF
110458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110459 _ACEOF
110465 SECTION_FLAGS='-ffunction-sections -fdata-sections'
110468 # If we're not using GNU ld, then there's no point in even trying these
110469 # tests. Check for that first. We should have already tested for gld
110470 # by now (in libtool), but require it now just to be safe...
110471 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110472 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110476 # The name set by libtool depends on the version of libtool. Shame on us
110477 # for depending on an impl detail, but c'est la vie. Older versions used
110478 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110479 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110480 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
110481 # set (hence we're using an older libtool), then set it.
110482 if test x${with_gnu_ld+set} != xset; then
110483 if test x${ac_cv_prog_gnu_ld+set} != xset; then
110484 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
110485 with_gnu_ld=no
110487 with_gnu_ld=$ac_cv_prog_gnu_ld
110491 # Start by getting the version number. I think the libtool test already
110492 # does some of this, but throws away the result.
110493 if test x"$with_gnu_ld" = x"yes"; then
110494 echo "$as_me:$LINENO: checking for ld version" >&5
110495 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110497 ldver=`$LD --version 2>/dev/null | head -1 | \
110498 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
110500 glibcxx_gnu_ld_version=`echo $ldver | \
110501 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110502 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110503 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110506 # Set --gc-sections.
110507 glibcxx_gcsections_min_ld=21602
110508 if test x"$with_gnu_ld" = x"yes" &&
110509 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110511 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
110512 # NB: This flag only works reliably after 2.16.1. Configure tests
110513 # for this are difficult, so hard wire a value that should work.
110515 ac_test_CFLAGS="${CFLAGS+set}"
110516 ac_save_CFLAGS="$CFLAGS"
110517 CFLAGS='-Wl,--gc-sections'
110519 # Check for -Wl,--gc-sections
110520 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110521 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110522 if test x$gcc_no_link = xyes; then
110523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110525 { (exit 1); exit 1; }; }
110527 cat >conftest.$ac_ext <<_ACEOF
110528 /* confdefs.h. */
110529 _ACEOF
110530 cat confdefs.h >>conftest.$ac_ext
110531 cat >>conftest.$ac_ext <<_ACEOF
110532 /* end confdefs.h. */
110533 int one(void) { return 1; }
110534 int two(void) { return 2; }
110537 main ()
110539 two();
110541 return 0;
110543 _ACEOF
110544 rm -f conftest.$ac_objext conftest$ac_exeext
110545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110546 (eval $ac_link) 2>conftest.er1
110547 ac_status=$?
110548 grep -v '^ *+' conftest.er1 >conftest.err
110549 rm -f conftest.er1
110550 cat conftest.err >&5
110551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110552 (exit $ac_status); } &&
110553 { ac_try='test -z "$ac_c_werror_flag"
110554 || test ! -s conftest.err'
110555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110556 (eval $ac_try) 2>&5
110557 ac_status=$?
110558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110559 (exit $ac_status); }; } &&
110560 { ac_try='test -s conftest$ac_exeext'
110561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110562 (eval $ac_try) 2>&5
110563 ac_status=$?
110564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110565 (exit $ac_status); }; }; then
110566 ac_gcsections=yes
110568 echo "$as_me: failed program was:" >&5
110569 sed 's/^/| /' conftest.$ac_ext >&5
110571 ac_gcsections=no
110573 rm -f conftest.err conftest.$ac_objext \
110574 conftest$ac_exeext conftest.$ac_ext
110575 if test "$ac_gcsections" = "yes"; then
110576 rm -f conftest.c
110577 touch conftest.c
110578 if $CC -c conftest.c; then
110579 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110580 grep "Warning: gc-sections option ignored" > /dev/null; then
110581 ac_gcsections=no
110584 rm -f conftest.c conftest.o conftest
110586 if test "$ac_gcsections" = "yes"; then
110587 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110589 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110590 echo "${ECHO_T}$ac_gcsections" >&6
110592 if test "$ac_test_CFLAGS" = set; then
110593 CFLAGS="$ac_save_CFLAGS"
110595 # this is the suspicious part
110596 CFLAGS=''
110600 # Set -z,relro.
110601 # Note this is only for shared objects.
110602 ac_ld_relro=no
110603 if test x"$with_gnu_ld" = x"yes"; then
110604 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110605 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110606 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110607 if test -n "$cxx_z_relo"; then
110608 OPT_LDFLAGS="-Wl,-z,relro"
110609 ac_ld_relro=yes
110611 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110612 echo "${ECHO_T}$ac_ld_relro" >&6
110615 # Set linker optimization flags.
110616 if test x"$with_gnu_ld" = x"yes"; then
110617 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110625 echo "$as_me:$LINENO: checking for main in -lm" >&5
110626 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110627 if test "${ac_cv_lib_m_main+set}" = set; then
110628 echo $ECHO_N "(cached) $ECHO_C" >&6
110630 ac_check_lib_save_LIBS=$LIBS
110631 LIBS="-lm $LIBS"
110632 if test x$gcc_no_link = xyes; then
110633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110635 { (exit 1); exit 1; }; }
110637 cat >conftest.$ac_ext <<_ACEOF
110638 /* confdefs.h. */
110639 _ACEOF
110640 cat confdefs.h >>conftest.$ac_ext
110641 cat >>conftest.$ac_ext <<_ACEOF
110642 /* end confdefs.h. */
110646 main ()
110648 main ();
110650 return 0;
110652 _ACEOF
110653 rm -f conftest.$ac_objext conftest$ac_exeext
110654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110655 (eval $ac_link) 2>conftest.er1
110656 ac_status=$?
110657 grep -v '^ *+' conftest.er1 >conftest.err
110658 rm -f conftest.er1
110659 cat conftest.err >&5
110660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110661 (exit $ac_status); } &&
110662 { ac_try='test -z "$ac_c_werror_flag"
110663 || test ! -s conftest.err'
110664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110665 (eval $ac_try) 2>&5
110666 ac_status=$?
110667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110668 (exit $ac_status); }; } &&
110669 { ac_try='test -s conftest$ac_exeext'
110670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110671 (eval $ac_try) 2>&5
110672 ac_status=$?
110673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110674 (exit $ac_status); }; }; then
110675 ac_cv_lib_m_main=yes
110677 echo "$as_me: failed program was:" >&5
110678 sed 's/^/| /' conftest.$ac_ext >&5
110680 ac_cv_lib_m_main=no
110682 rm -f conftest.err conftest.$ac_objext \
110683 conftest$ac_exeext conftest.$ac_ext
110684 LIBS=$ac_check_lib_save_LIBS
110686 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
110687 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
110688 if test $ac_cv_lib_m_main = yes; then
110689 cat >>confdefs.h <<_ACEOF
110690 #define HAVE_LIBM 1
110691 _ACEOF
110693 LIBS="-lm $LIBS"
110698 for ac_func in copysignf
110700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110701 echo "$as_me:$LINENO: checking for $ac_func" >&5
110702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110703 if eval "test \"\${$as_ac_var+set}\" = set"; then
110704 echo $ECHO_N "(cached) $ECHO_C" >&6
110706 if test x$gcc_no_link = xyes; then
110707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110709 { (exit 1); exit 1; }; }
110711 cat >conftest.$ac_ext <<_ACEOF
110712 /* confdefs.h. */
110713 _ACEOF
110714 cat confdefs.h >>conftest.$ac_ext
110715 cat >>conftest.$ac_ext <<_ACEOF
110716 /* end confdefs.h. */
110717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110719 #define $ac_func innocuous_$ac_func
110721 /* System header to define __stub macros and hopefully few prototypes,
110722 which can conflict with char $ac_func (); below.
110723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110724 <limits.h> exists even on freestanding compilers. */
110726 #ifdef __STDC__
110727 # include <limits.h>
110728 #else
110729 # include <assert.h>
110730 #endif
110732 #undef $ac_func
110734 /* Override any gcc2 internal prototype to avoid an error. */
110735 #ifdef __cplusplus
110736 extern "C"
110738 #endif
110739 /* We use char because int might match the return type of a gcc2
110740 builtin and then its argument prototype would still apply. */
110741 char $ac_func ();
110742 /* The GNU C library defines this for functions which it implements
110743 to always fail with ENOSYS. Some functions are actually named
110744 something starting with __ and the normal name is an alias. */
110745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110746 choke me
110747 #else
110748 char (*f) () = $ac_func;
110749 #endif
110750 #ifdef __cplusplus
110752 #endif
110755 main ()
110757 return f != $ac_func;
110759 return 0;
110761 _ACEOF
110762 rm -f conftest.$ac_objext conftest$ac_exeext
110763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110764 (eval $ac_link) 2>conftest.er1
110765 ac_status=$?
110766 grep -v '^ *+' conftest.er1 >conftest.err
110767 rm -f conftest.er1
110768 cat conftest.err >&5
110769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110770 (exit $ac_status); } &&
110771 { ac_try='test -z "$ac_c_werror_flag"
110772 || test ! -s conftest.err'
110773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110774 (eval $ac_try) 2>&5
110775 ac_status=$?
110776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110777 (exit $ac_status); }; } &&
110778 { ac_try='test -s conftest$ac_exeext'
110779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110780 (eval $ac_try) 2>&5
110781 ac_status=$?
110782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110783 (exit $ac_status); }; }; then
110784 eval "$as_ac_var=yes"
110786 echo "$as_me: failed program was:" >&5
110787 sed 's/^/| /' conftest.$ac_ext >&5
110789 eval "$as_ac_var=no"
110791 rm -f conftest.err conftest.$ac_objext \
110792 conftest$ac_exeext conftest.$ac_ext
110794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110796 if test `eval echo '${'$as_ac_var'}'` = yes; then
110797 cat >>confdefs.h <<_ACEOF
110798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110799 _ACEOF
110802 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
110808 for ac_func in __signbit
110810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110811 echo "$as_me:$LINENO: checking for $ac_func" >&5
110812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110813 if eval "test \"\${$as_ac_var+set}\" = set"; then
110814 echo $ECHO_N "(cached) $ECHO_C" >&6
110816 if test x$gcc_no_link = xyes; then
110817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110819 { (exit 1); exit 1; }; }
110821 cat >conftest.$ac_ext <<_ACEOF
110822 /* confdefs.h. */
110823 _ACEOF
110824 cat confdefs.h >>conftest.$ac_ext
110825 cat >>conftest.$ac_ext <<_ACEOF
110826 /* end confdefs.h. */
110827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110829 #define $ac_func innocuous_$ac_func
110831 /* System header to define __stub macros and hopefully few prototypes,
110832 which can conflict with char $ac_func (); below.
110833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110834 <limits.h> exists even on freestanding compilers. */
110836 #ifdef __STDC__
110837 # include <limits.h>
110838 #else
110839 # include <assert.h>
110840 #endif
110842 #undef $ac_func
110844 /* Override any gcc2 internal prototype to avoid an error. */
110845 #ifdef __cplusplus
110846 extern "C"
110848 #endif
110849 /* We use char because int might match the return type of a gcc2
110850 builtin and then its argument prototype would still apply. */
110851 char $ac_func ();
110852 /* The GNU C library defines this for functions which it implements
110853 to always fail with ENOSYS. Some functions are actually named
110854 something starting with __ and the normal name is an alias. */
110855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110856 choke me
110857 #else
110858 char (*f) () = $ac_func;
110859 #endif
110860 #ifdef __cplusplus
110862 #endif
110865 main ()
110867 return f != $ac_func;
110869 return 0;
110871 _ACEOF
110872 rm -f conftest.$ac_objext conftest$ac_exeext
110873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110874 (eval $ac_link) 2>conftest.er1
110875 ac_status=$?
110876 grep -v '^ *+' conftest.er1 >conftest.err
110877 rm -f conftest.er1
110878 cat conftest.err >&5
110879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110880 (exit $ac_status); } &&
110881 { ac_try='test -z "$ac_c_werror_flag"
110882 || test ! -s conftest.err'
110883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110884 (eval $ac_try) 2>&5
110885 ac_status=$?
110886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110887 (exit $ac_status); }; } &&
110888 { ac_try='test -s conftest$ac_exeext'
110889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110890 (eval $ac_try) 2>&5
110891 ac_status=$?
110892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110893 (exit $ac_status); }; }; then
110894 eval "$as_ac_var=yes"
110896 echo "$as_me: failed program was:" >&5
110897 sed 's/^/| /' conftest.$ac_ext >&5
110899 eval "$as_ac_var=no"
110901 rm -f conftest.err conftest.$ac_objext \
110902 conftest$ac_exeext conftest.$ac_ext
110904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110906 if test `eval echo '${'$as_ac_var'}'` = yes; then
110907 cat >>confdefs.h <<_ACEOF
110908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110909 _ACEOF
110912 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
110918 for ac_func in __signbitf
110920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110921 echo "$as_me:$LINENO: checking for $ac_func" >&5
110922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110923 if eval "test \"\${$as_ac_var+set}\" = set"; then
110924 echo $ECHO_N "(cached) $ECHO_C" >&6
110926 if test x$gcc_no_link = xyes; then
110927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110929 { (exit 1); exit 1; }; }
110931 cat >conftest.$ac_ext <<_ACEOF
110932 /* confdefs.h. */
110933 _ACEOF
110934 cat confdefs.h >>conftest.$ac_ext
110935 cat >>conftest.$ac_ext <<_ACEOF
110936 /* end confdefs.h. */
110937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110939 #define $ac_func innocuous_$ac_func
110941 /* System header to define __stub macros and hopefully few prototypes,
110942 which can conflict with char $ac_func (); below.
110943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110944 <limits.h> exists even on freestanding compilers. */
110946 #ifdef __STDC__
110947 # include <limits.h>
110948 #else
110949 # include <assert.h>
110950 #endif
110952 #undef $ac_func
110954 /* Override any gcc2 internal prototype to avoid an error. */
110955 #ifdef __cplusplus
110956 extern "C"
110958 #endif
110959 /* We use char because int might match the return type of a gcc2
110960 builtin and then its argument prototype would still apply. */
110961 char $ac_func ();
110962 /* The GNU C library defines this for functions which it implements
110963 to always fail with ENOSYS. Some functions are actually named
110964 something starting with __ and the normal name is an alias. */
110965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110966 choke me
110967 #else
110968 char (*f) () = $ac_func;
110969 #endif
110970 #ifdef __cplusplus
110972 #endif
110975 main ()
110977 return f != $ac_func;
110979 return 0;
110981 _ACEOF
110982 rm -f conftest.$ac_objext conftest$ac_exeext
110983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110984 (eval $ac_link) 2>conftest.er1
110985 ac_status=$?
110986 grep -v '^ *+' conftest.er1 >conftest.err
110987 rm -f conftest.er1
110988 cat conftest.err >&5
110989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110990 (exit $ac_status); } &&
110991 { ac_try='test -z "$ac_c_werror_flag"
110992 || test ! -s conftest.err'
110993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110994 (eval $ac_try) 2>&5
110995 ac_status=$?
110996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110997 (exit $ac_status); }; } &&
110998 { ac_try='test -s conftest$ac_exeext'
110999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111000 (eval $ac_try) 2>&5
111001 ac_status=$?
111002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111003 (exit $ac_status); }; }; then
111004 eval "$as_ac_var=yes"
111006 echo "$as_me: failed program was:" >&5
111007 sed 's/^/| /' conftest.$ac_ext >&5
111009 eval "$as_ac_var=no"
111011 rm -f conftest.err conftest.$ac_objext \
111012 conftest$ac_exeext conftest.$ac_ext
111014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111016 if test `eval echo '${'$as_ac_var'}'` = yes; then
111017 cat >>confdefs.h <<_ACEOF
111018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111019 _ACEOF
111022 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
111027 if test x$ac_cv_func_copysignl = x"yes"; then
111029 for ac_func in __signbitl
111031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111032 echo "$as_me:$LINENO: checking for $ac_func" >&5
111033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111034 if eval "test \"\${$as_ac_var+set}\" = set"; then
111035 echo $ECHO_N "(cached) $ECHO_C" >&6
111037 if test x$gcc_no_link = xyes; then
111038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111040 { (exit 1); exit 1; }; }
111042 cat >conftest.$ac_ext <<_ACEOF
111043 /* confdefs.h. */
111044 _ACEOF
111045 cat confdefs.h >>conftest.$ac_ext
111046 cat >>conftest.$ac_ext <<_ACEOF
111047 /* end confdefs.h. */
111048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111050 #define $ac_func innocuous_$ac_func
111052 /* System header to define __stub macros and hopefully few prototypes,
111053 which can conflict with char $ac_func (); below.
111054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111055 <limits.h> exists even on freestanding compilers. */
111057 #ifdef __STDC__
111058 # include <limits.h>
111059 #else
111060 # include <assert.h>
111061 #endif
111063 #undef $ac_func
111065 /* Override any gcc2 internal prototype to avoid an error. */
111066 #ifdef __cplusplus
111067 extern "C"
111069 #endif
111070 /* We use char because int might match the return type of a gcc2
111071 builtin and then its argument prototype would still apply. */
111072 char $ac_func ();
111073 /* The GNU C library defines this for functions which it implements
111074 to always fail with ENOSYS. Some functions are actually named
111075 something starting with __ and the normal name is an alias. */
111076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111077 choke me
111078 #else
111079 char (*f) () = $ac_func;
111080 #endif
111081 #ifdef __cplusplus
111083 #endif
111086 main ()
111088 return f != $ac_func;
111090 return 0;
111092 _ACEOF
111093 rm -f conftest.$ac_objext conftest$ac_exeext
111094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111095 (eval $ac_link) 2>conftest.er1
111096 ac_status=$?
111097 grep -v '^ *+' conftest.er1 >conftest.err
111098 rm -f conftest.er1
111099 cat conftest.err >&5
111100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111101 (exit $ac_status); } &&
111102 { ac_try='test -z "$ac_c_werror_flag"
111103 || test ! -s conftest.err'
111104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111105 (eval $ac_try) 2>&5
111106 ac_status=$?
111107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111108 (exit $ac_status); }; } &&
111109 { ac_try='test -s conftest$ac_exeext'
111110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111111 (eval $ac_try) 2>&5
111112 ac_status=$?
111113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111114 (exit $ac_status); }; }; then
111115 eval "$as_ac_var=yes"
111117 echo "$as_me: failed program was:" >&5
111118 sed 's/^/| /' conftest.$ac_ext >&5
111120 eval "$as_ac_var=no"
111122 rm -f conftest.err conftest.$ac_objext \
111123 conftest$ac_exeext conftest.$ac_ext
111125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111127 if test `eval echo '${'$as_ac_var'}'` = yes; then
111128 cat >>confdefs.h <<_ACEOF
111129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111130 _ACEOF
111133 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111139 # Used in libmath/Makefile.am.
111140 if test -n "$LIBMATHOBJS"; then
111141 need_libmath=yes
111145 cat >>confdefs.h <<\_ACEOF
111146 #define HAVE_HYPOT 1
111147 _ACEOF
111149 cat >>confdefs.h <<\_ACEOF
111150 #define HAVE_ISINF 1
111151 _ACEOF
111153 cat >>confdefs.h <<\_ACEOF
111154 #define HAVE_ISNAN 1
111155 _ACEOF
111158 # For showmanyc_helper().
111161 for ac_header in sys/ioctl.h sys/filio.h
111163 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111165 echo "$as_me:$LINENO: checking for $ac_header" >&5
111166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111168 echo $ECHO_N "(cached) $ECHO_C" >&6
111170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111173 # Is the header compilable?
111174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111176 cat >conftest.$ac_ext <<_ACEOF
111177 /* confdefs.h. */
111178 _ACEOF
111179 cat confdefs.h >>conftest.$ac_ext
111180 cat >>conftest.$ac_ext <<_ACEOF
111181 /* end confdefs.h. */
111182 $ac_includes_default
111183 #include <$ac_header>
111184 _ACEOF
111185 rm -f conftest.$ac_objext
111186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111187 (eval $ac_compile) 2>conftest.er1
111188 ac_status=$?
111189 grep -v '^ *+' conftest.er1 >conftest.err
111190 rm -f conftest.er1
111191 cat conftest.err >&5
111192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111193 (exit $ac_status); } &&
111194 { ac_try='test -z "$ac_c_werror_flag"
111195 || test ! -s conftest.err'
111196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111197 (eval $ac_try) 2>&5
111198 ac_status=$?
111199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111200 (exit $ac_status); }; } &&
111201 { ac_try='test -s conftest.$ac_objext'
111202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111203 (eval $ac_try) 2>&5
111204 ac_status=$?
111205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111206 (exit $ac_status); }; }; then
111207 ac_header_compiler=yes
111209 echo "$as_me: failed program was:" >&5
111210 sed 's/^/| /' conftest.$ac_ext >&5
111212 ac_header_compiler=no
111214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111215 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111216 echo "${ECHO_T}$ac_header_compiler" >&6
111218 # Is the header present?
111219 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111220 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111221 cat >conftest.$ac_ext <<_ACEOF
111222 /* confdefs.h. */
111223 _ACEOF
111224 cat confdefs.h >>conftest.$ac_ext
111225 cat >>conftest.$ac_ext <<_ACEOF
111226 /* end confdefs.h. */
111227 #include <$ac_header>
111228 _ACEOF
111229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111230 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111231 ac_status=$?
111232 grep -v '^ *+' conftest.er1 >conftest.err
111233 rm -f conftest.er1
111234 cat conftest.err >&5
111235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111236 (exit $ac_status); } >/dev/null; then
111237 if test -s conftest.err; then
111238 ac_cpp_err=$ac_c_preproc_warn_flag
111239 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111241 ac_cpp_err=
111244 ac_cpp_err=yes
111246 if test -z "$ac_cpp_err"; then
111247 ac_header_preproc=yes
111249 echo "$as_me: failed program was:" >&5
111250 sed 's/^/| /' conftest.$ac_ext >&5
111252 ac_header_preproc=no
111254 rm -f conftest.err conftest.$ac_ext
111255 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111256 echo "${ECHO_T}$ac_header_preproc" >&6
111258 # So? What about this header?
111259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111260 yes:no: )
111261 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111262 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111264 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111265 ac_header_preproc=yes
111267 no:yes:* )
111268 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111269 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111270 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111271 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111272 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111273 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111274 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111275 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111277 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111278 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111279 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111281 cat <<\_ASBOX
111282 ## ----------------------------------------- ##
111283 ## Report this to the package-unused lists. ##
111284 ## ----------------------------------------- ##
111285 _ASBOX
111287 sed "s/^/$as_me: WARNING: /" >&2
111290 echo "$as_me:$LINENO: checking for $ac_header" >&5
111291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111293 echo $ECHO_N "(cached) $ECHO_C" >&6
111295 eval "$as_ac_Header=\$ac_header_preproc"
111297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111302 cat >>confdefs.h <<_ACEOF
111303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111304 _ACEOF
111311 echo "$as_me:$LINENO: checking for poll" >&5
111312 echo $ECHO_N "checking for poll... $ECHO_C" >&6
111313 if test "${glibcxx_cv_POLL+set}" = set; then
111314 echo $ECHO_N "(cached) $ECHO_C" >&6
111317 if test x$gcc_no_link = xyes; then
111318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111320 { (exit 1); exit 1; }; }
111322 cat >conftest.$ac_ext <<_ACEOF
111323 /* confdefs.h. */
111324 _ACEOF
111325 cat confdefs.h >>conftest.$ac_ext
111326 cat >>conftest.$ac_ext <<_ACEOF
111327 /* end confdefs.h. */
111328 #include <poll.h>
111330 main ()
111332 struct pollfd pfd[1];
111333 pfd[0].events = POLLIN;
111334 poll(pfd, 1, 0);
111336 return 0;
111338 _ACEOF
111339 rm -f conftest.$ac_objext conftest$ac_exeext
111340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111341 (eval $ac_link) 2>conftest.er1
111342 ac_status=$?
111343 grep -v '^ *+' conftest.er1 >conftest.err
111344 rm -f conftest.er1
111345 cat conftest.err >&5
111346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111347 (exit $ac_status); } &&
111348 { ac_try='test -z "$ac_c_werror_flag"
111349 || test ! -s conftest.err'
111350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111351 (eval $ac_try) 2>&5
111352 ac_status=$?
111353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111354 (exit $ac_status); }; } &&
111355 { ac_try='test -s conftest$ac_exeext'
111356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111357 (eval $ac_try) 2>&5
111358 ac_status=$?
111359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111360 (exit $ac_status); }; }; then
111361 glibcxx_cv_POLL=yes
111363 echo "$as_me: failed program was:" >&5
111364 sed 's/^/| /' conftest.$ac_ext >&5
111366 glibcxx_cv_POLL=no
111368 rm -f conftest.err conftest.$ac_objext \
111369 conftest$ac_exeext conftest.$ac_ext
111373 if test $glibcxx_cv_POLL = yes; then
111375 cat >>confdefs.h <<\_ACEOF
111376 #define HAVE_POLL 1
111377 _ACEOF
111380 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
111381 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
111384 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
111385 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
111386 if test "${glibcxx_cv_S_ISREG+set}" = set; then
111387 echo $ECHO_N "(cached) $ECHO_C" >&6
111390 if test x$gcc_no_link = xyes; then
111391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111393 { (exit 1); exit 1; }; }
111395 cat >conftest.$ac_ext <<_ACEOF
111396 /* confdefs.h. */
111397 _ACEOF
111398 cat confdefs.h >>conftest.$ac_ext
111399 cat >>conftest.$ac_ext <<_ACEOF
111400 /* end confdefs.h. */
111401 #include <sys/stat.h>
111403 main ()
111405 struct stat buffer;
111406 fstat(0, &buffer);
111407 S_ISREG(buffer.st_mode);
111409 return 0;
111411 _ACEOF
111412 rm -f conftest.$ac_objext conftest$ac_exeext
111413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111414 (eval $ac_link) 2>conftest.er1
111415 ac_status=$?
111416 grep -v '^ *+' conftest.er1 >conftest.err
111417 rm -f conftest.er1
111418 cat conftest.err >&5
111419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111420 (exit $ac_status); } &&
111421 { ac_try='test -z "$ac_c_werror_flag"
111422 || test ! -s conftest.err'
111423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111424 (eval $ac_try) 2>&5
111425 ac_status=$?
111426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111427 (exit $ac_status); }; } &&
111428 { ac_try='test -s conftest$ac_exeext'
111429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111430 (eval $ac_try) 2>&5
111431 ac_status=$?
111432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111433 (exit $ac_status); }; }; then
111434 glibcxx_cv_S_ISREG=yes
111436 echo "$as_me: failed program was:" >&5
111437 sed 's/^/| /' conftest.$ac_ext >&5
111439 glibcxx_cv_S_ISREG=no
111441 rm -f conftest.err conftest.$ac_objext \
111442 conftest$ac_exeext conftest.$ac_ext
111446 if test "${glibcxx_cv_S_IFREG+set}" = set; then
111447 echo $ECHO_N "(cached) $ECHO_C" >&6
111450 if test x$gcc_no_link = xyes; then
111451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111453 { (exit 1); exit 1; }; }
111455 cat >conftest.$ac_ext <<_ACEOF
111456 /* confdefs.h. */
111457 _ACEOF
111458 cat confdefs.h >>conftest.$ac_ext
111459 cat >>conftest.$ac_ext <<_ACEOF
111460 /* end confdefs.h. */
111461 #include <sys/stat.h>
111463 main ()
111465 struct stat buffer;
111466 fstat(0, &buffer);
111467 S_IFREG & buffer.st_mode;
111469 return 0;
111471 _ACEOF
111472 rm -f conftest.$ac_objext conftest$ac_exeext
111473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111474 (eval $ac_link) 2>conftest.er1
111475 ac_status=$?
111476 grep -v '^ *+' conftest.er1 >conftest.err
111477 rm -f conftest.er1
111478 cat conftest.err >&5
111479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111480 (exit $ac_status); } &&
111481 { ac_try='test -z "$ac_c_werror_flag"
111482 || test ! -s conftest.err'
111483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111484 (eval $ac_try) 2>&5
111485 ac_status=$?
111486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111487 (exit $ac_status); }; } &&
111488 { ac_try='test -s conftest$ac_exeext'
111489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111490 (eval $ac_try) 2>&5
111491 ac_status=$?
111492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111493 (exit $ac_status); }; }; then
111494 glibcxx_cv_S_IFREG=yes
111496 echo "$as_me: failed program was:" >&5
111497 sed 's/^/| /' conftest.$ac_ext >&5
111499 glibcxx_cv_S_IFREG=no
111501 rm -f conftest.err conftest.$ac_objext \
111502 conftest$ac_exeext conftest.$ac_ext
111506 res=no
111507 if test $glibcxx_cv_S_ISREG = yes; then
111509 cat >>confdefs.h <<\_ACEOF
111510 #define HAVE_S_ISREG 1
111511 _ACEOF
111513 res=S_ISREG
111514 elif test $glibcxx_cv_S_IFREG = yes; then
111516 cat >>confdefs.h <<\_ACEOF
111517 #define HAVE_S_IFREG 1
111518 _ACEOF
111520 res=S_IFREG
111522 echo "$as_me:$LINENO: result: $res" >&5
111523 echo "${ECHO_T}$res" >&6
111526 # For xsputn_2().
111528 for ac_header in sys/uio.h
111530 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111532 echo "$as_me:$LINENO: checking for $ac_header" >&5
111533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111535 echo $ECHO_N "(cached) $ECHO_C" >&6
111537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111540 # Is the header compilable?
111541 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111542 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111543 cat >conftest.$ac_ext <<_ACEOF
111544 /* confdefs.h. */
111545 _ACEOF
111546 cat confdefs.h >>conftest.$ac_ext
111547 cat >>conftest.$ac_ext <<_ACEOF
111548 /* end confdefs.h. */
111549 $ac_includes_default
111550 #include <$ac_header>
111551 _ACEOF
111552 rm -f conftest.$ac_objext
111553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111554 (eval $ac_compile) 2>conftest.er1
111555 ac_status=$?
111556 grep -v '^ *+' conftest.er1 >conftest.err
111557 rm -f conftest.er1
111558 cat conftest.err >&5
111559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111560 (exit $ac_status); } &&
111561 { ac_try='test -z "$ac_c_werror_flag"
111562 || test ! -s conftest.err'
111563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111564 (eval $ac_try) 2>&5
111565 ac_status=$?
111566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111567 (exit $ac_status); }; } &&
111568 { ac_try='test -s conftest.$ac_objext'
111569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111570 (eval $ac_try) 2>&5
111571 ac_status=$?
111572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111573 (exit $ac_status); }; }; then
111574 ac_header_compiler=yes
111576 echo "$as_me: failed program was:" >&5
111577 sed 's/^/| /' conftest.$ac_ext >&5
111579 ac_header_compiler=no
111581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111582 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111583 echo "${ECHO_T}$ac_header_compiler" >&6
111585 # Is the header present?
111586 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111587 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111588 cat >conftest.$ac_ext <<_ACEOF
111589 /* confdefs.h. */
111590 _ACEOF
111591 cat confdefs.h >>conftest.$ac_ext
111592 cat >>conftest.$ac_ext <<_ACEOF
111593 /* end confdefs.h. */
111594 #include <$ac_header>
111595 _ACEOF
111596 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111597 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
111604 if test -s conftest.err; then
111605 ac_cpp_err=$ac_c_preproc_warn_flag
111606 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111608 ac_cpp_err=
111611 ac_cpp_err=yes
111613 if test -z "$ac_cpp_err"; then
111614 ac_header_preproc=yes
111616 echo "$as_me: failed program was:" >&5
111617 sed 's/^/| /' conftest.$ac_ext >&5
111619 ac_header_preproc=no
111621 rm -f conftest.err conftest.$ac_ext
111622 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111623 echo "${ECHO_T}$ac_header_preproc" >&6
111625 # So? What about this header?
111626 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111627 yes:no: )
111628 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111629 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111631 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111632 ac_header_preproc=yes
111634 no:yes:* )
111635 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111636 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111637 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111638 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111639 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111640 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111641 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111642 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111644 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111645 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111646 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111648 cat <<\_ASBOX
111649 ## ----------------------------------------- ##
111650 ## Report this to the package-unused lists. ##
111651 ## ----------------------------------------- ##
111652 _ASBOX
111654 sed "s/^/$as_me: WARNING: /" >&2
111657 echo "$as_me:$LINENO: checking for $ac_header" >&5
111658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111660 echo $ECHO_N "(cached) $ECHO_C" >&6
111662 eval "$as_ac_Header=\$ac_header_preproc"
111664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111668 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111669 cat >>confdefs.h <<_ACEOF
111670 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111671 _ACEOF
111678 echo "$as_me:$LINENO: checking for writev" >&5
111679 echo $ECHO_N "checking for writev... $ECHO_C" >&6
111680 if test "${glibcxx_cv_WRITEV+set}" = set; then
111681 echo $ECHO_N "(cached) $ECHO_C" >&6
111684 if test x$gcc_no_link = xyes; then
111685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111687 { (exit 1); exit 1; }; }
111689 cat >conftest.$ac_ext <<_ACEOF
111690 /* confdefs.h. */
111691 _ACEOF
111692 cat confdefs.h >>conftest.$ac_ext
111693 cat >>conftest.$ac_ext <<_ACEOF
111694 /* end confdefs.h. */
111695 #include <sys/uio.h>
111697 main ()
111699 struct iovec iov[2];
111700 writev(0, iov, 0);
111702 return 0;
111704 _ACEOF
111705 rm -f conftest.$ac_objext conftest$ac_exeext
111706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111707 (eval $ac_link) 2>conftest.er1
111708 ac_status=$?
111709 grep -v '^ *+' conftest.er1 >conftest.err
111710 rm -f conftest.er1
111711 cat conftest.err >&5
111712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111713 (exit $ac_status); } &&
111714 { ac_try='test -z "$ac_c_werror_flag"
111715 || test ! -s conftest.err'
111716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111717 (eval $ac_try) 2>&5
111718 ac_status=$?
111719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111720 (exit $ac_status); }; } &&
111721 { ac_try='test -s conftest$ac_exeext'
111722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111723 (eval $ac_try) 2>&5
111724 ac_status=$?
111725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111726 (exit $ac_status); }; }; then
111727 glibcxx_cv_WRITEV=yes
111729 echo "$as_me: failed program was:" >&5
111730 sed 's/^/| /' conftest.$ac_ext >&5
111732 glibcxx_cv_WRITEV=no
111734 rm -f conftest.err conftest.$ac_objext \
111735 conftest$ac_exeext conftest.$ac_ext
111739 if test $glibcxx_cv_WRITEV = yes; then
111741 cat >>confdefs.h <<\_ACEOF
111742 #define HAVE_WRITEV 1
111743 _ACEOF
111746 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
111747 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
111750 *-qnx6.1* | *-qnx6.2*)
111751 SECTION_FLAGS='-ffunction-sections -fdata-sections'
111754 # If we're not using GNU ld, then there's no point in even trying these
111755 # tests. Check for that first. We should have already tested for gld
111756 # by now (in libtool), but require it now just to be safe...
111757 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111758 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111762 # The name set by libtool depends on the version of libtool. Shame on us
111763 # for depending on an impl detail, but c'est la vie. Older versions used
111764 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111765 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111766 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
111767 # set (hence we're using an older libtool), then set it.
111768 if test x${with_gnu_ld+set} != xset; then
111769 if test x${ac_cv_prog_gnu_ld+set} != xset; then
111770 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
111771 with_gnu_ld=no
111773 with_gnu_ld=$ac_cv_prog_gnu_ld
111777 # Start by getting the version number. I think the libtool test already
111778 # does some of this, but throws away the result.
111779 if test x"$with_gnu_ld" = x"yes"; then
111780 echo "$as_me:$LINENO: checking for ld version" >&5
111781 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111783 ldver=`$LD --version 2>/dev/null | head -1 | \
111784 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
111786 glibcxx_gnu_ld_version=`echo $ldver | \
111787 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111788 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111789 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111792 # Set --gc-sections.
111793 glibcxx_gcsections_min_ld=21602
111794 if test x"$with_gnu_ld" = x"yes" &&
111795 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111797 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
111798 # NB: This flag only works reliably after 2.16.1. Configure tests
111799 # for this are difficult, so hard wire a value that should work.
111801 ac_test_CFLAGS="${CFLAGS+set}"
111802 ac_save_CFLAGS="$CFLAGS"
111803 CFLAGS='-Wl,--gc-sections'
111805 # Check for -Wl,--gc-sections
111806 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111807 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111808 if test x$gcc_no_link = xyes; then
111809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111811 { (exit 1); exit 1; }; }
111813 cat >conftest.$ac_ext <<_ACEOF
111814 /* confdefs.h. */
111815 _ACEOF
111816 cat confdefs.h >>conftest.$ac_ext
111817 cat >>conftest.$ac_ext <<_ACEOF
111818 /* end confdefs.h. */
111819 int one(void) { return 1; }
111820 int two(void) { return 2; }
111823 main ()
111825 two();
111827 return 0;
111829 _ACEOF
111830 rm -f conftest.$ac_objext conftest$ac_exeext
111831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111832 (eval $ac_link) 2>conftest.er1
111833 ac_status=$?
111834 grep -v '^ *+' conftest.er1 >conftest.err
111835 rm -f conftest.er1
111836 cat conftest.err >&5
111837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111838 (exit $ac_status); } &&
111839 { ac_try='test -z "$ac_c_werror_flag"
111840 || test ! -s conftest.err'
111841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111842 (eval $ac_try) 2>&5
111843 ac_status=$?
111844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111845 (exit $ac_status); }; } &&
111846 { ac_try='test -s conftest$ac_exeext'
111847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111848 (eval $ac_try) 2>&5
111849 ac_status=$?
111850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111851 (exit $ac_status); }; }; then
111852 ac_gcsections=yes
111854 echo "$as_me: failed program was:" >&5
111855 sed 's/^/| /' conftest.$ac_ext >&5
111857 ac_gcsections=no
111859 rm -f conftest.err conftest.$ac_objext \
111860 conftest$ac_exeext conftest.$ac_ext
111861 if test "$ac_gcsections" = "yes"; then
111862 rm -f conftest.c
111863 touch conftest.c
111864 if $CC -c conftest.c; then
111865 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111866 grep "Warning: gc-sections option ignored" > /dev/null; then
111867 ac_gcsections=no
111870 rm -f conftest.c conftest.o conftest
111872 if test "$ac_gcsections" = "yes"; then
111873 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111875 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111876 echo "${ECHO_T}$ac_gcsections" >&6
111878 if test "$ac_test_CFLAGS" = set; then
111879 CFLAGS="$ac_save_CFLAGS"
111881 # this is the suspicious part
111882 CFLAGS=''
111886 # Set -z,relro.
111887 # Note this is only for shared objects.
111888 ac_ld_relro=no
111889 if test x"$with_gnu_ld" = x"yes"; then
111890 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111891 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111892 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111893 if test -n "$cxx_z_relo"; then
111894 OPT_LDFLAGS="-Wl,-z,relro"
111895 ac_ld_relro=yes
111897 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111898 echo "${ECHO_T}$ac_ld_relro" >&6
111901 # Set linker optimization flags.
111902 if test x"$with_gnu_ld" = x"yes"; then
111903 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111911 echo "$as_me:$LINENO: checking for main in -lm" >&5
111912 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111913 if test "${ac_cv_lib_m_main+set}" = set; then
111914 echo $ECHO_N "(cached) $ECHO_C" >&6
111916 ac_check_lib_save_LIBS=$LIBS
111917 LIBS="-lm $LIBS"
111918 if test x$gcc_no_link = xyes; then
111919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111921 { (exit 1); exit 1; }; }
111923 cat >conftest.$ac_ext <<_ACEOF
111924 /* confdefs.h. */
111925 _ACEOF
111926 cat confdefs.h >>conftest.$ac_ext
111927 cat >>conftest.$ac_ext <<_ACEOF
111928 /* end confdefs.h. */
111932 main ()
111934 main ();
111936 return 0;
111938 _ACEOF
111939 rm -f conftest.$ac_objext conftest$ac_exeext
111940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111941 (eval $ac_link) 2>conftest.er1
111942 ac_status=$?
111943 grep -v '^ *+' conftest.er1 >conftest.err
111944 rm -f conftest.er1
111945 cat conftest.err >&5
111946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111947 (exit $ac_status); } &&
111948 { ac_try='test -z "$ac_c_werror_flag"
111949 || test ! -s conftest.err'
111950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111951 (eval $ac_try) 2>&5
111952 ac_status=$?
111953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111954 (exit $ac_status); }; } &&
111955 { ac_try='test -s conftest$ac_exeext'
111956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111957 (eval $ac_try) 2>&5
111958 ac_status=$?
111959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111960 (exit $ac_status); }; }; then
111961 ac_cv_lib_m_main=yes
111963 echo "$as_me: failed program was:" >&5
111964 sed 's/^/| /' conftest.$ac_ext >&5
111966 ac_cv_lib_m_main=no
111968 rm -f conftest.err conftest.$ac_objext \
111969 conftest$ac_exeext conftest.$ac_ext
111970 LIBS=$ac_check_lib_save_LIBS
111972 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111973 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111974 if test $ac_cv_lib_m_main = yes; then
111975 cat >>confdefs.h <<_ACEOF
111976 #define HAVE_LIBM 1
111977 _ACEOF
111979 LIBS="-lm $LIBS"
111984 for ac_func in copysignf
111986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111987 echo "$as_me:$LINENO: checking for $ac_func" >&5
111988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111989 if eval "test \"\${$as_ac_var+set}\" = set"; then
111990 echo $ECHO_N "(cached) $ECHO_C" >&6
111992 if test x$gcc_no_link = xyes; then
111993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111995 { (exit 1); exit 1; }; }
111997 cat >conftest.$ac_ext <<_ACEOF
111998 /* confdefs.h. */
111999 _ACEOF
112000 cat confdefs.h >>conftest.$ac_ext
112001 cat >>conftest.$ac_ext <<_ACEOF
112002 /* end confdefs.h. */
112003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112005 #define $ac_func innocuous_$ac_func
112007 /* System header to define __stub macros and hopefully few prototypes,
112008 which can conflict with char $ac_func (); below.
112009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112010 <limits.h> exists even on freestanding compilers. */
112012 #ifdef __STDC__
112013 # include <limits.h>
112014 #else
112015 # include <assert.h>
112016 #endif
112018 #undef $ac_func
112020 /* Override any gcc2 internal prototype to avoid an error. */
112021 #ifdef __cplusplus
112022 extern "C"
112024 #endif
112025 /* We use char because int might match the return type of a gcc2
112026 builtin and then its argument prototype would still apply. */
112027 char $ac_func ();
112028 /* The GNU C library defines this for functions which it implements
112029 to always fail with ENOSYS. Some functions are actually named
112030 something starting with __ and the normal name is an alias. */
112031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112032 choke me
112033 #else
112034 char (*f) () = $ac_func;
112035 #endif
112036 #ifdef __cplusplus
112038 #endif
112041 main ()
112043 return f != $ac_func;
112045 return 0;
112047 _ACEOF
112048 rm -f conftest.$ac_objext conftest$ac_exeext
112049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112050 (eval $ac_link) 2>conftest.er1
112051 ac_status=$?
112052 grep -v '^ *+' conftest.er1 >conftest.err
112053 rm -f conftest.er1
112054 cat conftest.err >&5
112055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112056 (exit $ac_status); } &&
112057 { ac_try='test -z "$ac_c_werror_flag"
112058 || test ! -s conftest.err'
112059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112060 (eval $ac_try) 2>&5
112061 ac_status=$?
112062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112063 (exit $ac_status); }; } &&
112064 { ac_try='test -s conftest$ac_exeext'
112065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112066 (eval $ac_try) 2>&5
112067 ac_status=$?
112068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112069 (exit $ac_status); }; }; then
112070 eval "$as_ac_var=yes"
112072 echo "$as_me: failed program was:" >&5
112073 sed 's/^/| /' conftest.$ac_ext >&5
112075 eval "$as_ac_var=no"
112077 rm -f conftest.err conftest.$ac_objext \
112078 conftest$ac_exeext conftest.$ac_ext
112080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112082 if test `eval echo '${'$as_ac_var'}'` = yes; then
112083 cat >>confdefs.h <<_ACEOF
112084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112085 _ACEOF
112088 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112094 for ac_func in __signbit
112096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112097 echo "$as_me:$LINENO: checking for $ac_func" >&5
112098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112099 if eval "test \"\${$as_ac_var+set}\" = set"; then
112100 echo $ECHO_N "(cached) $ECHO_C" >&6
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112115 #define $ac_func innocuous_$ac_func
112117 /* System header to define __stub macros and hopefully few prototypes,
112118 which can conflict with char $ac_func (); below.
112119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112120 <limits.h> exists even on freestanding compilers. */
112122 #ifdef __STDC__
112123 # include <limits.h>
112124 #else
112125 # include <assert.h>
112126 #endif
112128 #undef $ac_func
112130 /* Override any gcc2 internal prototype to avoid an error. */
112131 #ifdef __cplusplus
112132 extern "C"
112134 #endif
112135 /* We use char because int might match the return type of a gcc2
112136 builtin and then its argument prototype would still apply. */
112137 char $ac_func ();
112138 /* The GNU C library defines this for functions which it implements
112139 to always fail with ENOSYS. Some functions are actually named
112140 something starting with __ and the normal name is an alias. */
112141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112142 choke me
112143 #else
112144 char (*f) () = $ac_func;
112145 #endif
112146 #ifdef __cplusplus
112148 #endif
112151 main ()
112153 return f != $ac_func;
112155 return 0;
112157 _ACEOF
112158 rm -f conftest.$ac_objext conftest$ac_exeext
112159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112160 (eval $ac_link) 2>conftest.er1
112161 ac_status=$?
112162 grep -v '^ *+' conftest.er1 >conftest.err
112163 rm -f conftest.er1
112164 cat conftest.err >&5
112165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112166 (exit $ac_status); } &&
112167 { ac_try='test -z "$ac_c_werror_flag"
112168 || test ! -s conftest.err'
112169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112170 (eval $ac_try) 2>&5
112171 ac_status=$?
112172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112173 (exit $ac_status); }; } &&
112174 { ac_try='test -s conftest$ac_exeext'
112175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112176 (eval $ac_try) 2>&5
112177 ac_status=$?
112178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112179 (exit $ac_status); }; }; then
112180 eval "$as_ac_var=yes"
112182 echo "$as_me: failed program was:" >&5
112183 sed 's/^/| /' conftest.$ac_ext >&5
112185 eval "$as_ac_var=no"
112187 rm -f conftest.err conftest.$ac_objext \
112188 conftest$ac_exeext conftest.$ac_ext
112190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112192 if test `eval echo '${'$as_ac_var'}'` = yes; then
112193 cat >>confdefs.h <<_ACEOF
112194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112195 _ACEOF
112198 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112204 for ac_func in __signbitf
112206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112207 echo "$as_me:$LINENO: checking for $ac_func" >&5
112208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112209 if eval "test \"\${$as_ac_var+set}\" = set"; then
112210 echo $ECHO_N "(cached) $ECHO_C" >&6
112212 if test x$gcc_no_link = xyes; then
112213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112215 { (exit 1); exit 1; }; }
112217 cat >conftest.$ac_ext <<_ACEOF
112218 /* confdefs.h. */
112219 _ACEOF
112220 cat confdefs.h >>conftest.$ac_ext
112221 cat >>conftest.$ac_ext <<_ACEOF
112222 /* end confdefs.h. */
112223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112225 #define $ac_func innocuous_$ac_func
112227 /* System header to define __stub macros and hopefully few prototypes,
112228 which can conflict with char $ac_func (); below.
112229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112230 <limits.h> exists even on freestanding compilers. */
112232 #ifdef __STDC__
112233 # include <limits.h>
112234 #else
112235 # include <assert.h>
112236 #endif
112238 #undef $ac_func
112240 /* Override any gcc2 internal prototype to avoid an error. */
112241 #ifdef __cplusplus
112242 extern "C"
112244 #endif
112245 /* We use char because int might match the return type of a gcc2
112246 builtin and then its argument prototype would still apply. */
112247 char $ac_func ();
112248 /* The GNU C library defines this for functions which it implements
112249 to always fail with ENOSYS. Some functions are actually named
112250 something starting with __ and the normal name is an alias. */
112251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112252 choke me
112253 #else
112254 char (*f) () = $ac_func;
112255 #endif
112256 #ifdef __cplusplus
112258 #endif
112261 main ()
112263 return f != $ac_func;
112265 return 0;
112267 _ACEOF
112268 rm -f conftest.$ac_objext conftest$ac_exeext
112269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112270 (eval $ac_link) 2>conftest.er1
112271 ac_status=$?
112272 grep -v '^ *+' conftest.er1 >conftest.err
112273 rm -f conftest.er1
112274 cat conftest.err >&5
112275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112276 (exit $ac_status); } &&
112277 { ac_try='test -z "$ac_c_werror_flag"
112278 || test ! -s conftest.err'
112279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112280 (eval $ac_try) 2>&5
112281 ac_status=$?
112282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112283 (exit $ac_status); }; } &&
112284 { ac_try='test -s conftest$ac_exeext'
112285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112286 (eval $ac_try) 2>&5
112287 ac_status=$?
112288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112289 (exit $ac_status); }; }; then
112290 eval "$as_ac_var=yes"
112292 echo "$as_me: failed program was:" >&5
112293 sed 's/^/| /' conftest.$ac_ext >&5
112295 eval "$as_ac_var=no"
112297 rm -f conftest.err conftest.$ac_objext \
112298 conftest$ac_exeext conftest.$ac_ext
112300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112302 if test `eval echo '${'$as_ac_var'}'` = yes; then
112303 cat >>confdefs.h <<_ACEOF
112304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112305 _ACEOF
112308 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112313 if test x$ac_cv_func_copysignl = x"yes"; then
112315 for ac_func in __signbitl
112317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112318 echo "$as_me:$LINENO: checking for $ac_func" >&5
112319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112320 if eval "test \"\${$as_ac_var+set}\" = set"; then
112321 echo $ECHO_N "(cached) $ECHO_C" >&6
112323 if test x$gcc_no_link = xyes; then
112324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112326 { (exit 1); exit 1; }; }
112328 cat >conftest.$ac_ext <<_ACEOF
112329 /* confdefs.h. */
112330 _ACEOF
112331 cat confdefs.h >>conftest.$ac_ext
112332 cat >>conftest.$ac_ext <<_ACEOF
112333 /* end confdefs.h. */
112334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112336 #define $ac_func innocuous_$ac_func
112338 /* System header to define __stub macros and hopefully few prototypes,
112339 which can conflict with char $ac_func (); below.
112340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112341 <limits.h> exists even on freestanding compilers. */
112343 #ifdef __STDC__
112344 # include <limits.h>
112345 #else
112346 # include <assert.h>
112347 #endif
112349 #undef $ac_func
112351 /* Override any gcc2 internal prototype to avoid an error. */
112352 #ifdef __cplusplus
112353 extern "C"
112355 #endif
112356 /* We use char because int might match the return type of a gcc2
112357 builtin and then its argument prototype would still apply. */
112358 char $ac_func ();
112359 /* The GNU C library defines this for functions which it implements
112360 to always fail with ENOSYS. Some functions are actually named
112361 something starting with __ and the normal name is an alias. */
112362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112363 choke me
112364 #else
112365 char (*f) () = $ac_func;
112366 #endif
112367 #ifdef __cplusplus
112369 #endif
112372 main ()
112374 return f != $ac_func;
112376 return 0;
112378 _ACEOF
112379 rm -f conftest.$ac_objext conftest$ac_exeext
112380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112381 (eval $ac_link) 2>conftest.er1
112382 ac_status=$?
112383 grep -v '^ *+' conftest.er1 >conftest.err
112384 rm -f conftest.er1
112385 cat conftest.err >&5
112386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112387 (exit $ac_status); } &&
112388 { ac_try='test -z "$ac_c_werror_flag"
112389 || test ! -s conftest.err'
112390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112391 (eval $ac_try) 2>&5
112392 ac_status=$?
112393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112394 (exit $ac_status); }; } &&
112395 { ac_try='test -s conftest$ac_exeext'
112396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112397 (eval $ac_try) 2>&5
112398 ac_status=$?
112399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112400 (exit $ac_status); }; }; then
112401 eval "$as_ac_var=yes"
112403 echo "$as_me: failed program was:" >&5
112404 sed 's/^/| /' conftest.$ac_ext >&5
112406 eval "$as_ac_var=no"
112408 rm -f conftest.err conftest.$ac_objext \
112409 conftest$ac_exeext conftest.$ac_ext
112411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112413 if test `eval echo '${'$as_ac_var'}'` = yes; then
112414 cat >>confdefs.h <<_ACEOF
112415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112416 _ACEOF
112419 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112425 # Used in libmath/Makefile.am.
112426 if test -n "$LIBMATHOBJS"; then
112427 need_libmath=yes
112431 cat >>confdefs.h <<\_ACEOF
112432 #define HAVE_COSF 1
112433 _ACEOF
112435 cat >>confdefs.h <<\_ACEOF
112436 #define HAVE_COSL 1
112437 _ACEOF
112439 cat >>confdefs.h <<\_ACEOF
112440 #define HAVE_COSHF 1
112441 _ACEOF
112443 cat >>confdefs.h <<\_ACEOF
112444 #define HAVE_COSHL 1
112445 _ACEOF
112447 cat >>confdefs.h <<\_ACEOF
112448 #define HAVE_LOGF 1
112449 _ACEOF
112451 cat >>confdefs.h <<\_ACEOF
112452 #define HAVE_LOGL 1
112453 _ACEOF
112455 cat >>confdefs.h <<\_ACEOF
112456 #define HAVE_LOG10F 1
112457 _ACEOF
112459 cat >>confdefs.h <<\_ACEOF
112460 #define HAVE_LOG10L 1
112461 _ACEOF
112463 cat >>confdefs.h <<\_ACEOF
112464 #define HAVE_SINF 1
112465 _ACEOF
112467 cat >>confdefs.h <<\_ACEOF
112468 #define HAVE_SINL 1
112469 _ACEOF
112471 cat >>confdefs.h <<\_ACEOF
112472 #define HAVE_SINHF 1
112473 _ACEOF
112475 cat >>confdefs.h <<\_ACEOF
112476 #define HAVE_SINHL 1
112477 _ACEOF
112480 *-solaris*)
112481 case "$target" in
112482 # *-solaris2.5)
112483 # os_include_dir="os/solaris/solaris2.5"
112485 # *-solaris2.6)
112486 # os_include_dir="os/solaris/solaris2.6"
112488 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
112490 # If we're not using GNU ld, then there's no point in even trying these
112491 # tests. Check for that first. We should have already tested for gld
112492 # by now (in libtool), but require it now just to be safe...
112493 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112494 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112498 # The name set by libtool depends on the version of libtool. Shame on us
112499 # for depending on an impl detail, but c'est la vie. Older versions used
112500 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112501 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112502 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112503 # set (hence we're using an older libtool), then set it.
112504 if test x${with_gnu_ld+set} != xset; then
112505 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112506 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112507 with_gnu_ld=no
112509 with_gnu_ld=$ac_cv_prog_gnu_ld
112513 # Start by getting the version number. I think the libtool test already
112514 # does some of this, but throws away the result.
112515 if test x"$with_gnu_ld" = x"yes"; then
112516 echo "$as_me:$LINENO: checking for ld version" >&5
112517 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112519 ldver=`$LD --version 2>/dev/null | head -1 | \
112520 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
112522 glibcxx_gnu_ld_version=`echo $ldver | \
112523 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112524 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112525 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112528 # Set --gc-sections.
112529 glibcxx_gcsections_min_ld=21602
112530 if test x"$with_gnu_ld" = x"yes" &&
112531 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112533 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112534 # NB: This flag only works reliably after 2.16.1. Configure tests
112535 # for this are difficult, so hard wire a value that should work.
112537 ac_test_CFLAGS="${CFLAGS+set}"
112538 ac_save_CFLAGS="$CFLAGS"
112539 CFLAGS='-Wl,--gc-sections'
112541 # Check for -Wl,--gc-sections
112542 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112543 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112544 if test x$gcc_no_link = xyes; then
112545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112547 { (exit 1); exit 1; }; }
112549 cat >conftest.$ac_ext <<_ACEOF
112550 /* confdefs.h. */
112551 _ACEOF
112552 cat confdefs.h >>conftest.$ac_ext
112553 cat >>conftest.$ac_ext <<_ACEOF
112554 /* end confdefs.h. */
112555 int one(void) { return 1; }
112556 int two(void) { return 2; }
112559 main ()
112561 two();
112563 return 0;
112565 _ACEOF
112566 rm -f conftest.$ac_objext conftest$ac_exeext
112567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112568 (eval $ac_link) 2>conftest.er1
112569 ac_status=$?
112570 grep -v '^ *+' conftest.er1 >conftest.err
112571 rm -f conftest.er1
112572 cat conftest.err >&5
112573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112574 (exit $ac_status); } &&
112575 { ac_try='test -z "$ac_c_werror_flag"
112576 || test ! -s conftest.err'
112577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112578 (eval $ac_try) 2>&5
112579 ac_status=$?
112580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112581 (exit $ac_status); }; } &&
112582 { ac_try='test -s conftest$ac_exeext'
112583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112584 (eval $ac_try) 2>&5
112585 ac_status=$?
112586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112587 (exit $ac_status); }; }; then
112588 ac_gcsections=yes
112590 echo "$as_me: failed program was:" >&5
112591 sed 's/^/| /' conftest.$ac_ext >&5
112593 ac_gcsections=no
112595 rm -f conftest.err conftest.$ac_objext \
112596 conftest$ac_exeext conftest.$ac_ext
112597 if test "$ac_gcsections" = "yes"; then
112598 rm -f conftest.c
112599 touch conftest.c
112600 if $CC -c conftest.c; then
112601 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112602 grep "Warning: gc-sections option ignored" > /dev/null; then
112603 ac_gcsections=no
112606 rm -f conftest.c conftest.o conftest
112608 if test "$ac_gcsections" = "yes"; then
112609 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112611 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112612 echo "${ECHO_T}$ac_gcsections" >&6
112614 if test "$ac_test_CFLAGS" = set; then
112615 CFLAGS="$ac_save_CFLAGS"
112617 # this is the suspicious part
112618 CFLAGS=''
112622 # Set -z,relro.
112623 # Note this is only for shared objects.
112624 ac_ld_relro=no
112625 if test x"$with_gnu_ld" = x"yes"; then
112626 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112627 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112628 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112629 if test -n "$cxx_z_relo"; then
112630 OPT_LDFLAGS="-Wl,-z,relro"
112631 ac_ld_relro=yes
112633 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112634 echo "${ECHO_T}$ac_ld_relro" >&6
112637 # Set linker optimization flags.
112638 if test x"$with_gnu_ld" = x"yes"; then
112639 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112645 cat >>confdefs.h <<\_ACEOF
112646 #define HAVE_GETPAGESIZE 1
112647 _ACEOF
112649 cat >>confdefs.h <<\_ACEOF
112650 #define HAVE_SIGSETJMP 1
112651 _ACEOF
112653 cat >>confdefs.h <<\_ACEOF
112654 #define HAVE_MBSTATE_T 1
112655 _ACEOF
112657 cat >>confdefs.h <<\_ACEOF
112658 #define HAVE_POLL 1
112659 _ACEOF
112661 cat >>confdefs.h <<\_ACEOF
112662 #define HAVE_S_ISREG 1
112663 _ACEOF
112665 cat >>confdefs.h <<\_ACEOF
112666 #define HAVE_LC_MESSAGES 1
112667 _ACEOF
112669 cat >>confdefs.h <<\_ACEOF
112670 #define HAVE_FINITE 1
112671 _ACEOF
112673 cat >>confdefs.h <<\_ACEOF
112674 #define HAVE_FPCLASS 1
112675 _ACEOF
112677 cat >>confdefs.h <<\_ACEOF
112678 #define HAVE_GETPAGESIZE 1
112679 _ACEOF
112681 # All of the dependencies for wide character support are here, so
112682 # turn it on.
112683 cat >>confdefs.h <<\_ACEOF
112684 #define _GLIBCXX_USE_WCHAR_T 1
112685 _ACEOF
112687 # Are these tested for even when cross?
112688 cat >>confdefs.h <<\_ACEOF
112689 #define HAVE_FLOAT_H 1
112690 _ACEOF
112692 cat >>confdefs.h <<\_ACEOF
112693 #define HAVE_IEEEFP_H 1
112694 _ACEOF
112696 cat >>confdefs.h <<\_ACEOF
112697 #define HAVE_INTTYPES_H 1
112698 _ACEOF
112700 cat >>confdefs.h <<\_ACEOF
112701 #define HAVE_LOCALE_H 1
112702 _ACEOF
112704 cat >>confdefs.h <<\_ACEOF
112705 #define HAVE_NAN_H 1
112706 _ACEOF
112708 cat >>confdefs.h <<\_ACEOF
112709 #define HAVE_SYS_FILIO_H 1
112710 _ACEOF
112712 cat >>confdefs.h <<\_ACEOF
112713 #define HAVE_SYS_IOCTL_H 1
112714 _ACEOF
112716 cat >>confdefs.h <<\_ACEOF
112717 #define HAVE_SYS_ISA_DEFS_H 1
112718 _ACEOF
112720 cat >>confdefs.h <<\_ACEOF
112721 #define HAVE_SYS_RESOURCE_H 1
112722 _ACEOF
112724 cat >>confdefs.h <<\_ACEOF
112725 #define HAVE_SYS_TIME_H 1
112726 _ACEOF
112728 cat >>confdefs.h <<\_ACEOF
112729 #define HAVE_SYS_TYPES_H 1
112730 _ACEOF
112732 cat >>confdefs.h <<\_ACEOF
112733 #define HAVE_UNISTD_H 1
112734 _ACEOF
112736 cat >>confdefs.h <<\_ACEOF
112737 #define HAVE_WCHAR_H 1
112738 _ACEOF
112740 cat >>confdefs.h <<\_ACEOF
112741 #define HAVE_WCTYPE_H 1
112742 _ACEOF
112744 cat >>confdefs.h <<\_ACEOF
112745 #define HAVE_LIBM 1
112746 _ACEOF
112750 case "$target" in
112751 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
112752 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
112753 cat >>confdefs.h <<\_ACEOF
112754 #define HAVE___BUILTIN_ABS 1
112755 _ACEOF
112757 cat >>confdefs.h <<\_ACEOF
112758 #define HAVE___BUILTIN_LABS 1
112759 _ACEOF
112761 cat >>confdefs.h <<\_ACEOF
112762 #define HAVE___BUILTIN_FABS 1
112763 _ACEOF
112765 cat >>confdefs.h <<\_ACEOF
112766 #define HAVE___BUILTIN_FABSF 1
112767 _ACEOF
112769 cat >>confdefs.h <<\_ACEOF
112770 #define HAVE___BUILTIN_FABSL 1
112771 _ACEOF
112773 cat >>confdefs.h <<\_ACEOF
112774 #define HAVE___BUILTIN_COS 1
112775 _ACEOF
112777 cat >>confdefs.h <<\_ACEOF
112778 #define HAVE___BUILTIN_COSF 1
112779 _ACEOF
112781 cat >>confdefs.h <<\_ACEOF
112782 #define HAVE___BUILTIN_SIN 1
112783 _ACEOF
112785 cat >>confdefs.h <<\_ACEOF
112786 #define HAVE___BUILTIN_SINF 1
112787 _ACEOF
112791 case "$target" in
112792 *-*-solaris2.10)
112793 # These two C99 functions are present only in Solaris >= 10
112794 cat >>confdefs.h <<\_ACEOF
112795 #define HAVE_STRTOF 1
112796 _ACEOF
112798 cat >>confdefs.h <<\_ACEOF
112799 #define HAVE_STRTOLD 1
112800 _ACEOF
112804 cat >>confdefs.h <<\_ACEOF
112805 #define HAVE_MMAP 1
112806 _ACEOF
112808 cat >>confdefs.h <<\_ACEOF
112809 #define HAVE_COPYSIGN 1
112810 _ACEOF
112812 cat >>confdefs.h <<\_ACEOF
112813 #define HAVE_ISNAN 1
112814 _ACEOF
112816 cat >>confdefs.h <<\_ACEOF
112817 #define HAVE_ISNANF 1
112818 _ACEOF
112820 cat >>confdefs.h <<\_ACEOF
112821 #define HAVE_MODFF 1
112822 _ACEOF
112824 cat >>confdefs.h <<\_ACEOF
112825 #define HAVE_HYPOT 1
112826 _ACEOF
112829 *-tpf)
112838 for ac_header in nan.h endian.h machine/endian.h \
112839 sys/param.h sys/types.h locale.h float.h inttypes.h
112841 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112843 echo "$as_me:$LINENO: checking for $ac_header" >&5
112844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112846 echo $ECHO_N "(cached) $ECHO_C" >&6
112848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112851 # Is the header compilable?
112852 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112853 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112854 cat >conftest.$ac_ext <<_ACEOF
112855 /* confdefs.h. */
112856 _ACEOF
112857 cat confdefs.h >>conftest.$ac_ext
112858 cat >>conftest.$ac_ext <<_ACEOF
112859 /* end confdefs.h. */
112860 $ac_includes_default
112861 #include <$ac_header>
112862 _ACEOF
112863 rm -f conftest.$ac_objext
112864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112865 (eval $ac_compile) 2>conftest.er1
112866 ac_status=$?
112867 grep -v '^ *+' conftest.er1 >conftest.err
112868 rm -f conftest.er1
112869 cat conftest.err >&5
112870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112871 (exit $ac_status); } &&
112872 { ac_try='test -z "$ac_c_werror_flag"
112873 || test ! -s conftest.err'
112874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112875 (eval $ac_try) 2>&5
112876 ac_status=$?
112877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112878 (exit $ac_status); }; } &&
112879 { ac_try='test -s conftest.$ac_objext'
112880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112881 (eval $ac_try) 2>&5
112882 ac_status=$?
112883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112884 (exit $ac_status); }; }; then
112885 ac_header_compiler=yes
112887 echo "$as_me: failed program was:" >&5
112888 sed 's/^/| /' conftest.$ac_ext >&5
112890 ac_header_compiler=no
112892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112894 echo "${ECHO_T}$ac_header_compiler" >&6
112896 # Is the header present?
112897 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112898 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112899 cat >conftest.$ac_ext <<_ACEOF
112900 /* confdefs.h. */
112901 _ACEOF
112902 cat confdefs.h >>conftest.$ac_ext
112903 cat >>conftest.$ac_ext <<_ACEOF
112904 /* end confdefs.h. */
112905 #include <$ac_header>
112906 _ACEOF
112907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112908 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112909 ac_status=$?
112910 grep -v '^ *+' conftest.er1 >conftest.err
112911 rm -f conftest.er1
112912 cat conftest.err >&5
112913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112914 (exit $ac_status); } >/dev/null; then
112915 if test -s conftest.err; then
112916 ac_cpp_err=$ac_c_preproc_warn_flag
112917 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112919 ac_cpp_err=
112922 ac_cpp_err=yes
112924 if test -z "$ac_cpp_err"; then
112925 ac_header_preproc=yes
112927 echo "$as_me: failed program was:" >&5
112928 sed 's/^/| /' conftest.$ac_ext >&5
112930 ac_header_preproc=no
112932 rm -f conftest.err conftest.$ac_ext
112933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112934 echo "${ECHO_T}$ac_header_preproc" >&6
112936 # So? What about this header?
112937 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112938 yes:no: )
112939 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112940 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112942 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112943 ac_header_preproc=yes
112945 no:yes:* )
112946 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112947 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112948 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
112949 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
112950 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112951 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112952 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
112953 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
112954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112956 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112957 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112959 cat <<\_ASBOX
112960 ## ----------------------------------------- ##
112961 ## Report this to the package-unused lists. ##
112962 ## ----------------------------------------- ##
112963 _ASBOX
112965 sed "s/^/$as_me: WARNING: /" >&2
112968 echo "$as_me:$LINENO: checking for $ac_header" >&5
112969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112971 echo $ECHO_N "(cached) $ECHO_C" >&6
112973 eval "$as_ac_Header=\$ac_header_preproc"
112975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112980 cat >>confdefs.h <<_ACEOF
112981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112982 _ACEOF
112988 SECTION_FLAGS='-ffunction-sections -fdata-sections'
112991 # If we're not using GNU ld, then there's no point in even trying these
112992 # tests. Check for that first. We should have already tested for gld
112993 # by now (in libtool), but require it now just to be safe...
112994 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112995 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112999 # The name set by libtool depends on the version of libtool. Shame on us
113000 # for depending on an impl detail, but c'est la vie. Older versions used
113001 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113002 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113003 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
113004 # set (hence we're using an older libtool), then set it.
113005 if test x${with_gnu_ld+set} != xset; then
113006 if test x${ac_cv_prog_gnu_ld+set} != xset; then
113007 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
113008 with_gnu_ld=no
113010 with_gnu_ld=$ac_cv_prog_gnu_ld
113014 # Start by getting the version number. I think the libtool test already
113015 # does some of this, but throws away the result.
113016 if test x"$with_gnu_ld" = x"yes"; then
113017 echo "$as_me:$LINENO: checking for ld version" >&5
113018 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113020 ldver=`$LD --version 2>/dev/null | head -1 | \
113021 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
113023 glibcxx_gnu_ld_version=`echo $ldver | \
113024 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113025 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113026 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113029 # Set --gc-sections.
113030 glibcxx_gcsections_min_ld=21602
113031 if test x"$with_gnu_ld" = x"yes" &&
113032 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113034 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
113035 # NB: This flag only works reliably after 2.16.1. Configure tests
113036 # for this are difficult, so hard wire a value that should work.
113038 ac_test_CFLAGS="${CFLAGS+set}"
113039 ac_save_CFLAGS="$CFLAGS"
113040 CFLAGS='-Wl,--gc-sections'
113042 # Check for -Wl,--gc-sections
113043 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113044 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113045 if test x$gcc_no_link = xyes; then
113046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113048 { (exit 1); exit 1; }; }
113050 cat >conftest.$ac_ext <<_ACEOF
113051 /* confdefs.h. */
113052 _ACEOF
113053 cat confdefs.h >>conftest.$ac_ext
113054 cat >>conftest.$ac_ext <<_ACEOF
113055 /* end confdefs.h. */
113056 int one(void) { return 1; }
113057 int two(void) { return 2; }
113060 main ()
113062 two();
113064 return 0;
113066 _ACEOF
113067 rm -f conftest.$ac_objext conftest$ac_exeext
113068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113069 (eval $ac_link) 2>conftest.er1
113070 ac_status=$?
113071 grep -v '^ *+' conftest.er1 >conftest.err
113072 rm -f conftest.er1
113073 cat conftest.err >&5
113074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113075 (exit $ac_status); } &&
113076 { ac_try='test -z "$ac_c_werror_flag"
113077 || test ! -s conftest.err'
113078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113079 (eval $ac_try) 2>&5
113080 ac_status=$?
113081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113082 (exit $ac_status); }; } &&
113083 { ac_try='test -s conftest$ac_exeext'
113084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113085 (eval $ac_try) 2>&5
113086 ac_status=$?
113087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113088 (exit $ac_status); }; }; then
113089 ac_gcsections=yes
113091 echo "$as_me: failed program was:" >&5
113092 sed 's/^/| /' conftest.$ac_ext >&5
113094 ac_gcsections=no
113096 rm -f conftest.err conftest.$ac_objext \
113097 conftest$ac_exeext conftest.$ac_ext
113098 if test "$ac_gcsections" = "yes"; then
113099 rm -f conftest.c
113100 touch conftest.c
113101 if $CC -c conftest.c; then
113102 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113103 grep "Warning: gc-sections option ignored" > /dev/null; then
113104 ac_gcsections=no
113107 rm -f conftest.c conftest.o conftest
113109 if test "$ac_gcsections" = "yes"; then
113110 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113112 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113113 echo "${ECHO_T}$ac_gcsections" >&6
113115 if test "$ac_test_CFLAGS" = set; then
113116 CFLAGS="$ac_save_CFLAGS"
113118 # this is the suspicious part
113119 CFLAGS=''
113123 # Set -z,relro.
113124 # Note this is only for shared objects.
113125 ac_ld_relro=no
113126 if test x"$with_gnu_ld" = x"yes"; then
113127 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113128 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113129 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113130 if test -n "$cxx_z_relo"; then
113131 OPT_LDFLAGS="-Wl,-z,relro"
113132 ac_ld_relro=yes
113134 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113135 echo "${ECHO_T}$ac_ld_relro" >&6
113138 # Set linker optimization flags.
113139 if test x"$with_gnu_ld" = x"yes"; then
113140 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113148 echo "$as_me:$LINENO: checking for main in -lm" >&5
113149 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113150 if test "${ac_cv_lib_m_main+set}" = set; then
113151 echo $ECHO_N "(cached) $ECHO_C" >&6
113153 ac_check_lib_save_LIBS=$LIBS
113154 LIBS="-lm $LIBS"
113155 if test x$gcc_no_link = xyes; then
113156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113158 { (exit 1); exit 1; }; }
113160 cat >conftest.$ac_ext <<_ACEOF
113161 /* confdefs.h. */
113162 _ACEOF
113163 cat confdefs.h >>conftest.$ac_ext
113164 cat >>conftest.$ac_ext <<_ACEOF
113165 /* end confdefs.h. */
113169 main ()
113171 main ();
113173 return 0;
113175 _ACEOF
113176 rm -f conftest.$ac_objext conftest$ac_exeext
113177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113178 (eval $ac_link) 2>conftest.er1
113179 ac_status=$?
113180 grep -v '^ *+' conftest.er1 >conftest.err
113181 rm -f conftest.er1
113182 cat conftest.err >&5
113183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113184 (exit $ac_status); } &&
113185 { ac_try='test -z "$ac_c_werror_flag"
113186 || test ! -s conftest.err'
113187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113188 (eval $ac_try) 2>&5
113189 ac_status=$?
113190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113191 (exit $ac_status); }; } &&
113192 { ac_try='test -s conftest$ac_exeext'
113193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113194 (eval $ac_try) 2>&5
113195 ac_status=$?
113196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113197 (exit $ac_status); }; }; then
113198 ac_cv_lib_m_main=yes
113200 echo "$as_me: failed program was:" >&5
113201 sed 's/^/| /' conftest.$ac_ext >&5
113203 ac_cv_lib_m_main=no
113205 rm -f conftest.err conftest.$ac_objext \
113206 conftest$ac_exeext conftest.$ac_ext
113207 LIBS=$ac_check_lib_save_LIBS
113209 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113210 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113211 if test $ac_cv_lib_m_main = yes; then
113212 cat >>confdefs.h <<_ACEOF
113213 #define HAVE_LIBM 1
113214 _ACEOF
113216 LIBS="-lm $LIBS"
113221 for ac_func in copysignf
113223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113224 echo "$as_me:$LINENO: checking for $ac_func" >&5
113225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113226 if eval "test \"\${$as_ac_var+set}\" = set"; then
113227 echo $ECHO_N "(cached) $ECHO_C" >&6
113229 if test x$gcc_no_link = xyes; then
113230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113232 { (exit 1); exit 1; }; }
113234 cat >conftest.$ac_ext <<_ACEOF
113235 /* confdefs.h. */
113236 _ACEOF
113237 cat confdefs.h >>conftest.$ac_ext
113238 cat >>conftest.$ac_ext <<_ACEOF
113239 /* end confdefs.h. */
113240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113242 #define $ac_func innocuous_$ac_func
113244 /* System header to define __stub macros and hopefully few prototypes,
113245 which can conflict with char $ac_func (); below.
113246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113247 <limits.h> exists even on freestanding compilers. */
113249 #ifdef __STDC__
113250 # include <limits.h>
113251 #else
113252 # include <assert.h>
113253 #endif
113255 #undef $ac_func
113257 /* Override any gcc2 internal prototype to avoid an error. */
113258 #ifdef __cplusplus
113259 extern "C"
113261 #endif
113262 /* We use char because int might match the return type of a gcc2
113263 builtin and then its argument prototype would still apply. */
113264 char $ac_func ();
113265 /* The GNU C library defines this for functions which it implements
113266 to always fail with ENOSYS. Some functions are actually named
113267 something starting with __ and the normal name is an alias. */
113268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113269 choke me
113270 #else
113271 char (*f) () = $ac_func;
113272 #endif
113273 #ifdef __cplusplus
113275 #endif
113278 main ()
113280 return f != $ac_func;
113282 return 0;
113284 _ACEOF
113285 rm -f conftest.$ac_objext conftest$ac_exeext
113286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113287 (eval $ac_link) 2>conftest.er1
113288 ac_status=$?
113289 grep -v '^ *+' conftest.er1 >conftest.err
113290 rm -f conftest.er1
113291 cat conftest.err >&5
113292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113293 (exit $ac_status); } &&
113294 { ac_try='test -z "$ac_c_werror_flag"
113295 || test ! -s conftest.err'
113296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113297 (eval $ac_try) 2>&5
113298 ac_status=$?
113299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113300 (exit $ac_status); }; } &&
113301 { ac_try='test -s conftest$ac_exeext'
113302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113303 (eval $ac_try) 2>&5
113304 ac_status=$?
113305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113306 (exit $ac_status); }; }; then
113307 eval "$as_ac_var=yes"
113309 echo "$as_me: failed program was:" >&5
113310 sed 's/^/| /' conftest.$ac_ext >&5
113312 eval "$as_ac_var=no"
113314 rm -f conftest.err conftest.$ac_objext \
113315 conftest$ac_exeext conftest.$ac_ext
113317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113319 if test `eval echo '${'$as_ac_var'}'` = yes; then
113320 cat >>confdefs.h <<_ACEOF
113321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113322 _ACEOF
113325 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
113331 for ac_func in __signbit
113333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113334 echo "$as_me:$LINENO: checking for $ac_func" >&5
113335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113336 if eval "test \"\${$as_ac_var+set}\" = set"; then
113337 echo $ECHO_N "(cached) $ECHO_C" >&6
113339 if test x$gcc_no_link = xyes; then
113340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113342 { (exit 1); exit 1; }; }
113344 cat >conftest.$ac_ext <<_ACEOF
113345 /* confdefs.h. */
113346 _ACEOF
113347 cat confdefs.h >>conftest.$ac_ext
113348 cat >>conftest.$ac_ext <<_ACEOF
113349 /* end confdefs.h. */
113350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113352 #define $ac_func innocuous_$ac_func
113354 /* System header to define __stub macros and hopefully few prototypes,
113355 which can conflict with char $ac_func (); below.
113356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113357 <limits.h> exists even on freestanding compilers. */
113359 #ifdef __STDC__
113360 # include <limits.h>
113361 #else
113362 # include <assert.h>
113363 #endif
113365 #undef $ac_func
113367 /* Override any gcc2 internal prototype to avoid an error. */
113368 #ifdef __cplusplus
113369 extern "C"
113371 #endif
113372 /* We use char because int might match the return type of a gcc2
113373 builtin and then its argument prototype would still apply. */
113374 char $ac_func ();
113375 /* The GNU C library defines this for functions which it implements
113376 to always fail with ENOSYS. Some functions are actually named
113377 something starting with __ and the normal name is an alias. */
113378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113379 choke me
113380 #else
113381 char (*f) () = $ac_func;
113382 #endif
113383 #ifdef __cplusplus
113385 #endif
113388 main ()
113390 return f != $ac_func;
113392 return 0;
113394 _ACEOF
113395 rm -f conftest.$ac_objext conftest$ac_exeext
113396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113397 (eval $ac_link) 2>conftest.er1
113398 ac_status=$?
113399 grep -v '^ *+' conftest.er1 >conftest.err
113400 rm -f conftest.er1
113401 cat conftest.err >&5
113402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113403 (exit $ac_status); } &&
113404 { ac_try='test -z "$ac_c_werror_flag"
113405 || test ! -s conftest.err'
113406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113407 (eval $ac_try) 2>&5
113408 ac_status=$?
113409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113410 (exit $ac_status); }; } &&
113411 { ac_try='test -s conftest$ac_exeext'
113412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113413 (eval $ac_try) 2>&5
113414 ac_status=$?
113415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113416 (exit $ac_status); }; }; then
113417 eval "$as_ac_var=yes"
113419 echo "$as_me: failed program was:" >&5
113420 sed 's/^/| /' conftest.$ac_ext >&5
113422 eval "$as_ac_var=no"
113424 rm -f conftest.err conftest.$ac_objext \
113425 conftest$ac_exeext conftest.$ac_ext
113427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113429 if test `eval echo '${'$as_ac_var'}'` = yes; then
113430 cat >>confdefs.h <<_ACEOF
113431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113432 _ACEOF
113435 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
113441 for ac_func in __signbitf
113443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113444 echo "$as_me:$LINENO: checking for $ac_func" >&5
113445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113446 if eval "test \"\${$as_ac_var+set}\" = set"; then
113447 echo $ECHO_N "(cached) $ECHO_C" >&6
113449 if test x$gcc_no_link = xyes; then
113450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113452 { (exit 1); exit 1; }; }
113454 cat >conftest.$ac_ext <<_ACEOF
113455 /* confdefs.h. */
113456 _ACEOF
113457 cat confdefs.h >>conftest.$ac_ext
113458 cat >>conftest.$ac_ext <<_ACEOF
113459 /* end confdefs.h. */
113460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113462 #define $ac_func innocuous_$ac_func
113464 /* System header to define __stub macros and hopefully few prototypes,
113465 which can conflict with char $ac_func (); below.
113466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113467 <limits.h> exists even on freestanding compilers. */
113469 #ifdef __STDC__
113470 # include <limits.h>
113471 #else
113472 # include <assert.h>
113473 #endif
113475 #undef $ac_func
113477 /* Override any gcc2 internal prototype to avoid an error. */
113478 #ifdef __cplusplus
113479 extern "C"
113481 #endif
113482 /* We use char because int might match the return type of a gcc2
113483 builtin and then its argument prototype would still apply. */
113484 char $ac_func ();
113485 /* The GNU C library defines this for functions which it implements
113486 to always fail with ENOSYS. Some functions are actually named
113487 something starting with __ and the normal name is an alias. */
113488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113489 choke me
113490 #else
113491 char (*f) () = $ac_func;
113492 #endif
113493 #ifdef __cplusplus
113495 #endif
113498 main ()
113500 return f != $ac_func;
113502 return 0;
113504 _ACEOF
113505 rm -f conftest.$ac_objext conftest$ac_exeext
113506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113507 (eval $ac_link) 2>conftest.er1
113508 ac_status=$?
113509 grep -v '^ *+' conftest.er1 >conftest.err
113510 rm -f conftest.er1
113511 cat conftest.err >&5
113512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113513 (exit $ac_status); } &&
113514 { ac_try='test -z "$ac_c_werror_flag"
113515 || test ! -s conftest.err'
113516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113517 (eval $ac_try) 2>&5
113518 ac_status=$?
113519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113520 (exit $ac_status); }; } &&
113521 { ac_try='test -s conftest$ac_exeext'
113522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113523 (eval $ac_try) 2>&5
113524 ac_status=$?
113525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113526 (exit $ac_status); }; }; then
113527 eval "$as_ac_var=yes"
113529 echo "$as_me: failed program was:" >&5
113530 sed 's/^/| /' conftest.$ac_ext >&5
113532 eval "$as_ac_var=no"
113534 rm -f conftest.err conftest.$ac_objext \
113535 conftest$ac_exeext conftest.$ac_ext
113537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113539 if test `eval echo '${'$as_ac_var'}'` = yes; then
113540 cat >>confdefs.h <<_ACEOF
113541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113542 _ACEOF
113545 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113550 if test x$ac_cv_func_copysignl = x"yes"; then
113552 for ac_func in __signbitl
113554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113555 echo "$as_me:$LINENO: checking for $ac_func" >&5
113556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113557 if eval "test \"\${$as_ac_var+set}\" = set"; then
113558 echo $ECHO_N "(cached) $ECHO_C" >&6
113560 if test x$gcc_no_link = xyes; then
113561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113563 { (exit 1); exit 1; }; }
113565 cat >conftest.$ac_ext <<_ACEOF
113566 /* confdefs.h. */
113567 _ACEOF
113568 cat confdefs.h >>conftest.$ac_ext
113569 cat >>conftest.$ac_ext <<_ACEOF
113570 /* end confdefs.h. */
113571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113573 #define $ac_func innocuous_$ac_func
113575 /* System header to define __stub macros and hopefully few prototypes,
113576 which can conflict with char $ac_func (); below.
113577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113578 <limits.h> exists even on freestanding compilers. */
113580 #ifdef __STDC__
113581 # include <limits.h>
113582 #else
113583 # include <assert.h>
113584 #endif
113586 #undef $ac_func
113588 /* Override any gcc2 internal prototype to avoid an error. */
113589 #ifdef __cplusplus
113590 extern "C"
113592 #endif
113593 /* We use char because int might match the return type of a gcc2
113594 builtin and then its argument prototype would still apply. */
113595 char $ac_func ();
113596 /* The GNU C library defines this for functions which it implements
113597 to always fail with ENOSYS. Some functions are actually named
113598 something starting with __ and the normal name is an alias. */
113599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113600 choke me
113601 #else
113602 char (*f) () = $ac_func;
113603 #endif
113604 #ifdef __cplusplus
113606 #endif
113609 main ()
113611 return f != $ac_func;
113613 return 0;
113615 _ACEOF
113616 rm -f conftest.$ac_objext conftest$ac_exeext
113617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113618 (eval $ac_link) 2>conftest.er1
113619 ac_status=$?
113620 grep -v '^ *+' conftest.er1 >conftest.err
113621 rm -f conftest.er1
113622 cat conftest.err >&5
113623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113624 (exit $ac_status); } &&
113625 { ac_try='test -z "$ac_c_werror_flag"
113626 || test ! -s conftest.err'
113627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113628 (eval $ac_try) 2>&5
113629 ac_status=$?
113630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113631 (exit $ac_status); }; } &&
113632 { ac_try='test -s conftest$ac_exeext'
113633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113634 (eval $ac_try) 2>&5
113635 ac_status=$?
113636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113637 (exit $ac_status); }; }; then
113638 eval "$as_ac_var=yes"
113640 echo "$as_me: failed program was:" >&5
113641 sed 's/^/| /' conftest.$ac_ext >&5
113643 eval "$as_ac_var=no"
113645 rm -f conftest.err conftest.$ac_objext \
113646 conftest$ac_exeext conftest.$ac_ext
113648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113650 if test `eval echo '${'$as_ac_var'}'` = yes; then
113651 cat >>confdefs.h <<_ACEOF
113652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113653 _ACEOF
113656 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113662 # Used in libmath/Makefile.am.
113663 if test -n "$LIBMATHOBJS"; then
113664 need_libmath=yes
113668 cat >>confdefs.h <<\_ACEOF
113669 #define HAVE_COPYSIGN 1
113670 _ACEOF
113672 cat >>confdefs.h <<\_ACEOF
113673 #define HAVE_COPYSIGNF 1
113674 _ACEOF
113676 cat >>confdefs.h <<\_ACEOF
113677 #define HAVE_FINITE 1
113678 _ACEOF
113680 cat >>confdefs.h <<\_ACEOF
113681 #define HAVE_FINITEF 1
113682 _ACEOF
113684 cat >>confdefs.h <<\_ACEOF
113685 #define HAVE_FREXPF 1
113686 _ACEOF
113688 cat >>confdefs.h <<\_ACEOF
113689 #define HAVE_HYPOTF 1
113690 _ACEOF
113692 cat >>confdefs.h <<\_ACEOF
113693 #define HAVE_ISINF 1
113694 _ACEOF
113696 cat >>confdefs.h <<\_ACEOF
113697 #define HAVE_ISINFF 1
113698 _ACEOF
113700 cat >>confdefs.h <<\_ACEOF
113701 #define HAVE_ISNAN 1
113702 _ACEOF
113704 cat >>confdefs.h <<\_ACEOF
113705 #define HAVE_ISNANF 1
113706 _ACEOF
113708 cat >>confdefs.h <<\_ACEOF
113709 #define HAVE_SINCOS 1
113710 _ACEOF
113712 cat >>confdefs.h <<\_ACEOF
113713 #define HAVE_SINCOSF 1
113714 _ACEOF
113716 if test x"long_double_math_on_this_cpu" = x"yes"; then
113717 cat >>confdefs.h <<\_ACEOF
113718 #define HAVE_FINITEL 1
113719 _ACEOF
113721 cat >>confdefs.h <<\_ACEOF
113722 #define HAVE_HYPOTL 1
113723 _ACEOF
113725 cat >>confdefs.h <<\_ACEOF
113726 #define HAVE_ISINFL 1
113727 _ACEOF
113729 cat >>confdefs.h <<\_ACEOF
113730 #define HAVE_ISNANL 1
113731 _ACEOF
113735 *-vxworks)
113736 cat >>confdefs.h <<\_ACEOF
113737 #define HAVE_MMAP 1
113738 _ACEOF
113740 cat >>confdefs.h <<\_ACEOF
113741 #define HAVE_ACOSF 1
113742 _ACEOF
113744 cat >>confdefs.h <<\_ACEOF
113745 #define HAVE_ASINF 1
113746 _ACEOF
113748 cat >>confdefs.h <<\_ACEOF
113749 #define HAVE_ATAN2F 1
113750 _ACEOF
113752 cat >>confdefs.h <<\_ACEOF
113753 #define HAVE_ATANF 1
113754 _ACEOF
113756 cat >>confdefs.h <<\_ACEOF
113757 #define HAVE_CEILF 1
113758 _ACEOF
113760 cat >>confdefs.h <<\_ACEOF
113761 #define HAVE_COSF 1
113762 _ACEOF
113764 cat >>confdefs.h <<\_ACEOF
113765 #define HAVE_COSHF 1
113766 _ACEOF
113768 cat >>confdefs.h <<\_ACEOF
113769 #define HAVE_EXPF 1
113770 _ACEOF
113772 cat >>confdefs.h <<\_ACEOF
113773 #define HAVE_FABSF 1
113774 _ACEOF
113776 cat >>confdefs.h <<\_ACEOF
113777 #define HAVE_FLOORF 1
113778 _ACEOF
113780 cat >>confdefs.h <<\_ACEOF
113781 #define HAVE_FMODF 1
113782 _ACEOF
113784 cat >>confdefs.h <<\_ACEOF
113785 #define HAVE_HYPOT 1
113786 _ACEOF
113788 cat >>confdefs.h <<\_ACEOF
113789 #define HAVE_LOG10F 1
113790 _ACEOF
113792 cat >>confdefs.h <<\_ACEOF
113793 #define HAVE_LOGF 1
113794 _ACEOF
113796 cat >>confdefs.h <<\_ACEOF
113797 #define HAVE_POWF 1
113798 _ACEOF
113800 cat >>confdefs.h <<\_ACEOF
113801 #define HAVE_SINF 1
113802 _ACEOF
113804 cat >>confdefs.h <<\_ACEOF
113805 #define HAVE_SINHF 1
113806 _ACEOF
113808 cat >>confdefs.h <<\_ACEOF
113809 #define HAVE_SQRTF 1
113810 _ACEOF
113812 cat >>confdefs.h <<\_ACEOF
113813 #define HAVE_TANF 1
113814 _ACEOF
113816 cat >>confdefs.h <<\_ACEOF
113817 #define HAVE_TANHF 1
113818 _ACEOF
113821 *-windiss*)
113822 cat >>confdefs.h <<\_ACEOF
113823 #define HAVE_ACOSF 1
113824 _ACEOF
113826 cat >>confdefs.h <<\_ACEOF
113827 #define HAVE_ACOSL 1
113828 _ACEOF
113830 cat >>confdefs.h <<\_ACEOF
113831 #define HAVE_ASINF 1
113832 _ACEOF
113834 cat >>confdefs.h <<\_ACEOF
113835 #define HAVE_ASINL 1
113836 _ACEOF
113838 cat >>confdefs.h <<\_ACEOF
113839 #define HAVE_ATAN2F 1
113840 _ACEOF
113842 cat >>confdefs.h <<\_ACEOF
113843 #define HAVE_ATAN2L 1
113844 _ACEOF
113846 cat >>confdefs.h <<\_ACEOF
113847 #define HAVE_ATANF 1
113848 _ACEOF
113850 cat >>confdefs.h <<\_ACEOF
113851 #define HAVE_ATANL 1
113852 _ACEOF
113854 cat >>confdefs.h <<\_ACEOF
113855 #define HAVE_CEILF 1
113856 _ACEOF
113858 cat >>confdefs.h <<\_ACEOF
113859 #define HAVE_CEILL 1
113860 _ACEOF
113862 cat >>confdefs.h <<\_ACEOF
113863 #define HAVE_COPYSIGN 1
113864 _ACEOF
113866 cat >>confdefs.h <<\_ACEOF
113867 #define HAVE_COPYSIGNF 1
113868 _ACEOF
113870 cat >>confdefs.h <<\_ACEOF
113871 #define HAVE_COSF 1
113872 _ACEOF
113874 cat >>confdefs.h <<\_ACEOF
113875 #define HAVE_COSL 1
113876 _ACEOF
113878 cat >>confdefs.h <<\_ACEOF
113879 #define HAVE_COSHF 1
113880 _ACEOF
113882 cat >>confdefs.h <<\_ACEOF
113883 #define HAVE_COSHL 1
113884 _ACEOF
113886 cat >>confdefs.h <<\_ACEOF
113887 #define HAVE_EXPF 1
113888 _ACEOF
113890 cat >>confdefs.h <<\_ACEOF
113891 #define HAVE_EXPL 1
113892 _ACEOF
113894 cat >>confdefs.h <<\_ACEOF
113895 #define HAVE_FABSF 1
113896 _ACEOF
113898 cat >>confdefs.h <<\_ACEOF
113899 #define HAVE_FABSL 1
113900 _ACEOF
113902 cat >>confdefs.h <<\_ACEOF
113903 #define HAVE_FLOORF 1
113904 _ACEOF
113906 cat >>confdefs.h <<\_ACEOF
113907 #define HAVE_FLOORL 1
113908 _ACEOF
113910 cat >>confdefs.h <<\_ACEOF
113911 #define HAVE_FMODF 1
113912 _ACEOF
113914 cat >>confdefs.h <<\_ACEOF
113915 #define HAVE_FMODL 1
113916 _ACEOF
113918 cat >>confdefs.h <<\_ACEOF
113919 #define HAVE_FREXPF 1
113920 _ACEOF
113922 cat >>confdefs.h <<\_ACEOF
113923 #define HAVE_FREXPL 1
113924 _ACEOF
113926 cat >>confdefs.h <<\_ACEOF
113927 #define HAVE_LDEXPF 1
113928 _ACEOF
113930 cat >>confdefs.h <<\_ACEOF
113931 #define HAVE_LDEXPL 1
113932 _ACEOF
113934 cat >>confdefs.h <<\_ACEOF
113935 #define HAVE_LOG10F 1
113936 _ACEOF
113938 cat >>confdefs.h <<\_ACEOF
113939 #define HAVE_LOG10L 1
113940 _ACEOF
113942 cat >>confdefs.h <<\_ACEOF
113943 #define HAVE_LOGF 1
113944 _ACEOF
113946 cat >>confdefs.h <<\_ACEOF
113947 #define HAVE_MODFF 1
113948 _ACEOF
113950 cat >>confdefs.h <<\_ACEOF
113951 #define HAVE_MODFL 1
113952 _ACEOF
113954 cat >>confdefs.h <<\_ACEOF
113955 #define HAVE_POWF 1
113956 _ACEOF
113958 cat >>confdefs.h <<\_ACEOF
113959 #define HAVE_POWL 1
113960 _ACEOF
113962 cat >>confdefs.h <<\_ACEOF
113963 #define HAVE_SINF 1
113964 _ACEOF
113966 cat >>confdefs.h <<\_ACEOF
113967 #define HAVE_SINL 1
113968 _ACEOF
113970 cat >>confdefs.h <<\_ACEOF
113971 #define HAVE_SINHF 1
113972 _ACEOF
113974 cat >>confdefs.h <<\_ACEOF
113975 #define HAVE_SINHL 1
113976 _ACEOF
113978 cat >>confdefs.h <<\_ACEOF
113979 #define HAVE_SQRTF 1
113980 _ACEOF
113982 cat >>confdefs.h <<\_ACEOF
113983 #define HAVE_SQRTL 1
113984 _ACEOF
113986 cat >>confdefs.h <<\_ACEOF
113987 #define HAVE_TANF 1
113988 _ACEOF
113990 cat >>confdefs.h <<\_ACEOF
113991 #define HAVE_TANL 1
113992 _ACEOF
113994 cat >>confdefs.h <<\_ACEOF
113995 #define HAVE_TANHF 1
113996 _ACEOF
113998 cat >>confdefs.h <<\_ACEOF
113999 #define HAVE_TANHL 1
114000 _ACEOF
114004 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
114005 echo "$as_me: error: No support for this host/target combination." >&2;}
114006 { (exit 1); exit 1; }; }
114012 # At some point, we should differentiate between architectures
114013 # like x86, which have long double versions, and alpha/powerpc/etc.,
114014 # which don't. For the time being, punt.
114015 if test x"long_double_math_on_this_cpu" = x"yes"; then
114016 cat >>confdefs.h <<\_ACEOF
114017 #define HAVE_ACOSL 1
114018 _ACEOF
114020 cat >>confdefs.h <<\_ACEOF
114021 #define HAVE_ASINL 1
114022 _ACEOF
114024 cat >>confdefs.h <<\_ACEOF
114025 #define HAVE_ATAN2L 1
114026 _ACEOF
114028 cat >>confdefs.h <<\_ACEOF
114029 #define HAVE_ATANL 1
114030 _ACEOF
114032 cat >>confdefs.h <<\_ACEOF
114033 #define HAVE_CEILL 1
114034 _ACEOF
114036 cat >>confdefs.h <<\_ACEOF
114037 #define HAVE_COPYSIGNL 1
114038 _ACEOF
114040 cat >>confdefs.h <<\_ACEOF
114041 #define HAVE_COSL 1
114042 _ACEOF
114044 cat >>confdefs.h <<\_ACEOF
114045 #define HAVE_COSHL 1
114046 _ACEOF
114048 cat >>confdefs.h <<\_ACEOF
114049 #define HAVE_EXPL 1
114050 _ACEOF
114052 cat >>confdefs.h <<\_ACEOF
114053 #define HAVE_FABSL 1
114054 _ACEOF
114056 cat >>confdefs.h <<\_ACEOF
114057 #define HAVE_FLOORL 1
114058 _ACEOF
114060 cat >>confdefs.h <<\_ACEOF
114061 #define HAVE_FMODL 1
114062 _ACEOF
114064 cat >>confdefs.h <<\_ACEOF
114065 #define HAVE_FREXPL 1
114066 _ACEOF
114068 cat >>confdefs.h <<\_ACEOF
114069 #define HAVE_LDEXPL 1
114070 _ACEOF
114072 cat >>confdefs.h <<\_ACEOF
114073 #define HAVE_LOG10L 1
114074 _ACEOF
114076 cat >>confdefs.h <<\_ACEOF
114077 #define HAVE_LOGL 1
114078 _ACEOF
114080 cat >>confdefs.h <<\_ACEOF
114081 #define HAVE_MODFL 1
114082 _ACEOF
114084 cat >>confdefs.h <<\_ACEOF
114085 #define HAVE_POWL 1
114086 _ACEOF
114088 cat >>confdefs.h <<\_ACEOF
114089 #define HAVE_SINCOSL 1
114090 _ACEOF
114092 cat >>confdefs.h <<\_ACEOF
114093 #define HAVE_SINL 1
114094 _ACEOF
114096 cat >>confdefs.h <<\_ACEOF
114097 #define HAVE_SINHL 1
114098 _ACEOF
114100 cat >>confdefs.h <<\_ACEOF
114101 #define HAVE_SQRTL 1
114102 _ACEOF
114104 cat >>confdefs.h <<\_ACEOF
114105 #define HAVE_TANL 1
114106 _ACEOF
114108 cat >>confdefs.h <<\_ACEOF
114109 #define HAVE_TANHL 1
114110 _ACEOF
114114 # Assume we have _Unwind_GetIPInfo for cross-compiles.
114115 cat >>confdefs.h <<\_ACEOF
114116 #define HAVE_GETIPINFO 1
114117 _ACEOF
114122 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
114125 # Check whether --enable-symvers or --disable-symvers was given.
114126 if test "${enable_symvers+set}" = set; then
114127 enableval="$enable_symvers"
114129 case "$enableval" in
114130 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
114131 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
114132 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
114133 { (exit 1); exit 1; }; } ;;
114137 enable_symvers=yes
114141 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
114142 # don't know enough about $LD to do tricks...
114145 # Turn a 'yes' into a suitable default.
114146 if test x$enable_symvers = xyes ; then
114147 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
114148 enable_symvers=no
114150 if test $with_gnu_ld = yes ; then
114151 enable_symvers=gnu
114153 case ${target_os} in
114154 darwin*)
114155 enable_symvers=darwin ;;
114157 enable_symvers=no ;;
114163 # Check to see if 'darwin' or 'darwin-export' can win.
114164 if test x$enable_symvers = xdarwin-export ; then
114165 enable_symvers=darwin
114168 # Check to see if 'gnu' can win.
114169 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
114170 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
114171 echo "$as_me:$LINENO: checking for shared libgcc" >&5
114172 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
114173 ac_save_CFLAGS="$CFLAGS"
114174 CFLAGS=' -lgcc_s'
114175 if test x$gcc_no_link = xyes; then
114176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114178 { (exit 1); exit 1; }; }
114180 cat >conftest.$ac_ext <<_ACEOF
114181 /* confdefs.h. */
114182 _ACEOF
114183 cat confdefs.h >>conftest.$ac_ext
114184 cat >>conftest.$ac_ext <<_ACEOF
114185 /* end confdefs.h. */
114188 main ()
114190 return 0;
114192 return 0;
114194 _ACEOF
114195 rm -f conftest.$ac_objext conftest$ac_exeext
114196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114197 (eval $ac_link) 2>conftest.er1
114198 ac_status=$?
114199 grep -v '^ *+' conftest.er1 >conftest.err
114200 rm -f conftest.er1
114201 cat conftest.err >&5
114202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114203 (exit $ac_status); } &&
114204 { ac_try='test -z "$ac_c_werror_flag"
114205 || test ! -s conftest.err'
114206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114207 (eval $ac_try) 2>&5
114208 ac_status=$?
114209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114210 (exit $ac_status); }; } &&
114211 { ac_try='test -s conftest$ac_exeext'
114212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114213 (eval $ac_try) 2>&5
114214 ac_status=$?
114215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114216 (exit $ac_status); }; }; then
114217 glibcxx_shared_libgcc=yes
114219 echo "$as_me: failed program was:" >&5
114220 sed 's/^/| /' conftest.$ac_ext >&5
114222 glibcxx_shared_libgcc=no
114224 rm -f conftest.err conftest.$ac_objext \
114225 conftest$ac_exeext conftest.$ac_ext
114226 CFLAGS="$ac_save_CFLAGS"
114227 if test $glibcxx_shared_libgcc = no; then
114228 cat > conftest.c <<EOF
114229 int main (void) { return 0; }
114231 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
114232 -shared -shared-libgcc -o conftest.so \
114233 conftest.c -v 2>&1 >/dev/null \
114234 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
114235 rm -f conftest.c conftest.so
114236 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
114237 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
114238 if test x$gcc_no_link = xyes; then
114239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114241 { (exit 1); exit 1; }; }
114243 cat >conftest.$ac_ext <<_ACEOF
114244 /* confdefs.h. */
114245 _ACEOF
114246 cat confdefs.h >>conftest.$ac_ext
114247 cat >>conftest.$ac_ext <<_ACEOF
114248 /* end confdefs.h. */
114251 main ()
114253 return 0;
114255 return 0;
114257 _ACEOF
114258 rm -f conftest.$ac_objext conftest$ac_exeext
114259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114260 (eval $ac_link) 2>conftest.er1
114261 ac_status=$?
114262 grep -v '^ *+' conftest.er1 >conftest.err
114263 rm -f conftest.er1
114264 cat conftest.err >&5
114265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114266 (exit $ac_status); } &&
114267 { ac_try='test -z "$ac_c_werror_flag"
114268 || test ! -s conftest.err'
114269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114270 (eval $ac_try) 2>&5
114271 ac_status=$?
114272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114273 (exit $ac_status); }; } &&
114274 { ac_try='test -s conftest$ac_exeext'
114275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114276 (eval $ac_try) 2>&5
114277 ac_status=$?
114278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114279 (exit $ac_status); }; }; then
114280 glibcxx_shared_libgcc=yes
114282 echo "$as_me: failed program was:" >&5
114283 sed 's/^/| /' conftest.$ac_ext >&5
114286 rm -f conftest.err conftest.$ac_objext \
114287 conftest$ac_exeext conftest.$ac_ext
114288 CFLAGS="$ac_save_CFLAGS"
114291 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
114292 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
114294 # For GNU ld, we need at least this version. The format is described in
114295 # GLIBCXX_CHECK_LINKER_FEATURES above.
114296 glibcxx_min_gnu_ld_version=21400
114298 # If no shared libgcc, can't win.
114299 if test $glibcxx_shared_libgcc != yes; then
114300 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
114301 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
114302 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
114303 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
114304 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
114305 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
114306 enable_symvers=no
114307 elif test $with_gnu_ld != yes ; then
114308 # just fail for now
114309 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
114310 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
114311 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
114312 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
114313 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
114314 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
114315 enable_symvers=no
114316 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
114317 # The right tools, the right setup, but too old. Fallbacks?
114318 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
114319 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
114320 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
114321 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
114322 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
114323 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
114324 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
114325 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
114326 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
114327 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
114328 enable_symvers=no
114332 # Everything parsed; figure out what file to use.
114333 case $enable_symvers in
114335 SYMVER_FILE=config/abi/pre/none.ver
114338 SYMVER_FILE=config/abi/pre/gnu.ver
114340 cat >>confdefs.h <<\_ACEOF
114341 #define _GLIBCXX_SYMVER_GNU 1
114342 _ACEOF
114345 gnu-versioned-namespace)
114346 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
114348 cat >>confdefs.h <<\_ACEOF
114349 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
114350 _ACEOF
114353 darwin)
114354 SYMVER_FILE=config/abi/pre/gnu.ver
114356 cat >>confdefs.h <<\_ACEOF
114357 #define _GLIBCXX_SYMVER_DARWIN 1
114358 _ACEOF
114363 if test x$enable_symvers != xno ; then
114365 cat >>confdefs.h <<\_ACEOF
114366 #define _GLIBCXX_SYMVER 1
114367 _ACEOF
114377 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
114378 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
114380 # Now, set up compatibility support, if any.
114381 # In addition, need this to deal with std::size_t mangling in
114382 # src/compatibility.cc. In a perfect world, could use
114383 # typeid(std::size_t).name()[0] to do direct substitution.
114384 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
114385 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
114386 ac_save_CFLAGS="$CFLAGS"
114387 CFLAGS="-Werror"
114388 cat >conftest.$ac_ext <<_ACEOF
114389 /* confdefs.h. */
114390 _ACEOF
114391 cat confdefs.h >>conftest.$ac_ext
114392 cat >>conftest.$ac_ext <<_ACEOF
114393 /* end confdefs.h. */
114396 main ()
114398 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
114400 return 0;
114402 _ACEOF
114403 rm -f conftest.$ac_objext
114404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114405 (eval $ac_compile) 2>conftest.er1
114406 ac_status=$?
114407 grep -v '^ *+' conftest.er1 >conftest.err
114408 rm -f conftest.er1
114409 cat conftest.err >&5
114410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114411 (exit $ac_status); } &&
114412 { ac_try='test -z "$ac_c_werror_flag"
114413 || test ! -s conftest.err'
114414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114415 (eval $ac_try) 2>&5
114416 ac_status=$?
114417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114418 (exit $ac_status); }; } &&
114419 { ac_try='test -s conftest.$ac_objext'
114420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114421 (eval $ac_try) 2>&5
114422 ac_status=$?
114423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114424 (exit $ac_status); }; }; then
114425 glibcxx_size_t_is_i=yes
114427 echo "$as_me: failed program was:" >&5
114428 sed 's/^/| /' conftest.$ac_ext >&5
114430 glibcxx_size_t_is_i=no
114432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114433 CFLAGS=$ac_save_CFLAGS
114434 if test "$glibcxx_size_t_is_i" = yes; then
114436 cat >>confdefs.h <<\_ACEOF
114437 #define _GLIBCXX_SIZE_T_IS_UINT 1
114438 _ACEOF
114441 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
114442 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
114444 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
114445 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
114446 ac_save_CFLAGS="$CFLAGS"
114447 CFLAGS="-Werror"
114448 cat >conftest.$ac_ext <<_ACEOF
114449 /* confdefs.h. */
114450 _ACEOF
114451 cat confdefs.h >>conftest.$ac_ext
114452 cat >>conftest.$ac_ext <<_ACEOF
114453 /* end confdefs.h. */
114456 main ()
114458 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
114460 return 0;
114462 _ACEOF
114463 rm -f conftest.$ac_objext
114464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114465 (eval $ac_compile) 2>conftest.er1
114466 ac_status=$?
114467 grep -v '^ *+' conftest.er1 >conftest.err
114468 rm -f conftest.er1
114469 cat conftest.err >&5
114470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114471 (exit $ac_status); } &&
114472 { ac_try='test -z "$ac_c_werror_flag"
114473 || test ! -s conftest.err'
114474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114475 (eval $ac_try) 2>&5
114476 ac_status=$?
114477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114478 (exit $ac_status); }; } &&
114479 { ac_try='test -s conftest.$ac_objext'
114480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114481 (eval $ac_try) 2>&5
114482 ac_status=$?
114483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114484 (exit $ac_status); }; }; then
114485 glibcxx_ptrdiff_t_is_i=yes
114487 echo "$as_me: failed program was:" >&5
114488 sed 's/^/| /' conftest.$ac_ext >&5
114490 glibcxx_ptrdiff_t_is_i=no
114492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114493 CFLAGS=$ac_save_CFLAGS
114494 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
114496 cat >>confdefs.h <<\_ACEOF
114497 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
114498 _ACEOF
114501 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
114502 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
114505 # Check whether --enable-visibility or --disable-visibility was given.
114506 if test "${enable_visibility+set}" = set; then
114507 enableval="$enable_visibility"
114509 case "$enableval" in
114510 yes|no) ;;
114511 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
114512 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
114513 { (exit 1); exit 1; }; } ;;
114517 enable_visibility=yes
114521 if test x$enable_visibility = xyes ; then
114522 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
114523 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
114524 if test "${have_attribute_visibility+set}" = set; then
114525 echo $ECHO_N "(cached) $ECHO_C" >&6
114528 save_CFLAGS="$CFLAGS"
114529 CFLAGS="$CFLAGS -Werror"
114530 cat >conftest.$ac_ext <<_ACEOF
114531 /* confdefs.h. */
114532 _ACEOF
114533 cat confdefs.h >>conftest.$ac_ext
114534 cat >>conftest.$ac_ext <<_ACEOF
114535 /* end confdefs.h. */
114536 void __attribute__((visibility("hidden"))) foo(void) { }
114538 main ()
114542 return 0;
114544 _ACEOF
114545 rm -f conftest.$ac_objext
114546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114547 (eval $ac_compile) 2>conftest.er1
114548 ac_status=$?
114549 grep -v '^ *+' conftest.er1 >conftest.err
114550 rm -f conftest.er1
114551 cat conftest.err >&5
114552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114553 (exit $ac_status); } &&
114554 { ac_try='test -z "$ac_c_werror_flag"
114555 || test ! -s conftest.err'
114556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114557 (eval $ac_try) 2>&5
114558 ac_status=$?
114559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114560 (exit $ac_status); }; } &&
114561 { ac_try='test -s conftest.$ac_objext'
114562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114563 (eval $ac_try) 2>&5
114564 ac_status=$?
114565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114566 (exit $ac_status); }; }; then
114567 have_attribute_visibility=yes
114569 echo "$as_me: failed program was:" >&5
114570 sed 's/^/| /' conftest.$ac_ext >&5
114572 have_attribute_visibility=no
114574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114575 CFLAGS="$save_CFLAGS"
114577 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
114578 echo "${ECHO_T}$have_attribute_visibility" >&6
114579 if test $have_attribute_visibility = no; then
114580 enable_visibility=no
114585 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
114586 echo "$as_me: visibility supported: $enable_visibility" >&6;}
114589 ac_ldbl_compat=no
114590 case "$target" in
114591 powerpc*-*-linux* | \
114592 powerpc*-*-gnu* | \
114593 sparc*-*-linux* | \
114594 s390*-*-linux* | \
114595 alpha*-*-linux*)
114596 cat >conftest.$ac_ext <<_ACEOF
114597 /* confdefs.h. */
114598 _ACEOF
114599 cat confdefs.h >>conftest.$ac_ext
114600 cat >>conftest.$ac_ext <<_ACEOF
114601 /* end confdefs.h. */
114604 main ()
114607 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
114608 #error no need for long double compatibility
114609 #endif
114612 return 0;
114614 _ACEOF
114615 rm -f conftest.$ac_objext
114616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114617 (eval $ac_compile) 2>conftest.er1
114618 ac_status=$?
114619 grep -v '^ *+' conftest.er1 >conftest.err
114620 rm -f conftest.er1
114621 cat conftest.err >&5
114622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114623 (exit $ac_status); } &&
114624 { ac_try='test -z "$ac_c_werror_flag"
114625 || test ! -s conftest.err'
114626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114627 (eval $ac_try) 2>&5
114628 ac_status=$?
114629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114630 (exit $ac_status); }; } &&
114631 { ac_try='test -s conftest.$ac_objext'
114632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114633 (eval $ac_try) 2>&5
114634 ac_status=$?
114635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114636 (exit $ac_status); }; }; then
114637 ac_ldbl_compat=yes
114639 echo "$as_me: failed program was:" >&5
114640 sed 's/^/| /' conftest.$ac_ext >&5
114642 ac_ldbl_compat=no
114644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114645 if test "$ac_ldbl_compat" = yes; then
114647 cat >>confdefs.h <<\_ACEOF
114648 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
114649 _ACEOF
114651 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
114656 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
114658 if $GLIBCXX_IS_NATIVE ; then
114659 # Do checks for resource limit functions.
114661 setrlimit_have_headers=yes
114665 for ac_header in unistd.h sys/time.h sys/resource.h
114667 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114669 echo "$as_me:$LINENO: checking for $ac_header" >&5
114670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114672 echo $ECHO_N "(cached) $ECHO_C" >&6
114674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114677 # Is the header compilable?
114678 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114679 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114680 cat >conftest.$ac_ext <<_ACEOF
114681 /* confdefs.h. */
114682 _ACEOF
114683 cat confdefs.h >>conftest.$ac_ext
114684 cat >>conftest.$ac_ext <<_ACEOF
114685 /* end confdefs.h. */
114686 $ac_includes_default
114687 #include <$ac_header>
114688 _ACEOF
114689 rm -f conftest.$ac_objext
114690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114691 (eval $ac_compile) 2>conftest.er1
114692 ac_status=$?
114693 grep -v '^ *+' conftest.er1 >conftest.err
114694 rm -f conftest.er1
114695 cat conftest.err >&5
114696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114697 (exit $ac_status); } &&
114698 { ac_try='test -z "$ac_c_werror_flag"
114699 || test ! -s conftest.err'
114700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114701 (eval $ac_try) 2>&5
114702 ac_status=$?
114703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114704 (exit $ac_status); }; } &&
114705 { ac_try='test -s conftest.$ac_objext'
114706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114707 (eval $ac_try) 2>&5
114708 ac_status=$?
114709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114710 (exit $ac_status); }; }; then
114711 ac_header_compiler=yes
114713 echo "$as_me: failed program was:" >&5
114714 sed 's/^/| /' conftest.$ac_ext >&5
114716 ac_header_compiler=no
114718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114719 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114720 echo "${ECHO_T}$ac_header_compiler" >&6
114722 # Is the header present?
114723 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114724 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114725 cat >conftest.$ac_ext <<_ACEOF
114726 /* confdefs.h. */
114727 _ACEOF
114728 cat confdefs.h >>conftest.$ac_ext
114729 cat >>conftest.$ac_ext <<_ACEOF
114730 /* end confdefs.h. */
114731 #include <$ac_header>
114732 _ACEOF
114733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114734 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114735 ac_status=$?
114736 grep -v '^ *+' conftest.er1 >conftest.err
114737 rm -f conftest.er1
114738 cat conftest.err >&5
114739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114740 (exit $ac_status); } >/dev/null; then
114741 if test -s conftest.err; then
114742 ac_cpp_err=$ac_c_preproc_warn_flag
114743 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114745 ac_cpp_err=
114748 ac_cpp_err=yes
114750 if test -z "$ac_cpp_err"; then
114751 ac_header_preproc=yes
114753 echo "$as_me: failed program was:" >&5
114754 sed 's/^/| /' conftest.$ac_ext >&5
114756 ac_header_preproc=no
114758 rm -f conftest.err conftest.$ac_ext
114759 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114760 echo "${ECHO_T}$ac_header_preproc" >&6
114762 # So? What about this header?
114763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114764 yes:no: )
114765 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114766 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114768 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114769 ac_header_preproc=yes
114771 no:yes:* )
114772 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114773 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114774 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
114775 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
114776 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114777 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114778 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
114779 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
114780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114781 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114782 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114783 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114785 cat <<\_ASBOX
114786 ## ----------------------------------------- ##
114787 ## Report this to the package-unused lists. ##
114788 ## ----------------------------------------- ##
114789 _ASBOX
114791 sed "s/^/$as_me: WARNING: /" >&2
114794 echo "$as_me:$LINENO: checking for $ac_header" >&5
114795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114797 echo $ECHO_N "(cached) $ECHO_C" >&6
114799 eval "$as_ac_Header=\$ac_header_preproc"
114801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114805 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114806 cat >>confdefs.h <<_ACEOF
114807 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114808 _ACEOF
114811 setrlimit_have_headers=no
114816 # If don't have the headers, then we can't run the tests now, and we
114817 # won't be seeing any of these during testsuite compilation.
114818 if test $setrlimit_have_headers = yes; then
114819 # Can't do these in a loop, else the resulting syntax is wrong.
114821 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
114822 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
114823 cat >conftest.$ac_ext <<_ACEOF
114824 /* confdefs.h. */
114825 _ACEOF
114826 cat confdefs.h >>conftest.$ac_ext
114827 cat >>conftest.$ac_ext <<_ACEOF
114828 /* end confdefs.h. */
114829 #include <unistd.h>
114830 #include <sys/time.h>
114831 #include <sys/resource.h>
114834 main ()
114836 int f = RLIMIT_DATA ;
114838 return 0;
114840 _ACEOF
114841 rm -f conftest.$ac_objext
114842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114843 (eval $ac_compile) 2>conftest.er1
114844 ac_status=$?
114845 grep -v '^ *+' conftest.er1 >conftest.err
114846 rm -f conftest.er1
114847 cat conftest.err >&5
114848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114849 (exit $ac_status); } &&
114850 { ac_try='test -z "$ac_c_werror_flag"
114851 || test ! -s conftest.err'
114852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114853 (eval $ac_try) 2>&5
114854 ac_status=$?
114855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114856 (exit $ac_status); }; } &&
114857 { ac_try='test -s conftest.$ac_objext'
114858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114859 (eval $ac_try) 2>&5
114860 ac_status=$?
114861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114862 (exit $ac_status); }; }; then
114863 glibcxx_mresult=1
114865 echo "$as_me: failed program was:" >&5
114866 sed 's/^/| /' conftest.$ac_ext >&5
114868 glibcxx_mresult=0
114870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114872 cat >>confdefs.h <<_ACEOF
114873 #define HAVE_LIMIT_DATA $glibcxx_mresult
114874 _ACEOF
114876 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
114877 echo "$as_me:$LINENO: result: $res" >&5
114878 echo "${ECHO_T}$res" >&6
114881 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
114882 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
114883 cat >conftest.$ac_ext <<_ACEOF
114884 /* confdefs.h. */
114885 _ACEOF
114886 cat confdefs.h >>conftest.$ac_ext
114887 cat >>conftest.$ac_ext <<_ACEOF
114888 /* end confdefs.h. */
114889 #include <unistd.h>
114890 #include <sys/time.h>
114891 #include <sys/resource.h>
114894 main ()
114896 int f = RLIMIT_RSS ;
114898 return 0;
114900 _ACEOF
114901 rm -f conftest.$ac_objext
114902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114903 (eval $ac_compile) 2>conftest.er1
114904 ac_status=$?
114905 grep -v '^ *+' conftest.er1 >conftest.err
114906 rm -f conftest.er1
114907 cat conftest.err >&5
114908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114909 (exit $ac_status); } &&
114910 { ac_try='test -z "$ac_c_werror_flag"
114911 || test ! -s conftest.err'
114912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114913 (eval $ac_try) 2>&5
114914 ac_status=$?
114915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114916 (exit $ac_status); }; } &&
114917 { ac_try='test -s conftest.$ac_objext'
114918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114919 (eval $ac_try) 2>&5
114920 ac_status=$?
114921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114922 (exit $ac_status); }; }; then
114923 glibcxx_mresult=1
114925 echo "$as_me: failed program was:" >&5
114926 sed 's/^/| /' conftest.$ac_ext >&5
114928 glibcxx_mresult=0
114930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114932 cat >>confdefs.h <<_ACEOF
114933 #define HAVE_LIMIT_RSS $glibcxx_mresult
114934 _ACEOF
114936 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
114937 echo "$as_me:$LINENO: result: $res" >&5
114938 echo "${ECHO_T}$res" >&6
114941 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
114942 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
114943 cat >conftest.$ac_ext <<_ACEOF
114944 /* confdefs.h. */
114945 _ACEOF
114946 cat confdefs.h >>conftest.$ac_ext
114947 cat >>conftest.$ac_ext <<_ACEOF
114948 /* end confdefs.h. */
114949 #include <unistd.h>
114950 #include <sys/time.h>
114951 #include <sys/resource.h>
114954 main ()
114956 int f = RLIMIT_VMEM ;
114958 return 0;
114960 _ACEOF
114961 rm -f conftest.$ac_objext
114962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114963 (eval $ac_compile) 2>conftest.er1
114964 ac_status=$?
114965 grep -v '^ *+' conftest.er1 >conftest.err
114966 rm -f conftest.er1
114967 cat conftest.err >&5
114968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114969 (exit $ac_status); } &&
114970 { ac_try='test -z "$ac_c_werror_flag"
114971 || test ! -s conftest.err'
114972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114973 (eval $ac_try) 2>&5
114974 ac_status=$?
114975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114976 (exit $ac_status); }; } &&
114977 { ac_try='test -s conftest.$ac_objext'
114978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114979 (eval $ac_try) 2>&5
114980 ac_status=$?
114981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114982 (exit $ac_status); }; }; then
114983 glibcxx_mresult=1
114985 echo "$as_me: failed program was:" >&5
114986 sed 's/^/| /' conftest.$ac_ext >&5
114988 glibcxx_mresult=0
114990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114992 cat >>confdefs.h <<_ACEOF
114993 #define HAVE_LIMIT_VMEM $glibcxx_mresult
114994 _ACEOF
114996 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
114997 echo "$as_me:$LINENO: result: $res" >&5
114998 echo "${ECHO_T}$res" >&6
115001 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
115002 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
115003 cat >conftest.$ac_ext <<_ACEOF
115004 /* confdefs.h. */
115005 _ACEOF
115006 cat confdefs.h >>conftest.$ac_ext
115007 cat >>conftest.$ac_ext <<_ACEOF
115008 /* end confdefs.h. */
115009 #include <unistd.h>
115010 #include <sys/time.h>
115011 #include <sys/resource.h>
115014 main ()
115016 int f = RLIMIT_AS ;
115018 return 0;
115020 _ACEOF
115021 rm -f conftest.$ac_objext
115022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115023 (eval $ac_compile) 2>conftest.er1
115024 ac_status=$?
115025 grep -v '^ *+' conftest.er1 >conftest.err
115026 rm -f conftest.er1
115027 cat conftest.err >&5
115028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115029 (exit $ac_status); } &&
115030 { ac_try='test -z "$ac_c_werror_flag"
115031 || test ! -s conftest.err'
115032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115033 (eval $ac_try) 2>&5
115034 ac_status=$?
115035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115036 (exit $ac_status); }; } &&
115037 { ac_try='test -s conftest.$ac_objext'
115038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115039 (eval $ac_try) 2>&5
115040 ac_status=$?
115041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115042 (exit $ac_status); }; }; then
115043 glibcxx_mresult=1
115045 echo "$as_me: failed program was:" >&5
115046 sed 's/^/| /' conftest.$ac_ext >&5
115048 glibcxx_mresult=0
115050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115052 cat >>confdefs.h <<_ACEOF
115053 #define HAVE_LIMIT_AS $glibcxx_mresult
115054 _ACEOF
115056 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
115057 echo "$as_me:$LINENO: result: $res" >&5
115058 echo "${ECHO_T}$res" >&6
115061 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
115062 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
115063 cat >conftest.$ac_ext <<_ACEOF
115064 /* confdefs.h. */
115065 _ACEOF
115066 cat confdefs.h >>conftest.$ac_ext
115067 cat >>conftest.$ac_ext <<_ACEOF
115068 /* end confdefs.h. */
115069 #include <unistd.h>
115070 #include <sys/time.h>
115071 #include <sys/resource.h>
115074 main ()
115076 int f = RLIMIT_FSIZE ;
115078 return 0;
115080 _ACEOF
115081 rm -f conftest.$ac_objext
115082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115083 (eval $ac_compile) 2>conftest.er1
115084 ac_status=$?
115085 grep -v '^ *+' conftest.er1 >conftest.err
115086 rm -f conftest.er1
115087 cat conftest.err >&5
115088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115089 (exit $ac_status); } &&
115090 { ac_try='test -z "$ac_c_werror_flag"
115091 || test ! -s conftest.err'
115092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115093 (eval $ac_try) 2>&5
115094 ac_status=$?
115095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115096 (exit $ac_status); }; } &&
115097 { ac_try='test -s conftest.$ac_objext'
115098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115099 (eval $ac_try) 2>&5
115100 ac_status=$?
115101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115102 (exit $ac_status); }; }; then
115103 glibcxx_mresult=1
115105 echo "$as_me: failed program was:" >&5
115106 sed 's/^/| /' conftest.$ac_ext >&5
115108 glibcxx_mresult=0
115110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115112 cat >>confdefs.h <<_ACEOF
115113 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
115114 _ACEOF
115116 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
115117 echo "$as_me:$LINENO: result: $res" >&5
115118 echo "${ECHO_T}$res" >&6
115121 # Check for rlimit, setrlimit.
115122 if test "${ac_setrlimit+set}" = set; then
115123 echo $ECHO_N "(cached) $ECHO_C" >&6
115126 cat >conftest.$ac_ext <<_ACEOF
115127 /* confdefs.h. */
115128 _ACEOF
115129 cat confdefs.h >>conftest.$ac_ext
115130 cat >>conftest.$ac_ext <<_ACEOF
115131 /* end confdefs.h. */
115132 #include <unistd.h>
115133 #include <sys/time.h>
115134 #include <sys/resource.h>
115137 main ()
115139 struct rlimit r;
115140 setrlimit(0, &r);
115142 return 0;
115144 _ACEOF
115145 rm -f conftest.$ac_objext
115146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115147 (eval $ac_compile) 2>conftest.er1
115148 ac_status=$?
115149 grep -v '^ *+' conftest.er1 >conftest.err
115150 rm -f conftest.er1
115151 cat conftest.err >&5
115152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115153 (exit $ac_status); } &&
115154 { ac_try='test -z "$ac_c_werror_flag"
115155 || test ! -s conftest.err'
115156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115157 (eval $ac_try) 2>&5
115158 ac_status=$?
115159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115160 (exit $ac_status); }; } &&
115161 { ac_try='test -s conftest.$ac_objext'
115162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115163 (eval $ac_try) 2>&5
115164 ac_status=$?
115165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115166 (exit $ac_status); }; }; then
115167 ac_setrlimit=yes
115169 echo "$as_me: failed program was:" >&5
115170 sed 's/^/| /' conftest.$ac_ext >&5
115172 ac_setrlimit=no
115174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115180 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
115181 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
115182 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
115183 ac_res_limits=yes
115185 cat >>confdefs.h <<\_ACEOF
115186 #define _GLIBCXX_RES_LIMITS 1
115187 _ACEOF
115190 ac_res_limits=no
115192 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
115193 echo "${ECHO_T}$ac_res_limits" >&6
115196 # Look for setenv, so that extended locale tests can be performed.
115198 echo "$as_me:$LINENO: checking for setenv declaration" >&5
115199 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
115200 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
115201 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
115202 echo $ECHO_N "(cached) $ECHO_C" >&6
115207 ac_ext=cc
115208 ac_cpp='$CXXCPP $CPPFLAGS'
115209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
115213 cat >conftest.$ac_ext <<_ACEOF
115214 /* confdefs.h. */
115215 _ACEOF
115216 cat confdefs.h >>conftest.$ac_ext
115217 cat >>conftest.$ac_ext <<_ACEOF
115218 /* end confdefs.h. */
115219 #include <stdlib.h>
115221 main ()
115223 setenv(0, 0, 0);
115225 return 0;
115227 _ACEOF
115228 rm -f conftest.$ac_objext
115229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115230 (eval $ac_compile) 2>conftest.er1
115231 ac_status=$?
115232 grep -v '^ *+' conftest.er1 >conftest.err
115233 rm -f conftest.er1
115234 cat conftest.err >&5
115235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115236 (exit $ac_status); } &&
115237 { ac_try='test -z "$ac_cxx_werror_flag"
115238 || test ! -s conftest.err'
115239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115240 (eval $ac_try) 2>&5
115241 ac_status=$?
115242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115243 (exit $ac_status); }; } &&
115244 { ac_try='test -s conftest.$ac_objext'
115245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115246 (eval $ac_try) 2>&5
115247 ac_status=$?
115248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115249 (exit $ac_status); }; }; then
115250 glibcxx_cv_func_setenv_use=yes
115252 echo "$as_me: failed program was:" >&5
115253 sed 's/^/| /' conftest.$ac_ext >&5
115255 glibcxx_cv_func_setenv_use=no
115257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115258 ac_ext=c
115259 ac_cpp='$CPP $CPPFLAGS'
115260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
115268 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
115269 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
115270 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
115272 for ac_func in setenv
115274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115275 echo "$as_me:$LINENO: checking for $ac_func" >&5
115276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115277 if eval "test \"\${$as_ac_var+set}\" = set"; then
115278 echo $ECHO_N "(cached) $ECHO_C" >&6
115280 if test x$gcc_no_link = xyes; then
115281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115283 { (exit 1); exit 1; }; }
115285 cat >conftest.$ac_ext <<_ACEOF
115286 /* confdefs.h. */
115287 _ACEOF
115288 cat confdefs.h >>conftest.$ac_ext
115289 cat >>conftest.$ac_ext <<_ACEOF
115290 /* end confdefs.h. */
115291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115293 #define $ac_func innocuous_$ac_func
115295 /* System header to define __stub macros and hopefully few prototypes,
115296 which can conflict with char $ac_func (); below.
115297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115298 <limits.h> exists even on freestanding compilers. */
115300 #ifdef __STDC__
115301 # include <limits.h>
115302 #else
115303 # include <assert.h>
115304 #endif
115306 #undef $ac_func
115308 /* Override any gcc2 internal prototype to avoid an error. */
115309 #ifdef __cplusplus
115310 extern "C"
115312 #endif
115313 /* We use char because int might match the return type of a gcc2
115314 builtin and then its argument prototype would still apply. */
115315 char $ac_func ();
115316 /* The GNU C library defines this for functions which it implements
115317 to always fail with ENOSYS. Some functions are actually named
115318 something starting with __ and the normal name is an alias. */
115319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115320 choke me
115321 #else
115322 char (*f) () = $ac_func;
115323 #endif
115324 #ifdef __cplusplus
115326 #endif
115329 main ()
115331 return f != $ac_func;
115333 return 0;
115335 _ACEOF
115336 rm -f conftest.$ac_objext conftest$ac_exeext
115337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115338 (eval $ac_link) 2>conftest.er1
115339 ac_status=$?
115340 grep -v '^ *+' conftest.er1 >conftest.err
115341 rm -f conftest.er1
115342 cat conftest.err >&5
115343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115344 (exit $ac_status); } &&
115345 { ac_try='test -z "$ac_c_werror_flag"
115346 || test ! -s conftest.err'
115347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115348 (eval $ac_try) 2>&5
115349 ac_status=$?
115350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115351 (exit $ac_status); }; } &&
115352 { ac_try='test -s conftest$ac_exeext'
115353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115354 (eval $ac_try) 2>&5
115355 ac_status=$?
115356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115357 (exit $ac_status); }; }; then
115358 eval "$as_ac_var=yes"
115360 echo "$as_me: failed program was:" >&5
115361 sed 's/^/| /' conftest.$ac_ext >&5
115363 eval "$as_ac_var=no"
115365 rm -f conftest.err conftest.$ac_objext \
115366 conftest$ac_exeext conftest.$ac_ext
115368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115370 if test `eval echo '${'$as_ac_var'}'` = yes; then
115371 cat >>confdefs.h <<_ACEOF
115372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115373 _ACEOF
115382 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
115383 test $enable_symvers != no; then
115384 case "$host" in
115385 *-*-cygwin*)
115386 enable_abi_check=no ;;
115388 enable_abi_check=yes ;;
115391 # Only build this as native, since automake does not understand
115392 # CXX_FOR_BUILD.
115393 enable_abi_check=no
115396 # Export file names for ABI checking.
115397 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
115401 # Propagate the target-specific source directories through the build chain.
115402 ATOMICITY_SRCDIR=config/${atomicity_dir}
115403 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
115404 ATOMIC_FLAGS=${atomic_flags}
115405 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
115406 OS_INC_SRCDIR=config/${os_include_dir}
115407 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
115408 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
115418 # Determine cross-compile flags and AM_CONDITIONALs.
115419 #AC_SUBST(GLIBCXX_IS_NATIVE)
115420 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
115421 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
115422 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
115425 if test $is_hosted = yes; then
115426 GLIBCXX_HOSTED_TRUE=
115427 GLIBCXX_HOSTED_FALSE='#'
115429 GLIBCXX_HOSTED_TRUE='#'
115430 GLIBCXX_HOSTED_FALSE=
115436 if test $enable_libstdcxx_pch = yes; then
115437 GLIBCXX_BUILD_PCH_TRUE=
115438 GLIBCXX_BUILD_PCH_FALSE='#'
115440 GLIBCXX_BUILD_PCH_TRUE='#'
115441 GLIBCXX_BUILD_PCH_FALSE=
115447 if test $enable_cheaders = c; then
115448 GLIBCXX_C_HEADERS_C_TRUE=
115449 GLIBCXX_C_HEADERS_C_FALSE='#'
115451 GLIBCXX_C_HEADERS_C_TRUE='#'
115452 GLIBCXX_C_HEADERS_C_FALSE=
115458 if test $enable_cheaders = c_std; then
115459 GLIBCXX_C_HEADERS_C_STD_TRUE=
115460 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
115462 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
115463 GLIBCXX_C_HEADERS_C_STD_FALSE=
115469 if test $enable_cheaders = c_global; then
115470 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
115471 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
115473 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
115474 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
115480 if test $c_compatibility = yes; then
115481 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
115482 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
115484 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
115485 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
115491 if test $c_extra = yes; then
115492 GLIBCXX_C_HEADERS_EXTRA_TRUE=
115493 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
115495 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
115496 GLIBCXX_C_HEADERS_EXTRA_FALSE=
115502 if test $enable_libstdcxx_debug = yes; then
115503 GLIBCXX_BUILD_DEBUG_TRUE=
115504 GLIBCXX_BUILD_DEBUG_FALSE='#'
115506 GLIBCXX_BUILD_DEBUG_TRUE='#'
115507 GLIBCXX_BUILD_DEBUG_FALSE=
115513 if test $enable_parallel = yes; then
115514 ENABLE_PARALLEL_TRUE=
115515 ENABLE_PARALLEL_FALSE='#'
115517 ENABLE_PARALLEL_TRUE='#'
115518 ENABLE_PARALLEL_FALSE=
115524 if test $enable_symvers != no; then
115525 ENABLE_SYMVERS_TRUE=
115526 ENABLE_SYMVERS_FALSE='#'
115528 ENABLE_SYMVERS_TRUE='#'
115529 ENABLE_SYMVERS_FALSE=
115535 if test $enable_symvers = gnu; then
115536 ENABLE_SYMVERS_GNU_TRUE=
115537 ENABLE_SYMVERS_GNU_FALSE='#'
115539 ENABLE_SYMVERS_GNU_TRUE='#'
115540 ENABLE_SYMVERS_GNU_FALSE=
115546 if test $enable_symvers = gnu-versioned-namespace; then
115547 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
115548 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
115550 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
115551 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
115557 if test $enable_symvers = darwin; then
115558 ENABLE_SYMVERS_DARWIN_TRUE=
115559 ENABLE_SYMVERS_DARWIN_FALSE='#'
115561 ENABLE_SYMVERS_DARWIN_TRUE='#'
115562 ENABLE_SYMVERS_DARWIN_FALSE=
115568 if test $enable_visibility = yes; then
115569 ENABLE_VISIBILITY_TRUE=
115570 ENABLE_VISIBILITY_FALSE='#'
115572 ENABLE_VISIBILITY_TRUE='#'
115573 ENABLE_VISIBILITY_FALSE=
115579 if test $ac_ldbl_compat = yes; then
115580 GLIBCXX_LDBL_COMPAT_TRUE=
115581 GLIBCXX_LDBL_COMPAT_FALSE='#'
115583 GLIBCXX_LDBL_COMPAT_TRUE='#'
115584 GLIBCXX_LDBL_COMPAT_FALSE=
115590 cat >confcache <<\_ACEOF
115591 # This file is a shell script that caches the results of configure
115592 # tests run on this system so they can be shared between configure
115593 # scripts and configure runs, see configure's option --config-cache.
115594 # It is not useful on other systems. If it contains results you don't
115595 # want to keep, you may remove or edit it.
115597 # config.status only pays attention to the cache file if you give it
115598 # the --recheck option to rerun configure.
115600 # `ac_cv_env_foo' variables (set or unset) will be overridden when
115601 # loading this file, other *unset* `ac_cv_foo' will be assigned the
115602 # following values.
115604 _ACEOF
115606 # The following way of writing the cache mishandles newlines in values,
115607 # but we know of no workaround that is simple, portable, and efficient.
115608 # So, don't put newlines in cache variables' values.
115609 # Ultrix sh set writes to stderr and can't be redirected directly,
115610 # and sets the high bit in the cache file unless we assign to the vars.
115612 (set) 2>&1 |
115613 case `(ac_space=' '; set | grep ac_space) 2>&1` in
115614 *ac_space=\ *)
115615 # `set' does not quote correctly, so add quotes (double-quote
115616 # substitution turns \\\\ into \\, and sed turns \\ into \).
115617 sed -n \
115618 "s/'/'\\\\''/g;
115619 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
115622 # `set' quotes correctly as required by POSIX, so do not add quotes.
115623 sed -n \
115624 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
115626 esac;
115628 sed '
115629 t clear
115630 : clear
115631 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
115632 t end
115633 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
115634 : end' >>confcache
115635 if diff $cache_file confcache >/dev/null 2>&1; then :; else
115636 if test -w $cache_file; then
115637 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
115638 cat confcache >$cache_file
115640 echo "not updating unwritable cache $cache_file"
115643 rm -f confcache
115645 if test ${multilib} = yes; then
115646 multilib_arg="--enable-multilib"
115648 multilib_arg=
115651 # Export all the install information.
115653 glibcxx_toolexecdir=no
115654 glibcxx_toolexeclibdir=no
115655 glibcxx_prefixdir=$prefix
115657 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
115658 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
115660 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
115661 if test "${with_gxx_include_dir+set}" = set; then
115662 withval="$with_gxx_include_dir"
115663 case "$withval" in
115664 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
115665 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
115666 { (exit 1); exit 1; }; } ;;
115667 no) gxx_include_dir=no ;;
115668 *) gxx_include_dir=$withval ;;
115671 gxx_include_dir=no
115673 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
115674 echo "${ECHO_T}$gxx_include_dir" >&6
115676 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
115677 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
115678 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
115679 if test "${enable_version_specific_runtime_libs+set}" = set; then
115680 enableval="$enable_version_specific_runtime_libs"
115681 case "$enableval" in
115682 yes) version_specific_libs=yes ;;
115683 no) version_specific_libs=no ;;
115684 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
115685 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
115686 { (exit 1); exit 1; }; };;
115689 version_specific_libs=no
115691 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
115692 echo "${ECHO_T}$version_specific_libs" >&6
115694 # Default case for install directory for include files.
115695 if test $version_specific_libs = no && test $gxx_include_dir = no; then
115696 gxx_include_dir='include/c++/${gcc_version}'
115697 if test -n "$with_cross_host" &&
115698 test x"$with_cross_host" != x"no"; then
115699 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
115701 gxx_include_dir='${prefix}/'"$gxx_include_dir"
115705 # Version-specific runtime libs processing.
115706 if test $version_specific_libs = yes; then
115707 # Need the gcc compiler version to know where to install libraries
115708 # and header files if --enable-version-specific-runtime-libs option
115709 # is selected. FIXME: these variables are misnamed, there are
115710 # no executables installed in _toolexecdir or _toolexeclibdir.
115711 if test x"$gxx_include_dir" = x"no"; then
115712 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
115714 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
115715 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
115718 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
115719 # Install a library built with a cross compiler in tooldir, not libdir.
115720 if test x"$glibcxx_toolexecdir" = x"no"; then
115721 if test -n "$with_cross_host" &&
115722 test x"$with_cross_host" != x"no"; then
115723 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
115724 glibcxx_toolexeclibdir='${toolexecdir}/lib'
115726 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
115727 glibcxx_toolexeclibdir='${libdir}'
115729 multi_os_directory=`$CXX -print-multi-os-directory`
115730 case $multi_os_directory in
115731 .) ;; # Avoid trailing /.
115732 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
115736 echo "$as_me:$LINENO: checking for install location" >&5
115737 echo $ECHO_N "checking for install location... $ECHO_C" >&6
115738 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
115739 echo "${ECHO_T}$gxx_include_dir" >&6
115747 # Export all the include and flag information to Makefiles.
115749 # Used for every C++ compile we perform.
115750 GLIBCXX_INCLUDES="\
115751 -I$glibcxx_builddir/include/$host_alias \
115752 -I$glibcxx_builddir/include \
115753 -I$glibcxx_srcdir/libsupc++"
115755 # For Canadian crosses, pick this up too.
115756 if test $CANADIAN = yes; then
115757 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
115760 # Stuff in the actual top level. Currently only used by libsupc++ to
115761 # get unwind* headers from the gcc dir.
115762 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
115763 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
115765 # Now, export this to all the little Makefiles....
115770 # Optimization flags that are probably a good idea for thrill-seekers. Just
115771 # uncomment the lines below and make, everything else is ready to go...
115772 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
115773 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
115776 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
115780 if test "$enable_shared" = yes; then
115781 LIBSUPCXX_PICFLAGS="-prefer-pic"
115783 LIBSUPCXX_PICFLAGS=
115787 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
115789 ac_config_files="$ac_config_files scripts/testsuite_flags"
115792 ac_config_commands="$ac_config_commands default"
115795 cat >confcache <<\_ACEOF
115796 # This file is a shell script that caches the results of configure
115797 # tests run on this system so they can be shared between configure
115798 # scripts and configure runs, see configure's option --config-cache.
115799 # It is not useful on other systems. If it contains results you don't
115800 # want to keep, you may remove or edit it.
115802 # config.status only pays attention to the cache file if you give it
115803 # the --recheck option to rerun configure.
115805 # `ac_cv_env_foo' variables (set or unset) will be overridden when
115806 # loading this file, other *unset* `ac_cv_foo' will be assigned the
115807 # following values.
115809 _ACEOF
115811 # The following way of writing the cache mishandles newlines in values,
115812 # but we know of no workaround that is simple, portable, and efficient.
115813 # So, don't put newlines in cache variables' values.
115814 # Ultrix sh set writes to stderr and can't be redirected directly,
115815 # and sets the high bit in the cache file unless we assign to the vars.
115817 (set) 2>&1 |
115818 case `(ac_space=' '; set | grep ac_space) 2>&1` in
115819 *ac_space=\ *)
115820 # `set' does not quote correctly, so add quotes (double-quote
115821 # substitution turns \\\\ into \\, and sed turns \\ into \).
115822 sed -n \
115823 "s/'/'\\\\''/g;
115824 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
115827 # `set' quotes correctly as required by POSIX, so do not add quotes.
115828 sed -n \
115829 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
115831 esac;
115833 sed '
115834 t clear
115835 : clear
115836 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
115837 t end
115838 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
115839 : end' >>confcache
115840 if diff $cache_file confcache >/dev/null 2>&1; then :; else
115841 if test -w $cache_file; then
115842 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
115843 cat confcache >$cache_file
115845 echo "not updating unwritable cache $cache_file"
115848 rm -f confcache
115850 test "x$prefix" = xNONE && prefix=$ac_default_prefix
115851 # Let make expand exec_prefix.
115852 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
115854 # VPATH may cause trouble with some makes, so we remove $(srcdir),
115855 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
115856 # trailing colons and then remove the whole line if VPATH becomes empty
115857 # (actually we leave an empty line to preserve line numbers).
115858 if test "x$srcdir" = x.; then
115859 ac_vpsub='/^[ ]*VPATH[ ]*=/{
115860 s/:*\$(srcdir):*/:/;
115861 s/:*\${srcdir}:*/:/;
115862 s/:*@srcdir@:*/:/;
115863 s/^\([^=]*=[ ]*\):*/\1/;
115864 s/:*$//;
115865 s/^[^=]*=[ ]*$//;
115869 DEFS=-DHAVE_CONFIG_H
115871 ac_libobjs=
115872 ac_ltlibobjs=
115873 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
115874 # 1. Remove the extension, and $U if already installed.
115875 ac_i=`echo "$ac_i" |
115876 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
115877 # 2. Add them.
115878 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
115879 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
115881 LIBOBJS=$ac_libobjs
115883 LTLIBOBJS=$ac_ltlibobjs
115886 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
115887 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
115888 Usually this means the macro was only invoked conditionally." >&5
115889 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
115890 Usually this means the macro was only invoked conditionally." >&2;}
115891 { (exit 1); exit 1; }; }
115893 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
115894 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
115895 Usually this means the macro was only invoked conditionally." >&5
115896 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
115897 Usually this means the macro was only invoked conditionally." >&2;}
115898 { (exit 1); exit 1; }; }
115900 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
115901 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
115902 Usually this means the macro was only invoked conditionally." >&5
115903 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
115904 Usually this means the macro was only invoked conditionally." >&2;}
115905 { (exit 1); exit 1; }; }
115907 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
115908 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
115909 Usually this means the macro was only invoked conditionally." >&5
115910 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
115911 Usually this means the macro was only invoked conditionally." >&2;}
115912 { (exit 1); exit 1; }; }
115914 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
115915 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
115916 Usually this means the macro was only invoked conditionally." >&5
115917 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
115918 Usually this means the macro was only invoked conditionally." >&2;}
115919 { (exit 1); exit 1; }; }
115921 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
115922 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
115923 Usually this means the macro was only invoked conditionally." >&5
115924 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
115925 Usually this means the macro was only invoked conditionally." >&2;}
115926 { (exit 1); exit 1; }; }
115928 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
115929 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
115930 Usually this means the macro was only invoked conditionally." >&5
115931 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
115932 Usually this means the macro was only invoked conditionally." >&2;}
115933 { (exit 1); exit 1; }; }
115935 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
115936 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
115937 Usually this means the macro was only invoked conditionally." >&5
115938 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
115939 Usually this means the macro was only invoked conditionally." >&2;}
115940 { (exit 1); exit 1; }; }
115942 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
115943 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
115944 Usually this means the macro was only invoked conditionally." >&5
115945 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
115946 Usually this means the macro was only invoked conditionally." >&2;}
115947 { (exit 1); exit 1; }; }
115949 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
115950 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
115951 Usually this means the macro was only invoked conditionally." >&5
115952 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
115953 Usually this means the macro was only invoked conditionally." >&2;}
115954 { (exit 1); exit 1; }; }
115956 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
115957 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
115958 Usually this means the macro was only invoked conditionally." >&5
115959 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
115960 Usually this means the macro was only invoked conditionally." >&2;}
115961 { (exit 1); exit 1; }; }
115963 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
115964 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
115965 Usually this means the macro was only invoked conditionally." >&5
115966 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
115967 Usually this means the macro was only invoked conditionally." >&2;}
115968 { (exit 1); exit 1; }; }
115970 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
115971 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
115972 Usually this means the macro was only invoked conditionally." >&5
115973 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
115974 Usually this means the macro was only invoked conditionally." >&2;}
115975 { (exit 1); exit 1; }; }
115977 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
115978 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
115979 Usually this means the macro was only invoked conditionally." >&5
115980 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
115981 Usually this means the macro was only invoked conditionally." >&2;}
115982 { (exit 1); exit 1; }; }
115984 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
115985 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
115986 Usually this means the macro was only invoked conditionally." >&5
115987 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
115988 Usually this means the macro was only invoked conditionally." >&2;}
115989 { (exit 1); exit 1; }; }
115991 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
115992 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
115993 Usually this means the macro was only invoked conditionally." >&5
115994 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
115995 Usually this means the macro was only invoked conditionally." >&2;}
115996 { (exit 1); exit 1; }; }
115999 : ${CONFIG_STATUS=./config.status}
116000 ac_clean_files_save=$ac_clean_files
116001 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
116002 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
116003 echo "$as_me: creating $CONFIG_STATUS" >&6;}
116004 cat >$CONFIG_STATUS <<_ACEOF
116005 #! $SHELL
116006 # Generated by $as_me.
116007 # Run this file to recreate the current configuration.
116008 # Compiler output produced by configure, useful for debugging
116009 # configure, is in config.log if it exists.
116011 debug=false
116012 ac_cs_recheck=false
116013 ac_cs_silent=false
116014 SHELL=\${CONFIG_SHELL-$SHELL}
116015 _ACEOF
116017 cat >>$CONFIG_STATUS <<\_ACEOF
116018 ## --------------------- ##
116019 ## M4sh Initialization. ##
116020 ## --------------------- ##
116022 # Be Bourne compatible
116023 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
116024 emulate sh
116025 NULLCMD=:
116026 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
116027 # is contrary to our usage. Disable this feature.
116028 alias -g '${1+"$@"}'='"$@"'
116029 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
116030 set -o posix
116032 DUALCASE=1; export DUALCASE # for MKS sh
116034 # Support unset when possible.
116035 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
116036 as_unset=unset
116038 as_unset=false
116042 # Work around bugs in pre-3.0 UWIN ksh.
116043 $as_unset ENV MAIL MAILPATH
116044 PS1='$ '
116045 PS2='> '
116046 PS4='+ '
116048 # NLS nuisances.
116049 for as_var in \
116050 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
116051 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
116052 LC_TELEPHONE LC_TIME
116054 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
116055 eval $as_var=C; export $as_var
116057 $as_unset $as_var
116061 # Required to use basename.
116062 if expr a : '\(a\)' >/dev/null 2>&1; then
116063 as_expr=expr
116065 as_expr=false
116068 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
116069 as_basename=basename
116071 as_basename=false
116075 # Name of the executable.
116076 as_me=`$as_basename "$0" ||
116077 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
116078 X"$0" : 'X\(//\)$' \| \
116079 X"$0" : 'X\(/\)$' \| \
116080 . : '\(.\)' 2>/dev/null ||
116081 echo X/"$0" |
116082 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
116083 /^X\/\(\/\/\)$/{ s//\1/; q; }
116084 /^X\/\(\/\).*/{ s//\1/; q; }
116085 s/.*/./; q'`
116088 # PATH needs CR, and LINENO needs CR and PATH.
116089 # Avoid depending upon Character Ranges.
116090 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
116091 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
116092 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
116093 as_cr_digits='0123456789'
116094 as_cr_alnum=$as_cr_Letters$as_cr_digits
116096 # The user is always right.
116097 if test "${PATH_SEPARATOR+set}" != set; then
116098 echo "#! /bin/sh" >conf$$.sh
116099 echo "exit 0" >>conf$$.sh
116100 chmod +x conf$$.sh
116101 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
116102 PATH_SEPARATOR=';'
116104 PATH_SEPARATOR=:
116106 rm -f conf$$.sh
116110 as_lineno_1=$LINENO
116111 as_lineno_2=$LINENO
116112 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
116113 test "x$as_lineno_1" != "x$as_lineno_2" &&
116114 test "x$as_lineno_3" = "x$as_lineno_2" || {
116115 # Find who we are. Look in the path if we contain no path at all
116116 # relative or not.
116117 case $0 in
116118 *[\\/]* ) as_myself=$0 ;;
116119 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
116120 for as_dir in $PATH
116122 IFS=$as_save_IFS
116123 test -z "$as_dir" && as_dir=.
116124 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116129 # We did not find ourselves, most probably we were run as `sh COMMAND'
116130 # in which case we are not to be found in the path.
116131 if test "x$as_myself" = x; then
116132 as_myself=$0
116134 if test ! -f "$as_myself"; then
116135 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
116136 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
116137 { (exit 1); exit 1; }; }
116139 case $CONFIG_SHELL in
116141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
116142 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
116144 IFS=$as_save_IFS
116145 test -z "$as_dir" && as_dir=.
116146 for as_base in sh bash ksh sh5; do
116147 case $as_dir in
116149 if ("$as_dir/$as_base" -c '
116150 as_lineno_1=$LINENO
116151 as_lineno_2=$LINENO
116152 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
116153 test "x$as_lineno_1" != "x$as_lineno_2" &&
116154 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
116155 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
116156 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
116157 CONFIG_SHELL=$as_dir/$as_base
116158 export CONFIG_SHELL
116159 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
116167 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
116168 # uniformly replaced by the line number. The first 'sed' inserts a
116169 # line-number line before each line; the second 'sed' does the real
116170 # work. The second script uses 'N' to pair each line-number line
116171 # with the numbered line, and appends trailing '-' during
116172 # substitution so that $LINENO is not a special case at line end.
116173 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
116174 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
116175 sed '=' <$as_myself |
116176 sed '
116178 s,$,-,
116179 : loop
116180 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
116181 t loop
116182 s,-$,,
116183 s,^['$as_cr_digits']*\n,,
116184 ' >$as_me.lineno &&
116185 chmod +x $as_me.lineno ||
116186 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
116187 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
116188 { (exit 1); exit 1; }; }
116190 # Don't try to exec as it changes $[0], causing all sort of problems
116191 # (the dirname of $[0] is not the place where we might find the
116192 # original and so on. Autoconf is especially sensible to this).
116193 . ./$as_me.lineno
116194 # Exit status is that of the last command.
116199 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
116200 *c*,-n*) ECHO_N= ECHO_C='
116201 ' ECHO_T=' ' ;;
116202 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
116203 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
116206 if expr a : '\(a\)' >/dev/null 2>&1; then
116207 as_expr=expr
116209 as_expr=false
116212 rm -f conf$$ conf$$.exe conf$$.file
116213 echo >conf$$.file
116214 if ln -s conf$$.file conf$$ 2>/dev/null; then
116215 # We could just check for DJGPP; but this test a) works b) is more generic
116216 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
116217 if test -f conf$$.exe; then
116218 # Don't use ln at all; we don't have any links
116219 as_ln_s='cp -p'
116221 as_ln_s='ln -s'
116223 elif ln conf$$.file conf$$ 2>/dev/null; then
116224 as_ln_s=ln
116226 as_ln_s='cp -p'
116228 rm -f conf$$ conf$$.exe conf$$.file
116230 if mkdir -p . 2>/dev/null; then
116231 as_mkdir_p=:
116233 test -d ./-p && rmdir ./-p
116234 as_mkdir_p=false
116237 as_executable_p="test -f"
116239 # Sed expression to map a string onto a valid CPP name.
116240 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
116242 # Sed expression to map a string onto a valid variable name.
116243 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
116246 # IFS
116247 # We need space, tab and new line, in precisely that order.
116248 as_nl='
116250 IFS=" $as_nl"
116252 # CDPATH.
116253 $as_unset CDPATH
116255 exec 6>&1
116257 # Open the log real soon, to keep \$[0] and so on meaningful, and to
116258 # report actual input values of CONFIG_FILES etc. instead of their
116259 # values after options handling. Logging --version etc. is OK.
116260 exec 5>>config.log
116263 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
116264 ## Running $as_me. ##
116265 _ASBOX
116266 } >&5
116267 cat >&5 <<_CSEOF
116269 This file was extended by package-unused $as_me version-unused, which was
116270 generated by GNU Autoconf 2.59. Invocation command line was
116272 CONFIG_FILES = $CONFIG_FILES
116273 CONFIG_HEADERS = $CONFIG_HEADERS
116274 CONFIG_LINKS = $CONFIG_LINKS
116275 CONFIG_COMMANDS = $CONFIG_COMMANDS
116276 $ $0 $@
116278 _CSEOF
116279 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
116280 echo >&5
116281 _ACEOF
116283 # Files that config.status was made for.
116284 if test -n "$ac_config_files"; then
116285 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
116288 if test -n "$ac_config_headers"; then
116289 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
116292 if test -n "$ac_config_links"; then
116293 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
116296 if test -n "$ac_config_commands"; then
116297 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
116300 cat >>$CONFIG_STATUS <<\_ACEOF
116302 ac_cs_usage="\
116303 \`$as_me' instantiates files from templates according to the
116304 current configuration.
116306 Usage: $0 [OPTIONS] [FILE]...
116308 -h, --help print this help, then exit
116309 -V, --version print version number, then exit
116310 -q, --quiet do not print progress messages
116311 -d, --debug don't remove temporary files
116312 --recheck update $as_me by reconfiguring in the same conditions
116313 --file=FILE[:TEMPLATE]
116314 instantiate the configuration file FILE
116315 --header=FILE[:TEMPLATE]
116316 instantiate the configuration header FILE
116318 Configuration files:
116319 $config_files
116321 Configuration headers:
116322 $config_headers
116324 Configuration commands:
116325 $config_commands
116327 Report bugs to <bug-autoconf@gnu.org>."
116328 _ACEOF
116330 cat >>$CONFIG_STATUS <<_ACEOF
116331 ac_cs_version="\\
116332 package-unused config.status version-unused
116333 configured by $0, generated by GNU Autoconf 2.59,
116334 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
116336 Copyright (C) 2003 Free Software Foundation, Inc.
116337 This config.status script is free software; the Free Software Foundation
116338 gives unlimited permission to copy, distribute and modify it."
116339 srcdir=$srcdir
116340 INSTALL="$INSTALL"
116341 _ACEOF
116343 cat >>$CONFIG_STATUS <<\_ACEOF
116344 # If no file are specified by the user, then we need to provide default
116345 # value. By we need to know if files were specified by the user.
116346 ac_need_defaults=:
116347 while test $# != 0
116349 case $1 in
116350 --*=*)
116351 ac_option=`expr "x$1" : 'x\([^=]*\)='`
116352 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
116353 ac_shift=:
116356 ac_option=$1
116357 ac_optarg=$2
116358 ac_shift=shift
116360 *) # This is not an option, so the user has probably given explicit
116361 # arguments.
116362 ac_option=$1
116363 ac_need_defaults=false;;
116366 case $ac_option in
116367 # Handling of the options.
116368 _ACEOF
116369 cat >>$CONFIG_STATUS <<\_ACEOF
116370 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
116371 ac_cs_recheck=: ;;
116372 --version | --vers* | -V )
116373 echo "$ac_cs_version"; exit 0 ;;
116374 --he | --h)
116375 # Conflict between --help and --header
116376 { { echo "$as_me:$LINENO: error: ambiguous option: $1
116377 Try \`$0 --help' for more information." >&5
116378 echo "$as_me: error: ambiguous option: $1
116379 Try \`$0 --help' for more information." >&2;}
116380 { (exit 1); exit 1; }; };;
116381 --help | --hel | -h )
116382 echo "$ac_cs_usage"; exit 0 ;;
116383 --debug | --d* | -d )
116384 debug=: ;;
116385 --file | --fil | --fi | --f )
116386 $ac_shift
116387 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
116388 ac_need_defaults=false;;
116389 --header | --heade | --head | --hea )
116390 $ac_shift
116391 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
116392 ac_need_defaults=false;;
116393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
116394 | -silent | --silent | --silen | --sile | --sil | --si | --s)
116395 ac_cs_silent=: ;;
116397 # This is an error.
116398 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
116399 Try \`$0 --help' for more information." >&5
116400 echo "$as_me: error: unrecognized option: $1
116401 Try \`$0 --help' for more information." >&2;}
116402 { (exit 1); exit 1; }; } ;;
116404 *) ac_config_targets="$ac_config_targets $1" ;;
116407 shift
116410 ac_configure_extra_args=
116412 if $ac_cs_silent; then
116413 exec 6>/dev/null
116414 ac_configure_extra_args="$ac_configure_extra_args --silent"
116417 _ACEOF
116418 cat >>$CONFIG_STATUS <<_ACEOF
116419 if \$ac_cs_recheck; then
116420 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
116421 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
116424 _ACEOF
116426 cat >>$CONFIG_STATUS <<_ACEOF
116428 # INIT-COMMANDS section.
116432 srcdir="$srcdir"
116433 host="$host"
116434 target="$target"
116435 with_multisubdir="$with_multisubdir"
116436 with_multisrctop="$with_multisrctop"
116437 with_target_subdir="$with_target_subdir"
116438 ac_configure_args="${multilib_arg} ${ac_configure_args}"
116439 multi_basedir="$multi_basedir"
116440 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
116441 CC="$CC"
116444 # The HP-UX ksh and POSIX shell print the target directory to stdout
116445 # if CDPATH is set.
116446 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
116448 sed_quote_subst='$sed_quote_subst'
116449 double_quote_subst='$double_quote_subst'
116450 delay_variable_subst='$delay_variable_subst'
116451 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
116452 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
116453 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
116454 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
116455 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
116456 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
116457 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
116458 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
116459 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
116460 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
116461 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
116462 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
116463 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
116464 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
116465 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
116466 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
116467 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
116468 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
116469 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
116470 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
116471 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
116472 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
116473 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
116474 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
116475 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
116476 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
116477 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
116478 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116479 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
116480 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
116481 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
116482 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
116483 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
116484 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
116485 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116486 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116487 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116488 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
116489 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
116490 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
116491 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
116492 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
116493 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
116494 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"`'
116495 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
116496 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
116497 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
116498 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
116499 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
116500 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
116501 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
116502 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
116503 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
116504 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
116505 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
116506 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116507 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116508 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
116509 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
116510 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
116511 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
116512 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
116513 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116514 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116515 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116516 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116517 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116518 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116519 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
116520 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
116521 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
116522 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
116523 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
116524 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
116525 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
116526 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
116527 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
116528 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
116529 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
116530 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
116531 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
116532 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
116533 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
116534 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116535 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
116536 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
116537 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116538 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
116539 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
116540 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
116541 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
116542 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
116543 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
116544 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
116545 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
116546 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
116547 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
116548 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
116549 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116550 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116551 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116552 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
116553 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
116554 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
116555 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
116556 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
116557 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
116558 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
116559 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
116560 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
116561 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
116562 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
116563 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
116564 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
116565 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
116566 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
116567 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116568 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116569 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116570 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116571 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116572 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116573 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116574 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116575 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116576 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116577 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116578 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116579 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116580 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116581 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116582 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116583 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116584 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116585 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116586 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116587 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116588 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116589 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116590 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116591 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116592 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116593 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116594 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116595 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116596 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116597 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116598 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116599 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116600 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116601 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116602 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116603 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116604 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116605 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116606 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116607 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116608 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116609 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116610 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116611 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116612 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116614 LTCC='$LTCC'
116615 LTCFLAGS='$LTCFLAGS'
116616 compiler='$compiler_DEFAULT'
116618 # Quote evaled strings.
116619 for var in SED \
116620 GREP \
116621 EGREP \
116622 FGREP \
116625 LN_S \
116626 lt_SP2NL \
116627 lt_NL2SP \
116628 reload_flag \
116629 deplibs_check_method \
116630 file_magic_cmd \
116632 AR_FLAGS \
116633 STRIP \
116634 RANLIB \
116636 CFLAGS \
116637 compiler \
116638 lt_cv_sys_global_symbol_pipe \
116639 lt_cv_sys_global_symbol_to_cdecl \
116640 lt_cv_sys_global_symbol_to_c_name_address \
116641 SHELL \
116642 ECHO \
116643 lt_prog_compiler_no_builtin_flag \
116644 lt_prog_compiler_wl \
116645 lt_prog_compiler_pic \
116646 lt_prog_compiler_static \
116647 lt_cv_prog_compiler_c_o \
116648 need_locks \
116649 shrext_cmds \
116650 export_dynamic_flag_spec \
116651 whole_archive_flag_spec \
116652 compiler_needs_object \
116653 with_gnu_ld \
116654 allow_undefined_flag \
116655 no_undefined_flag \
116656 hardcode_libdir_flag_spec \
116657 hardcode_libdir_flag_spec_ld \
116658 hardcode_libdir_separator \
116659 fix_srcfile_path \
116660 exclude_expsyms \
116661 include_expsyms \
116662 file_list_spec \
116663 variables_saved_for_relink \
116664 libname_spec \
116665 library_names_spec \
116666 soname_spec \
116667 finish_eval \
116668 old_striplib \
116669 striplib \
116670 predep_objects \
116671 postdep_objects \
116672 predeps \
116673 postdeps \
116674 compiler_lib_search_path \
116675 LD_CXX \
116676 compiler_CXX \
116677 lt_prog_compiler_no_builtin_flag_CXX \
116678 lt_prog_compiler_wl_CXX \
116679 lt_prog_compiler_pic_CXX \
116680 lt_prog_compiler_static_CXX \
116681 lt_cv_prog_compiler_c_o_CXX \
116682 export_dynamic_flag_spec_CXX \
116683 whole_archive_flag_spec_CXX \
116684 compiler_needs_object_CXX \
116685 with_gnu_ld_CXX \
116686 allow_undefined_flag_CXX \
116687 no_undefined_flag_CXX \
116688 hardcode_libdir_flag_spec_CXX \
116689 hardcode_libdir_flag_spec_ld_CXX \
116690 hardcode_libdir_separator_CXX \
116691 fix_srcfile_path_CXX \
116692 exclude_expsyms_CXX \
116693 include_expsyms_CXX \
116694 file_list_spec_CXX \
116695 predep_objects_CXX \
116696 postdep_objects_CXX \
116697 predeps_CXX \
116698 postdeps_CXX \
116699 compiler_lib_search_path_CXX; do
116700 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
116701 *[\\\\\\\`\\"\\\$]*)
116702 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
116705 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
116710 # Double-quote double-evaled strings.
116711 for var in reload_cmds \
116712 old_postinstall_cmds \
116713 old_postuninstall_cmds \
116714 old_archive_cmds \
116715 extract_expsyms_cmds \
116716 old_archive_from_new_cmds \
116717 old_archive_from_expsyms_cmds \
116718 archive_cmds \
116719 archive_expsym_cmds \
116720 module_cmds \
116721 module_expsym_cmds \
116722 export_symbols_cmds \
116723 prelink_cmds \
116724 postinstall_cmds \
116725 postuninstall_cmds \
116726 finish_cmds \
116727 sys_lib_search_path_spec \
116728 sys_lib_dlsearch_path_spec \
116729 old_archive_cmds_CXX \
116730 old_archive_from_new_cmds_CXX \
116731 old_archive_from_expsyms_cmds_CXX \
116732 archive_cmds_CXX \
116733 archive_expsym_cmds_CXX \
116734 module_cmds_CXX \
116735 module_expsym_cmds_CXX \
116736 export_symbols_cmds_CXX \
116737 prelink_cmds_CXX; do
116738 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
116739 *[\\\\\\\`\\"\\\$]*)
116740 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
116743 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
116748 # Fix-up fallback echo if it was mangled by the above quoting rules.
116749 case \$lt_ECHO in
116750 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
116754 ac_aux_dir='$ac_aux_dir'
116755 xsi_shell='$xsi_shell'
116756 lt_shell_append='$lt_shell_append'
116758 # See if we are running on zsh, and set the options which allow our
116759 # commands through without removal of \ escapes INIT.
116760 if test -n "\${ZSH_VERSION+set}" ; then
116761 setopt NO_GLOB_SUBST
116765 PACKAGE='$PACKAGE'
116766 VERSION='$VERSION'
116767 TIMESTAMP='$TIMESTAMP'
116768 RM='$RM'
116769 ofile='$ofile'
116776 # Variables needed in config.status (file generation) which aren't already
116777 # passed by autoconf.
116778 SUBDIRS="$SUBDIRS"
116781 _ACEOF
116785 cat >>$CONFIG_STATUS <<\_ACEOF
116786 for ac_config_target in $ac_config_targets
116788 case "$ac_config_target" in
116789 # Handling of arguments.
116790 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
116791 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
116792 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
116793 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
116794 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
116795 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
116796 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
116797 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
116798 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
116799 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
116800 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
116801 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
116802 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
116803 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
116804 { (exit 1); exit 1; }; };;
116808 # If the user did not use the arguments to specify the items to instantiate,
116809 # then the envvar interface is used. Set only those that are not.
116810 # We use the long form for the default assignment because of an extremely
116811 # bizarre bug on SunOS 4.1.3.
116812 if $ac_need_defaults; then
116813 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
116814 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
116815 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
116818 # Have a temporary directory for convenience. Make it in the build tree
116819 # simply because there is no reason to put it here, and in addition,
116820 # creating and moving files from /tmp can sometimes cause problems.
116821 # Create a temporary directory, and hook for its removal unless debugging.
116822 $debug ||
116824 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
116825 trap '{ (exit 1); exit 1; }' 1 2 13 15
116828 # Create a (secure) tmp directory for tmp files.
116831 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
116832 test -n "$tmp" && test -d "$tmp"
116835 tmp=./confstat$$-$RANDOM
116836 (umask 077 && mkdir $tmp)
116839 echo "$me: cannot create a temporary directory in ." >&2
116840 { (exit 1); exit 1; }
116843 _ACEOF
116845 cat >>$CONFIG_STATUS <<_ACEOF
116848 # CONFIG_FILES section.
116851 # No need to generate the scripts if there are no CONFIG_FILES.
116852 # This happens for instance when ./config.status config.h
116853 if test -n "\$CONFIG_FILES"; then
116854 # Protect against being on the right side of a sed subst in config.status.
116855 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
116856 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
116857 s,@SHELL@,$SHELL,;t t
116858 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
116859 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
116860 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
116861 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
116862 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
116863 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
116864 s,@exec_prefix@,$exec_prefix,;t t
116865 s,@prefix@,$prefix,;t t
116866 s,@program_transform_name@,$program_transform_name,;t t
116867 s,@bindir@,$bindir,;t t
116868 s,@sbindir@,$sbindir,;t t
116869 s,@libexecdir@,$libexecdir,;t t
116870 s,@datadir@,$datadir,;t t
116871 s,@sysconfdir@,$sysconfdir,;t t
116872 s,@sharedstatedir@,$sharedstatedir,;t t
116873 s,@localstatedir@,$localstatedir,;t t
116874 s,@libdir@,$libdir,;t t
116875 s,@includedir@,$includedir,;t t
116876 s,@oldincludedir@,$oldincludedir,;t t
116877 s,@infodir@,$infodir,;t t
116878 s,@mandir@,$mandir,;t t
116879 s,@build_alias@,$build_alias,;t t
116880 s,@host_alias@,$host_alias,;t t
116881 s,@target_alias@,$target_alias,;t t
116882 s,@DEFS@,$DEFS,;t t
116883 s,@ECHO_C@,$ECHO_C,;t t
116884 s,@ECHO_N@,$ECHO_N,;t t
116885 s,@ECHO_T@,$ECHO_T,;t t
116886 s,@LIBS@,$LIBS,;t t
116887 s,@libtool_VERSION@,$libtool_VERSION,;t t
116888 s,@multi_basedir@,$multi_basedir,;t t
116889 s,@build@,$build,;t t
116890 s,@build_cpu@,$build_cpu,;t t
116891 s,@build_vendor@,$build_vendor,;t t
116892 s,@build_os@,$build_os,;t t
116893 s,@host@,$host,;t t
116894 s,@host_cpu@,$host_cpu,;t t
116895 s,@host_vendor@,$host_vendor,;t t
116896 s,@host_os@,$host_os,;t t
116897 s,@target@,$target,;t t
116898 s,@target_cpu@,$target_cpu,;t t
116899 s,@target_vendor@,$target_vendor,;t t
116900 s,@target_os@,$target_os,;t t
116901 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
116902 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
116903 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
116904 s,@CYGPATH_W@,$CYGPATH_W,;t t
116905 s,@PACKAGE@,$PACKAGE,;t t
116906 s,@VERSION@,$VERSION,;t t
116907 s,@ACLOCAL@,$ACLOCAL,;t t
116908 s,@AUTOCONF@,$AUTOCONF,;t t
116909 s,@AUTOMAKE@,$AUTOMAKE,;t t
116910 s,@AUTOHEADER@,$AUTOHEADER,;t t
116911 s,@MAKEINFO@,$MAKEINFO,;t t
116912 s,@install_sh@,$install_sh,;t t
116913 s,@STRIP@,$STRIP,;t t
116914 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
116915 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
116916 s,@mkdir_p@,$mkdir_p,;t t
116917 s,@AWK@,$AWK,;t t
116918 s,@SET_MAKE@,$SET_MAKE,;t t
116919 s,@am__leading_dot@,$am__leading_dot,;t t
116920 s,@AMTAR@,$AMTAR,;t t
116921 s,@am__tar@,$am__tar,;t t
116922 s,@am__untar@,$am__untar,;t t
116923 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
116924 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
116925 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
116926 s,@CC@,$CC,;t t
116927 s,@ac_ct_CC@,$ac_ct_CC,;t t
116928 s,@EXEEXT@,$EXEEXT,;t t
116929 s,@OBJEXT@,$OBJEXT,;t t
116930 s,@CXX@,$CXX,;t t
116931 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
116932 s,@CFLAGS@,$CFLAGS,;t t
116933 s,@CXXFLAGS@,$CXXFLAGS,;t t
116934 s,@LN_S@,$LN_S,;t t
116935 s,@AS@,$AS,;t t
116936 s,@ac_ct_AS@,$ac_ct_AS,;t t
116937 s,@AR@,$AR,;t t
116938 s,@ac_ct_AR@,$ac_ct_AR,;t t
116939 s,@RANLIB@,$RANLIB,;t t
116940 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
116941 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
116942 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
116943 s,@MAINT@,$MAINT,;t t
116944 s,@CPP@,$CPP,;t t
116945 s,@CPPFLAGS@,$CPPFLAGS,;t t
116946 s,@EGREP@,$EGREP,;t t
116947 s,@LIBTOOL@,$LIBTOOL,;t t
116948 s,@SED@,$SED,;t t
116949 s,@FGREP@,$FGREP,;t t
116950 s,@GREP@,$GREP,;t t
116951 s,@LD@,$LD,;t t
116952 s,@DUMPBIN@,$DUMPBIN,;t t
116953 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
116954 s,@NM@,$NM,;t t
116955 s,@lt_ECHO@,$lt_ECHO,;t t
116956 s,@LDFLAGS@,$LDFLAGS,;t t
116957 s,@CXXCPP@,$CXXCPP,;t t
116958 s,@enable_shared@,$enable_shared,;t t
116959 s,@enable_static@,$enable_static,;t t
116960 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
116961 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
116962 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
116963 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
116964 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
116965 s,@CSTDIO_H@,$CSTDIO_H,;t t
116966 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
116967 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
116968 s,@check_msgfmt@,$check_msgfmt,;t t
116969 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
116970 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
116971 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
116972 s,@USE_NLS@,$USE_NLS,;t t
116973 s,@CLOCALE_H@,$CLOCALE_H,;t t
116974 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
116975 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
116976 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
116977 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
116978 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
116979 s,@CMONEY_CC@,$CMONEY_CC,;t t
116980 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
116981 s,@CTIME_H@,$CTIME_H,;t t
116982 s,@CTIME_CC@,$CTIME_CC,;t t
116983 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
116984 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
116985 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
116986 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
116987 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
116988 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
116989 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
116990 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
116991 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
116992 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
116993 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
116994 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
116995 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
116996 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
116997 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
116998 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
116999 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
117000 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
117001 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
117002 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
117003 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
117004 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
117005 s,@WERROR@,$WERROR,;t t
117006 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
117007 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
117008 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
117009 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
117010 s,@LIBICONV@,$LIBICONV,;t t
117011 s,@LTLIBICONV@,$LTLIBICONV,;t t
117012 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
117013 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
117014 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
117015 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
117016 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
117017 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
117018 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
117019 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
117020 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
117021 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
117022 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
117023 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
117024 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
117025 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
117026 s,@baseline_dir@,$baseline_dir,;t t
117027 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
117028 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
117029 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
117030 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
117031 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
117032 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
117033 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
117034 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
117035 s,@gxx_include_dir@,$gxx_include_dir,;t t
117036 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
117037 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
117038 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
117039 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
117040 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
117041 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
117042 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
117043 s,@LIBOBJS@,$LIBOBJS,;t t
117044 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
117047 _ACEOF
117049 cat >>$CONFIG_STATUS <<\_ACEOF
117050 # Split the substitutions into bite-sized pieces for seds with
117051 # small command number limits, like on Digital OSF/1 and HP-UX.
117052 ac_max_sed_lines=48
117053 ac_sed_frag=1 # Number of current file.
117054 ac_beg=1 # First line for current file.
117055 ac_end=$ac_max_sed_lines # Line after last line for current file.
117056 ac_more_lines=:
117057 ac_sed_cmds=
117058 while $ac_more_lines; do
117059 if test $ac_beg -gt 1; then
117060 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
117062 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
117064 if test ! -s $tmp/subs.frag; then
117065 ac_more_lines=false
117067 # The purpose of the label and of the branching condition is to
117068 # speed up the sed processing (if there are no `@' at all, there
117069 # is no need to browse any of the substitutions).
117070 # These are the two extra sed commands mentioned above.
117071 (echo ':t
117072 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
117073 if test -z "$ac_sed_cmds"; then
117074 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
117076 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
117078 ac_sed_frag=`expr $ac_sed_frag + 1`
117079 ac_beg=$ac_end
117080 ac_end=`expr $ac_end + $ac_max_sed_lines`
117083 if test -z "$ac_sed_cmds"; then
117084 ac_sed_cmds=cat
117086 fi # test -n "$CONFIG_FILES"
117088 _ACEOF
117089 cat >>$CONFIG_STATUS <<\_ACEOF
117090 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
117091 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
117092 case $ac_file in
117093 - | *:- | *:-:* ) # input from stdin
117094 cat >$tmp/stdin
117095 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117096 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117097 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117098 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117099 * ) ac_file_in=$ac_file.in ;;
117102 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
117103 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
117104 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117105 X"$ac_file" : 'X\(//\)[^/]' \| \
117106 X"$ac_file" : 'X\(//\)$' \| \
117107 X"$ac_file" : 'X\(/\)' \| \
117108 . : '\(.\)' 2>/dev/null ||
117109 echo X"$ac_file" |
117110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117111 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117112 /^X\(\/\/\)$/{ s//\1/; q; }
117113 /^X\(\/\).*/{ s//\1/; q; }
117114 s/.*/./; q'`
117115 { if $as_mkdir_p; then
117116 mkdir -p "$ac_dir"
117118 as_dir="$ac_dir"
117119 as_dirs=
117120 while test ! -d "$as_dir"; do
117121 as_dirs="$as_dir $as_dirs"
117122 as_dir=`(dirname "$as_dir") 2>/dev/null ||
117123 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117124 X"$as_dir" : 'X\(//\)[^/]' \| \
117125 X"$as_dir" : 'X\(//\)$' \| \
117126 X"$as_dir" : 'X\(/\)' \| \
117127 . : '\(.\)' 2>/dev/null ||
117128 echo X"$as_dir" |
117129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117130 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117131 /^X\(\/\/\)$/{ s//\1/; q; }
117132 /^X\(\/\).*/{ s//\1/; q; }
117133 s/.*/./; q'`
117135 test ! -n "$as_dirs" || mkdir $as_dirs
117136 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
117137 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
117138 { (exit 1); exit 1; }; }; }
117140 ac_builddir=.
117142 if test "$ac_dir" != .; then
117143 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
117144 # A "../" for each directory in $ac_dir_suffix.
117145 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
117147 ac_dir_suffix= ac_top_builddir=
117150 case $srcdir in
117151 .) # No --srcdir option. We are building in place.
117152 ac_srcdir=.
117153 if test -z "$ac_top_builddir"; then
117154 ac_top_srcdir=.
117156 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
117157 fi ;;
117158 [\\/]* | ?:[\\/]* ) # Absolute path.
117159 ac_srcdir=$srcdir$ac_dir_suffix;
117160 ac_top_srcdir=$srcdir ;;
117161 *) # Relative path.
117162 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
117163 ac_top_srcdir=$ac_top_builddir$srcdir ;;
117166 # Do not use `cd foo && pwd` to compute absolute paths, because
117167 # the directories may not exist.
117168 case `pwd` in
117169 .) ac_abs_builddir="$ac_dir";;
117171 case "$ac_dir" in
117172 .) ac_abs_builddir=`pwd`;;
117173 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
117174 *) ac_abs_builddir=`pwd`/"$ac_dir";;
117175 esac;;
117177 case $ac_abs_builddir in
117178 .) ac_abs_top_builddir=${ac_top_builddir}.;;
117180 case ${ac_top_builddir}. in
117181 .) ac_abs_top_builddir=$ac_abs_builddir;;
117182 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
117183 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
117184 esac;;
117186 case $ac_abs_builddir in
117187 .) ac_abs_srcdir=$ac_srcdir;;
117189 case $ac_srcdir in
117190 .) ac_abs_srcdir=$ac_abs_builddir;;
117191 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
117192 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
117193 esac;;
117195 case $ac_abs_builddir in
117196 .) ac_abs_top_srcdir=$ac_top_srcdir;;
117198 case $ac_top_srcdir in
117199 .) ac_abs_top_srcdir=$ac_abs_builddir;;
117200 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
117201 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
117202 esac;;
117206 case $INSTALL in
117207 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
117208 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
117211 if test x"$ac_file" != x-; then
117212 { echo "$as_me:$LINENO: creating $ac_file" >&5
117213 echo "$as_me: creating $ac_file" >&6;}
117214 rm -f "$ac_file"
117216 # Let's still pretend it is `configure' which instantiates (i.e., don't
117217 # use $as_me), people would be surprised to read:
117218 # /* config.h. Generated by config.status. */
117219 if test x"$ac_file" = x-; then
117220 configure_input=
117222 configure_input="$ac_file. "
117224 configure_input=$configure_input"Generated from `echo $ac_file_in |
117225 sed 's,.*/,,'` by configure."
117227 # First look for the input files in the build tree, otherwise in the
117228 # src tree.
117229 ac_file_inputs=`IFS=:
117230 for f in $ac_file_in; do
117231 case $f in
117232 -) echo $tmp/stdin ;;
117233 [\\/$]*)
117234 # Absolute (can't be DOS-style, as IFS=:)
117235 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117236 echo "$as_me: error: cannot find input file: $f" >&2;}
117237 { (exit 1); exit 1; }; }
117238 echo "$f";;
117239 *) # Relative
117240 if test -f "$f"; then
117241 # Build tree
117242 echo "$f"
117243 elif test -f "$srcdir/$f"; then
117244 # Source tree
117245 echo "$srcdir/$f"
117247 # /dev/null tree
117248 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117249 echo "$as_me: error: cannot find input file: $f" >&2;}
117250 { (exit 1); exit 1; }; }
117253 done` || { (exit 1); exit 1; }
117254 _ACEOF
117255 cat >>$CONFIG_STATUS <<_ACEOF
117256 sed "$ac_vpsub
117257 $extrasub
117258 _ACEOF
117259 cat >>$CONFIG_STATUS <<\_ACEOF
117261 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
117262 s,@configure_input@,$configure_input,;t t
117263 s,@srcdir@,$ac_srcdir,;t t
117264 s,@abs_srcdir@,$ac_abs_srcdir,;t t
117265 s,@top_srcdir@,$ac_top_srcdir,;t t
117266 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
117267 s,@builddir@,$ac_builddir,;t t
117268 s,@abs_builddir@,$ac_abs_builddir,;t t
117269 s,@top_builddir@,$ac_top_builddir,;t t
117270 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
117271 s,@INSTALL@,$ac_INSTALL,;t t
117272 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
117273 rm -f $tmp/stdin
117274 if test x"$ac_file" != x-; then
117275 mv $tmp/out $ac_file
117277 cat $tmp/out
117278 rm -f $tmp/out
117281 # Run the commands associated with the file.
117282 case $ac_file in
117283 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
117286 _ACEOF
117287 cat >>$CONFIG_STATUS <<\_ACEOF
117290 # CONFIG_HEADER section.
117293 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
117294 # NAME is the cpp macro being defined and VALUE is the value it is being given.
117296 # ac_d sets the value in "#define NAME VALUE" lines.
117297 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
117298 ac_dB='[ ].*$,\1#\2'
117299 ac_dC=' '
117300 ac_dD=',;t'
117301 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
117302 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
117303 ac_uB='$,\1#\2define\3'
117304 ac_uC=' '
117305 ac_uD=',;t'
117307 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
117308 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
117309 case $ac_file in
117310 - | *:- | *:-:* ) # input from stdin
117311 cat >$tmp/stdin
117312 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117313 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117314 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117315 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117316 * ) ac_file_in=$ac_file.in ;;
117319 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
117320 echo "$as_me: creating $ac_file" >&6;}
117322 # First look for the input files in the build tree, otherwise in the
117323 # src tree.
117324 ac_file_inputs=`IFS=:
117325 for f in $ac_file_in; do
117326 case $f in
117327 -) echo $tmp/stdin ;;
117328 [\\/$]*)
117329 # Absolute (can't be DOS-style, as IFS=:)
117330 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117331 echo "$as_me: error: cannot find input file: $f" >&2;}
117332 { (exit 1); exit 1; }; }
117333 # Do quote $f, to prevent DOS paths from being IFS'd.
117334 echo "$f";;
117335 *) # Relative
117336 if test -f "$f"; then
117337 # Build tree
117338 echo "$f"
117339 elif test -f "$srcdir/$f"; then
117340 # Source tree
117341 echo "$srcdir/$f"
117343 # /dev/null tree
117344 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117345 echo "$as_me: error: cannot find input file: $f" >&2;}
117346 { (exit 1); exit 1; }; }
117349 done` || { (exit 1); exit 1; }
117350 # Remove the trailing spaces.
117351 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
117353 _ACEOF
117355 # Transform confdefs.h into two sed scripts, `conftest.defines' and
117356 # `conftest.undefs', that substitutes the proper values into
117357 # config.h.in to produce config.h. The first handles `#define'
117358 # templates, and the second `#undef' templates.
117359 # And first: Protect against being on the right side of a sed subst in
117360 # config.status. Protect against being in an unquoted here document
117361 # in config.status.
117362 rm -f conftest.defines conftest.undefs
117363 # Using a here document instead of a string reduces the quoting nightmare.
117364 # Putting comments in sed scripts is not portable.
117366 # `end' is used to avoid that the second main sed command (meant for
117367 # 0-ary CPP macros) applies to n-ary macro definitions.
117368 # See the Autoconf documentation for `clear'.
117369 cat >confdef2sed.sed <<\_ACEOF
117370 s/[\\&,]/\\&/g
117371 s,[\\$`],\\&,g
117372 t clear
117373 : clear
117374 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
117375 t end
117376 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
117377 : end
117378 _ACEOF
117379 # If some macros were called several times there might be several times
117380 # the same #defines, which is useless. Nevertheless, we may not want to
117381 # sort them, since we want the *last* AC-DEFINE to be honored.
117382 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
117383 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
117384 rm -f confdef2sed.sed
117386 # This sed command replaces #undef with comments. This is necessary, for
117387 # example, in the case of _POSIX_SOURCE, which is predefined and required
117388 # on some systems where configure will not decide to define it.
117389 cat >>conftest.undefs <<\_ACEOF
117390 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
117391 _ACEOF
117393 # Break up conftest.defines because some shells have a limit on the size
117394 # of here documents, and old seds have small limits too (100 cmds).
117395 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
117396 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
117397 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
117398 echo ' :' >>$CONFIG_STATUS
117399 rm -f conftest.tail
117400 while grep . conftest.defines >/dev/null
117402 # Write a limited-size here document to $tmp/defines.sed.
117403 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
117404 # Speed up: don't consider the non `#define' lines.
117405 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
117406 # Work around the forget-to-reset-the-flag bug.
117407 echo 't clr' >>$CONFIG_STATUS
117408 echo ': clr' >>$CONFIG_STATUS
117409 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
117410 echo 'CEOF
117411 sed -f $tmp/defines.sed $tmp/in >$tmp/out
117412 rm -f $tmp/in
117413 mv $tmp/out $tmp/in
117414 ' >>$CONFIG_STATUS
117415 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
117416 rm -f conftest.defines
117417 mv conftest.tail conftest.defines
117419 rm -f conftest.defines
117420 echo ' fi # grep' >>$CONFIG_STATUS
117421 echo >>$CONFIG_STATUS
117423 # Break up conftest.undefs because some shells have a limit on the size
117424 # of here documents, and old seds have small limits too (100 cmds).
117425 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
117426 rm -f conftest.tail
117427 while grep . conftest.undefs >/dev/null
117429 # Write a limited-size here document to $tmp/undefs.sed.
117430 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
117431 # Speed up: don't consider the non `#undef'
117432 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
117433 # Work around the forget-to-reset-the-flag bug.
117434 echo 't clr' >>$CONFIG_STATUS
117435 echo ': clr' >>$CONFIG_STATUS
117436 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
117437 echo 'CEOF
117438 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
117439 rm -f $tmp/in
117440 mv $tmp/out $tmp/in
117441 ' >>$CONFIG_STATUS
117442 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
117443 rm -f conftest.undefs
117444 mv conftest.tail conftest.undefs
117446 rm -f conftest.undefs
117448 cat >>$CONFIG_STATUS <<\_ACEOF
117449 # Let's still pretend it is `configure' which instantiates (i.e., don't
117450 # use $as_me), people would be surprised to read:
117451 # /* config.h. Generated by config.status. */
117452 if test x"$ac_file" = x-; then
117453 echo "/* Generated by configure. */" >$tmp/config.h
117455 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
117457 cat $tmp/in >>$tmp/config.h
117458 rm -f $tmp/in
117459 if test x"$ac_file" != x-; then
117460 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
117461 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
117462 echo "$as_me: $ac_file is unchanged" >&6;}
117464 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
117465 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117466 X"$ac_file" : 'X\(//\)[^/]' \| \
117467 X"$ac_file" : 'X\(//\)$' \| \
117468 X"$ac_file" : 'X\(/\)' \| \
117469 . : '\(.\)' 2>/dev/null ||
117470 echo X"$ac_file" |
117471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117472 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117473 /^X\(\/\/\)$/{ s//\1/; q; }
117474 /^X\(\/\).*/{ s//\1/; q; }
117475 s/.*/./; q'`
117476 { if $as_mkdir_p; then
117477 mkdir -p "$ac_dir"
117479 as_dir="$ac_dir"
117480 as_dirs=
117481 while test ! -d "$as_dir"; do
117482 as_dirs="$as_dir $as_dirs"
117483 as_dir=`(dirname "$as_dir") 2>/dev/null ||
117484 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117485 X"$as_dir" : 'X\(//\)[^/]' \| \
117486 X"$as_dir" : 'X\(//\)$' \| \
117487 X"$as_dir" : 'X\(/\)' \| \
117488 . : '\(.\)' 2>/dev/null ||
117489 echo X"$as_dir" |
117490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117491 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117492 /^X\(\/\/\)$/{ s//\1/; q; }
117493 /^X\(\/\).*/{ s//\1/; q; }
117494 s/.*/./; q'`
117496 test ! -n "$as_dirs" || mkdir $as_dirs
117497 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
117498 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
117499 { (exit 1); exit 1; }; }; }
117501 rm -f $ac_file
117502 mv $tmp/config.h $ac_file
117505 cat $tmp/config.h
117506 rm -f $tmp/config.h
117508 # Compute $ac_file's index in $config_headers.
117509 _am_stamp_count=1
117510 for _am_header in $config_headers :; do
117511 case $_am_header in
117512 $ac_file | $ac_file:* )
117513 break ;;
117515 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
117518 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
117519 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117520 X$ac_file : 'X\(//\)[^/]' \| \
117521 X$ac_file : 'X\(//\)$' \| \
117522 X$ac_file : 'X\(/\)' \| \
117523 . : '\(.\)' 2>/dev/null ||
117524 echo X$ac_file |
117525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117526 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117527 /^X\(\/\/\)$/{ s//\1/; q; }
117528 /^X\(\/\).*/{ s//\1/; q; }
117529 s/.*/./; q'`/stamp-h$_am_stamp_count
117531 _ACEOF
117532 cat >>$CONFIG_STATUS <<\_ACEOF
117535 # CONFIG_COMMANDS section.
117537 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
117538 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
117539 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
117540 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
117541 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117542 X"$ac_dest" : 'X\(//\)[^/]' \| \
117543 X"$ac_dest" : 'X\(//\)$' \| \
117544 X"$ac_dest" : 'X\(/\)' \| \
117545 . : '\(.\)' 2>/dev/null ||
117546 echo X"$ac_dest" |
117547 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117548 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117549 /^X\(\/\/\)$/{ s//\1/; q; }
117550 /^X\(\/\).*/{ s//\1/; q; }
117551 s/.*/./; q'`
117552 { if $as_mkdir_p; then
117553 mkdir -p "$ac_dir"
117555 as_dir="$ac_dir"
117556 as_dirs=
117557 while test ! -d "$as_dir"; do
117558 as_dirs="$as_dir $as_dirs"
117559 as_dir=`(dirname "$as_dir") 2>/dev/null ||
117560 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117561 X"$as_dir" : 'X\(//\)[^/]' \| \
117562 X"$as_dir" : 'X\(//\)$' \| \
117563 X"$as_dir" : 'X\(/\)' \| \
117564 . : '\(.\)' 2>/dev/null ||
117565 echo X"$as_dir" |
117566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117567 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117568 /^X\(\/\/\)$/{ s//\1/; q; }
117569 /^X\(\/\).*/{ s//\1/; q; }
117570 s/.*/./; q'`
117572 test ! -n "$as_dirs" || mkdir $as_dirs
117573 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
117574 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
117575 { (exit 1); exit 1; }; }; }
117577 ac_builddir=.
117579 if test "$ac_dir" != .; then
117580 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
117581 # A "../" for each directory in $ac_dir_suffix.
117582 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
117584 ac_dir_suffix= ac_top_builddir=
117587 case $srcdir in
117588 .) # No --srcdir option. We are building in place.
117589 ac_srcdir=.
117590 if test -z "$ac_top_builddir"; then
117591 ac_top_srcdir=.
117593 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
117594 fi ;;
117595 [\\/]* | ?:[\\/]* ) # Absolute path.
117596 ac_srcdir=$srcdir$ac_dir_suffix;
117597 ac_top_srcdir=$srcdir ;;
117598 *) # Relative path.
117599 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
117600 ac_top_srcdir=$ac_top_builddir$srcdir ;;
117603 # Do not use `cd foo && pwd` to compute absolute paths, because
117604 # the directories may not exist.
117605 case `pwd` in
117606 .) ac_abs_builddir="$ac_dir";;
117608 case "$ac_dir" in
117609 .) ac_abs_builddir=`pwd`;;
117610 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
117611 *) ac_abs_builddir=`pwd`/"$ac_dir";;
117612 esac;;
117614 case $ac_abs_builddir in
117615 .) ac_abs_top_builddir=${ac_top_builddir}.;;
117617 case ${ac_top_builddir}. in
117618 .) ac_abs_top_builddir=$ac_abs_builddir;;
117619 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
117620 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
117621 esac;;
117623 case $ac_abs_builddir in
117624 .) ac_abs_srcdir=$ac_srcdir;;
117626 case $ac_srcdir in
117627 .) ac_abs_srcdir=$ac_abs_builddir;;
117628 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
117629 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
117630 esac;;
117632 case $ac_abs_builddir in
117633 .) ac_abs_top_srcdir=$ac_top_srcdir;;
117635 case $ac_top_srcdir in
117636 .) ac_abs_top_srcdir=$ac_abs_builddir;;
117637 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
117638 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
117639 esac;;
117643 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
117644 echo "$as_me: executing $ac_dest commands" >&6;}
117645 case $ac_dest in
117646 default-1 )
117647 # Only add multilib support code if we just rebuilt the top-level
117648 # Makefile.
117649 case " $CONFIG_FILES " in
117650 *" Makefile "*)
117651 ac_file=Makefile . ${multi_basedir}/config-ml.in
117653 esac ;;
117654 libtool )
117656 # See if we are running on zsh, and set the options which allow our
117657 # commands through without removal of \ escapes.
117658 if test -n "${ZSH_VERSION+set}" ; then
117659 setopt NO_GLOB_SUBST
117662 cfgfile="${ofile}T"
117663 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
117664 $RM "$cfgfile"
117666 cat <<_LT_EOF >> "$cfgfile"
117667 #! $SHELL
117669 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
117670 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
117671 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
117672 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
117674 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
117675 # 2006, 2007 Free Software Foundation, Inc.
117677 # This file is part of GNU Libtool:
117678 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
117680 # This program is free software; you can redistribute it and/or modify
117681 # it under the terms of the GNU General Public License as published by
117682 # the Free Software Foundation; either version 2 of the License, or
117683 # (at your option) any later version.
117685 # This program is distributed in the hope that it will be useful, but
117686 # WITHOUT ANY WARRANTY; without even the implied warranty of
117687 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
117688 # General Public License for more details.
117690 # You should have received a copy of the GNU General Public License
117691 # along with this program; if not, a copy can be downloaded from
117692 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
117693 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
117694 # MA 02110-1301, USA.
117696 # As a special exception to the GNU General Public License, if you
117697 # distribute this file as part of a program that contains a
117698 # configuration script generated by Autoconf, you may include it under
117699 # the same distribution terms that you use for the rest of that program.
117702 # The names of the tagged configurations supported by this script.
117703 available_tags="CXX "
117705 # ### BEGIN LIBTOOL CONFIG
117707 # Which release of libtool.m4 was used?
117708 macro_version=$macro_version
117709 macro_revision=$macro_revision
117711 # Whether or not to build shared libraries.
117712 build_libtool_libs=$enable_shared
117714 # Whether or not to build static libraries.
117715 build_old_libs=$enable_static
117717 # What type of objects to build.
117718 pic_mode=$pic_mode
117720 # Whether or not to optimize for fast installation.
117721 fast_install=$enable_fast_install
117723 # The host system.
117724 host_alias=$host_alias
117725 host=$host
117726 host_os=$host_os
117728 # The build system.
117729 build_alias=$build_alias
117730 build=$build
117731 build_os=$build_os
117733 # A sed program that does not truncate output.
117734 SED=$lt_SED
117736 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
117737 Xsed="\$SED -e 1s/^X//"
117739 # A grep program that handles long lines.
117740 GREP=$lt_GREP
117742 # An ERE matcher.
117743 EGREP=$lt_EGREP
117745 # A literal string matcher.
117746 FGREP=$lt_FGREP
117748 # A BSD- or MS-compatible name lister.
117749 NM=$lt_NM
117751 # Whether we need soft or hard links.
117752 LN_S=$lt_LN_S
117754 # What is the maximum length of a command?
117755 max_cmd_len=$max_cmd_len
117757 # Object file suffix (normally "o").
117758 objext=$ac_objext
117760 # Executable file suffix (normally "").
117761 exeext=$exeext
117763 # whether the shell understands "unset".
117764 lt_unset=$lt_unset
117766 # turn spaces into newlines.
117767 SP2NL=$lt_lt_SP2NL
117769 # turn newlines into spaces.
117770 NL2SP=$lt_lt_NL2SP
117772 # How to create reloadable object files.
117773 reload_flag=$lt_reload_flag
117774 reload_cmds=$lt_reload_cmds
117776 # Method to check whether dependent libraries are shared objects.
117777 deplibs_check_method=$lt_deplibs_check_method
117779 # Command to use when deplibs_check_method == "file_magic".
117780 file_magic_cmd=$lt_file_magic_cmd
117782 # The archiver.
117783 AR=$lt_AR
117784 AR_FLAGS=$lt_AR_FLAGS
117786 # A symbol stripping program.
117787 STRIP=$lt_STRIP
117789 # Commands used to install an old-style archive.
117790 RANLIB=$lt_RANLIB
117791 old_postinstall_cmds=$lt_old_postinstall_cmds
117792 old_postuninstall_cmds=$lt_old_postuninstall_cmds
117794 # A C compiler.
117795 LTCC=$lt_CC
117797 # LTCC compiler flags.
117798 LTCFLAGS=$lt_CFLAGS
117800 # Take the output of nm and produce a listing of raw symbols and C names.
117801 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
117803 # Transform the output of nm in a proper C declaration.
117804 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
117806 # Transform the output of nm in a C name address pair.
117807 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
117809 # The name of the directory that contains temporary libtool files.
117810 objdir=$objdir
117812 # Shell to use when invoking shell scripts.
117813 SHELL=$lt_SHELL
117815 # An echo program that does not interpret backslashes.
117816 ECHO=$lt_ECHO
117818 # Used to examine libraries when file_magic_cmd begins with "file".
117819 MAGIC_CMD=$MAGIC_CMD
117821 # Must we lock files when doing compilation?
117822 need_locks=$lt_need_locks
117824 # Old archive suffix (normally "a").
117825 libext=$libext
117827 # Shared library suffix (normally ".so").
117828 shrext_cmds=$lt_shrext_cmds
117830 # The commands to extract the exported symbol list from a shared archive.
117831 extract_expsyms_cmds=$lt_extract_expsyms_cmds
117833 # Variables whose values should be saved in libtool wrapper scripts and
117834 # restored at link time.
117835 variables_saved_for_relink=$lt_variables_saved_for_relink
117837 # Do we need the "lib" prefix for modules?
117838 need_lib_prefix=$need_lib_prefix
117840 # Do we need a version for libraries?
117841 need_version=$need_version
117843 # Library versioning type.
117844 version_type=$version_type
117846 # Shared library runtime path variable.
117847 runpath_var=$runpath_var
117849 # Shared library path variable.
117850 shlibpath_var=$shlibpath_var
117852 # Is shlibpath searched before the hard-coded library search path?
117853 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
117855 # Format of library name prefix.
117856 libname_spec=$lt_libname_spec
117858 # List of archive names. First name is the real one, the rest are links.
117859 # The last name is the one that the linker finds with -lNAME
117860 library_names_spec=$lt_library_names_spec
117862 # The coded name of the library, if different from the real name.
117863 soname_spec=$lt_soname_spec
117865 # Command to use after installation of a shared archive.
117866 postinstall_cmds=$lt_postinstall_cmds
117868 # Command to use after uninstallation of a shared archive.
117869 postuninstall_cmds=$lt_postuninstall_cmds
117871 # Commands used to finish a libtool library installation in a directory.
117872 finish_cmds=$lt_finish_cmds
117874 # As "finish_cmds", except a single script fragment to be evaled but
117875 # not shown.
117876 finish_eval=$lt_finish_eval
117878 # Whether we should hardcode library paths into libraries.
117879 hardcode_into_libs=$hardcode_into_libs
117881 # Compile-time system search path for libraries.
117882 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
117884 # Run-time system search path for libraries.
117885 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
117887 # Whether dlopen is supported.
117888 dlopen_support=$enable_dlopen
117890 # Whether dlopen of programs is supported.
117891 dlopen_self=$enable_dlopen_self
117893 # Whether dlopen of statically linked programs is supported.
117894 dlopen_self_static=$enable_dlopen_self_static
117896 # Commands to strip libraries.
117897 old_striplib=$lt_old_striplib
117898 striplib=$lt_striplib
117901 # The linker used to build libraries.
117902 LD=$lt_LD
117904 # Commands used to build an old-style archive.
117905 old_archive_cmds=$lt_old_archive_cmds
117907 # A language specific compiler.
117908 CC=$lt_compiler
117910 # Is the compiler the GNU compiler?
117911 with_gcc=$GCC
117913 # Compiler flag to turn off builtin functions.
117914 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
117916 # How to pass a linker flag through the compiler.
117917 wl=$lt_lt_prog_compiler_wl
117919 # Additional compiler flags for building library objects.
117920 pic_flag=$lt_lt_prog_compiler_pic
117922 # Compiler flag to prevent dynamic linking.
117923 link_static_flag=$lt_lt_prog_compiler_static
117925 # Does compiler simultaneously support -c and -o options?
117926 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
117928 # Whether or not to add -lc for building shared libraries.
117929 build_libtool_need_lc=$archive_cmds_need_lc
117931 # Whether or not to disallow shared libs when runtime libs are static.
117932 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
117934 # Compiler flag to allow reflexive dlopens.
117935 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
117937 # Compiler flag to generate shared objects directly from archives.
117938 whole_archive_flag_spec=$lt_whole_archive_flag_spec
117940 # Whether the compiler copes with passing no objects directly.
117941 compiler_needs_object=$lt_compiler_needs_object
117943 # Create an old-style archive from a shared archive.
117944 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
117946 # Create a temporary old-style archive to link instead of a shared archive.
117947 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
117949 # Commands used to build a shared archive.
117950 archive_cmds=$lt_archive_cmds
117951 archive_expsym_cmds=$lt_archive_expsym_cmds
117953 # Commands used to build a loadable module if different from building
117954 # a shared archive.
117955 module_cmds=$lt_module_cmds
117956 module_expsym_cmds=$lt_module_expsym_cmds
117958 # Whether we are building with GNU ld or not.
117959 with_gnu_ld=$lt_with_gnu_ld
117961 # Flag that allows shared libraries with undefined symbols to be built.
117962 allow_undefined_flag=$lt_allow_undefined_flag
117964 # Flag that enforces no undefined symbols.
117965 no_undefined_flag=$lt_no_undefined_flag
117967 # Flag to hardcode \$libdir into a binary during linking.
117968 # This must work even if \$libdir does not exist
117969 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
117971 # If ld is used when linking, flag to hardcode \$libdir into a binary
117972 # during linking. This must work even if \$libdir does not exist.
117973 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
117975 # Whether we need a single "-rpath" flag with a separated argument.
117976 hardcode_libdir_separator=$lt_hardcode_libdir_separator
117978 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
117979 # DIR into the resulting binary.
117980 hardcode_direct=$hardcode_direct
117982 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
117983 # DIR into the resulting binary and the resulting library dependency is
117984 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
117985 # library is relocated.
117986 hardcode_direct_absolute=$hardcode_direct_absolute
117988 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
117989 # into the resulting binary.
117990 hardcode_minus_L=$hardcode_minus_L
117992 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
117993 # into the resulting binary.
117994 hardcode_shlibpath_var=$hardcode_shlibpath_var
117996 # Set to "yes" if building a shared library automatically hardcodes DIR
117997 # into the library and all subsequent libraries and executables linked
117998 # against it.
117999 hardcode_automatic=$hardcode_automatic
118001 # Set to yes if linker adds runtime paths of dependent libraries
118002 # to runtime path list.
118003 inherit_rpath=$inherit_rpath
118005 # Whether libtool must link a program against all its dependency libraries.
118006 link_all_deplibs=$link_all_deplibs
118008 # Fix the shell variable \$srcfile for the compiler.
118009 fix_srcfile_path=$lt_fix_srcfile_path
118011 # Set to "yes" if exported symbols are required.
118012 always_export_symbols=$always_export_symbols
118014 # The commands to list exported symbols.
118015 export_symbols_cmds=$lt_export_symbols_cmds
118017 # Symbols that should not be listed in the preloaded symbols.
118018 exclude_expsyms=$lt_exclude_expsyms
118020 # Symbols that must always be exported.
118021 include_expsyms=$lt_include_expsyms
118023 # Commands necessary for linking programs (against libraries) with templates.
118024 prelink_cmds=$lt_prelink_cmds
118026 # Specify filename containing input files.
118027 file_list_spec=$lt_file_list_spec
118029 # How to hardcode a shared library path into an executable.
118030 hardcode_action=$hardcode_action
118032 # Dependencies to place before and after the objects being linked to
118033 # create a shared library.
118034 predep_objects=$lt_predep_objects
118035 postdep_objects=$lt_postdep_objects
118036 predeps=$lt_predeps
118037 postdeps=$lt_postdeps
118039 # The library search path used internally by the compiler when linking
118040 # a shared library.
118041 compiler_lib_search_path=$lt_compiler_lib_search_path
118043 # ### END LIBTOOL CONFIG
118045 _LT_EOF
118047 case $host_os in
118048 aix3*)
118049 cat <<\_LT_EOF >> "$cfgfile"
118050 # AIX sometimes has problems with the GCC collect2 program. For some
118051 # reason, if we set the COLLECT_NAMES environment variable, the problems
118052 # vanish in a puff of smoke.
118053 if test "X${COLLECT_NAMES+set}" != Xset; then
118054 COLLECT_NAMES=
118055 export COLLECT_NAMES
118057 _LT_EOF
118062 ltmain="$ac_aux_dir/ltmain.sh"
118065 # We use sed instead of cat because bash on DJGPP gets confused if
118066 # if finds mixed CR/LF and LF-only lines. Since sed operates in
118067 # text mode, it properly converts lines to CR/LF. This bash problem
118068 # is reportedly fixed, but why not run on old versions too?
118069 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
118070 || (rm -f "$cfgfile"; exit 1)
118072 case $xsi_shell in
118074 cat << \_LT_EOF >> "$cfgfile"
118075 # func_dirname file append nondir_replacement
118076 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
118077 # otherwise set result to NONDIR_REPLACEMENT.
118078 func_dirname ()
118080 case ${1} in
118081 */*) func_dirname_result="${1%/*}${2}" ;;
118082 * ) func_dirname_result="${3}" ;;
118086 # func_basename file
118087 func_basename ()
118089 func_basename_result="${1##*/}"
118092 # func_stripname prefix suffix name
118093 # strip PREFIX and SUFFIX off of NAME.
118094 # PREFIX and SUFFIX must not contain globbing or regex special
118095 # characters, hashes, percent signs, but SUFFIX may contain a leading
118096 # dot (in which case that matches only a dot).
118097 func_stripname ()
118099 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
118100 # positional parameters, so assign one to ordinary parameter first.
118101 func_stripname_result=${3}
118102 func_stripname_result=${func_stripname_result#"${1}"}
118103 func_stripname_result=${func_stripname_result%"${2}"}
118106 # func_opt_split
118107 func_opt_split ()
118109 func_opt_split_opt=${1%%=*}
118110 func_opt_split_arg=${1#*=}
118113 # func_lo2o object
118114 func_lo2o ()
118116 case ${1} in
118117 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
118118 *) func_lo2o_result=${1} ;;
118121 _LT_EOF
118123 *) # Bourne compatible functions.
118124 cat << \_LT_EOF >> "$cfgfile"
118125 # func_dirname file append nondir_replacement
118126 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
118127 # otherwise set result to NONDIR_REPLACEMENT.
118128 func_dirname ()
118130 # Extract subdirectory from the argument.
118131 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
118132 if test "X$func_dirname_result" = "X${1}"; then
118133 func_dirname_result="${3}"
118135 func_dirname_result="$func_dirname_result${2}"
118139 # func_basename file
118140 func_basename ()
118142 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
118145 # func_stripname prefix suffix name
118146 # strip PREFIX and SUFFIX off of NAME.
118147 # PREFIX and SUFFIX must not contain globbing or regex special
118148 # characters, hashes, percent signs, but SUFFIX may contain a leading
118149 # dot (in which case that matches only a dot).
118150 # func_strip_suffix prefix name
118151 func_stripname ()
118153 case ${2} in
118154 .*) func_stripname_result=`$ECHO "X${3}" \
118155 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
118156 *) func_stripname_result=`$ECHO "X${3}" \
118157 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
118161 # sed scripts:
118162 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
118163 my_sed_long_arg='1s/^-[^=]*=//'
118165 # func_opt_split
118166 func_opt_split ()
118168 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
118169 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
118172 # func_lo2o object
118173 func_lo2o ()
118175 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
118177 _LT_EOF
118180 case $lt_shell_append in
118182 cat << \_LT_EOF >> "$cfgfile"
118184 # func_append var value
118185 # Append VALUE to the end of shell variable VAR.
118186 func_append ()
118188 eval "$1+=\$2"
118190 _LT_EOF
118193 cat << \_LT_EOF >> "$cfgfile"
118195 # func_append var value
118196 # Append VALUE to the end of shell variable VAR.
118197 func_append ()
118199 eval "$1=\$$1\$2"
118201 _LT_EOF
118206 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
118207 || (rm -f "$cfgfile"; exit 1)
118209 mv -f "$cfgfile" "$ofile" ||
118210 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
118211 chmod +x "$ofile"
118214 cat <<_LT_EOF >> "$ofile"
118216 # ### BEGIN LIBTOOL TAG CONFIG: CXX
118218 # The linker used to build libraries.
118219 LD=$lt_LD_CXX
118221 # Commands used to build an old-style archive.
118222 old_archive_cmds=$lt_old_archive_cmds_CXX
118224 # A language specific compiler.
118225 CC=$lt_compiler_CXX
118227 # Is the compiler the GNU compiler?
118228 with_gcc=$GCC_CXX
118230 # Compiler flag to turn off builtin functions.
118231 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
118233 # How to pass a linker flag through the compiler.
118234 wl=$lt_lt_prog_compiler_wl_CXX
118236 # Additional compiler flags for building library objects.
118237 pic_flag=$lt_lt_prog_compiler_pic_CXX
118239 # Compiler flag to prevent dynamic linking.
118240 link_static_flag=$lt_lt_prog_compiler_static_CXX
118242 # Does compiler simultaneously support -c and -o options?
118243 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
118245 # Whether or not to add -lc for building shared libraries.
118246 build_libtool_need_lc=$archive_cmds_need_lc_CXX
118248 # Whether or not to disallow shared libs when runtime libs are static.
118249 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
118251 # Compiler flag to allow reflexive dlopens.
118252 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
118254 # Compiler flag to generate shared objects directly from archives.
118255 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
118257 # Whether the compiler copes with passing no objects directly.
118258 compiler_needs_object=$lt_compiler_needs_object_CXX
118260 # Create an old-style archive from a shared archive.
118261 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
118263 # Create a temporary old-style archive to link instead of a shared archive.
118264 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
118266 # Commands used to build a shared archive.
118267 archive_cmds=$lt_archive_cmds_CXX
118268 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
118270 # Commands used to build a loadable module if different from building
118271 # a shared archive.
118272 module_cmds=$lt_module_cmds_CXX
118273 module_expsym_cmds=$lt_module_expsym_cmds_CXX
118275 # Whether we are building with GNU ld or not.
118276 with_gnu_ld=$lt_with_gnu_ld_CXX
118278 # Flag that allows shared libraries with undefined symbols to be built.
118279 allow_undefined_flag=$lt_allow_undefined_flag_CXX
118281 # Flag that enforces no undefined symbols.
118282 no_undefined_flag=$lt_no_undefined_flag_CXX
118284 # Flag to hardcode \$libdir into a binary during linking.
118285 # This must work even if \$libdir does not exist
118286 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
118288 # If ld is used when linking, flag to hardcode \$libdir into a binary
118289 # during linking. This must work even if \$libdir does not exist.
118290 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
118292 # Whether we need a single "-rpath" flag with a separated argument.
118293 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
118295 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
118296 # DIR into the resulting binary.
118297 hardcode_direct=$hardcode_direct_CXX
118299 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
118300 # DIR into the resulting binary and the resulting library dependency is
118301 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
118302 # library is relocated.
118303 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
118305 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
118306 # into the resulting binary.
118307 hardcode_minus_L=$hardcode_minus_L_CXX
118309 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
118310 # into the resulting binary.
118311 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
118313 # Set to "yes" if building a shared library automatically hardcodes DIR
118314 # into the library and all subsequent libraries and executables linked
118315 # against it.
118316 hardcode_automatic=$hardcode_automatic_CXX
118318 # Set to yes if linker adds runtime paths of dependent libraries
118319 # to runtime path list.
118320 inherit_rpath=$inherit_rpath_CXX
118322 # Whether libtool must link a program against all its dependency libraries.
118323 link_all_deplibs=$link_all_deplibs_CXX
118325 # Fix the shell variable \$srcfile for the compiler.
118326 fix_srcfile_path=$lt_fix_srcfile_path_CXX
118328 # Set to "yes" if exported symbols are required.
118329 always_export_symbols=$always_export_symbols_CXX
118331 # The commands to list exported symbols.
118332 export_symbols_cmds=$lt_export_symbols_cmds_CXX
118334 # Symbols that should not be listed in the preloaded symbols.
118335 exclude_expsyms=$lt_exclude_expsyms_CXX
118337 # Symbols that must always be exported.
118338 include_expsyms=$lt_include_expsyms_CXX
118340 # Commands necessary for linking programs (against libraries) with templates.
118341 prelink_cmds=$lt_prelink_cmds_CXX
118343 # Specify filename containing input files.
118344 file_list_spec=$lt_file_list_spec_CXX
118346 # How to hardcode a shared library path into an executable.
118347 hardcode_action=$hardcode_action_CXX
118349 # Dependencies to place before and after the objects being linked to
118350 # create a shared library.
118351 predep_objects=$lt_predep_objects_CXX
118352 postdep_objects=$lt_postdep_objects_CXX
118353 predeps=$lt_predeps_CXX
118354 postdeps=$lt_postdeps_CXX
118356 # The library search path used internally by the compiler when linking
118357 # a shared library.
118358 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
118360 # ### END LIBTOOL TAG CONFIG: CXX
118361 _LT_EOF
118364 default ) if test -n "$CONFIG_FILES"; then
118365 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
118366 # that multilib installs will end up installed in the correct place.
118367 # The testsuite needs it for multilib-aware ABI baseline files.
118368 # To work around this not being passed down from config-ml.in ->
118369 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
118370 # append it here. Only modify Makefiles that have just been created.
118372 # Also, get rid of this simulated-VPATH thing that automake does.
118373 cat > vpsed << \_EOF
118374 s!`test -f '$<' || echo '$(srcdir)/'`!!
118376 for i in $SUBDIRS; do
118377 case $CONFIG_FILES in
118378 *${i}/Makefile*)
118379 #echo "Adding MULTISUBDIR to $i/Makefile"
118380 sed -f vpsed $i/Makefile > tmp
118381 grep '^MULTISUBDIR =' Makefile >> tmp
118382 mv tmp $i/Makefile
118386 rm vpsed
118388 (cd include && ${MAKE-make})
118392 _ACEOF
118394 cat >>$CONFIG_STATUS <<\_ACEOF
118396 { (exit 0); exit 0; }
118397 _ACEOF
118398 chmod +x $CONFIG_STATUS
118399 ac_clean_files=$ac_clean_files_save
118402 # configure is writing to config.log, and then calls config.status.
118403 # config.status does its own redirection, appending to config.log.
118404 # Unfortunately, on DOS this fails, as config.log is still kept open
118405 # by configure, so config.status won't be able to write to it; its
118406 # output is simply discarded. So we exec the FD to /dev/null,
118407 # effectively closing config.log, so it can be properly (re)opened and
118408 # appended to by config.status. When coming back to configure, we
118409 # need to make the FD available again.
118410 if test "$no_create" != yes; then
118411 ac_cs_success=:
118412 ac_config_status_args=
118413 test "$silent" = yes &&
118414 ac_config_status_args="$ac_config_status_args --quiet"
118415 exec 5>/dev/null
118416 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
118417 exec 5>>config.log
118418 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
118419 # would make configure fail if this is the last instruction.
118420 $ac_cs_success || { (exit 1); exit 1; }